@maka/maka-cli 4.12.2 → 4.12.4
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 -16
- 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/cecr.sub.cmd.js +1 -0
- 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/decr.sub.cmd.js +1 -0
- 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/lecr.sub.cmd.js +1 -0
- 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/patreon.js +1 -1
- package/bundle/obf/src/commands/profile.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/register.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/undo.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/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.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/auth.mui.gen.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/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 -16
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=-parseInt(j(0x87))/0x1*(parseInt(j(0x83))/0x2)+parseInt(j(0x73))/0x3+-parseInt(j(0x7f))/0x4+-parseInt(j(0x7a))/0x5+parseInt(j(0x75))/0x6*(parseInt(j(0x6f))/0x7)+-parseInt(j(0x82))/0x8+parseInt(j(0x85))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xef6e1));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x76)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a['toString']()[l(0x80)]('(((.+)+)+)+$')[l(0x8c)]()['constructor'](a128a)[l(0x80)](l(0x79));});a128a();function a128c(){const p=['20131290MHITRN','create','364607yrgPtX','appPathPrefix','method','pathFromApp','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','toString','-rpc-method.','resourceName','mdg:validated-method','maka\x20{generate,\x20g}:{method,\x20m}\x20name','injectAtEndOfFile','maka\x20g:method\x20todos','imports','dir','7oQVWNO','startup','methods','error','833496Yfmzvg','checkMeteorPackage','2622366gHdHdj','apply','-rpc-method\x27;','tsx','(((.+)+)+)+$','2434705MyJmps','method/method.js','fsi','withValue','template','867464oLJbnY','search','index.','7220672ztIESN','2NobVjG','engines'];a128c=function(){return p;};return a128c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x69;let f=c[d];return f;},a128d(a,b);}Generator[a128m(0x86)]({'name':a128m(0x89),'aliases':['m'],'usage':a128m(0x6a),'checkWhere':!![],'shortDesc':a128m(0x8b),'validOpts':[a128m(0x6e)],'examples':[a128m(0x6c)]},async function(a,b){const n=a128m;try{const c=this[n(0x7c)]['getMakaProjectConfig']();await this[n(0x7c)][n(0x7d)](c,async()=>{const o=n,d=paramCase(b[o(0x8e)]),f={'name':b[o(0x8e)],'fileName':d,'className':pascalCase(b[o(0x8e)]),'camelCase':camelCase(b[o(0x8e)]),'noRename':!![]};let g='js';c[o(0x84)]['js']===o(0x78)&&(g='ts');await this[o(0x7c)][o(0x74)](['maka:check','ddp-rate-limiter',o(0x69)],{'shouldInstall':!![]}),await this['fsi'][o(0x7e)]({'srcPath':o(0x7b),'destPath':this['fsi'][o(0x8a)]({'pathParts':[o(0x6d),'startup',b[o(0x88)],o(0x71),b['dir'],d+o(0x8d)+g]}),'context':f,'config':c});const h=b[o(0x6e)]?'/'+b[o(0x6e)]+'/':'/',i=this['fsi'][o(0x8a)]({'pathParts':[o(0x6d),o(0x70),b[o(0x88)],o(0x81)+c[o(0x84)]['js']]});await this['fsi'][o(0x6b)]({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0x77)});});}catch(d){Log[n(0x72)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a129o=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=-parseInt(l(0x203))/0x1+-parseInt(l(0x206))/0x2+parseInt(l(0x21c))/0x3*(parseInt(l(0x1fd))/0x4)+parseInt(l(0x1f8))/0x5+parseInt(l(0x212))/0x6+-parseInt(l(0x21b))/0x7+parseInt(l(0x1fa))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x3adfa));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0x1fb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a[n(0x204)]()['search'](n(0x1ff))[n(0x204)]()[n(0x20e)](a129a)[n(0x1f9)](n(0x1ff));});function a129c(){const r=['3aKHgkT','/package.js','packages','graphql','package/package.js','relative','fsi','features','pathFromAppWithNoReWrite','41170GhPPeP','search','4830880yZxaQI','apply','hasOwnProperty','162712qucyvY','client','(((.+)+)+)+$','package.js','resourceName','ssr','265178TXQwLp','toString','pathFromProject','49172VJXHlm','component','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','tests/server','theme','template','/client/','package/','constructor','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','.js','lib','684696khCtft','server','engines','noRename','layout','package','create','dir','pathFromApp','1651846OubSYp'];a129c=function(){return r;};return a129c();}a129a();function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a129d(a,b);}import a129e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a129o(0x218)]({'name':a129o(0x217),'aliases':['p'],'usage':a129o(0x20f),'shortDesc':a129o(0x208),'validOpts':[a129o(0x219)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a129o,c=paramCase(b['resourceName']),d=this['fsi'][p(0x21a)]({'pathParts':[p(0x1f1),b['dir'],c]}),e=this['fsi'][p(0x1f7)]({'pathParts':[p(0x1f1),b[p(0x219)],c,p(0x200)]}),f=this['fsi']['getMakaProjectConfig']();await this[p(0x1f5)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0x201)]),'myPath':a129e[q(0x1f4)](this[q(0x1f5)][q(0x205)]({}),d),'cssCaseName':paramCase(b[q(0x201)]),'className':pascalCase(b[q(0x201)]),'camelCaseName':camelCase(b[q(0x201)]),'fileName':c,'client':f[q(0x214)][q(0x1fe)],'graphql':f['engines'][q(0x1f2)],'ssr':f[q(0x214)][q(0x202)],'isComponent':b[q(0x1fc)](q(0x207)),'isLayout':b[q(0x1fc)](q(0x216)),'isStore':b[q(0x1fc)]('store'),'features':f[q(0x1f6)],'noRename':!![],'theme':f['engines'][q(0x20a)]};await this[q(0x1f5)][q(0x20b)]({'srcPath':q(0x1f3),'destPath':e,'context':g,'config':f}),g[q(0x215)]=![];const h=d+q(0x20c)+c+q(0x210);await this['fsi'][q(0x20b)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[q(0x211),q(0x213),'tests/client',q(0x209)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x210);await this['fsi'][q(0x20b)]({'srcPath':q(0x20d)+j+q(0x1f0),'destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a130m=a130d;function a130c(){const p=['13553298fEIzHD','dir','root','test','fileName','vanilla','248qidBNn','pathFromProject','theme','/imports/ui/pages','\x27;\x0a','toString','358011CCcOij','none','hook/hook.js','withTranslations','9123GOcnKT','(((.+)+)+)+$','layout','resourceName','css','hasOwnProperty','.app-tests.js','import\x20\x27./','api','template/template.css','7508920CkPCpV','features','6AblsYY','client','string','graphql','withValue','getMakaProjectConfig','ramda','engines','49ntZMIH','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','route','fsi','warn','checkNpmPackage','processAndRunGenerator','html','true','search','baseDir','react','244kJVgTz','className','layouts','template/template.html','withHook','hooks','apply','maka\x20g:page\x20todos/todos-item','234604lXyfCH','.css','2257845flqQQq','1332696rTFuPw','injectAtBeginningOfFile','template','create','test/test.js','injectTemplateModule','setTemplate','findAppDirectory','.js','Updating\x20npm\x20packages\x20...'];a130c=function(){return p;};return a130c();}(function(a,b){const j=a130d,c=a();while(!![]){try{const d=-parseInt(j(0x187))/0x1*(-parseInt(j(0x1b0))/0x2)+-parseInt(j(0x1a4))/0x3*(parseInt(j(0x1c4))/0x4)+parseInt(j(0x189))/0x5+-parseInt(j(0x18a))/0x6*(-parseInt(j(0x1b8))/0x7)+-parseInt(j(0x19a))/0x8*(parseInt(j(0x1a0))/0x9)+parseInt(j(0x1ae))/0xa+-parseInt(j(0x194))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xc5d4d));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a130d;if(c){const e=c[k(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const l=a130d;return a130a[l(0x19f)]()[l(0x1c1)](l(0x1a5))[l(0x19f)]()['constructor'](a130a)[l(0x1c1)](l(0x1a5));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a130f from'../generators/maka.gen.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x182;let f=c[d];return f;},a130d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a130m(0x18d)]({'name':'page','aliases':aliases,'usage':a130m(0x1b9),'shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a130m(0x1c2),'values':[a130m(0x184),'components','pages',a130m(0x1c6)]},{'name':a130m(0x183),'boolFlag':!![]}],'examples':[a130m(0x186)]},async function(a,b){const n=a130m,c=b[n(0x1c2)]?'/imports/ui/'+b[n(0x1c2)]:n(0x19d),d=this[n(0x1bb)][n(0x191)](),e=this[n(0x1bb)]['pathFromApp']({'pathParts':[c,b[n(0x195)],paramCase(b[n(0x1a7)]),paramCase(b['resourceName'])]}),f=this['fsi'][n(0x1b5)]();let g='';return await this[n(0x1bb)][n(0x1b4)](f,async()=>{const o=n;typeof f['template'][o(0x1bf)]===o(0x1b2)&&(f[o(0x18c)]['html']=f['template'][o(0x1bf)]===o(0x1c0)?!![]:![],this['fsi'][o(0x190)](o(0x1bf),f['template'][o(0x1bf)]));typeof f[o(0x18c)][o(0x197)]===o(0x1b2)&&(f[o(0x18c)][o(0x197)]=f[o(0x18c)][o(0x197)]==='true'?!![]:![],this['fsi'][o(0x190)](o(0x197),f[o(0x18c)][o(0x197)]));typeof f[o(0x18c)][o(0x1a8)]===o(0x1b2)&&(f[o(0x18c)][o(0x1a8)]=f['template'][o(0x1a8)]===o(0x1c0)?!![]:![],this[o(0x1bb)][o(0x190)](o(0x1a8),f['template'][o(0x1a8)]));typeof f[o(0x18c)]['js']===o(0x1b2)&&(f[o(0x18c)]['js']=f['template']['js']===o(0x1c0)?!![]:![],this[o(0x1bb)][o(0x190)]('js',f[o(0x18c)]['js']));!f[o(0x1af)]&&(f[o(0x1af)]={});!b['root']&&!this['fsi'][o(0x1bd)]('ramda')&&(Log[o(0x1bc)](o(0x193)),this[o(0x1bb)]['installNpmPackage'](o(0x1b6),{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a130e['relative'](this['fsi'][o(0x19b)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[o(0x1a7)]),'camelCaseName':camelCase(b[o(0x1a7)]),'fileName':paramCase(b[o(0x1a7)]),'graphql':f[o(0x1b7)][o(0x1b3)],'features':f['features'],'client':f[o(0x1b7)][o(0x1b1)],'api':f[o(0x1b7)][o(0x1ac)],'ssr':f['engines']['ssr'],'isStore':b['hasOwnProperty']('store'),'isComponent':b[o(0x1a9)]('component'),'isLayout':b['hasOwnProperty'](o(0x1a6)),'withTranslations':f[o(0x1af)][o(0x1a3)],'test':f['engines'][o(0x197)],'theme':f['engines'][o(0x19c)]};f[o(0x18c)]['html']&&await this['fsi']['template']({'srcPath':o(0x182),'destPath':e+'.html','context':h,'config':f});f[o(0x1af)]?.['withHooks']||b['withHook']?await this[o(0x1bb)]['template']({'srcPath':o(0x1a2),'destPath':e+o(0x192),'framework':o(0x1c3),'context':h,'config':f}):await this['fsi'][o(0x18c)]({'srcPath':'component/component.js','destPath':e+o(0x192),'framework':o(0x1c3),'context':h,'config':f});f[o(0x1b7)][o(0x197)]!==o(0x1a1)&&await this[o(0x1bb)]['template']({'srcPath':o(0x18e),'destPath':e+o(0x1aa),'framework':o(0x1c3),'context':h,'config':f});f[o(0x18c)][o(0x1a8)]&&await this[o(0x1bb)][o(0x18c)]({'srcPath':o(0x1ad),'destPath':e+o(0x188),'context':Object['assign']({},h,{'className':paramCase(b[o(0x1a7)])}),'config':f});f[o(0x1b7)][o(0x1b1)]!=='react'&&f[o(0x1b7)][o(0x1b1)]!==o(0x199)?(f[o(0x18c)][o(0x1a8)]&&await this[o(0x1bb)][o(0x18b)]({'filePath':e+'.'+f[o(0x1b7)]['js'],'content':o(0x1ab)+h[o(0x198)]+'.'+f['engines'][o(0x1bf)]+o(0x19e)+o(0x1ab)+h[o(0x198)]+'.'+f[o(0x1b7)][o(0x1a8)]+'\x27;'}),!f[o(0x18c)]['css']&&await this[o(0x1bb)][o(0x18b)]({'filePath':e+'.'+f[o(0x1b7)]['js'],'content':'import\x20\x27./'+h[o(0x198)]+'.'+f['engines']['html']+'\x27;'})):f[o(0x18c)][o(0x1a8)]&&await this[o(0x1bb)][o(0x18b)]({'filePath':e+'.'+f[o(0x1b7)]['js'],'content':o(0x1ab)+h['fileName']+'.'+f[o(0x1b7)][o(0x1a8)]+'\x27;'});const i=b['dir']?'/'+b[o(0x195)]+'/':'/';g=''+c+i+h[o(0x198)]+'/'+h['fileName'],await this[o(0x1bb)][o(0x18f)](h[o(0x1c5)],f,g),!b[o(0x196)]&&await a130f[o(0x1be)](o(0x1ba),[i+b['resourceName']],b);}),g+'.'+f['engines']['js'];});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=parseInt(m(0xb9))/0x1+-parseInt(m(0xb0))/0x2*(parseInt(m(0xc3))/0x3)+-parseInt(m(0xad))/0x4*(-parseInt(m(0xae))/0x5)+-parseInt(m(0xa5))/0x6*(-parseInt(m(0xbd))/0x7)+-parseInt(m(0xc9))/0x8+parseInt(m(0xa2))/0x9*(parseInt(m(0xb3))/0xa)+parseInt(m(0xc4))/0xb*(-parseInt(m(0xb5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x618d0));function a131c(){const s=['resourceName','3022756pjxKgB','5LjoqPn','exit','2FonRvo','baseDir','constructor','110hcfSNr','appPathPrefix','39672ujZwug','(((.+)+)+)+$','maka\x20g:publish\x20todos','publish/publish.js','462437fMVtcy','fsi','engines','publish','980oQfzCF','create','template','search','force','tsx','2093622IbIJZD','2530ExKcMr','imports','toString','getMakaProjectConfig','/imports/ui/','3538584jfbqyu','618741jdtBfF','dir','startup','13962MONHxI','apply','withValue','server','globalPublish','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','import\x20\x27./publications'];a131c=function(){return s;};return a131c();}function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xa2;let f=c[d];return f;},a131d(a,b);}const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a[o(0xc6)]()[o(0xc0)](o(0xb6))[o(0xc6)]()[o(0xb2)](a131a)[o(0xc0)](o(0xb6));});a131a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a131p(0xbe)]({'name':a131p(0xbc),'aliases':['p'],'usage':a131p(0xaa),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[a131p(0xc1),a131p(0xa9)],'examples':[a131p(0xb7)]},async function(a,b){const q=a131p;try{const c=b[q(0xc1)]||![],d=b[q(0xb1)]?q(0xc8)+b[q(0xb1)]:'/imports/startup/server/publications',f=this[q(0xba)][q(0xc7)](),g=paramCase(b[q(0xac)]),h=this[q(0xba)]['pathFromApp']({'pathParts':[d,b[q(0xa3)],'',g]});let i='js';f['engines']['js']===q(0xc2)&&(i='ts');await this[q(0xba)][q(0xa7)](f,async()=>{const r=q,l={'name':b[r(0xac)],'collection':pascalCase(b[r(0xac)]),'noRename':!![],'globalPublish':b[r(0xa9)]};await this[r(0xba)][r(0xbf)]({'srcPath':r(0xb8),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0xba)]['pathFromApp']({'pathParts':[q(0xc5),q(0xa4),q(0xa8),b[q(0xb4)],'index.'+f[q(0xbb)]['js']]}),k=b['dir']?'/'+b[q(0xa3)]+'/':'/';return await this[q(0xba)]['injectAtEndOfFile']({'filePath':j,'content':q(0xab)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log['error'](l),process[q(0xaf)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a132c(){const K=['toLowerCase','rewriteDestinationPathForEngine','104952cOflNx','pop','fileContainsString','url','maka\x20g:route\x20pages/lists/listIndex\x20lists','Invalid\x20directory\x20option\x20\x22','only','true','getMakaProjectConfig','route','pages','routes.js','1348795XVJhLk','/imports/ui/','layouts','const\x20privateRoutes\x20=\x20(<>','/imports/ui/pages','replace','<Route','newForm','apply','maka\x20g:route\x20todosEdit\x20todos/:id/edit','40kqpwmM','templateContent','723294IpHuov','includes','startup','(((.+)+)+)+$','imports','injectIntoFile','pathFromProject','\x20already\x20exists.\x20Skipping.','engines','create','Scaffolding\x20for\x20a\x20Route.','821226VgCODY','\x22*\x22','info','private','hooks','filter','client','length','\x20to\x20','maka\x20g:route\x20todosIndex\x20todos','dir','pathFromApp','55zmLmtU','lib','baseDir','5639004axqsbB','fsi','\x0a\x09\x09','<Router','search','1913529ukqioP','const\x20publicRoutes\x20=\x20(<>','route/route.js','PrivateLayout','templateName','warn','Adding\x20route\x20','constructor','layout','map','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','readFileLines','root','toString','injectAtEndOfFile','resourceName','injectAfterLineNumber','react','2137960CZkFrl','Route\x20','join','error','Valid\x20options\x20are:\x20','withHook'];a132c=function(){return K;};return a132c();}const a132B=a132d;function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x99;let f=c[d];return f;},a132d(a,b);}(function(a,b){const y=a132d,c=a();while(!![]){try{const d=parseInt(y(0xcb))/0x1+-parseInt(y(0xab))/0x2+-parseInt(y(0x99))/0x3+-parseInt(y(0xb3))/0x4+parseInt(y(0xe2))/0x5*(-parseInt(y(0xd6))/0x6)+parseInt(y(0xbf))/0x7+parseInt(y(0xc9))/0x8*(parseInt(y(0xe5))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xc5c85));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a132d;if(c){const e=c[z(0xc7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const A=a132d;return a132a['toString']()[A(0xe9)](A(0xce))[A(0xa6)]()[A(0xa0)](a132a)[A(0xe9)](A(0xce));});a132a();import a132e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a132B(0xd4)]({'name':a132B(0xbc),'aliases':aliases,'validOpts':[a132B(0xd9),a132B(0xa1),a132B(0xb9),'cwd','config',a132B(0xa5),a132B(0xb0),a132B(0xb6),a132B(0xe4)],'usage':'maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','shortDesc':a132B(0xd5),'examples':[a132B(0xdf),a132B(0xc8),'maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView',a132B(0xb7),'maka\x20g:route\x20pages/about']},async function(a,b){const C=a132B;try{const c=[C(0xda),'components',C(0xbd),C(0xc1)];if(b[C(0xe4)]&&!c[C(0xcc)](b[C(0xe4)])){Log[C(0xae)](C(0xb8)+b[C(0xe4)]+'\x22'),Log[C(0xae)](C(0xaf)+c[C(0xad)](',\x20'));throw new UsageError();}const d=this[C(0xe6)][C(0xbb)]();await this[C(0xe6)]['withValue'](d,async()=>{const D=C,f=b[D(0xd9)]??![];let g=b['resourceName']['split']('/')[D(0xb4)]();if(!g){Log[D(0xae)](D(0xa3));throw new UsageError();}g=pascalCase(g);let h=b['url']?'/'+b[D(0xb6)]:'/'+b[D(0xa8)];a[D(0xdd)]>0x1&&(h='/'+a[D(0xdb)](function(n){return n!=='/';})['join']('/')[D(0xb1)]());h=h[D(0xc4)](/\/\//g,'/');b[D(0xa1)]&&(b[D(0xa1)]=camelCase(b[D(0xa1)]));const i=b[D(0xe4)]?D(0xc0)+b['baseDir']:D(0xc3),j=a132e[D(0xad)](i,b[D(0xe0)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b['layout']||'MasterLayout','templatePath':j,'templateName':pascalCase(g),'client':d[D(0xd3)]['client'],'newForm':![],'withTranslations':d['features']['withTranslations']};f&&(k[D(0xa1)]=D(0x9c));let l,m;if(d[D(0xd3)][D(0xdc)]===D(0xaa)){if(d[D(0xd3)]['ssr']===D(0xba)){const r=this[D(0xe6)][D(0xe1)]({'pathParts':[D(0xcf),D(0xcd),D(0xe3),D(0xbe)]});l=this[D(0xe6)][D(0xb2)]({'pathParts':[r],'config':d});}else{const s=this[D(0xe6)]['pathFromApp']({'pathParts':['imports',D(0xcd),D(0xdc),D(0xbe)]});l=this[D(0xe6)][D(0xb2)]({'pathParts':[s],'config':d});}const n=await this[D(0xe6)][D(0xb5)](l,g);if(n){Log[D(0x9e)](D(0xac)+g+D(0xd2));return;}else{const t=this[D(0xe6)][D(0xd1)](l);Log[D(0xd8)](D(0x9f)+g+D(0xde)+l[D(0xc4)](t,''));}const o=this[D(0xe6)][D(0xa4)](l)['map']((u,v)=>{const E=D;return u[E(0xcc)]('import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;')?v+0x1:null;})[D(0xdb)](u=>u!==null);let p=this[D(0xe6)][D(0xa4)](l)['map']((u,v)=>{const F=D;return u['includes'](F(0x9a))?v+0x1:null;})[D(0xdb)](u=>u!==null),q=this[D(0xe6)][D(0xa4)](l)[D(0xa2)]((u,v)=>{const G=D;return u[G(0xcc)](G(0xc2))?v+0x1:null;})['filter'](u=>u!==null);p[D(0xdd)]>0x0&&q[D(0xdd)]>0x0&&(k[D(0xc6)]=!![]);m=this[D(0xe6)]['templateContent']({'srcPath':D(0x9b),'framework':D(0xaa),'context':k,'config':d});if(p['length']>0x0||q[D(0xdd)]>0x0){this[D(0xe6)][D(0xa9)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q['length']>0x0)q=this[D(0xe6)][D(0xa4)](l)['map']((u,v)=>{const H=D;return u[H(0xcc)]('const\x20privateRoutes\x20=\x20(<>')?v+0x1:null;})[D(0xdb)](u=>u!==null),this[D(0xe6)][D(0xa9)]({'filePath':l,'content':'\x09{'+k[D(0x9d)]+'}','lineNumber':q[0x0]});else p[D(0xdd)]>0x0?(p=this[D(0xe6)][D(0xa4)](l)['map']((u,v)=>{const I=D;return u[I(0xcc)](I(0x9a))?v+0x1:null;})[D(0xdb)](u=>u!==null),this['fsi'][D(0xa9)]({'filePath':l,'content':'\x09{'+k[D(0x9d)]+'}','lineNumber':p[0x0]})):Log['warn']('Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20'+l);}else{const u=this['fsi'][D(0xa4)](l)['map'](x=>{const J=D;return x[J(0xcc)](J(0xd7));}),v=u['indexOf'](!![])>-0x1,w=v?D(0xc5):'</Router>';await this[D(0xe6)][D(0xd0)]({'filePath':l,'content':D(0xe7)+m+D(0xe7),'begin':D(0xe8),'end':w});}}else{if(d[D(0xd3)][D(0xdc)]==='vanilla'){const x=this[D(0xe6)]['pathFromApp']({'pathParts':[D(0xcf),'startup','client',D(0xbe)]});l=this[D(0xe6)][D(0xb2)]({'pathParts':[x],'config':d}),m=this['fsi'][D(0xca)]({'srcPath':D(0x9b),'context':k}),await this[D(0xe6)][D(0xa7)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log['error'](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0x20b))/0x1*(parseInt(j(0x204))/0x2)+-parseInt(j(0x1f7))/0x3*(parseInt(j(0x20a))/0x4)+parseInt(j(0x1f6))/0x5+-parseInt(j(0x206))/0x6*(parseInt(j(0x200))/0x7)+parseInt(j(0x21b))/0x8*(-parseInt(j(0x211))/0x9)+parseInt(j(0x1fe))/0xa*(parseInt(j(0x208))/0xb)+parseInt(j(0x20d))/0xc*(parseInt(j(0x210))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x711b7));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x1ff)]()[l(0x1f5)]('(((.+)+)+)+$')[l(0x1ff)]()[l(0x1f9)](a133a)[l(0x1f5)](l(0x215));});a133a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a133d(a,b);}function a133c(){const p=['imports','(((.+)+)+)+$','engines','lib','checkNpmPackage','pathFromApp','winston','4718504sIEgHS','installNpmPackage','search','130500RNrShs','36333WgxDHN','svc','constructor','apply','resourceName','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','logger','349240OKcEva','toString','13699hBoOgh','startup','fsi','error','8tgHJjm','tsx','210YVeTos','withValue','220vDMBrn','create','268GZKWnx','223101WEFWLA','Installing\x20winston','474072TLxdDC','winston\x20setimmediate','getMakaProjectConfig','104AUTVBM','9sTdQjN','type','template'];a133c=function(){return p;};return a133c();}import{Log}from'../tools/log/log.class.js';Generator[a133m(0x209)]({'name':'service','aliases':[a133m(0x1f8)],'usage':'maka\x20{generate,\x20g}:{service}\x20<resource-name>','shortDesc':a133m(0x1fc),'requiredOpts':[{'name':a133m(0x212),'values':[a133m(0x1fd)]}],'validOpts':[],'maxArgLength':0x1,'examples':['maka\x20g:svc\x20service-logger\x20--type=logger']},async function(a,b){const n=a133m;try{const c=this['fsi'][n(0x20f)]();await this[n(0x202)][n(0x207)](c,async()=>{const o=n,d=this[o(0x202)][o(0x219)]({}),f=paramCase(b[o(0x1fb)]),g={'name':pascalCase(b[o(0x1fb)]),'fileName':f,'camelCase':camelCase(b[o(0x1fb)]),'type':b['type'],'engine':c[o(0x216)]['js'],'noRename':!![]};let h='js';c['engines']['js']===o(0x205)&&(h='ts');if(b['type']==='logger'){!this[o(0x202)][o(0x218)](o(0x21a))&&await this['fsi'][o(0x1f4)](o(0x20e),{'cwd':d,'msg':o(0x20c)});const i=this[o(0x202)][o(0x219)]({'pathParts':[o(0x214),o(0x201),o(0x217),'services',f+'.'+h]});await this[o(0x202)][o(0x213)]({'srcPath':'service/logger/logger.js','destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0x203)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a134d,c=a();while(!![]){try{var d=-parseInt(f(0xf0))/0x1*(parseInt(f(0xea))/0x2)+parseInt(f(0xf6))/0x3+-parseInt(f(0xe9))/0x4+-parseInt(f(0xeb))/0x5*(parseInt(f(0xf4))/0x6)+-parseInt(f(0xed))/0x7*(-parseInt(f(0xee))/0x8)+-parseInt(f(0xf3))/0x9*(parseInt(f(0xf5))/0xa)+-parseInt(f(0xef))/0xb*(-parseInt(f(0xe7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xeb6a5));var a134b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a134d;if(c){var e=c[g(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){var h=a134d;return a134a[h(0xf1)]()[h(0xf2)](h(0xec))[h(0xf1)]()[h(0xf7)](a134a)[h(0xf2)](h(0xec));});a134a();import'./translation.js';function a134c(){var i=['2nNCelC','15Edkgbe','(((.+)+)+)+$','2047941MVxAdv','32tPSyiN','11VmIWzj','434164FHZFyO','toString','search','1284570GKTGrP','2606082rQkyen','10tUAxqL','4912923UHoWYd','constructor','18831972zWRwjN','apply','6132112FfeWmI'];a134c=function(){return i;};return a134c();}function a134d(a,b){var c=a134c();return a134d=function(d,e){d=d-0xe7;var f=c[d];return f;},a134d(a,b);}import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a135l=a135d;function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a135d(a,b);}(function(a,b){const i=a135d,c=a();while(!![]){try{const d=parseInt(i(0x1be))/0x1+-parseInt(i(0x1b7))/0x2+-parseInt(i(0x1b1))/0x3+-parseInt(i(0x1b2))/0x4+-parseInt(i(0x1b6))/0x5+parseInt(i(0x1b4))/0x6*(parseInt(i(0x1bb))/0x7)+-parseInt(i(0x1ae))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0xa9b78));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a135d;if(c){const e=c[j(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const k=a135d;return a135a['toString']()[k(0x1aa)](k(0x1bd))[k(0x1ba)]()['constructor'](a135a)[k(0x1aa)](k(0x1bd));});a135a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a135e from'path';Generator[a135l(0x1b9)]({'name':a135l(0x1a3),'usage':a135l(0x1b8),'shortDesc':'Generate\x20a\x20new\x20openssl\x20config\x20file','noNeedResource':!![],'requiredOpts':[a135l(0x1af)],'examples':['maka\x20g:sslconfig\x20--env\x20dev'],'validOpts':[]},async function(a,b){const m=a135l;try{const c=await this[m(0x1bc)][m(0x1a5)](),d=await this['fsi'][m(0x1a6)](),f=this['fsi']['getAppConfigPath'](b[m(0x1af)]),g=a135e[m(0x1a8)](f,m(0x1b5),m(0x1b3));await this[m(0x1bc)][m(0x1a7)](c,async()=>{const n=m,h={'app':d[n(0x1a9)],'noRename':!![]};await this[n(0x1bc)][n(0x1a4)]({'srcPath':n(0x1b0),'destPath':g,'framework':n(0x1ab),'context':h,'config':c});});}catch(h){Log[m(0x1ad)](h);}});function a135c(){const o=['4365384ZfwXAr','env','openssl/openssl.conf','240219rQBOtf','2654720UMqqPP','openssl.conf','6IrvIBK','_keys','521760nMGlmG','101476fOuvFk','maka\x20{generate,\x20g}:sslconfig','create','toString','5372717SotHgT','fsi','(((.+)+)+)+$','1372145jaRxlR','sslconfig','template','getMakaProjectConfig','getGlobalConfig','withValue','join','appName','search','service','apply','error'];a135c=function(){return o;};return a135c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a136A=a136d;function a136c(){const D=['exit','startup','readFileSync','warn','143193yjXTgv','true','export\x20{\x20default\x20as\x20','installNpmPackage','312408fbUOBL','create','template','withValue','fsi','error','setProjectConfig','lib','appName','i18n.js','getGlobalConfig','maka\x20{generate,\x20g}:translation','i18n/i18n.js','index.','16agUntH','i18n/index.js','translations','Locale\x20already\x20exported:\x20','i18next\x20i18next-browser-languagedetector\x20react-i18next','isFile','maka\x20g:translation\x20--lang=fr','getMakaProjectConfig','i18n/locales.js','ssr','injectAtBeginningOfFile','locales','engines','search','imports','import\x20\x27../lib/services/translations/i18n\x27;','index.js','\x20}\x20from\x20\x27./','services','873138ywxsXD','import\x20\x27../lib/services/translations/i18n\x27;\x0a','406048tWsCMf','toString','apply','default\x20as\x20','2257626ytlwah','constructor','client','grep','.js','Locale\x20already\x20defined:\x20','maka\x20g:translation\x20--lang=en\x20(default)','translation','(((.+)+)+)+$','rewriteDestinationPathForEngine','maka\x20g:translation\x20--lang=de','service','injectAtEndOfFile','54NrlKFj','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','721808oqXwSh','pathFromApp','lang','40000nCtbdO'];a136c=function(){return D;};return a136c();}(function(a,b){const x=a136d,c=a();while(!![]){try{const d=parseInt(x(0x107))/0x1+parseInt(x(0x115))/0x2*(parseInt(x(0x103))/0x3)+-parseInt(x(0xfb))/0x4+-parseInt(x(0xfe))/0x5+-parseInt(x(0xec))/0x6+-parseInt(x(0xe6))/0x7+parseInt(x(0xe8))/0x8*(parseInt(x(0xf9))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0x4b857));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a136d;if(c){const e=c[y(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const z=a136d;return a136a[z(0xe9)]()['search'](z(0xf4))[z(0xe9)]()[z(0xed)](a136a)[z(0xe0)](z(0xf4));});function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0xdf;let f=c[d];return f;},a136d(a,b);}a136a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a136e from'fs';Generator[a136A(0x108)]({'name':a136A(0xf3),'usage':a136A(0x112),'aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a136A(0xfd),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':'Generate\x20a\x20new\x20locale\x20translation','description':'\x0a\x20\x20Generate\x20a\x20new\x20locale\x20translation\x20file.\x0a\x0a\x20\x20\x20\x20--lang\x20\x20The\x20language\x20code\x20for\x20the\x20new\x20locale\x20file.\x20(i.e.\x20en,\x20fr,\x20de)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20must\x20be\x20the\x20two\x20character\x20language\x20code.\x0a\x20\x20','examples':[a136A(0xf2),a136A(0x11b),a136A(0xf6)],'validOpts':[]},async function(a,b){const B=a136A;try{const c=this[B(0x10b)][B(0x11c)](),d=this['fsi'][B(0x111)](),f=this[B(0x10b)]['findAppDirectory']();await this['fsi'][B(0x10a)](c,async()=>{const C=B;try{!b[C(0xfd)]&&(b[C(0xfd)]='en');!b['root']&&!this[C(0x10b)]['checkNpmPackage']('i18next')&&(Log[C(0x102)](C(0xfa)),this[C(0x10b)][C(0x106)](C(0x119),{'cwd':f}),this[C(0x10b)][C(0x10d)]('features.withTranslations',!![]));const g=this['fsi'][C(0xfc)]({'pathParts':['imports',C(0x100),C(0xee),C(0xe3)]}),h=this[C(0x10b)][C(0xf5)]({'pathParts':[g],'config':c}),i=this[C(0x10b)][C(0xef)](a136e[C(0x101)](h)[C(0xe9)](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];if(c['engines'][C(0x11e)]===C(0x104)){!i&&this[C(0x10b)]['injectAtBeginningOfFile']({'filePath':h,'content':C(0xe7)});const t=this[C(0x10b)][C(0xfc)]({'pathParts':[C(0xe1),C(0x100),'server','index.js']}),u=this[C(0x10b)]['rewriteDestinationPathForEngine']({'pathParts':[t],'config':c}),v=this[C(0x10b)][C(0xef)](a136e['readFileSync'](u)[C(0xe9)](),C(0xe2))[0x0]&&!![];!v&&this['fsi'][C(0x11f)]({'filePath':u,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});}else!i&&this['fsi'][C(0x11f)]({'filePath':h,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});const j={'app':d[C(0x10f)],'config':c},k=this['fsi'][C(0xfc)]({'pathParts':[C(0xe1),C(0x100),C(0x10e),'services',C(0x117),C(0x110)]}),l=this[C(0x10b)][C(0x11a)](this['fsi'][C(0xf5)]({'pathParts':[k],'config':c}));!l&&await this['fsi'][C(0x109)]({'srcPath':C(0x113),'destPath':k,'framework':C(0xf7),'context':j,'config':c});const m=this[C(0x10b)][C(0xfc)]({'pathParts':['imports','startup','lib',C(0xe5),C(0x117),C(0x120),b[C(0xfd)]+C(0xf0)]}),n=this[C(0x10b)][C(0xf5)]({'pathParts':[m],'config':c}),o=this[C(0x10b)][C(0x11a)](n);!o?await this['fsi']['template']({'srcPath':C(0x11d),'destPath':m,'framework':C(0xf7),'context':j,'config':c}):Log['warn'](C(0xf1)+n);const p=this['fsi']['pathFromApp']({'pathParts':[C(0xe1),C(0x100),C(0x10e),C(0xe5),C(0x117),C(0x120),C(0x114)+c[C(0xdf)]['js']]}),q=this[C(0x10b)][C(0xf5)]({'pathParts':[p],'config':c}),r=this[C(0x10b)]['isFile'](q);!r&&await this[C(0x10b)][C(0x109)]({'srcPath':C(0x116),'destPath':p,'framework':C(0xf7),'context':j,'config':c});const s=this[C(0x10b)][C(0xef)](a136e[C(0x101)](p)[C(0xe9)](),C(0xeb)+b['lang'])[0x0]&&!![];!s?await this[C(0x10b)][C(0xf8)]({'filePath':p,'content':C(0x105)+b[C(0xfd)]+C(0xe4)+b[C(0xfd)]+'\x27;'}):Log[C(0x102)](C(0x118)+p);}catch(w){Log[C(0x10c)](w),process['exit'](0x1);}});}catch(g){Log[B(0x10c)](g),process[B(0xff)](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a137l=a137d;(function(a,b){const j=a137d,c=a();while(!![]){try{const d=parseInt(j(0xc0))/0x1+-parseInt(j(0xc3))/0x2+parseInt(j(0xd0))/0x3*(parseInt(j(0xc9))/0x4)+-parseInt(j(0xcb))/0x5+parseInt(j(0xc4))/0x6+parseInt(j(0xc6))/0x7*(parseInt(j(0xc2))/0x8)+-parseInt(j(0xca))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a137c,0x58d21));const a137b=(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;};}()),a137a=a137b(this,function(){const k=a137d;return a137a['toString']()[k(0xcd)](k(0xd2))[k(0xcf)]()['constructor'](a137a)[k(0xcd)]('(((.+)+)+)+$');});a137a();import a137e from'minimist';import a137f from'os';import a137g from'path';function a137d(a,b){const c=a137c();return a137d=function(d,e){d=d-0xbf;let f=c[d];return f;},a137d(a,b);}import a137h from'humps';function a137c(){const m=['stringify','search','run','toString','3zjSlJz','env','(((.+)+)+)+$','camelizeKeys','BROWSERSLIST_IGNORE_OLD_DATA','MAKA_COMMAND_PATH','--max-old-space-size=','TOOL_NODE_FLAGS','675xqRVSh','dirname','136TBzbWE','1066472Qheaxu','2814522lclkLQ','parse','200858JNYicn','floor','NODE_NO_WARNINGS','883444WmKula','2133045uEWosD','221855XqupOR'];a137c=function(){return m;};return a137c();}import a137i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta['url']),__dirname=a137g[a137l(0xc1)](__filename);global[a137l(0xd5)]=__dirname;const total_memory=a137f['totalmem'](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a137l(0xc7)](total_mem_in_mb),process[a137l(0xd1)][a137l(0xbf)]=a137l(0xd6)+total_mem_in_mb,process[a137l(0xd1)][a137l(0xd4)]='1',process[a137l(0xd1)][a137l(0xc8)]='1';const argv=a137e(process['argv']['slice'](0x2)),args=argv['_'],deepCopyArgv=JSON[a137l(0xc5)](JSON[a137l(0xcc)](argv));delete deepCopyArgv['_'];const opts=a137h[a137l(0xd3)](deepCopyArgv);a137i[a137l(0xce)](args,opts);
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a138L=a138d;(function(a,b){const I=a138d,c=a();while(!![]){try{const d=parseInt(I(0x1e1))/0x1+-parseInt(I(0x218))/0x2*(parseInt(I(0x206))/0x3)+-parseInt(I(0x1c8))/0x4+parseInt(I(0x1ea))/0x5*(-parseInt(I(0x1d6))/0x6)+parseInt(I(0x20c))/0x7*(-parseInt(I(0x1d4))/0x8)+-parseInt(I(0x1de))/0x9*(-parseInt(I(0x1f6))/0xa)+-parseInt(I(0x1d3))/0xb*(-parseInt(I(0x1db))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a138c,0xa7fdc));const a138b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a138d;if(c){const e=c[J(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a138a=a138b(this,function(){const K=a138d;return a138a[K(0x1d0)]()[K(0x212)](K(0x210))['toString']()[K(0x224)](a138a)['search'](K(0x210));});function a138d(a,b){const c=a138c();return a138d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a138d(a,b);}a138a();import a138e from'path';import a138f from'os';import a138g from'fs';const homeDir=a138f[a138L(0x21b)]();function a138c(){const a4=['1778196aGNbWs','getMakaProjectConfig','Please\x20choose\x20a\x20valid\x20value\x20for\x20','No\x20usage\x20provided.','description','10164SVaCPI','concat','usage','441OttIbb','existsSync','Please\x20choose\x20an\x20environment','111881uNimAL','find','list','proGenerators','Please\x20provide\x20a\x20resource\x20name:','assign','exit','AppData','fsi','15BNRTld','apply','string','To\x20use\x20this\x20command,\x20\x22','error','isCommand','charAt','match','getShortName','examples','resourceName','domainLicense','255510SyUunp','indexOf','includes','singleLicense','Invalid\x20argument:\x20','\x20version\x20','You\x20must\x20have\x20','roles','aliases','isGenerator','push','platform','parent','map','_handler','options','36UdDoVk','getPro','validateMeteorInstall','env','guest','user','2513Qgjfka','remapShortToLong','isPro','engines','(((.+)+)+)+$','proCommands','search','keys','disableAuthCheck','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.meteor/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','name','None','151274lcKfLR','help','shortDesc','homedir','docker','Please\x20provide\x20a\x20value\x20for\x20','To\x20use\x20this\x20generator,\x20\x22','validateMakaProject','NIE','Invalid\x20value\x20for\x20','every','join','constructor','length','formatToNamedParam','2459332dpteue','.meteor','root','validateMakaSubscription','ask','getAppProjectConfigs','Please\x20choose\x20a\x20value\x20for\x20','dir','toString','\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27','No\x20description\x20provided.','31900tFCTGM','16056XyGJdf','validateUserIsLoggedIn'];a138c=function(){return a4;};return a138c();}import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{Log}from'./tools/log/log.class.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError}from'./error.js';export class Tool{[a138L(0x21c)];[a138L(0x1e9)];[a138L(0x205)];[a138L(0x216)];[a138L(0x202)];[a138L(0x204)];constructor(){const M=a138L;this[M(0x21c)]=new Docker(),this['fsi']=new FSI();}[a138L(0x1f2)](a){const N=a138L;return a[N(0x1f0)](0x0);}['remapShortToLong'](a,b){const O=a138L,c=this[O(0x226)](b),d={...a};for(const e of c){const f=this[O(0x1f2)](e[O(0x216)]);a[f]&&(d[e[O(0x216)]]=a[f],delete d[f]);}return d;}['formatToNamedParam'](a){const P=a138L;if(a[P(0x222)](b=>typeof b===P(0x1ec)))return a[P(0x203)](b=>({'name':b}));return a;}[a138L(0x1f1)](a){const Q=a138L,b=[this[Q(0x216)]][Q(0x1dc)](this[Q(0x205)]['aliases']||[]);return this[Q(0x202)]&&b[Q(0x200)](this['parent']),b[Q(0x1f8)](a);}[a138L(0x21f)](){const R=a138L,a=this[R(0x1e9)]['findProjectDirectory']();return a!==![]?!![]:![];}async[a138L(0x1d5)](){const S=a138L,a=await this['fsi'][S(0x207)]();return a?.['user']&&a?.[S(0x20b)]!==S(0x20a)?!![]:![];}[a138L(0x208)](){const T=a138L;let a=a138e[T(0x223)](homeDir,T(0x1c9));const b=process[T(0x201)]==='win32';if(b){a=a138e[T(0x223)](homeDir,T(0x1e8),'Local',T(0x1c9));if(!a138g[T(0x1df)](a))return![];}else{if(!a138g['existsSync'](a))return![];}return!![];}['validateEngines'](a){const U=a138L,b=this[U(0x1e9)][U(0x1d7)](),c=b[U(0x20f)],d=Object[U(0x213)](a);if(d[U(0x225)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[U(0x1ee)](U(0x1fc)+e+U(0x1fb)+a[e]+'\x20installed\x20to\x20use\x20this\x20command.');throw UsageError;}}}async['validateParams'](a,b,c){const V=a138L,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object['keys'](b);if(h[V(0x1f8)](V(0x1f4))&&b[V(0x1f4)]===undefined&&!g){const m=await Actions[V(0x1cc)](V(0x1e5));b[V(0x1f4)]=m;}let i=[],j=b;if(d){i=this['formatToNamedParam'](d),j=this[V(0x20d)](b,i);if(i&&i?.['length']>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object[V(0x213)](j)[V(0x1f8)](o)){if(o===V(0x209)){const r=this[V(0x1e9)][V(0x1cd)](),s=await Actions[V(0x205)]({'type':V(0x1e3),'name':V(0x209),'message':V(0x1e0),'choices':r});b[V(0x209)]=s[V(0x209)];}else{const t=p;if(t){const u=await Actions[V(0x205)]({'type':V(0x1e3),'name':o,'message':V(0x1ce)+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions['ask'](V(0x21d)+o);if(v['match'](q))b[o]=v;else{Log[V(0x1ee)](V(0x221)+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions[V(0x1cc)](V(0x21d)+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p[V(0x1f8)](x)){Log[V(0x1ee)](V(0x221)+o+':\x20'+x);throw new UsageError();}}}}let k=this[V(0x226)](f),l=b;if(k&&Object[V(0x213)](k)?.[V(0x225)]>0x0){k=k[V(0x1dc)](i||[]),k[V(0x200)]({'name':V(0x1f4),'hidden':!![]}),k[V(0x200)]({'name':V(0x219),'boolFlag':!![]}),k['push']({'name':V(0x1cf),'hidden':!![]}),k[V(0x200)]({'name':'cwd','hidden':!![]}),k[V(0x200)]({'name':V(0x1ca),'hidden':!![]}),k[V(0x200)]({'name':'config','hidden':!![]}),l=this[V(0x20d)](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A['includes'](B))){const C=A;if(C){const D=await Actions['options']({'type':'list','name':z,'message':V(0x1d8)+z,'choices':A});l[z]=D[z];}}if(k['length']>0x0)for(const E of Object[V(0x213)](l)){const F=k[V(0x1e2)](G=>G[V(0x216)]===E);if(!F){Log[V(0x1ee)]('Invalid\x20option:\x20'+E);throw new UsageError();}}}}if(e&&e?.[V(0x225)]>0x0)for(const G of e){if(!e[V(0x1f8)](G)){Log[V(0x1ee)](V(0x1fa)+G);const H=await Actions[V(0x1cc)]('Please\x20provide\x20a\x20valid\x20argument\x20for\x20'+G);a[a[V(0x1f7)](G)]=H;}}return Object[V(0x1e6)](j,l);}async[a138L(0x1cb)](a){const W=a138L;try{if(!a)return;const b=await this['fsi']['getPro']();!b&&(Log[W(0x1ee)](W(0x215)),process[W(0x1e7)](0x1));const c=!b?.[W(0x1fd)][W(0x1f8)](W(0x1f9))&&!b?.[W(0x1fd)][W(0x1f8)](W(0x1f5));if(this[W(0x1ef)](a)){const d=W(0x1ed)+a['name']+'\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27';if(a[W(0x205)][W(0x214)])return;const f=b?.[W(0x211)][W(0x1f8)](a[W(0x216)])||b?.[W(0x211)][W(0x1f8)](a['parent']||'')||this[W(0x205)][W(0x20e)];if(f&&c)throw d;}else{if(this[W(0x1ff)](a)){const g=b?.[W(0x1e4)]['includes'](a[W(0x216)])||b?.[W(0x1e4)][W(0x1f8)](a[W(0x202)]||'');if(g&&c)throw W(0x21e)+a['name']+W(0x1d1);}}}catch(h){Log[W(0x1ee)](h),process[W(0x1e7)](0x1);}}[a138L(0x1ef)](a){const X=a138L;return X(0x205)in a;}[a138L(0x1ff)](a){const Y=a138L;return!(Y(0x205)in a);}[a138L(0x1da)](){const Z=a138L;return this[Z(0x205)]['description']||this[Z(0x205)]['shortDesc']||Z(0x1d2);}['shortDesc'](){const a0=a138L;return this[a0(0x205)][a0(0x21a)]||a0(0x220);}[a138L(0x1dd)](){const a1=a138L;return this['options'][a1(0x1dd)]||a1(0x1d9);}['examples'](){const a2=a138L;return this[a2(0x205)][a2(0x1f3)]||[];}[a138L(0x1fe)](){const a3=a138L;return this[a3(0x205)][a3(0x1fe)]||a3(0x217);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a139d(a,b){const c=a139c();return a139d=function(d,e){d=d-0xf1;let f=c[d];return f;},a139d(a,b);}const a139i=a139d;(function(a,b){const f=a139d,c=a();while(!![]){try{const d=-parseInt(f(0xf4))/0x1*(parseInt(f(0xf9))/0x2)+-parseInt(f(0xf6))/0x3+-parseInt(f(0xf3))/0x4*(-parseInt(f(0x100))/0x5)+parseInt(f(0xff))/0x6+-parseInt(f(0xfb))/0x7*(parseInt(f(0xf2))/0x8)+parseInt(f(0x104))/0x9+parseInt(f(0x105))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a139c,0x8910d));const a139b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a139d;if(c){const e=c[g(0xf1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a139a=a139b(this,function(){const h=a139d;return a139a[h(0xfd)]()[h(0xfe)]('(((.+)+)+)+$')[h(0xfd)]()[h(0x101)](a139a)[h(0xfe)](h(0xf8));});a139a();import a139e from'inquirer';export class Actions{static async[a139i(0xfa)](a,b){const j=a139i,{answer:c}=await a139e[j(0x103)]({'type':b?j(0x102):'input','name':j(0xf5),'message':a});return c;}static async[a139i(0xf7)](a,b=![]){const k=a139i,{answer:c}=await a139e[k(0x103)]({'type':k(0xf7),'name':k(0xf5),'message':a,'default':b});return c;}static async[a139i(0xfc)](a){const l=a139i,b=await a139e[l(0x103)](a);return b;}}function a139c(){const m=['10227970oTfDKo','apply','8hkWxhm','1581448chjsEO','4JXgHeJ','answer','608358TfdPvc','confirm','(((.+)+)+)+$','124340SsKFIO','ask','5554829UudXUE','options','toString','search','72876IHQPNt','5hjkJyB','constructor','password','prompt','3385161eoHjXV'];a139c=function(){return m;};return a139c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a137s=a137d;function a137d(a,b){const c=a137c();return a137d=function(d,e){d=d-0xf7;let f=c[d];return f;},a137d(a,b);}(function(a,b){const p=a137d,c=a();while(!![]){try{const d=-parseInt(p(0x149))/0x1*(parseInt(p(0x10b))/0x2)+parseInt(p(0x120))/0x3+-parseInt(p(0x104))/0x4*(parseInt(p(0x11c))/0x5)+parseInt(p(0x176))/0x6+parseInt(p(0x151))/0x7*(parseInt(p(0x12e))/0x8)+parseInt(p(0x11d))/0x9+-parseInt(p(0x156))/0xa*(parseInt(p(0x118))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a137c,0x59b4b));const a137b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a137d;if(c){const e=c[q(0x16f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a137a=a137b(this,function(){const r=a137d;return a137a[r(0x171)]()[r(0x177)]('(((.+)+)+)+$')['toString']()[r(0x16e)](a137a)[r(0x177)]('(((.+)+)+)+$');});a137a();import a137e from'fs';import a137f from'path';import{execSync}from'child_process';import{Actions}from'../actions/actions.class.js';import{Log}from'../log/log.class.js';import{FSI}from'../fsi/fsi.class.js';import{EC2Client,DescribeInstancesCommand,RunInstancesCommand,TerminateInstancesCommand,CreateKeyPairCommand,AuthorizeSecurityGroupIngressCommand,CreateSecurityGroupCommand,RebootInstancesCommand,DescribeVpcsCommand,DescribeKeyPairsCommand,DeleteKeyPairCommand,DescribeSecurityGroupsCommand,DeleteSecurityGroupCommand}from'@aws-sdk/client-ec2';import{ECRClient,CreateRepositoryCommand}from'@aws-sdk/client-ecr';function a137c(){const X=['.pem.txt','ec2describeInstances','ec2createSG','HostedZones','file://','cidr','key','getSecurityGroups','Reservations','forEach','changeResourceRecordSets','Error\x20saving\x20pem\x20file,\x20aborting','Prices','\x20Error\x20Rason:\x20','9tfsClV','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','getMakaProjectConfig','Pem\x20key\x20saved\x20to\x20','Error\x20linking\x20EC2\x20to\x20Route\x2053:','split','KeyName','registerDomain','2163sqvAxG','route53CreateHostedZone','_keys','ec2create','deleteKeyPair','2300gavQZz','\x20to\x20','utf8','find','\x20PUB_IP:\x20','[+]\x20Setting\x20VPC\x20ID\x20to:\x20','name','pem','type','ec2rebootInstance','ID:\x20','/dev/sdh','log','Could\x20not\x20find\x20hosted\x20zone','readFileSync','Availability','createKeyPair','userData','subnet','environment','sgIds','ingressRule','UPSERT','No\x20instances\x20found','constructor','apply','ask','toString','error','KeyMaterial','writeFileSync','$response','3882276mhJlxq','search','Key\x20Name:\x20[','notice','join','\x20INSTANCE_ID:\x20','Value','Error\x20fetching\x20domain\x20pricing:','\x20Status\x20Code:\x20','isFile','tcp','status','checkDomainAvailability','maka-cli','statusCode','listHostedZonesByName','Description:','209536kCenAS','\x20NAME:\x20','minCount','privateIp','description','Created:\x20','You\x20have\x20no\x20key-pairs,\x20please\x20create\x20one.\x20(maka\x20aws\x20create-key-pair\x20--env).','53386jDoroc','Please\x20choose\x20a\x20VPC:\x20[0]\x20','createKeyPairEC2Key','length','$metadata','suggestion','send','getAppConfigPath','GroupName','vpcId','stringify','VpcId','chooseInstance','8404ogUnue','ignore','env','ec2describeKeys','45BMCoFG','1450494enKENl','Would\x20you\x20like\x20to\x20update\x20the\x20ssh.json\x20config\x20file?','fsi','545469aFBeyk','sgPorts','Error\x20creating\x20hosted\x20zone','tags','instanceId','From\x20AWS:','ecrCreateRepository','ec2terminateInstance','ssh.json','UserData','instance','push','config','sgId','6856MYzKzV','Instances','success','deleteSecurityGroup','exit','running','There\x20was\x20an\x20error\x20registering\x20the\x20domain\x20name','GroupId','chmod\x20400\x20','AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials','Successfully\x20linked\x20EC2\x20instance\x20','Instance\x20rebooted!','\x20STATUS:\x20'];a137c=function(){return X;};return a137c();}import{Route53,Route53Client,CreateHostedZoneCommand}from'@aws-sdk/client-route-53';import{Route53Domains,CheckDomainAvailabilityCommand,RegisterDomainCommand,ListPricesCommand}from'@aws-sdk/client-route-53-domains';const client=new EC2Client({}),ecrClient=new ECRClient({}),route53Client=new Route53Client({}),route53=new Route53({}),route53Domains=new Route53Domains({});export class AWS{[a137s(0x11f)];constructor(){const t=a137s;this[t(0x11f)]=new FSI();}async[a137s(0x126)](a){const u=a137s;try{const b={'repositoryName':a[u(0x15c)]},c=new CreateRepositoryCommand(b),d=await ecrClient[u(0x111)](c);return d;}catch(f){Log[u(0x172)](f);}}async[a137s(0x152)](a){const v=a137s;try{const b={'CallerReference':''+Date['now'](),'Name':a},c=new CreateHostedZoneCommand(b);await route53Client['send'](c),Log[v(0x130)]('Hosted\x20zone\x20created\x20successfully!');}catch(d){Log[v(0x172)](v(0x122)),console[v(0x172)](d);}}async[a137s(0x150)](a,b,c,d){const w=a137s;try{const e={'DomainName':b,'DurationInYears':c,'AutoRenew':d,'AdminContact':a,'RegistrantContact':a,'TechContact':a},f=new RegisterDomainCommand(e);await route53[w(0x111)](f),Log['notice']('The\x20domain\x20\x27'+b+'\x27\x20has\x20been\x20registered\x20successfully.');}catch(g){Log[w(0x172)](w(0x134)),Log['warn'](w(0x125)),console[w(0x172)](w(0xfb)+g[w(0x175)][w(0x101)]),console[w(0x172)](w(0x148)+g['$response']['reason']);}}async[a137s(0xff)](a){const x=a137s,b={'DomainName':a},c=new CheckDomainAvailabilityCommand(b),d=await route53Domains['send'](c),e=d[x(0x165)]==='AVAILABLE';if(e){const f=a[x(0x14e)]('.')['pop'](),g={'MaxItems':0x1,'Tld':f};try{const h=new ListPricesCommand(g),i=await route53Domains[x(0x111)](h);if(i&&i[x(0x147)]&&i[x(0x147)][0x0]?.['RegistrationPrice']){const j=i[x(0x147)][0x0]['RegistrationPrice'];return{'available':e,'cost':j};}}catch(k){console['error'](x(0xfa),k);}}return{'available':e};}async['linkEC2ToRoute53'](a,b,c){const y=a137s;try{const d=await route53[y(0x102)]({'DNSName':c});if(!d?.[y(0x13e)])throw Log[y(0x172)](y(0x163));const e=d?.[y(0x13e)][0x0]['Id'],f={'ChangeBatch':{'Changes':[{'Action':y(0x16c),'ResourceRecordSet':{'Name':c,'Type':'A','TTL':0x12c,'ResourceRecords':[{'Value':b}]}}]},'HostedZoneId':e};await route53[y(0x145)](f),Log[y(0x179)](y(0x138)+a+y(0x157)+c);}catch(g){console['error'](y(0x14d),g);}}async[a137s(0x154)](a){const z=a137s;try{const b={'BlockDeviceMappings':[{'DeviceName':z(0x161),'Ebs':{'VolumeSize':0x64}}],'ImageId':a['imageId'],'InstanceType':a[z(0x15e)],'KeyName':a[z(0x141)],'MaxCount':a['maxCount'],'MinCount':a[z(0x106)],'SecurityGroupIds':a[z(0x16a)][z(0x14e)](','),'SubnetId':a[z(0x168)],'TagSpecifications':[{'ResourceType':z(0x12a),'Tags':a[z(0x123)]}]};a['userData']&&(b[z(0x129)]=z(0x13f)+a[z(0x167)]);const c=new RunInstancesCommand(b),d=await client[z(0x111)](c);return d;}catch(f){Log[z(0x172)](f);}}async[a137s(0x127)](a){const A=a137s;try{const b={'InstanceIds':[a[A(0x124)]]},c=new TerminateInstancesCommand(b),d=await client[A(0x111)](c);return d;}catch(f){return Log[A(0x172)](f),{};}}async[a137s(0x10d)]({keyName:a,env:b}){const B=a137s,c=this[B(0x11f)][B(0x112)](b),d=a137f['join'](c,B(0x153),a+B(0x13b));try{const f={'KeyName':a},g=new CreateKeyPairCommand(f),h=await client[B(0x111)](g),i=h[B(0x173)];if(i){await this['fsi']['createFile']({'filePath':d,'data':i}),execSync(B(0x136)+d,{'stdio':B(0x119)});const j=this[B(0x11f)][B(0xfc)](d);if(j)return Log[B(0x130)](B(0x14c)+d),{'keyName':a,'filePath':d};else throw new Error(B(0x146));}else throw new Error('Error\x20generating\x20key\x20pair');}catch(k){Log[B(0x172)](k),process[B(0x132)](0x1);}}async[a137s(0x16b)]({port:a,groupId:b}){const C=a137s,c={'GroupId':b,'IpPermissions':[{'FromPort':a,'IpProtocol':C(0xfd),'IpRanges':[{'CidrIp':'0.0.0.0/0','Description':''}],'ToPort':a}]},d=new AuthorizeSecurityGroupIngressCommand(c);return Log[C(0x179)]('Port\x20'+a+'\x20opened!'),await client[C(0x111)](d);}async[a137s(0x13d)](a){const D=a137s;try{a[D(0x108)]===''&&(a[D(0x108)]=await Actions['ask'](D(0x103))||'Web\x20App');const b={'Description':a[D(0x108)],'GroupName':a[D(0x15c)],'VpcId':a[D(0x114)]},c=new CreateSecurityGroupCommand(b),d=await client[D(0x111)](c),{GroupId:f}=d;if(!d)throw new Error('AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials');f&&a[D(0x121)][D(0x144)](g=>{const E=D;this[E(0x16b)]({'port':parseInt(g),'groupId':f});}),Log[D(0x130)](D(0x109)+f+D(0x105)+a['name']);}catch(g){return Log[D(0x172)](g),![];}return!![];}async[a137s(0x11b)](a){const F=a137s,b=[];try{const c={},d=new DescribeKeyPairsCommand(c),f=await client['send'](d);if(!f)throw F(0x137);const {KeyPairs:g}=f;g?(g?.[F(0x144)]((h,i)=>{const G=F;h[G(0x14f)]&&b[G(0x12b)]({'id':i,'name':h[G(0x14f)]});}),b[F(0x10e)]>0x0&&b[F(0x144)](h=>{const H=F;h[H(0x15c)]===a?.[H(0x110)]?Log[H(0x130)](H(0x160)+h['id']+'\x20NAME:\x20'+h['name']):Log[H(0x179)](H(0x160)+h['id']+'\x20NAME:\x20'+h[H(0x15c)]);})):Log[F(0x172)](F(0x10a));}catch(h){Log[F(0x172)](h);}return b;}async[a137s(0x155)](a){const I=a137s;try{const b={'KeyName':a},c=new DeleteKeyPairCommand(b);await client['send'](c);}catch(d){Log[I(0x172)](d),process[I(0x132)](0x1);}}async['ec2describeInstances'](){const J=a137s,a=[];try{const b={'Filters':[{'Name':'tag:created-by','Values':[J(0x100)]}]},c=new DescribeInstancesCommand(b),d=await client[J(0x111)](c);d[J(0x143)]?.['forEach']((f,g)=>{const K=J;if(f?.['Instances']){const {InstanceId:h,PublicIpAddress:i,PrivateIpAddress:j,State:k,KeyName:l,Tags:m}=f[K(0x12f)][0x0],n=m?.[K(0x159)](({Key:o})=>o===K(0x169));a[K(0x12b)]({'id':g,'instanceId':h,'privateIp':j,'publicIp':i,'status':k?.['Name'],'name':l,'env':n?.[K(0xf9)]});}}),a[J(0x10e)]>0x0?a[J(0x144)](f=>{const L=J,g=L(0x160)+f['id']+L(0x105)+f['name']+'\x20ENV:\x20'+f[L(0x11a)]+L(0x13a)+f[L(0xfe)]+L(0xf8)+f[L(0x124)]+L(0x15a)+f['publicIp']+'\x20PRIV_IP:\x20'+f[L(0x107)];if(f[L(0xfe)]==='terminated')Log[L(0x172)](g);else f[L(0xfe)]===L(0x133)?Log[L(0x130)](g):Log[L(0x179)](g);}):Log['error']('You\x20have\x20no\x20instances\x20created\x20by\x20maka-cli.\x20\x20Please\x20reivew\x20your\x20AWS\x20console\x20manually!!!');}catch(f){Log[J(0x172)](f);}return a;}async[a137s(0x15f)](a){const M=a137s;try{const b={'InstanceIds':[a['instanceId']]},c=new RebootInstancesCommand(b),d=await client['send'](c);return d[M(0x10f)]['httpStatusCode']===0xc8&&Log[M(0x130)](M(0x139)),d;}catch(f){Log[M(0x172)](f);}}async['chooseVPC'](){const N=a137s;let a='';Log[N(0x179)]('**\x20Available\x20\x20VPCs\x20**');const b=new DescribeVpcsCommand({}),c=await client[N(0x111)](b),{Vpcs:d}=c,e=[];d&&d[N(0x144)]((g,h)=>{const O=N;g[O(0x116)]&&g['CidrBlock']&&e[O(0x12b)]({'id':h,'vpcId':g[O(0x116)],'cidr':g['CidrBlock']});});e[N(0x144)](function(g){const P=N;console[P(0x162)](P(0x160)+g['id']+'\x20VPCID:\x20'+g['vpcId']+'\x20CIDR:\x20'+g[P(0x140)]);});const f=await Actions[N(0x170)](N(0x10c))||0x0;e[N(0x144)](function(g){const Q=N;g['id']==f&&(a=g[Q(0x114)],Log['success'](Q(0x15b)+a+'\x0a'));});if(a==='')return Log[N(0x172)](N(0x14a)),'';return a;}async[a137s(0x117)](){const R=a137s,a=await this[R(0x13c)]();if(a[R(0x10e)]===0x0)return Log[R(0x172)](R(0x16d)),null;const b=await Actions[R(0x170)]('[?]\x20Please\x20choose\x20an\x20instance\x20ID:\x20');!b&&(Log[R(0x172)]('Invalid\x20choice'),process[R(0x132)](0x0));const c=a[R(0x159)](({id:d})=>{return d==parseInt(b);})||null;return c;}async[a137s(0x166)]({env:a}){const S=a137s,b=this[S(0x11f)][S(0x14b)](),{appName:c}=b,d=c+'-'+a,f=await Actions[S(0x170)](S(0x178)+d+']\x20')||d,{filePath:g}=await this[S(0x10d)]({'keyName':f,'env':a});try{const h=await Actions['confirm'](S(0x11e),!![]);if(h)try{const i=a137e[S(0x164)](a137f[S(0xf7)]('config',a,S(0x128)),S(0x158)),j=JSON['parse'](i);j[S(0x15d)]=a137f['join']('_keys',f+S(0x13b)),a137e[S(0x174)](a137f[S(0xf7)](S(0x12c),a,'ssh.json'),JSON[S(0x115)](j,null,0x2));}catch(k){Log['error'](k),Log[S(0x172)]('You\x20will\x20need\x20to\x20update\x20the\x20ssh.json\x20file\x20yourself.');}}catch(l){Log[S(0x172)](l),process[S(0x132)](0x1);}return{'keyName':f,'filePath':g};}async[a137s(0x142)](a){const T=a137s,b=[],c={},d=new DescribeSecurityGroupsCommand(c),e=await client[T(0x111)](d),{SecurityGroups:f}=e;f&&f['forEach'](function(i,j){const U=T;i[U(0x113)]&&i[U(0x135)]&&b[U(0x12b)]({'id':j,'name':i['GroupName'],'sgId':i[U(0x135)]});});let g='',h=0x0;return b['forEach'](function(i){const V=T;i['name']===a&&(g=i[V(0x12d)],h=i['id']);}),{'sgList':b,'createdSgId':g,'listIndexId':h};}async[a137s(0x131)](a){const W=a137s;try{const b={'GroupId':a},c=new DeleteSecurityGroupCommand(b);await client[W(0x111)](c);}catch(d){Log[W(0x172)](d),process['exit'](0x1);}}}
|
|
1
|
+
const a140r=a140d;(function(a,b){const p=a140d,c=a();while(!![]){try{const d=-parseInt(p(0x1ef))/0x1*(-parseInt(p(0x1f7))/0x2)+-parseInt(p(0x193))/0x3*(parseInt(p(0x16f))/0x4)+parseInt(p(0x1f1))/0x5+-parseInt(p(0x178))/0x6*(parseInt(p(0x1f4))/0x7)+-parseInt(p(0x1c4))/0x8+parseInt(p(0x183))/0x9+parseInt(p(0x1be))/0xa*(parseInt(p(0x197))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a140c,0x9f708));const a140b=(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;};}()),a140a=a140b(this,function(){const q=a140d;return a140a[q(0x1dd)]()['search'](q(0x180))[q(0x1dd)]()[q(0x190)](a140a)[q(0x1b4)]('(((.+)+)+)+$');});a140a();import a140e from'fs';import a140f from'path';import{execSync}from'child_process';import{Actions}from'../actions/actions.class.js';import{Log}from'../log/log.class.js';import{FSI}from'../fsi/fsi.class.js';import{EC2Client,DescribeInstancesCommand,RunInstancesCommand,TerminateInstancesCommand,CreateKeyPairCommand,AuthorizeSecurityGroupIngressCommand,CreateSecurityGroupCommand,RebootInstancesCommand,DescribeVpcsCommand,DescribeKeyPairsCommand,DeleteKeyPairCommand,DescribeSecurityGroupsCommand,DeleteSecurityGroupCommand}from'@aws-sdk/client-ec2';import{ECRClient,CreateRepositoryCommand,DeleteRepositoryCommand,GetAuthorizationTokenCommand,DescribeRepositoriesCommand}from'@aws-sdk/client-ecr';function a140c(){const Z=['uri','Description:','$response','ec2describeInstances','name','\x20VPCID:\x20','/dev/sdh','$metadata','tag:created-by','ap-southeast-1','Could\x20not\x20find\x20hosted\x20zone','writeFileSync','privateIp','length','message','me-central-1','readFileSync','start','race','find','createKeyPairEC2Key','ignore','\x20opened!','Would\x20you\x20like\x20to\x20update\x20the\x20ssh.json\x20config\x20file?','ssh.json','authorizationToken','deleteSecurityGroup','The\x20domain\x20\x27','6904jMfOSL','env','\x20Status\x20Code:\x20','subnet','split','ap-south-2','tcp','GroupName','Invalid\x20choice','462uzvjai','Region:\x20','maka-cli',',\x20Name:\x20','tags','send','Pem\x20key\x20saved\x20to\x20','AVAILABLE','(((.+)+)+)+$','\x20Error\x20Rason:\x20','Processing\x20','6795000ODvNVT','base64','ca-west-1','withSpinner','description','instanceId','ecrDeleteRepository','Port\x20','getSecurityGroups','running','You\x20will\x20need\x20to\x20update\x20the\x20ssh.json\x20file\x20yourself.','Final\x20list\x20of\x20ECR\x20repositories:','linkEC2ToRoute53','constructor','ap-east-1','createKeyPair','1419GHNIRW','maxCount','userData','ID:\x20','616lOAKKV','region','checkDomainAvailability','Prices','Key\x20Name:\x20[','Failed\x20to\x20decode\x20password\x20from\x20authorization\x20token','Name','sgPorts','me-south-1','error','timeout','log','ec2rebootInstance','\x20PUB_IP:\x20','\x20INSTANCE_ID:\x20','chooseVPC','ap-northeast-1','ca-central-1','...','ap-southeast-3','\x20STATUS:\x20','Please\x20choose\x20a\x20VPC:\x20[0]\x20','minCount','Authorization\x20data\x20is\x20empty','ap-southeast-2','getEcrLoginPassword','us-west-1','Availability','status','search','Web\x20App','Created:\x20','You\x20have\x20no\x20instances\x20created\x20by\x20maka-cli.\x20\x20Please\x20reivew\x20your\x20AWS\x20console\x20manually!!!','ec2create','KeyName','\x20to\x20','file://','authorizationData','join','207890ieWIFO','stop','from','**\x20Available\x20\x20VPCs\x20**','Hosted\x20zone\x20created\x20successfully!','ecrCreateRepository','10116392qNbAbT','warn','imageId','push','chmod\x20400\x20','changeResourceRecordSets','now','Error\x20saving\x20pem\x20file,\x20aborting','ingressRule','\x20ENV:\x20','AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials','us-east-1','il-central-1','exit','Value','There\x20was\x20an\x20error\x20registering\x20the\x20domain\x20name','ask','getMakaProjectConfig','all','From\x20AWS:','No\x20ECR\x20repositories\x20found\x20across\x20all\x20specified\x20regions.','GroupId','Failed\x20in\x20','repositoryUri',',\x20URI:\x20','toString','ec2terminateInstance','eu-west-3','config','fsi','\x20NAME:\x20','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','vpcId','cidr','reason','_keys','forEach','Authorization\x20token\x20is\x20missing','\x20PRIV_IP:\x20','UPSERT','listAllEcrRepositories','repositories','eu-central-1','200399gHmVhT','terminated','6303445oQarWx','pem','ap-northeast-2','58751FybsIR','utf8','success','2wSbwDO','af-south-1','eu-west-1','publicIp','\x27\x20has\x20been\x20registered\x20successfully.','KeyMaterial','statusCode','Reservations','stringify','You\x20have\x20no\x20key-pairs,\x20please\x20create\x20one.\x20(maka\x20aws\x20create-key-pair\x20--env).','ap-southeast-4','eu-west-2','Error\x20linking\x20EC2\x20to\x20Route\x2053:','Instances','CidrBlock','route53CreateHostedZone','notice','instance','VpcId','eu-north-1','trim','HostedZones','RegistrationPrice','chooseInstance','registerDomain','ec2createSG','environment','sgId'];a140c=function(){return Z;};return a140c();}import{Route53,Route53Client,CreateHostedZoneCommand}from'@aws-sdk/client-route-53';import{Route53Domains,CheckDomainAvailabilityCommand,RegisterDomainCommand,ListPricesCommand}from'@aws-sdk/client-route-53-domains';function a140d(a,b){const c=a140c();return a140d=function(d,e){d=d-0x16f;let f=c[d];return f;},a140d(a,b);}const client=new EC2Client({}),ecrClient=new ECRClient({}),route53Client=new Route53Client({}),route53=new Route53({}),route53Domains=new Route53Domains({});export class AWS{[a140r(0x1e1)];constructor(){const s=a140r;this[s(0x1e1)]=new FSI();}async[a140r(0x1c3)](a){const t=a140r;try{const b={'repositoryName':a[t(0x217)]},c=new CreateRepositoryCommand(b),d=await ecrClient[t(0x17d)](c);return d;}catch(f){Log[t(0x1a0)](f);}}async[a140r(0x1ec)](a){const u=a140r,b=[u(0x1cf),'us-east-2',u(0x1b1),'us-west-2','ap-south-1','ap-northeast-3',u(0x1f3),u(0x21c),u(0x1af),u(0x1a7),u(0x1a8),u(0x1ee),u(0x1f9),u(0x202),u(0x1df),u(0x20a),'sa-east-1',u(0x1f8),u(0x191),u(0x174),u(0x1aa),u(0x201),u(0x185),'eu-south-1','eu-south-2','eu-central-2',u(0x19f),u(0x222),u(0x1d0)],c=[u(0x1cf),u(0x1b1)],d=a===u(0x1d6)?b:a?a['split'](','):c;let f=[];const g=Log[u(0x186)]();for(const h of d){g[u(0x224)](u(0x182)+h['trim']()+u(0x1a9));const i=new ECRClient({'region':h[u(0x20b)]()});try{let j=undefined;do{const k=await Promise[u(0x225)]([i[u(0x17d)](new DescribeRepositoriesCommand({'nextToken':j})),new Promise(l=>setTimeout(()=>l(u(0x1a1)),0x7d0))]);if(k===u(0x1a1)){Log[u(0x1c5)]('Timeout\x20while\x20processing\x20'+h[u(0x20b)]()+'.');break;}else k[u(0x1ed)]&&k[u(0x1ed)][u(0x220)]>0x0&&(f=f['concat'](k[u(0x1ed)]['map'](l=>({'name':l['repositoryName'],'uri':l[u(0x1db)],'region':h[u(0x20b)]()}))));j=k['nextToken'];}while(j);}catch(l){Log['error'](u(0x1da)+h[u(0x20b)]()+':\x20'+l[u(0x221)]);}finally{g[u(0x1bf)]();}}return f[u(0x220)]>0x0?(console[u(0x1a2)](),Log['success'](u(0x18e)),f[u(0x1e8)](m=>{const v=u;Log['info'](v(0x179)+m[v(0x198)]+v(0x17b)+m[v(0x217)]+v(0x1dc)+m[v(0x213)]);})):Log[u(0x1c5)](u(0x1d8)),f;}async[a140r(0x206)](a){const w=a140r;try{const b={'CallerReference':''+Date[w(0x1ca)](),'Name':a},c=new CreateHostedZoneCommand(b);await route53Client[w(0x17d)](c),Log[w(0x1f6)](w(0x1c2));}catch(d){Log[w(0x1a0)]('Error\x20creating\x20hosted\x20zone'),console[w(0x1a0)](d);}}async[a140r(0x20f)](a,b,c,d){const x=a140r;try{const e={'DomainName':b,'DurationInYears':c,'AutoRenew':d,'AdminContact':a,'RegistrantContact':a,'TechContact':a},f=new RegisterDomainCommand(e);await route53[x(0x17d)](f),Log['notice'](x(0x22e)+b+x(0x1fb));}catch(g){Log[x(0x1a0)](x(0x1d3)),Log[x(0x1c5)](x(0x1d7)),console[x(0x1a0)](x(0x171)+g[x(0x215)][x(0x1fd)]),console[x(0x1a0)](x(0x181)+g[x(0x215)][x(0x1e6)]);}}async[a140r(0x199)](a){const y=a140r,b={'DomainName':a},c=new CheckDomainAvailabilityCommand(b),d=await route53Domains[y(0x17d)](c),e=d[y(0x1b2)]===y(0x17f);if(e){const f=a['split']('.')['pop'](),g={'MaxItems':0x1,'Tld':f};try{const h=new ListPricesCommand(g),i=await route53Domains[y(0x17d)](h);if(i&&i[y(0x19a)]&&i[y(0x19a)][0x0]?.[y(0x20d)]){const j=i[y(0x19a)][0x0][y(0x20d)];return{'available':e,'cost':j};}}catch(k){console[y(0x1a0)]('Error\x20fetching\x20domain\x20pricing:',k);}}return{'available':e};}async[a140r(0x18f)](a,b,c){const z=a140r;try{const d=await route53['listHostedZonesByName']({'DNSName':c});if(!d?.[z(0x20c)])throw Log[z(0x1a0)](z(0x21d));const e=d?.[z(0x20c)][0x0]['Id'],f={'ChangeBatch':{'Changes':[{'Action':z(0x1eb),'ResourceRecordSet':{'Name':c,'Type':'A','TTL':0x12c,'ResourceRecords':[{'Value':b}]}}]},'HostedZoneId':e};await route53[z(0x1c9)](f),Log[z(0x207)]('Successfully\x20linked\x20EC2\x20instance\x20'+a+z(0x1ba)+c);}catch(g){console[z(0x1a0)](z(0x203),g);}}async[a140r(0x1b0)]({awsAccountId:a,region:b}){const A=a140r,c=new ECRClient({'region':b});try{const d=new GetAuthorizationTokenCommand({'registryIds':[a]}),f=await c[A(0x17d)](d);if(!f[A(0x1bc)]||f['authorizationData'][A(0x220)]===0x0)throw new Error(A(0x1ae));const g=f['authorizationData'][0x0];if(!g[A(0x22c)])throw new Error(A(0x1e9));const h=g[A(0x22c)];if(!h)throw new Error('No\x20credentials\x20returned\x20from\x20AWS\x20ECR');const i=Buffer[A(0x1c0)](h,A(0x184))[A(0x1dd)](),j=i[A(0x173)](':')[0x1];if(!j)throw new Error(A(0x19c));return j;}catch(k){Log[A(0x1a0)](k);throw k;}}async[a140r(0x189)]({repoName:a,region:b}){const B=a140r,c=new ECRClient({'region':b});try{const d=new DeleteRepositoryCommand({'repositoryName':a,'force':!![]}),f=await c['send'](d);return f;}catch(g){Log[B(0x1a0)](g);throw g;}}async[a140r(0x1b8)](a){const C=a140r;try{const b={'BlockDeviceMappings':[{'DeviceName':C(0x219),'Ebs':{'VolumeSize':0x64}}],'ImageId':a[C(0x1c6)],'InstanceType':a['type'],'KeyName':a['key'],'MaxCount':a[C(0x194)],'MinCount':a[C(0x1ad)],'SecurityGroupIds':a['sgIds'][C(0x173)](','),'SubnetId':a[C(0x172)],'TagSpecifications':[{'ResourceType':C(0x208),'Tags':a[C(0x17c)]}]};a[C(0x195)]&&(b['UserData']=C(0x1bb)+a[C(0x195)]);const c=new RunInstancesCommand(b),d=await client[C(0x17d)](c);return d;}catch(f){Log[C(0x1a0)](f);}}async[a140r(0x1de)](a){const D=a140r;try{const b={'InstanceIds':[a[D(0x188)]]},c=new TerminateInstancesCommand(b),d=await client[D(0x17d)](c);return d;}catch(f){return Log[D(0x1a0)](f),{};}}async[a140r(0x227)]({keyName:a,env:b}){const E=a140r,c=this[E(0x1e1)]['getAppConfigPath'](b),d=a140f['join'](c,E(0x1e7),a+'.pem.txt');try{const f={'KeyName':a},g=new CreateKeyPairCommand(f),h=await client[E(0x17d)](g),i=h[E(0x1fc)];if(i){await this[E(0x1e1)]['createFile']({'filePath':d,'data':i}),execSync(E(0x1c8)+d,{'stdio':E(0x228)});const j=this[E(0x1e1)]['isFile'](d);if(j)return Log['success'](E(0x17e)+d),{'keyName':a,'filePath':d};else throw new Error(E(0x1cb));}else throw new Error('Error\x20generating\x20key\x20pair');}catch(k){Log[E(0x1a0)](k),process[E(0x1d1)](0x1);}}async[a140r(0x1cc)]({port:a,groupId:b}){const F=a140r,c={'GroupId':b,'IpPermissions':[{'FromPort':a,'IpProtocol':F(0x175),'IpRanges':[{'CidrIp':'0.0.0.0/0','Description':''}],'ToPort':a}]},d=new AuthorizeSecurityGroupIngressCommand(c);return Log['notice'](F(0x18a)+a+F(0x229)),await client[F(0x17d)](d);}async[a140r(0x210)](a){const G=a140r;try{a[G(0x187)]===''&&(a[G(0x187)]=await Actions['ask'](G(0x214))||G(0x1b5));const b={'Description':a[G(0x187)],'GroupName':a[G(0x217)],'VpcId':a[G(0x1e4)]},c=new CreateSecurityGroupCommand(b),d=await client['send'](c),{GroupId:f}=d;if(!d)throw new Error(G(0x1ce));f&&a[G(0x19e)][G(0x1e8)](g=>{this['ingressRule']({'port':parseInt(g),'groupId':f});}),Log['success'](G(0x1b6)+f+G(0x1e2)+a[G(0x217)]);}catch(g){return Log[G(0x1a0)](g),![];}return!![];}async['ec2describeKeys'](a){const H=a140r,b=[];try{const c={},d=new DescribeKeyPairsCommand(c),f=await client[H(0x17d)](d);if(!f)throw H(0x1ce);const {KeyPairs:g}=f;g?(g?.[H(0x1e8)]((h,i)=>{const I=H;h['KeyName']&&b[I(0x1c7)]({'id':i,'name':h[I(0x1b9)]});}),b['length']>0x0&&b[H(0x1e8)](h=>{const J=H;h[J(0x217)]===a?.['suggestion']?Log[J(0x1f6)](J(0x196)+h['id']+J(0x1e2)+h[J(0x217)]):Log[J(0x207)](J(0x196)+h['id']+J(0x1e2)+h[J(0x217)]);})):Log[H(0x1a0)](H(0x200));}catch(h){Log[H(0x1a0)](h);}return b;}async['deleteKeyPair'](a){const K=a140r;try{const b={'KeyName':a},c=new DeleteKeyPairCommand(b);await client['send'](c);}catch(d){Log[K(0x1a0)](d),process[K(0x1d1)](0x1);}}async['ec2describeInstances'](){const L=a140r,a=[];try{const b={'Filters':[{'Name':L(0x21b),'Values':[L(0x17a)]}]},c=new DescribeInstancesCommand(b),d=await client['send'](c);d[L(0x1fe)]?.[L(0x1e8)]((f,g)=>{const M=L;if(f?.['Instances']){const {InstanceId:h,PublicIpAddress:i,PrivateIpAddress:j,State:k,KeyName:l,Tags:m}=f[M(0x204)][0x0],n=m?.[M(0x226)](({Key:o})=>o===M(0x211));a[M(0x1c7)]({'id':g,'instanceId':h,'privateIp':j,'publicIp':i,'status':k?.[M(0x19d)],'name':l,'env':n?.[M(0x1d2)]});}}),a['length']>0x0?a[L(0x1e8)](f=>{const N=L,g=N(0x196)+f['id']+'\x20NAME:\x20'+f['name']+N(0x1cd)+f[N(0x170)]+N(0x1ab)+f[N(0x1b3)]+N(0x1a5)+f['instanceId']+N(0x1a4)+f[N(0x1fa)]+N(0x1ea)+f[N(0x21f)];if(f[N(0x1b3)]===N(0x1f0))Log[N(0x1a0)](g);else f['status']===N(0x18c)?Log[N(0x1f6)](g):Log[N(0x207)](g);}):Log[L(0x1a0)](L(0x1b7));}catch(f){Log[L(0x1a0)](f);}return a;}async[a140r(0x1a3)](a){const O=a140r;try{const b={'InstanceIds':[a[O(0x188)]]},c=new RebootInstancesCommand(b),d=await client[O(0x17d)](c);return d[O(0x21a)]['httpStatusCode']===0xc8&&Log[O(0x1f6)]('Instance\x20rebooted!'),d;}catch(f){Log[O(0x1a0)](f);}}async[a140r(0x1a6)](){const P=a140r;let a='';Log['notice'](P(0x1c1));const b=new DescribeVpcsCommand({}),c=await client['send'](b),{Vpcs:d}=c,e=[];d&&d[P(0x1e8)]((g,h)=>{const Q=P;g[Q(0x209)]&&g[Q(0x205)]&&e['push']({'id':h,'vpcId':g[Q(0x209)],'cidr':g[Q(0x205)]});});e[P(0x1e8)](function(g){const R=P;console[R(0x1a2)](R(0x196)+g['id']+R(0x218)+g[R(0x1e4)]+'\x20CIDR:\x20'+g[R(0x1e5)]);});const f=await Actions[P(0x1d4)](P(0x1ac))||0x0;e[P(0x1e8)](function(g){const S=P;g['id']==f&&(a=g['vpcId'],Log[S(0x1f6)]('[+]\x20Setting\x20VPC\x20ID\x20to:\x20'+a+'\x0a'));});if(a==='')return Log[P(0x1a0)](P(0x1e3)),'';return a;}async[a140r(0x20e)](){const T=a140r,a=await this[T(0x216)]();if(a[T(0x220)]===0x0)return Log[T(0x1a0)]('No\x20instances\x20found'),null;const b=await Actions[T(0x1d4)]('[?]\x20Please\x20choose\x20an\x20instance\x20ID:\x20');!b&&(Log[T(0x1a0)](T(0x177)),process['exit'](0x0));const c=a[T(0x226)](({id:d})=>{return d==parseInt(b);})||null;return c;}async[a140r(0x192)]({env:a}){const U=a140r,b=this[U(0x1e1)][U(0x1d5)](),{appName:c}=b,d=c+'-'+a,f=await Actions[U(0x1d4)](U(0x19b)+d+']\x20')||d,{filePath:g}=await this[U(0x227)]({'keyName':f,'env':a});try{const h=await Actions['confirm'](U(0x22a),!![]);if(h)try{const i=a140e[U(0x223)](a140f[U(0x1bd)](U(0x1e0),a,U(0x22b)),U(0x1f5)),j=JSON['parse'](i);j[U(0x1f2)]=a140f[U(0x1bd)]('_keys',f+'.pem.txt'),a140e[U(0x21e)](a140f[U(0x1bd)]('config',a,U(0x22b)),JSON[U(0x1ff)](j,null,0x2));}catch(k){Log['error'](k),Log[U(0x1a0)](U(0x18d));}}catch(l){Log[U(0x1a0)](l),process[U(0x1d1)](0x1);}return{'keyName':f,'filePath':g};}async[a140r(0x18b)](a){const V=a140r,b=[],c={},d=new DescribeSecurityGroupsCommand(c),e=await client[V(0x17d)](d),{SecurityGroups:f}=e;f&&f[V(0x1e8)](function(i,j){const W=V;i['GroupName']&&i[W(0x1d9)]&&b[W(0x1c7)]({'id':j,'name':i[W(0x176)],'sgId':i[W(0x1d9)]});});let g='',h=0x0;return b[V(0x1e8)](function(i){const X=V;i[X(0x217)]===a&&(g=i[X(0x212)],h=i['id']);}),{'sgList':b,'createdSgId':g,'listIndexId':h};}async[a140r(0x22d)](a){const Y=a140r;try{const b={'GroupId':a},c=new DeleteSecurityGroupCommand(b);await client[Y(0x17d)](c);}catch(d){Log['error'](d),process[Y(0x1d1)](0x1);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var k=a141d,c=a();while(!![]){try{var d=parseInt(k(0x1b9))/0x1*(-parseInt(k(0x1bd))/0x2)+-parseInt(k(0x1b2))/0x3*(-parseInt(k(0x1b7))/0x4)+-parseInt(k(0x1b0))/0x5*(parseInt(k(0x1b5))/0x6)+parseInt(k(0x1b6))/0x7*(parseInt(k(0x1ba))/0x8)+parseInt(k(0x1b3))/0x9+parseInt(k(0x1b4))/0xa+-parseInt(k(0x1ae))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a141c,0x6ec92));function a141d(a,b){var c=a141c();return a141d=function(d,e){d=d-0x1ae;var f=c[d];return f;},a141d(a,b);}export var CountryCode;(function(c){var d=(function(){var f=!![];return function(g,h){var i=f?function(){var l=a141d;if(h){var j=h[l(0x1b8)](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var m=a141d;return e[m(0x1bc)]()[m(0x1b1)]('(((.+)+)+)+$')[m(0x1bc)]()[m(0x1bb)](e)[m(0x1b1)](m(0x1af));});e(),c['AC']='AC',c['AD']='AD',c['AE']='AE',c['AF']='AF',c['AG']='AG',c['AI']='AI',c['AL']='AL',c['AM']='AM',c['AN']='AN',c['AO']='AO',c['AQ']='AQ',c['AR']='AR',c['AS']='AS',c['AT']='AT',c['AU']='AU',c['AW']='AW',c['AX']='AX',c['AZ']='AZ',c['BA']='BA',c['BB']='BB',c['BD']='BD',c['BE']='BE',c['BF']='BF',c['BG']='BG',c['BH']='BH',c['BI']='BI',c['BJ']='BJ',c['BL']='BL',c['BM']='BM',c['BN']='BN',c['BO']='BO',c['BQ']='BQ',c['BR']='BR',c['BS']='BS',c['BT']='BT',c['BV']='BV',c['BW']='BW',c['BY']='BY',c['BZ']='BZ',c['CA']='CA',c['CC']='CC',c['CD']='CD',c['CF']='CF',c['CG']='CG',c['CH']='CH',c['CI']='CI',c['CK']='CK',c['CL']='CL',c['CM']='CM',c['CN']='CN',c['CO']='CO',c['CR']='CR',c['CU']='CU',c['CV']='CV',c['CW']='CW',c['CX']='CX',c['CY']='CY',c['CZ']='CZ',c['DE']='DE',c['DJ']='DJ',c['DK']='DK',c['DM']='DM',c['DO']='DO',c['DZ']='DZ',c['EC']='EC',c['EE']='EE',c['EG']='EG',c['EH']='EH',c['ER']='ER',c['ES']='ES',c['ET']='ET',c['FI']='FI',c['FJ']='FJ',c['FK']='FK',c['FM']='FM',c['FO']='FO',c['FR']='FR',c['GA']='GA',c['GB']='GB',c['GD']='GD',c['GE']='GE',c['GF']='GF',c['GG']='GG',c['GH']='GH',c['GI']='GI',c['GL']='GL',c['GM']='GM',c['GN']='GN',c['GP']='GP',c['GQ']='GQ',c['GR']='GR',c['GS']='GS',c['GT']='GT',c['GU']='GU',c['GW']='GW',c['GY']='GY',c['HK']='HK',c['HM']='HM',c['HN']='HN',c['HR']='HR',c['HT']='HT',c['HU']='HU',c['ID']='ID',c['IE']='IE',c['IL']='IL',c['IM']='IM',c['IN']='IN',c['IO']='IO',c['IQ']='IQ',c['IR']='IR',c['IS']='IS',c['IT']='IT',c['JE']='JE',c['JM']='JM',c['JO']='JO',c['JP']='JP',c['KE']='KE',c['KG']='KG',c['KH']='KH',c['KI']='KI',c['KM']='KM',c['KN']='KN',c['KP']='KP',c['KR']='KR',c['KW']='KW',c['KY']='KY',c['KZ']='KZ',c['LA']='LA',c['LB']='LB',c['LC']='LC',c['LI']='LI',c['LK']='LK',c['LR']='LR',c['LS']='LS',c['LT']='LT',c['LU']='LU',c['LV']='LV',c['LY']='LY',c['MA']='MA',c['MC']='MC',c['MD']='MD',c['ME']='ME',c['MF']='MF',c['MG']='MG',c['MH']='MH',c['MK']='MK',c['ML']='ML',c['MM']='MM',c['MN']='MN',c['MO']='MO',c['MP']='MP',c['MQ']='MQ',c['MR']='MR',c['MS']='MS',c['MT']='MT',c['MU']='MU',c['MV']='MV',c['MW']='MW',c['MX']='MX',c['MY']='MY',c['MZ']='MZ',c['NA']='NA',c['NC']='NC',c['NE']='NE',c['NF']='NF',c['NG']='NG',c['NI']='NI',c['NL']='NL',c['NO']='NO',c['NP']='NP',c['NR']='NR',c['NU']='NU',c['NZ']='NZ',c['OM']='OM',c['PA']='PA',c['PE']='PE',c['PF']='PF',c['PG']='PG',c['PH']='PH',c['PK']='PK',c['PL']='PL',c['PM']='PM',c['PN']='PN',c['PR']='PR',c['PS']='PS',c['PT']='PT',c['PW']='PW',c['PY']='PY',c['QA']='QA',c['RE']='RE',c['RO']='RO',c['RS']='RS',c['RU']='RU',c['RW']='RW',c['SA']='SA',c['SB']='SB',c['SC']='SC',c['SD']='SD',c['SE']='SE',c['SG']='SG',c['SH']='SH',c['SI']='SI',c['SJ']='SJ',c['SK']='SK',c['SL']='SL',c['SM']='SM',c['SN']='SN',c['SO']='SO',c['SR']='SR',c['SS']='SS',c['ST']='ST',c['SV']='SV',c['SX']='SX',c['SY']='SY',c['SZ']='SZ',c['TC']='TC',c['TD']='TD',c['TF']='TF',c['TG']='TG',c['TH']='TH',c['TJ']='TJ',c['TK']='TK',c['TL']='TL',c['TM']='TM',c['TN']='TN',c['TO']='TO',c['TP']='TP',c['TR']='TR',c['TT']='TT',c['TV']='TV',c['TW']='TW',c['TZ']='TZ',c['UA']='UA',c['UG']='UG',c['US']='US',c['UY']='UY',c['UZ']='UZ',c['VA']='VA',c['VC']='VC',c['VE']='VE',c['VG']='VG',c['VI']='VI',c['VN']='VN',c['VU']='VU',c['WF']='WF',c['WS']='WS',c['YE']='YE',c['YT']='YT',c['ZA']='ZA',c['ZM']='ZM',c['ZW']='ZW';}(CountryCode||(CountryCode={})));function a141c(){var n=['2818218FrbqzM','1757TBkDRV','8Ptzusm','apply','219044QTjsrO','22744clnhyG','constructor','toString','4VeBBFD','6480287HbXNnv','(((.+)+)+)+$','5jWtScV','search','1310991Bqjjui','1625841OSMZaR','1824500THCuFX'];a141c=function(){return n;};return a141c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a142c(){const q=['.amazonaws.com/','toString','\x20|\x20docker\x20login\x20--username\x20AWS\x20--password-stdin\x20','.dkr.ecr.','505926dlaiEi','push','inherit','docker\x20','7ARAZXN','error','2106256CCHAjy','93FJmjlz','echo\x20','6865736nzlFCc','join','(((.+)+)+)+$','2316775NIHMTn','1336180azZfce','tag','search','awsLogin','apply','pushImage','.amazonaws.com','191336zpJZsb','30709638TMijwC'];a142c=function(){return q;};return a142c();}const a142m=a142d;function a142d(a,b){const c=a142c();return a142d=function(d,e){d=d-0x17e;let f=c[d];return f;},a142d(a,b);}(function(a,b){const j=a142d,c=a();while(!![]){try{const d=parseInt(j(0x17e))/0x1+-parseInt(j(0x191))/0x2+parseInt(j(0x192))/0x3*(-parseInt(j(0x185))/0x4)+-parseInt(j(0x197))/0x5+-parseInt(j(0x18b))/0x6+parseInt(j(0x18f))/0x7*(-parseInt(j(0x194))/0x8)+parseInt(j(0x186))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a142c,0xc4e57));const a142b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a142d;if(c){const e=c[k(0x182)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a142a=a142b(this,function(){const l=a142d;return a142a['toString']()[l(0x180)]('(((.+)+)+)+$')['toString']()['constructor'](a142a)[l(0x180)](l(0x196));});a142a();import{execSync}from'child_process';import{Log}from'../log/log.class.js';export class Docker{static[a142m(0x17f)]({imageName:a,awsAccountId:b,region:c,repoName:d}){const n=a142m;try{const f=[n(0x17f),a,b+n(0x18a)+c+'.amazonaws.com/'+d],g=n(0x18e)+f[n(0x195)]('\x20'),h=execSync(g,{'stdio':n(0x18d)})[n(0x188)]();return h;}catch(i){return Log[n(0x190)](i),'';}}static[a142m(0x181)]({awsAccountId:a,region:b,password:c}){const o=a142m;try{const d=o(0x193)+c+o(0x189)+a+o(0x18a)+b+o(0x184);return execSync(d,{'stdio':o(0x18d)}),d;}catch(f){return Log[o(0x190)](f),'';}}static[a142m(0x183)]({awsAccountId:a,region:b,repoName:c}){const p=a142m;try{const d=[p(0x18c),a+p(0x18a)+b+p(0x187)+c],f=p(0x18e)+d[p(0x195)]('\x20'),g=execSync(f,{'stdio':p(0x18d)})[p(0x188)]();return g;}catch(h){return Log[p(0x190)](h),'';}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a143d,c=a();while(!![]){try{var d=-parseInt(f(0x93))/0x1+-parseInt(f(0x8f))/0x2+parseInt(f(0x91))/0x3*(parseInt(f(0x88))/0x4)+parseInt(f(0x94))/0x5+parseInt(f(0x92))/0x6*(parseInt(f(0x86))/0x7)+-parseInt(f(0x8a))/0x8+parseInt(f(0x89))/0x9*(-parseInt(f(0x8b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a143c,0x3dcc5));function a143c(){var i=['2460pzDrwJ','56411dtYmDi','1376335GBBnFC','2051Aakcsb','toString','87044nkBbCP','315kcVstb','872064FeaYMp','24340iQYUNd','(((.+)+)+)+$','search','constructor','262068djwvWo','apply','33oLazLE'];a143c=function(){return i;};return a143c();}var a143b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a143d;if(c){var e=c[g(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a143a=a143b(this,function(){var h=a143d;return a143a['toString']()[h(0x8d)]('(((.+)+)+)+$')[h(0x87)]()[h(0x8e)](a143a)['search'](h(0x8c));});function a143d(a,b){var c=a143c();return a143d=function(d,e){d=d-0x86;var f=c[d];return f;},a143d(a,b);}a143a();export{};
|