@maka/maka-cli 4.5.22 → 4.5.23

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 (130) 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/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/build/_index.js +1 -1
  17. package/bundle/obf/src/commands/build/build.js +1 -1
  18. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/create.js +1 -1
  20. package/bundle/obf/src/commands/debug.js +1 -1
  21. package/bundle/obf/src/commands/deploy.js +1 -1
  22. package/bundle/obf/src/commands/game/_index.js +1 -1
  23. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/game/play.command.js +1 -1
  25. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  27. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  28. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -0
  33. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -0
  41. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -0
  43. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -0
  54. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  60. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  61. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  62. package/bundle/obf/src/commands/generate.js +1 -1
  63. package/bundle/obf/src/commands/get/_index.js +1 -1
  64. package/bundle/obf/src/commands/get/get.command.js +1 -1
  65. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/help.js +1 -1
  69. package/bundle/obf/src/commands/jsdoc.js +1 -1
  70. package/bundle/obf/src/commands/lint.js +1 -1
  71. package/bundle/obf/src/commands/login.js +1 -1
  72. package/bundle/obf/src/commands/logout.js +1 -1
  73. package/bundle/obf/src/commands/logs.js +1 -1
  74. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  75. package/bundle/obf/src/commands/murder.js +1 -1
  76. package/bundle/obf/src/commands/proxy.js +1 -1
  77. package/bundle/obf/src/commands/reconfig.js +1 -1
  78. package/bundle/obf/src/commands/run/_index.js +1 -1
  79. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  80. package/bundle/obf/src/commands/run/run.command.js +1 -1
  81. package/bundle/obf/src/commands/set/_index.js +1 -1
  82. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  83. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  84. package/bundle/obf/src/commands/set/set.command.js +1 -1
  85. package/bundle/obf/src/commands/ssh.js +1 -1
  86. package/bundle/obf/src/commands/ssl.js +1 -1
  87. package/bundle/obf/src/commands/test.js +1 -1
  88. package/bundle/obf/src/commands/version.js +1 -1
  89. package/bundle/obf/src/error.js +1 -1
  90. package/bundle/obf/src/exec.js +1 -1
  91. package/bundle/obf/src/generator.js +1 -1
  92. package/bundle/obf/src/generators/_index.js +1 -1
  93. package/bundle/obf/src/generators/api.js +1 -1
  94. package/bundle/obf/src/generators/collection.js +1 -1
  95. package/bundle/obf/src/generators/component.js +1 -1
  96. package/bundle/obf/src/generators/config.js +1 -1
  97. package/bundle/obf/src/generators/dbc.js +1 -1
  98. package/bundle/obf/src/generators/dockerfile.js +1 -1
  99. package/bundle/obf/src/generators/hook.js +1 -1
  100. package/bundle/obf/src/generators/kit.js +1 -1
  101. package/bundle/obf/src/generators/layout.js +1 -1
  102. package/bundle/obf/src/generators/maka.gen.js +1 -1
  103. package/bundle/obf/src/generators/methods.js +1 -1
  104. package/bundle/obf/src/generators/package.js +1 -1
  105. package/bundle/obf/src/generators/page.js +1 -1
  106. package/bundle/obf/src/generators/publish.js +1 -1
  107. package/bundle/obf/src/generators/route.js +1 -1
  108. package/bundle/obf/src/generators/service.js +1 -1
  109. package/bundle/obf/src/generators/services/_index.js +1 -1
  110. package/bundle/obf/src/generators/services/openssl.js +1 -1
  111. package/bundle/obf/src/generators/services/translation.js +1 -1
  112. package/bundle/obf/src/maka.js +1 -1
  113. package/bundle/obf/src/tool.js +1 -1
  114. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  115. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  116. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  117. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  118. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  119. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  120. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  121. package/bundle/obf/src/tools/https/https.class.js +1 -1
  122. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  123. package/bundle/obf/src/tools/log/log.class.js +1 -1
  124. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  125. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  126. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  127. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  128. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  129. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  130. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ (function(a,b){var f=a40d,c=a();while(!![]){try{var d=-parseInt(f(0x1b7))/0x1*(parseInt(f(0x1b5))/0x2)+-parseInt(f(0x1ad))/0x3*(parseInt(f(0x1ac))/0x4)+parseInt(f(0x1b0))/0x5*(-parseInt(f(0x1b6))/0x6)+-parseInt(f(0x1b2))/0x7+-parseInt(f(0x1ae))/0x8*(parseInt(f(0x1af))/0x9)+parseInt(f(0x1b8))/0xa+parseInt(f(0x1b1))/0xb*(parseInt(f(0x1ab))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x4470c));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a[h(0x1ba)]()['search'](h(0x1b3))[h(0x1ba)]()[h(0x1b4)](a40a)[h(0x1b9)]('(((.+)+)+)+$');});a40a();export*from'./door.js';export*from'./inventory.js';function a40c(){var i=['7772DiXWdA','1905020QDVWrz','search','toString','apply','24WKqbad','156fPyOtI','37209EeyGKP','576904VcvoRZ','27dkCUgF','3415YZrCWQ','7619293HrtUAZ','596526CHzKAv','(((.+)+)+)+$','constructor','74bIFSzw','1956CNTLNz'];a40c=function(){return i;};return a40c();}export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x1ab;var f=c[d];return f;},a40d(a,b);}export*from'./scene.js';
@@ -1 +1 @@
1
- var a38i=a38d;(function(a,b){var f=a38d,c=a();while(!![]){try{var d=-parseInt(f(0xfb))/0x1*(parseInt(f(0xfd))/0x2)+-parseInt(f(0xf6))/0x3*(parseInt(f(0x107))/0x4)+-parseInt(f(0xf5))/0x5+parseInt(f(0x115))/0x6*(-parseInt(f(0x10c))/0x7)+-parseInt(f(0x104))/0x8*(-parseInt(f(0x109))/0x9)+-parseInt(f(0xf8))/0xa+parseInt(f(0x103))/0xb*(parseInt(f(0x10d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xea8af));var a38b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a38d;if(c){var e=c[g(0x100)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){var h=a38d;return a38a[h(0x113)]()[h(0x10a)]('(((.+)+)+)+$')[h(0x113)]()[h(0xf9)](a38a)[h(0x10a)]('(((.+)+)+)+$');});a38a();function a38d(a,b){var c=a38c();return a38d=function(d,e){d=d-0xf5;var f=c[d];return f;},a38d(a,b);}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';export class Door{['roomA'];[a38i(0xfc)];[a38i(0x10f)];['unlockItemOrSolution'];[a38i(0xff)];[a38i(0xf7)];[a38i(0x112)];constructor(a,b,c=![],d,e){var j=a38i;this[j(0xfe)]=a,this[j(0xfc)]=b,this[j(0x10f)]=c,this[j(0x10e)]=d,this['name']=e?capitalCase(e):j(0x108),this['logger']=Logger[j(0x106)](),this[j(0x112)]=!!d,this[j(0xf7)][j(0x110)](j(0x111)+this[j(0xfe)]['name']+j(0x105)+this[j(0xfc)][j(0xff)]+j(0x10b)+this[j(0x10f)]);}['getOtherSide'](a){var k=a38i;return this[k(0xfe)]===a?this['roomB']:this[k(0xfe)];}[a38i(0xfa)](a){var l=a38i;if(this[l(0x10f)]&&this[l(0x10e)]&&this[l(0x10e)]===a)return this[l(0x10f)]=![],this[l(0xf7)][l(0x110)](l(0x114)+this['name']+l(0x102)+a),!![];return this[l(0xf7)][l(0x110)](l(0x101)+this[l(0xff)]+l(0x102)+a),![];}['checkIfLocked'](){var m=a38i;return this[m(0x10f)];}['checkIfLockable'](){var n=a38i;return this[n(0x112)];}}function a38c(){var o=['15507351EOaTpP','search','.\x20Is\x20Locked:\x20','497OAwguM','94776VyHTqY','unlockItemOrSolution','isLocked','write','Door\x20created\x20between\x20','isLockable','toString','Door\x20unlocked:\x20','99822KuPawg','4060110QLaAwa','6oeKqdx','logger','2407880HZEUvs','constructor','attemptUnlock','1143wvQZVo','roomB','2162eKqXom','roomA','name','apply','Failed\x20to\x20unlock\x20door:\x20','.\x20Used:\x20','5599vPvOhA','8qEDYHL','\x20and\x20','getInstance','2625628SdvcIl','Door'];a38c=function(){return o;};return a38c();}
1
+ var a41i=a41d;function a41d(a,b){var c=a41c();return a41d=function(d,e){d=d-0x154;var f=c[d];return f;},a41d(a,b);}(function(a,b){var f=a41d,c=a();while(!![]){try{var d=parseInt(f(0x160))/0x1+parseInt(f(0x157))/0x2+-parseInt(f(0x16a))/0x3*(-parseInt(f(0x165))/0x4)+parseInt(f(0x16e))/0x5*(-parseInt(f(0x171))/0x6)+parseInt(f(0x167))/0x7*(parseInt(f(0x16f))/0x8)+parseInt(f(0x174))/0x9*(parseInt(f(0x16d))/0xa)+-parseInt(f(0x16c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x57b47));var a41b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a41d;if(c){var e=c[g(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){var h=a41d;return a41a[h(0x15d)]()[h(0x15c)](h(0x164))['toString']()[h(0x155)](a41a)['search'](h(0x164));});function a41c(){var o=['logger','3yPsslO','Failed\x20to\x20unlock\x20door:\x20','6974121pichPI','30cNaDnY','10vLsKxd','32uFvXUc','isLocked','1641054mpMFOr','getInstance','checkIfLockable','1673739pYILMP','isLockable','constructor','attemptUnlock','487278wiZAIm','roomB','\x20and\x20','getOtherSide','roomA','search','toString','checkIfLocked','Door','445478ilARpS','unlockItemOrSolution','name','.\x20Is\x20Locked:\x20','(((.+)+)+)+$','911608KthCiI','apply','114338DfbgAE','write'];a41c=function(){return o;};return a41c();}a41a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a41i(0x15b)];[a41i(0x158)];['isLocked'];[a41i(0x161)];['name'];[a41i(0x169)];[a41i(0x154)];constructor(a){var j=a41i;super(),this[j(0x15b)]=a[j(0x15b)],this[j(0x158)]=a['roomB'],this[j(0x170)]=a[j(0x170)]||![],this[j(0x161)]=a['unlockItemOrSolution'],this[j(0x162)]=a['name']?capitalCase(a[j(0x162)]):j(0x15f),this[j(0x169)]=Logger[j(0x172)](),this[j(0x154)]=!!a[j(0x161)],this['logger']['write']('Door\x20created\x20between\x20'+this['roomA'][j(0x162)]+j(0x159)+this[j(0x158)][j(0x162)]+j(0x163)+this[j(0x170)]);}[a41i(0x15a)](a){var k=a41i;return this[k(0x15b)]===a?this['roomB']:this['roomA'];}[a41i(0x156)](a){var l=a41i;if(this[l(0x170)]&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this[l(0x170)]=![],this['logger'][l(0x168)]('Door\x20unlocked:\x20'+this[l(0x162)]+'.\x20Used:\x20'+a),!![];return this[l(0x169)][l(0x168)](l(0x16b)+this[l(0x162)]+'.\x20Used:\x20'+a),![];}[a41i(0x15e)](){var m=a41i;return this[m(0x170)];}[a41i(0x173)](){var n=a41i;return this[n(0x154)];}}
@@ -1 +1 @@
1
- const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x143))/0x1+parseInt(f(0x149))/0x2*(-parseInt(f(0x12c))/0x3)+parseInt(f(0x142))/0x4+parseInt(f(0x14c))/0x5*(parseInt(f(0x14d))/0x6)+parseInt(f(0x14b))/0x7+-parseInt(f(0x12b))/0x8*(parseInt(f(0x13e))/0x9)+parseInt(f(0x135))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x218ce));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']()['search'](g(0x13b))[g(0x12f)]()['constructor'](a39a)[g(0x140)](g(0x13b));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x129;let f=c[d];return f;},a39d(a,b);}a39a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a39c(){const q=['delete','name','16ImvCYC','14829DwhCxz','\x20in\x20','.\x20Item\x20not\x20found.','toString','Retrieved\x20details\x20for\x20item:\x20','Added\x20item:\x20','values','join','removeItem','966620NQHVsZ','write','set','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','keys','items','(((.+)+)+)+$','\x20from\x20inventory.','map','589788kESqZv','addItem','search','toLowerCase','258268fzSENy','83461uqJSfd','has','getWeight','hasItem','Listed\x20items\x20in\x20inventory:\x20','logger','50uUPkqp','listItems','810033iKNhBv','11545bsjzEu','516kedVoW'];a39c=function(){return q;};return a39c();}export class Inventory{[a39h(0x13a)];[a39h(0x148)];constructor(){const i=a39h;this['items']=new Map(),this[i(0x148)]=Logger['getInstance']();}[a39h(0x13f)](a){const j=a39h;this[j(0x13a)][j(0x137)](a[j(0x12a)][j(0x141)](),a),this['logger'][j(0x136)](j(0x131)+a[j(0x12a)]+'\x20to\x20inventory.');}[a39h(0x134)](a){const k=a39h,b=this['getItem'](a);if(b)return this[k(0x13a)][k(0x129)](a[k(0x141)]()),this[k(0x148)][k(0x136)]('Removed\x20item:\x20'+a+k(0x13c)),b;return this[k(0x148)][k(0x136)]('Failed\x20to\x20remove\x20item:\x20'+a+k(0x12e)),null;}[a39h(0x146)](a){const l=a39h,b=this[l(0x13a)][l(0x144)](a['toLowerCase']()),c=[...this[l(0x13a)][l(0x139)]()];return this[l(0x148)][l(0x136)]('Checked\x20for\x20item:\x20'+a+l(0x12d)+c[l(0x133)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}['getItem'](a){const m=a39h,b=this['items']['get'](a[m(0x141)]())||null;return b?this[m(0x148)][m(0x136)](m(0x130)+a+'.'):this[m(0x148)][m(0x136)](m(0x138)+a+m(0x12e)),b;}[a39h(0x14a)](){const n=a39h,a=[...this[n(0x13a)][n(0x139)]()],b=a[n(0x13d)](c=>capitalCase(c));return this[n(0x148)][n(0x136)](n(0x147)+b[n(0x133)](',\x20')+'.'),a;}[a39h(0x145)](){const o=a39h;let a=0x0;for(const b of this['items'][o(0x132)]()){a+=b['weight'];}return a;}['getAllItems'](){const p=a39h;return[...this[p(0x13a)][p(0x132)]()];}}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x140))/0x1*(-parseInt(f(0x133))/0x2)+-parseInt(f(0x139))/0x3+-parseInt(f(0x13f))/0x4*(-parseInt(f(0x12f))/0x5)+parseInt(f(0x13c))/0x6*(parseInt(f(0x129))/0x7)+-parseInt(f(0x145))/0x8+-parseInt(f(0x143))/0x9*(parseInt(f(0x11c))/0xa)+parseInt(f(0x122))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xdce26));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x11f)]()['search'](h(0x13e))[h(0x11f)]()[h(0x125)](a42a)[h(0x136)](h(0x13e));});function a42c(){const r=['removeItem','3794TQsgrs','Retrieved\x20details\x20for\x20item:\x20','getItem','search','name','keys','395238nkFYFv','has','write','5484WgiwpL','getAllItems','(((.+)+)+)+$','759584MFVcGn','318wHLmbL','weight','map','63WleWMn','logger','11948864haPWEd','\x20in\x20','set','delete','390990eHqrhx','get','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','toString','items','Checked\x20for\x20item:\x20','26968029zIgGJI','\x20from\x20inventory.','Added\x20item:\x20','constructor','values','addItem','toLowerCase','2954IRDtyH','Removed\x20item:\x20','hasItem','apply','Failed\x20to\x20remove\x20item:\x20','getInstance','15pDLZgO','join','.\x20Item\x20not\x20found.'];a42c=function(){return r;};return a42c();}a42a();import{capitalCase}from'change-case';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x11a;let f=c[d];return f;},a42d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a42i(0x144)];constructor(){const j=a42i;super(),this[j(0x120)]=new Map(),this['logger']=Logger[j(0x12e)]();}[a42i(0x127)](a){const k=a42i;this[k(0x120)][k(0x11a)](a[k(0x137)]['toLowerCase'](),a),this[k(0x144)][k(0x13b)](k(0x124)+a[k(0x137)]+'\x20to\x20inventory.');}[a42i(0x132)](a){const l=a42i,b=this[l(0x135)](a);if(b)return this[l(0x120)][l(0x11b)](a[l(0x128)]()),this[l(0x144)]['write'](l(0x12a)+a+l(0x123)),b;return this['logger'][l(0x13b)](l(0x12d)+a+l(0x131)),null;}[a42i(0x12b)](a){const m=a42i,b=this[m(0x120)][m(0x13a)](a[m(0x128)]()),c=[...this[m(0x120)][m(0x138)]()];return this[m(0x144)][m(0x13b)](m(0x121)+a+m(0x146)+c[m(0x130)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}['getItem'](a){const n=a42i,b=this[n(0x120)][n(0x11d)](a[n(0x128)]())||null;return b?this['logger'][n(0x13b)](n(0x134)+a+'.'):this['logger'][n(0x13b)](n(0x11e)+a+n(0x131)),b;}['listItems'](){const o=a42i,a=[...this[o(0x120)][o(0x138)]()],b=a[o(0x142)](c=>capitalCase(c));return this[o(0x144)][o(0x13b)]('Listed\x20items\x20in\x20inventory:\x20'+b[o(0x130)](',\x20')+'.'),a;}['getWeight'](){const p=a42i;let a=0x0;for(const b of this['items']['values']()){a+=b[p(0x141)];}return a;}[a42i(0x13d)](){const q=a42i;return[...this[q(0x120)][q(0x126)]()];}}
@@ -1 +1 @@
1
- var a40i=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=-parseInt(f(0x1c7))/0x1*(parseInt(f(0x1e0))/0x2)+-parseInt(f(0x1e1))/0x3*(parseInt(f(0x1d6))/0x4)+-parseInt(f(0x1de))/0x5+-parseInt(f(0x1d1))/0x6+-parseInt(f(0x1da))/0x7*(parseInt(f(0x1cc))/0x8)+parseInt(f(0x1d7))/0x9+-parseInt(f(0x1ce))/0xa*(-parseInt(f(0x1ca))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xb23fb));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a['toString']()[h(0x1dd)]('(((.+)+)+)+$')['toString']()['constructor'](a40a)['search'](h(0x1cf));});function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x1c7;var f=c[d];return f;},a40d(a,b);}a40a();import{v4 as a40e}from'uuid';export class Item{[a40i(0x1c9)];[a40i(0x1dc)];[a40i(0x1d0)];[a40i(0x1df)];['category'];[a40i(0x1d9)];['color'];['texture'];[a40i(0x1d8)];[a40i(0x1cb)];constructor(a){var j=a40i;this[j(0x1dc)]=a['name'],this[j(0x1d0)]=a[j(0x1d0)],this['size']=a[j(0x1df)],this[j(0x1d2)]=a[j(0x1d2)],this['shape']=a['shape'],this[j(0x1db)]=a['color'],this[j(0x1d5)]=a[j(0x1d5)],this[j(0x1d8)]=a[j(0x1d8)],this['weight']=a[j(0x1cb)],this[j(0x1c9)]=a40e();}[a40i(0x1cd)](){var k=a40i;return k(0x1c8)+this[k(0x1dc)]+k(0x1d3);}}function a40c(){var l=['6144942diEPVZ','category','.\x20Nothing\x20special\x20happens.','apply','texture','68wvSEha','12583980zuRzRQ','rating','shape','7TWFMbM','color','name','search','2407915ckmwtz','size','16zaEZxM','190041wvPJVY','10037yryniD','You\x20use\x20the\x20','uuid','11YzQnQV','weight','3987208PcagEm','use','24932230iMxjae','(((.+)+)+)+$','description'];a40c=function(){return l;};return a40c();}
1
+ var a43h=a43d;(function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x12e))/0x1+-parseInt(f(0x129))/0x2+parseInt(f(0x12d))/0x3+-parseInt(f(0x127))/0x4*(-parseInt(f(0x136))/0x5)+-parseInt(f(0x128))/0x6*(-parseInt(f(0x131))/0x7)+-parseInt(f(0x124))/0x8*(-parseInt(f(0x12a))/0x9)+parseInt(f(0x13a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xa323a));var a43b=(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;};}()),a43a=a43b(this,function(){var g=a43d;return a43a['toString']()[g(0x12f)](g(0x133))[g(0x137)]()[g(0x126)](a43a)[g(0x12f)](g(0x133));});function a43c(){var k=['category','3587952kZfOdW','1217604eIDgjX','search','color','92701PcwFBk','size','(((.+)+)+)+$','.\x20Nothing\x20special\x20happens.','You\x20use\x20the\x20','67505WcRfYR','toString','description','rating','3717460ZMDgRK','uuid','name','545776IiDSXo','shape','constructor','136yiPYJn','30ioUZZG','550758ucYzpX','9vVWKQU','texture'];a43c=function(){return k;};return a43c();}a43a();function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x124;var f=c[d];return f;},a43d(a,b);}import{v4 as a43e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a43h(0x13b)];['name'];[a43h(0x138)];[a43h(0x132)];[a43h(0x12c)];[a43h(0x125)];['color'];[a43h(0x12b)];[a43h(0x139)];['weight'];constructor(a){var i=a43h;super(),this['name']=a[i(0x13c)],this[i(0x138)]=a['description'],this[i(0x132)]=a[i(0x132)],this[i(0x12c)]=a['category'],this['shape']=a[i(0x125)],this[i(0x130)]=a[i(0x130)],this[i(0x12b)]=a[i(0x12b)],this['rating']=a['rating'],this['weight']=a['weight'],this['uuid']=a43e();}['use'](){var j=a43h;return j(0x135)+this[j(0x13c)]+j(0x134);}}
@@ -1 +1 @@
1
- const a41i=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x163;let f=c[d];return f;},a41d(a,b);}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x16f))/0x1+parseInt(f(0x177))/0x2*(-parseInt(f(0x163))/0x3)+parseInt(f(0x169))/0x4+parseInt(f(0x16c))/0x5+parseInt(f(0x16d))/0x6*(-parseInt(f(0x167))/0x7)+parseInt(f(0x175))/0x8+parseInt(f(0x171))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xed148));function a41c(){const n=['search','length','6ofBTEQ','floor','moveTo','toString','34097csigUc','constructor','6138592qJafcz','random','speak','3966525GpmQwb','1962jZymlm','name','1818899jvQjOQ','rooms','22802337plRCBa','(((.+)+)+)+$','_dialogue','_name','8194864TFyJmk','autonomousMove','1503108TbYxQo','apply'];a41c=function(){return n;};return a41c();}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x166)]()[h(0x179)](h(0x172))[h(0x166)]()[h(0x168)](a41a)[h(0x179)](h(0x172));});a41a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a41i(0x173)];['rooms'];constructor(a,b,c,d){const j=a41i;super(d),this[j(0x174)]=a,this['_dialogue']=b,this['rooms']=c;}get['name'](){return this['_name'];}[a41i(0x16b)](){const k=a41i;return this['_dialogue'][Math['floor'](Math[k(0x16a)]()*this[k(0x173)][k(0x17a)])];}[a41i(0x176)](a){const l=a41i,b=a[Math[l(0x164)](Math['random']()*a[l(0x17a)])];this[l(0x165)](b[l(0x16e)]);}['moveTo'](a){const m=a41i,b={'actor':this,'rooms':this[m(0x170)]},c=new GoCommand(b);c['execute']([a]);}}
1
+ const a44i=a44d;function a44c(){const n=['54usHQJo','118424mIrIFS','rooms','113745kfGzpH','791012qMJJYK','name','toString','random','3RhXGvo','search','774486nlGRTo','execute','apply','462651XRFhWu','constructor','_name','scene','235183ChSyxI','floor','(((.+)+)+)+$','moveTo','2492270cjTtLO','_dialogue','90FJPQVu'];a44c=function(){return n;};return a44c();}(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x76))/0x1+-parseInt(f(0x87))/0x2*(-parseInt(f(0x85))/0x3)+parseInt(f(0x81))/0x4+-parseInt(f(0x80))/0x5*(-parseInt(f(0x7d))/0x6)+parseInt(f(0x72))/0x7+-parseInt(f(0x7e))/0x8*(parseInt(f(0x7c))/0x9)+-parseInt(f(0x7a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x3689e));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x71)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x83)]()[h(0x86)](h(0x78))[h(0x83)]()[h(0x73)](a44a)[h(0x86)](h(0x78));});a44a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x70;let f=c[d];return f;},a44d(a,b);}export class NPC extends Player{[a44i(0x74)];[a44i(0x7b)];[a44i(0x7f)];[a44i(0x75)];constructor(a,b,c,d){const j=a44i;super(d),this[j(0x74)]=a,this[j(0x7b)]=b,this['rooms']=c;}get[a44i(0x82)](){const k=a44i;return this[k(0x74)];}['speak'](){return this['_dialogue'][Math['floor'](Math['random']()*this['_dialogue']['length'])];}['autonomousMove'](a){const l=a44i,b=a[Math[l(0x77)](Math[l(0x84)]()*a['length'])];this[l(0x79)](b['name']);}[a44i(0x79)](a){const m=a44i,b={'actor':this,'rooms':this['rooms'],'scene':this[m(0x75)]},c=new GoCommand(b);c[m(0x70)]([a]);}}
@@ -1 +1 @@
1
- const a42i=a42d;function a42c(){const x=['toLowerCase','A\x20featureless\x20room','removeItem','determineEquipmentSlot','error','boots','Boots','_equipment','gloves','equip','values','leg\x20armor','search','.\x20You\x20must\x20unequip\x20it\x20first.','Weapon','unequip','14812570GnReRL','name','addInventory','143kkOVJD','hasItem','1324437EmcyXG','Helmet','legs','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','arms','You\x20don\x27t\x20have\x20','2440212wUXyJi','currentWeight','arm\x20armor','_playerName','Invalid\x20category\x20or\x20slot:\x20','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','Gloves','You\x20equipped\x20','removeInventory','addItem','canEquip','82145GxAIBs','legarmor','constructor','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','Hat','35608kGIVvc','\x20from\x20player\x27s\x20inventory.','rightHand','leftHand','inventoryItems','unequipBySlot','helmet','apply','_inventory','_maxCarryingWeight','(((.+)+)+)+$','feet','body\x20armor','equipment','torso','maxCarryingWeight','378uXNJNy','BodyArmor','getWeight','includes','bodyarmor','\x20to\x20player\x27s\x20inventory.','initialEquipment','playerName','4aUPPWU','category','16943eTCOOQ','Nexus','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','3456PMYczK','\x20slot.','_currentLocation','startLocation','inventory','170WVjNpG','Failed\x20to\x20remove\x20','head','write','Shield','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','toString','Removed\x20','6169443xGAyxg','Max\x20carrying\x20weight\x20must\x20be\x20positive.','logger'];a42c=function(){return x;};return a42c();}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1a1))/0x1*(-parseInt(f(0x1a9))/0x2)+parseInt(f(0x171))/0x3*(parseInt(f(0x19f))/0x4)+parseInt(f(0x182))/0x5*(parseInt(f(0x197))/0x6)+parseInt(f(0x1b1))/0x7+parseInt(f(0x187))/0x8*(-parseInt(f(0x1a4))/0x9)+parseInt(f(0x16c))/0xa+-parseInt(f(0x16f))/0xb*(parseInt(f(0x177))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xe2338));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x1af)]()['search'](h(0x191))[h(0x1af)]()[h(0x184)](a42a)[h(0x168)](h(0x191));});a42a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x15d;let f=c[d];return f;},a42d(a,b);}import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';export class Player{[a42i(0x17a)];[a42i(0x1a6)];[a42i(0x18f)];[a42i(0x163)];[a42i(0x190)]=0x32;[a42i(0x1b3)];constructor(a){const j=a42i;this[j(0x17a)]=a[j(0x19e)],this[j(0x1a6)]=a[j(0x1a7)]||new Room({'name':j(0x1a2),'description':j(0x15d)}),this[j(0x18f)]=new Inventory(),this[j(0x1b3)]=Logger['getInstance']();if(a?.[j(0x18b)])for(const b of a['inventoryItems']){this['_inventory'][j(0x180)](b);}this[j(0x163)]=a?.[j(0x19d)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a42i(0x16d)](){return this['_playerName'];}get['currentLocation'](){const k=a42i;return this[k(0x1a6)];}set['currentLocation'](a){const l=a42i;this[l(0x1a6)]=a;}get[a42i(0x1a8)](){return this['_inventory'];}get['equipment'](){const m=a42i;return this[m(0x163)];}set[a42i(0x194)](a){this['_equipment']=a;}get[a42i(0x196)](){const n=a42i;return this[n(0x190)];}set[a42i(0x196)](a){const o=a42i;a>0x0?this[o(0x190)]=a:console[o(0x160)](o(0x1b2));}get['currentWeight'](){const p=a42i;let a=this['_inventory'][p(0x199)]();for(const b in this[p(0x163)]){const c=this[p(0x163)][b];c&&(a+=c['weight']);}return a;}[a42i(0x16e)](a){const q=a42i;if(this[q(0x178)]+a['weight']>this[q(0x196)]){this[q(0x1b3)][q(0x1ac)](q(0x17c));throw new Error(q(0x174));}this[q(0x18f)][q(0x180)](a),this['logger'][q(0x1ac)]('Added\x20'+a['name']+q(0x19c));}[a42i(0x17f)](a){const r=a42i;if(this[r(0x18f)][r(0x15e)](a[r(0x16d)]))return this[r(0x1b3)][r(0x1ac)](r(0x1b0)+a[r(0x16d)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[r(0x1b3)][r(0x1ac)](r(0x1aa)+a[r(0x16d)]+r(0x188)),![];}[a42i(0x165)](a){const s=a42i;if(!this[s(0x18f)][s(0x170)](a[s(0x16d)]))return s(0x176)+a['name']+'\x20in\x20your\x20inventory.';if(!this[s(0x181)](a))return'You\x20can\x27t\x20equip\x20'+a[s(0x16d)]+'.';const b=this[s(0x15f)](a[s(0x1a0)]);if(!b)return a[s(0x16d)]+s(0x1a3);if(this[s(0x194)][b])return s(0x185)+b+s(0x169);return this[s(0x194)][b]=a,this[s(0x17f)](a),s(0x17e)+a[s(0x16d)]+'.';}[a42i(0x16b)](a){const t=a42i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[t(0x15f)](a);if(!b)return t(0x17b)+a+'.';}return this['unequipBySlot'](b);}[a42i(0x15f)](a){const u=a42i;switch(a[u(0x1b4)]()){case Category[u(0x16a)]['toLowerCase']():return u(0x189);case Category[u(0x1ad)][u(0x1b4)]():return u(0x18a);case Category[u(0x17d)]['toLowerCase']():return'gloves';case Category[u(0x172)]['toLowerCase']():case Category[u(0x186)][u(0x1b4)]():return'head';case Category[u(0x162)][u(0x1b4)]():return u(0x192);case Category['LegArmor'][u(0x1b4)]():return u(0x173);case Category['ArmArmor'][u(0x1b4)]():return'arms';case Category[u(0x198)][u(0x1b4)]():return u(0x195);case'weapon':return u(0x189);case'shield':return u(0x18a);case'gloves':return u(0x164);case u(0x18d):case'hat':return u(0x1ab);case u(0x161):return u(0x192);case u(0x167):case u(0x183):return u(0x173);case u(0x179):case'armarmor':return u(0x175);case u(0x193):case u(0x19b):case u(0x195):return u(0x195);default:return null;}}[a42i(0x181)](a){const v=a42i;return Object[v(0x166)](Category)[v(0x19a)](a[v(0x1a0)]);}[a42i(0x18c)](a){const w=a42i,b=this['equipment'][a];if(!b)return w(0x1ae)+a+w(0x1a5);return this[w(0x16e)](b),this['equipment'][a]=null,'You\x20unequipped\x20'+b['name']+'.';}}
1
+ const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0xe7))/0x1+-parseInt(f(0xe1))/0x2*(parseInt(f(0xce))/0x3)+-parseInt(f(0xdc))/0x4*(-parseInt(f(0xcb))/0x5)+parseInt(f(0xcd))/0x6+-parseInt(f(0xd8))/0x7+-parseInt(f(0xcc))/0x8*(-parseInt(f(0xed))/0x9)+-parseInt(f(0x11a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x9e816));function a45c(){const C=['currentLocation','name','head','BodyArmor','hat','shield','\x20slot.','You\x20can\x27t\x20equip\x20','Max\x20carrying\x20weight\x20must\x20be\x20positive.','weight','\x20from\x20player\x27s\x20inventory.','search','addItem','removeInventory','(((.+)+)+)+$','legarmor','feet','Boots','inventoryItems','off','toString','bodyarmor','ArmArmor','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','\x20is\x20no\x20longer\x20listeng\x20in\x20','getWeight','addInventory','canEquip','19800470PJIBHN','toLowerCase','removeItem','inventory','LegArmor','You\x20don\x27t\x20have\x20','gloves','arms','includes','maxCarryingWeight','Added\x20','error','enterRoom','initialEquipment','Helmet','category','helmet','weapon','speak','5mpYrQj','472YdxGuc','6253728VvmHwe','561HwscTi','legs','logger','leg\x20armor','Nexus','startLocation','armarmor','bind','torso','hear','4656547yEGxCc','values','\x20to\x20player\x27s\x20inventory.','\x20in\x20your\x20inventory.','4575596KBBxxS','write','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','body\x20armor','equipment','3210DSvzfE','Hat','_currentLocation','_equipment','leftHand','rightHand','697976ZRqLps','_inventory','\x20is\x20now\x20listening\x20in\x20room\x20','arm\x20armor','_playerName','currentWeight','108378CTxNPd','Failed\x20to\x20remove\x20','Shield','determineEquipmentSlot','_maxCarryingWeight','A\x20featureless\x20room','log','constructor','unequipBySlot','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','apply','Invalid\x20category\x20or\x20slot:\x20','hasItem','leaveRoom','playerName','\x20says:\x20\x22','You\x20equipped\x20'];a45c=function(){return C;};return a45c();}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x112)]()[h(0x109)](h(0x10c))['toString']()[h(0xf4)](a45a)[h(0x109)]('(((.+)+)+)+$');});function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xba;let f=c[d];return f;},a45d(a,b);}a45a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a45i(0xe3)];[a45i(0xe8)];['_equipment'];[a45i(0xf1)]=0x32;[a45i(0xd0)];constructor(a){const j=a45i;super(),this[j(0xeb)]=a[j(0xfb)],this[j(0xe3)]=a[j(0xd3)]||new Room({'name':j(0xd2),'description':j(0xf2)}),this[j(0xe8)]=new Inventory(),this[j(0xd0)]=Logger['getInstance']();if(a?.['inventoryItems'])for(const b of a[j(0x110)]){this[j(0xe8)][j(0x10a)](b);}this['_equipment']=a?.[j(0xc5)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a45i(0xff)](){const k=a45i;return this[k(0xeb)];}get[a45i(0xfe)](){const l=a45i;return this[l(0xe3)];}set[a45i(0xfe)](a){const m=a45i;this[m(0xe3)]!==a&&(this[m(0xfa)](),this[m(0xc4)](a)),this[m(0xe3)]=a;}get[a45i(0xbb)](){return this['_inventory'];}get[a45i(0xe0)](){const n=a45i;return this[n(0xe4)];}set[a45i(0xe0)](a){const o=a45i;this[o(0xe4)]=a;}get[a45i(0xc1)](){const p=a45i;return this[p(0xf1)];}set['maxCarryingWeight'](a){const q=a45i;a>0x0?this[q(0xf1)]=a:console[q(0xc3)](q(0x106));}get[a45i(0xec)](){const r=a45i;let a=this[r(0xe8)][r(0x117)]();for(const b in this[r(0xe4)]){const c=this['_equipment'][b];c&&(a+=c[r(0x107)]);}return a;}['addInventory'](a){const s=a45i;if(this[s(0xec)]+a['weight']>this[s(0xc1)]){this[s(0xd0)][s(0xdd)](s(0x115));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[s(0xe8)][s(0x10a)](a),this[s(0xd0)][s(0xdd)](s(0xc2)+a['name']+s(0xda));}['removeInventory'](a){const t=a45i;if(this['_inventory'][t(0xba)](a[t(0xff)]))return this['logger'][t(0xdd)]('Removed\x20'+a[t(0xff)]+t(0x108)),!![];return this['logger'][t(0xdd)](t(0xee)+a['name']+t(0x108)),![];}['equip'](a){const u=a45i;if(!this['_inventory'][u(0xf9)](a['name']))return u(0xbd)+a['name']+u(0xdb);if(!this[u(0x119)](a))return u(0x105)+a['name']+'.';const b=this[u(0xf0)](a[u(0xc7)]);if(!b)return a[u(0xff)]+u(0xf6);if(this[u(0xe0)][b])return u(0xde)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this['equipment'][b]=a,this[u(0x10b)](a),u(0xfd)+a[u(0xff)]+'.';}['unequip'](a){const v=a45i;let b=a;if(!this[v(0xe0)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return v(0xf8)+a+'.';}return this[v(0xf5)](b);}[a45i(0xf0)](a){const w=a45i;switch(a[w(0x11b)]()){case Category['Weapon'][w(0x11b)]():return w(0xe6);case Category[w(0xef)][w(0x11b)]():return w(0xe5);case Category['Gloves']['toLowerCase']():return'gloves';case Category[w(0xc6)][w(0x11b)]():case Category[w(0xe2)][w(0x11b)]():return w(0x100);case Category[w(0x10f)][w(0x11b)]():return w(0x10e);case Category[w(0xbc)][w(0x11b)]():return w(0xcf);case Category[w(0x114)]['toLowerCase']():return w(0xbf);case Category[w(0x101)]['toLowerCase']():return'torso';case w(0xc9):return w(0xe6);case w(0x103):return w(0xe5);case'gloves':return w(0xbe);case w(0xc8):case w(0x102):return'head';case'boots':return w(0x10e);case w(0xd1):case w(0x10d):return w(0xcf);case w(0xea):case w(0xd4):return'arms';case w(0xdf):case w(0x113):case w(0xd6):return'torso';default:return null;}}[a45i(0x119)](a){const x=a45i;return Object[x(0xd9)](Category)[x(0xc0)](a[x(0xc7)]);}[a45i(0xf5)](a){const y=a45i,b=this[y(0xe0)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+y(0x104);return this[y(0x118)](b),this[y(0xe0)][a]=null,'You\x20unequipped\x20'+b[y(0xff)]+'.';}[a45i(0xd7)](a,b){const z=a45i;a!==this&&this[z(0xd0)][z(0xf3)](a[z(0xff)]+z(0xfc)+b+'\x22');}['enterRoom'](a){const A=a45i;this[A(0xe3)]=a,a['on'](A(0xca),this[A(0xd7)][A(0xd5)](this)),this[A(0xd0)][A(0xdd)](this[A(0xff)]+A(0xe9)+a[A(0xff)]);}[a45i(0xfa)](){const B=a45i;this['_currentLocation']&&(this[B(0xe3)][B(0x111)](B(0xca),this[B(0xd7)]['bind'](this)),this['logger'][B(0xdd)](this[B(0xff)]+B(0x116)+this[B(0xe3)]['name']));}}
@@ -1 +1 @@
1
- var a43i=a43d;function a43c(){var m=['31222hPjivF','write','solved','2570128HMajRs','requiredItem','toString','logger','hasRequiredItem','You\x20solved\x20the\x20puzzle!','338346wZUOxq','riddle','Puzzle:\x20Correct\x20solution\x20provided.','63XLQjnS','matchesRequiredPhrase','requiredPhrase','hasItem','solve','apply','getInstance','(((.+)+)+)+$','5458416OThZWI','failureMessage','2599086RqztYR','successMessage','2299952IVJLBL','search','constructor','You\x20have\x20already\x20solved\x20this\x20puzzle.','309867XfqCKO','rewardItem','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','5bKURqq'];a43c=function(){return m;};return a43c();}(function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x13a))/0x1+-parseInt(f(0x123))/0x2+parseInt(f(0x136))/0x3+parseInt(f(0x11d))/0x4*(-parseInt(f(0x139))/0x5)+-parseInt(f(0x12e))/0x6+parseInt(f(0x130))/0x7+-parseInt(f(0x132))/0x8*(-parseInt(f(0x126))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xb34ae));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x11f)]()[h(0x133)](h(0x12d))['toString']()[h(0x134)](a43a)[h(0x133)](h(0x12d));});a43a();import{Logger}from'../utilities/logger.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x11b;var f=c[d];return f;},a43d(a,b);}export class Puzzle{[a43i(0x120)]=Logger[a43i(0x12c)]();[a43i(0x11c)]=![];['requiredItem'];[a43i(0x128)];[a43i(0x124)];[a43i(0x137)];[a43i(0x131)];['failureMessage'];constructor(a){var j=a43i;this[j(0x11e)]=a[j(0x11e)],this[j(0x128)]=a[j(0x128)],this[j(0x124)]=a[j(0x124)],this[j(0x137)]=a[j(0x137)],this['successMessage']=a[j(0x131)]||j(0x122),this[j(0x12f)]=a['failureMessage']||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a43i(0x121)](a){var k=a43i;if(this['requiredItem'])return a[k(0x129)](this[k(0x11e)]);return![];}[a43i(0x127)](a){return this['requiredPhrase']===a;}[a43i(0x12a)](a,b){var l=a43i;if(this[l(0x11c)])return this[l(0x120)]['write']('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':l(0x135)};return this[l(0x121)](b)||this[l(0x127)](a)?(this[l(0x11c)]=!![],this[l(0x120)][l(0x11b)](l(0x125)),{'success':!![],'message':this[l(0x131)]}):(this[l(0x120)][l(0x11b)](l(0x138)),{'success':![],'message':this[l(0x12f)]});}}
1
+ function a46c(){var m=['10yUZiFf','You\x20solved\x20the\x20puzzle!','constructor','1208nDnAcj','solved','logger','(((.+)+)+)+$','requiredItem','156GzkUtM','You\x20have\x20already\x20solved\x20this\x20puzzle.','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','rewardItem','toString','621lbXcgI','search','7HUgNbc','hasRequiredItem','solve','requiredPhrase','87860izSRqU','Puzzle:\x20Correct\x20solution\x20provided.','3969304THVLVP','apply','hasItem','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','117479xrAMLY','failureMessage','riddle','938289MefKIN','671967Ycfeoi','getInstance','9805fxxoyw','write','matchesRequiredPhrase','3333354BREybB','successMessage','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'];a46c=function(){return m;};return a46c();}var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0xb8))/0x1*(parseInt(f(0x9f))/0x2)+-parseInt(f(0x97))/0x3+-parseInt(f(0xa2))/0x4*(-parseInt(f(0x99))/0x5)+-parseInt(f(0x9c))/0x6+parseInt(f(0xae))/0x7*(-parseInt(f(0xb4))/0x8)+parseInt(f(0xac))/0x9*(-parseInt(f(0xb2))/0xa)+-parseInt(f(0xbb))/0xb*(-parseInt(f(0xa7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x6341f));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xb5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0xab)]()[h(0xad)](h(0xa5))['toString']()[h(0xa1)](a46a)[h(0xad)](h(0xa5));});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x97;var f=c[d];return f;},a46d(a,b);}a46a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a46i(0xa4)]=Logger[a46i(0x98)]();[a46i(0xa3)]=![];[a46i(0xa6)];[a46i(0xb1)];[a46i(0xba)];[a46i(0xaa)];[a46i(0x9d)];['failureMessage'];constructor(a){var j=a46i;super(),this['requiredItem']=a[j(0xa6)],this[j(0xb1)]=a[j(0xb1)],this[j(0xba)]=a['riddle'],this[j(0xaa)]=a[j(0xaa)],this[j(0x9d)]=a[j(0x9d)]||j(0xa0),this[j(0xb9)]=a[j(0xb9)]||j(0xb7);}['hasRequiredItem'](a){var k=a46i;if(this[k(0xa6)])return a[k(0xb6)](this['requiredItem']);return![];}['matchesRequiredPhrase'](a){return this['requiredPhrase']===a;}[a46i(0xb0)](a,b){var l=a46i;if(this['solved'])return this[l(0xa4)][l(0x9a)](l(0xa9)),{'success':![],'message':l(0xa8)};return this[l(0xaf)](b)||this[l(0x9b)](a)?(this[l(0xa3)]=!![],this['logger'][l(0x9a)](l(0xb3)),{'success':!![],'message':this[l(0x9d)]}):(this[l(0xa4)][l(0x9a)](l(0x9e)),{'success':![],'message':this[l(0xb9)]});}}
@@ -1 +1 @@
1
- const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x124))/0x1*(parseInt(f(0x132))/0x2)+-parseInt(f(0x12c))/0x3*(parseInt(f(0x134))/0x4)+-parseInt(f(0x12b))/0x5+-parseInt(f(0x11b))/0x6*(-parseInt(f(0x10b))/0x7)+-parseInt(f(0x112))/0x8+parseInt(f(0x108))/0x9*(-parseInt(f(0x130))/0xa)+parseInt(f(0x122))/0xb*(parseInt(f(0x114))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xf1e64));function a44c(){const t=['get','hasItem','45Kzjvma','write','constructor','7gQfBlh','setPuzzle','DOWN','Checking\x20if\x20exit\x20in\x20direction\x20','riddle','apply','Room\x20created:\x20','6226488pyYwKD','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','14472552okkdew','findExistingDoor','toString','Invalid\x20direction:\x20','checkIfLocked','\x20is\x20locked.\x20Result:\x20','name','2717310noVxcY','removeItem','values','addItem','getExit','Fetching\x20exit\x20in\x20direction:\x20','(((.+)+)+)+$','55JTwjzR','description','17572cqNtHY','south','attemptUnlock','east','getOppositeDirection','roomB','.\x20Success:\x20','5577860SdxqFd','5391951XYQGIT','addExit','Item\x20added\x20to\x20room\x20','\x20remains\x20locked.','3250750BIpfMd','puzzle','20ESNRBf','SOUTH','4OsUwqh','Item\x20removed\x20from\x20room\x20','NORTH','roomA','getInstance','Puzzle\x20set\x20for\x20room\x20','exits','\x20unlocked!','isExitLocked','search','No\x20locked\x20exit\x20found\x20in\x20direction\x20','inventory','The\x20','attemptUnlockExit','roomType'];a44c=function(){return t;};return a44c();}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x110)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()['search']('(((.+)+)+)+$')[h(0x116)]()[h(0x10a)](a44a)[h(0x100)](h(0x121));});a44a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x100;let f=c[d];return f;},a44d(a,b);}const gameLog=Logger[a44i(0x138)]();export class Room{[a44i(0x11a)];['description'];[a44i(0x13a)]=new Map();[a44i(0x102)]=new Inventory();[a44i(0x131)];[a44i(0x105)];constructor(a){const j=a44i;this[j(0x11a)]=a[j(0x11a)],this['description']=a[j(0x123)],this[j(0x105)]=a['roomType']||RoomType['INSIDE'],a[j(0x13a)]&&(this[j(0x13a)]=a[j(0x13a)]),a[j(0x102)]&&(this[j(0x102)]=a['inventory']),a[j(0x131)]&&(this['puzzle']=a[j(0x131)]),gameLog['write'](j(0x111)+this[j(0x11a)]);}[a44i(0x12d)](a,b,c){const k=a44i;let d=this[k(0x115)](b);!d&&(d=new Door(this,b,Boolean(c),c)),this['exits']['set'](a,d),b[k(0x13a)]['set'](this[k(0x128)](a),d);}[a44i(0x104)](a,b){const l=a44i,c=this['exits'][l(0x106)](a);if(c instanceof Door){const d=c[l(0x126)](b);return gameLog['write']('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+l(0x12a)+d),d?'The\x20'+c[l(0x11a)]+l(0x13b):l(0x103)+c[l(0x11a)]+l(0x12f);}return gameLog[l(0x109)](l(0x101)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a44i(0x11f)](a){const m=a44i;return gameLog[m(0x109)](m(0x120)+a),this[m(0x13a)][m(0x106)](a);}[a44i(0x13c)](a){const n=a44i,b=this[n(0x13a)][n(0x106)](a),c=b instanceof Door&&b[n(0x118)]();return gameLog['write'](n(0x10e)+a+n(0x119)+c),c;}[a44i(0x11e)](a){const o=a44i;this[o(0x102)][o(0x11e)](a),gameLog[o(0x109)](o(0x12e)+this[o(0x11a)]+':\x20'+a[o(0x11a)]);}['removeItem'](a){const p=a44i;this[p(0x102)][p(0x107)](a['name'])?(this['inventory'][p(0x11c)](a[p(0x11a)]),gameLog[p(0x109)](p(0x135)+this['name']+':\x20'+a[p(0x11a)])):gameLog[p(0x109)](p(0x113)+this[p(0x11a)]+':\x20'+a[p(0x11a)]);}[a44i(0x10c)](a){const q=a44i;this['puzzle']=a,gameLog[q(0x109)](q(0x139)+this['name']+':\x20'+a[q(0x10f)]);}[a44i(0x128)](a){const r=a44i;switch(a){case'north':return Direction[r(0x133)];case r(0x125):return Direction[r(0x136)];case r(0x127):return Direction['WEST'];case'west':return Direction['EAST'];case'up':return Direction[r(0x10d)];case'down':return Direction['UP'];default:throw new Error(r(0x117)+a);}}[a44i(0x115)](a){const s=a44i;for(const b of this['exits'][s(0x11d)]()){if(b instanceof Door){if(b['roomA']===this&&b[s(0x129)]===a||b['roomB']===this&&b[s(0x137)]===a)return b;}}return undefined;}}
1
+ const a47h=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0xbf))/0x1*(parseInt(f(0xbc))/0x2)+parseInt(f(0xda))/0x3+-parseInt(f(0xbe))/0x4*(parseInt(f(0xfc))/0x5)+-parseInt(f(0xf6))/0x6+parseInt(f(0xbb))/0x7+parseInt(f(0xf2))/0x8*(-parseInt(f(0xbd))/0x9)+-parseInt(f(0xe0))/0xa*(-parseInt(f(0xd5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x53c18));function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xbb;let f=c[d];return f;},a47d(a,b);}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const g=a47d;return a47a[g(0xed)]()['search'](g(0xe8))[g(0xed)]()[g(0xe3)](a47a)[g(0xf1)](g(0xe8));});function a47c(){const t=['1010310PIajmg','6QPmuwr','18uAQfZB','342964nplSKo','64097MqklvB','.\x20Success:\x20','getInstance','INSIDE','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','roomA','SOUTH','isExitLocked','Checking\x20if\x20exit\x20in\x20direction\x20','checkIfLocked','Invalid\x20direction:\x20','description','The\x20','write','speak','north','Room\x20created:\x20','attemptUnlock','roomB','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','values','Puzzle\x20set\x20for\x20room\x20','462ZMsTzU','findExistingDoor','addItem','EAST','south','1393455CLFheV','\x20is\x20locked.\x20Result:\x20','inventory','setPuzzle','getExit','Item\x20added\x20to\x20room\x20','255470XUaatq','logger','say','constructor','exits','east','set','\x20remains\x20locked.','(((.+)+)+)+$','NORTH','Fetching\x20exit\x20in\x20direction:\x20','removeItem','riddle','toString','isStartRoom','puzzle','WEST','search','520408CyDfGY','getOppositeDirection','hasItem','emit','3525762cHjOlY','roomType','west','\x20unlocked!','get','name','25QorsiF'];a47c=function(){return t;};return a47c();}a47a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger[a47h(0xc1)]();[a47h(0xfb)];['description'];[a47h(0xe4)]=new Map();[a47h(0xf7)];[a47h(0xee)];[a47h(0xdc)]=new Inventory();constructor(a){const i=a47h;super(),this[i(0xfb)]=a[i(0xfb)],this[i(0xca)]=a['description'],this['roomType']=a['roomType']||RoomType[i(0xc2)],a['exits']&&(this[i(0xe4)]=a[i(0xe4)]),a[i(0xdc)]&&(this['inventory']=a[i(0xdc)]),a['puzzle']&&(this[i(0xef)]=a[i(0xef)]),this[i(0xee)]=a[i(0xee)]||![],this[i(0xe1)][i(0xcc)](i(0xcf)+this['name']);}[a47h(0xe2)](a,b){const j=a47h;this[j(0xf5)](j(0xcd),a,b);}['addExit'](a,b,c){const k=a47h;let d=this[k(0xd6)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][k(0xe6)](a,d),b[k(0xe4)][k(0xe6)](this[k(0xf3)](a),d);}['attemptUnlockExit'](a,b){const l=a47h,c=this[l(0xe4)][l(0xfa)](a);if(c instanceof Door){const d=c[l(0xd0)](b);return this[l(0xe1)][l(0xcc)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+l(0xc0)+d),d?'The\x20'+c['name']+l(0xf9):l(0xcb)+c[l(0xfb)]+l(0xe7);}return this[l(0xe1)]['write']('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),l(0xc3);}[a47h(0xde)](a){const m=a47h;return this[m(0xe1)][m(0xcc)](m(0xea)+a),this[m(0xe4)][m(0xfa)](a);}[a47h(0xc6)](a){const n=a47h,b=this['exits'][n(0xfa)](a),c=b instanceof Door&&b[n(0xc8)]();return this[n(0xe1)][n(0xcc)](n(0xc7)+a+n(0xdb)+c),c;}['addItem'](a){const o=a47h;this[o(0xdc)][o(0xd7)](a),this['logger']['write'](o(0xdf)+this[o(0xfb)]+':\x20'+a['name']);}[a47h(0xeb)](a){const p=a47h;this['inventory'][p(0xf4)](a[p(0xfb)])?(this[p(0xdc)][p(0xeb)](a['name']),this[p(0xe1)]['write']('Item\x20removed\x20from\x20room\x20'+this[p(0xfb)]+':\x20'+a[p(0xfb)])):this['logger'][p(0xcc)](p(0xd2)+this[p(0xfb)]+':\x20'+a[p(0xfb)]);}[a47h(0xdd)](a){const q=a47h;this[q(0xef)]=a,this[q(0xe1)]['write'](q(0xd4)+this[q(0xfb)]+':\x20'+a[q(0xec)]);}[a47h(0xf3)](a){const r=a47h;switch(a){case r(0xce):return Direction[r(0xc5)];case r(0xd9):return Direction[r(0xe9)];case r(0xe5):return Direction[r(0xf0)];case r(0xf8):return Direction[r(0xd8)];case'up':return Direction['DOWN'];case'down':return Direction['UP'];default:throw new Error(r(0xc9)+a);}}[a47h(0xd6)](a){const s=a47h;for(const b of this[s(0xe4)][s(0xd3)]()){if(b instanceof Door){if(b[s(0xc4)]===this&&b['roomB']===a||b[s(0xd1)]===this&&b[s(0xc4)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x1ab))/0x1+-parseInt(f(0x1a2))/0x2+parseInt(f(0x188))/0x3+-parseInt(f(0x1ac))/0x4+parseInt(f(0x1a7))/0x5+-parseInt(f(0x195))/0x6+parseInt(f(0x1a4))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x5dba6));function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x184;let f=c[d];return f;},a45d(a,b);}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x192)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x1ad)]()[h(0x18e)](h(0x18d))[h(0x1ad)]()[h(0x19f)](a45a)[h(0x18e)](h(0x18d));});a45a();import{Logger}from'../utilities/logger.js';function a45c(){const q=['rooms','apply','logger','push','4180554EhDpvm','setCharacterLocation','map','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Removed\x20room\x20from\x20scene:\x20','addItemToRoom','write','Added\x20puzzle\x20to\x20room\x20','length','Scene\x20initialized\x20with\x20rooms:\x20','constructor','\x20to\x20room\x20','get','1084120SyRvqE','addItem','9252880wvDpgv','Added\x20item\x20','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','355545Dadcxp','\x20not\x20found\x20in\x20scene.','setPuzzle','Added\x20room\x20to\x20scene:\x20','419281DsLRlH','2164344syrVNt','toString','Failed\x20to\x20set\x20','characterLocations','\x20is\x20now\x20in\x20room\x20','getCharacterLocation','1054755lZVWBW','Failed\x20to\x20add\x20item\x20','set','getInstance','name','(((.+)+)+)+$','search','find','removeRoom'];a45c=function(){return q;};return a45c();}export class Scene{['rooms'];[a45i(0x193)];[a45i(0x185)]=new Map();constructor(a){const j=a45i;this[j(0x191)]=a[j(0x191)],this[j(0x193)]=Logger[j(0x18b)](),this[j(0x193)]['write'](j(0x19e)+this['rooms'][j(0x197)](b=>b[j(0x18c)])['join'](',\x20'));}['addRoom'](a){const k=a45i;this[k(0x191)][k(0x194)](a),this['logger']['write'](k(0x1aa)+a[k(0x18c)]);}[a45i(0x190)](a){const l=a45i,b=this['rooms'][l(0x19d)];this[l(0x191)]=this[l(0x191)]['filter'](d=>d['name']!==a);const c=this[l(0x191)][l(0x19d)]<b;return c?this[l(0x193)][l(0x19b)](l(0x199)+a):this[l(0x193)][l(0x19b)](l(0x1a6)+a),c;}[a45i(0x19a)](a,b){const m=a45i,c=this[m(0x191)]['find'](d=>d[m(0x18c)]===b);c?(c[m(0x1a3)](a),this[m(0x193)][m(0x19b)](m(0x1a5)+a[m(0x18c)]+m(0x1a0)+c[m(0x18c)])):this['logger'][m(0x19b)](m(0x189)+a[m(0x18c)]+'.\x20Room\x20'+b+m(0x1a8));}['addPuzzleToRoom'](a,b){const n=a45i,c=this[n(0x191)]['find'](d=>d[n(0x18c)]===b);c?(c[n(0x1a9)](a),this['logger'][n(0x19b)](n(0x19c)+c[n(0x18c)])):this[n(0x193)][n(0x19b)](n(0x198)+b+n(0x1a8));}[a45i(0x196)](a,b){const o=a45i,c=this[o(0x191)][o(0x18f)](d=>d[o(0x18c)]===b);c?(this[o(0x185)][o(0x18a)](a[o(0x18c)],c),this['logger'][o(0x19b)](a[o(0x18c)]+o(0x186)+c[o(0x18c)])):this[o(0x193)][o(0x19b)](o(0x184)+a[o(0x18c)]+'\x27s\x20location.\x20Room\x20'+b+o(0x1a8));}[a45i(0x187)](a){const p=a45i;return this[p(0x185)][p(0x1a1)](a[p(0x18c)]);}}
1
+ const a48l=a48d;(function(a,b){const i=a48d,c=a();while(!![]){try{const d=-parseInt(i(0x1cb))/0x1+-parseInt(i(0x1b2))/0x2+-parseInt(i(0x1c2))/0x3*(-parseInt(i(0x1bd))/0x4)+-parseInt(i(0x1ad))/0x5+-parseInt(i(0x1ab))/0x6+parseInt(i(0x1ba))/0x7+-parseInt(i(0x1a9))/0x8*(-parseInt(i(0x1aa))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xe652d));function a48c(){const E=['19676889XZRXyk','10450770wzfXQc','currentLocation','9135105KdmGEs','\x22\x20does\x20not\x20exist.','set','Scene\x20initialized\x20with\x20rooms:\x20','rooms','3199082hukWqn','delete','toString','has','setCharacterLocation','\x20is\x20now\x20in\x20room\x20','createExitsFromConfig','write','9000453HDbSml','getInstance','values','4ifKkwH','roomFactory','allActors','generateRoomsFromConfig','(((.+)+)+)+$','2970969FLSTdx','Failed\x20to\x20add\x20item\x20','apply','length','createRoom','get','name','keys','\x20not\x20found\x20in\x20scene.','536982JQOWEp','push','connectRooms','characterLocations','determineStartRoom','Removed\x20room\x20from\x20scene:\x20','.\x20Room\x20','\x27s\x20location.\x20Room\x20','addRoom','Added\x20item\x20','join','addActor','Failed\x20to\x20set\x20','toUpperCase','addItemToRoom','\x20to\x20room\x20','logger','removeRoom','exits','warn','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','actors','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','getActor','Actor\x20with\x20name\x20','player','addItem','addExit','\x20already\x20exists\x20in\x20the\x20scene.','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','direction','Failed\x20to\x20add\x20puzzle.\x20Room\x20','search','getPlayer','16QbnVmz'];a48c=function(){return E;};return a48c();}const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a48d;if(c){const e=c[j(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const k=a48d;return a48a[k(0x1b4)]()[k(0x1a7)](k(0x1c1))['toString']()['constructor'](a48a)[k(0x1a7)]('(((.+)+)+)+$');});a48a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a48d(a,b);}export class Scene extends AbstractScene{[a48l(0x1b1)];[a48l(0x1e4)];[a48l(0x1db)];[a48l(0x1e0)];[a48l(0x1ce)]=new Map();[a48l(0x1be)];constructor(a){const m=a48l;super(),this[m(0x1be)]=new RoomFactory(),this[m(0x1e4)]=a[m(0x1e4)],this[m(0x1b1)]=this[m(0x1c0)](a['roomConfiguration']),this[m(0x1db)]=Logger[m(0x1bb)](),this[m(0x1e0)]=new Map(),this[m(0x1b8)](a['roomConfiguration']),this[m(0x1db)]['write'](m(0x1b0)+Object[m(0x1c9)](this['rooms'])[m(0x1d5)](',\x20'));}['initialize'](){const n=a48l;this['player'][n(0x1ac)]=this['determineStartRoom']();}['generateRoomsFromConfig'](a){const o=a48l;if(!this[o(0x1be)])throw new Error(o(0x1e9));const b={};for(const c of a){const d=this[o(0x1be)][o(0x1c6)](c);b[c['name']]=d;}return b;}[a48l(0x1b8)](a){const p=a48l;for(const b of a){const c=this[p(0x1b1)][b[p(0x1c8)]];if(b['exits'])for(const d of b[p(0x1dd)]){const e=d[p(0x1a5)][p(0x1d8)](),f=d['targetRoom'],g=d['keyRequired'],h=this[p(0x1b1)][f];h&&c[p(0x1e6)](Direction[e],h,g);}}}[a48l(0x1d6)](a){const q=a48l;if(this['actors'][q(0x1b5)](a[q(0x1c8)]))throw new Error(q(0x1e3)+a[q(0x1c8)]+q(0x1e7));this[q(0x1e0)][q(0x1af)](a['name'],a);}['removeActor'](a){const r=a48l;if(!this[r(0x1e0)][r(0x1b5)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+'\x20found\x20in\x20the\x20scene.');this['actors'][r(0x1b3)](a);}[a48l(0x1e2)](a){const s=a48l;return this[s(0x1e0)][s(0x1c7)](a);}get[a48l(0x1bf)](){const t=a48l;return Array['from'](this[t(0x1e0)][t(0x1bc)]());}[a48l(0x1d3)](a){const u=a48l;this[u(0x1b1)][a[u(0x1c8)]]=a,this[u(0x1db)][u(0x1b9)]('Added\x20room\x20to\x20scene:\x20'+a[u(0x1c8)]);}[a48l(0x1dc)](a){const v=a48l;return this[v(0x1b1)][a]?(delete this[v(0x1b1)][a],this[v(0x1db)][v(0x1b9)](v(0x1d0)+a),!![]):(this[v(0x1db)][v(0x1b9)](v(0x1e1)+a),![]);}[a48l(0x1d9)](a,b){const w=a48l,c=this['rooms'][b];c?(c[w(0x1e5)](a),this[w(0x1db)]['write'](w(0x1d4)+a[w(0x1c8)]+w(0x1da)+c['name'])):this[w(0x1db)]['write'](w(0x1c3)+a['name']+w(0x1d1)+b+'\x20not\x20found\x20in\x20scene.');}['addPuzzleToRoom'](a,b){const x=a48l,c=this[x(0x1b1)][b];c?(c['setPuzzle'](a),this['logger'][x(0x1b9)]('Added\x20puzzle\x20to\x20room\x20'+c[x(0x1c8)])):this[x(0x1db)][x(0x1b9)](x(0x1a6)+b+'\x20not\x20found\x20in\x20scene.');}[a48l(0x1b6)](a,b){const y=a48l,c=this[y(0x1b1)][b];c?(this[y(0x1ce)][y(0x1af)](a['name'],c),this[y(0x1db)]['write'](a[y(0x1c8)]+y(0x1b7)+c[y(0x1c8)])):this[y(0x1db)][y(0x1b9)](y(0x1d7)+a[y(0x1c8)]+y(0x1d2)+b+y(0x1ca));}['getCharacterLocation'](a){const z=a48l;return this[z(0x1ce)][z(0x1c7)](a[z(0x1c8)]);}[a48l(0x1cf)](){const A=a48l,a=[];for(const c in this[A(0x1b1)]){if(this['rooms']['hasOwnProperty'](c)){const d=this[A(0x1b1)][c];d['isStartRoom']&&a[A(0x1cc)](d);}}if(a[A(0x1c5)]>0x1)throw new Error(A(0x1e8));if(a[A(0x1c5)]===0x1)return a[0x0];const b=Object[A(0x1c9)](this[A(0x1b1)]);if(b['length']===0x0)throw new Error(A(0x1df));return console[A(0x1de)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0x1b1)][b[0x0]];}[a48l(0x1a8)](){const B=a48l;return this[B(0x1e4)];}['getRooms'](){const C=a48l;return this[C(0x1b1)];}[a48l(0x1cd)](a,b,c,d){const D=a48l,e=this['rooms'][a],f=this['rooms'][c];if(!e)throw new Error('Room\x20\x22'+a+D(0x1ae));if(!f)throw new Error('Room\x20\x22'+c+'\x22\x20does\x20not\x20exist.');e[D(0x1e6)](b,f,d);}}
@@ -1 +1 @@
1
- var a46j=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x100))/0x1*(-parseInt(f(0x116))/0x2)+parseInt(f(0x10d))/0x3*(-parseInt(f(0x121))/0x4)+-parseInt(f(0x109))/0x5+parseInt(f(0xfc))/0x6*(parseInt(f(0xff))/0x7)+parseInt(f(0x122))/0x8+-parseInt(f(0x106))/0x9+parseInt(f(0xfa))/0xa*(parseInt(f(0x11c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xeb92b));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x124)]()[h(0x112)](h(0x10c))[h(0x124)]()[h(0x102)](a46a)[h(0x112)](h(0x10c));});function a46c(){var s=['878184SAenzF','Key','Legendary','Large','You\x20hold\x20the\x20','search','publishDate','Short\x20Sword','Medium','15578yHyyap','Holy\x20Grail','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','A\x20mysterious\x20book.','author','name','7556428luORGh','use','Common','Brown','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','16eMCJjD','11893248VZVVwS','Metallic','toString','apply','Circle','Book','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','20XhWbWU','Weapon','12BOZLez','Rifle','Small','6281219AeFwTR','62oOiQZc','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','constructor','pageCount','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Blade','12148407UMyjKE','Gold','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','3433130veKuRo','Sniper\x20Rifle','Smooth','(((.+)+)+)+$'];a46c=function(){return s;};return a46c();}a46a();function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xf8;var f=c[d];return f;},a46d(a,b);}import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class Key extends Item{constructor(a,b){var i=a46d;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category[i(0x10e)],'shape':Shape['Rectangle'],'color':Color['Yellow'],'texture':Texture[i(0x10b)],'rating':Rating[i(0x11e)],'weight':0x0});}[a46j(0x11d)](){var k=a46j;return k(0x108);}}export class Book extends Item{[a46j(0x11a)];['publishDate'];[a46j(0x103)];constructor(a,b=a46j(0x119),c='Unknown\x20Author'){var l=a46j;super({'name':a,'description':b,'size':Size[l(0x115)],'category':Category[l(0xf8)],'shape':Shape['Rectangle'],'color':Color['Brown'],'texture':Texture[l(0x10b)],'rating':Rating['Common'],'weight':0x1}),this[l(0x11a)]=c,this[l(0x113)]=new Date(),this[l(0x103)]=0x64;}[a46j(0x11d)](){return'There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22';}}export class ShortSword extends Item{constructor(){var m=a46j;super({'name':m(0x114),'description':m(0x101),'size':Size[m(0x115)],'category':Category[m(0xfb)],'shape':Shape[m(0x105)],'color':Color['Grey'],'texture':Texture[m(0x123)],'rating':Rating[m(0x11e)],'weight':0x3});}[a46j(0x11d)](){var n=a46j;return n(0x120);}}export class SniperRifle extends Item{constructor(){var o=a46j;super({'name':o(0x10a),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[o(0x110)],'category':Category['Weapon'],'shape':Shape[o(0xfd)],'color':Color[o(0x11f)],'texture':Texture[o(0x10b)],'rating':Rating[o(0x11e)],'weight':0x5});}[a46j(0x11d)](){var p=a46j;return p(0xf9);}}export class HolyGrail extends Item{constructor(){var q=a46j;super({'name':q(0x117),'description':q(0x118),'size':Size[q(0xfe)],'category':Category['Cup'],'shape':Shape[q(0x126)],'color':Color[q(0x107)],'texture':Texture[q(0x123)],'rating':Rating[q(0x10f)],'weight':0x1});}['use'](){var r=a46j;return r(0x111)+this[r(0x11b)]+r(0x104);}}
1
+ var a49u=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0xb1))/0x1+parseInt(f(0xb6))/0x2+-parseInt(f(0xbc))/0x3*(parseInt(f(0x86))/0x4)+-parseInt(f(0xa1))/0x5+-parseInt(f(0xab))/0x6*(-parseInt(f(0xbb))/0x7)+parseInt(f(0xb7))/0x8*(-parseInt(f(0x8e))/0x9)+parseInt(f(0xad))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x5317d));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xb5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x95)]()[h(0x87)](h(0xa7))['toString']()[h(0x90)](a49a)[h(0x87)](h(0xa7));});a49a();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=a49d;super({'name':a,'description':b,'size':Size[i(0xa0)],'category':Category['Unknown'],'shape':Shape[i(0xb0)],'color':Color[i(0xaa)],'texture':Texture[i(0x91)],'rating':Rating['Common'],'weight':0x1});}['use'](){return this['description'];}}export class Sword extends Item{constructor(a,b){var j=a49d;super({'name':a,'description':b,'size':Size[j(0xa0)],'category':Category['Weapon'],'shape':Shape[j(0x8b)],'color':Color[j(0x9e)],'texture':Texture[j(0xa6)],'rating':Rating[j(0x8d)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var k=a49d;super({'name':a,'description':b,'size':Size[k(0x88)],'category':Category[k(0xa2)],'shape':Shape[k(0x9f)],'color':Color[k(0x9b)],'texture':Texture['Metallic'],'rating':Rating[k(0x97)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var l=a49d;super({'name':a,'description':b,'size':Size[l(0xa0)],'category':Category['Helmet'],'shape':Shape[l(0xb2)],'color':Color[l(0x9e)],'texture':Texture[l(0xa6)],'rating':Rating[l(0x8d)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var m=a49d;super({'name':a,'description':b,'size':Size['Large'],'category':Category[m(0x98)],'shape':Shape[m(0xb0)],'color':Color[m(0x9e)],'texture':Texture[m(0xa6)],'rating':Rating[m(0x8d)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var n=a49d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[n(0x96)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[n(0xa6)],'rating':Rating[n(0x8d)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var o=a49d;super({'name':a,'description':b,'size':Size[o(0xa0)],'category':Category[o(0xa3)],'shape':Shape['Circle'],'color':Color[o(0x9b)],'texture':Texture[o(0x91)],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var p=a49d;super({'name':a,'description':b,'size':Size[p(0xa4)],'category':Category[p(0xaf)],'shape':Shape[p(0xb2)],'color':Color[p(0x9b)],'texture':Texture[p(0x91)],'rating':Rating[p(0x8d)],'weight':0x1});}}function a49c(){var B=['Gold','347669ykqudS','43317OcjmAy','132qviMvt','search','Large','Tiny','Book','Blade','author','Common','5313879CSxgrP','Short\x20Sword','constructor','Smooth','Unknown\x20Author','Legendary','pageCount','toString','LegArmor','Rare','BodyArmor','A\x20mysterious\x20book.','Cup','Brown','Sniper\x20Rifle','You\x20hold\x20the\x20','Grey','Rifle','Medium','2362035IleVRH','Weapon','Boots','Small','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Metallic','(((.+)+)+)+$','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','name','Yellow','54AzIZrn','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','11170400xAstoJ','Holy\x20Grail','Gloves','Rectangle','248028IGSRJz','Circle','use','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','apply','1127318HDzwDP','8IwlxgB','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','ArmArmor'];a49c=function(){return B;};return a49c();}export class Gauntlets extends Item{constructor(a,b){var q=a49d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[q(0xb9)],'shape':Shape[q(0xb0)],'color':Color['Grey'],'texture':Texture[q(0xa6)],'rating':Rating[q(0x8d)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var r=a49d;super({'name':a,'description':b,'size':Size[r(0x89)],'category':Category['Key'],'shape':Shape[r(0xb0)],'color':Color[r(0xaa)],'texture':Texture[r(0x91)],'rating':Rating[r(0x8d)],'weight':0x0});}['use'](){var s=a49d;return s(0xb8);}}export class Weapon extends Item{constructor(a,b){var t=a49d;super({'name':a,'description':b,'size':Size[t(0xa0)],'category':Category['Weapon'],'shape':Shape[t(0x8b)],'color':Color[t(0x9e)],'texture':Texture[t(0xa6)],'rating':Rating[t(0x8d)],'weight':0x3});}[a49u(0xb3)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x86;var f=c[d];return f;},a49d(a,b);}export class Book extends Item{[a49u(0x8c)];['publishDate'];[a49u(0x94)];constructor(a,b=a49u(0x99),c=a49u(0x92)){var v=a49u;super({'name':a,'description':b,'size':Size[v(0xa0)],'category':Category[v(0x8a)],'shape':Shape[v(0xb0)],'color':Color[v(0x9b)],'texture':Texture[v(0x91)],'rating':Rating[v(0x8d)],'weight':0x1}),this[v(0x8c)]=c,this['publishDate']=new Date(),this[v(0x94)]=0x64;}[a49u(0xb3)](){return'There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22';}}export class ShortSword extends Item{constructor(){var w=a49u;super({'name':w(0x8f),'description':w(0xb4),'size':Size['Medium'],'category':Category['Weapon'],'shape':Shape[w(0x8b)],'color':Color[w(0x9e)],'texture':Texture[w(0xa6)],'rating':Rating['Common'],'weight':0x3});}[a49u(0xb3)](){var x=a49u;return x(0xac);}}export class SniperRifle extends Item{constructor(){var y=a49u;super({'name':y(0x9c),'description':y(0xa8),'size':Size[y(0x88)],'category':Category[y(0xa2)],'shape':Shape[y(0x9f)],'color':Color[y(0x9b)],'texture':Texture[y(0x91)],'rating':Rating['Common'],'weight':0x5});}[a49u(0xb3)](){return'You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22';}}export class HolyGrail extends Item{constructor(){var z=a49u;super({'name':z(0xae),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[z(0xa4)],'category':Category[z(0x9a)],'shape':Shape['Circle'],'color':Color[z(0xba)],'texture':Texture[z(0xa6)],'rating':Rating[z(0x93)],'weight':0x1});}[a49u(0xb3)](){var A=a49u;return A(0x9d)+this[A(0xa9)]+A(0xa5);}}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x1db))/0x1*(parseInt(f(0x1e2))/0x2)+parseInt(f(0x1e7))/0x3*(-parseInt(f(0x1d8))/0x4)+parseInt(f(0x1d2))/0x5+-parseInt(f(0x1e0))/0x6+parseInt(f(0x1e8))/0x7*(-parseInt(f(0x1e4))/0x8)+-parseInt(f(0x1d5))/0x9*(parseInt(f(0x1df))/0xa)+parseInt(f(0x1e6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xc63c6));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1d3)]()[h(0x1d9)]('(((.+)+)+)+$')[h(0x1d3)]()['constructor'](a48a)[h(0x1d9)](h(0x1d4));});a48a();import{RoomType,Direction}from'../types/enums.js';function a48c(){const j=['A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]','OUTSIDE','addExit','Guard\x27s\x20Log\x20Book','A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','Golden\x20Key','A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','A\x20thin\x20log\x20book','NORTH','815640oqtNmi','toString','(((.+)+)+)+$','1170jvCFrL','apply','A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','10180IOLseu','search','EAST','857Uzyylh','Watch\x20Tower','A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','SOUTH','31610hSsrpx','8300790DHKnpC','Secret\x20Passage','880cwWgtV','addItem','56nEOupu','A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','43387883bjqevB','1077PypAua','964537NzKnaD'];a48c=function(){return j;};return a48c();}import{Room}from'../models/room.js';import{Puzzle}from'../models/puzzle.js';import{Key,SniperRifle,HolyGrail,Book}from'./items.js';const library=new Room({'name':'Library','description':a48i(0x1e9)}),secretPassage=new Room({'name':a48i(0x1e1),'description':a48i(0x1e5)}),treasureRoom=new Room({'name':'Treasure\x20Room','description':a48i(0x1ef)}),courtyard=new Room({'name':'Courtyard','description':a48i(0x1ed),'roomType':RoomType['OUTSIDE']}),watchTower=new Room({'name':a48i(0x1dc),'description':a48i(0x1d7),'roomType':RoomType[a48i(0x1ea)]}),gunCabinetPuzzle=new Puzzle({'requiredPhrase':'secret123','riddle':a48i(0x1dd),'rewardItem':new SniperRifle(),'successMessage':'You\x20pull\x20the\x20sniper\x20rifle\x20from\x20the\x20gun\x20cabinet.\x20\x20Just\x20as\x20you\x20do,\x20you\x20hear\x20a\x20guy\x20from\x20the\x20Courtyard\x20yell\x20\x22HEY!\x20WHAT\x27S\x20YA\x20NAME?!\x22','failureMessage':'That\x20passcode\x20is\x20incorrect'}),goldenKey=new Key(a48i(0x1ee),a48i(0x1f0)),logBook=new Book(a48i(0x1ec),a48i(0x1f1),'Chad\x20the\x20stupid\x20guard'),holyGrail=new HolyGrail();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1d1;let f=c[d];return f;},a48d(a,b);}library[a48i(0x1e3)](goldenKey),library[a48i(0x1e3)](logBook),watchTower['setPuzzle'](gunCabinetPuzzle),treasureRoom[a48i(0x1e3)](holyGrail),library[a48i(0x1eb)](Direction[a48i(0x1da)],secretPassage),secretPassage[a48i(0x1eb)](Direction[a48i(0x1d1)],treasureRoom,goldenKey['name']),secretPassage[a48i(0x1eb)](Direction[a48i(0x1de)],courtyard),courtyard[a48i(0x1eb)](Direction['UP'],watchTower);const rooms={'library':library,'secretPassage':secretPassage,'treasureRoom':treasureRoom,'courtyard':courtyard,'watchTower':watchTower};export default rooms;
1
+ function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xe0;let f=c[d];return f;},a51d(a,b);}const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x14a))/0x1*(parseInt(f(0xed))/0x2)+-parseInt(f(0xe9))/0x3*(-parseInt(f(0x151))/0x4)+parseInt(f(0xe8))/0x5*(-parseInt(f(0xe2))/0x6)+parseInt(f(0x102))/0x7+parseInt(f(0x10f))/0x8+-parseInt(f(0x11c))/0x9+parseInt(f(0x14d))/0xa*(-parseInt(f(0x111))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xe8e8d));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const g=a51d;return a51a[g(0x131)]()[g(0x14c)](g(0x13d))[g(0x131)]()[g(0x136)](a51a)['search'](g(0x13d));});a51a();export const rooms=[{'name':a51h(0xf3),'description':'A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]','isStartRoom':!![],'items':[{'type':'key','name':a51h(0x114),'description':a51h(0x106)},{'type':a51h(0xe4),'name':a51h(0x13e),'description':'A\x20thin\x20log\x20book','content':a51h(0xfe)}],'exits':[{'direction':a51h(0x112),'targetRoom':a51h(0x101)}]},{'name':a51h(0x101),'description':'A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','exits':[{'direction':a51h(0x108),'targetRoom':a51h(0x12c),'keyRequired':a51h(0x114)},{'direction':a51h(0x139),'targetRoom':a51h(0xf8)}]},{'name':a51h(0x12c),'description':a51h(0xec),'items':[{'type':'holyGrail','name':'Holy\x20Grail','description':'The\x20legendary\x20Holy\x20Grail.'}]},{'name':a51h(0xf8),'description':'A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','roomType':'OUTSIDE','exits':[{'direction':'UP','targetRoom':a51h(0x10e)}]},{'name':a51h(0x10e),'description':a51h(0x130),'roomType':a51h(0x133),'puzzle':{'requiredPhrase':a51h(0x119),'riddle':a51h(0x113),'rewardItem':{'type':a51h(0x129),'name':a51h(0x123),'description':'A\x20long-range\x20weapon.'},'successMessage':'You\x20pull\x20the\x20sniper\x20rifle\x20from\x20the\x20gun\x20cabinet.\x20\x20Just\x20as\x20you\x20do,\x20you\x20hear\x20a\x20guy\x20from\x20the\x20Courtyard\x20yell\x20\x22HEY!\x20WHAT\x27S\x20YA\x20NAME?!\x22','failureMessage':a51h(0x11f)}}];export const dungeonConfig=[{'name':'Entrance\x20Hall','description':a51h(0xee),'isStartRoom':!![],'roomType':a51h(0x109),'puzzle':{'requiredPhrase':'open\x20sesame','riddle':a51h(0x117),'rewardItem':{'type':a51h(0xef),'name':a51h(0xe5),'description':'A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.'},'successMessage':a51h(0x118),'failureMessage':a51h(0x142)},'exits':[{'direction':a51h(0x126),'targetRoom':a51h(0x147)},{'direction':a51h(0x121),'targetRoom':a51h(0xe1),'keyRequired':a51h(0xe5)}]},{'name':a51h(0x147),'description':a51h(0x14b),'roomType':a51h(0x109),'items':[{'type':a51h(0xe4),'name':a51h(0x12d),'description':'A\x20book\x20containing\x20a\x20mysterious\x20riddle.','content':a51h(0x140)},{'type':a51h(0xef),'name':a51h(0xe5),'description':a51h(0x144)}],'exits':[{'direction':a51h(0x107),'targetRoom':a51h(0xeb)},{'direction':a51h(0x121),'targetRoom':a51h(0x13f)}]},{'name':a51h(0x13f),'description':a51h(0xf1),'roomType':a51h(0x109),'items':[{'type':'basic','name':'Empty\x20vial','description':a51h(0x141)}],'exits':[{'direction':'west','targetRoom':a51h(0x147)},{'direction':a51h(0x126),'targetRoom':a51h(0xea)}]},{'name':a51h(0xea),'description':a51h(0xe0),'roomType':a51h(0x109),'items':[{'type':a51h(0x13b),'name':a51h(0x14f),'description':'A\x20shield\x20with\x20the\x20emblem\x20of\x20the\x20dungeon.'},{'type':a51h(0x11b),'name':'Rusted\x20Sword','description':a51h(0x14e)}],'exits':[{'direction':a51h(0x107),'targetRoom':a51h(0x13f)},{'direction':a51h(0x121),'targetRoom':a51h(0xe1)}]},{'name':a51h(0xe1),'description':a51h(0x103),'roomType':a51h(0x109),'exits':[{'direction':'west','targetRoom':a51h(0xea)},{'direction':a51h(0x107),'targetRoom':a51h(0xeb)},{'direction':a51h(0x126),'targetRoom':a51h(0x137)},{'direction':a51h(0x121),'targetRoom':'Treasure\x20Room'}]},{'name':a51h(0x137),'description':'Dark,\x20grim\x20with\x20chains\x20on\x20walls\x20and\x20an\x20eerie\x20silence.','roomType':a51h(0x109),'items':[{'type':a51h(0xef),'name':a51h(0x149),'description':a51h(0x124)}],'puzzle':{'requiredPhrase':'release','riddle':a51h(0x100),'rewardItem':{'type':'gem','name':a51h(0x12f),'description':'A\x20gem\x20radiating\x20a\x20mysterious\x20aura.'},'successMessage':a51h(0xff),'failureMessage':'The\x20chains\x20rattle\x20ominously,\x20but\x20nothing\x20else\x20happens.'},'exits':[{'direction':a51h(0x107),'targetRoom':a51h(0xe1)}]},{'name':a51h(0x12c),'description':a51h(0x125),'roomType':a51h(0x109),'puzzle':{'requiredPhrase':a51h(0xf4),'riddle':a51h(0x13c),'rewardItem':{'type':a51h(0x12b),'name':a51h(0x110),'description':'A\x20chalice\x20made\x20of\x20pure\x20gold.'},'successMessage':a51h(0x146),'failureMessage':a51h(0x10a)},'exits':[{'direction':'west','targetRoom':a51h(0xe1)}]}];function a51c(){const i=['Central\x20Chamber','1082094tWslOk','Ares\x20Predator','book','Central\x20Chamber\x20Key','CorpSec\x20Plans','A\x20small\x20surveillance\x20drone.','5tpOroo','783303ICfTCa','Armory','Entrance\x20Hall','A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','1150yzBgzi','A\x20grand\x20entrance\x20with\x20huge\x20wooden\x20doors\x20behind\x20and\x20a\x20dimly\x20lit\x20corridor\x20ahead.','key','Unlock\x20the\x20encrypted\x20data\x20to\x20receive\x20your\x20next\x20mission.','A\x20room\x20filled\x20with\x20potions,\x20beakers,\x20and\x20an\x20enchantment\x20circle.','To\x20enter\x20deeper\x20into\x20the\x20Barrens,\x20you\x20must\x20show\x20allegiance\x20to\x20one\x20of\x20the\x20gangs.','Library','insert\x20gem','amulet','Break\x20the\x20ward\x20to\x20reveal\x20the\x20hidden\x20magical\x20artifact.','west','Courtyard','Corp\x20Enclave','A\x20key\x20made\x20of\x20pure\x20digital\x20energy.','The\x20high-security\x20corporate\x20zone,\x20complete\x20with\x20looming\x20skyscrapers\x20and\x20security\x20checkpoints.','Rigger\x27s\x20Workshop','A\x20hideout\x20filled\x20with\x20magical\x20artifacts,\x20wards,\x20and\x20a\x20few\x20summoned\x20spirits\x20guarding\x20the\x20place.','Chad\x20the\x20stupid\x20guard','The\x20ghost\x20thanks\x20you\x20and\x20disappears,\x20leaving\x20behind\x20the\x20gem.','Speak\x20the\x20word\x20to\x20free\x20the\x20ghost.','Secret\x20Passage','1834721gQJhBN','A\x20large\x20circular\x20room\x20with\x20four\x20doors.','The\x20outskirts\x20of\x20the\x20lawless\x20Redmond\x20Barrens.\x20Gang\x20graffiti\x20is\x20everywhere.','The\x20data\x20remains\x20encrypted.','A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','south','NORTH','inside','The\x20chest\x20remains\x20firmly\x20shut.','A\x20badge\x20proving\x20your\x20loyalty\x20to\x20one\x20of\x20the\x20Barrens\x27\x20gangs.','MCT\x20Fly-Spy','Amulet\x20of\x20Awakening','Watch\x20Tower','13030648lwAysB','Golden\x20Chalice','363TzzRRS','EAST','A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','Golden\x20Key','Detailed\x20security\x20plans\x20for\x20a\x20corporate\x20building.','The\x20data\x20stream\x20reveals\x20a\x20location:\x20Downtown\x20Seattle.','Speak\x20the\x20ancient\x20phrase\x20to\x20unlock\x20the\x20Central\x20Chamber.','The\x20gate\x20slowly\x20opens\x20revealing\x20the\x20path\x20to\x20the\x20Central\x20Chamber.','secret123','Gang\x20Insignia','sword','7277103xeptVn','A\x20hidden\x20alley\x20in\x20the\x20Barrens\x20where\x20shadowrunners\x20meet\x20up\x20for\x20covert\x20jobs.','The\x20gang\x20members\x20block\x20your\x20way,\x20suspicious\x20of\x20your\x20motives.','That\x20passcode\x20is\x20incorrect','creditstick','east','Downtown\x20Seattle','Sniper\x20Rifle','A\x20key\x20stained\x20with\x20old\x20blood.','Glittering\x20treasures\x20from\x20floor\x20to\x20ceiling.','north','show\x20loyalty','down','rifle','Matrix\x20Data\x20Haven','cup','Treasure\x20Room','Riddle\x20Book','Barrens\x20Hideout','Ancient\x20Gem','A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','toString','Encrypted\x20Data\x20Key','OUTSIDE','A\x20digital\x20realm\x20with\x20information\x20streams\x20flowing\x20like\x20rivers.','Jackpoint\x20Login','constructor','Torture\x20Chamber','A\x20popular\x20heavy\x20pistol\x20among\x20shadowrunners.','SOUTH','document','shield','The\x20chest\x20has\x20a\x20gem-shaped\x20socket.','(((.+)+)+)+$','Guard\x27s\x20Log\x20Book','Alchemy\x20Lab','When\x20is\x20a\x20door\x20not\x20a\x20door?\x20When\x20it\x27s\x20ajar!','A\x20clear\x20glass\x20vial.','Nothing\x20happens.','Mage\x27s\x20Lair','A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.','outside','The\x20chest\x20unlocks\x20revealing\x20the\x20chalice.','Study','Barrens\x20Entrance','Blood-stained\x20Key','154mHpCVs','A\x20quiet\x20room\x20filled\x20with\x20bookshelves,\x20a\x20large\x20desk,\x20and\x20scattered\x20papers.','search','194780KVFpBV','An\x20old\x20and\x20rusted\x20sword.','Emblem\x20Shield','A\x20virtual\x20portal\x20in\x20the\x20Matrix.\x20Glowing\x20neon\x20lights\x20everywhere,\x20with\x20digital\x20sprites\x20zipping\x20by.','12PUwAsU','drone','Rows\x20of\x20ancient\x20weapons\x20and\x20armors.'];a51c=function(){return i;};return a51c();}export const shadowrunConfig=[{'name':a51h(0x135),'description':a51h(0x150),'isStartRoom':!![],'roomType':'inside','exits':[{'direction':a51h(0x126),'targetRoom':a51h(0x122)},{'direction':'up','targetRoom':a51h(0x12a)}]},{'name':a51h(0x12a),'description':a51h(0x134),'roomType':a51h(0x109),'puzzle':{'requiredPhrase':'decrypt','riddle':a51h(0xf0),'rewardItem':{'type':a51h(0xef),'name':a51h(0x132),'description':a51h(0xfa)},'successMessage':a51h(0x116),'failureMessage':a51h(0x105)},'exits':[{'direction':a51h(0x128),'targetRoom':a51h(0x135)}]},{'name':'Downtown\x20Seattle','description':'The\x20rain-soaked\x20streets\x20of\x20Seattle\x20with\x20neon\x20lights\x20reflecting\x20off\x20wet\x20pavement.\x20The\x20distant\x20sound\x20of\x20corporate\x20security\x20drones\x20can\x20be\x20heard.','roomType':a51h(0x145),'exits':[{'direction':a51h(0x107),'targetRoom':a51h(0x135)},{'direction':a51h(0x121),'targetRoom':a51h(0x148)},{'direction':a51h(0xf7),'targetRoom':a51h(0xf9)}]},{'name':'Barrens\x20Entrance','description':a51h(0x104),'roomType':a51h(0x145),'puzzle':{'requiredPhrase':a51h(0x127),'riddle':a51h(0xf2),'rewardItem':{'type':'key','name':a51h(0x11a),'description':a51h(0x10b)},'successMessage':'The\x20gang\x20members\x20nod\x20and\x20let\x20you\x20pass\x20deeper\x20into\x20the\x20Barrens.','failureMessage':a51h(0x11e)},'exits':[{'direction':a51h(0xf7),'targetRoom':a51h(0x122)},{'direction':'north','targetRoom':a51h(0x12e)}]},{'name':'Corp\x20Enclave','description':a51h(0xfb),'roomType':a51h(0x109),'items':[{'type':a51h(0x120),'name':'Corporate\x20Creditstick','description':'A\x20creditstick\x20loaded\x20with\x20nuyen.'},{'type':a51h(0x13a),'name':a51h(0xe6),'description':a51h(0x115)}],'exits':[{'direction':'east','targetRoom':a51h(0x122)}]},{'name':a51h(0x12e),'description':a51h(0x11d),'roomType':'outside','items':[{'type':'weapon','name':a51h(0xe3),'description':a51h(0x138)}],'exits':[{'direction':a51h(0x107),'targetRoom':a51h(0x148)},{'direction':a51h(0x126),'targetRoom':a51h(0x143)},{'direction':'east','targetRoom':'Rigger\x27s\x20Workshop'}]},{'name':'Mage\x27s\x20Lair','description':a51h(0xfd),'roomType':a51h(0x109),'puzzle':{'requiredPhrase':'disenchant','riddle':a51h(0xf6),'rewardItem':{'type':a51h(0xf5),'name':a51h(0x10d),'description':'A\x20powerful\x20amulet\x20said\x20to\x20wake\x20spirits\x20from\x20slumber.'},'successMessage':'The\x20ward\x20shatters,\x20revealing\x20the\x20amulet.','failureMessage':'The\x20magic\x20in\x20the\x20room\x20grows\x20more\x20oppressive,\x20resisting\x20your\x20efforts.'},'exits':[{'direction':a51h(0x107),'targetRoom':'Barrens\x20Hideout'}]},{'name':a51h(0xfc),'description':'Drones\x20and\x20vehicles\x20being\x20modified,\x20tools\x20everywhere,\x20and\x20a\x20rigger\x20jacked\x20in\x20to\x20a\x20command\x20console.','roomType':'inside','items':[{'type':a51h(0x152),'name':a51h(0x10c),'description':a51h(0xe7)}],'exits':[{'direction':a51h(0xf7),'targetRoom':a51h(0x12e)}]}];
@@ -0,0 +1 @@
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1dd))/0x1*(parseInt(f(0x1e4))/0x2)+-parseInt(f(0x1ef))/0x3*(-parseInt(f(0x1da))/0x4)+parseInt(f(0x1e6))/0x5+parseInt(f(0x1f3))/0x6+parseInt(f(0x1dc))/0x7+parseInt(f(0x1ee))/0x8*(parseInt(f(0x1e0))/0x9)+parseInt(f(0x1eb))/0xa*(-parseInt(f(0x1e1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xe53e2));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x1d6)](h(0x1ed))[h(0x1fa)]()[h(0x1d8)](a52a)['search'](h(0x1ed));});a52a();import{EventEmitter}from'events';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1d0;var f=c[d];return f;},a52d(a,b);}export class AbstractScene{[a52i(0x1f0)];[a52i(0x1f9)];[a52i(0x1f1)];[a52i(0x1f7)];}export class AbstractRoom extends EventEmitter{[a52i(0x1d1)];[a52i(0x1f6)];[a52i(0x1f4)];[a52i(0x1e3)];['puzzle'];[a52i(0x1d9)];[a52i(0x1d0)];}export class AbstractDoor{[a52i(0x1d3)];['roomB'];[a52i(0x1f8)];[a52i(0x1e5)];['name'];['logger'];[a52i(0x1f5)];}export class AbstractInventory{[a52i(0x1e8)];['logger'];}export class AbstractItem{[a52i(0x1ea)];[a52i(0x1d1)];[a52i(0x1f6)];[a52i(0x1d7)];['category'];[a52i(0x1df)];[a52i(0x1e7)];[a52i(0x1ec)];[a52i(0x1e2)];['weight'];}export class AbstractPlayer{[a52i(0x1f2)];[a52i(0x1de)];['_inventory'];[a52i(0x1d5)];[a52i(0x1d2)];[a52i(0x1e9)];}function a52c(){var j=['8567930OiMurC','534577cqqSlp','_currentLocation','shape','27lCzsOP','33sVYieb','rating','inventory','4VgVHJu','unlockItemOrSolution','5331765jvqSiY','color','items','_logger','uuid','11084660axoYkE','texture','(((.+)+)+)+$','1327024YGPuRQ','3LSzJAT','rooms','logger','_playerName','9628920fZsBLz','exits','isLockable','description','characterLocations','isLocked','player','toString','isStartRoom','name','_maxCarryingWeight','roomA','solved','_equipment','search','size','constructor','roomType','3762932Xmbyjh','apply'];a52c=function(){return j;};return a52c();}export class AbstractPuzzle{[a52i(0x1f1)];[a52i(0x1d4)];}
@@ -1 +1 @@
1
- (function(a,b){var k=a49d,c=a();while(!![]){try{var d=parseInt(k(0x127))/0x1+parseInt(k(0x160))/0x2*(parseInt(k(0x126))/0x3)+-parseInt(k(0x152))/0x4*(-parseInt(k(0x14e))/0x5)+-parseInt(k(0x141))/0x6+-parseInt(k(0x14d))/0x7*(-parseInt(k(0x150))/0x8)+parseInt(k(0x13f))/0x9*(-parseInt(k(0x16d))/0xa)+parseInt(k(0x163))/0xb*(-parseInt(k(0x159))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x18e98));export var Size;(function(a){var l=a49d;a['Tiny']=l(0x121),a[l(0x139)]='small',a['Medium']=l(0x118),a['Large']=l(0x135),a['VeryLarge']=l(0x146);}(Size||(Size={})));export var Rating;function a49c(){var u=['7UVFbKj','10mxNBCy','gold','213128xkMTFn','south','78916knmBTf','blue','body\x20armor','west','NORTH','Rough','EAST','144kCVrxY','Legendary','Metallic','Book','INSIDE','desert','bumpy','2446vBrXEy','boots','cup','14564MRgOap','grey','Common','north','rectangle','FOREST','helmet','Grey','triangle','DESERT','30ERrAmI','sea','circle','orange','blade','constructor','medium','LegArmor','WEST','book','Red','leg\x20armor','cave','Blade','SEA','tiny','TOWER','yellow','forest','Green','393sKuDvf','81748VZUMEr','Boots','Purple','purple','Shield','DOWN','Rectangle','grainy','search','Rifle','rifle','MOUNTAIN','key','Fuzzy','large','east','legendary','Hat','Small','Weapon','Gold','(((.+)+)+)+$','gloves','Brown','371313ZktKfB','Rare','398166IKSIJv','inside','Gloves','metallic','Triangle','very\x20large','red','down','toString','rare','weapon','beach'];a49c=function(){return u;};return a49c();}(function(c){var n=a49d,d=(function(){var f=!![];return function(g,h){var i=f?function(){if(h){var j=h['apply'](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var m=a49d;return e[m(0x149)]()[m(0x12f)](m(0x13c))[m(0x149)]()[m(0x117)](e)[m(0x12f)](m(0x13c));});e(),c[n(0x165)]='common',c[n(0x140)]=n(0x14a),c[n(0x15a)]=n(0x137);}(Rating||(Rating={})));export var Category;(function(a){var o=a49d;a[o(0x13a)]=o(0x14b),a[o(0x12b)]='shield',a['Key']=o(0x133),a[o(0x143)]=o(0x13d),a['Helmet']=o(0x169),a[o(0x138)]='hat',a[o(0x128)]=o(0x161),a[o(0x119)]=o(0x11d),a['ArmArmor']='arm\x20armor',a['BodyArmor']=o(0x154),a[o(0x15c)]=o(0x11b),a['Cup']=o(0x162);}(Category||(Category={})));export var Shape;function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x116;var f=c[d];return f;},a49d(a,b);}(function(a){var p=a49d;a['Circle']=p(0x16f),a['Square']='square',a[p(0x145)]=p(0x16b),a[p(0x12d)]=p(0x167),a[p(0x11f)]=p(0x116),a[p(0x130)]=p(0x131);}(Shape||(Shape={})));export var Color;(function(a){var q=a49d;a[q(0x11c)]=q(0x147),a['Blue']=q(0x153),a[q(0x125)]='green',a['Yellow']=q(0x123),a['Orange']=q(0x170),a[q(0x129)]=q(0x12a),a[q(0x16a)]=q(0x164),a[q(0x13e)]='brown',a[q(0x13b)]=q(0x14f);}(Color||(Color={})));export var Texture;(function(a){var r=a49d;a['Smooth']='smooth',a[r(0x157)]='rough',a['Bumpy']=r(0x15f),a[r(0x134)]='fuzzy',a['Grainy']=r(0x12e),a[r(0x15b)]=r(0x144);}(Texture||(Texture={})));export var RoomType;(function(a){var s=a49d;a[s(0x15d)]=s(0x142),a['OUTSIDE']='outside',a['UNDERGROUND']='underground',a['CAVE']=s(0x11e),a[s(0x122)]='tower',a[s(0x168)]=s(0x124),a[s(0x16c)]=s(0x15e),a[s(0x132)]='mountain',a['BEACH']=s(0x14c),a[s(0x120)]=s(0x16e);}(RoomType||(RoomType={})));export var Direction;(function(a){var t=a49d;a[t(0x156)]=t(0x166),a[t(0x158)]=t(0x136),a['SOUTH']=t(0x151),a[t(0x11a)]=t(0x155),a['UP']='up',a[t(0x12c)]=t(0x148);}(Direction||(Direction={})));
1
+ (function(a,b){var k=a53d,c=a();while(!![]){try{var d=-parseInt(k(0xdf))/0x1*(-parseInt(k(0xe3))/0x2)+-parseInt(k(0xc5))/0x3*(-parseInt(k(0xf6))/0x4)+-parseInt(k(0xcd))/0x5*(-parseInt(k(0x104))/0x6)+-parseInt(k(0xc8))/0x7*(parseInt(k(0xdb))/0x8)+-parseInt(k(0xec))/0x9+parseInt(k(0xd1))/0xa+-parseInt(k(0x10c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x8ec25));export var Size;(function(a){var l=a53d;a[l(0xf7)]=l(0xd3),a['Small']=l(0x113),a[l(0x111)]=l(0xf8),a[l(0xca)]=l(0xe6),a[l(0xe0)]=l(0xbe);}(Size||(Size={})));export var Rating;(function(a){var m=a53d;a[m(0x110)]=m(0xfd),a[m(0xdd)]=m(0xb5),a[m(0x102)]='legendary';}(Rating||(Rating={})));export var Category;(function(a){var n=a53d;a[n(0xee)]=n(0xcc),a[n(0xd5)]=n(0xf3),a[n(0x112)]=n(0x117),a[n(0x116)]=n(0x103),a['Helmet']=n(0x10b),a['Hat']=n(0xd6),a[n(0xed)]=n(0x101),a[n(0x106)]=n(0xfe),a[n(0xd9)]=n(0xb9),a['BodyArmor']='body\x20armor',a['Book']='book',a[n(0x11a)]=n(0xb6),a[n(0xbf)]='unknown';}(Category||(Category={})));export var Shape;(function(a){var o=a53d;a['Circle']=o(0xe1),a[o(0xc7)]=o(0xfa),a[o(0x119)]='triangle',a[o(0xea)]='rectangle',a[o(0xfc)]=o(0xeb),a['Rifle']=o(0x11b);}(Shape||(Shape={})));export var Color;(function(a){var p=a53d;a[p(0xda)]=p(0xf2),a['Blue']=p(0xd7),a[p(0xdc)]=p(0xd8),a[p(0xe2)]=p(0xc1),a[p(0x105)]=p(0x11d),a[p(0xf0)]=p(0x109),a[p(0xbd)]=p(0xf9),a['Brown']=p(0xc2),a[p(0xd4)]=p(0xbb);}(Color||(Color={})));export var Texture;function a53c(){var u=['Orange','LegArmor','SOUTH','north','purple','NORTH','helmet','161095FGvPvX','Grainy','UNDERGROUND','south','Common','Medium','Key','small','MOUNTAIN','grainy','Gloves','key','metallic','Triangle','Cup','rifle','OUTSIDE','orange','rare','cup','Rough','rough','arm\x20armor','DESERT','gold','constructor','Grey','very\x20large','Unknown','outside','yellow','brown','WEST','forest','146796XEUZFO','toString','Square','77EKTcpd','smooth','Large','TOWER','weapon','5CBHQAS','Metallic','mountain','fuzzy','4311720vTxnIf','INSIDE','tiny','Gold','Shield','hat','blue','green','ArmArmor','Red','731112ptGCIH','Green','Rare','underground','605737HWMdVV','VeryLarge','circle','Yellow','2MnyBsz','CAVE','tower','large','SEA','sea','beach','Rectangle','blade','835110tDMDoI','Boots','Weapon','west','Purple','BEACH','red','shield','Bumpy','search','8NLMXqP','Tiny','medium','grey','square','east','Blade','common','leg\x20armor','desert','Smooth','boots','Legendary','gloves','3376092IYMqXs'];a53c=function(){return u;};return a53c();}(function(a){var q=a53d;a[q(0x100)]=q(0xc9),a[q(0xb7)]=q(0xb8),a[q(0xf4)]='bumpy',a['Fuzzy']=q(0xd0),a[q(0x10d)]=q(0x115),a[q(0xce)]=q(0x118);}(Texture||(Texture={})));export var RoomType;function a53d(a,b){var c=a53c();return a53d=function(d,e){d=d-0xb5;var f=c[d];return f;},a53d(a,b);}(function(c){var s=a53d,d=(function(){var f=!![];return function(g,h){var i=f?function(){if(h){var j=h['apply'](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var r=a53d;return e[r(0xc6)]()[r(0xf5)]('(((.+)+)+)+$')[r(0xc6)]()[r(0xbc)](e)['search']('(((.+)+)+)+$');});e(),c[s(0xd2)]='inside',c[s(0x11c)]=s(0xc0),c[s(0x10e)]=s(0xde),c[s(0xe4)]='cave',c[s(0xcb)]=s(0xe5),c['FOREST']=s(0xc4),c[s(0xba)]=s(0xff),c[s(0x114)]=s(0xcf),c[s(0xf1)]=s(0xe9),c[s(0xe7)]=s(0xe8);}(RoomType||(RoomType={})));export var Direction;(function(a){var t=a53d;a[t(0x10a)]=t(0x108),a['EAST']=t(0xfb),a[t(0x107)]=t(0x10f),a[t(0xc3)]=t(0xef),a['UP']='up',a['DOWN']='down';}(Direction||(Direction={})));
@@ -1 +1 @@
1
- (function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0x101))/0x1+parseInt(f(0x108))/0x2+parseInt(f(0x10b))/0x3*(-parseInt(f(0x10a))/0x4)+-parseInt(f(0x103))/0x5*(-parseInt(f(0x100))/0x6)+parseInt(f(0x10c))/0x7+-parseInt(f(0x106))/0x8+parseInt(f(0xff))/0x9*(-parseInt(f(0x104))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x557ef));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x102)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0xfe)]()[h(0x107)]('(((.+)+)+)+$')[h(0xfe)]()[h(0x105)](a50a)[h(0x107)](h(0x109));});function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0xfe;var f=c[d];return f;},a50d(a,b);}a50a();export{};function a50c(){var i=['search','568244qhtIgb','(((.+)+)+)+$','4nFTbLh','678855fpSPOS','4680963mxkdyD','toString','1937295JYsTTY','246mSmaRP','114919JyMqEv','apply','30170ISMODV','30CqNbgH','constructor','743224NeAaMg'];a50c=function(){return i;};return a50c();}
1
+ (function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(0xcb))/0x1*(parseInt(f(0xc3))/0x2)+-parseInt(f(0xc2))/0x3*(parseInt(f(0xbf))/0x4)+parseInt(f(0xc9))/0x5+-parseInt(f(0xc6))/0x6+-parseInt(f(0xc7))/0x7+parseInt(f(0xbe))/0x8*(parseInt(f(0xc1))/0x9)+-parseInt(f(0xc8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x2a776));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0xbd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0xca)]()[h(0xc0)](h(0xc5))[h(0xca)]()[h(0xc4)](a54a)[h(0xc0)](h(0xc5));});function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0xbd;var f=c[d];return f;},a54d(a,b);}a54a();export{};function a54c(){var i=['1573825wXIJTf','toString','61pXQBuP','apply','442824MxHpWR','11452iRClsq','search','45jAzhti','24nLKqve','1666FwEiUd','constructor','(((.+)+)+)+$','779778ATeNIj','782516iUBMOq','1021200eGXvWL'];a54c=function(){return i;};return a54c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a51d,c=a();while(!![]){try{var d=parseInt(f(0x195))/0x1+parseInt(f(0x197))/0x2*(-parseInt(f(0x198))/0x3)+-parseInt(f(0x19a))/0x4+parseInt(f(0x19d))/0x5*(parseInt(f(0x199))/0x6)+parseInt(f(0x19c))/0x7+-parseInt(f(0x196))/0x8+parseInt(f(0x19b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x621b4));var a51b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a51d;if(c){var e=c[g(0x193)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){var h=a51d;return a51a[h(0x19e)]()['search']('(((.+)+)+)+$')[h(0x19e)]()['constructor'](a51a)[h(0x194)]('(((.+)+)+)+$');});function a51d(a,b){var c=a51c();return a51d=function(d,e){d=d-0x193;var f=c[d];return f;},a51d(a,b);}function a51c(){var i=['search','648013Vpfvma','6422328ZwQzvA','22XsRRbT','210408SqDQaj','504XIUUtu','1297092ENHhaC','3065760iDWKNm','4985701fSXgMI','35685bGjopJ','toString','apply'];a51c=function(){return i;};return a51c();}a51a();export{};
1
+ function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1cf;var f=c[d];return f;},a55d(a,b);}(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x1d0))/0x1+parseInt(f(0x1d5))/0x2+-parseInt(f(0x1d9))/0x3*(parseInt(f(0x1d7))/0x4)+parseInt(f(0x1d8))/0x5+-parseInt(f(0x1da))/0x6*(parseInt(f(0x1d4))/0x7)+-parseInt(f(0x1d1))/0x8+parseInt(f(0x1d2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xee7d7));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(0x1d6)]()[g(0x1d3)]('(((.+)+)+)+$')[g(0x1d6)]()['constructor'](a55a)['search'](g(0x1cf));});function a55c(){var h=['761302mRtJIK','10635720SEwpZW','1908504AsDVtP','search','144081isoSCv','3644524uAQxdL','toString','4ZoxjHj','9282635zTMnCo','740697HYNYJv','168kLiweH','(((.+)+)+)+$'];a55c=function(){return h;};return a55c();}a55a();export{};
@@ -1 +1 @@
1
- (function(a,b){const t=a52d,c=a();while(!![]){try{const d=-parseInt(t(0x1fd))/0x1*(parseInt(t(0x1e7))/0x2)+-parseInt(t(0x1ed))/0x3+parseInt(t(0x1e8))/0x4+-parseInt(t(0x228))/0x5+parseInt(t(0x214))/0x6*(-parseInt(t(0x1fc))/0x7)+-parseInt(t(0x216))/0x8*(parseInt(t(0x202))/0x9)+parseInt(t(0x1e0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xa86f8));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const u=a52d;if(c){const e=c[u(0x1dd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const v=a52d;return a52a['toString']()[v(0x1db)](v(0x1f0))['toString']()['constructor'](a52a)[v(0x1db)](v(0x1f0));});a52a();function a52c(){const C=['75%','line','100%','setContent','unequip','Feet:\x20','size','C-c','138vAtAke','\x20Inventory\x20','6728HGdjrQ','key','append','getValue','exit','gloves','checkIfLockable','\x20(Locked)','Head:\x20','stdin','checkIfLocked','head','rightHand','pushLine','leftHand','getInstance','resume','None','3274165NLvdQO','Side\x20Quest\x20Adventure\x20Game','Right\x20Hand:\x20','join','\x0aThere\x20are\x20no\x20exits\x20here.','unlock','legs','box','Torso:\x20','Left\x20Hand:\x20','lock','search','45%','apply','getWelcomeMessage','torso','28442270RyQZnN','\x20Exits\x20','handleInput','getAllItems','roomType','player','escape','12854wxNwDi','4301572dVWJUO','white','clear','Legs:\x20','<<<<<<<<---------\x20Terminating\x20game','1700256IpDKgN','clearValue','write','(((.+)+)+)+$','10%','logFilePath','25%','exits','screen','\x20Equipment\x20','forEach','\x20(Unlocked)','Available\x20exits\x20will\x20be\x20shown\x20here...','render','OUTSIDE','92603FZKHQs','109OeZGgv','yellow','setRawMode','equipment','name','10737jBJTVj','equip','----->>>>>>\x20Initializing\x20Game','focus','split','arms','22%','Your\x20equipped\x20items\x20will\x20be\x20listed\x20here...','scroll','feet'];a52c=function(){return C;};return a52c();}import a52e from'blessed';import{capitalCase}from'change-case';import a52f from'./game.js';import{RoomType}from'./types/enums.js';function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a52d(a,b);}import{Door}from'./models/door.js';import{Logger}from'./utilities/logger.js';export async function main(a,b,c){const w=a52d,d=Logger[w(0x225)](c[w(0x1f2)]);process[w(0x21f)][w(0x1ff)](!![]),process[w(0x21f)][w(0x226)]();const e=a52e[w(0x1f5)]({'smartCSR':!![],'title':w(0x229)}),f=a52e[w(0x1d7)]({'top':'0%','left':w(0x20c),'width':w(0x1f3),'height':w(0x1dc),'border':{'type':w(0x20d)},'label':w(0x215),'content':'Your\x20items\x20will\x20be\x20listed\x20here...','tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x1fe)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]}),g=o=>{const x=w,p=o[x(0x1e3)]()['map'](q=>q[x(0x201)]);f['setContent'](p[x(0x1d3)]('\x0a')),e[x(0x1fa)]();};e[w(0x218)](f);const h=a52e[w(0x1d7)]({'top':'45%','left':w(0x20c),'width':w(0x1f3),'height':w(0x1f3),'border':{'type':'line'},'label':w(0x1f6),'content':w(0x209),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':'yellow'},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});e[w(0x218)](h);function i(o){const y=w;h[y(0x20f)](y(0x21e)+(o[y(0x221)]?o[y(0x221)][y(0x201)]:y(0x227))+'\x0a'+(y(0x1d8)+(o[y(0x1df)]?o[y(0x1df)]['name']:y(0x227))+'\x0a')+(y(0x1eb)+(o[y(0x1d6)]?o[y(0x1d6)]['name']:y(0x227))+'\x0a')+(y(0x211)+(o['feet']?o[y(0x20b)][y(0x201)]:y(0x227))+'\x0a')+('Arms:\x20'+(o[y(0x207)]?o[y(0x207)][y(0x201)]:y(0x227))+'\x0a')+('Gloves:\x20'+(o[y(0x21b)]?o[y(0x21b)][y(0x201)]:y(0x227))+'\x0a')+(y(0x1d9)+(o[y(0x224)]?o['leftHand'][y(0x201)]:y(0x227))+'\x0a')+(y(0x22a)+(o[y(0x222)]?o[y(0x222)][y(0x201)]:'None')+'\x0a')),e[y(0x1fa)]();}const j=a52e[w(0x1d7)]({'top':'70%','left':w(0x20c),'width':w(0x1f3),'height':w(0x208),'border':{'type':w(0x20d)},'label':w(0x1e1),'content':w(0x1f9),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x1fe)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});e[w(0x218)](j);function k(o){const z=w;let p='';o[z(0x1f4)][z(0x212)]>0x0?o[z(0x1f4)][z(0x1f7)]((q,r)=>{const A=z;if(q instanceof Door){const s=q['getOtherSide'](o);s[A(0x1e4)]===RoomType[A(0x1fb)]?p+=capitalCase(r)+':\x20'+s[A(0x201)]:p+=capitalCase(r)+':\x20'+q[A(0x201)];if(q[A(0x220)]())p+=A(0x21d);else q[A(0x21c)]()&&(p+=A(0x1f8));p+='\x0a';}else p+=capitalCase(r)+'\x0a';}):p+=z(0x1d4),j['setContent'](p),e[z(0x1fa)]();}const l=a52e[w(0x1d7)]({'top':'0%','left':'0%','width':w(0x20c),'height':'90%','border':{'type':w(0x20d)},'label':'\x20Game\x20Log\x20','scrollable':!![],'alwaysScroll':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x1fe)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![],'tags':!![]});e[w(0x218)](l);const m=a52e['textbox']({'bottom':0x0,'left':0x0,'width':w(0x20e),'height':w(0x1f1),'tags':!![],'border':{'type':'line'},'style':{'fg':w(0x1e9),'border':{'fg':'cyan'}},'keys':!![],'mouse':!![],'inputOnFocus':!![]});e[w(0x218)](m),e[w(0x217)]([w(0x1e6),w(0x213)],()=>process[w(0x21a)](0x0)),m[w(0x205)](),e['render'](),d[w(0x1ef)](w(0x204));const n=a52f[w(0x225)](a,b);l['setContent'](n[w(0x1de)]()),i(n['player'][w(0x200)]),g(n[w(0x1e5)]['inventory']),k(n['player']['currentLocation']),m[w(0x217)](['enter'],async()=>{const B=w,o=m[B(0x219)](),p=n[B(0x1e2)](o);(o[B(0x206)]('\x20')[0x0]==='take'||B(0x203)||B(0x210))&&(g(n[B(0x1e5)]['inventory']),i(n['player']['equipment'])),(o[B(0x206)]('\x20')[0x0]==='go'||B(0x1da)||B(0x1d5))&&k(n[B(0x1e5)]['currentLocation']),o[B(0x206)]('\x20')[0x0]===B(0x1ea)&&l['setContent'](''),p===null&&(l['pushLine']('Thanks\x20for\x20playing!'),e[B(0x1fa)](),d[B(0x1ef)](B(0x1ec)),process[B(0x21a)](0x0)),l[B(0x223)](p),l[B(0x20a)](0x1),m[B(0x1ee)](),m[B(0x205)](),e[B(0x1fa)]();});}
1
+ (function(a,b){const u=a56d,c=a();while(!![]){try{const d=-parseInt(u(0xbc))/0x1*(-parseInt(u(0xd6))/0x2)+parseInt(u(0xc9))/0x3+parseInt(u(0xcb))/0x4*(-parseInt(u(0xb8))/0x5)+-parseInt(u(0xc8))/0x6+-parseInt(u(0xd5))/0x7+-parseInt(u(0xa9))/0x8+parseInt(u(0xcf))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x9576f));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a56d;if(c){const e=c[v(0xcd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const w=a56d;return a56a[w(0xdd)]()[w(0xc4)]('(((.+)+)+)+$')[w(0xdd)]()[w(0xc6)](a56a)[w(0xc4)](w(0xb0));});a56a();import a56e from'blessed';function a56c(){const D=['17789742zlvfzA','player','screen','legs','render','size','5913243EwAXir','96266Wbevrg','lock','logFilePath','gloves','focus','logBox','resume','toString','70%','----->>>>>>\x20Initializing\x20Game','\x20(Unlocked)','unlock','22%','leftHand','\x0aThere\x20are\x20no\x20exits\x20here.','exit','getValue','\x20Exits\x20','map','head','append','\x20Game\x20Log\x20','forEach','roomType','clearValue','yellow','split','getWelcomeMessage','currentLocation','Left\x20Hand:\x20','escape','key','exits','Available\x20exits\x20will\x20be\x20shown\x20here...','white','Your\x20equipped\x20items\x20will\x20be\x20listed\x20here...','None','75%','checkIfLocked','checkIfLockable','line','Arms:\x20','25%','getAllItems','100%','6776272bZVVUq','Side\x20Quest\x20Adventure\x20Game','clear','\x20Equipment\x20','arms','Gloves:\x20','setContent','(((.+)+)+)+$','Torso:\x20','equipment','feet','stdin','getInstance','inventory','box','5obkwTW','OUTSIDE','\x20(Locked)','log','17qnlpzI','write','unequip','cyan','C-c','45%','textbox','Right\x20Hand:\x20','search','name','constructor','Your\x20items\x20will\x20be\x20listed\x20here...','2517498eTvGRf','1945419XOCSyZ','enter','2879196szDNAG','torso','apply','rightHand'];a56c=function(){return D;};return a56c();}import{capitalCase}from'change-case';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x9a;let f=c[d];return f;},a56d(a,b);}import a56f from'./game.js';import{RoomType}from'./types/enums.js';import{Player}from'./models/player.js';import{Door}from'./models/door.js';import{Logger}from'./utilities/logger.js';export async function main(a,b,c){const x=a56d;try{process[x(0xb4)]['setRawMode'](!![]),process[x(0xb4)][x(0xdc)]();const d=a56e[x(0xd1)]({'smartCSR':!![],'title':x(0xaa)}),e=a56e[x(0xb7)]({'top':'0%','left':x(0xa1),'width':x(0xa6),'height':x(0xc1),'border':{'type':x(0xa4)},'label':'\x20Inventory\x20','content':x(0xc7),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':x(0xef)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]}),f=p=>{const y=x,q=p[y(0xa7)]()[y(0xe8)](r=>r[y(0xc5)]);e['setContent'](q['join']('\x0a')),d[y(0xd3)]();};d[x(0xea)](e);const g=a56e[x(0xb7)]({'top':x(0xc1),'left':'75%','width':'25%','height':'25%','border':{'type':x(0xa4)},'label':x(0xac),'content':x(0x9f),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':'yellow'},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});d[x(0xea)](g);const h=p=>{const z=x;g[z(0xaf)]('Head:\x20'+(p[z(0xe9)]?p[z(0xe9)]['name']:z(0xa0))+'\x0a'+(z(0xb1)+(p[z(0xcc)]?p['torso'][z(0xc5)]:'None')+'\x0a')+('Legs:\x20'+(p[z(0xd2)]?p['legs'][z(0xc5)]:z(0xa0))+'\x0a')+('Feet:\x20'+(p['feet']?p[z(0xb3)][z(0xc5)]:z(0xa0))+'\x0a')+(z(0xa5)+(p[z(0xad)]?p[z(0xad)][z(0xc5)]:z(0xa0))+'\x0a')+(z(0xae)+(p[z(0xd9)]?p[z(0xd9)]['name']:z(0xa0))+'\x0a')+(z(0xf3)+(p[z(0xe3)]?p['leftHand']['name']:z(0xa0))+'\x0a')+(z(0xc3)+(p['rightHand']?p[z(0xce)][z(0xc5)]:z(0xa0))+'\x0a')),d['render']();},i=a56e[x(0xb7)]({'top':x(0xde),'left':x(0xa1),'width':'25%','height':x(0xe2),'border':{'type':x(0xa4)},'label':x(0xe7),'content':x(0x9d),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':x(0xef)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});d['append'](i);const j=p=>{const A=x;let q='';p[A(0x9c)][A(0xd4)]>0x0?p['exits'][A(0xec)]((r,s)=>{const B=A;if(r instanceof Door){const t=r['getOtherSide'](p);t[B(0xed)]===RoomType[B(0xb9)]?q+=capitalCase(s)+':\x20'+t[B(0xc5)]:q+=capitalCase(s)+':\x20'+r['name'];if(r[B(0xa2)]())q+=B(0xba);else r[B(0xa3)]()&&(q+=B(0xe0));q+='\x0a';}else q+=capitalCase(s)+'\x0a';}):q+=A(0xe4),i[A(0xaf)](q),d[A(0xd3)]();},k=a56e['box']({'id':x(0xdb),'top':'0%','left':'0%','width':x(0xa1),'height':'90%','border':{'type':x(0xa4)},'label':x(0xeb),'scrollable':!![],'alwaysScroll':!![],'scrollbar':{'ch':'\x20','track':{'bg':'yellow'},'style':{'inverse':!![]}},'keys':!![],'mouse':!![],'tags':!![]});d['append'](k);const l=a56e[x(0xc2)]({'bottom':0x0,'left':0x0,'width':x(0xa8),'height':'10%','tags':!![],'border':{'type':x(0xa4)},'style':{'fg':x(0x9e),'border':{'fg':x(0xbf)}},'keys':!![],'mouse':!![],'inputOnFocus':!![]});d[x(0xea)](l),d[x(0x9b)]([x(0x9a),x(0xc0)],()=>process[x(0xe5)](0x0)),l[x(0xda)](),d[x(0xd3)]();const m=Logger[x(0xb5)](c[x(0xd8)],d),n=new Player({'playerName':a});m['write'](x(0xdf));const o=a56f[x(0xb5)](n,b);k[x(0xaf)](o[x(0xf1)]()),h(o[x(0xd0)][x(0xb2)]),f(o[x(0xd0)][x(0xb6)]),j(o[x(0xd0)][x(0xf2)]),l[x(0x9b)]([x(0xca)],async()=>{const C=x,p=l[C(0xe6)](),q=o['handleInput'](p);(p[C(0xf0)]('\x20')[0x0]==='take'||'equip'||C(0xbe))&&(f(o[C(0xd0)][C(0xb6)]),h(o[C(0xd0)][C(0xb2)])),(p[C(0xf0)]('\x20')[0x0]==='go'||C(0xd7)||C(0xe1))&&j(o['player'][C(0xf2)]),p[C(0xf0)]('\x20')[0x0]===C(0xab)&&k[C(0xaf)](''),q===null&&(console['log']('Thanks\x20for\x20playing!'),d[C(0xd3)](),m[C(0xbd)]('<<<<<<<<---------\x20Terminating\x20game'),process[C(0xe5)](0x0)),k['pushLine'](q),k['scroll'](0x1),l[C(0xee)](),l[C(0xda)](),d['render']();});}catch(p){console[x(0xbb)](p),process[x(0xe5)](0x1);}}
@@ -1 +1 @@
1
- const a53j=a53d;(function(a,b){const h=a53d,c=a();while(!![]){try{const d=parseInt(h(0x1e3))/0x1+-parseInt(h(0x1e2))/0x2+parseInt(h(0x1d8))/0x3*(-parseInt(h(0x1df))/0x4)+parseInt(h(0x1d3))/0x5*(-parseInt(h(0x1e6))/0x6)+-parseInt(h(0x1dd))/0x7+-parseInt(h(0x1cf))/0x8*(-parseInt(h(0x1d0))/0x9)+-parseInt(h(0x1db))/0xa*(-parseInt(h(0x1e1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xcd57e));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const i=a53d;return a53a[i(0x1e8)]()['search'](i(0x1d4))['toString']()[i(0x1d2)](a53a)[i(0x1e5)]('(((.+)+)+)+$');});a53a();function a53c(){const p=['toString','toISOString','write','.maka','ensureLogFileExists','49904RbVvKh','2421juDrPc','instance','constructor','45rkeDlL','(((.+)+)+)+$','writeFileSync','mkdirSync','homedir','3TjKUoL','appendFileSync','side-quest.log','48590WcWPWg','[INFO]\x20[','4585980EGUkAv','error','1904816qXVQvt','dirname','3333HlxdbJ','2522688SmmqGy','1473489QsMGgi','join','search','926676skjtxV','filePath'];a53c=function(){return p;};return a53c();}import a53e from'fs';import a53f from'os';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a53d(a,b);}import a53g from'path';const homeDir=a53f[a53j(0x1d7)]();export class Logger{static [a53j(0x1d1)];[a53j(0x1e7)];constructor(a){const k=a53j;this[k(0x1e7)]=a,this['ensureLogFileExists']();}static['getInstance'](a=a53g[a53j(0x1e4)](homeDir,a53j(0x1cd),a53j(0x1da))){const l=a53j;return!Logger[l(0x1d1)]&&(Logger[l(0x1d1)]=new Logger(a)),Logger[l(0x1d1)];}[a53j(0x1ce)](){const m=a53j,a=a53g[m(0x1e0)](this[m(0x1e7)]);!a53e['existsSync'](a)&&a53e[m(0x1d6)](a,{'recursive':!![]}),!a53e['existsSync'](this['filePath'])&&a53e[m(0x1d5)](this['filePath'],'');}[a53j(0x1ea)](a){const n=a53j,b=new Date()['toISOString']();a53e[n(0x1d9)](this['filePath'],n(0x1dc)+b+']\x20'+a+'\x0a');}[a53j(0x1de)](a){const o=a53j,b=new Date()[o(0x1e9)]();a53e[o(0x1d9)](this['filePath'],'[ERROR]\x20['+b+']\x20'+a+'\x0a');}}
1
+ const a57k=a57d;(function(a,b){const h=a57d,c=a();while(!![]){try{const d=parseInt(h(0x179))/0x1*(parseInt(h(0x17b))/0x2)+-parseInt(h(0x162))/0x3+-parseInt(h(0x16a))/0x4+parseInt(h(0x17d))/0x5+parseInt(h(0x15c))/0x6+parseInt(h(0x170))/0x7+-parseInt(h(0x17a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xa8cdb));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a57d;if(c){const e=c[i(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const j=a57d;return a57a[j(0x15d)]()['search'](j(0x16d))[j(0x15d)]()[j(0x171)](a57a)[j(0x173)](j(0x16d));});a57a();import a57e from'fs';import a57f from'os';import a57g from'path';function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x158;let f=c[d];return f;},a57d(a,b);}function a57c(){const s=['constructor','write','search','appendFileSync','existsSync','setContent','toISOString','ensureLogFileExists','631fZqOCY','9307144EehfZH','2206AekZqv','apply','3634120JUDOTK','children','log','render','type','[INFO]\x20[','writeFileSync','7651716Xohhar','toString','screen','[ERROR]\x20[','getInstance','dirname','3941916jpRQNe','mkdirSync','The\x20logbox\x20','scrollTo','instance','side-quest.log','filePath','hasScreen','820756JvbTml','homedir','content','(((.+)+)+)+$','find','box','4731090jxYEog'];a57c=function(){return s;};return a57c();}const homeDir=a57f[a57k(0x16b)]();export class Logger{static [a57k(0x166)];[a57k(0x168)];['screen'];constructor(a,b){const l=a57k;this['filePath']=a,this[l(0x15e)]=b,this['ensureLogFileExists']();}static[a57k(0x160)](a=a57g['join'](homeDir,'.maka',a57k(0x167)),b){const m=a57k;if(!Logger[m(0x166)]){if(!b)throw new Error('Screen\x20must\x20be\x20provided\x20when\x20initializing\x20the\x20Logger\x20for\x20the\x20first\x20time.');Logger[m(0x166)]=new Logger(a,b);}return Logger[m(0x166)];}[a57k(0x178)](){const n=a57k,a=a57g[n(0x161)](this['filePath']);!a57e[n(0x175)](a)&&a57e[n(0x163)](a,{'recursive':!![]}),!a57e[n(0x175)](this[n(0x168)])&&a57e[n(0x15b)](this[n(0x168)],'');}[a57k(0x172)](a){const o=a57k,b=new Date()['toISOString'](),c=o(0x15a)+b+']\x20'+a+'\x0a';a57e[o(0x174)](this[o(0x168)],c);}['error'](a){const p=a57k,b=new Date()[p(0x177)](),c=p(0x15f)+b+']\x20'+a+'\x0a';a57e[p(0x174)](this[p(0x168)],c);}[a57k(0x17f)](a){const q=a57k,b=this[q(0x15e)]?.[q(0x17e)][q(0x16e)](c=>c[q(0x159)]===q(0x16f)&&c['options']['id']==='logBox');b?(b[q(0x176)](b[q(0x16c)]+'\x0a'+a),b[q(0x165)](b['getScrollHeight']()),this['screen']?.[q(0x158)]()):this['error'](q(0x164)+b+'\x20could\x20not\x20be\x20found\x20on\x20screen\x20'+this['screen']),this['write'](a);}[a57k(0x169)](){const r=a57k;return!!this[r(0x15e)];}}
@@ -1 +1 @@
1
- const a54j=a54d;(function(a,b){const h=a54d,c=a();while(!![]){try{const d=parseInt(h(0x1ea))/0x1+-parseInt(h(0x1e4))/0x2+parseInt(h(0x1dc))/0x3+-parseInt(h(0x1de))/0x4+parseInt(h(0x1e1))/0x5*(-parseInt(h(0x1e7))/0x6)+-parseInt(h(0x1e6))/0x7+-parseInt(h(0x1e9))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x7eb8a));const a54b=(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;};}()),a54a=a54b(this,function(){const i=a54d;return a54a['toString']()[i(0x1e5)]('(((.+)+)+)+$')['toString']()['constructor'](a54a)[i(0x1e5)](i(0x1df));});a54a();import a54e from'path';import a54f from'./play.command.js';import{Command}from'../../command.js';import{main}from'./sideQuest/ui.js';function a54c(){const l=['join','638376TfbnCz','(((.+)+)+)+$','fsi','372915Nhmjeq','player','stdout','19992WRpabb','search','2491531juLxqn','24XhCdiK','side-quest.log','2908288KotXty','815611XiyqTe','side-quest','create','Commoner','write','2672490jYIGVE'];a54c=function(){return l;};return a54c();}import a54g from'./sideQuest/scenes/rooms.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1d8;let f=c[d];return f;},a54d(a,b);}import{Player}from'./sideQuest/models/player.js';Command[a54j(0x1d9)]({'name':a54j(0x1d8),'usage':'maka\x20play:side-quest','shortDesc':'Play\x20a\x20little\x20side-quest','aliases':['sq'],'description':'Just\x20a\x20little\x20pet\x20project...\x20I\x20really\x20liked\x20the\x20Dunnet\x20game\x20that\x0a\x20\x20came\x20with\x20MacOS\x20but\x20has\x20been\x20removed.\x20\x20Just\x20messing\x20around\x20and\x20building\x0a\x20\x20out\x20a\x20similar\x20thing...','validOpts':['debug','player']},async function(a,b){const k=a54j,c=this[k(0x1e0)]['getGlobalMakaDir'](),d=a54e[k(0x1dd)](c,k(0x1e8)),e=b[k(0x1e2)]?b[k(0x1e2)]:k(0x1da),f=new Player({'playerName':e});process[k(0x1e3)][k(0x1db)]('\x1bc');const g={...b,'logFilePath':d};main(f,a54g,g);},a54f);
1
+ const a58k=a58d;(function(a,b){const h=a58d,c=a();while(!![]){try{const d=-parseInt(h(0x76))/0x1*(-parseInt(h(0x7f))/0x2)+parseInt(h(0x7d))/0x3+parseInt(h(0x73))/0x4+parseInt(h(0x6a))/0x5*(-parseInt(h(0x6e))/0x6)+parseInt(h(0x67))/0x7*(parseInt(h(0x7c))/0x8)+-parseInt(h(0x74))/0x9+-parseInt(h(0x6d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a58c,0x625c4));const a58b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a58d;if(c){const e=c[i(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a58a=a58b(this,function(){const j=a58d;return a58a[j(0x6b)]()[j(0x75)](j(0x71))['toString']()['constructor'](a58a)[j(0x75)](j(0x71));});a58a();import a58e from'path';import a58f from'./play.command.js';import{Command}from'../../command.js';import{main}from'./sideQuest/ui.js';import{shadowrunConfig}from'./sideQuest/scenes/rooms.js';Command[a58k(0x77)]({'name':a58k(0x6c),'usage':a58k(0x68),'shortDesc':a58k(0x78),'aliases':['sq'],'description':a58k(0x80),'validOpts':[a58k(0x69),'player']},async function(a,b){const l=a58k;try{const c=this['fsi'][l(0x79)](),d=a58e[l(0x7e)](c,l(0x70)),e=b[l(0x6f)]?b['player']:l(0x72);process['stdout']['write']('\x1bc');const f={...b,'logFilePath':d};main(e,shadowrunConfig,f);}catch(g){console[l(0x7a)](g);}},a58f);function a58d(a,b){const c=a58c();return a58d=function(d,e){d=d-0x67;let f=c[d];return f;},a58d(a,b);}function a58c(){const m=['log','apply','16zqOjqS','1247328dqDvuj','join','975666FqZLcg','Just\x20a\x20little\x20pet\x20project...\x20I\x20really\x20liked\x20the\x20Dunnet\x20game\x20that\x0a\x20\x20came\x20with\x20MacOS\x20but\x20has\x20been\x20removed.\x20\x20Just\x20messing\x20around\x20and\x20building\x0a\x20\x20out\x20a\x20similar\x20thing...','1702463Yplfjx','maka\x20play:side-quest','debug','102495zCvhuM','toString','side-quest','1980410dLMOiz','174CSQVlV','player','side-quest.log','(((.+)+)+)+$','Commoner','1011732hjtDDm','4028076iForRN','search','1PWfDQc','create','Play\x20a\x20little\x20side-quest','getGlobalMakaDir'];a58c=function(){return m;};return a58c();}
@@ -1 +1 @@
1
- function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x186;var f=c[d];return f;},a55d(a,b);}var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x194))/0x1*(-parseInt(f(0x18c))/0x2)+parseInt(f(0x18b))/0x3+-parseInt(f(0x18a))/0x4+-parseInt(f(0x187))/0x5+-parseInt(f(0x192))/0x6+parseInt(f(0x188))/0x7+parseInt(f(0x189))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x7e97e));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x196)]()[h(0x197)](h(0x191))['toString']()[h(0x195)](a55a)[h(0x197)]('(((.+)+)+)+$');});a55a();import a55e from'./play.command.js';function a55c(){var k=['3016365NzsDmt','132WgyPKc','snake','apply','npx\x20command-line-snake','maka\x20game:snake','(((.+)+)+)+$','2107476GGPjUE','Play\x20Snake:\x20https://www.npmjs.com/package/command-line-snake','5737UhVWiA','constructor','toString','search','inherit','399770babout','6136018PVMFvG','1991960vTftCk','3210624QtttLj'];a55c=function(){return k;};return a55c();}import{Command}from'../../command.js';import{execSync}from'child_process';Command['create']({'name':a55i(0x18d),'usage':a55i(0x190),'shortDesc':a55i(0x193),'validOpts':[]},async function(){var j=a55i;execSync(j(0x18f),{'stdio':j(0x186)});},a55e);
1
+ var a59i=a59d;(function(a,b){var f=a59d,c=a();while(!![]){try{var d=parseInt(f(0x148))/0x1*(parseInt(f(0x13f))/0x2)+-parseInt(f(0x146))/0x3*(parseInt(f(0x14b))/0x4)+parseInt(f(0x13e))/0x5+parseInt(f(0x14e))/0x6+parseInt(f(0x14a))/0x7*(parseInt(f(0x141))/0x8)+-parseInt(f(0x142))/0x9+-parseInt(f(0x13d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a59c,0xa9385));var a59b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a59d;if(c){var e=c[g(0x145)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a59a=a59b(this,function(){var h=a59d;return a59a[h(0x149)]()[h(0x144)](h(0x14f))[h(0x149)]()[h(0x147)](a59a)[h(0x144)](h(0x14f));});a59a();import a59e from'./play.command.js';import{Command}from'../../command.js';function a59d(a,b){var c=a59c();return a59d=function(d,e){d=d-0x13d;var f=c[d];return f;},a59d(a,b);}import{execSync}from'child_process';Command[a59i(0x143)]({'name':'snake','usage':a59i(0x14c),'shortDesc':a59i(0x140),'validOpts':[]},async function(){var j=a59i;execSync('npx\x20command-line-snake',{'stdio':j(0x14d)});},a59e);function a59c(){var k=['search','apply','96009FnBnKL','constructor','2PErDnr','toString','268779hIyqCt','12GAjnTJ','maka\x20game:snake','inherit','4194978SGgrJh','(((.+)+)+)+$','15292520wxSQmz','1121790YGyuFv','952934ogjyNA','Play\x20Snake:\x20https://www.npmjs.com/package/command-line-snake','152UPWHqp','2588508OeEcTQ','create'];a59c=function(){return k;};return a59c();}