@maka/maka-cli 4.5.26 → 4.5.27
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/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.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/exec.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(a,b){var k=a53d,c=a();while(!![]){try{var d=-parseInt(k(
|
|
1
|
+
(function(a,b){var k=a53d,c=a();while(!![]){try{var d=-parseInt(k(0xee))/0x1+parseInt(k(0x115))/0x2+parseInt(k(0x120))/0x3*(parseInt(k(0x122))/0x4)+-parseInt(k(0x142))/0x5*(parseInt(k(0xdc))/0x6)+-parseInt(k(0xe4))/0x7*(parseInt(k(0x10f))/0x8)+parseInt(k(0xd9))/0x9*(-parseInt(k(0xe0))/0xa)+parseInt(k(0x113))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x922b5));export var Size;(function(a){var l=a53d;a[l(0x12c)]='tiny',a[l(0x132)]=l(0xda),a[l(0xff)]='medium',a[l(0xf6)]=l(0x116),a[l(0xe2)]=l(0x104);}(Size||(Size={})));export var Rating;(function(c){var o=a53d,d=(function(){var f=!![];return function(g,h){var i=f?function(){var m=a53d;if(h){var j=h[m(0x125)](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var n=a53d;return e[n(0x11b)]()[n(0x111)](n(0x12f))['toString']()[n(0x11d)](e)[n(0x111)](n(0x12f));});e(),c[o(0x10b)]=o(0xfc),c[o(0xe5)]=o(0xeb),c[o(0xdf)]=o(0x107);}(Rating||(Rating={})));export var Category;function a53c(){var v=['Gloves','4zDNzIA','leg\x20armor','BEACH','apply','NORTH','east','rifle','Key','Metallic','DESERT','Tiny','Cup','INSIDE','(((.+)+)+)+$','weapon','ArmArmor','Small','desert','gloves','shield','red','cave','mountain','circle','Shield','north','Gold','SOUTH','unknown','Bumpy','Blue','gold','5dBPVHN','2141748rKnKkd','small','LegArmor','34584MwpJzz','cup','Grainy','Legendary','50KpaPIT','square','VeryLarge','metallic','501550CpdhGg','Rare','Grey','south','book','FOREST','bumpy','rare','grainy','Blade','589788uhArBU','SEA','yellow','Weapon','Book','Yellow','TOWER','Rough','Large','WEST','hat','orange','Brown','inside','common','fuzzy','MOUNTAIN','Medium','Purple','Green','purple','Rectangle','very\x20large','boots','Hat','legendary','tower','BodyArmor','Fuzzy','Common','outside','green','Helmet','32XRDGBx','Boots','search','key','15487373CwUvsX','rectangle','959774giZLdX','large','EAST','forest','sea','down','toString','underground','constructor','Unknown','Circle','2348673wEiafs'];a53c=function(){return v;};return a53c();}(function(a){var p=a53d;a[p(0xf1)]=p(0x130),a[p(0x13a)]=p(0x135),a[p(0x129)]=p(0x112),a[p(0x121)]=p(0x134),a[p(0x10e)]='helmet',a[p(0x106)]=p(0xf8),a[p(0x110)]=p(0x105),a[p(0xdb)]=p(0x123),a[p(0x131)]='arm\x20armor',a[p(0x109)]='body\x20armor',a[p(0xf2)]=p(0xe8),a[p(0x12d)]=p(0xdd),a[p(0x11e)]=p(0x13e);}(Category||(Category={})));function a53d(a,b){var c=a53c();return a53d=function(d,e){d=d-0xd9;var f=c[d];return f;},a53d(a,b);}export var Shape;(function(a){var q=a53d;a[q(0x11f)]=q(0x139),a['Square']=q(0xe1),a['Triangle']='triangle',a[q(0x103)]=q(0x114),a[q(0xed)]='blade',a['Rifle']=q(0x128);}(Shape||(Shape={})));export var Color;(function(a){var r=a53d;a['Red']=r(0x136),a[r(0x140)]='blue',a[r(0x101)]=r(0x10d),a[r(0xf3)]=r(0xf0),a['Orange']=r(0xf9),a[r(0x100)]=r(0x102),a[r(0xe6)]='grey',a[r(0xfa)]='brown',a[r(0x13c)]=r(0x141);}(Color||(Color={})));export var Texture;(function(a){var s=a53d;a['Smooth']='smooth',a[s(0xf5)]='rough',a[s(0x13f)]=s(0xea),a[s(0x10a)]=s(0xfd),a[s(0xde)]=s(0xec),a[s(0x12a)]=s(0xe3);}(Texture||(Texture={})));export var RoomType;(function(a){var t=a53d;a[t(0x12e)]=t(0xfb),a['OUTSIDE']=t(0x10c),a['UNDERGROUND']=t(0x11c),a['CAVE']=t(0x137),a[t(0xf4)]=t(0x108),a[t(0xe9)]=t(0x118),a[t(0x12b)]=t(0x133),a[t(0xfe)]=t(0x138),a[t(0x124)]='beach',a[t(0xef)]=t(0x119);}(RoomType||(RoomType={})));export var Direction;(function(a){var u=a53d;a[u(0x126)]=u(0x13b),a[u(0x117)]=u(0x127),a[u(0x13d)]=u(0xe7),a[u(0xf7)]='west',a['UP']='up',a['DOWN']=u(0x11a);}(Direction||(Direction={})));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(0x18f))/0x1+parseInt(f(0x190))/0x2+parseInt(f(0x196))/0x3*(parseInt(f(0x191))/0x4)+-parseInt(f(0x199))/0x5*(parseInt(f(0x18d))/0x6)+parseInt(f(0x194))/0x7+-parseInt(f(0x18e))/0x8*(-parseInt(f(0x18b))/0x9)+-parseInt(f(0x18c))/0xa*(parseInt(f(0x193))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xce695));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0x18a)]()[h(0x192)](h(0x197))[h(0x18a)]()[h(0x195)](a54a)[h(0x192)]('(((.+)+)+)+$');});function a54c(){var i=['5567940iYbyjO','constructor','5036286ZmlnNo','(((.+)+)+)+$','apply','2405DXTHPO','toString','6219afaLys','70sPpiow','12930HyklGU','11920zCJgDW','798346xlpKYm','912016OStCFJ','4ZkbPYl','search','2010514GJhSab'];a54c=function(){return i;};return a54c();}a54a();function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x18a;var f=c[d];return f;},a54d(a,b);}export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xb9))/0x1*(-parseInt(f(0xb1))/0x2)+parseInt(f(0xba))/0x3*(parseInt(f(0xb6))/0x4)+parseInt(f(0xb7))/0x5*(parseInt(f(0xb5))/0x6)+-parseInt(f(0xbc))/0x7+parseInt(f(0xbb))/0x8+-parseInt(f(0xb4))/0x9*(-parseInt(f(0xb2))/0xa)+-parseInt(f(0xb0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x96e94));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(0xb3)]()[g(0xb8)]('(((.+)+)+)+$')[g(0xb3)]()['constructor'](a55a)[g(0xb8)]('(((.+)+)+)+$');});a55a();function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xb0;var f=c[d];return f;},a55d(a,b);}export{};function a55c(){var h=['702654Ivirlj','248yWRXGz','25AFrLxs','search','1lYTxux','27903xUMTPK','3528776dgzwVU','2991765nCttSd','21008163EfOrdQ','2345768gdlxxt','270xcCmya','toString','59724bjXsEi'];a55c=function(){return h;};return a55c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a56c(){const H=['3548952XUNrQw','argv','(((.+)+)+)+$','\x20Map\x20','head','white','Available\x20exits\x20will\x20be\x20shown\x20here...','key','45%','64tiYsOx','split','torso','log','getOtherSide','30NNwtWL','pushLine','Torso:\x20','currentLocation','\x0aThere\x20are\x20no\x20exits\x20here.','70%','feet','10%','Side\x20Quest\x20Adventure\x20Game','line','rightHand','20%','checkIfLocked','Feet:\x20','setContent','1907076eCbUjk','render','equip','lock','escape','Head:\x20','<<<<<<<<---------\x20Terminating\x20game','clear','OUTSIDE','gloves','scroll','Left\x20Hand:\x20','enter','exit','getValue','name','focus','search','arms','logFilePath','getAllItems','75%','Right\x20Hand:\x20','append','\x20Inventory\x20','585417vtSOgq','5155917ZPZRRN','-----\x20Exits\x20------\x0a','415512CQvFzV','player','\x20Game\x20Log\x20','parse','logBox','\x20(Unlocked)','yellow','clearValue','write','constructor','toString','C-c','Your\x20equipped\x20items\x20will\x20be\x20listed\x20here...','forEach','25%','checkIfLockable','take','Your\x20items\x20will\x20be\x20listed\x20here...','equipment','----->>>>>>\x20Initializing\x20Game','10125384ruxPZv','Legs:\x20','10YVxLXb','box','map','join','None','legs','getInstance','Currently\x20in:\x20','textbox','Gloves:\x20','getWelcomeMessage','100%','inventory','12mSltsS','removeAllListeners','90%','1936410lsDUkT','11jfWncR','exits','leftHand','1yJstIJ'];a56c=function(){return H;};return a56c();}const a56G=a56d;(function(a,b){const y=a56d,c=a();while(!![]){try{const d=parseInt(y(0x12d))/0x1*(parseInt(y(0x14b))/0x2)+-parseInt(y(0x167))/0x3*(-parseInt(y(0x18a))/0x4)+parseInt(y(0x17d))/0x5*(-parseInt(y(0x18d))/0x6)+-parseInt(y(0x164))/0x7*(-parseInt(y(0x137))/0x8)+-parseInt(y(0x12e))/0x9*(parseInt(y(0x13c))/0xa)+parseInt(y(0x12a))/0xb*(parseInt(y(0x17b))/0xc)+-parseInt(y(0x165))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xa05b1));import a56e from'blessed';import{capitalCase}from'change-case';import a56f from'./game.js';import{RoomType}from'./types/enums.js';import{Player}from'./models/player.js';import{Door}from'./models/door.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x12a;let f=c[d];return f;},a56d(a,b);}import{Logger}from'./utilities/logger.js';export async function main(c,d,e){const A=a56d,f=(function(){let h=!![];return function(i,j){const k=h?function(){if(j){const l=j['apply'](i,arguments);return j=null,l;}}:function(){};return h=![],k;};}()),g=f(this,function(){const z=a56d;return g[z(0x171)]()['search'](z(0x130))['toString']()[z(0x170)](g)[z(0x15c)](z(0x130));});g();try{const h=a56e['screen']({'smartCSR':!![],'title':A(0x144)}),i=a56e['box']({'top':'0%','left':A(0x160),'width':A(0x175),'height':A(0x136),'border':{'type':A(0x145)},'label':A(0x163),'content':A(0x178),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':A(0x16d)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]}),j=t=>{const B=A,u=t[B(0x15f)]()[B(0x17f)](v=>v[B(0x15a)]);i[B(0x14a)](u[B(0x180)]('\x0a')),h[B(0x14c)]();};h['append'](i);const k=a56e[A(0x17e)]({'top':'45%','left':A(0x160),'width':'25%','height':'25%','border':{'type':A(0x145)},'label':'\x20Equipment\x20','content':A(0x173),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':A(0x16d)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});h[A(0x162)](k);const l=t=>{const C=A;k[C(0x14a)](C(0x150)+(t['head']?t[C(0x132)][C(0x15a)]:C(0x181))+'\x0a'+(C(0x13e)+(t[C(0x139)]?t[C(0x139)][C(0x15a)]:'None')+'\x0a')+(C(0x17c)+(t[C(0x182)]?t[C(0x182)][C(0x15a)]:'None')+'\x0a')+(C(0x149)+(t[C(0x142)]?t[C(0x142)][C(0x15a)]:C(0x181))+'\x0a')+('Arms:\x20'+(t[C(0x15d)]?t['arms']['name']:C(0x181))+'\x0a')+(C(0x186)+(t[C(0x154)]?t['gloves']['name']:C(0x181))+'\x0a')+(C(0x156)+(t[C(0x12c)]?t['leftHand'][C(0x15a)]:C(0x181))+'\x0a')+(C(0x161)+(t['rightHand']?t[C(0x146)][C(0x15a)]:C(0x181))+'\x0a')),h['render']();},m=a56e[A(0x17e)]({'top':A(0x141),'left':'75%','width':A(0x175),'height':A(0x147),'border':{'type':'line'},'label':A(0x131),'content':A(0x134),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':A(0x16d)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});h[A(0x162)](m);const n=t=>{const D=A;let u=D(0x184)+t['name']+'\x0a\x0a';u+=D(0x166),t[D(0x12b)]['size']>0x0?t[D(0x12b)][D(0x174)]((v,w)=>{const E=D;if(v instanceof Door){const x=v[E(0x13b)](t);x['roomType']===RoomType[E(0x153)]?u+=capitalCase(w)+':\x20'+x[E(0x15a)]:u+=capitalCase(w)+':\x20'+v[E(0x15a)];if(v[E(0x148)]())u+='\x20(Locked)';else v[E(0x176)]()&&(u+=E(0x16c));u+='\x0a';}else u+=capitalCase(w)+'\x0a';}):u+=D(0x140),m[D(0x14a)](u),h[D(0x14c)]();},o=a56e['box']({'id':A(0x16b),'top':'0%','left':'0%','width':'75%','height':A(0x18c),'border':{'type':'line'},'label':A(0x169),'scrollable':!![],'alwaysScroll':!![],'scrollbar':{'ch':'\x20','track':{'bg':'yellow'},'style':{'inverse':!![]}},'keys':!![],'mouse':!![],'tags':!![]});o[A(0x18b)]('mousemove'),h['append'](o);const p=a56e[A(0x185)]({'bottom':0x0,'left':0x0,'width':A(0x188),'height':A(0x143),'tags':!![],'border':{'type':A(0x145)},'style':{'fg':A(0x133),'border':{'fg':'cyan'}},'keys':!![],'mouse':!![],'inputOnFocus':!![],'vi':!![]});h[A(0x162)](p),h['key']([A(0x14f),A(0x172)],()=>process['exit'](0x0)),p[A(0x15b)](),h[A(0x14c)]();const q=Logger[A(0x183)](e[A(0x15e)],h),r=new Player({'playerName':c});q[A(0x16f)](A(0x17a));const s=a56f['getInstance'](r,d);o['setContent'](s[A(0x187)]()),l(s['player'][A(0x179)]),j(s[A(0x168)]['inventory']),n(s[A(0x168)][A(0x13f)]),p[A(0x135)]([A(0x157)],async()=>{const F=A,t=p[F(0x159)](),u=s['handleInput'](t);(t[F(0x138)]('\x20')[0x0]===F(0x177)||F(0x14d)||'unequip')&&(j(s[F(0x168)][F(0x189)]),l(s['player'][F(0x179)])),(t['split']('\x20')[0x0]==='go'||F(0x14e)||'unlock')&&n(s[F(0x168)]['currentLocation']),t[F(0x138)]('\x20')[0x0]===F(0x152)&&o[F(0x14a)](''),u===null&&(console[F(0x13a)]('Thanks\x20for\x20playing!'),h[F(0x14c)](),q[F(0x16f)](F(0x151)),process[F(0x158)](0x0)),o[F(0x13d)](u),o[F(0x155)](0x1),p[F(0x16e)](),p[F(0x15b)](),h['render']();});}catch(t){console[A(0x13a)](t),process[A(0x158)](0x1);}}const args=process[a56G(0x12f)]['slice'](0x2);main(args[0x0],JSON[a56G(0x16a)](args[0x1]),JSON[a56G(0x16a)](args[0x2]));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a57k=a57d;(function(a,b){const h=a57d,c=a();while(!![]){try{const d=parseInt(h(
|
|
1
|
+
const a57k=a57d;(function(a,b){const h=a57d,c=a();while(!![]){try{const d=parseInt(h(0x1c1))/0x1*(parseInt(h(0x1ba))/0x2)+parseInt(h(0x1bb))/0x3*(-parseInt(h(0x1d3))/0x4)+parseInt(h(0x1dc))/0x5+parseInt(h(0x1d9))/0x6+parseInt(h(0x1cf))/0x7+parseInt(h(0x1ca))/0x8+-parseInt(h(0x1db))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x1be53));function a57c(){const s=['[INFO]\x20[','error','toISOString','setContent','hasScreen','search','writeFileSync','48368YrrOKC','filePath','children','apply','ensureLogFileExists','1445150JMrrUd','logBox','\x20could\x20not\x20be\x20found\x20on\x20screen\x20','render','4lmLWId','Screen\x20must\x20be\x20provided\x20when\x20initializing\x20the\x20Logger\x20for\x20the\x20first\x20time.','appendFileSync','log','find','screen','886872tDQVCn','side-quest.log','3786453GAOZlT','876500ZjmxNN','existsSync','instance','write','mkdirSync','.maka','content','(((.+)+)+)+$','90282smztLT','408165FeEkua','join','type','dirname','toString','scrollTo','3jjggNK','options'];a57c=function(){return s;};return a57c();}const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a57d;if(c){const e=c[i(0x1cd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const j=a57d;return a57a['toString']()[j(0x1c8)]('(((.+)+)+)+$')[j(0x1bf)]()['constructor'](a57a)['search'](j(0x1b9));});a57a();import a57e from'fs';import a57f from'os';function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a57d(a,b);}import a57g from'path';const homeDir=a57f['homedir']();export class Logger{static [a57k(0x1b4)];['filePath'];[a57k(0x1d8)];constructor(a,b){const l=a57k;this[l(0x1cb)]=a,this['screen']=b,this[l(0x1ce)]();}static['getInstance'](a=a57g[a57k(0x1bc)](homeDir,a57k(0x1b7),a57k(0x1da)),b){const m=a57k;if(!Logger[m(0x1b4)]){if(!b)throw new Error(m(0x1d4));Logger[m(0x1b4)]=new Logger(a,b);}return Logger[m(0x1b4)];}['ensureLogFileExists'](){const n=a57k,a=a57g[n(0x1be)](this[n(0x1cb)]);!a57e['existsSync'](a)&&a57e[n(0x1b6)](a,{'recursive':!![]}),!a57e[n(0x1b3)](this[n(0x1cb)])&&a57e[n(0x1c9)](this[n(0x1cb)],'');}[a57k(0x1b5)](a){const o=a57k,b=new Date()[o(0x1c5)](),c=o(0x1c3)+b+']\x20'+a+'\x0a';a57e[o(0x1d5)](this[o(0x1cb)],c);}[a57k(0x1c4)](a){const p=a57k,b=new Date()[p(0x1c5)](),c='[ERROR]\x20['+b+']\x20'+a+'\x0a';a57e[p(0x1d5)](this['filePath'],c);}[a57k(0x1d6)](a){const q=a57k,b=this['screen']?.[q(0x1cc)][q(0x1d7)](c=>c[q(0x1bd)]==='box'&&c[q(0x1c2)]['id']===q(0x1d0));b?(b[q(0x1c6)](b[q(0x1b8)]+'\x0a'+a),b[q(0x1c0)](b['getScrollHeight']()),this['screen']?.[q(0x1d2)]()):this[q(0x1c4)]('The\x20logbox\x20'+b+q(0x1d1)+this['screen']),this['write'](a);}[a57k(0x1c7)](){const r=a57k;return!!this[r(0x1d8)];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a58m=a58d;(function(a,b){const k=a58d,c=a();while(!![]){try{const d=-parseInt(k(0xf4))/0x1*(parseInt(k(0x107))/0x2)+-parseInt(k(0xfc))/0x3+parseInt(k(0x10c))/0x4*(-parseInt(k(0x102))/0x5)+parseInt(k(0x10a))/0x6*(-parseInt(k(0xf2))/0x7)+-parseInt(k(0xf9))/0x8*(parseInt(k(0xf6))/0x9)+-parseInt(k(0xee))/0xa*(parseInt(k(0x10b))/0xb)+parseInt(k(0xf3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a58c,0x816c9));const a58b=(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;};}()),a58a=a58b(this,function(){const l=a58d;return a58a[l(0x105)]()[l(0x103)](l(0x101))[l(0x105)]()['constructor'](a58a)[l(0x103)](l(0x101));});a58a();import a58e from'path';function a58d(a,b){const c=a58c();return a58d=function(d,e){d=d-0xe9;let f=c[d];return f;},a58d(a,b);}import{spawn}from'child_process';import a58f from'./play.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';function a58c(){const p=['276PdUGQb','log','Play\x20a\x20little\x20side-quest','side-quest.log','exit','./sideQuest/ui.js','14480uwsQYV','getGlobalMakaDir','join','player','7ymKTtp','33735336AhqfIf','35779HLclXG','Thanks\x20for\x20playing!','948411bAmfxP','ask','sideQuestAnswer','16gWyJmm','create','list','2326725UAPRoY','options','stringify','node','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...','(((.+)+)+)+$','59065LItFfC','search','maka\x20play:side-quest','toString','side-quest','16wRJLue','Commoner','What\x20is\x20your\x20name?','92346EzmwUL','1353Hkmtcb'];a58c=function(){return p;};return a58c();}import{dungeonConfig,shadowrunConfig}from'./sideQuest/scenes/rooms.js';import{fileURLToPath}from'url';import{dirname}from'path';const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename);Command[a58m(0xfa)]({'name':a58m(0x106),'usage':a58m(0x104),'shortDesc':a58m(0xea),'aliases':['sq'],'description':a58m(0x100),'validOpts':[a58m(0xf1)]},async function(a,b){const n=a58m;try{const c=this['fsi'][n(0xef)](),d=a58e[n(0xf0)](c,n(0xeb)),e=b[n(0xf1)]?b[n(0xf1)]:await Actions[n(0xf7)](n(0x109))||n(0x108),f={...b,'logFilePath':d},g={'type':n(0xfb),'name':n(0xf8),'message':'Which\x20Side-Quest\x20would\x20you\x20like\x20to\x20play?','choices':[{'name':'dungeon','value':dungeonConfig},{'name':'shadowrun','value':shadowrunConfig}]},{sideQuestAnswer:h}=await Actions[n(0xfd)](g);if(e&&h){const i=spawn(n(0xff),[a58e['resolve'](__dirname,n(0xed)),e,JSON[n(0xfe)](h),JSON[n(0xfe)](f)],{'stdio':'inherit'});i['on'](n(0xec),()=>{const o=n;console[o(0xe9)](o(0xf5));});}}catch(j){console[n(0xe9)](j);}},a58f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a59i=a59d;(function(a,b){var f=a59d,c=a();while(!![]){try{var d=-parseInt(f(0xfe))/0x1*(-parseInt(f(0xf7))/0x2)+parseInt(f(0xfb))/0x3+parseInt(f(0xfd))/0x4*(-parseInt(f(0xff))/0x5)+-parseInt(f(0x106))/0x6+-parseInt(f(0x102))/0x7+parseInt(f(0x100))/0x8+-parseInt(f(0xf8))/0x9*(-parseInt(f(0x104))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a59c,0x42877));var a59b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a59d;if(c){var e=c[g(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a59a=a59b(this,function(){var h=a59d;return a59a[h(0x105)]()['search']('(((.+)+)+)+$')['toString']()[h(0xfa)](a59a)[h(0x107)](h(0xfc));});a59a();import a59e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';function a59c(){var k=['create','61260GZKzcr','toString','1306830GghkBC','search','10VyFzPi','342LjHtjr','npx\x20command-line-snake','constructor','513921MVPHds','(((.+)+)+)+$','99088lhVrPH','62247cKCDmw','55vNRJvV','3242072JNmkWp','apply','2504523PiKgTB'];a59c=function(){return k;};return a59c();}function a59d(a,b){var c=a59c();return a59d=function(d,e){d=d-0xf7;var f=c[d];return f;},a59d(a,b);}Command[a59i(0x103)]({'name':'snake','usage':'maka\x20game:snake','shortDesc':'Play\x20Snake:\x20https://www.npmjs.com/package/command-line-snake','validOpts':[]},async function(){var j=a59i;execSync(j(0xf9),{'stdio':'inherit'});},a59e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a60h=a60d;(function(a,b){var f=a60d,c=a();while(!![]){try{var d=parseInt(f(0x105))/0x1+-parseInt(f(0x100))/0x2+parseInt(f(0x101))/0x3*(parseInt(f(0xfd))/0x4)+-parseInt(f(0xfb))/0x5+-parseInt(f(0xfa))/0x6+-parseInt(f(0x106))/0x7+parseInt(f(0xfc))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a60c,0x7c897));var a60b=(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;};}()),a60a=a60b(this,function(){var g=a60d;return a60a[g(0x103)]()[g(0xfe)]('(((.+)+)+)+$')[g(0x103)]()[g(0x104)](a60a)[g(0xfe)]('(((.+)+)+)+$');});function a60d(a,b){var c=a60c();return a60d=function(d,e){d=d-0xf9;var f=c[d];return f;},a60d(a,b);}a60a();import a60e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';function a60c(){var j=['Play\x20Tetris:\x20https://github.com/robertrypula/simple-tetris','560580ZhDvFK','3kTxxlw','maka\x20game:tetris','toString','constructor','347005TEPMpO','3021452wUhKAo','create','tetris','npx\x20simple-tetris','5145816aIvLap','4879945tWSdhi','14793536yxFlGn','3437828ZJpFOU','search'];a60c=function(){return j;};return a60c();}Command[a60h(0x107)]({'name':a60h(0x108),'usage':a60h(0x102),'shortDesc':a60h(0xff),'validOpts':[]},async function(){var i=a60h;execSync(i(0xf9),{'stdio':'inherit'});},a60e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a61h=a61d;(function(a,b){const f=a61d,c=a();while(!![]){try{const d=parseInt(f(0x6e))/0x1*(-parseInt(f(0x71))/0x2)+parseInt(f(0x85))/0x3*(-parseInt(f(0x77))/0x4)+-parseInt(f(0x83))/0x5*(parseInt(f(0x7b))/0x6)+parseInt(f(0x7a))/0x7+parseInt(f(0x82))/0x8+parseInt(f(0x80))/0x9*(parseInt(f(0x74))/0xa)+-parseInt(f(0x6d))/0xb*(-parseInt(f(0x7d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a61c,0x40ea3));const a61b=(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;};}()),a61a=a61b(this,function(){const g=a61d;return a61a[g(0x73)]()[g(0x6b)](g(0x7c))[g(0x73)]()['constructor'](a61a)[g(0x6b)]('(((.+)+)+)+$');});a61a();function a61c(){const j=['error','search','maka\x20g:route\x20todos/edit','11rVtYUe','8OgJBcG','dir','maka\x20g:scaffold\x20todos','61192dTjSPG','help','toString','2952840vZgCmu','listGenerators','Scaffold\x20various\x20parts\x20of\x20your\x20application','2476jekNDl','\x0a\x20\x20For\x20a\x20list\x20of\x20generators,\x20run\x20\x22maka\x20generate\x20--help\x22\x20or\x20\x22maka\x20g\x20--help\x22\x0a\x20\x20','where','1803788DXElur','2851194SJGRir','(((.+)+)+)+$','7155516HoDsvn','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20generate:scaffold\x20todos','9oRLIMi','findGenerator','1946240SYfUlp','5DOjelQ','invoke','1971xFSlRJ','generate','notice','maka\x20g:package\x20package:name'];a61c=function(){return j;};return a61c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import a61e from'../generators/maka.gen.js';function a61d(a,b){const c=a61c();return a61d=function(d,e){d=d-0x67;let f=c[d];return f;},a61d(a,b);}import{UsageError}from'../error.js';Command['create']({'name':a61h(0x67),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[a61h(0x6f),a61h(0x79),a61h(0x72)],'mustBeInMakaProject':!![],'isRoot':!![],'shortDesc':a61h(0x76),'description':a61h(0x78),'examples':[a61h(0x7f),a61h(0x70),'maka\x20g:template\x20todos/todo_item',a61h(0x69),a61h(0x6c),'maka\x20g:api\x20trucks',a61h(0x7e)]},async function(a,b){const i=a61h,c=a[0x0],d=a61e[i(0x81)](c);if(!d){b[i(0x72)]?(Log[i(0x68)]('Generators:'),a61e[i(0x75)]()):Log[i(0x6a)]('Could\x20not\x20find\x20generator');throw new UsageError();}await d[i(0x84)](a['slice'](0x1),b);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a62d,c=a();while(!![]){try{var d=-parseInt(f(0x189))/0x1*(-parseInt(f(0x18a))/0x2)+-parseInt(f(0x182))/0x3*(-parseInt(f(0x185))/0x4)+parseInt(f(0x184))/0x5+-parseInt(f(0x17e))/0x6+parseInt(f(0x188))/0x7+-parseInt(f(0x187))/0x8+parseInt(f(0x186))/0x9*(-parseInt(f(0x180))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a62c,0xf0996));var a62b=(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;};}()),a62a=a62b(this,function(){var g=a62d;return a62a[g(0x181)]()['search'](g(0x183))[g(0x181)]()[g(0x17f)](a62a)['search'](g(0x183));});a62a();import'./get.command.js';function a62d(a,b){var c=a62c();return a62d=function(d,e){d=d-0x17e;var f=c[d];return f;},a62d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';import'./whoami.sub.cmd.js';function a62c(){var h=['10745832vdmzur','constructor','16232030pyGZMY','toString','12603ofGiJC','(((.+)+)+)+$','8268450HSIVSX','1268DxvMoq','9veemxu','7767432PjTxzS','3901709wpoZMW','671TMOENO','5448WcFbvv'];a62c=function(){return h;};return a62c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a63i=a63d;(function(a,b){const f=a63d,c=a();while(!![]){try{const d=-parseInt(f(0x179))/0x1+parseInt(f(0x183))/0x2+parseInt(f(0x174))/0x3+parseInt(f(0x178))/0x4*(-parseInt(f(0x17e))/0x5)+-parseInt(f(0x17d))/0x6*(parseInt(f(0x180))/0x7)+-parseInt(f(0x172))/0x8+parseInt(f(0x17f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a63c,0x7e0cb));const a63b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a63d;if(c){const e=c[g(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a63a=a63b(this,function(){const h=a63d;return a63a[h(0x171)]()[h(0x182)]('(((.+)+)+)+$')[h(0x171)]()[h(0x175)](a63a)['search'](h(0x185));});a63a();import{Command}from'../../command.js';function a63d(a,b){const c=a63c();return a63d=function(d,e){d=d-0x171;let f=c[d];return f;},a63d(a,b);}import{Log}from'../../tools/log/log.class.js';import{UsageErrorWithSubs}from'../../error.js';const GetCommand=Command['create']({'name':a63i(0x17b),'usage':a63i(0x181),'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a63i(0x17a),'validOpts':[]},async function(a,b){const j=a63i,c=a[0x0],d=this[j(0x184)](c);if(d)this[j(0x173)](c,a,b);else{Log[j(0x17c)](j(0x177));throw new UsageErrorWithSubs();}});export default GetCommand;function a63c(){const k=['Sub-Command\x20not\x20found','3883688jPndJJ','884043iBmhVe','Get\x20various\x20Maka\x20variables\x20and\x20configurations','get','error','2838bGrlAJ','5gjWlUW','16055946kBREeo','6559HkmIyi','maka\x20get:<sub-command>','search','1856454zsgArn','findSubCommand','(((.+)+)+)+$','toString','1184800SxitXH','runSubCommand','751032BlDqZa','constructor','apply'];a63c=function(){return k;};return a63c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a64i=a64d;function
|
|
1
|
+
const a64i=a64d;function a64c(){const k=['1352ivuRlp','toString','2209921jiEXaM','global-config','search','1064544RLxhUs','15091WvAGNV','516244WWILBu','1525QzAwMZ','maka\x20get:global-config','apply','error','(((.+)+)+)+$','6cJFWKt','create','37251yibhsC','log','Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','7386975QifHic','fsi','exit'];a64c=function(){return k;};return a64c();}(function(a,b){const f=a64d,c=a();while(!![]){try{const d=-parseInt(f(0x1b8))/0x1+-parseInt(f(0x1b9))/0x2+parseInt(f(0x1c1))/0x3+-parseInt(f(0x1b2))/0x4*(-parseInt(f(0x1ba))/0x5)+-parseInt(f(0x1bf))/0x6*(parseInt(f(0x1b4))/0x7)+-parseInt(f(0x1b7))/0x8+parseInt(f(0x1c4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a64c,0x3451a));const a64b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a64d;if(c){const e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a64a=a64b(this,function(){const h=a64d;return a64a[h(0x1b3)]()['search'](h(0x1be))[h(0x1b3)]()['constructor'](a64a)[h(0x1b6)](h(0x1be));});a64a();function a64d(a,b){const c=a64c();return a64d=function(d,e){d=d-0x1b1;let f=c[d];return f;},a64d(a,b);}import a64e from'./get.command.js';import{Command}from'../../command.js';Command[a64i(0x1c0)]({'name':a64i(0x1b5),'usage':a64i(0x1bb),'aliases':['gc'],'shortDesc':a64i(0x1c3),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a64i;try{const a=await this[j(0x1c5)]['getGlobalConfig']();console[j(0x1c2)](a);}catch(b){console[j(0x1bd)](b),process[j(0x1b1)](0x0);}},a64e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a65h=a65d;(function(a,b){const f=a65d,c=a();while(!![]){try{const d=parseInt(f(0xf0))/0x1+parseInt(f(0xfb))/0x2+-parseInt(f(0xfc))/0x3+-parseInt(f(0xee))/0x4*(parseInt(f(0xf6))/0x5)+parseInt(f(0xf7))/0x6+parseInt(f(0xf3))/0x7+-parseInt(f(0xf9))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a65c,0x7368e));const a65b=(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;};}()),a65a=a65b(this,function(){const g=a65d;return a65a[g(0xef)]()[g(0xf5)](g(0xf2))[g(0xef)]()['constructor'](a65a)[g(0xf5)](g(0xf2));});a65a();function a65c(){const j=['local-config','search','110RxBwdk','5623824VsYOji','fsi','6426544TdrEHv','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','880568BqsKTP','2664072TLzebU','86916LWGctX','toString','878200wpgShE','create','(((.+)+)+)+$','2704170gnwCOM'];a65c=function(){return j;};return a65c();}import a65e from'./get.command.js';function a65d(a,b){const c=a65c();return a65d=function(d,e){d=d-0xee;let f=c[d];return f;},a65d(a,b);}import{Command}from'../../command.js';Command[a65h(0xf1)]({'name':a65h(0xf4),'usage':'maka\x20get:local-config','mustBeInMakaProject':!![],'aliases':['lc'],'shortDesc':a65h(0xfa),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const i=a65h,a=await this[i(0xf8)]['getProjectConfig']();console['log'](a);},a65e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a66i=a66d;(function(a,b){const g=a66d,c=a();while(!![]){try{const d=parseInt(g(0xfe))/0x1*(-parseInt(g(0x104))/0x2)+parseInt(g(0x105))/0x3*(parseInt(g(0x110))/0x4)+-parseInt(g(0x103))/0x5*(-parseInt(g(0x114))/0x6)+-parseInt(g(0x100))/0x7+parseInt(g(0xfc))/0x8*(parseInt(g(0xff))/0x9)+-parseInt(g(0x10a))/0xa*(parseInt(g(0x118))/0xb)+parseInt(g(0xfa))/0xc*(-parseInt(g(0xfd))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a66c,0xec097));const a66b=(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;};}()),a66a=a66b(this,function(){const h=a66d;return a66a['toString']()[h(0x111)]('(((.+)+)+)+$')[h(0x117)]()[h(0x10d)](a66a)['search']('(((.+)+)+)+$');});function a66d(a,b){const c=a66c();return a66d=function(d,e){d=d-0xfa;let f=c[d];return f;},a66d(a,b);}a66a();function a66c(){const k=['33qFiMSf','168BrTMHX','authToken','11514088YcVorY','461383sNfmXn','313tptIAu','9UPGMLc','948444ZMEZFt','notice','token','684885MSAyic','5204nIvVej','64374CSDYtj','Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','maka\x20get:whoami','User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','decode','1566020lOmAxx','roles','If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','constructor','hash','user','116DoCUEE','search','User\x20Access\x20Token:\x20\x20','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','36SFIneO','join','exit','toString'];a66c=function(){return k;};return a66c();}import a66e from'./get.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a66f from'jsonwebtoken';Command['create']({'name':'whoami','usage':a66i(0x107),'shortDesc':a66i(0x10c),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a66i;try{const a=await this['fsi']['getGlobalConfig']();if(a[j(0x10e)]){const b=a66f[j(0x109)](a['hash']);Log[j(0x101)](j(0x113)+b?.[j(0x10f)]),Log['notice'](j(0x108)+a[j(0x102)]?.['userId']),Log['notice'](j(0x112)+a[j(0x102)]?.[j(0xfb)]),Log['notice'](j(0x106)+b?.[j(0x10b)][j(0x115)](',\x20'));}}catch(c){console['error'](c),process[j(0x116)](0x0);}},a66e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a67d(a,b){var c=a67c();return a67d=function(d,e){d=d-
|
|
1
|
+
function a67d(a,b){var c=a67c();return a67d=function(d,e){d=d-0xe0;var f=c[d];return f;},a67d(a,b);}var a67i=a67d;(function(a,b){var f=a67d,c=a();while(!![]){try{var d=parseInt(f(0xe8))/0x1+parseInt(f(0xe6))/0x2*(parseInt(f(0xf0))/0x3)+parseInt(f(0xe7))/0x4*(parseInt(f(0xeb))/0x5)+parseInt(f(0xef))/0x6*(-parseInt(f(0xe2))/0x7)+parseInt(f(0xe9))/0x8+parseInt(f(0xec))/0x9+parseInt(f(0xe5))/0xa*(-parseInt(f(0xf1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a67c,0x94150));var a67b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a67d;if(c){var e=c[g(0xe0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a67a=a67b(this,function(){var h=a67d;return a67a['toString']()[h(0xed)](h(0xe3))[h(0xf2)]()[h(0xe1)](a67a)[h(0xed)](h(0xe3));});a67a();function a67c(){var j=['create','170JpqllH','318vKjLuF','4ZxLCRq','675305KKzyZo','2925304NuYFQF','Deprecated:\x20use\x20--help\x20instead','2067710Jcrtxi','5435181JGXMlf','search','Try,\x20maka\x20--help','522618EAXGfG','42wVWBpl','433642lJcanz','toString','apply','constructor','63NwYJun','(((.+)+)+)+$'];a67c=function(){return j;};return a67c();}import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a67i(0xe4)]({'name':'help','description':a67i(0xee),'aliases':['h'],'validOpts':[],'shortDesc':a67i(0xea)},async function(){throw new UsageError();});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a68c(){const
|
|
1
|
+
function a68c(){const n=['Running\x20','create','(((.+)+)+)+$','search','constructor','docs','\x20-c\x20','894034RngIdr','inherit','2140790pTUAGb','app/packages','\x0a[+]\x20Documentation\x20written\x20to\x20','jsdoc','join','isFile','\x20-d\x20','1353945BcAWCf','12yqNuQF','logWithSpinner','logNotice','logError','stop','9912960WnDQIj','stringify','sep','toString','1646912bYhrFp','1602265QFzAsN','293782JANDMX','app/private','app/public','fsi','.+\x5c.(j|t)s(doc|x)?$','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','pathFromProject','writeFileSync','maka\x20jsdoc'];a68c=function(){return n;};return a68c();}const a68l=a68d;(function(a,b){const j=a68d,c=a();while(!![]){try{const d=parseInt(j(0xd8))/0x1+parseInt(j(0xe8))/0x2+parseInt(j(0xcc))/0x3+-parseInt(j(0xd6))/0x4+parseInt(j(0xea))/0x5+parseInt(j(0xcd))/0x6*(parseInt(j(0xd7))/0x7)+-parseInt(j(0xd2))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a68c,0x684ce));const a68b=(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;};}()),a68a=a68b(this,function(){const k=a68d;return a68a['toString']()[k(0xe4)](k(0xe3))[k(0xd5)]()[k(0xe5)](a68a)['search'](k(0xe3));});function a68d(a,b){const c=a68c();return a68d=function(d,e){d=d-0xc9;let f=c[d];return f;},a68d(a,b);}a68a();import a68e from'path';import a68f from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command[a68l(0xe2)]({'name':'jsdoc','usage':a68l(0xe0),'mustBeInMakaProject':!![],'shortDesc':a68l(0xdd),'examples':['maka\x20jsdoc\x20--init',a68l(0xe0)],'validOpts':[]},function(){const m=a68l,a=a68e[m(0xc9)](this[m(0xdb)][m(0xde)]({}),m(0xe6)+a68e[m(0xd4)]),b=a68e[m(0xc9)](this[m(0xdb)][m(0xde)]({}),'config','jsdoc-config.json'),c=this['fsi'][m(0xde)]({}),d=m(0xed);if(!this[m(0xca)](b)){const g={'plugins':['plugins/markdown'],'tags':{'allowUnknownTags':!![],'dictionaries':['jsdoc','closure']},'source':{'includePattern':m(0xdc),'excludePattern':'(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','exclude':[m(0xeb),'app/node_modules',m(0xda),m(0xd9)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':'utf-8'}};a68f[m(0xdf)](b,JSON[m(0xd3)](g,null,0x4));}const f=this[m(0xce)](m(0xe1)+d);try{const h=d+m(0xe7)+b+'\x20-r\x20app'+a68e[m(0xd4)]+m(0xcb)+a;execSync(h,{'cwd':c,'stdio':m(0xe9)}),this[m(0xcf)](m(0xec)+a);}catch(i){this['logError'](i),this[m(0xd0)]('[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22');}finally{f[m(0xd1)]();}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a69s=a69d;(function(a,b){const p=a69d,c=a();while(!![]){try{const d=-parseInt(p(
|
|
1
|
+
const a69s=a69d;(function(a,b){const p=a69d,c=a();while(!![]){try{const d=-parseInt(p(0x1cc))/0x1*(parseInt(p(0x1ee))/0x2)+-parseInt(p(0x1f4))/0x3+-parseInt(p(0x1d0))/0x4+-parseInt(p(0x1e5))/0x5+parseInt(p(0x1db))/0x6*(-parseInt(p(0x1e9))/0x7)+parseInt(p(0x1f3))/0x8+parseInt(p(0x1e2))/0x9*(parseInt(p(0x1ce))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0x3c7eb));function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0x1c9;let f=c[d];return f;},a69d(a,b);}const a69b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a69d;if(c){const e=c[q(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a69a=a69b(this,function(){const r=a69d;return a69a[r(0x1e7)]()[r(0x1c9)](r(0x1d5))['toString']()['constructor'](a69a)['search'](r(0x1d5));});function a69c(){const u=['isFile','72883yAOfft','bright','170630DnNYvS','.eslintrc.json','1005988WpzvyM','notice','eslint/eslintrc.json','All\x20good!\x20:)','/imports','(((.+)+)+)+$','push','maka\x20lint\x20--fix','Lint\x20results\x20for\x20','create','eslint-plugin-react','66cxUXup','error','eslint-plugin-css','outputFixes','lint','loadFormatter','Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','657cSXBgl','join','apply','2467255DfqAsw','checkNpmPackage','toString','\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','225211YkQniu','eslint','imports','format','success','4HRCmfr','maka\x20lint','findAppDirectory','fix','service','2869520crzGhS','335655mqCMEx','search','fsi'];a69c=function(){return u;};return a69c();}a69a();import a69e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command[a69s(0x1d9)]({'name':a69s(0x1df),'usage':a69s(0x1ef),'maxArgLength':0x1,'validOpts':[a69s(0x1f1)],'mustBeInMakaProject':!![],'shortDesc':'Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','description':a69s(0x1e8),'examples':[a69s(0x1d7)]},async function(a,b){const t=a69s;try{const c=this[t(0x1ca)][t(0x1f0)](),d=this[t(0x1ca)]['checkNpmPackage'](t(0x1ea)),f=this['fsi'][t(0x1e6)](t(0x1da)),g=this[t(0x1ca)]['checkNpmPackage'](t(0x1dd)),h=[];!d&&h[t(0x1d6)](t(0x1ea));!f&&h[t(0x1d6)]('eslint-plugin-react');!g&&h['push'](t(0x1dd));h['length']>0x0&&await this[t(0x1ca)]['installNpmPackage'](h[t(0x1e3)]('\x20'),{'dev':!![]});const i=this[t(0x1ca)][t(0x1cb)](a69e[t(0x1e3)](c,t(0x1cf)));if(!i){const n={'noRename':!![]};await this['fsi']['template']({'srcPath':t(0x1d2),'destPath':a69e[t(0x1e3)](c,'.eslintrc.json'),'framework':t(0x1f2),'context':n});}const j=new ESLint(),k=await j['lintFiles']([a69e['join'](c,t(0x1eb),'**')]),l=await j[t(0x1e0)]('stylish'),m=l[t(0x1ec)](k);m['length']>0x0?Log[t(0x1cd)](m):Log[t(0x1ed)](t(0x1d3)),Log[t(0x1d1)](t(0x1d8)+c+t(0x1d4)),b[t(0x1f1)]?await ESLint[t(0x1de)](k):Log[t(0x1d1)](t(0x1e1));}catch(o){console[t(0x1dc)](o);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a70y=a70d;function a70d(a,b){const c=a70c();return a70d=function(d,e){d=d-0x179;let f=c[d];return f;},a70d(a,b);}(function(a,b){const w=a70d,c=a();while(!![]){try{const d=-parseInt(w(0x180))/0x1+-parseInt(w(0x184))/0x2*(-parseInt(w(0x1a9))/0x3)+-parseInt(w(0x1ac))/0x4+parseInt(w(0x17f))/0x5*(parseInt(w(0x1a0))/0x6)+-parseInt(w(0x192))/0x7*(-parseInt(w(0x1ae))/0x8)+-parseInt(w(0x1a8))/0x9*(-parseInt(w(0x1a5))/0xa)+parseInt(w(0x185))/0xb*(-parseInt(w(0x187))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0xded57));const a70b=(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;};}()),a70a=a70b(this,function(){const x=a70d;return a70a[x(0x18e)]()['search']('(((.+)+)+)+$')[x(0x18e)]()[x(0x191)](a70a)[x(0x186)](x(0x193));});a70a();import a70e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a70y(0x1a1)][a70y(0x18f)]===a70y(0x181)?'localhost':'www.maka-cli.com';function a70c(){const A=['ask','password','597344rEMTMG','header','619664zIqOCG','cacert','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','sha256','success','failure','isFile','Logging\x20in','339045xGIhCZ','1795369CrYpEs','True','fsi','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','1566662hRRgil','55XJhsnM','search','963948zslyOX','exit','email','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','authToken','digest','withSpinner','toString','MAKA_DEV','error','constructor','77auWgaU','(((.+)+)+)+$','Logging\x20into\x20https://','assign','Password:\x20','post','cert','maka\x20login','debug','help','notice','start','update','toHex','42NSxjNY','env','/api/v1/encodeJwt','create','https://','766030tbOrLv','setGlobalConfig','parse','135IXzevQ','3llBfDQ'];a70c=function(){return A;};return a70c();}Command[a70y(0x1a3)]({'name':'login','validOpts':['email',a70y(0x1ab),a70y(0x19b),'cacert',a70y(0x19a)],'usage':a70y(0x199),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':'Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','examples':[a70y(0x199),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const z=a70y,c=Log[z(0x18d)]();try{let d='';b[z(0x1af)]&&(this[z(0x182)][z(0x17d)](b[z(0x1af)])?(d=b[z(0x1af)],Log[z(0x19c)]('Using\x20CA\x20Cert\x20'+d)):Log[z(0x190)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[z(0x182)]['getGlobalConfig']();if(f[z(0x198)]){if(this[z(0x182)][z(0x17d)](f[z(0x198)]))d=f[z(0x198)];else{Log[z(0x190)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);return;}}Log[z(0x1ad)](z(0x194)+hostname);const g={'url':z(0x1a4)+hostname+'/api/v1/status'};b[z(0x1af)]&&Object[z(0x195)](g,{'cert':d});c[z(0x19d)]('Preflight\x20Check');const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[z(0x17c)]();throw z(0x183);}if(h!==0xc8){c[z(0x17c)]();throw'https://'+hostname+z(0x18a);}c[z(0x17b)]();const i=b[z(0x189)]?b[z(0x189)]:await Actions[z(0x1aa)]('Email:'),j=b[z(0x1ab)]?b[z(0x1ab)]:await Actions['ask'](z(0x196),!![]),k=a70e['md'][z(0x17a)]['create']();k[z(0x19e)](j);const l=k[z(0x18c)]()[z(0x19f)](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b['cacert']&&Object[z(0x195)](m,{'cert':d});c['start'](z(0x17e));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c['failure']('\x0a');throw z(0x179)+hostname;}const p=JSON[z(0x1a7)](n);if(p[z(0x18b)]){const q={'hostname':hostname,'path':z(0x1a2),'headers':{'x-auth-token':p[z(0x18b)]},'data':{}};b[z(0x1af)]&&Object[z(0x195)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[z(0x197)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw z(0x179)+hostname;const u={'token':p,'hash':t};this[z(0x182)][z(0x1a6)](u);}else{c[z(0x17c)]();throw p;}c['success']();}catch(v){c[z(0x17c)](),console[z(0x190)](v),process[z(0x188)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a71o=a71d;function a71d(a,b){const c=a71c();return a71d=function(d,e){d=d-0x12c;let f=c[d];return f;},a71d(a,b);}function a71c(){const q=['failure','Logging\x20out\x20of\x20https://','1621500ZrHUWf','21363NsTOEb','withSpinner','1926wtuDxM','Using\x20CA\x20Cert\x20','176jHUman','localhost','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','624oWvznj','start','390790LeXpDq','notice','20513520NNcQWk','create','4612221DuCrty','Logging\x20out','toString','get','setGlobalConfig','46249IqzxlC','token','assign','/api/v1/status','search','getGlobalConfig','www.maka-cli.com','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','maka\x20logout','True','apply','cacert','authToken','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','isFile','cert','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','572oteWaG','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Preflight\x20Check','error','/api/v1/logoutAll','fsi','header','success'];a71c=function(){return q;};return a71c();}(function(a,b){const l=a71d,c=a();while(!![]){try{const d=parseInt(l(0x157))/0x1*(-parseInt(l(0x136))/0x2)+-parseInt(l(0x134))/0x3*(-parseInt(l(0x138))/0x4)+-parseInt(l(0x13d))/0x5+-parseInt(l(0x133))/0x6+parseInt(l(0x146))/0x7*(-parseInt(l(0x13b))/0x8)+-parseInt(l(0x141))/0x9+parseInt(l(0x13f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a71c,0x6ad71));const a71b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a71d;if(c){const e=c[m(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a71a=a71b(this,function(){const n=a71d;return a71a[n(0x143)]()[n(0x14a)]('(((.+)+)+)+$')[n(0x143)]()['constructor'](a71a)[n(0x14a)]('(((.+)+)+)+$');});a71a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env']['MAKA_DEV']===a71o(0x14f)?a71o(0x139):a71o(0x14c);Command[a71o(0x140)]({'name':'logout','validOpts':['cacert'],'usage':a71o(0x14e),'maxArgLength':0x2,'shortDesc':a71o(0x13a),'disableAuthCheck':!![],'examples':[a71o(0x14e)]},async function(a,b){const p=a71o,c=Log[p(0x135)]();try{let d='';b[p(0x151)]&&(this[p(0x12e)][p(0x154)](b[p(0x151)])?(d=b['cacert'],Log[p(0x13e)](p(0x137)+d)):Log['error'](p(0x158)+d));const f=await this['fsi'][p(0x14b)]();if(f[p(0x155)]){if(this[p(0x12e)][p(0x154)](f['cert']))d=f[p(0x155)];else{c[p(0x131)]();throw Log[p(0x12c)](p(0x156)+d);}}Log[p(0x12f)](p(0x132)+hostname);const g={'url':'https://'+hostname+p(0x149)};b[p(0x151)]&&Object[p(0x148)](g,{'cert':d});c[p(0x13c)](p(0x159));const {statusCode:h}=await HTTPS[p(0x144)](g);if(h===0x198){c[p(0x131)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0x130)]();if(h!==0xc8){c[p(0x131)]();throw p(0x153);}if(!f?.['token']?.[p(0x152)])throw Log[p(0x12c)](p(0x14d));c[p(0x13c)](p(0x142));const i={'hostname':hostname,'path':p(0x12d),'data':{},'headers':{'x-auth-token':f[p(0x147)][p(0x152)]}};b[p(0x151)]&&Object[p(0x148)](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c['failure']('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this['fsi'][p(0x145)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x130)]();}catch(k){k&&console[p(0x12c)](k),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a72k=a72d;(function(a,b){const h=a72d,c=a();while(!![]){try{const d=parseInt(h(0x97))/0x1*(parseInt(h(0x8e))/0x2)+-parseInt(h(0x88))/0x3*(parseInt(h(0x7b))/0x4)+parseInt(h(0x7f))/0x5*(parseInt(h(0x82))/0x6)+parseInt(h(0x85))/0x7*(parseInt(h(0x93))/0x8)+-parseInt(h(0x91))/0x9*(parseInt(h(0x81))/0xa)+-parseInt(h(0x96))/0xb*(parseInt(h(0x94))/0xc)+parseInt(h(0x8c))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a72c,0xeafe6));const a72b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a72d;if(c){const e=c[i(0x8b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a72a=a72b(this,function(){const j=a72d;return a72a[j(0x7c)]()[j(0x98)](j(0x87))[j(0x7c)]()[j(0x84)](a72a)[j(0x98)](j(0x87));});a72a();function a72d(a,b){const c=a72c();return a72d=function(d,e){d=d-0x7a;let f=c[d];return f;},a72d(a,b);}import a72e from'fs';import a72f from'path';import{Command}from'../command.js';function a72c(){const m=['maka\x20logs\x20--env\x20staging','create','1176kfnXjz','toString','ssh.json','parse','6172475RvvnKS','View\x20the\x20PM2\x20logs','751440KgqZch','6SAAzrw','pm2\x20logs','constructor','91eDazXn','sshSync','(((.+)+)+)+$','11589fpCnPN','maka\x20l\x20-e\x20p','assign','apply','40950065ADCAhw','maka\x20logs\x20--env\x20dev','86854gRNrvW','getConfigPath','maka\x20logs','108kAplcR','env','93376PiBQZp','1698684WJzoQr','logs','143IkbYbQ','7BlBUOW','search'];a72c=function(){return m;};return a72c();}import{SSH}from'../tools/ssh/ssh.class.js';Command[a72k(0x7a)]({'name':a72k(0x95),'aliases':['l','log'],'usage':a72k(0x90),'requiredOpts':[a72k(0x92)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a72k(0x80),'examples':[a72k(0x8d),a72k(0x99),a72k(0x89)]},function(a,b){const l=a72k,c=l(0x83),d=this['fsi'][l(0x8f)](b[l(0x92)]),e=a72f['join'](d,l(0x7d)),f=a72e['readFileSync'](e),g=JSON[l(0x7e)](f[l(0x7c)]());Object[l(0x8a)](g,{'env':d}),SSH[l(0x86)](c,g,{'tty':!![],'verbose':!![]});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a73j=a73d;(function(a,b){const g=a73d,c=a();while(!![]){try{const d
|
|
1
|
+
const a73j=a73d;(function(a,b){const g=a73d,c=a();while(!![]){try{const d=parseInt(g(0x9c))/0x1*(-parseInt(g(0x95))/0x2)+parseInt(g(0x89))/0x3+-parseInt(g(0x8b))/0x4*(-parseInt(g(0x9a))/0x5)+parseInt(g(0x8e))/0x6*(-parseInt(g(0x9b))/0x7)+-parseInt(g(0x8d))/0x8*(parseInt(g(0x87))/0x9)+-parseInt(g(0x92))/0xa*(-parseInt(g(0x86))/0xb)+-parseInt(g(0x8a))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a73c,0x41b74));const a73b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a73d;if(c){const e=c[h(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a73a=a73b(this,function(){const i=a73d;return a73a[i(0x9d)]()[i(0x83)]('(((.+)+)+)+$')['toString']()[i(0x91)](a73a)['search'](i(0x8f));});function a73c(){const l=['52wdkddC','findSubCommand','exit','fsi','maka\x20run','5OCWmVu','791588qcNRjW','570tiJBcR','toString','search','maka\x20create\x20Todo','maka\x20--help','8767RmBcqK','9XlfhWv','apply','1196478vxFEPF','1677084WlkhmN','1011896dUotUu','maybeProxyCommandToMeteor','964368LpcBVg','6JfLWPd','(((.+)+)+)+$','runSubCommand','constructor','70AClMiJ','maka','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.------\x20.-----:\x20\x20\x20\x20\x20\x20..\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20----.\x20\x20\x20\x20\x20.--\x20\x20-:\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:::\x20:.\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20...\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:..\x20\x20\x20\x20::----::\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-:::::\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20.:::..:::::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20.:\x20--------\x20.-------.::\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:-:\x20\x20-:\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.::::::\x20.::\x20\x20::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20'];a73c=function(){return l;};return a73c();}a73a();import{Command}from'../command.js';function a73d(a,b){const c=a73c();return a73d=function(d,e){d=d-0x83;let f=c[d];return f;},a73d(a,b);}const Maka=new Command({'name':a73j(0x93),'minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a73j(0x85),'maka\x20install\x20meteor',a73j(0x84),a73j(0x99)],'description':a73j(0x94)},async function(a,b){const k=a73j;try{const c=a[0x0],d=this[k(0x96)](c);d?this[k(0x90)](c,a['slice'](0x1),b):this[k(0x98)][k(0x8c)]();}catch(f){console['error'](f),process[k(0x97)](0x1);}});export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a74i=a74d;(function(a,b){var f=a74d,c=a();while(!![]){try{var d
|
|
1
|
+
function a74d(a,b){var c=a74c();return a74d=function(d,e){d=d-0x127;var f=c[d];return f;},a74d(a,b);}var a74i=a74d;(function(a,b){var f=a74d,c=a();while(!![]){try{var d=parseInt(f(0x12f))/0x1*(parseInt(f(0x127))/0x2)+-parseInt(f(0x128))/0x3+parseInt(f(0x12c))/0x4+parseInt(f(0x139))/0x5*(-parseInt(f(0x12e))/0x6)+-parseInt(f(0x130))/0x7+parseInt(f(0x132))/0x8*(parseInt(f(0x133))/0x9)+-parseInt(f(0x138))/0xa*(-parseInt(f(0x129))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0xa9aee));var a74b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a74d;if(c){var e=c[g(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a74a=a74b(this,function(){var h=a74d;return a74a[h(0x12b)]()[h(0x135)](h(0x136))[h(0x12b)]()['constructor'](a74a)[h(0x135)]('(((.+)+)+)+$');});a74a();import{Command}from'../command.js';function a74c(){var k=['(((.+)+)+)+$','maka\x20murder','51830hGjJgo','20WBENSb','murder','Murrrrderrrrr','163232YFZWkX','3149733Lvjvsk','5269otWhmI','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','toString','3959380qsfIPX','apply','1183980xcQBJe','1zIQfNi','8622880ojLXjq','error','40EkJfGc','381555EAxFSC','font-family:\x20monospace','search'];a74c=function(){return k;};return a74c();}Command['create']({'name':a74i(0x13a),'usage':a74i(0x137),'maxArgLength':0x1,'shortDesc':a74i(0x13b),'validOpts':[]},async function(){var j=a74i;try{console['log'](j(0x12a),j(0x134));}catch(a){console[j(0x131)](a),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a75q=a75d;(function(a,b){const n=a75d,c=a();while(!![]){try{const d=parseInt(n(
|
|
1
|
+
const a75q=a75d;(function(a,b){const n=a75d,c=a();while(!![]){try{const d=parseInt(n(0x91))/0x1*(parseInt(n(0x9e))/0x2)+parseInt(n(0xa5))/0x3*(parseInt(n(0x89))/0x4)+-parseInt(n(0x8a))/0x5*(parseInt(n(0x7e))/0x6)+-parseInt(n(0x99))/0x7+parseInt(n(0x82))/0x8+parseInt(n(0x9f))/0x9*(-parseInt(n(0x97))/0xa)+parseInt(n(0xa2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0x58454));const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a75d;if(c){const e=c[o(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const p=a75d;return a75a[p(0x8b)]()[p(0x7f)](p(0x90))[p(0x8b)]()['constructor'](a75a)['search']('(((.+)+)+)+$');});a75a();import a75e from'fs';import a75f from'path';function a75c(){const s=['proxy','bright','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','(((.+)+)+)+$','717537zoHVAN','targetHost','help','localhost','apply','isFile','1940710VQKVhu','join','225302fVROwX','listenPort','fsi','findGenerator','createProxyServer','2rDVPUP','18FYgPVG','sslconfig','readFileSync','4251599JGxmaM','maka\x20proxy','appName','6Xrjadj','mkKeysDir','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','getConfigPath','create','2623842YWWHAF','search','genCSR','error','297752fSnaPG','.key','invoke','.csr','utf8','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','\x20to\x20','155852HIeSrK','5DlBDhU','toString','genSSC'];a75c=function(){return s;};return a75c();}import a75g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x7d;let f=c[d];return f;},a75d(a,b);}import{SSL}from'../tools/ssl/ssl.class.js';import a75h from'../generators/maka.gen.js';Command[a75q(0x7d)]({'name':a75q(0x8d),'usage':a75q(0xa3),'mustBeInMakaProject':!![],'validOpts':[a75q(0x93),'targetPort',a75q(0x9a),'targetHost'],'maxArgLength':0x1,'shortDesc':a75q(0x87),'description':a75q(0x8f),'examples':['maka\x20proxy','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const r=a75q,c=this[r(0x9b)]['getProjectConfig'](),d='development',e=this['fsi'][r(0xa8)](d),f=this[r(0x9b)][r(0xa6)]({'configPath':e}),g=b['targetPort']?Number(b['targetPort']):0xbb8,h=b[r(0x9a)]?Number(b[r(0x9a)]):0xd73,i=b[r(0x92)]?b[r(0x92)]:r(0x94),j=a75f[r(0x98)](f,c[r(0xa4)]+r(0x83)),k=a75f['join'](f,c['appName']+'.crt');if(!this[r(0x9b)]['isFile'](j)||!this['fsi'][r(0x96)](k)){const m=a75h[r(0x9c)]('sslconfig');m&&await m[r(0x84)]([r(0xa0)],{'env':d}),SSL[r(0x80)]({'keyName':c[r(0xa4)]+r(0x83),'csrName':c[r(0xa4)]+r(0x85),'cwd':f}),SSL[r(0x8c)]({'keyName':c[r(0xa4)]+r(0x83),'crtName':c[r(0xa4)]+'.crt','cwd':f});}if(g===h){Log[r(0x81)](r(0xa7));throw new UsageError();}const l={'ssl':{'key':a75e[r(0xa1)](j,r(0x86)),'cert':a75e['readFileSync'](k,r(0x86))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a75g[r(0x9d)](l)['listen'](Number(h)),Log[r(0x8e)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+r(0x88)+g);});
|