@maka/maka-cli 4.5.16 → 4.5.17
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.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/inventory.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/puzzles.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/eventBus.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kit.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a30i=a30d;function a30c(){var n=['30wcdHBG','write','(((.+)+)+)+$','749NkBnZz','560AbcMln','139124SDnCAD','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','195546dheMuw','2433MADAcx','toString','requiredPhrase','You\x20have\x20already\x20solved\x20this\x20puzzle.','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','requiredItem','rewardItem','getInstance','successMessage','4400EsxGAw','riddle','65571hoVBHm','apply','Puzzle:\x20Correct\x20solution\x20provided.','matchesRequiredPhrase','failureMessage','hasRequiredItem','2426202InGzxq','solved','logger','345668wTcFNz','84nMsCsQ','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'];a30c=function(){return n;};return a30c();}(function(a,b){var f=a30d,c=a();while(!![]){try{var d=parseInt(f(0x1bc))/0x1+parseInt(f(0x1b4))/0x2+-parseInt(f(0x1bf))/0x3*(-parseInt(f(0x1b5))/0x4)+-parseInt(f(0x1b7))/0x5*(parseInt(f(0x1be))/0x6)+-parseInt(f(0x1ba))/0x7*(parseInt(f(0x1a9))/0x8)+-parseInt(f(0x1b1))/0x9+parseInt(f(0x1bb))/0xa*(parseInt(f(0x1ab))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0x21e4f));var a30b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a30d;if(c){var e=c[g(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){var h=a30d;return a30a['toString']()['search'](h(0x1b9))[h(0x1c0)]()['constructor'](a30a)['search'](h(0x1b9));});a30a();function a30d(a,b){var c=a30c();return a30d=function(d,e){d=d-0x1a8;var f=c[d];return f;},a30d(a,b);}import a30e from'./utilities/logger.js';export class Puzzle{[a30i(0x1b3)]=a30e[a30i(0x1c6)]();[a30i(0x1b2)]=![];[a30i(0x1c4)];[a30i(0x1c1)];[a30i(0x1aa)];[a30i(0x1c5)];[a30i(0x1a8)];[a30i(0x1af)];constructor(a){var j=a30i;this['requiredItem']=a['requiredItem'],this[j(0x1c1)]=a[j(0x1c1)],this[j(0x1aa)]=a[j(0x1aa)],this[j(0x1c5)]=a[j(0x1c5)],this[j(0x1a8)]=a['successMessage']||'You\x20solved\x20the\x20puzzle!',this[j(0x1af)]=a[j(0x1af)]||j(0x1c3);}[a30i(0x1b0)](a){var k=a30i;if(this[k(0x1c4)])return a['hasItem'](this[k(0x1c4)]);return![];}[a30i(0x1ae)](a){var l=a30i;return this[l(0x1c1)]===a;}['solve'](a,b){var m=a30i;if(this[m(0x1b2)])return this[m(0x1b3)]['write'](m(0x1bd)),{'success':![],'message':m(0x1c2)};return this[m(0x1b0)](b)||this[m(0x1ae)](a)?(this[m(0x1b2)]=!![],this[m(0x1b3)][m(0x1b8)](m(0x1ad)),{'success':!![],'message':this[m(0x1a8)]}):(this['logger'][m(0x1b8)](m(0x1b6)),{'success':![],'message':this[m(0x1af)]});}}export class BasicPuzzle extends Puzzle{constructor(a){super(a);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a31i=a31d;function a31c(){const u=['getInstance','3867knUFnN','getOppositeDirection','Item\x20added\x20to\x20room\x20','748480JJLfkt','Invalid\x20direction:\x20','toString','north','(((.+)+)+)+$','Fetching\x20exit\x20in\x20direction:\x20','west','5974120oxhXaH','.\x20Success:\x20','checkIfLocked','5ICcTsu','name','attemptUnlock','removeItem','apply','2246WyZUyZ','913MXvyNr','east','3419016LvvgRm','isExitLocked','320691segNsu','setPuzzle','roomA','search','hasItem','addItem','Puzzle\x20set\x20for\x20room\x20','roomType','210WtErhu','write','constructor','attemptUnlockExit','roomB','exits','415812HMAnYf','set','inventory','get','32lJCJrb','Room\x20created:\x20','riddle','down','The\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','\x20is\x20locked.\x20Result:\x20','3815946bPAThh','Item\x20removed\x20from\x20room\x20','south','\x20unlocked!','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','findExistingDoor','oppositeDirection','No\x20locked\x20exit\x20found\x20in\x20direction\x20','values'];a31c=function(){return u;};return a31c();}(function(a,b){const f=a31d,c=a();while(!![]){try{const d=-parseInt(f(0xba))/0x1+-parseInt(f(0x8f))/0x2*(-parseInt(f(0xb7))/0x3)+parseInt(f(0x92))/0x4*(-parseInt(f(0x8a))/0x5)+parseInt(f(0x9c))/0x6*(parseInt(f(0x94))/0x7)+-parseInt(f(0xa6))/0x8*(-parseInt(f(0xad))/0x9)+parseInt(f(0xc1))/0xa+-parseInt(f(0x90))/0xb*(parseInt(f(0xa2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0xd3363));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a31d;if(c){const e=c[g(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const h=a31d;return a31a['toString']()['search']('(((.+)+)+)+$')[h(0xbc)]()[h(0x9e)](a31a)[h(0x97)](h(0xbe));});a31a();import{Door}from'./door.js';import a31e from'./utilities/logger.js';import{RoomType}from'./types.js';import{Inventory}from'./inventory.js';function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x89;let f=c[d];return f;},a31d(a,b);}const gameLog=a31e[a31i(0xb6)]();export class Room{[a31i(0x8b)];['description'];['exits']=new Map();[a31i(0xa4)]=new Inventory();['puzzle'];[a31i(0x9b)];constructor(a,b,c=RoomType['INSIDE']){const j=a31i;this[j(0x8b)]=a,this['description']=b,this[j(0x9b)]=c,gameLog[j(0x9d)](j(0xa7)+a);}['addExit'](a,b,c){const k=a31i;let d=this[k(0xb2)](b);!d&&(d=new Door(this,b,Boolean(c),c)),this['exits'][k(0xa3)](a,d),b['exits']['set'](this[k(0xb8)](a),d);}[a31i(0x9f)](a,b){const l=a31i,c=this['exits']['get'](a);if(c instanceof Door){const d=c[l(0x8c)](b);return gameLog['write'](l(0xab)+a+l(0xc2)+d),d?l(0xaa)+c[l(0x8b)]+l(0xb0):l(0xaa)+c[l(0x8b)]+'\x20remains\x20locked.';}return gameLog['write'](l(0xb4)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}['getExit'](a){const m=a31i;return gameLog['write'](m(0xbf)+a),this['exits'][m(0xa5)](a);}[a31i(0x93)](a){const n=a31i,b=this[n(0xa1)][n(0xa5)](a),c=b instanceof Door&&b[n(0x89)]();return gameLog[n(0x9d)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+n(0xac)+c),c;}[a31i(0x99)](a){const o=a31i;this[o(0xa4)]['addItem'](a),gameLog[o(0x9d)](o(0xb9)+this[o(0x8b)]+':\x20'+a[o(0x8b)]);}[a31i(0x8d)](a){const p=a31i;this['inventory'][p(0x98)](a[p(0x8b)])?(this[p(0xa4)]['removeItem'](a[p(0x8b)]),gameLog['write'](p(0xae)+this[p(0x8b)]+':\x20'+a[p(0x8b)])):gameLog['write'](p(0xb1)+this[p(0x8b)]+':\x20'+a['name']);}[a31i(0x95)](a){const q=a31i;this['puzzle']=a,gameLog[q(0x9d)](q(0x9a)+this[q(0x8b)]+':\x20'+a[q(0xa8)]);}['getOppositeDirection'](a){const r=a31i;switch(a){case r(0xbd):return r(0xaf);case'south':return'north';case r(0x91):return'west';case'west':return r(0x91);case'up':return'down';case r(0xa9):return'up';default:throw new Error(r(0xbb)+a);}}[a31i(0xb3)](a){const s=a31i,b={'north':s(0xaf),'south':'north','east':s(0xc0),'west':s(0x91),'up':'down','down':'up'};return b[a];}[a31i(0xb2)](a){const t=a31i;for(const b of this[t(0xa1)][t(0xb5)]()){if(b instanceof Door){if(b[t(0x96)]===this&&b[t(0xa0)]===a||b['roomB']===this&&b[t(0x96)]===a)return b;}}return undefined;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a32i=a32d;(function(a,b){const f=a32d,c=a();while(!![]){try{const d=parseInt(f(0x168))/0x1+-parseInt(f(0x178))/0x2*(-parseInt(f(0x164))/0x3)+-parseInt(f(0x15e))/0x4+-parseInt(f(0x165))/0x5+-parseInt(f(0x17c))/0x6+-parseInt(f(0x169))/0x7+parseInt(f(0x167))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x6c0b4));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a32d;if(c){const e=c[g(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const h=a32d;return a32a[h(0x163)]()[h(0x15b)](h(0x16e))[h(0x163)]()[h(0x16c)](a32a)[h(0x15b)](h(0x16e));});a32a();import{RoomType}from'./types.js';import{Room}from'./room.js';import{Key,SniperRifle,HolyGrail,Book}from'./items.js';import{BasicPuzzle}from'./puzzles.js';function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x15a;let f=c[d];return f;},a32d(a,b);}function a32c(){const j=['A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','4967526gmjRkx','OUTSIDE','A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','search','A\x20thin\x20log\x20book','Treasure\x20Room','374496BBZrmX','That\x20passcode\x20is\x20incorrect','Library','Secret\x20Passage','A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','toString','9OHoylz','4404430hblrOl','apply','17576216qsSPJD','633396gVjwKo','4228875xeRqKn','secret123','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','constructor','name','(((.+)+)+)+$','A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','east','Chad\x20the\x20stupid\x20guard','A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','addItem','south','setPuzzle','Guard\x27s\x20Log\x20Book','Watch\x20Tower','12454JYRMJX','A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','addExit'];a32c=function(){return j;};return a32c();}const library=new Room(a32i(0x160),'A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]'),secretPassage=new Room(a32i(0x161),a32i(0x162)),treasureRoom=new Room(a32i(0x15d),a32i(0x16f)),courtyard=new Room('Courtyard',a32i(0x15a),RoomType[a32i(0x17d)]),watchTower=new Room(a32i(0x177),a32i(0x179),RoomType['OUTSIDE']),gunCabinetPuzzle=new BasicPuzzle({'requiredPhrase':a32i(0x16a),'riddle':a32i(0x172),'rewardItem':new SniperRifle(),'successMessage':a32i(0x16b),'failureMessage':a32i(0x15f)}),goldenKey=new Key('Golden\x20Key',a32i(0x17b)),logBook=new Book(a32i(0x176),a32i(0x15c),a32i(0x171)),holyGrail=new HolyGrail();library[a32i(0x173)](goldenKey),library[a32i(0x173)](logBook),watchTower[a32i(0x175)](gunCabinetPuzzle),treasureRoom[a32i(0x173)](holyGrail),library[a32i(0x17a)](a32i(0x170),secretPassage),secretPassage[a32i(0x17a)]('north',treasureRoom,goldenKey[a32i(0x16d)]),secretPassage[a32i(0x17a)](a32i(0x174),courtyard),courtyard['addExit']('up',watchTower);const rooms={'library':library,'secretPassage':secretPassage,'treasureRoom':treasureRoom,'courtyard':courtyard,'watchTower':watchTower};export default rooms;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var k=
|
|
1
|
+
(function(a,b){var k=a33d,c=a();while(!![]){try{var d=parseInt(k(0xb6))/0x1+parseInt(k(0xb8))/0x2+parseInt(k(0xb0))/0x3+parseInt(k(0x7d))/0x4+-parseInt(k(0x6c))/0x5*(-parseInt(k(0x9d))/0x6)+-parseInt(k(0x89))/0x7+-parseInt(k(0x97))/0x8*(parseInt(k(0xa9))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x620ab));export var Size;function a33d(a,b){var c=a33c();return a33d=function(d,e){d=d-0x69;var f=c[d];return f;},a33d(a,b);}(function(a){var l=a33d;a[l(0x72)]=l(0xb9),a['Small']=l(0x8b),a[l(0x8e)]=l(0x8f),a[l(0xb4)]=l(0x98),a[l(0x96)]=l(0xb2);}(Size||(Size={})));export var Rating;function a33c(){var u=['bumpy','ArmArmor','fuzzy','leg\x20armor','circle','Gold','MOUNTAIN','Brown','Green','900088MYWGtE','Hat','rare','UNDERGROUND','Rough','Blade','key','sea','DESERT','Red','FOREST','grey','2127125tfGCVj','mountain','small','inside','Boots','Medium','medium','desert','body\x20armor','Key','rectangle','metallic','Fuzzy','VeryLarge','128iCnOgJ','large','Grey','blade','Weapon','beach','1494CRfBgm','blue','apply','Circle','search','smooth','CAVE','constructor','Rectangle','BEACH','Gloves','Blue','745299MgFaEi','Purple','TOWER','triangle','Grainy','helmet','Helmet','2258769acREEW','brown','very\x20large','Metallic','Large','hat','255037eEQanq','tower','1579458pdxpYB','tiny','Book','common','forest','Yellow','155pWPzne','underground','OUTSIDE','gold','Triangle','SEA','Tiny','orange'];a33c=function(){return u;};return a33c();}(function(a){var m=a33d;a['Common']=m(0x69),a['Rare']=m(0x7f),a['Legendary']='legendary';}(Rating||(Rating={})));export var Category;(function(a){var n=a33d;a[n(0x9b)]='weapon',a['Shield']='shield',a[n(0x92)]=n(0x83),a[n(0xa7)]='gloves',a[n(0xaf)]=n(0xae),a[n(0x7e)]=n(0xb5),a[n(0x8d)]='boots',a['LegArmor']=n(0x77),a[n(0x75)]='arm\x20armor',a['BodyArmor']=n(0x91),a[n(0xba)]='book',a['Cup']='cup';}(Category||(Category={})));export var Shape;(function(a){var o=a33d;a[o(0xa0)]=o(0x78),a['Square']='square',a[o(0x70)]=o(0xac),a[o(0xa5)]=o(0x93),a[o(0x82)]=o(0x9a),a['Rifle']='rifle';}(Shape||(Shape={})));export var Color;(function(a){var p=a33d;a[p(0x86)]='red',a[p(0xa8)]=p(0x9e),a[p(0x7c)]='green',a[p(0x6b)]='yellow',a['Orange']=p(0x73),a[p(0xaa)]='purple',a[p(0x99)]=p(0x88),a[p(0x7b)]=p(0xb1),a[p(0x79)]=p(0x6f);}(Color||(Color={})));export var Texture;(function(c){var s=a33d,d=(function(){var f=!![];return function(g,h){var i=f?function(){var q=a33d;if(h){var j=h[q(0x9f)](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var r=a33d;return e['toString']()[r(0xa1)]('(((.+)+)+)+$')['toString']()[r(0xa4)](e)[r(0xa1)]('(((.+)+)+)+$');});e(),c['Smooth']=s(0xa2),c[s(0x81)]='rough',c['Bumpy']=s(0x74),c[s(0x95)]=s(0x76),c[s(0xad)]='grainy',c[s(0xb3)]=s(0x94);}(Texture||(Texture={})));export var RoomType;(function(a){var t=a33d;a['INSIDE']=t(0x8c),a[t(0x6e)]='outside',a[t(0x80)]=t(0x6d),a[t(0xa3)]='cave',a[t(0xab)]=t(0xb7),a[t(0x87)]=t(0x6a),a[t(0x85)]=t(0x90),a[t(0x7a)]=t(0x8a),a[t(0xa6)]=t(0x9c),a[t(0x71)]=t(0x84);}(RoomType||(RoomType={})));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){const t=
|
|
1
|
+
(function(a,b){const t=a34d,c=a();while(!![]){try{const d=parseInt(t(0x1f3))/0x1*(-parseInt(t(0x1ce))/0x2)+parseInt(t(0x1bf))/0x3*(parseInt(t(0x1dc))/0x4)+parseInt(t(0x1e9))/0x5*(-parseInt(t(0x1ae))/0x6)+-parseInt(t(0x1ee))/0x7*(parseInt(t(0x1bd))/0x8)+-parseInt(t(0x1f6))/0x9*(-parseInt(t(0x1c7))/0xa)+-parseInt(t(0x1ea))/0xb*(parseInt(t(0x1f8))/0xc)+parseInt(t(0x1df))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x1a68f));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const u=a34d;if(c){const e=c[u(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const v=a34d;return a34a['toString']()[v(0x1ac)]('(((.+)+)+)+$')[v(0x1c3)]()[v(0x1ad)](a34a)['search']('(((.+)+)+)+$');});a34a();import a34e from'blessed';import{capitalCase}from'change-case';import a34f from'./game.js';import{RoomType}from'./types.js';function a34c(){const E=['log','line','----->>>>>>\x20Initializing\x20Game','unequip','focus','stringify','\x20(Locked)','checkIfLocked','\x20Inventory\x20','getValue','exits','cyan','75%','1296QbTUbp','rightHand','104541ZYBjAw','box','{/yellow-fg}','screen','toString','feet','name','currentLocation','60KAnOoQ','Left\x20Hand:\x20','None','70%','legs','enter','checkIfLockable','12yheqoV','Your\x20items\x20will\x20be\x20listed\x20here...','setContent','25%','append','\x20Equipment\x20','apply','key','getInstance','{/red-fg}','textbox','escape','{red-fg}===Error:\x20','yellow','12irsiMs','getOtherSide','\x0aThere\x20are\x20no\x20exits\x20here.','5539001YcqmoJ','lock','handleInput','\x20Exits\x20','render','size','\x20(Unlocked)','setRawMode','white','<<<<<<<<---------\x20Terminating\x20game','230sRKXyh','11TuFaki','Torso:\x20','join','clearValue','8176vlYCOk','clear','Feet:\x20','Gloves:\x20','player','9589YTyqgc','write','Legs:\x20','271179IPbtDW','90%','2239212YzKwhv','Side\x20Quest\x20Adventure\x20Game','leftHand','equipment','gloves','stdin','getAllItems','head','forEach','logFilePath','split','\x20Game\x20Log\x20','arms','inventory','45%','Right\x20Hand:\x20','search','constructor','22158RUaMeo','pushLine'];a34c=function(){return E;};return a34c();}import{Door}from'./door.js';import{eventBus}from'./utilities/eventBus.js';function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x1a1;let f=c[d];return f;},a34d(a,b);}import a34g from'./utilities/logger.js';export async function main(a,b,c){const w=a34d,d=a34g[w(0x1d6)](c[w(0x1a5)]);process[w(0x1a1)][w(0x1e6)](!![]),process['stdin']['resume']();const e=a34e[w(0x1c2)]({'smartCSR':!![],'title':w(0x1f9)}),f=a34e[w(0x1c0)]({'top':'0%','left':w(0x1bc),'width':w(0x1d1),'height':w(0x1aa),'border':{'type':w(0x1b1)},'label':w(0x1b8),'content':w(0x1cf),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x1db)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]}),g=o=>{const x=w,p=o[x(0x1a2)]()['map'](q=>q[x(0x1c5)]);f['setContent'](p[x(0x1ec)]('\x0a')),e[x(0x1e3)]();};e[w(0x1d2)](f);const h=a34e[w(0x1c0)]({'top':w(0x1aa),'left':'75%','width':'25%','height':w(0x1d1),'border':{'type':w(0x1b1)},'label':w(0x1d3),'content':'Your\x20equipped\x20items\x20will\x20be\x20listed\x20here...','tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x1db)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});e[w(0x1d2)](h);function i(o){const y=w;h[y(0x1d0)]('Head:\x20'+(o[y(0x1a3)]?o[y(0x1a3)][y(0x1c5)]:'None')+'\x0a'+(y(0x1eb)+(o['torso']?o['torso'][y(0x1c5)]:y(0x1c9))+'\x0a')+(y(0x1f5)+(o[y(0x1cb)]?o['legs']['name']:y(0x1c9))+'\x0a')+(y(0x1f0)+(o[y(0x1c4)]?o[y(0x1c4)][y(0x1c5)]:'None')+'\x0a')+('Arms:\x20'+(o[y(0x1a8)]?o[y(0x1a8)][y(0x1c5)]:y(0x1c9))+'\x0a')+(y(0x1f1)+(o[y(0x1fc)]?o['gloves']['name']:y(0x1c9))+'\x0a')+(y(0x1c8)+(o['leftHand']?o[y(0x1fa)][y(0x1c5)]:y(0x1c9))+'\x0a')+(y(0x1ab)+(o[y(0x1be)]?o[y(0x1be)][y(0x1c5)]:y(0x1c9))+'\x0a')),e[y(0x1e3)]();}const j=a34e[w(0x1c0)]({'top':w(0x1ca),'left':'75%','width':'25%','height':'22%','border':{'type':w(0x1b1)},'label':w(0x1e2),'content':'Available\x20exits\x20will\x20be\x20shown\x20here...','tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':'yellow'},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});e[w(0x1d2)](j);function k(o){const z=w;let p='';o[z(0x1ba)][z(0x1e4)]>0x0?o[z(0x1ba)][z(0x1a4)]((q,r)=>{const A=z;if(q instanceof Door){const s=q[A(0x1dd)](o);s['roomType']===RoomType['OUTSIDE']?p+=capitalCase(r)+':\x20'+s[A(0x1c5)]:p+=capitalCase(r)+':\x20'+q[A(0x1c5)];if(q[A(0x1b7)]())p+=A(0x1b6);else q[A(0x1cd)]()&&(p+=A(0x1e5));p+='\x0a';}else p+=capitalCase(r)+'\x0a';}):p+=z(0x1de),j['setContent'](p),e[z(0x1e3)]();}const l=a34e[w(0x1c0)]({'top':'0%','left':'0%','width':'75%','height':w(0x1f7),'border':{'type':'line'},'label':w(0x1a7),'scrollable':!![],'alwaysScroll':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x1db)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![],'tags':!![]});e[w(0x1d2)](l);const m=a34e[w(0x1d8)]({'bottom':0x0,'left':0x0,'width':'100%','height':'10%','tags':!![],'border':{'type':w(0x1b1)},'style':{'fg':w(0x1e7),'border':{'fg':w(0x1bb)}},'keys':!![],'mouse':!![],'inputOnFocus':!![]});e[w(0x1d2)](m),e[w(0x1d5)]([w(0x1d9),'C-c'],()=>process['exit'](0x0)),m[w(0x1b4)](),e[w(0x1e3)]();c['debug']&&(eventBus['on']('logError',o=>{const B=w;l[B(0x1af)](B(0x1da)+o+B(0x1d7)),l['scroll'](0x1),m[B(0x1ed)](),d[B(0x1f4)](JSON[B(0x1b5)](o));}),eventBus['on'](w(0x1b0),o=>{const C=w;l[C(0x1af)]('{yellow-fg}===Log:\x20'+o+C(0x1c1)),l['scroll'](0x1),m[C(0x1ed)](),d[C(0x1f4)](JSON[C(0x1b5)](o));}));d['write'](w(0x1b2));const n=a34f[w(0x1d6)](a,b);l[w(0x1d0)](n['getWelcomeMessage']()),i(n[w(0x1f2)]['equipment']),g(n[w(0x1f2)]['inventory']),k(n[w(0x1f2)][w(0x1c6)]),m[w(0x1d5)]([w(0x1cc)],async()=>{const D=w,o=m[D(0x1b9)](),p=n[D(0x1e1)](o);(o[D(0x1a6)]('\x20')[0x0]==='take'||'equip'||D(0x1b3))&&(g(n[D(0x1f2)][D(0x1a9)]),i(n[D(0x1f2)][D(0x1fb)])),(o[D(0x1a6)]('\x20')[0x0]==='go'||D(0x1e0)||'unlock')&&k(n[D(0x1f2)]['currentLocation']),o[D(0x1a6)]('\x20')[0x0]===D(0x1ef)&&l[D(0x1d0)](''),p===null&&(l[D(0x1af)]('Thanks\x20for\x20playing!'),e[D(0x1e3)](),d[D(0x1f4)](D(0x1e8)),process['exit'](0x0)),l[D(0x1af)](p),l['scroll'](0x1),m[D(0x1ed)](),m[D(0x1b4)](),e[D(0x1e3)]();});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){const f=
|
|
1
|
+
(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x190))/0x1*(parseInt(f(0x192))/0x2)+parseInt(f(0x199))/0x3+parseInt(f(0x194))/0x4+parseInt(f(0x19b))/0x5*(-parseInt(f(0x19a))/0x6)+parseInt(f(0x191))/0x7*(parseInt(f(0x197))/0x8)+parseInt(f(0x19c))/0x9+parseInt(f(0x193))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x26768));const a35b=(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;};}()),a35a=a35b(this,function(){const g=a35d;return a35a[g(0x196)]()[g(0x198)](g(0x195))[g(0x196)]()['constructor'](a35a)[g(0x198)](g(0x195));});function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x190;let f=c[d];return f;},a35d(a,b);}a35a();import{EventEmitter}from'events';export const eventBus=new EventEmitter();function a35c(){const h=['70459FtzOvq','7LPVTsv','8rMHDFJ','1005890qcuHAY','883828rdxttp','(((.+)+)+)+$','toString','80iASUVX','search','752004YOnlJH','18WmVTJD','414655rczwoU','1043541PIuFSs'];a35c=function(){return h;};return a35c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a36k=a36d;(function(a,b){const h=a36d,c=a();while(!![]){try{const d=-parseInt(h(0x18f))/0x1*(parseInt(h(0x186))/0x2)+-parseInt(h(0x192))/0x3*(-parseInt(h(0x188))/0x4)+-parseInt(h(0x191))/0x5*(parseInt(h(0x189))/0x6)+parseInt(h(0x18a))/0x7*(-parseInt(h(0x17c))/0x8)+parseInt(h(0x18d))/0x9*(parseInt(h(0x18e))/0xa)+-parseInt(h(0x17e))/0xb+-parseInt(h(0x190))/0xc*(-parseInt(h(0x193))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x35cd4));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a36d;if(c){const e=c[i(0x18b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const j=a36d;return a36a['toString']()[j(0x182)](j(0x17f))[j(0x197)]()[j(0x18c)](a36a)[j(0x182)]('(((.+)+)+)+$');});a36a();import a36e from'fs';import a36f from'os';function a36c(){const o=['64253uwoEoD','apply','constructor','276417MULAaV','10DomUVQ','1ltIIpO','7802472VaLVaK','130tEpMrz','25419oPxHkJ','13ZkxwUK','appendFileSync','homedir','error','toString','88lRurCd','[ERROR]\x20[','2330240KrdxqW','(((.+)+)+)+$','[INFO]\x20[','filePath','search','getInstance','.maka','toISOString','5614lsYKHb','instance','44iqBJYB','54954ddHqJc'];a36c=function(){return o;};return a36c();}import a36g from'path';const homeDir=a36f[a36k(0x195)]();class Logger{static [a36k(0x187)];['filePath'];constructor(a){this['filePath']=a;}static[a36k(0x183)](a=a36g['join'](homeDir,a36k(0x184),'side-quest.log')){const l=a36k;return!Logger[l(0x187)]&&(Logger[l(0x187)]=new Logger(a)),Logger[l(0x187)];}['write'](a){const m=a36k,b=new Date()[m(0x185)]();a36e[m(0x194)](this[m(0x181)],m(0x180)+b+']\x20'+a+'\x0a');}[a36k(0x196)](a){const n=a36k,b=new Date()[n(0x185)]();a36e[n(0x194)](this[n(0x181)],n(0x17d)+b+']\x20'+a+'\x0a');}}function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x17c;let f=c[d];return f;},a36d(a,b);}export default Logger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a37k=a37d;(function(a,b){const h=a37d,c=a();while(!![]){try{const d=-parseInt(h(0xce))/0x1*(parseInt(h(0xc5))/0x2)+-parseInt(h(0xd0))/0x3+parseInt(h(0xd6))/0x4*(-parseInt(h(0xd4))/0x5)+-parseInt(h(0xd7))/0x6+parseInt(h(0xd1))/0x7+parseInt(h(0xcb))/0x8+-parseInt(h(0xd8))/0x9*(-parseInt(h(0xcc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x936f5));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a37d;if(c){const e=c[i(0xd5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const j=a37d;return a37a[j(0xc7)]()[j(0xc0)]('(((.+)+)+)+$')[j(0xc7)]()[j(0xca)](a37a)[j(0xc0)](j(0xc2));});function a37c(){const m=['player','constructor','261792VNUMBP','18287110FWXCJQ','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...','647wOiutp','stdout','2578575wbpjJM','6888567GIcJLA','fsi','Commoner','92995mLNLmk','apply','164nmkcoM','72036bxYtMp','9nXpdnd','Play\x20a\x20little\x20side-quest','search','create','(((.+)+)+)+$','maka\x20play:side-quest','join','1878Roecwk','write','toString','debug'];a37c=function(){return m;};return a37c();}a37a();import a37e from'path';import a37f from'./play.command.js';import{Command}from'../../command.js';import{main}from'./sideQuest/ui.js';import a37g from'./sideQuest/rooms.js';import{Player}from'./sideQuest/player.js';const playerInventory=[],playerEquipment={'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xc0;let f=c[d];return f;},a37d(a,b);}Command[a37k(0xc1)]({'name':'side-quest','usage':a37k(0xc3),'shortDesc':a37k(0xd9),'aliases':['sq'],'description':a37k(0xcd),'validOpts':[a37k(0xc8),a37k(0xc9)]},async function(a,b){const l=a37k,c=this[l(0xd2)]['getGlobalMakaDir'](),d=a37e[l(0xc4)](c,'side-quest.log'),e=b[l(0xc9)]?b[l(0xc9)]:l(0xd3),f=new Player(e);process[l(0xcf)][l(0xc6)]('\x1bc');const g={...b,'logFilePath':d};main(f,a37g,g);},a37f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a38c(){var k=['4197618KpigMY','snake','search','9RXUXyi','1465107ERCdhy','8EMcQTt','(((.+)+)+)+$','npx\x20command-line-snake','27162hsGBPo','43481660eioqKh','toString','apply','create','835oTNoJR','1358108XdcvFa','2568700akAvHJ','153702bgEkPe'];a38c=function(){return k;};return a38c();}var a38i=a38d;(function(a,b){var f=a38d,c=a();while(!![]){try{var d=-parseInt(f(0xa1))/0x1+-parseInt(f(0xa3))/0x2*(parseInt(f(0x96))/0x3)+-parseInt(f(0xa2))/0x4+parseInt(f(0xa0))/0x5*(-parseInt(f(0x9b))/0x6)+-parseInt(f(0x97))/0x7+-parseInt(f(0x98))/0x8*(parseInt(f(0xa4))/0x9)+parseInt(f(0x9c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xa7632));var a38b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a38d;if(c){var e=c[g(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){var h=a38d;return a38a[h(0x9d)]()[h(0xa6)](h(0x99))[h(0x9d)]()['constructor'](a38a)[h(0xa6)](h(0x99));});a38a();import a38e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';function a38d(a,b){var c=a38c();return a38d=function(d,e){d=d-0x96;var f=c[d];return f;},a38d(a,b);}Command[a38i(0x9f)]({'name':a38i(0xa5),'usage':'maka\x20game:snake','shortDesc':'Play\x20Snake:\x20https://www.npmjs.com/package/command-line-snake','validOpts':[]},async function(){var j=a38i;execSync(j(0x9a),{'stdio':'inherit'});},a38e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a39i=a39d;function a39d(a,b){var c=a39c();return a39d=function(d,e){d=d-0x15f;var f=c[d];return f;},a39d(a,b);}(function(a,b){var f=a39d,c=a();while(!![]){try{var d=-parseInt(f(0x168))/0x1+parseInt(f(0x169))/0x2+-parseInt(f(0x16c))/0x3*(-parseInt(f(0x165))/0x4)+-parseInt(f(0x16b))/0x5+parseInt(f(0x16a))/0x6*(parseInt(f(0x16f))/0x7)+parseInt(f(0x16d))/0x8+-parseInt(f(0x170))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x5ce34));var a39b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a39d;if(c){var e=c[g(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){var h=a39d;return a39a['toString']()[h(0x171)](h(0x160))[h(0x16e)]()[h(0x167)](a39a)[h(0x171)](h(0x160));});a39a();import a39e from'./play.command.js';import{Command}from'../../command.js';function a39c(){var k=['571752dTmSex','search','create','(((.+)+)+)+$','maka\x20game:tetris','Play\x20Tetris:\x20https://github.com/robertrypula/simple-tetris','npx\x20simple-tetris','tetris','472ErqydB','apply','constructor','122774bknvMX','606746HDXYBa','6IPdTPY','3280670baVwUU','5262owBJYf','138528jeqQtl','toString','4866701ldtuPX'];a39c=function(){return k;};return a39c();}import{execSync}from'child_process';Command[a39i(0x15f)]({'name':a39i(0x164),'usage':a39i(0x161),'shortDesc':a39i(0x162),'validOpts':[]},async function(){var j=a39i;execSync(j(0x163),{'stdio':'inherit'});},a39e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x193))/0x1*(parseInt(f(0x19b))/0x2)+parseInt(f(0x1a2))/0x3*(-parseInt(f(0x1a3))/0x4)+parseInt(f(0x1a4))/0x5*(parseInt(f(0x191))/0x6)+parseInt(f(0x18b))/0x7*(-parseInt(f(0x198))/0x8)+parseInt(f(0x190))/0x9*(parseInt(f(0x18c))/0xa)+parseInt(f(0x19a))/0xb+-parseInt(f(0x186))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xe0a31));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0x192)]()[g(0x18d)](g(0x18e))[g(0x192)]()[g(0x1a6)](a40a)['search'](g(0x18e));});a40a();import{Command}from'../command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x186;let f=c[d];return f;},a40d(a,b);}function a40c(){const j=['12855227WLiSoS','2638414nULbqN','Could\x20not\x20find\x20generator','maka\x20g:api\x20trucks','Generators:','maka\x20g:route\x20todos/edit','help','Scaffold\x20various\x20parts\x20of\x20your\x20application','22926rVTvIh','340jhJEae','12630NxExJj','slice','constructor','17107452LigcIE','maka\x20g:template\x20todos/todo_item','\x0a\x20\x20For\x20a\x20list\x20of\x20generators,\x20run\x20\x22maka\x20generate\x20--help\x22\x20or\x20\x22maka\x20g\x20--help\x22\x0a\x20\x20','maka\x20g:package\x20package:name','dir','28rDoPty','7620WqWJMk','search','(((.+)+)+)+$','notice','10539WkpLkM','3306MdJoDX','toString','1FsxfZe','generate','maka\x20{generate,\x20g}:<generator>\x20<name>','invoke','create','3553376eOcpwr','maka\x20g:dbc\x20geoserver\x20--type=pgsql'];a40c=function(){return j;};return a40c();}import{Log}from'../tools/log/log.class.js';import a40e from'../generators/maka.gen.js';import{UsageError}from'../error.js';Command[a40h(0x197)]({'name':a40h(0x194),'aliases':['g'],'usage':a40h(0x195),'validOpts':[a40h(0x18a),'where',a40h(0x1a0)],'mustBeInMakaProject':!![],'isRoot':!![],'shortDesc':a40h(0x1a1),'description':a40h(0x188),'examples':['maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos',a40h(0x187),a40h(0x189),a40h(0x19f),a40h(0x19d),a40h(0x199)]},async function(a,b){const i=a40h,c=a[0x0],d=a40e['findGenerator'](c);if(!d){b[i(0x1a0)]?(Log[i(0x18f)](i(0x19e)),a40e['listGenerators']()):Log['error'](i(0x19c));throw new UsageError();}await d[i(0x196)](a[i(0x1a5)](0x1),b);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a41d,c=a();while(!![]){try{var d=-parseInt(f(0xc3))/0x1*(-parseInt(f(0xc0))/0x2)+parseInt(f(0xbc))/0x3*(-parseInt(f(0xc1))/0x4)+-parseInt(f(0xbd))/0x5*(-parseInt(f(0xb4))/0x6)+-parseInt(f(0xba))/0x7+parseInt(f(0xc2))/0x8*(parseInt(f(0xb7))/0x9)+-parseInt(f(0xc4))/0xa+-parseInt(f(0xb5))/0xb*(-parseInt(f(0xbb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x4ad28));function a41d(a,b){var c=a41c();return a41d=function(d,e){d=d-0xb4;var f=c[d];return f;},a41d(a,b);}var a41b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a41d;if(c){var e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){var h=a41d;return a41a[h(0xb8)]()['search']('(((.+)+)+)+$')['toString']()[h(0xbf)](a41a)[h(0xb6)](h(0xb9));});a41a();import'./get.command.js';import'./global.sub.cmd.js';function a41c(){var i=['12dfBgJl','11922lGSBUh','10ZAqxxf','apply','constructor','2mfjftb','244nbjkrF','72kHCjPQ','313387iLtLCq','4321920UcirEe','1775802jaEDeL','1116181RAEnmq','search','118791YfOTRO','toString','(((.+)+)+)+$','1011535KoIwhW'];a41c=function(){return i;};return a41c();}import'./local.sub.cmd.js';import'./whoami.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0xf5))/0x1*(parseInt(f(0xfd))/0x2)+parseInt(f(0xfb))/0x3*(parseInt(f(0xff))/0x4)+parseInt(f(0xf3))/0x5*(parseInt(f(0xfc))/0x6)+-parseInt(f(0xfa))/0x7*(-parseInt(f(0x101))/0x8)+-parseInt(f(0xfe))/0x9+-parseInt(f(0xf4))/0xa+parseInt(f(0x102))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xc47bf));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x100)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xf7)]()[h(0xf6)]('(((.+)+)+)+$')[h(0xf7)]()['constructor'](a42a)[h(0xf6)]('(((.+)+)+)+$');});a42a();import{Command}from'../../command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xf3;let f=c[d];return f;},a42d(a,b);}import{Log}from'../../tools/log/log.class.js';import{UsageErrorWithSubs}from'../../error.js';function a42c(){const k=['apply','8razNsX','4025241HQgbOt','590oSLrHe','4460410pHtPkd','998CLtwap','search','toString','create','error','1899653BWOtwY','12amOvgr','34446LNqaPv','1608YaUfOL','8754120rCCkXn','106380CJmDRC'];a42c=function(){return k;};return a42c();}const GetCommand=Command[a42i(0xf8)]({'name':'get','usage':'maka\x20get:<sub-command>','minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Get\x20various\x20Maka\x20variables\x20and\x20configurations','validOpts':[]},async function(a,b){const j=a42i,c=a[0x0],d=this['findSubCommand'](c);if(d)this['runSubCommand'](c,a,b);else{Log[j(0xf9)]('Sub-Command\x20not\x20found');throw new UsageErrorWithSubs();}});export default GetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1a2))/0x1+parseInt(f(0x1aa))/0x2+parseInt(f(0x1a9))/0x3+-parseInt(f(0x1b2))/0x4+parseInt(f(0x1ab))/0x5+-parseInt(f(0x1ad))/0x6*(parseInt(f(0x1ac))/0x7)+-parseInt(f(0x1a8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x5462e));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1b1)]()[h(0x1a4)](h(0x1a3))['toString']()[h(0x1a0)](a43a)[h(0x1a4)]('(((.+)+)+)+$');});a43a();import a43e from'./get.command.js';function a43c(){const k=['search','fsi','error','apply','5602256CbmMCG','1092669BQKojl','1159168SwvDJn','3305210kjwRdM','44674wMCVie','396RwdpKs','log','create','getGlobalConfig','toString','102512vnnxnO','constructor','maka\x20get:global-config','112081WpIJPN','(((.+)+)+)+$'];a43c=function(){return k;};return a43c();}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1a0;let f=c[d];return f;},a43d(a,b);}import{Command}from'../../command.js';Command[a43i(0x1af)]({'name':'global-config','usage':a43i(0x1a1),'aliases':['gc'],'shortDesc':'Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a43i;try{const a=await this[j(0x1a5)][j(0x1b0)]();console[j(0x1ae)](a);}catch(b){console[j(0x1a6)](b),process['exit'](0x0);}},a43e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0xd1))/0x1*(parseInt(f(0xc0))/0x2)+parseInt(f(0xd2))/0x3*(parseInt(f(0xd0))/0x4)+-parseInt(f(0xc8))/0x5*(parseInt(f(0xc2))/0x6)+parseInt(f(0xcb))/0x7+-parseInt(f(0xc9))/0x8+parseInt(f(0xc7))/0x9+-parseInt(f(0xd3))/0xa*(-parseInt(f(0xce))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x92bdc));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xc3)]()[h(0xca)]('(((.+)+)+)+$')[h(0xc3)]()[h(0xcc)](a44a)[h(0xca)](h(0xc1));});function a44c(){const k=['6952976nIzDTe','search','295743RmleOP','constructor','log','154bWCcZg','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','1325708qEYJwt','484604KZRnEM','9JKDCVq','617210JVjLic','local-config','maka\x20get:local-config','fsi','4YVhErN','(((.+)+)+)+$','1032ZHcpsi','toString','apply','getProjectConfig','create','8771454bAXIRt','12670sJnCDV'];a44c=function(){return k;};return a44c();}a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xbe;let f=c[d];return f;},a44d(a,b);}import a44e from'./get.command.js';import{Command}from'../../command.js';Command[a44i(0xc6)]({'name':a44i(0xd4),'usage':a44i(0xbe),'mustBeInMakaProject':!![],'aliases':['lc'],'shortDesc':a44i(0xcf),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a44i,a=await this[j(0xbf)][j(0xc5)]();console[j(0xcd)](a);},a44e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a45j=a45d;(function(a,b){const g=a45d,c=a();while(!![]){try{const d=-parseInt(g(0x1c2))/0x1*(parseInt(g(0x1bd))/0x2)+-parseInt(g(0x1b3))/0x3*(-parseInt(g(0x1b4))/0x4)+-parseInt(g(0x1ad))/0x5*(-parseInt(g(0x1b1))/0x6)+-parseInt(g(0x1b2))/0x7*(parseInt(g(0x1b8))/0x8)+parseInt(g(0x1a9))/0x9+-parseInt(g(0x1c3))/0xa+parseInt(g(0x1ac))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x9ee9a));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a45d;if(c){const e=c[h(0x1af)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const i=a45d;return a45a[i(0x1b6)]()[i(0x1ab)](i(0x1c1))['toString']()[i(0x1bf)](a45a)[i(0x1ab)]('(((.+)+)+)+$');});a45a();import a45e from'./get.command.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1a9;let f=c[d];return f;},a45d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a45c(){const l=['exit','join','error','4778WkbVJL','whoami','constructor','notice','(((.+)+)+)+$','293bimRoq','12904120fWqgud','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','hash','authToken','fsi','Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','10835910pAmrix','User\x20Access\x20Token:\x20\x20','search','4670600VxFcVa','5snfVen','create','apply','user','4092534iTUgtV','49IfHcsd','2980443qvSNOG','4OQEyld','roles','toString','If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','757560HiErBj','token'];a45c=function(){return l;};return a45c();}import a45f from'jsonwebtoken';Command[a45j(0x1ae)]({'name':a45j(0x1be),'usage':'maka\x20get:whoami','shortDesc':a45j(0x1b7),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const k=a45j;try{const a=await this[k(0x1c7)]['getGlobalConfig']();if(a[k(0x1c5)]){const b=a45f['decode'](a[k(0x1c5)]);Log[k(0x1c0)](k(0x1c4)+b?.[k(0x1b0)]),Log['notice']('User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+a[k(0x1b9)]?.['userId']),Log[k(0x1c0)](k(0x1aa)+a[k(0x1b9)]?.[k(0x1c6)]),Log[k(0x1c0)](k(0x1c8)+b?.[k(0x1b5)][k(0x1bb)](',\x20'));}}catch(c){console[k(0x1bc)](c),process[k(0x1ba)](0x0);}},a45e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a46h=a46d;function a46c(){var i=['30178512YvuFJb','help','16VJTHZs','123455UPrnQM','730Qcrnuy','42242tSZpue','2180358QdNYhY','(((.+)+)+)+$','102058mcWtDv','Try,\x20maka\x20--help','5981248gLQDyc','Deprecated:\x20use\x20--help\x20instead','1233knDxPK','toString','6WPQZsI','8888MKrcjt','constructor','32lIXkNr','search','create'];a46c=function(){return i;};return a46c();}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x1a5))/0x1*(-parseInt(f(0x1a8))/0x2)+parseInt(f(0x1af))/0x3*(parseInt(f(0x1b2))/0x4)+parseInt(f(0x1a6))/0x5*(-parseInt(f(0x1b1))/0x6)+-parseInt(f(0x1ad))/0x7+-parseInt(f(0x1a0))/0x8*(parseInt(f(0x1a9))/0x9)+-parseInt(f(0x1a7))/0xa*(parseInt(f(0x1ab))/0xb)+parseInt(f(0x1a3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x89dcd));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0x1b0)]()[g(0x1a1)]('(((.+)+)+)+$')[g(0x1b0)]()[g(0x1b3)](a46a)['search'](g(0x1aa));});a46a();import{Command}from'../command.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1a0;var f=c[d];return f;},a46d(a,b);}import{UsageError}from'../error.js';Command[a46h(0x1a2)]({'name':a46h(0x1a4),'description':a46h(0x1ac),'aliases':['h'],'validOpts':[],'shortDesc':a46h(0x1ae)},async function(){throw new UsageError();});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a47l=a47d;(function(a,b){const j=a47d,c=a();while(!![]){try{const d=-parseInt(j(0x158))/0x1*(-parseInt(j(0x162))/0x2)+-parseInt(j(0x167))/0x3*(parseInt(j(0x161))/0x4)+-parseInt(j(0x15e))/0x5*(parseInt(j(0x156))/0x6)+parseInt(j(0x150))/0x7*(parseInt(j(0x14e))/0x8)+parseInt(j(0x157))/0x9+parseInt(j(0x14c))/0xa*(parseInt(j(0x169))/0xb)+-parseInt(j(0x159))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x672dd));function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x14b;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 k=a47d;return a47a['toString']()[k(0x16a)](k(0x14b))[k(0x14d)]()[k(0x16d)](a47a)[k(0x16a)](k(0x14b));});a47a();import a47e from'path';import a47f from'fs';import{execSync}from'child_process';import{Command}from'../command.js';function a47c(){const n=['5107995xeseKZ','42889LmEGWi','5387292LwaQJp','\x0a[+]\x20Documentation\x20written\x20to\x20','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','closure','app/packages','5MVCDvW','pathFromProject','\x20-c\x20','3224BEpafq','4ToLTvp','maka\x20jsdoc\x20--init','app/public','fsi','isFile','972zQaLpw','logWithSpinner','6456714DjOoms','search','join','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','constructor','\x20-d\x20','jsdoc-config.json','sep','docs','(((.+)+)+)+$','10FdrEtn','toString','16gsPXhi','maka\x20jsdoc','2075486YjKKjn','jsdoc','.+\x5c.(j|t)s(doc|x)?$','stop','stringify','plugins/markdown','4203582DoeOeZ'];a47c=function(){return n;};return a47c();}Command['create']({'name':a47l(0x151),'usage':a47l(0x14f),'mustBeInMakaProject':!![],'shortDesc':a47l(0x15b),'examples':[a47l(0x163),'maka\x20jsdoc'],'validOpts':[]},function(){const m=a47l,a=a47e[m(0x16b)](this[m(0x165)][m(0x15f)]({}),m(0x171)+a47e['sep']),b=a47e[m(0x16b)](this[m(0x165)][m(0x15f)]({}),'config',m(0x16f)),c=this[m(0x165)][m(0x15f)]({}),d=m(0x151);if(!this[m(0x166)](b)){const g={'plugins':[m(0x155)],'tags':{'allowUnknownTags':!![],'dictionaries':[m(0x151),m(0x15c)]},'source':{'includePattern':m(0x152),'excludePattern':'(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','exclude':[m(0x15d),'app/node_modules',m(0x164),'app/private']},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':'utf-8'}};a47f['writeFileSync'](b,JSON[m(0x154)](g,null,0x4));}const f=this[m(0x168)]('Running\x20'+d);try{const h=d+m(0x160)+b+'\x20-r\x20app'+a47e[m(0x170)]+m(0x16e)+a;execSync(h,{'cwd':c,'stdio':'inherit'}),this['logNotice'](m(0x15a)+a);}catch(i){this['logError'](i),this['logError'](m(0x16c));}finally{f[m(0x153)]();}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a48r=a48d;function a48c(){const t=['maka\x20lint','477SQhzmI','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','lintFiles','fsi','imports','lint','constructor','175641xpwWne','8sgSiVP','template','installNpmPackage','Lint\x20results\x20for\x20','eslint','Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','53585dNCmmu','toString','2EPmBoe','maka\x20lint\x20--fix','loadFormatter','eslint-plugin-css','join','length','/imports','push','.eslintrc.json','11980PAIVDM','error','All\x20good!\x20:)','checkNpmPackage','fix','990218CEJoBs','isFile','25358952HlVLGC','72yKZbMH','create','2180472iMeEmi','outputFixes','notice','5UUYbbY','2375450qlkuXm','eslint-plugin-react'];a48c=function(){return t;};return a48c();}(function(a,b){const p=a48d,c=a();while(!![]){try{const d=-parseInt(p(0x168))/0x1*(-parseInt(p(0x176))/0x2)+-parseInt(p(0x15f))/0x3*(-parseInt(p(0x179))/0x4)+parseInt(p(0x154))/0x5*(parseInt(p(0x17b))/0x6)+parseInt(p(0x166))/0x7*(parseInt(p(0x160))/0x8)+parseInt(p(0x158))/0x9*(parseInt(p(0x171))/0xa)+parseInt(p(0x155))/0xb+-parseInt(p(0x178))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x8ded1));const a48b=(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;};}()),a48a=a48b(this,function(){const q=a48d;return a48a[q(0x167)]()['search']('(((.+)+)+)+$')[q(0x167)]()[q(0x15e)](a48a)['search']('(((.+)+)+)+$');});a48a();import a48e from'path';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x154;let f=c[d];return f;},a48d(a,b);}import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command[a48r(0x17a)]({'name':a48r(0x15d),'usage':a48r(0x157),'maxArgLength':0x1,'validOpts':[a48r(0x175)],'mustBeInMakaProject':!![],'shortDesc':a48r(0x159),'description':'\x0a\x20\x20Lint\x20the\x20\x22./app/imports\x22\x20directory.\x0a\x0a\x20\x20This\x20command\x20will\x20install\x20and\x20conigure\x20ESLint\x20if\x20not\x20already\x20setup.\x0a\x0a\x20\x20You\x20can\x20find\x20the\x20eslint\x20config\x20at\x20\x22./app/.eslintrc.json\x22\x0a\x20\x20','examples':[a48r(0x169)]},async function(a,b){const s=a48r;try{const c=this[s(0x15b)]['findAppDirectory'](),d=this[s(0x15b)]['checkNpmPackage'](s(0x164)),f=this[s(0x15b)][s(0x174)](s(0x156)),g=this[s(0x15b)][s(0x174)](s(0x16b)),h=[];!d&&h[s(0x16f)](s(0x164));!f&&h[s(0x16f)](s(0x156));!g&&h[s(0x16f)](s(0x16b));h[s(0x16d)]>0x0&&await this[s(0x15b)][s(0x162)](h[s(0x16c)]('\x20'),{'dev':!![]});const i=this[s(0x15b)][s(0x177)](a48e[s(0x16c)](c,s(0x170)));if(!i){const n={'noRename':!![]};await this[s(0x15b)][s(0x161)]({'srcPath':'eslint/eslintrc.json','destPath':a48e[s(0x16c)](c,s(0x170)),'framework':'service','context':n});}const j=new ESLint(),k=await j[s(0x15a)]([a48e[s(0x16c)](c,s(0x15c),'**')]),l=await j[s(0x16a)]('stylish'),m=l['format'](k);m[s(0x16d)]>0x0?Log['bright'](m):Log['success'](s(0x173)),Log['notice'](s(0x163)+c+s(0x16e)),b[s(0x175)]?await ESLint[s(0x17c)](k):Log[s(0x17d)](s(0x165));}catch(o){console[s(0x172)](o);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a49z=a49d;(function(a,b){const w=a49d,c=a();while(!![]){try{const d=parseInt(w(0x1ac))/0x1*(-parseInt(w(0x195))/0x2)+parseInt(w(0x19a))/0x3+parseInt(w(0x18a))/0x4*(parseInt(w(0x1a0))/0x5)+parseInt(w(0x196))/0x6*(parseInt(w(0x1b4))/0x7)+-parseInt(w(0x1b3))/0x8+parseInt(w(0x18b))/0x9*(-parseInt(w(0x192))/0xa)+parseInt(w(0x19d))/0xb*(-parseInt(w(0x1b2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xea150));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a49d;if(c){const e=c[x(0x1aa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const y=a49d;return a49a[y(0x198)]()['search'](y(0x18f))[y(0x198)]()['constructor'](a49a)[y(0x1b6)](y(0x18f));});a49a();function a49c(){const B=['sha256','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','568084EgRVTa','12GzErKh','isFile','toString','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','2174193JWPfwD','create','password','11ZhslFu','assign','maka\x20login','500995Zytnos','cert','toHex','exit','Email:','https://','parse','header','cacert','help','apply','setGlobalConfig','2wduXgP','Logging\x20into\x20https://','/api/v1/login','failure','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','start','2390280AoHfDH','3868168SMGJqD','4489289gmKkGs','error','search','Logging\x20in','get','post','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','env','localhost','fsi','authToken','login','email','Preflight\x20Check','20GxvSFo','896355PpNRVi','www.maka-cli.com','Using\x20CA\x20Cert\x20','getGlobalConfig','(((.+)+)+)+$','notice','success','30PIEHuQ'];a49c=function(){return B;};return a49c();}import a49e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x189;let f=c[d];return f;},a49d(a,b);}import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a49z(0x1bb)]['MAKA_DEV']==='True'?a49z(0x1bc):a49z(0x18c);Command[a49z(0x19b)]({'name':a49z(0x1bf),'validOpts':['email','password',a49z(0x1a9),'cacert','debug'],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a49z(0x199),'examples':[a49z(0x19f),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const A=a49z,c=Log['withSpinner']();try{let d='';b['cacert']&&(this[A(0x1bd)][A(0x197)](b['cacert'])?(d=b[A(0x1a8)],Log[A(0x190)](A(0x18d)+d)):Log[A(0x1b5)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[A(0x1bd)][A(0x18e)]();if(f[A(0x1a1)]){if(this[A(0x1bd)][A(0x197)](f[A(0x1a1)]))d=f['cert'];else{Log[A(0x1b5)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);return;}}Log[A(0x1a7)](A(0x1ad)+hostname);const g={'url':A(0x1a5)+hostname+'/api/v1/status'};b[A(0x1a8)]&&Object[A(0x19e)](g,{'cert':d});c[A(0x1b1)](A(0x189));const {statusCode:h}=await HTTPS[A(0x1b8)](g);if(h===0x198){c[A(0x1af)]();throw A(0x1ba);}if(h!==0xc8){c[A(0x1af)]();throw A(0x1a5)+hostname+A(0x194);}c[A(0x191)]();const i=b[A(0x1c0)]?b[A(0x1c0)]:await Actions['ask'](A(0x1a4)),j=b[A(0x19c)]?b['password']:await Actions['ask']('Password:\x20',!![]),k=a49e['md'][A(0x193)][A(0x19b)]();k['update'](j);const l=k['digest']()[A(0x1a2)](),m={'hostname':hostname,'path':A(0x1ae),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0x1a8)]&&Object[A(0x19e)](m,{'cert':d});c['start'](A(0x1b7));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c[A(0x1af)]('\x0a');throw A(0x1b0)+hostname;}const p=JSON[A(0x1a6)](n);if(p[A(0x1be)]){const q={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':p[A(0x1be)]},'data':{}};b[A(0x1a8)]&&Object[A(0x19e)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x1b9)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0x1b0)+hostname;const u={'token':p,'hash':t};this[A(0x1bd)][A(0x1ab)](u);}else{c[A(0x1af)]();throw p;}c[A(0x191)]();}catch(v){c[A(0x1af)](),console['error'](v),process[A(0x1a3)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a50o=a50d;(function(a,b){const l=a50d,c=a();while(!![]){try{const d=parseInt(l(0x97))/0x1*(parseInt(l(0x88))/0x2)+-parseInt(l(0x92))/0x3*(-parseInt(l(0x9d))/0x4)+parseInt(l(0x83))/0x5+-parseInt(l(0x7b))/0x6+-parseInt(l(0x9b))/0x7*(parseInt(l(0x84))/0x8)+-parseInt(l(0x8e))/0x9+parseInt(l(0x8a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xa0f25));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a50d;if(c){const e=c[m(0x75)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const n=a50d;return a50a['toString']()[n(0x8d)]('(((.+)+)+)+$')[n(0x7e)]()[n(0x79)](a50a)[n(0x8d)](n(0x82));});a50a();import{Command}from'../command.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x6f;let f=c[d];return f;},a50d(a,b);}function a50c(){const q=['assign','maka\x20logout','(((.+)+)+)+$','1980335iNyBZP','88KmsKnO','failure','exit','Logging\x20out\x20of\x20https://','16vVAiAn','withSpinner','20391610PpPvbc','get','https://','search','8513730xEDJGF','post','start','token','22947ZjfuNy','env','Using\x20CA\x20Cert\x20','cacert','authToken','68979NaryFH','/api/v1/logoutAll','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','www.maka-cli.com','106687QEWiga','cert','44qludjB','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','logout','/api/v1/status','header','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','apply','Logging\x20out','isFile','error','constructor','success','7790046wXfWfY','True','fsi','toString','MAKA_DEV'];a50c=function(){return q;};return a50c();}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a50o(0x93)][a50o(0x7f)]===a50o(0x7c)?'localhost':a50o(0x9a);Command['create']({'name':a50o(0x71),'validOpts':[a50o(0x95)],'usage':a50o(0x81),'maxArgLength':0x2,'shortDesc':a50o(0x70),'disableAuthCheck':!![],'examples':[a50o(0x81)]},async function(a,b){const p=a50o,c=Log[p(0x89)]();try{let d='';b['cacert']&&(this[p(0x7d)][p(0x77)](b[p(0x95)])?(d=b[p(0x95)],Log['notice'](p(0x94)+d)):Log['error'](p(0x74)+d));const f=await this[p(0x7d)]['getGlobalConfig']();if(f[p(0x9c)]){if(this[p(0x7d)][p(0x77)](f[p(0x9c)]))d=f[p(0x9c)];else{c[p(0x85)]();throw Log[p(0x78)](p(0x6f)+d);}}Log[p(0x73)](p(0x87)+hostname);const g={'url':p(0x8c)+hostname+p(0x72)};b[p(0x95)]&&Object[p(0x80)](g,{'cert':d});c[p(0x90)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[p(0x8b)](g);if(h===0x198){c[p(0x85)]();throw p(0x99);}c['success']();if(h!==0xc8){c[p(0x85)]();throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}if(!f?.[p(0x91)]?.['authToken'])throw Log[p(0x78)]('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');c[p(0x90)](p(0x76));const i={'hostname':hostname,'path':p(0x98),'data':{},'headers':{'x-auth-token':f[p(0x91)][p(0x96)]}};b[p(0x95)]&&Object[p(0x80)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x8f)](i);if(j===0x198){c[p(0x85)]('\x0a');throw p(0x99);}this[p(0x7d)]['setGlobalConfig']({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x7a)]();}catch(k){k&&console['error'](k),process[p(0x86)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a51k=a51d;(function(a,b){const h=a51d,c=a();while(!![]){try{const d=-parseInt(h(0x1bb))/0x1*(-parseInt(h(0x1b3))/0x2)+-parseInt(h(0x1bf))/0x3*(-parseInt(h(0x1b2))/0x4)+-parseInt(h(0x1b9))/0x5+parseInt(h(0x1c4))/0x6*(-parseInt(h(0x1b4))/0x7)+-parseInt(h(0x1cd))/0x8*(parseInt(h(0x1c2))/0x9)+-parseInt(h(0x1cc))/0xa*(-parseInt(h(0x1c7))/0xb)+-parseInt(h(0x1c0))/0xc*(parseInt(h(0x1c9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xd2887));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1b1;let f=c[d];return f;},a51d(a,b);}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a51d;if(c){const e=c[i(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const j=a51d;return a51a[j(0x1c5)]()[j(0x1c3)](j(0x1b5))[j(0x1c5)]()[j(0x1b1)](a51a)[j(0x1c3)]('(((.+)+)+)+$');});a51a();import a51e from'fs';import a51f from'path';function a51c(){const m=['getConfigPath','readFileSync','log','4596153tBKtUe','162540crRfyA','apply','2668617LQiGrK','search','6TuOmlM','toString','sshSync','11FnyaxQ','pm2\x20logs','182yfNdij','maka\x20l\x20-e\x20p','maka\x20logs','11358230jMEnXM','16AbErTs','constructor','4YocFMw','85024FJtGFJ','2543177OAIIif','(((.+)+)+)+$','create','maka\x20logs\x20--env\x20dev','env','5635980joZtEG','View\x20the\x20PM2\x20logs','11bRlGZy'];a51c=function(){return m;};return a51c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a51k(0x1b6)]({'name':'logs','aliases':['l',a51k(0x1be)],'usage':a51k(0x1cb),'requiredOpts':[a51k(0x1b8)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a51k(0x1ba),'examples':[a51k(0x1b7),'maka\x20logs\x20--env\x20staging',a51k(0x1ca)]},function(a,b){const l=a51k,c=l(0x1c8),d=this['fsi'][l(0x1bc)](b[l(0x1b8)]),e=a51f['join'](d,'ssh.json'),f=a51e[l(0x1bd)](e),g=JSON['parse'](f[l(0x1c5)]());Object['assign'](g,{'env':d}),SSH[l(0x1c6)](c,g,{'tty':!![],'verbose':!![]});});
|