@maka/maka-cli 4.8.8 → 4.8.9
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/ai.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/chz.sub.cmd.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/rdn.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/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.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/install.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/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.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/templates/meteor/project/package.json +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/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.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
|
-
const
|
|
1
|
+
const a78n=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=parseInt(l(0xf1))/0x1*(parseInt(l(0xd9))/0x2)+-parseInt(l(0xe3))/0x3*(-parseInt(l(0xd2))/0x4)+-parseInt(l(0xf0))/0x5+parseInt(l(0xfc))/0x6+parseInt(l(0xd4))/0x7*(-parseInt(l(0xf4))/0x8)+-parseInt(l(0xf3))/0x9*(-parseInt(l(0xeb))/0xa)+-parseInt(l(0xe2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x6ff50));function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0xd2;let f=c[d];return f;},a78d(a,b);}const a78b=(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;};}()),a78a=a78b(this,function(){const m=a78d;return a78a[m(0xf6)]()['search'](m(0xec))[m(0xf6)]()[m(0xfb)](a78a)[m(0xdf)](m(0xec));});a78a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a78c(){const p=['14503544dcllhq','189744CkPaGU','Logging\x20out','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','failure','env','Using\x20CA\x20Cert\x20','header','True','51140RHTKNr','(((.+)+)+)+$','Logging\x20out\x20of\x20https://','MAKA_DEV','cert','3047360yZVnSA','751958uAMchM','get','1602WzRxGe','280OMTuQX','post','toString','Preflight\x20Check','assign','authToken','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','constructor','3328062rAefTX','fsi','/api/v1/status','exit','getGlobalConfig','20pOqKsb','setGlobalConfig','29323xWcqZH','/api/v1/logoutAll','create','localhost','token','2gfxzNW','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','cacert','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','maka\x20logout','search','error','notice'];a78c=function(){return p;};return a78c();}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a78n(0xe7)][a78n(0xee)]===a78n(0xea)?a78n(0xd7):'www.maka-cli.com';Command[a78n(0xd6)]({'name':'logout','validOpts':[a78n(0xdb)],'usage':a78n(0xde),'maxArgLength':0x2,'shortDesc':a78n(0xe5),'disableAuthCheck':!![],'examples':[a78n(0xde)]},async function(a,b){const o=a78n,c=Log['withSpinner']();try{let d='';b[o(0xdb)]&&(this['fsi']['isFile'](b['cacert'])?(d=b[o(0xdb)],Log[o(0xe1)](o(0xe8)+d)):Log[o(0xe0)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this['fsi'][o(0x100)]();if(f[o(0xef)]){if(this[o(0xfd)]['isFile'](f[o(0xef)]))d=f[o(0xef)];else{c[o(0xe6)]();throw Log['error'](o(0xdd)+d);}}Log[o(0xe9)](o(0xed)+hostname);const g={'url':'https://'+hostname+o(0xfe)};b[o(0xdb)]&&Object[o(0xf8)](g,{'cert':d});c['start'](o(0xf7));const {statusCode:h}=await HTTPS[o(0xf2)](g);if(h===0x198){c[o(0xe6)]();throw o(0xfa);}c['success']();if(h!==0xc8){c['failure']();throw o(0xdc);}if(!f?.['token']?.[o(0xf9)])throw Log[o(0xe0)](o(0xda));c['start'](o(0xe4));const i={'hostname':hostname,'path':o(0xd5),'data':{},'headers':{'x-auth-token':f[o(0xd8)][o(0xf9)]}};b[o(0xdb)]&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS[o(0xf5)](i);if(j===0x198){c[o(0xe6)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[o(0xfd)][o(0xd3)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c['success']();}catch(k){k&&console[o(0xe0)](k),process[o(0xff)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=parseInt(j(0x19c))/0x1*(parseInt(j(0x185))/0x2)+-parseInt(j(0x199))/0x3+-parseInt(j(0x192))/0x4*(-parseInt(j(0x195))/0x5)+-parseInt(j(0x187))/0x6*(-parseInt(j(0x189))/0x7)+parseInt(j(0x1a0))/0x8*(parseInt(j(0x190))/0x9)+parseInt(j(0x191))/0xa+parseInt(j(0x194))/0xb*(-parseInt(j(0x197))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x1ec8d));function a79c(){const o=['890630jxIUyN','12NmulQM','maka\x20logs\x20--env\x20dev','407EIFKRS','150245BmzUsM','constructor','93048eJqIMS','getAppConfigPath','528921DEFZvC','pm2\x20logs','parse','51839iUWDrR','create','log','sshSync','221024jxlcPq','ssh.json','fsi','6iXySMR','readFileSync','1361658GjdjVx','env','7iDvNTW','verbose','toString','apply','(((.+)+)+)+$','search','assign','9pZbFRM'];a79c=function(){return o;};return a79c();}const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0x18c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0x18b)]()['search'](l(0x18d))[l(0x18b)]()[l(0x196)](a79a)[l(0x18e)](l(0x18d));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x184;let f=c[d];return f;},a79d(a,b);}import{Log}from'../tools/log/log.class.js';Command[a79m(0x19d)]({'name':'logs','aliases':['l',a79m(0x19e)],'usage':'maka\x20logs','requiredOpts':[a79m(0x188)],'mustBeInMakaProject':!![],'validOpts':[a79m(0x18a)],'shortDesc':'View\x20the\x20PM2\x20logs','examples':[a79m(0x193),'maka\x20logs\x20--env\x20staging','maka\x20l\x20-e\x20p']},function(a,b){const n=a79m;try{const c=n(0x19a),d=this[n(0x184)][n(0x198)](b[n(0x188)]),f=a79f['join'](d,n(0x1a1)),g=a79e[n(0x186)](f),h=JSON[n(0x19b)](g[n(0x18b)]());Object[n(0x18f)](h,{'env':d}),SSH[n(0x19f)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log['error'](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a80c(){const k=['254976kupMUn','49HyOihv','exit','535986cnzXHA','maka\x20--help','maka\x20create\x20Todo','apply','maka\x20run','1005663kzkbbs','maka\x20install\x20meteor','search','4548240FCZMGm','368609bwFdpZ','490695IZnBRp','splice','12FKEoxR','(((.+)+)+)+$','10796940FPySxP','constructor','processAndRunCommand','2gCCyzO','toString','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','\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.::.\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'];a80c=function(){return k;};return a80c();}const a80i=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=-parseInt(f(0x1a9))/0x1+-parseInt(f(0x1b1))/0x2*(parseInt(f(0x1a5))/0x3)+-parseInt(f(0x1ac))/0x4*(parseInt(f(0x1aa))/0x5)+-parseInt(f(0x19d))/0x6*(parseInt(f(0x19e))/0x7)+parseInt(f(0x1a8))/0x8+-parseInt(f(0x1a0))/0x9+parseInt(f(0x1ae))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x47857));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a['toString']()[h(0x1a7)]('(((.+)+)+)+$')[h(0x1b2)]()[h(0x1af)](a80a)[h(0x1a7)](h(0x1ad));});a80a();function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x19c;let f=c[d];return f;},a80d(a,b);}import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a80i(0x1b3),'validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a80i(0x1a1),a80i(0x1a6),a80i(0x1a2),a80i(0x1a4)],'description':a80i(0x19c)},async function(a,b){const j=a80i;try{const c=a[0x0];a[j(0x1ab)](0x0,0x1),await this[j(0x1b0)](c,a,b);}catch(d){process[j(0x19f)](0x1);}});export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a81i=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
var a81i=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0x7d))/0x1+parseInt(f(0x7e))/0x2+parseInt(f(0x74))/0x3*(parseInt(f(0x82))/0x4)+parseInt(f(0x73))/0x5*(parseInt(f(0x79))/0x6)+parseInt(f(0x80))/0x7+parseInt(f(0x7b))/0x8*(-parseInt(f(0x77))/0x9)+-parseInt(f(0x7c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xae004));function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x73;var f=c[d];return f;},a81d(a,b);}var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a['toString']()[h(0x81)]('(((.+)+)+)+$')[h(0x83)]()[h(0x7a)](a81a)[h(0x81)](h(0x84));});a81a();import{Command}from'../command.js';function a81c(){var k=['3673016ZZWCpK','toString','(((.+)+)+)+$','font-family:\x20monospace','maka\x20murder','266280iNgxjz','3jkKjAj','log','murder','584046hjcwFy','Murrrrderrrrr','96PvtksY','constructor','24wWfoxB','29683140yegTdp','348003xIELkp','2463650zTsZzx','apply','8550724XuYCxx','search'];a81c=function(){return k;};return a81c();}Command['create']({'name':a81i(0x76),'usage':a81i(0x86),'maxArgLength':0x1,'shortDesc':a81i(0x78),'validOpts':[]},async function(){var j=a81i;try{console[j(0x75)]('%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',j(0x85));}catch(a){console['error'](a),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a82z=a82d;(function(a,b){const w=a82d,c=a();while(!![]){try{const d
|
|
1
|
+
const a82z=a82d;(function(a,b){const w=a82d,c=a();while(!![]){try{const d=-parseInt(w(0x1de))/0x1*(parseInt(w(0x219))/0x2)+-parseInt(w(0x1f9))/0x3*(-parseInt(w(0x1e3))/0x4)+-parseInt(w(0x1df))/0x5+-parseInt(w(0x200))/0x6*(-parseInt(w(0x1d5))/0x7)+-parseInt(w(0x216))/0x8*(-parseInt(w(0x213))/0x9)+-parseInt(w(0x202))/0xa+parseInt(w(0x1da))/0xb*(parseInt(w(0x1f6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xbd3a1));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a82d;if(c){const e=c[x(0x209)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const y=a82d;return a82a['toString']()[y(0x20a)]('(((.+)+)+)+$')[y(0x1d8)]()['constructor'](a82a)[y(0x20a)](y(0x1f0));});function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1cb;let f=c[d];return f;},a82d(a,b);}a82a();import a82e from'fs';function a82c(){const K=['proxyRes','end',']\x20WebSocket\x20connection\x20closed','Proxy\x20error:\x20','(((.+)+)+)+$','localhost','mkKeysDir','Internal\x20server\x20error.','path','proxyReqWs','4296SxnTKU','isFile','.key','4291167QxWpQw','genSSC','targetHost','processAndRunGenerator','CSR\x20file\x20created:\x20','getAppConfigPath','\x20-\x20Starting\x20WebSocket\x20handshake','2331048lHMcin','open','12570450nsurti','help','statusMessage','fsi','genCSR','\x20to\x20','host','apply','search','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','bright','proxy','utf8','\x20from\x20','listenPort','close','171tUnFNU','proxyReq','Key\x20file\x20created:\x20','65232CraJXr','appName','createProxyServer','20212oiQfCS','.csr','SSC\x20file\x20created:\x20','method','maka\x20proxy\x20--target-host\x20http://192.168.1.20','sslconfig','\x20request\x20to\x20',']\x20=>\x20','toISOString','\x20on\x20','\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','SIGINT','getMakaProjectConfig','headersSent','21GoRXec','targetPort','=>\x20SSL\x20Proxy\x20forwarding\x20','toString','writeHead','10681illkGP','url','headers','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','59xpHkSn','2350425vzUujq','start','statusCode','success','4imqVWT','join','.crt','error','info','listen','exit','maka\x20proxy','getHeader'];a82c=function(){return K;};return a82c();}import a82f from'path';import a82g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a82h from'../generators/maka.gen.js';Command['create']({'name':a82z(0x20e),'usage':a82z(0x1ea),'mustBeInMakaProject':!![],'validOpts':[a82z(0x203),a82z(0x1d6),a82z(0x211),a82z(0x1fb)],'maxArgLength':0x1,'shortDesc':a82z(0x20b),'description':a82z(0x1d1),'examples':[a82z(0x1ea),a82z(0x1dd),a82z(0x1cb)]},async function(a,b){const A=a82z,c=this[A(0x205)][A(0x1d3)](),d='development',e=this['fsi'][A(0x1fe)](d),f=this[A(0x205)][A(0x1f2)]({'configPath':e}),g=b[A(0x1d6)]?Number(b[A(0x1d6)]):0xbb8,h=b[A(0x211)]?Number(b[A(0x211)]):0xd73,i=b['targetHost']?b['targetHost']:A(0x1f1),j=a82f[A(0x1e4)](f,c[A(0x217)]+'.key'),k=a82f['join'](f,c[A(0x217)]+A(0x1e5));(!this[A(0x205)]['isFile'](j)||!this[A(0x205)]['isFile'](k))&&(await a82h[A(0x1fc)](A(0x1cc),[],{'env':d}),SSL[A(0x206)]({'keyName':c[A(0x217)]+A(0x1f8),'csrName':c[A(0x217)]+A(0x21a),'cwd':f,'useConfig':!![]}),this[A(0x205)][A(0x1f7)](a82f[A(0x1e4)](f,c['appName']+A(0x21a)))&&Log[A(0x1e7)](A(0x1fd)+a82f[A(0x1e4)](f,c[A(0x217)]+'.csr')),SSL[A(0x1fa)]({'keyName':c[A(0x217)]+A(0x1f8),'crtName':c[A(0x217)]+'.crt','cwd':f,'useConfig':!![]}),this[A(0x205)][A(0x1f7)](a82f[A(0x1e4)](f,c[A(0x217)]+'.crt'))&&Log[A(0x1e7)](A(0x21b)+a82f[A(0x1e4)](f,c[A(0x217)]+A(0x1e5))),Log[A(0x1e7)](A(0x215)+j));if(g===h){Log[A(0x1e6)](A(0x20c));throw new UsageError();}const l={'ssl':{'key':a82e['readFileSync'](j,A(0x20f)),'cert':a82e['readFileSync'](k,A(0x20f))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]},m=a82g[A(0x218)](l);m['on']('error',(o,p,q)=>{const B=A;B(0x1d9)in q&&(Log[B(0x1e6)](B(0x1ef)+o['message']),!q[B(0x1d4)]&&(q[B(0x1d9)](0x1f4,{'content-type':'text/plain'}),q[B(0x1ed)](B(0x1f3))));}),m['on'](A(0x1ec),(o,p)=>{const C=A,q=new Date()[C(0x1cf)](),r=p[C(0x21c)],s=p[C(0x1db)],t=p[C(0x1dc)][C(0x208)],u=o[C(0x1e1)],v=o[C(0x204)];Log['warn']('['+q+C(0x1ce)+r+'\x20'+s+C(0x210)+t+'\x20responded\x20with\x20'+u+'\x20'+v);}),m['on'](A(0x214),o=>{const D=A,p=new Date()[D(0x1cf)](),q=o['method'],r=o[D(0x1f4)],s=o[D(0x1eb)](D(0x208));Log[D(0x1e7)]('['+p+']\x20<=\x20Sending\x20'+q+D(0x1cd)+r+D(0x1d0)+s);}),m['on'](A(0x1f5),(o,p)=>{const E=A,q=new Date()[E(0x1cf)](),r=p[E(0x21c)],s=p[E(0x1db)],t=p['headers'][E(0x208)];Log[E(0x1e2)]('['+q+']\x20WS\x20'+r+'\x20'+s+E(0x210)+t+E(0x1ff));}),m['on'](A(0x201),()=>{const F=A,o=new Date()[F(0x1cf)]();Log[F(0x1e2)]('['+o+']\x20WebSocket\x20connection\x20established');}),m['on'](A(0x212),()=>{const G=A,o=new Date()['toISOString']();Log['error']('['+o+G(0x1ee));}),m[A(0x1e8)](Number(h)),Log[A(0x20d)](A(0x1d7)+h+A(0x207)+g);const n=0x7d0;process['on'](A(0x1d2),()=>{const H=A,o=Log['withSpinner']();o[H(0x1e0)]('Shutting\x20down\x20proxy\x20server...');const p=setTimeout(()=>{const I=H;o[I(0x1e2)](),process[I(0x1e9)](0x1);},n);m[H(0x212)](()=>{const J=H;clearTimeout(p),Log[J(0x1e7)]('Proxy\x20server\x20closed.'),process[J(0x1e9)](0x0);});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0xc5))/0x1*(-parseInt(n(0xd7))/0x2)+parseInt(n(0xbb))/0x3+-parseInt(n(0xc3))/0x4+parseInt(n(0xbe))/0x5+-parseInt(n(0xcf))/0x6*(parseInt(n(0xd2))/0x7)+-parseInt(n(0xba))/0x8*(-parseInt(n(0xc2))/0x9)+-parseInt(n(0xdc))/0xa*(-parseInt(n(0xb8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x993da));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a['toString']()[p(0xc6)](p(0xd9))[p(0xcd)]()[p(0xca)](a83a)[p(0xc6)]('(((.+)+)+)+$');});a83a();import a83e from'fs';import a83f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a83q(0xe1)]({'name':a83q(0xc9),'aliases':[a83q(0xce)],'validOpts':[''],'requiredOpts':[a83q(0xe0)],'mustBeInMakaProject':!![],'usage':a83q(0xd1),'shortDesc':a83q(0xc4),'description':'\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20','examples':[a83q(0xd3)]},async function(a,b){const r=a83q;try{const c=this[r(0xcc)]['getAppConfigPath'](b[r(0xe0)]),d=a83f[r(0xde)](c,'ssh.json'),f=a83e[r(0xdf)](d)['toString'](),g=JSON['parse'](f);Object[r(0xd8)](g,{'env':c}),Log[r(0xc0)](r(0xbc));const h=SSH[r(0xc8)]('uname\x20-a',g);if(!h)throw r(0xb9);if(h)Log[r(0xc7)](r(0xc1));const i=a83f[r(0xde)](c,r(0xcb),r(0xd5));if(a83e[r(0xdd)](i)){const l={'source':i,'dest':r(0xd0),'verbose':!![]};SSH[r(0xbd)](l,{...g});}const j=a83f['join'](c,r(0xd6));SSH[r(0xbd)]({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a83f[r(0xde)](c,'settings.json');SSH['scp']({'source':k,'dest':r(0xda),'verbose':!![]},{...g}),SSH['sshSync'](r(0xbf),g),await SSH['ssh']('echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22',{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0xd4)](0x0);}});function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xb8;let f=c[d];return f;},a83d(a,b);}function a83c(){const s=['3649936LzeQyF','Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','1091375fUxyGW','search','success','ping','reconfigure','constructor','_keys','fsi','toString','reconfig','60VSyxkC','~/ses.json','maka\x20reconfig','312291GrggCG','maka\x20reconfig\x20--env\x20prod','exit','ses.json','pm2.config.js','2EIGtFT','assign','(((.+)+)+)+$','~/settings.json','apply','3651190zTEANX','existsSync','join','readFileSync','env','create','55RcBgUM','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','8lWpnQM','3102960jqikGK','Checking\x20remote\x20host\x20availability','scp','390305qfNRcS','pm2\x20delete\x20all','notice','Remote\x20host\x20connection\x20successful','1257183ePHpLv'];a83c=function(){return s;};return a83c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x1a0;var f=c[d];return f;},a84d(a,b);}(function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0x1a1))/0x1*(-parseInt(f(0x1a5))/0x2)+-parseInt(f(0x1a0))/0x3+parseInt(f(0x1a7))/0x4+parseInt(f(0x1a8))/0x5+parseInt(f(0x1aa))/0x6+-parseInt(f(0x1a2))/0x7*(parseInt(f(0x1ab))/0x8)+-parseInt(f(0x1ad))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x327db));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a['toString']()[h(0x1ac)](h(0x1a3))[h(0x1a6)]()[h(0x1a9)](a84a)[h(0x1ac)]('(((.+)+)+)+$');});function a84c(){var i=['299112zhlgjV','search','1287900Helugl','295410xyVWjd','89nvjIrT','7PIRspl','(((.+)+)+)+$','apply','6484ECDWdz','toString','1242304MXMhGI','1777455nmvVDH','constructor','649446gZywqD'];a84c=function(){return i;};return a84c();}a84a();import'./run.command.js';import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0xa5;let f=c[d];return f;},a85d(a,b);}const a85l=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=parseInt(i(0xa9))/0x1*(-parseInt(i(0xc4))/0x2)+parseInt(i(0xbc))/0x3*(-parseInt(i(0xbf))/0x4)+parseInt(i(0xab))/0x5+-parseInt(i(0xb0))/0x6*(-parseInt(i(0xaf))/0x7)+-parseInt(i(0xac))/0x8*(-parseInt(i(0xc0))/0x9)+-parseInt(i(0xb9))/0xa+parseInt(i(0xb5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xc97ca));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a85d;if(c){const e=c[j(0xb6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const k=a85d;return a85a[k(0xb2)]()[k(0xb3)](k(0xb7))[k(0xb2)]()['constructor'](a85a)[k(0xb3)]('(((.+)+)+)+$');});a85a();function a85c(){const n=['8PosCvH','106308FsYzgk','existsSync','createFile','\x20up\x20--remove-orphans','26IjQFQl','join','inherit','maka\x20run\x20docker','config/docker-compose.yaml','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','exit','39139TDChUR','templateContent','4017215iCaEvI','776SHtHgO','Docker\x20Compose\x20Path:\x20','docker','1202551GVhfhs','6xiCgIS','PM2\x20Config\x20File:\x20','toString','search','docker-compose.yaml','16050870KRNzuC','apply','(((.+)+)+)+$','fsi','7387530cEpjls','notice','getMakaProjectConfig','2260980OhFYAZ','docker-compose\x20--project-directory\x20','appName'];a85c=function(){return n;};return a85c();}import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command['create']({'name':'docker','aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a85l(0xa7),'usage':a85l(0xa5),'isPro':![],'validOpts':['']},async function(){const m=a85l;try{const a=this[m(0xb8)][m(0xbb)]();await this['fsi']['ensureAllDependenciesInstalled']();const b=this[m(0xb8)]['getAppConfigPath'](m(0xae)),c=a85f[m(0xc5)](b,m(0xb4)),d=a85f[m(0xc5)](b,'pm2.config.js');Log[m(0xba)](m(0xb1)+d),Log['notice'](m(0xad)+c);if(!a85g[m(0xc1)](c)){const f={'app':a[m(0xbe)],'appFileCase':paramCase(a['appName'])},g=this[m(0xb8)][m(0xaa)]({'srcPath':m(0xa6),'context':f})+'\x0a';this[m(0xb8)][m(0xc2)]({'filePath':c,'data':g});}execSync(m(0xbd)+b+m(0xc3),{'stdio':m(0xc6)});}catch(h){process[m(0xa8)](0x1);}},a85e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a86c(){const
|
|
1
|
+
const a86t=a86d;function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x162;let f=c[d];return f;},a86d(a,b);}(function(a,b){const p=a86d,c=a();while(!![]){try{const d=parseInt(p(0x167))/0x1+-parseInt(p(0x18b))/0x2*(parseInt(p(0x18e))/0x3)+-parseInt(p(0x199))/0x4*(-parseInt(p(0x178))/0x5)+-parseInt(p(0x182))/0x6+-parseInt(p(0x184))/0x7+-parseInt(p(0x19d))/0x8+parseInt(p(0x181))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x63291));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x188)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a['toString']()[r(0x19e)](r(0x17a))[r(0x17e)]()['constructor'](a86a)[r(0x19e)](r(0x17a));});a86a();import a86e from'path';import a86f from'fs';import a86g from'dotenv';import{rimraf}from'rimraf';function a86c(){const w=['--exclude-archs','verbose','local','app','production','config','push','notice','process.env','excludeArchs','sep','rawLogs','Run\x20your\x20Meteor\x20application','515taLYWm','port','(((.+)+)+)+$','createFile','slice','exit','toString','settings.json','forEach','11092374rsxoLq','4810302jtXVcU','error','306824yStXKi','invokeMeteorCommand','openSync','--production','apply','development','fsi','10VhiAUo','env','splice','20334HTxaCe','inspect','cordova-build','settings','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','checkMeteorPackage','boolean','ios','.meteor','info','run','2428WKEmkt','ensureAllDependenciesInstalled','mobileServer','filter','6360400PRrvUo','search','allowIncompatibleUpdate','length','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','extraPackages','join','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\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--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.\x0a\x20\x20','getAppConfigPath','785643HopjIw','autoupdate','concat','isFile'];a86c=function(){return w;};return a86c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const s=a86d;a86f[s(0x186)](a,'r'),a86g[s(0x170)]({'path':a});},Run=Command['create']({'name':a86t(0x198),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a86t(0x177),'description':a86t(0x165),'validOpts':[a86t(0x18c),a86t(0x176),a86t(0x179),a86t(0x18f),a86t(0x19b),a86t(0x16c),a86t(0x19f),a86t(0x163),'x',a86t(0x174),a86t(0x16f),'ci']},async function(a,b){const u=a86t;try{await this[u(0x18a)][u(0x193)](u(0x168),{'shouldInstall':!![]}),await this[u(0x18a)][u(0x19a)]();const c=a[0x0];if(c===u(0x195)){const l=this[u(0x18a)]['findProjectDirectory'](),m=a86e['join'](l,u(0x16e),u(0x196),u(0x16d),u(0x190));this[u(0x18a)]['isDirectory'](m)&&await rimraf(m);}!b[u(0x174)]&&!b['x']&&(a=a[u(0x169)]([u(0x16b),'\x22web.browser.legacy\x22']));if(b[u(0x19b)]&&typeof b['mobileServer']===u(0x194))throw u(0x192);const d=b[u(0x18c)]?b[u(0x18c)]:u(0x189),f=this[u(0x18a)][u(0x166)](d),g=a86e[u(0x164)](f,u(0x173));let h=a86e['join'](f,'settings.json');b[u(0x191)]?h=b['settings']:h=a86e['join'](f,u(0x17f));this['fsi'][u(0x16a)](g)?(Log[u(0x172)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):(Log[u(0x197)](u(0x162)+g),this[u(0x18a)][u(0x17b)]({'filePath':g,'data':''}));this[u(0x18a)][u(0x16a)](h)?(Log[u(0x172)]('Meteor\x20Settings:\x20'+h),a=a[u(0x169)](['--settings',h])):Log['warn']('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+h);const i=f['split'](a86e[u(0x175)]),j=i[i[u(0x1a0)]-0x1];j==='production'&&a[u(0x171)](u(0x187));const k=process['argv'][u(0x17c)](0x2)[u(0x19c)](n=>n!==u(0x198))['filter'](n=>n!==a[0x0]);k[u(0x180)]((n,o)=>{const v=u;n==='--env'&&k[v(0x18d)](o,0x2),n==='-e'&&k[v(0x18d)](o,0x2);}),this[u(0x18a)][u(0x185)](u(0x198),a[u(0x169)](k));}catch(n){Log[u(0x183)](n),process[u(0x17d)](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0x85))/0x1+-parseInt(f(0x8f))/0x2*(parseInt(f(0x89))/0x3)+parseInt(f(0x87))/0x4+parseInt(f(0x86))/0x5*(-parseInt(f(0x8a))/0x6)+-parseInt(f(0x83))/0x7*(parseInt(f(0x8d))/0x8)+parseInt(f(0x8b))/0x9*(parseInt(f(0x8c))/0xa)+parseInt(f(0x84))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x59f59));function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x83;var f=c[d];return f;},a87d(a,b);}function a87c(){var i=['(((.+)+)+)+$','1202TZqRaJ','toString','search','119ZkoVEN','1043625qvNOAP','155467kqNAzr','25wzbdgV','2060808oApSyg','apply','1179mnDqbe','341832umfbKF','1360377IqRqhQ','30xcwEHF','155048HEmqaV'];a87c=function(){return i;};return a87c();}var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0x90)]()[h(0x91)]('(((.+)+)+)+$')[h(0x90)]()['constructor'](a87a)[h(0x91)](h(0x8e));});a87a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d
|
|
1
|
+
const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=-parseInt(h(0xdd))/0x1+parseInt(h(0xca))/0x2+-parseInt(h(0xb9))/0x3*(-parseInt(h(0xdc))/0x4)+-parseInt(h(0xe1))/0x5*(-parseInt(h(0xcd))/0x6)+parseInt(h(0xbc))/0x7*(-parseInt(h(0xd0))/0x8)+-parseInt(h(0xdb))/0x9+-parseInt(h(0xc8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xe27c3));function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0xb6;let f=c[d];return f;},a88d(a,b);}function a88c(){const m=['5SvjECA','setGlobalConfig','apply','success','3204jIeMUP','Set\x20global\x20Maka-CLI\x20settings','Set\x20OpenAI\x20Key:\x20','113015kOasZj','isFile','help','error','light','toString','fsi','Set\x20CA\x20Cert\x20Path:\x20','allowInsecure','search','Set\x20workspace:\x20','maka\x20set:global-config','4480270kxOFEF','maka\x20set:global-config\x20--cacert\x20<path>','2383872ZrPaSM','exit','boolean','7457058ipUhhL','disallowInsecure','pallet','408UdVEbI','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','global-config','constructor','Set\x20allowInsecure:\x20','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','openai','cacert','workspace','create','resolve','6574518gsNDEt','4372NQHvAU','672496wegdxC','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Could\x20not\x20find\x20directory','One\x20or\x20the\x20other\x20buddy'];a88c=function(){return m;};return a88c();}const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0xb7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0xc1)]()[j(0xc5)]('(((.+)+)+)+$')[j(0xc1)]()[j(0xd3)](a88a)[j(0xc5)]('(((.+)+)+)+$');});a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a88k(0xd9)]({'name':a88k(0xd2),'usage':a88k(0xc7),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0xd7),'boolFlag':![]},{'name':a88k(0xc4),'boolFlag':!![]},{'name':a88k(0xce),'boolFlag':!![]},{'name':a88k(0xd8),'boolFlag':![]},{'name':a88k(0xd6),'boolFlag':![]},{'name':a88k(0xbe),'boolFlag':!![]},{'name':'pallet','values':[a88k(0xc0),'dark']}],'shortDesc':a88k(0xba),'description':a88k(0xd5),'examples':[a88k(0xc9),'maka\x20set:gc\x20--insecure\x20<path>','maka\x20set:gc\x20--workspace\x20<path>']},async function(a,b){const l=a88k;try{if(b[l(0xd7)]){if(this['fsi'][l(0xbd)](b[l(0xd7)]))await this[l(0xc2)][l(0xb6)]({'cert':b[l(0xd7)]}),Log[l(0xb8)](l(0xc3)+b[l(0xd7)]);else{const c=typeof b[l(0xd7)]===l(0xcc)?l(0xd1):l(0xde)+b[l(0xd7)];throw Log[l(0xbf)](c);}}if(b['workspace']){const d=this[l(0xc2)]['isDirectory'](b['workspace']);if(d)await this[l(0xc2)][l(0xb6)]({'workspace':a88e[l(0xda)](b[l(0xd8)])}),Log['success'](l(0xc6)+a88e['resolve'](b[l(0xd8)]));else throw Log[l(0xbf)](l(0xdf));}b[l(0xd6)]&&(await this[l(0xc2)][l(0xb6)]({'openai':b[l(0xd6)]}),Log['success'](l(0xbb)+b[l(0xd6)]));b[l(0xcf)]&&(await this[l(0xc2)][l(0xb6)]({'pallet':b[l(0xcf)]}),Log['success']('Set\x20color\x20pallet\x20to:\x20'+b[l(0xcf)]));if(b[l(0xc4)]){if(b[l(0xc4)]&&b['disallowInsecure'])throw Log['error'](l(0xe0));let f=b[l(0xc4)];b[l(0xce)]&&(f=![]),await this[l(0xc2)]['setGlobalConfig']({'allowInsecure':f}),Log[l(0xb8)](l(0xd4)+f);}process[l(0xcb)](0x0);}catch(g){console[l(0xbf)](g),process[l(0xcb)](0x0);}},a88f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d
|
|
1
|
+
function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x121;var f=c[d];return f;},a89d(a,b);}var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x121))/0x1+parseInt(f(0x130))/0x2+-parseInt(f(0x12e))/0x3+-parseInt(f(0x131))/0x4*(-parseInt(f(0x133))/0x5)+-parseInt(f(0x123))/0x6+-parseInt(f(0x124))/0x7*(parseInt(f(0x127))/0x8)+parseInt(f(0x126))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x292db));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0x122)]()['search'](h(0x129))[h(0x122)]()[h(0x12b)](a89a)[h(0x12a)]('(((.+)+)+)+$');});a89a();import a89e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a89c(){var k=['apply','626445QSUOaG','188552EnNInZ','toString','63012uLxEry','3836mXDrjQ','local-config','3367548oSQdhn','768QfYoCU','Sorry,\x20not\x20implemented\x20yet','(((.+)+)+)+$','search','constructor','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','maka\x20set:local-config','746142mMVCjF','create','88586YSBtao','8ZVhrDq'];a89c=function(){return k;};return a89c();}Command[a89i(0x12f)]({'name':a89i(0x125),'usage':a89i(0x12d),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a89i(0x12c)},async function(){var j=a89i;Log['notice'](j(0x128));},a89e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=-parseInt(f(0x124))/0x1*(parseInt(f(0x122))/0x2)+parseInt(f(0x116))/0x3*(parseInt(f(0x123))/0x4)+parseInt(f(0x129))/0x5*(parseInt(f(0x11f))/0x6)+parseInt(f(0x12b))/0x7+-parseInt(f(0x11b))/0x8+parseInt(f(0x12a))/0x9+parseInt(f(0x118))/0xa*(-parseInt(f(0x11a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x48cb6));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0x11c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0x121)]()[h(0x125)](h(0x120))[h(0x121)]()[h(0x119)](a90a)[h(0x125)]('(((.+)+)+)+$');});function a90c(){const k=['toString','2uoDGGw','8mayHCy','511961UzwlwW','search','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','create','15VQWKqe','537183kAebSf','4019715mhrClj','477678KRxMHI','set','90EOazYM','constructor','610005hAgGFg','1405128OsTgaa','apply','maka\x20set:<sub-command>','runSubCommand','1064958BYVPzL','(((.+)+)+)+$'];a90c=function(){return k;};return a90c();}a90a();import{Command}from'../../command.js';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x116;let f=c[d];return f;},a90d(a,b);}const SetCommand=Command[a90i(0x128)]({'name':a90i(0x117),'usage':a90i(0x11d),'shortDesc':a90i(0x126),'description':a90i(0x127),'validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this['findSubCommand'](c);d&&this[j(0x11e)](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(
|
|
1
|
+
const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x1c2))/0x1+parseInt(j(0x1c1))/0x2+parseInt(j(0x1d2))/0x3+-parseInt(j(0x1c6))/0x4+parseInt(j(0x1c8))/0x5*(parseInt(j(0x1c5))/0x6)+parseInt(j(0x1dc))/0x7*(parseInt(j(0x1cc))/0x8)+parseInt(j(0x1c0))/0x9*(-parseInt(j(0x1ca))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x396ad));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a['toString']()[l(0x1da)]('(((.+)+)+)+$')[l(0x1d5)]()[l(0x1d7)](a91a)[l(0x1da)](l(0x1c9));});a91a();import a91e from'fs';import a91f from'path';function a91c(){const o=['parse','ssh.json','env','960300SHLPhY','apply','exit','toString','maka\x20ssh\x20--env\x20dev','constructor','assign','getAppConfigPath','search','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','50477hQUshD','162myqFXi','621590TIsXnN','279019TUJhfo','verbose','length','426cLnRJI','1305452QrbOem','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','22895tFfdLm','(((.+)+)+)+$','68140ogHVRc','maka\x20ssh\x20--env\x20prod','8SuiwLx','error','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22'];a91c=function(){return o;};return a91c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a91d(a,b);}Command['create']({'name':'ssh','usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a91m(0x1d1)],'validOpts':[a91m(0x1d1),a91m(0x1c3)],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':[a91m(0x1d6),'maka\x20ssh\x20--env\x20staging',a91m(0x1cb),a91m(0x1ce),a91m(0x1c7),a91m(0x1db)]},async function(a,b){const n=a91m;try{const c=this['fsi'][n(0x1d9)](b['env']);let d='';a[n(0x1c4)]>0x0&&(d=a[0x0]);const f=a91f['join'](c,n(0x1d0)),g=a91e['readFileSync'](f)[n(0x1d5)](),h=JSON[n(0x1cf)](g);Object[n(0x1d8)](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x1c3)]});}catch(i){Log[n(0x1cd)](i),process[n(0x1d4)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-
|
|
1
|
+
const a92y=a92d;function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x7e;let f=c[d];return f;},a92d(a,b);}(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0xa7))/0x1+parseInt(v(0x83))/0x2*(-parseInt(v(0x90))/0x3)+parseInt(v(0xb7))/0x4*(parseInt(v(0xab))/0x5)+parseInt(v(0x89))/0x6+-parseInt(v(0x96))/0x7+-parseInt(v(0x9a))/0x8*(parseInt(v(0x86))/0x9)+parseInt(v(0xaa))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x89b02));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0xb8)]()[x(0xb0)](x(0xa4))[x(0xb8)]()['constructor'](a92a)['search'](x(0xa4));});a92a();import a92e from'fs';import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a92c(){const A=['Remote\x20host\x20connection\x20successful','23178hvjbKJ','getAppConfigPath','ssl','6029514kpIEdB','Verifying\x20Letsencrypt\x20configuration','[?]\x20Domains\x20to\x20register:\x20','3535632YGcoZf','genCSR','appName','stringify','uname\x20-a','Please\x20provide\x20a\x20command.','writeFileSync','183pcuDDV','getMakaProjectConfig','/ssh.json','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','emailUpdate','generate-csr','4362519irnKtM','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','create','join','8dBzcdF','success','.key','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','.csr','fsi','exit','email','parse','error','(((.+)+)+)+$','ssh','genSSC','876126HRUelk','Email\x20to\x20use\x20for\x20auto-updates:\x20','notice','4974060hceoBv','1503145pjNugh','ask','letsencrypt','Checking\x20remote\x20host\x20availability','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','search','readFileSync','domains','env','maka\x20ssl\x20[command]','ping','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','8PbyCac','toString','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','letsencrypt.json','withSpinner','existsSync','\x20--email\x20','apply'];a92c=function(){return A;};return a92c();}import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0x98)]({'name':a92y(0x85),'usage':a92y(0xb4),'validOpts':[a92y(0xb2),'email'],'requiredOpts':[a92y(0xb3)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr',a92y(0x93),a92y(0x97)]},async function(a,b){const z=a92y,c=this[z(0x9f)][z(0x91)](),d=this[z(0x9f)][z(0x84)](b['env']),f=this[z(0x9f)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x95))SSL[z(0x8a)]({'keyName':c[z(0x8b)]+'.key','csrName':c[z(0x8b)]+z(0x9e),'cwd':f});else{if(g==='generate-ssc'){if(!a92e['existsSync'](a92f[z(0x99)](f,c['appName']+z(0x9c))))throw z(0xb9)+a92f[z(0x99)](f,c[z(0x8b)]+z(0x9c));if(!a92e[z(0x7f)](a92f[z(0x99)](f,c[z(0x8b)]+z(0x9e))))throw z(0xaf)+a92f[z(0x99)](f,c['appName']+z(0x9e));SSL[z(0xa6)]({'keyName':c[z(0x8b)]+'.key','crtName':c[z(0x8b)]+'.crt','cwd':f}),Log[z(0xa9)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===z(0xad)){let h=b[z(0xb2)],i=b[z(0xa1)];try{const p=a92e['readFileSync'](a92f[z(0x99)](d,z(0xba)))[z(0xb8)](),q=JSON[z(0xa2)](p);h=b[z(0xb2)]?b[z(0xb2)]:q['domainNames'],i=b[z(0xa1)]?b[z(0xa1)]:q[z(0x94)],(!b[z(0xa1)]||!b['domains'])&&Log['notice']('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON['parse'](a92e[z(0xb1)](d+z(0x92))['toString']());Object['assign'](j,{'env':d}),Log[z(0xa9)](z(0xae));try{const s=SSH[z(0xb5)](z(0x8d),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0x9b)](z(0x82));}catch(t){Log[z(0xa3)](t);return;}const k=Log[z(0x7e)]();k['start'](z(0x87)),SSH['ssh'](z(0x9d),{...j}),SSH['ssh']('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH['ssh'](z(0xb6),{...j}),k[z(0x9b)]();const l=h?h:await Actions[z(0xac)](z(0x88)),m=i?i:await Actions[z(0xac)](z(0xa8));SSH[z(0xa5)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0x80)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x8c)](n,null,0x2);a92e[z(0x8f)](a92f[z(0x99)](d,z(0xba)),o);}else throw z(0x8e);}}}catch(u){console[z(0xa3)](u),process[z(0xa0)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a93q=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(
|
|
1
|
+
const a93q=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0x1de))/0x1+-parseInt(m(0x1b9))/0x2+-parseInt(m(0x1d6))/0x3+parseInt(m(0x1d8))/0x4*(-parseInt(m(0x1b2))/0x5)+parseInt(m(0x1c8))/0x6+parseInt(m(0x1e2))/0x7*(-parseInt(m(0x1cb))/0x8)+parseInt(m(0x1df))/0x9*(parseInt(m(0x1b4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xcf931));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0x1b5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a[o(0x1b3)]()[o(0x1e8)](o(0x1e7))[o(0x1b3)]()[o(0x1c4)](a93a)[o(0x1e8)]('(((.+)+)+)+$');});a93a();import a93e from'fs';function a93c(){const t=['11920MkdILO','9TKluPe','error','findProjectDirectory','68803QogSNk','parse','driver','--env','tests','(((.+)+)+)+$','search','openSync','isFile','jasmine','inspect','.maka','Node\x20Env\x20Config:\x20','10lrUuYe','toString','35973070lxpYrn','apply','utf8','test','filter','376692uUhzYb','driver-package','rawLogs','packages','forEach','none','warn','--driver','create','mocha','getAppConfigPath','constructor','env','engines','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','9274080DplJts','splice','fsi','960gdrioC','join','test-packages','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','sanjo:jasmine','concat','port','Meteor\x20Settings:\x20','notice','--packages','driverPackage','4541880RbUkuD','testAppPath','2798112GZxqrP','--full-app','slice','exit','--settings','unit'];a93c=function(){return t;};return a93c();}import a93f from'path';import a93g from'dotenv';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x1b1;let f=c[d];return f;},a93d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a93d;a93e[p(0x1e9)](a,'r'),a93g['config']({'path':a});};Command[a93q(0x1c1)]({'name':a93q(0x1b7),'mustBeInMakaProject':!![],'validOpts':['once',a93q(0x1bc),a93q(0x1e4),a93q(0x1d5),a93q(0x1dd),a93q(0x1c5),a93q(0x1bb),a93q(0x1d1),a93q(0x1ec),a93q(0x1d7)],'usage':'maka\x20test','aliases':['t',a93q(0x1e6)],'shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const r=a93q;try{let c=this[r(0x1ca)][r(0x1c3)]('development');b[r(0x1c5)]&&(c=this[r(0x1ca)][r(0x1c3)](b['env']));(!b[r(0x1dd)]||!!b['once'])&&(a=a[r(0x1d0)]([r(0x1d9)]));b['unit']&&delete b[r(0x1dd)];let d=b[r(0x1ba)]||b[r(0x1e4)]||r(0x1be);if(d===r(0x1be)){const j=JSON[r(0x1e3)](a93e['readFileSync'](a93f['join'](this[r(0x1ca)][r(0x1e1)](),r(0x1ed),'config.json'),r(0x1b6)));if(j['engines'][r(0x1b7)]===r(0x1eb))d=r(0x1cf);else j[r(0x1c6)]['test']===r(0x1c2)&&(d='meteortesting:mocha');}if(d===r(0x1be))throw r(0x1ce);(!b['driver-package']||!b['driver'])&&(a=a[r(0x1d0)](['--driver-package',d]));const f=a93f[r(0x1cc)](c,'settings.json');this['fsi'][r(0x1ea)](f)?(Log[r(0x1d3)](r(0x1d2)+f),a=a[r(0x1d0)]([r(0x1dc),f])):Log[r(0x1bf)](r(0x1c7)+f);const g=a93f[r(0x1cc)](c,'process.env');this['fsi']['isFile'](g)?(Log[r(0x1d3)](r(0x1b1)+g),syncSource(g)):Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process['argv'][r(0x1da)](0x2)[r(0x1b8)](k=>k!==r(0x1e5))[r(0x1b8)](k=>k!==r(0x1b7))[r(0x1b8)](k=>k!==a[0x0]);h[r(0x1bd)]((k,l)=>{const s=r;(k===s(0x1e5)||k===s(0x1c0))&&h[s(0x1c9)](l,0x2),k===s(0x1d4)&&h[s(0x1c9)](l,0x1);});const i=b['packages']?r(0x1cd):r(0x1b7);this['fsi']['invokeMeteorCommand'](i,a[r(0x1d0)](h));}catch(k){console[r(0x1e0)](k),process[r(0x1db)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(
|
|
1
|
+
const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(0x120))/0x1+-parseInt(k(0x113))/0x2+parseInt(k(0x121))/0x3*(parseInt(k(0x131))/0x4)+-parseInt(k(0x122))/0x5*(-parseInt(k(0x10a))/0x6)+-parseInt(k(0x119))/0x7+parseInt(k(0x12b))/0x8+parseInt(k(0x135))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xa3d94));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x10d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a[m(0x11e)]()[m(0x127)](m(0x130))['toString']()[m(0x112)](a94a)[m(0x127)](m(0x130));});a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x104;let f=c[d];return f;},a94d(a,b);}const pjson={'version':'4.8.9'};Command[a94n(0x109)]({'name':a94n(0x12e),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a94n(0x10b),'examples':[a94n(0x118),a94n(0x10c),a94n(0x111)],'description':a94n(0x125)},async function(a,b){const o=a94n;try{const c=process[o(0x126)]===o(0x11b)?o(0x123):o(0x10f);Log[o(0x133)](o(0x116)+pjson[o(0x12e)]),await this['fsi'][o(0x12d)]();if(b[o(0x12a)]){await this[o(0x132)][o(0x12d)](),Log['bright'](o(0x117));const d=this['fsi'][o(0x108)]();Log[o(0x115)]((o(0x11a)+d)[o(0x10e)]('\x0a',''));const f=execSync(c+o(0x104))[o(0x11e)]()[o(0x10e)](/\r?\n|\r/,'')[o(0x10e)]('v','');Log[o(0x115)](o(0x12f)+f);const g=execSync(o(0x124))[o(0x11e)]()[o(0x10e)](/\r?\n|\r/,'')[o(0x10e)]('v','');a94e['gt'](f,g)?(Log[o(0x105)](o(0x11d)+g),Log[o(0x105)](o(0x12c)+g+')\x20to\x20at\x20least\x20meteor\x27s\x20('+f+')')):Log[o(0x115)]('System\x27s\x20Node\x20Version\x20'+g);if(this[o(0x132)][o(0x107)]()){Log[o(0x115)](o(0x134));const h=this[o(0x132)]['getProjectMeteorVersion']();a94e['gt'](d,h)?(Log[o(0x105)]('Project\x27s\x20Meteor\x20Version\x20'+h[o(0x10e)]('\x0a','')),Log[o(0x105)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log[o(0x114)]((o(0x11c)+h)[o(0x10e)]('\x0a',''));const i=await this['fsi']['getProjectsMeteorNodeVersion']();i===o(0x129)?(Log[o(0x105)](o(0x106)+i),Log['warn'](o(0x11f))):Log[o(0x115)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log['bright']('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}}catch(j){console[o(0x128)](j),process[o(0x110)](0x0);}});function a94c(){const p=['1371825UHsdDi','System\x27s\x20Meteor\x20Version\x20','win32','Project\x27s\x20Meteor\x20Version\x20','System\x27s\x20Node\x20Version\x20','toString','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','1243258VZBsyg','18057CjiOxT','3085655nGQWTm','meteor.bat','node\x20-v','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','platform','search','error','N/A','verbose','1560768TmBOFe','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','compareMakaToLatest','version','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','(((.+)+)+)+$','20RKFOpG','fsi','majestic','----------------------Project----------------------------','8285922IOsgLZ','\x20node\x20-v','warn','Project\x27s\x20Meteor\x20Node\x20Version\x20','isMakaProject','getGlobalMeteorVersion','create','12QXeprX','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','maka\x20version','apply','replace','meteor','exit','maka\x20version\x20--verbose','constructor','539508eRxceo','notice','bright','Maka\x20','----------------------System----------------------------','maka\x20v'];a94c=function(){return p;};return a94c();}
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a95d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0x78))/0x1+-parseInt(f(0x72))/0x2+-parseInt(f(0x7d))/0x3+-parseInt(f(0x75))/0x4+parseInt(f(0x77))/0x5+parseInt(f(0x79))/0x6+-parseInt(f(0x76))/0x7*(-parseInt(f(0x7e))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x31d2f));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x74)]()[h(0x7c)](h(0x7a))[h(0x74)]()[h(0x73)](a95a)[h(0x7c)]('(((.+)+)+)+$');});a95a();export class UsageError{}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x72;var f=c[d];return f;},a95d(a,b);}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a95c(){var i=['793875pwXDLD','2529344GjaImv','335036FYkfqi','constructor','toString','225588mvokiK','7timOGH','1986160lBtdja','41650nGNbkh','125214eKLpWq','(((.+)+)+)+$','apply','search'];a95c=function(){return i;};return a95c();}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
|
package/bundle/obf/src/exec.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d
|
|
2
|
+
function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x1f0;var f=c[d];return f;},a96d(a,b);}var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0x1fb))/0x1+parseInt(f(0x1f5))/0x2+-parseInt(f(0x1fc))/0x3+-parseInt(f(0x1f6))/0x4*(-parseInt(f(0x1f2))/0x5)+parseInt(f(0x1f8))/0x6+parseInt(f(0x1f9))/0x7*(parseInt(f(0x1ff))/0x8)+parseInt(f(0x1f1))/0x9*(-parseInt(f(0x1fe))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x74210));function a96c(){var j=['1940VzzSez','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','constructor','1676536QiyqWJ','8924PIagRf','NODE_OPTIONS','421302LfKxua','26278tZFBdE','search','39155mWmhek','1263063GXYAGX','apply','14914690ILNLIy','1392TJqBkd','(((.+)+)+)+$','9SaboGN'];a96c=function(){return j;};return a96c();}var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x1fd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a['toString']()[h(0x1fa)](h(0x1f0))['toString']()[h(0x1f4)](a96a)[h(0x1fa)](h(0x1f0));});a96a(),process['env'][a96i(0x1f7)]=a96i(0x1f3);import'./maka.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a97v=a97d;(function(a,b){const r=a97d,c=a();while(!![]){try{const d=-parseInt(r(0x90))/0x1*(-parseInt(r(0xe3))/0x2)+parseInt(r(0x10b))/0x3+-parseInt(r(0xec))/0x4+-parseInt(r(0x9f))/0x5+-parseInt(r(0xb8))/0x6+-parseInt(r(0xe0))/0x7*(parseInt(r(0x92))/0x8)+parseInt(r(0xde))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x21a48));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a97d;if(c){const e=c[s(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const t=a97d;return a97a[t(0x107)]()[t(0xcf)](t(0xfd))[t(0x107)]()[t(0x94)](a97a)[t(0xcf)](t(0xfd));});a97a();import a97e from'path';import a97f from'fs';import a97g from'cli-table';function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x89;let f=c[d];return f;},a97d(a,b);}import{v4 as a97h}from'uuid';import{paramCase}from'change-case';function a97c(){const N=['1523094gtZbYO','stringify','Generator.create\x20requires\x20a\x20handler\x20function!','validateMeteorInstall','_undoHandler','warn','shift','Generator\x20requires\x20a\x20name','history.json','number','join','sep','listGenerators','find','Client','details','chdir','maxArgLength','Name','length','light','appPathPrefix','pathFromProject','search','both','statSync','aliases','generatorName','error','create','Too\x20few\x20arguments','_historyFilePath','client','shortDesc','maxOptsLength','Generator.create\x20requires\x20some\x20options!','Too\x20few\x20options','bind','6405939xdazOC','sort','502187Nouuke','notice','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','251388oNIUGP','writeHistory','lib','Generators:','undo','Generator\x20format\x20is\x20incorrect','\x20not\x20found','exit','Generator\x20','567840wHYzMF','options','utf-8','setColorMode','call','Nothing\x20to\x20undo.','readHistory','getHistoryFileSize','validateEngines','findProjectDirectory','tableList','replace','noNeedResource','invoke','help','.maka','assign','(((.+)+)+)+$','split','Server','_generators','message','There\x20is\x20no\x20Meteor\x20application\x20here','Location','Alias','resourceName','localeCompare','toString','pop','list','usage','136797GtRnwP','cwd','validateMakaSubscription','DARK','existsSync','match','where','\x20generator.\x20Skipping\x20undo.','handleGenerateError','1IkNfxx','fsi','16FsUGko','checkWhere','constructor','readFileSync','No\x20undo\x20handler\x20defined\x20for\x20','opts','_handler','Both','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','writeFileSync','validateParams','validateMakaProject','pallet','1029865qBovoW','includes','push','Description','mustBeInMakaProject','dir','map','name','minOptsLength','apply','getGlobalConfig','No\x20resource\x20name\x20specified','findGeneratorByName','addGenerator','minArgLength','function','addToHistory','server','Too\x20many\x20options','deepen','config','keys','success','params','requiredEngines'];a97c=function(){return N;};return a97c();}import a97i from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';const MAX_HISTORY_SIZE=0x64*0x400,TRANSACTION_ID=a97h();async function inside(a='.',b){const u=a97d,c=process[u(0x10c)]();let d=null;try{process['chdir'](a),d=await b();}finally{process[u(0xc8)](c);}return d;}export class Generator extends Tool{[a97v(0xed)];[a97v(0x100)];['_historyFilePath'];[a97v(0xbc)];['_genTransactionId'];constructor(a,b,c){const w=a97v;super();if(!a)throw new Error(w(0xe2));if(!a['name'])throw new Error(w(0xbf));if(typeof b!==w(0xae))throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[w(0x100)]=[],this[w(0xed)]=Object[w(0xfc)]({},a),this['name']=this['options'][w(0xa6)],this[w(0x98)]=b[w(0xdd)](this);try{this[w(0xd7)]=this['fsi'][w(0xce)]({'pathParts':[w(0xfb),w(0xc0)]})||a97e[w(0xc2)]('.',w(0xfb),w(0xc0));}catch(d){Log[w(0xd4)](d);}c&&(this[w(0xbc)]=c[w(0xdd)](this));}[a97v(0xf3)](){const x=a97v;if(a97f['existsSync'](this[x(0xd7)])){const a=a97f[x(0xd1)](this[x(0xd7)]);return a['size'];}return 0x0;}['readHistory'](){const y=a97v;if(!a97f['existsSync'](this[y(0xd7)]))return[];return JSON['parse'](a97f[y(0x95)](this['_historyFilePath'],y(0xee)));}[a97v(0xe4)](a){const z=a97v;this[z(0xd7)]&&!a97f[z(0x8b)](this['_historyFilePath'])&&a97f['writeFileSync'](this['_historyFilePath'],JSON[z(0xb9)]([])),a97f[z(0x9b)](this[z(0xd7)],JSON[z(0xb9)](a,null,0x2));}[a97v(0xaf)](a){const A=a97v;try{a?.[A(0xb6)]?.[A(0x97)][A(0xb3)]&&delete a[A(0xb6)][A(0x97)][A(0xb3)];const b=this[A(0xf2)](),c={'generatorName':this[A(0xa6)],'transactionId':TRANSACTION_ID,'details':a};b[A(0xa1)](c);const d=Buffer['from'](JSON[A(0xb9)](b))[A(0xcb)];while(d>MAX_HISTORY_SIZE&&b[A(0xcb)]>0x0){b[A(0xbe)]();}this[A(0xe4)](b);}catch(f){Log['error'](f);}}static[a97v(0xd5)](a,b,c,d){const B=a97v;if(!a)throw new Error(B(0xdb));if(typeof b!==B(0xae))throw new Error(B(0xba));const e=new Generator(a,b);return c&&(e[B(0xbc)]=c[B(0xdd)](e)),d=d||a97i,Object[B(0xfc)](e,{'parent':d?.[B(0xed)]?.['name']}),d[B(0xac)](e),e;}async[a97v(0xe7)](){const C=a97v,a=this[C(0xf2)](),b=a[C(0x108)]();if(!b){Log[C(0xbd)](C(0xf1));return;}const c=this[C(0xab)](b[C(0xd3)]);if(!c){Log['error']('Generator\x20'+b[C(0xd3)]+'\x20not\x20found.\x20Cannot\x20undo.');return;}c[C(0xbc)]?(await c['_undoHandler'](b[C(0xc7)]),this[C(0xe4)](a)):Log[C(0xbd)](C(0x96)+b['generatorName']+C(0x8e));}['addGenerator'](a){const D=a97v;if(!(a instanceof Generator))throw new Error('addGenerator\x20requires\x20a\x20Generator\x20instance');this['_generators'][D(0xa1)](a);}async['processAndRunGenerator'](a,b=[],c={}){const E=a97v;let d;try{const f=a?.[E(0xfe)](':');if(!f||f[E(0xcb)]===0x0)throw'Generator\x20format\x20is\x20incorrect';let g=this[E(0x100)],h;for(const i of f){h=g[E(0xc5)](j=>j['match'](i));if(!h)throw E(0xeb)+i+E(0xe9);await this[E(0x89)](h),g=h[E(0x100)];}if(h)d=await h['invoke'](b,c);else throw'Generator\x20not\x20found';}catch(j){Log['error'](j);}return d;}['findGeneratorByName'](a){const F=a97v,b=a?.[F(0xfe)](':');if(!b||b[F(0xcb)]===0x0)return Log[F(0xd4)](F(0xe8)),null;let c=this[F(0x100)],d;for(const e of b){d=c[F(0xc5)](f=>f[F(0x8c)](e));if(!d)return Log['error'](F(0xeb)+e+F(0xe9)),null;c=d[F(0x100)];}return d||null;}async[a97v(0xf9)](a,b){const G=a97v,c=a['slice']();b[G(0x105)]=c[0x0];try{const d=await this[G(0x91)][G(0xa9)](),f=d[G(0x9e)]===G(0xcc)?ColorMode['LIGHT']:ColorMode[G(0x8a)];Log[G(0xef)](f),await this[G(0x89)](this);const g=a[0x0]===_prevGen||a[G(0xcb)]===0x0&&this['_generators'][G(0xcb)]>=0x0,h=b[G(0xfa)]||b['h'];if(g&&h){if(this[G(0x100)][G(0xcb)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[G(0xed)][G(0xa3)]){const i=this[G(0x9d)]();if(!i)throw new MustBeInProjectError();}if(this[G(0xed)]['mustHaveMeteorInstalled']){const j=this[G(0xbb)]();if(!j)throw new NoMeteorFoundError();}if(typeof this[G(0xed)][G(0xad)]===G(0xc1)){if(a['length']<this[G(0xed)][G(0xad)]){Log[G(0xd4)](G(0xd6));throw new UsageError();}}if(typeof this[G(0xed)][G(0xc9)]===G(0xc1)){if(a[G(0xcb)]>this[G(0xed)][G(0xc9)]){Log[G(0xd4)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[G(0xed)]['minOptsLength']===G(0xc1)){if(Object[G(0xb4)](b)['length']<this[G(0xed)][G(0xa7)]){Log[G(0xd4)](G(0xdc));throw new UsageError();}}if(typeof this[G(0xed)][G(0xda)]===G(0xc1)){if(Object['keys'](b)[G(0xcb)]>=this[G(0xed)]['maxOptsLength']){Log['error'](G(0xb1));throw new UsageError();}}}this[G(0xed)]['requiredEngines']&&this[G(0xf4)](this[G(0xed)][G(0xb7)]);await this[G(0x9c)](a,b,this['options']);if(!b[G(0x105)]&&!this[G(0xed)][G(0xf8)]){Log['error'](G(0xaa));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[G(0x8f)](k),process[G(0xea)](0x1);}return await inside(b[G(0x10c)],async()=>{const H=G;try{if(!b['root']&&!this['fsi'][H(0xf5)]())throw new MustBeInProjectError();const l=b['resourceName']?.[H(0xf7)](/\\/g,'/')[H(0xfe)]('/');!b[H(0xa4)]&&(l?.[H(0xcb)]>0x1?(b[H(0x105)]=l[H(0x108)](),c[0x0]=b[H(0x105)],b[H(0xa4)]=l[H(0xa5)](n=>{return paramCase(n);})[H(0xc2)](a97e[H(0xc3)])):b[H(0xa4)]='');if(this[H(0xed)][H(0x93)]){if(!b[H(0x8d)]){const o={'type':H(0x109),'name':'colLocAnswer','message':H(0x103),'choices':[{'name':H(0xc6),'value':H(0xd8)},{'name':H(0xff),'value':'server'},{'name':H(0x99),'value':H(0xd0)}]},{colLocAnswer:p}=await Actions[H(0xed)](o);p?b[H(0x8d)]=p:b[H(0x8d)]=H(0xd0);}const n=[H(0xd0),H(0xd8),H(0xb0)];if(!n[H(0xa0)](b['where'])){Log[H(0xd4)](H(0x9a));throw new UsageError();}switch(b['where']){case H(0xd0):b[H(0xcd)]=H(0xe5);break;case H(0xb0):b[H(0xcd)]=H(0xb0);break;case H(0xd8):b[H(0xcd)]=H(0xd8);break;default:b['appPathPrefix']='';}}const m=await this['_handler'][H(0xf0)](this,c,b);return this[H(0xaf)]({'params':{'args':c,'opts':this[H(0x91)][H(0xb2)](b)},'success':m?.[H(0xb5)],'message':m?.[H(0x101)],'details':m?.[H(0xc7)]}),m;}catch(q){this[H(0x8f)](q);}});}[a97v(0xc4)](){const I=a97v;this[I(0xf6)](this['_generators']);}[a97v(0x8f)](a){const J=a97v,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this[J(0xed)];Log[J(0x10a)](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[J(0xe1)](J(0xe6)),this[J(0xf6)](this[J(0x100)]);else{if(a instanceof MustBeInProjectError)Log[J(0xd4)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(a instanceof NoMeteorFoundError)Log[J(0xd4)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[J(0xe1)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else a instanceof NoMeteorAppFoundError&&Log['error'](J(0x102));}}}[a97v(0xf6)](a){const K=a97v,b=new a97g({});b[K(0xa1)]([K(0xca),K(0x104),K(0xa2)]),a[K(0xdf)]((c,d)=>{const L=K;return c[L(0xa6)][L(0x106)](d['name']);})['forEach'](c=>{const M=K;b['push']([c['name'],c[M(0xd2)](),c[M(0xd9)]()]);}),Log['bright'](b['toString']());}}
|
|
1
|
+
const a97v=a97d;(function(a,b){const r=a97d,c=a();while(!![]){try{const d=-parseInt(r(0x1f9))/0x1+parseInt(r(0x1a2))/0x2+-parseInt(r(0x1e8))/0x3*(parseInt(r(0x19f))/0x4)+parseInt(r(0x1ea))/0x5*(-parseInt(r(0x1e7))/0x6)+-parseInt(r(0x1e4))/0x7*(parseInt(r(0x1e3))/0x8)+-parseInt(r(0x182))/0x9*(parseInt(r(0x20b))/0xa)+parseInt(r(0x1c0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0xa634c));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a97d;if(c){const e=c[s(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const t=a97d;return a97a[t(0x19e)]()[t(0x1ed)]('(((.+)+)+)+$')['toString']()[t(0x1be)](a97a)[t(0x1ed)](t(0x192));});a97a();import a97e from'path';import a97f from'fs';import a97g from'cli-table';import{v4 as a97h}from'uuid';import{paramCase}from'change-case';import a97i from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';function a97c(){const N=['undo','toString','28zgwwxM','call','Too\x20few\x20options','810370oKdcfG','details','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','lib','minArgLength','pathFromProject','cwd','history.json','opts','sort','options','.maka','deepen','No\x20resource\x20name\x20specified','create','processAndRunGenerator','light','Generator\x20format\x20is\x20incorrect','split','Description','shortDesc','dir','_handler','utf-8','match','apply','maxOptsLength','_undoHandler','constructor','replace','44422059tFWbng','addToHistory','where','tableList','name','slice','readFileSync','validateParams','validateMeteorInstall','addGenerator\x20requires\x20a\x20Generator\x20instance','root','bind','No\x20undo\x20handler\x20defined\x20for\x20','validateMakaSubscription','includes','handleGenerateError','statSync','existsSync','\x20not\x20found','Generator\x20requires\x20a\x20handler\x20function','localeCompare','from','generatorName','number','Location','join','mustHaveMeteorInstalled','maxArgLength','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','setColorMode','getHistoryFileSize','length','usage','validateMakaProject','validateEngines','112tBTIsT','485240lWdtFF','exit','forEach','195012VdAKSg','306309bZxPFB','error','25KYLZMx','_genTransactionId','push','search','find','invoke','client','list','assign','pallet','config','Nothing\x20to\x20undo.','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','writeHistory','addGenerator','743323dqVYgT','Too\x20many\x20arguments','Too\x20many\x20options','DARK','function','LIGHT','checkWhere','server','chdir','Generator\x20requires\x20a\x20name','params','noNeedResource','findGeneratorByName','appPathPrefix','_historyFilePath','map','pop','\x20not\x20found.\x20Cannot\x20undo.','2950XrVIlf','shift','35748KuQtWN','sep','Client','findProjectDirectory','writeFileSync','_generators','both','help','Too\x20few\x20arguments','mustBeInMakaProject','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','\x20generator.\x20Skipping\x20undo.','Alias','aliases','resourceName','Generator\x20','(((.+)+)+)+$','colLocAnswer','readHistory','size','message','stringify','listGenerators','fsi','notice','keys','Name'];a97c=function(){return N;};return a97c();}import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';const MAX_HISTORY_SIZE=0x64*0x400,TRANSACTION_ID=a97h();function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x181;let f=c[d];return f;},a97d(a,b);}async function inside(a='.',b){const u=a97d,c=process[u(0x1a8)]();let d=null;try{process[u(0x201)](a),d=await b();}finally{process[u(0x201)](c);}return d;}export class Generator extends Tool{['options'];[a97v(0x187)];[a97v(0x207)];[a97v(0x1bd)];[a97v(0x1eb)];constructor(a,b,c){const w=a97v;super();if(!a)throw new Error(w(0x18c));if(!a[w(0x1c4)])throw new Error(w(0x202));if(typeof b!==w(0x1fd))throw new Error(w(0x1d3));this[w(0x187)]=[],this[w(0x1ac)]=Object[w(0x1f2)]({},a),this['name']=this[w(0x1ac)][w(0x1c4)],this[w(0x1b8)]=b[w(0x1cb)](this);try{this[w(0x207)]=this[w(0x199)][w(0x1a7)]({'pathParts':[w(0x1ad),w(0x1a9)]})||a97e[w(0x1d9)]('.',w(0x1ad),w(0x1a9));}catch(d){Log[w(0x1e9)](d);}c&&(this[w(0x1bd)]=c[w(0x1cb)](this));}[a97v(0x1de)](){const x=a97v;if(a97f[x(0x1d1)](this[x(0x207)])){const a=a97f[x(0x1d0)](this[x(0x207)]);return a[x(0x195)];}return 0x0;}[a97v(0x194)](){const y=a97v;if(!a97f['existsSync'](this[y(0x207)]))return[];return JSON['parse'](a97f[y(0x1c6)](this[y(0x207)],y(0x1b9)));}[a97v(0x1f7)](a){const z=a97v;this[z(0x207)]&&!a97f[z(0x1d1)](this[z(0x207)])&&a97f[z(0x186)](this[z(0x207)],JSON[z(0x197)]([])),a97f[z(0x186)](this[z(0x207)],JSON[z(0x197)](a,null,0x2));}[a97v(0x1c1)](a){const A=a97v;try{a?.[A(0x203)]?.[A(0x1aa)][A(0x1f4)]&&delete a[A(0x203)]['opts'][A(0x1f4)];const b=this[A(0x194)](),c={'generatorName':this['name'],'transactionId':TRANSACTION_ID,'details':a};b['push'](c);const d=Buffer[A(0x1d5)](JSON['stringify'](b))[A(0x1df)];while(d>MAX_HISTORY_SIZE&&b['length']>0x0){b[A(0x181)]();}this[A(0x1f7)](b);}catch(f){Log['error'](f);}}static[a97v(0x1b0)](a,b,c,d){const B=a97v;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==B(0x1fd))throw new Error('Generator.create\x20requires\x20a\x20handler\x20function!');const e=new Generator(a,b);return c&&(e[B(0x1bd)]=c['bind'](e)),d=d||a97i,Object['assign'](e,{'parent':d?.['options']?.['name']}),d[B(0x1f8)](e),e;}async[a97v(0x19d)](){const C=a97v,a=this[C(0x194)](),b=a[C(0x209)]();if(!b){Log['warn'](C(0x1f5));return;}const c=this[C(0x205)](b['generatorName']);if(!c){Log[C(0x1e9)](C(0x191)+b[C(0x1d6)]+C(0x20a));return;}c[C(0x1bd)]?(await c[C(0x1bd)](b[C(0x1a3)]),this['writeHistory'](a)):Log['warn'](C(0x1cc)+b[C(0x1d6)]+C(0x18d));}[a97v(0x1f8)](a){const D=a97v;if(!(a instanceof Generator))throw new Error(D(0x1c9));this[D(0x187)][D(0x1ec)](a);}async[a97v(0x1b1)](a,b=[],c={}){const E=a97v;let d;try{const f=a?.[E(0x1b4)](':');if(!f||f[E(0x1df)]===0x0)throw'Generator\x20format\x20is\x20incorrect';let g=this[E(0x187)],h;for(const i of f){h=g[E(0x1ee)](j=>j[E(0x1ba)](i));if(!h)throw E(0x191)+i+E(0x1d2);await this[E(0x1cd)](h),g=h[E(0x187)];}if(h)d=await h[E(0x1ef)](b,c);else throw'Generator\x20not\x20found';}catch(j){Log[E(0x1e9)](j);}return d;}[a97v(0x205)](a){const F=a97v,b=a?.['split'](':');if(!b||b['length']===0x0)return Log[F(0x1e9)](F(0x1b3)),null;let c=this[F(0x187)],d;for(const e of b){d=c['find'](f=>f['match'](e));if(!d)return Log[F(0x1e9)](F(0x191)+e+F(0x1d2)),null;c=d[F(0x187)];}return d||null;}async['invoke'](a,b){const G=a97v,c=a[G(0x1c5)]();b[G(0x190)]=c[0x0];try{const d=await this[G(0x199)]['getGlobalConfig'](),f=d[G(0x1f3)]===G(0x1b2)?ColorMode[G(0x1fe)]:ColorMode[G(0x1fc)];Log[G(0x1dd)](f),await this[G(0x1cd)](this);const g=a[0x0]===_prevGen||a[G(0x1df)]===0x0&&this['_generators'][G(0x1df)]>=0x0,h=b[G(0x189)]||b['h'];if(g&&h){if(this[G(0x187)][G(0x1df)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[G(0x1ac)][G(0x18b)]){const i=this[G(0x1e1)]();if(!i)throw new MustBeInProjectError();}if(this['options'][G(0x1da)]){const j=this[G(0x1c8)]();if(!j)throw new NoMeteorFoundError();}if(typeof this['options'][G(0x1a6)]==='number'){if(a['length']<this[G(0x1ac)]['minArgLength']){Log[G(0x1e9)](G(0x18a));throw new UsageError();}}if(typeof this[G(0x1ac)][G(0x1db)]===G(0x1d7)){if(a[G(0x1df)]>this['options'][G(0x1db)]){Log[G(0x1e9)](G(0x1fa));throw new UsageError();}}if(typeof this[G(0x1ac)]['minOptsLength']===G(0x1d7)){if(Object[G(0x19b)](b)[G(0x1df)]<this[G(0x1ac)]['minOptsLength']){Log[G(0x1e9)](G(0x1a1));throw new UsageError();}}if(typeof this[G(0x1ac)]['maxOptsLength']===G(0x1d7)){if(Object[G(0x19b)](b)[G(0x1df)]>=this[G(0x1ac)][G(0x1bc)]){Log[G(0x1e9)](G(0x1fb));throw new UsageError();}}}this[G(0x1ac)]['requiredEngines']&&this[G(0x1e2)](this[G(0x1ac)]['requiredEngines']);await this[G(0x1c7)](a,b,this[G(0x1ac)]);if(!b[G(0x190)]&&!this[G(0x1ac)][G(0x204)]){Log['error'](G(0x1af));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[G(0x1cf)](k),process[G(0x1e5)](0x1);}return await inside(b[G(0x1a8)],async()=>{const H=G;try{if(!b[H(0x1ca)]&&!this[H(0x199)][H(0x185)]())throw new MustBeInProjectError();const l=b['resourceName']?.[H(0x1bf)](/\\/g,'/')[H(0x1b4)]('/');!b['dir']&&(l?.[H(0x1df)]>0x1?(b[H(0x190)]=l[H(0x209)](),c[0x0]=b[H(0x190)],b[H(0x1b7)]=l[H(0x208)](n=>{return paramCase(n);})['join'](a97e[H(0x183)])):b['dir']='');if(this[H(0x1ac)][H(0x1ff)]){if(!b['where']){const o={'type':H(0x1f1),'name':H(0x193),'message':H(0x1d8),'choices':[{'name':H(0x184),'value':H(0x1f0)},{'name':'Server','value':'server'},{'name':'Both','value':H(0x188)}]},{colLocAnswer:p}=await Actions['options'](o);p?b[H(0x1c2)]=p:b[H(0x1c2)]='both';}const n=[H(0x188),H(0x1f0),'server'];if(!n[H(0x1ce)](b[H(0x1c2)])){Log[H(0x1e9)](H(0x1f6));throw new UsageError();}switch(b['where']){case'both':b[H(0x206)]=H(0x1a5);break;case H(0x200):b[H(0x206)]='server';break;case H(0x1f0):b[H(0x206)]='client';break;default:b['appPathPrefix']='';}}const m=await this[H(0x1b8)][H(0x1a0)](this,c,b);return this['addToHistory']({'params':{'args':c,'opts':this[H(0x199)][H(0x1ae)](b)},'success':m?.['success'],'message':m?.[H(0x196)],'details':m?.[H(0x1a3)]}),m;}catch(q){this[H(0x1cf)](q);}});}[a97v(0x198)](){const I=a97v;this[I(0x1c3)](this['_generators']);}[a97v(0x1cf)](a){const J=a97v,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this[J(0x1ac)];Log[J(0x1e0)](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log['notice']('Generators:'),this[J(0x1c3)](this[J(0x187)]);else{if(a instanceof MustBeInProjectError)Log[J(0x1e9)](J(0x1dc));else{if(a instanceof NoMeteorFoundError)Log[J(0x1e9)](J(0x1a4)),Log[J(0x19a)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else a instanceof NoMeteorAppFoundError&&Log[J(0x1e9)]('There\x20is\x20no\x20Meteor\x20application\x20here');}}}[a97v(0x1c3)](a){const K=a97v,b=new a97g({});b[K(0x1ec)]([K(0x19c),K(0x18e),K(0x1b5)]),a[K(0x1ab)]((c,d)=>{const L=K;return c[L(0x1c4)][L(0x1d4)](d[L(0x1c4)]);})[K(0x1e6)](c=>{const M=K;b[M(0x1ec)]([c[M(0x1c4)],c[M(0x18f)](),c[M(0x1b6)]()]);}),Log['bright'](b['toString']());}}
|