@maka/maka-cli 4.13.12 → 4.13.13
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/cecr.sub.cmd.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/decr.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/lecr.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/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/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.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 -1
package/bundle/obf/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "4.13.
|
|
3
|
+
"version": "4.13.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
|
|
6
6
|
"description": "A command line tool for scaffolding Meteor 2.x applications using React.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0r=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=-parseInt(n(0x1d6))/0x1+parseInt(n(0x1fb))/0x2+-parseInt(n(0x1a4))/0x3+-parseInt(n(0x1eb))/0x4*(parseInt(n(0x1ff))/0x5)+parseInt(n(0x1c3))/0x6*(parseInt(n(0x1fd))/0x7)+-parseInt(n(0x1ba))/0x8+parseInt(n(0x1a9))/0x9*(parseInt(n(0x1ec))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x6d1a0));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a[p(0x1e9)]()[p(0x1cb)](p(0x1c4))['toString']()[p(0x1c6)](a0a)['search'](p(0x1c4));});a0a();import a0e from'cli-table';import a0f from'./commands/maka.cmd.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';function a0c(){const A=['assign','Description','mustBeLoggedIn','find','forEach','localeCompare','validateMakaSubscription','Too\x20many\x20arguments','mustBeInMakaProject','generate','toString','maxOptsLength','68nXLPyb','10NpGpDs','(expermiental)\x20','Command.create\x20requires\x20some\x20options!','maybeProxyCommandToMeteor','validateUserIsLoggedIn','number','Too\x20few\x20options','play','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','Sub-Commands:','bright','Too\x20many\x20options','slice','minOptsLength','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','1031342TdbbaG','Please\x20run\x20\x22maka\x20login\x22','9051LnqJvW','validateMakaProject','123565YBiYMQ','header','680982IKUEuK','tableList','pallet','Command.create\x20requires\x20a\x20handler\x20function!','keys','5671503alBUKe','match','light','Command\x20requires\x20a\x20name','error','There\x20is\x20no\x20Meteor\x20application\x20here','Please\x20run\x20\x22maka\x20install\x20meteor\x22','shortDesc','_commands','Alias','mustHaveMeteorInstalled','validateParams','function','LIGHT','murder','Command\x20format\x20is\x20incorrect','run','1609424aCWSIQ','addCommand','setColorMode','Command\x20','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','experimental','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','create','Command\x20not\x20found','4086MElrxR','(((.+)+)+)+$','options','constructor','apply','split','call','Name','search','notice','length','Too\x20few\x20arguments','sort','Command\x20requires\x20a\x20handler\x20function','processAndRunCommand','maxArgLength','name','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','push','731198vjFjGU','exit','bind','help','\x20not\x20found','fsi','invoke','join','minArgLength'];a0c=function(){return A;};return a0c();}import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,MustBeLoggedIn}from'./error.js';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x1a4;let f=c[d];return f;},a0d(a,b);}let _prevCmd='';export class Command extends Tool{['options'];['_commands'];constructor(a,b){const q=a0d;super();if(!a)throw new Error(q(0x1c0));if(!a[q(0x1d3)])throw new Error(q(0x1ac));if(typeof b!==q(0x1b5))throw new Error(q(0x1d0));this[q(0x1c5)]=Object['assign']({},a),this[q(0x1d3)]=this[q(0x1c5)]['name'],this[q(0x1b1)]=[],this['_handler']=b[q(0x1d8)](this);}static[a0r(0x1c1)](a,b,c){const s=a0r;if(!a)throw new Error(s(0x1ee));if(typeof b!==s(0x1b5))throw new Error(s(0x1a7));const d=new Command(a,b);return c=c||a0f,Object[s(0x1df)](d,{'parent':c?.[s(0x1c5)]?.[s(0x1d3)]}),c[s(0x1bb)](d),d;}[a0r(0x1bb)](a){const t=a0r;if(!(a instanceof Command))throw new Error('addCommand\x20requires\x20a\x20Command\x20instance');this[t(0x1b1)][t(0x1d5)](a);}async[a0r(0x1b9)](a,b){const u=a0r;try{a=a||[],b=b||{};try{const c=await this[u(0x1db)]['getGlobalConfig'](),d=c[u(0x1a6)]===u(0x1ab)?ColorMode[u(0x1b6)]:ColorMode['DARK'];Log[u(0x1bc)](d),await this[u(0x1e5)](this);}catch(f){Log[u(0x1ad)](f),process[u(0x1d7)](0x0);}return await this[u(0x1dc)](a,b);}catch(g){process['exit'](0x1);}}async[a0r(0x1dc)](a,b){const v=a0r,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this[v(0x1c5)];try{if(this[v(0x1c5)][v(0x1d3)]!==v(0x1e8)){if(!isRoot){const g=(a[0x0]===_prevCmd||a[v(0x1cd)]===0x0)&&this[v(0x1b1)][v(0x1cd)]>=0x0,h=b[v(0x1d9)]||b['h'];if(g&&h){if(this['_commands'][v(0x1cd)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[v(0x1c5)][v(0x1e7)]){const i=this[v(0x1fe)]();if(!i)throw new MustBeInProjectError();}if(this['options'][v(0x1e1)]){const j=await this[v(0x1f0)]();if(!j)throw new MustBeLoggedIn();}if(this['options'][v(0x1b3)]){const k=this['validateMeteorInstall']();if(!k)throw new NoMeteorFoundError();}if(typeof this['options'][v(0x1de)]===v(0x1f1)){if(a[v(0x1cd)]<this['options'][v(0x1de)]){Log[v(0x1ad)](v(0x1ce));throw new UsageError();}}if(typeof this[v(0x1c5)][v(0x1d2)]===v(0x1f1)){if(a[v(0x1cd)]>=this[v(0x1c5)][v(0x1d2)]){Log[v(0x1ad)](v(0x1e6));throw new UsageError();}}if(typeof this[v(0x1c5)][v(0x1f9)]===v(0x1f1)){if(Object[v(0x1a8)](b)[v(0x1cd)]<this[v(0x1c5)]['minOptsLength']){Log[v(0x1ad)](v(0x1f2));throw new UsageError();}}if(typeof this[v(0x1c5)]['maxOptsLength']===v(0x1f1)){if(Object[v(0x1a8)](b)[v(0x1cd)]>=this[v(0x1c5)][v(0x1ea)]){Log[v(0x1ad)](v(0x1f7));throw new UsageError();}}}}b=await this[v(0x1b4)](a,b,this['options']),_prevCmd=a[0x0];}return await this['_handler'][v(0x1c9)](this,a,b);}catch(l){Log['usage'](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[v(0x1cc)](v(0x1f5)),this[v(0x1a5)](this[v(0x1b1)]),Log[v(0x200)](v(0x1f4));else{if(l instanceof MustBeInProjectError)Log[v(0x1ad)](v(0x1be));else{if(l instanceof NoMeteorFoundError)Log[v(0x1ad)](v(0x1fa)),Log['notice'](v(0x1af));else{if(l instanceof NoMeteorAppFoundError)Log[v(0x1ad)](v(0x1ae));else l instanceof MustBeLoggedIn&&(Log['error'](v(0x1d4)),Log[v(0x1cc)](v(0x1fc)));}}}process[v(0x1d7)](0x1);}}[a0r(0x1a5)](a){const w=a0r,b=new a0e({});b[w(0x1d5)]([w(0x1ca),w(0x1b2),w(0x1e0)]),a[w(0x1cf)]((c,d)=>{const x=w;return c[x(0x1d3)][x(0x1e4)](d[x(0x1d3)]);})[w(0x1e3)](c=>{const y=w;if(c['name']!==y(0x1b7)&&c[y(0x1d3)]!==y(0x1f3)){const d=c[y(0x1bf)](),e=d?y(0x1ed)+c[y(0x1b0)]():c[y(0x1b0)]();b[y(0x1d5)]([c[y(0x1d3)],c['aliases'](),e]);}}),Log[w(0x1f6)](b[w(0x1e9)]());}async[a0r(0x1d1)](a,b=[],c={}){const z=a0r;try{const d=a?.[z(0x1c8)](':');if(!d||d['length']===0x0)throw z(0x1b8);if(d[0x0]==='generate'||d[0x0]==='g'&&d['length']>0x1){const h=this[z(0x1b1)][z(0x1e2)](j=>j[z(0x1aa)](z(0x1e8)));if(!h)throw z(0x1c2);await this['validateMakaSubscription'](h);const i=d[z(0x1f8)](0x1)[z(0x1dd)](':');return b['unshift'](i),await h[z(0x1b9)](b,c);}let f=this['_commands'],g;for(const j of d){g=f[z(0x1e2)](k=>k[z(0x1aa)](j));if(!g)try{await this['fsi'][z(0x1ef)]();}catch(k){throw z(0x1bd)+j+z(0x1da);}g&&(await this['validateMakaSubscription'](g),f=g['_commands']);}if(g){const l=await g[z(0x1b9)](b,c);return l;}else throw z(0x1c2);}catch(m){Log[z(0x1ad)](m),process[z(0x1d7)](0x1);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a1d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a1d,c=a();while(!![]){try{var d=-parseInt(f(0x17b))/0x1*(parseInt(f(0x176))/0x2)+-parseInt(f(0x177))/0x3+parseInt(f(0x17c))/0x4+parseInt(f(0x181))/0x5*(parseInt(f(0x17d))/0x6)+parseInt(f(0x179))/0x7*(-parseInt(f(0x17f))/0x8)+parseInt(f(0x180))/0x9+parseInt(f(0x17a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0xd8cd0));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var g=a1d;return a1a['toString']()['search'](g(0x178))[g(0x182)]()[g(0x17e)](a1a)['search'](g(0x178));});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';import'./deploy/_index.js';import'./run/_index.js';import'./create.js';function a1c(){var h=['(((.+)+)+)+$','6914656Knstje','18012270nvRDPH','70987kyWIyg','3056592gEzaNs','221172pbjoAj','constructor','8ZJOiyG','15107517pkxXNz','10WJrCyM','toString','28xTlNld','4344210YRYQay'];a1c=function(){return h;};return a1c();}import'./debug.js';import'./generate.js';import'./help.js';import'./install.js';import'./login.js';import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';import'./ssl.js';import'./test.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x176;var f=c[d];return f;},a1d(a,b);}import'./version.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./undo.js';import'./register.js';import'./patreon.js';import'./profile.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(
|
|
1
|
+
function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a2d(a,b);}const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(0x213))/0x1*(parseInt(h(0x1fd))/0x2)+-parseInt(h(0x214))/0x3+-parseInt(h(0x208))/0x4*(parseInt(h(0x209))/0x5)+parseInt(h(0x1f9))/0x6*(-parseInt(h(0x210))/0x7)+parseInt(h(0x1f8))/0x8*(-parseInt(h(0x20c))/0x9)+-parseInt(h(0x20f))/0xa*(parseInt(h(0x1ff))/0xb)+-parseInt(h(0x202))/0xc*(-parseInt(h(0x1f4))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x90ca0));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0x20a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a[j(0x1f1)]()[j(0x1fa)](j(0x1ef))['toString']()[j(0x204)](a2a)['search'](j(0x1ef));});a2a();import{Command}from'../command.js';import{HTTPS}from'../tools/https/https.class.js';import{Log}from'../tools/log/log.class.js';import a2e from'readline';function a2c(){const o=['36xwJlHp','question','constructor','openai','cert','choices','20nkuePf','992085Ibsixz','apply','createInterface','9yhutXc','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','notice','6169730owiGUU','601503SrTYLi','error','You:\x20','18587oLqQzP','879309arumNg','stdout','trim','getGlobalConfig','(((.+)+)+)+$','exit','toString','fsi','askGPT','17754204fJrSMn','cacert','stdin','Using\x20OpenAI\x20Key\x20','8039832akcKgX','30wGQrNZ','search','bright','create','18zWrPoE','close','11DXVvao','isFile','openapikey'];a2c=function(){return o;};return a2c();}const startChat=async({openApiKey:a,caCertPath:b})=>{const k=a2d,c=a2e[k(0x20b)]({'input':process[k(0x1f6)],'output':process[k(0x215)]});c[k(0x203)](k(0x212),async d=>{const l=k;if(d['toLowerCase']()===l(0x1f0)){c[l(0x1fe)]();return;}try{const e=await HTTPS[l(0x1f3)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON['parse'](e['data']);if(f[l(0x211)])throw new Error(f[l(0x211)]['message']);Log[l(0x1fb)]('GPT:\x20'+f?.[l(0x207)][0x0]?.['text'][l(0x216)]());}catch(g){Log[l(0x211)](g),process[l(0x1f0)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command[a2m(0x1fc)]({'name':'ai','description':'ChatGPT\x20style\x20AI\x20interface','validOpts':['cacert',a2m(0x201)],'shortDesc':'ChatGPT\x20style\x20AI\x20interface','isPro':!![]},async function(a,b){const n=a2m;try{let c='';b['cacert']&&(this['fsi'][n(0x200)](b[n(0x1f5)])?(c=b[n(0x1f5)],Log[n(0x20e)]('Using\x20CA\x20Cert\x20'+c)):Log['error']('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+c));const d=await this['fsi'][n(0x217)]();if(d['cert']){if(this[n(0x1f2)]['isFile'](d[n(0x206)]))c=d[n(0x206)];else throw Log[n(0x211)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+c);}let f='';if(b[n(0x201)])f=b['openapikey'],Log[n(0x20e)](n(0x1f7)+f);else{if(d[n(0x205)])f=d[n(0x205)];else throw Log['error']('OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json');}Log['bright'](n(0x20d)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console[n(0x211)](g),process[n(0x1f0)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a3d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a3d,c=a();while(!![]){try{var d=-parseInt(f(0x1a4))/0x1+parseInt(f(0x1a2))/0x2*(parseInt(f(0x19d))/0x3)+parseInt(f(0x1a0))/0x4+parseInt(f(0x198))/0x5+-parseInt(f(0x19b))/0x6+-parseInt(f(0x199))/0x7+parseInt(f(0x19f))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x9dc54));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x19c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0x1a3)]()[h(0x19e)](h(0x1a1))[h(0x1a3)]()[h(0x19a)](a3a)[h(0x19e)]('(((.+)+)+)+$');});a3a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x198;var f=c[d];return f;},a3d(a,b);}import'./csg.sub.cmd.js';import'./di.sub.cmd.js';import'./dkp.sub.cmd.js';import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';import'./dsg.sub.cmd.js';import'./rkp.sub.cmd.js';import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';function a3c(){var i=['8260861SQTfAD','constructor','2670798IEpYxA','apply','27Ydqfve','search','5778080XAlYCE','686696DRIYiE','(((.+)+)+)+$','208540aGWmRC','toString','131237VjTCLf','2851785wfYWgl'];a3c=function(){return i;};return a3c();}import'./cecr.sub.cmd.js';import'./decr.sub.cmd.js';import'./lecr.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
function a4c(){const j=['5LGxDVS','1027725wYgLUK','525152nKpthH','679542yHvMDP','390914gvfLci','search','701370edBwgn','(((.+)+)+)+$','7ihUKji','1KNVHOt','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20','maka\x20aws:<sub-command>','110OsOABd','537148JMYllM','create','toString','3037779LvwaZD','apply'];a4c=function(){return j;};return a4c();}const a4i=a4d;function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0xbb;let f=c[d];return f;},a4d(a,b);}(function(a,b){const f=a4d,c=a();while(!![]){try{const d=-parseInt(f(0xc3))/0x1*(parseInt(f(0xbe))/0x2)+parseInt(f(0xbb))/0x3+parseInt(f(0xc7))/0x4*(-parseInt(f(0xcc))/0x5)+-parseInt(f(0xbd))/0x6+-parseInt(f(0xc2))/0x7*(parseInt(f(0xbc))/0x8)+-parseInt(f(0xca))/0x9+parseInt(f(0xc0))/0xa*(parseInt(f(0xc6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x30489));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a[h(0xc9)]()[h(0xbf)](h(0xc1))[h(0xc9)]()['constructor'](a4a)[h(0xbf)](h(0xc1));});a4a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4i(0xc8)]({'name':'aws','usage':a4i(0xc5),'validOpts':[],'shortDesc':'Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','description':a4i(0xc4)},async function(){throw UsageError;});export default AWSCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a5j=a5d;(function(a,b){const g=a5d,c=a();while(!![]){try{const d=parseInt(g(
|
|
1
|
+
function a5c(){const l=['5880UAsqmU','apply','2732868lyJUsH','constructor','name','repository','cecr','error','481909XcKObD','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','Repository\x20created\x20successfully.','145656SJqhSN','(((.+)+)+)+$','httpStatusCode','910732DJezxq','create','maka\x20aws:create-ecr\x20--name=my-new-repo','2asitvW','toString','success','Create\x20an\x20Elastic\x20Container\x20Repository','Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.','15KfvmdB','21QBcsgy','3183512iMqBsI','search','exit','maka\x20aws:cecr\x20--name=my-new-repo','region','8657lcPemm','Repository\x20URI:\x20','5195285xVOWMK'];a5c=function(){return l;};return a5c();}const a5j=a5d;(function(a,b){const g=a5d,c=a();while(!![]){try{const d=parseInt(g(0x88))/0x1*(-parseInt(g(0x91))/0x2)+-parseInt(g(0x96))/0x3*(-parseInt(g(0x8e))/0x4)+-parseInt(g(0x7f))/0x5+-parseInt(g(0x8b))/0x6+parseInt(g(0x97))/0x7*(parseInt(g(0x78))/0x8)+parseInt(g(0x82))/0x9+parseInt(g(0x80))/0xa*(-parseInt(g(0x7d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x994ae));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a5d;if(c){const e=c[h(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const i=a5d;return a5a[i(0x92)]()['search'](i(0x8c))[i(0x92)]()[i(0x83)](a5a)[i(0x79)](i(0x8c));});a5a();import a5e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x78;let f=c[d];return f;},a5d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a5j(0x8f)]({'name':'create-ecr','aliases':[a5j(0x86)],'usage':'maka\x20aws:create-ecr','requiredOpts':[a5j(0x84)],'validOpts':[a5j(0x7c)],'shortDesc':a5j(0x94),'examples':[a5j(0x90),a5j(0x7b),a5j(0x89)]},async function(a,b){const k=a5j;try{const c=new AWS(),d=await c['ecrCreateRepository'](b);d&&d['$metadata'][k(0x8d)]===0xc8&&d[k(0x85)]?(Log[k(0x93)](k(0x8a)),Log['notice'](k(0x7e)+d[k(0x85)]['repositoryUri'])):Log[k(0x87)](k(0x95)),process['exit'](0x0);}catch(f){Log[k(0x87)](f),process[k(0x7a)](0x1);}},a5e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6l=a6d;(function(a,b){const i=a6d,c=a();while(!![]){try{const d
|
|
1
|
+
const a6l=a6d;(function(a,b){const i=a6d,c=a();while(!![]){try{const d=parseInt(i(0x8c))/0x1+parseInt(i(0x92))/0x2*(-parseInt(i(0x86))/0x3)+parseInt(i(0x89))/0x4+parseInt(i(0x8e))/0x5+-parseInt(i(0x98))/0x6+-parseInt(i(0x93))/0x7+parseInt(i(0x84))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x26f44));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a6d;if(c){const e=c[j(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const k=a6d;return a6a['toString']()[k(0x99)](k(0x8f))['toString']()[k(0x9d)](a6a)[k(0x99)](k(0x8f));});a6a();import a6e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x84;let f=c[d];return f;},a6d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';function a6c(){const n=['1692462ILVqqi','search','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','maka\x20aws:create-hosted-zone\x20--domain=example.com','exit','constructor','maka\x20aws:chz\x20--domain=example.com','1408152RApmek','publicIp','4107RhNGqG','create','linkEC2ToRoute53','53632LKSSVw','chz','chooseInstance','203517doXZwl','Set\x20hosted\x20zone\x20to\x20an\x20instance?','699285YuLTjs','(((.+)+)+)+$','maka\x20aws:create-hosted-zone','apply','50BQBdNj','398601ojIaxF','create-hosted-zone','Instance\x20not\x20found','domain','route53CreateHostedZone'];a6c=function(){return n;};return a6c();}Command[a6l(0x87)]({'name':a6l(0x94),'aliases':[a6l(0x8a)],'usage':a6l(0x90),'requiredOpts':[a6l(0x96)],'validOpts':[],'shortDesc':'Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','examples':[a6l(0x9b),a6l(0x9e)]},async function(a,b){const m=a6l;try{const c=b[m(0x96)],d=new AWS();d[m(0x97)](c);const f=await Actions['confirm'](m(0x8d));if(f){const g=await d[m(0x8b)]();if(g?.['id']){if(!g[m(0x85)])throw Log['error'](m(0x9a));d[m(0x88)](g['id'],g['publicIp'],c);}else throw m(0x95);}}catch(h){h&&Log['error'](h),process[m(0x9c)](0x0);}},a6e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7a0=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=parseInt(Y(0x157))/0x1+parseInt(Y(0x160))/0x2*(parseInt(Y(0x141))/0x3)+parseInt(Y(0x175))/0x4+parseInt(Y(0x151))/0x5+parseInt(Y(0x173))/0x6*(parseInt(Y(0x170))/0x7)+parseInt(Y(0x167))/0x8*(parseInt(Y(0x189))/0x9)+-parseInt(Y(0x16b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x452b6));const a7b=(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;};}()),a7a=a7b(this,function(){const Z=a7d;return a7a[Z(0x17c)]()[Z(0x13e)](Z(0x15b))[Z(0x17c)]()[Z(0x148)](a7a)[Z(0x13e)](Z(0x15b));});function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0x13e;let f=c[d];return f;},a7d(a,b);}a7a();function a7c(){const a2=['9GahBvx','search','Remove\x20the\x20keypair\x20','error','9RvBYax','createKeyPair','string','\x0a\x20\x20Walk\x20through\x20a\x20list\x20of\x20questions\x20that\x20will\x20properly\x20provision\x20a\x20new\x20EC2\x0a\x20\x20instance.\x0a\x0a\x20\x20Once\x20created,\x20you\x20will\x20begin\x20to\x20be\x20billed\x20for\x20the\x20resource!\x0a\x20\x20','Name','confirm','Security\x20Group:\x20','constructor','maka\x20aws:create-instance\x20--env\x20dev','Web\x20App','deleteSecurityGroup','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','maka-cli','1:1','split','Remove\x20the\x20security\x20group\x20','656305Avllgp','unlinkSync','create','fsi','create-instance','EC2\x20Name:\x20[','261016nwmfRG','Creating\x20user\x20data\x20file\x20in\x20','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','join','(((.+)+)+)+$','No\x20instance\x20has\x20been\x20created.','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','success','maka\x20aws:ci\x20--env\x20prod','20086sBpAUh','user-data','name','getEnvFromShorthand','getAppConfigPath','listAvailableSubnets','Security\x20Group\x20Name:\x20[','2408456MqWiLV','env','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','22,80,443','9145250Qsxtuu','ask','User\x20Data:','Create\x20new\x20AWS\x20instance','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','44653GWAvve','environment','Instance\x20Count:\x20','60XJqeaD','number','1642360udGFSM','Subnet:\x20','Key-Pair:\x20','Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?','createFile','Setting\x20the\x20key-pair\x20to:\x20','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','toString','readFileSync','ImageID:','**\x20Available\x20key-pairs\x20**','Would\x20you\x20like\x20to\x20include\x20user\x20data?','chooseVPC','bright','ec2create','ec2describeKeys','Instace\x20Type:\x20','isFile','exit','notice'];a7c=function(){return a2;};return a7c();}import a7e from'./aws.command.js';import a7f from'path';import a7g from'fs';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';Command[a7a0(0x153)]({'name':a7a0(0x155),'aliases':['ci'],'usage':'maka\x20aws:create-instance','examples':[a7a0(0x149),a7a0(0x15f)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a0(0x168)}],'validOpts':[],'shortDesc':a7a0(0x16e),'description':a7a0(0x144)},async function(a,b){const a1=a7a0;try{const c=this[a1(0x154)]['getMakaProjectConfig'](),d=new AWS(),f=new FSI(),{appName:g}=c,h=this[a1(0x154)][a1(0x163)](b[a1(0x168)]),i=this[a1(0x154)][a1(0x164)](h),j=g+'-'+h,k=await Actions[a1(0x16c)](a1(0x156)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions['confirm'](a1(0x169),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await d[a1(0x142)]({'env':h});r=y,s=z,Log[a1(0x15e)](a1(0x17a)+r);}else try{Log[a1(0x188)](a1(0x17f));const A=r?r:k,B=await d[a1(0x184)]({'suggestion':A}),C=await Actions['ask']('Please\x20choose\x20a\x20key\x20to\x20use:\x20')||'-1';if(parseInt(C)<0x0){Log[a1(0x140)]('You\x20must\x20have\x20a\x20key-pair.\x20\x20Please\x20run\x20\x22maka\x20aws\x20create-key-pair\x20--env\x20<env-name>\x22\x20to\x20generate\x20a\x20new\x20key'),Log[a1(0x188)](a1(0x15c));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D[a1(0x162)],Log[a1(0x15e)](a1(0x17a)+r);break;}}}catch(E){Log[a1(0x140)](E);}l=await d[a1(0x181)]();const t=await Actions[a1(0x146)]('Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?',!![]);let u;if(t){const F=l===''?await d['chooseVPC']():l;u=await Actions[a1(0x16c)](a1(0x166)+k+']')||k;const G=await Actions[a1(0x16c)](a1(0x159))||a1(0x16a),H=G['split'](',');await d['ec2createSG']({'description':a1(0x14a),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await d['chooseSecurityGroup'](u),n=await d['listAvailableAMIs'](),p=await d[a1(0x165)]();const v=0x1,w=0x1;try{const I=await Actions[a1(0x16c)]('How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20')||a1(0x14e),J=I[a1(0x14f)](':')[0x0],K=I['split'](':')[0x1];typeof parseInt(J)===a1(0x174)&&typeof parseInt(K)===a1(0x174)&&Log['success'](a1(0x16f)+J+':'+K);}catch(L){Log[a1(0x140)](L);}try{const M=await Actions[a1(0x16c)](a1(0x14c))||'t3.micro';typeof M===a1(0x143)&&(o=M);}catch(N){Log[a1(0x140)](N);}let x='';try{const O=await Actions['confirm'](a1(0x180),![]);O&&(x=a7f[a1(0x15a)](i,a1(0x161)),Log['notice'](a1(0x158)+x),await this[a1(0x154)][a1(0x179)]({'filePath':x,'data':''}),await Actions[a1(0x146)](a1(0x178)));}catch(P){Log['error'](P);}try{const Q=await d['getSubnetCidr'](p);Log[a1(0x188)](a1(0x17e)+n),Log[a1(0x188)](a1(0x172)+v+':'+w),Log['notice'](a1(0x185)+o),Log[a1(0x188)](a1(0x177)+r),Log[a1(0x188)](a1(0x147)+m),Log['notice'](a1(0x176)+Q);if(x){Log[a1(0x188)](a1(0x16d)+x);const S=a7g[a1(0x17d)](x)['toString']();Log[a1(0x188)](S);}const R=await Actions[a1(0x146)](a1(0x15d));if(R){const T=await d[a1(0x183)]({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':'created-by','Value':a1(0x14d)},{'Key':a1(0x171),'Value':h},{'Key':a1(0x145),'Value':k}],...x&&{'userData':x}});T&&(Log['success']('Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'),Log[a1(0x182)](a1(0x17b)));}else{Log[a1(0x188)]('ABORTED!\x20No\x20instance\x20has\x20been\x20created!');const U=await Actions[a1(0x146)](a1(0x13f)+r+'\x20?',!![]);U&&(d['deleteKeyPair'](r),f[a1(0x186)](s)&&a7g[a1(0x152)](s));const V=await Actions['confirm'](a1(0x150)+m+'\x20?',!![]);V&&d[a1(0x14b)](m);}}catch(W){Log['error'](W);}}catch(X){X&&Log['error'](X),process[a1(0x187)](0x0);}},a7e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x7c;let f=c[d];return f;},a8d(a,b);}const a8j=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=parseInt(g(0x94))/0x1+-parseInt(g(0x95))/0x2*(-parseInt(g(0x7c))/0x3)+parseInt(g(0x8e))/0x4*(-parseInt(g(0x8f))/0x5)+-parseInt(g(0x92))/0x6*(parseInt(g(0x84))/0x7)+-parseInt(g(0x8a))/0x8*(parseInt(g(0x8d))/0x9)+parseInt(g(0x7f))/0xa*(parseInt(g(0x8b))/0xb)+-parseInt(g(0x7e))/0xc*(-parseInt(g(0x91))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x2e6a4));const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a[i(0x80)]()[i(0x90)](i(0x83))[i(0x80)]()['constructor'](a8a)[i(0x90)](i(0x83));});a8a();import a8e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a8j(0x93)]({'name':'create-key-pair','aliases':['ckp'],'usage':a8j(0x85),'examples':[a8j(0x86),a8j(0x87)],'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[],'shortDesc':a8j(0x82),'description':a8j(0x7d)},async function(a,b){const k=a8j;try{const c=new AWS(),d=this[k(0x88)][k(0x81)](b['env']);c['createKeyPair']({'env':d});}catch(f){f&&Log[k(0x8c)](f),process['exit'](0x0);}},a8e);function a8c(){const l=['create','305892bfgJtn','2rHcRYD','654387pqYjpN','\x0a\x0a\x20\x20In\x20AWS,\x20follow\x20a\x20few\x20questions\x20to\x20create\x20a\x20new\x20Key\x20Pair.\x0a\x20\x20The\x20public\x20key\x20is\x20stored\x20in\x20AWS\x20while\x20the\x20private\x20key\x20is\x20saved\x0a\x20\x20to\x20the\x20_keys\x20directory\x20for\x20the\x20envronment\x20(--env)\x20provided.\x0a\x0a\x20\x20This\x20key\x20cannot\x20be\x20replaced\x20(without\x20support\x20from\x20AWS),\x20and\x20should\x20be\x0a\x20\x20kept\x20safe.\x0a\x0a\x20\x20Maka\x20automatically\x20ignores\x20the\x20_keys\x20directory,\x20so\x20it\x20will\x20not\x20be\x0a\x20\x20stored\x20in\x20version\x20control\x20by\x20default.\x20You\x20may\x20change\x20this\x20in\x20the\x0a\x20\x20.gitignore\x20file\x20at\x20the\x20root\x20of\x20this\x20project,\x20but\x20it\x27s\x20not\x20recommended.\x0a\x20\x20','104892buVwYR','102010CMGXIb','toString','getEnvFromShorthand','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','(((.+)+)+)+$','875525iFqRYK','maka\x20aws:create-key-pair','maka\x20aws:create-key-pair\x20--env\x20prod','maka\x20aws:ckp\x20--env\x20prod','fsi','apply','80XDgnGT','220hgnEYQ','error','75564adyJpB','4aKkIJC','1573735tKyRoW','search','351fqyzfh','18PrmOsD'];a8c=function(){return l;};return a8c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=-parseInt(m(
|
|
1
|
+
const a9p=a9d;function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0xea;let f=c[d];return f;},a9d(a,b);}(function(a,b){const m=a9d,c=a();while(!![]){try{const d=-parseInt(m(0xee))/0x1*(parseInt(m(0xfe))/0x2)+parseInt(m(0xf2))/0x3*(parseInt(m(0xf7))/0x4)+-parseInt(m(0xff))/0x5*(-parseInt(m(0xea))/0x6)+-parseInt(m(0x105))/0x7*(parseInt(m(0x10e))/0x8)+parseInt(m(0x103))/0x9*(parseInt(m(0x100))/0xa)+-parseInt(m(0xf0))/0xb+-parseInt(m(0x10a))/0xc*(-parseInt(m(0x10c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0xb6354));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a[o(0xec)]()['search'](o(0xfa))[o(0xec)]()[o(0x109)](a9a)[o(0x108)](o(0xfa));});function a9c(){const s=['22,80,443','110072pJZPTs','525hvHFrE','40MWHSwc','name','match','739539rKawSG','ec2createSG','21YYDOTp','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','maka\x20aws:csg','search','constructor','6084hTYYAT','create','25714ZytfIC','\x0a\x20\x20Create\x20a\x20secuirty\x20group\x20on\x20a\x20Virtual\x20Private\x20Cloud\x20(VPC)\x20which\x0a\x20\x20can\x20be\x20used\x20with\x20a\x20new\x20EC2\x20instance.\x0a\x20\x20','611768GqmUDJ','24120WNPffM','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','toString','split','9qJGKnP','exit','3506987JCumrC','Security\x20Group\x20Name:\x20[','591jzxWEs','chooseVPC','csg','apply','List\x20is\x20not\x20all\x20numbers','736nbAGTk','ask','getMakaProjectConfig','(((.+)+)+)+$','forEach','maka\x20aws\x20create-security-group'];a9c=function(){return s;};return a9c();}a9a();import a9e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a9p(0x10b)]({'name':'create-security-group','aliases':[a9p(0xf4)],'usage':a9p(0xfc),'validOpts':[],'shortDesc':a9p(0xeb),'description':a9p(0x10d),'examples':['maka\x20aws:create-secuirty-group',a9p(0x107)]},async function(a,b){const q=a9p;try{const c=new AWS(),d=this['fsi'][q(0xf9)](),{appName:f}=d,g=await c[q(0xf3)](),h=b['name']?b[q(0x101)]:''+f,i=await Actions['ask'](q(0xf1)+h+']')||h,j=await Actions[q(0xf8)](q(0x106))||q(0xfd),k=j[q(0xed)](',');k[q(0xfb)](l=>{const r=q;if(!l[r(0x102)](/^\d+$/))throw r(0xf6);}),await c[q(0x104)]({'description':'Web\x20App','name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log['error'](l),process[q(0xef)](0x1);}},a9e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a10i=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a10i=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=parseInt(f(0x9f))/0x1*(-parseInt(f(0xa0))/0x2)+-parseInt(f(0x91))/0x3+parseInt(f(0x94))/0x4*(-parseInt(f(0xa1))/0x5)+parseInt(f(0x8b))/0x6*(parseInt(f(0x9d))/0x7)+parseInt(f(0xa5))/0x8+parseInt(f(0x8e))/0x9*(parseInt(f(0x9e))/0xa)+parseInt(f(0x98))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0xa8897));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a[h(0xa3)]()['search'](h(0x90))['toString']()[h(0x92)](a10a)[h(0x99)](h(0x90));});function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x89;let f=c[d];return f;},a10d(a,b);}a10a();import a10e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a10i(0x8c)]({'name':a10i(0x9c),'aliases':[a10i(0x97)],'usage':'maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','requiredOpts':[a10i(0xa4),'region'],'validOpts':[],'shortDesc':'Delete\x20an\x20Elastic\x20Container\x20Repository','examples':[a10i(0x8d),a10i(0x8a)]},async function(a,b){const j=a10i;try{const c=new AWS();await c[j(0x9a)]({'repoName':b[j(0xa4)],'region':b[j(0x8f)]}),Log[j(0x9b)]('Repository\x20'+b[j(0xa4)]+j(0x93)+b[j(0x8f)]+'.'),process['exit'](0x0);}catch(d){Log[j(0xa2)]('Failed\x20to\x20delete\x20the\x20repository:\x20'+b[j(0xa4)]+j(0x95)+b['region']+j(0x96)+d),process['exit'](0x1);}},a10e);function a10c(){const k=['1640uTVCWe','1525CmvUIa','1590OeDhLW','292810TBtxUL','error','toString','name','8542336NFJfem','apply','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','286428xIgvvF','create','maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1','22122agStmK','region','(((.+)+)+)+$','1156896nbyaEJ','constructor','\x20deleted\x20successfully\x20in\x20region\x20','52iaDcFz','\x20in\x20region\x20','.\x20Error:\x20','decr','11589798isHRDM','search','ecrDeleteRepository','success','delete-ecr','77dAwCyV'];a10c=function(){return k;};return a10c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=-parseInt(f(0x12d))/0x1*(parseInt(f(0x13b))/0x2)+parseInt(f(0x130))/0x3+parseInt(f(0x141))/0x4+-parseInt(f(0x131))/0x5+parseInt(f(0x142))/0x6*(-parseInt(f(0x140))/0x7)+-parseInt(f(0x135))/0x8*(-parseInt(f(0x13a))/0x9)+-parseInt(f(0x133))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0xf1728));function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x12d;let f=c[d];return f;},a11d(a,b);}const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a[h(0x13e)]()[h(0x143)](h(0x12e))['toString']()[h(0x139)](a11a)['search']('(((.+)+)+)+$');});a11a();import a11e from'./aws.command.js';function a11c(){const k=['8044zUKFtv','maka\x20aws:describe-instances','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','toString','create','7JpcNTm','5540416UaZRwe','767922bsrXUy','search','321OqnYxF','(((.+)+)+)+$','ec2describeInstances','5782542auRuWI','5579390UtcVLW','error','789010MRhrfl','maka\x20aws:di','257936DoXKck','exit','apply','\x0a\x20\x20List\x20all\x20EC2\x20instances\x20that\x20have\x20been\x20created\x20with\x20\x22maka\x20aws:ci\x22\x20associated\x0a\x20\x20with\x20the\x20logged\x20in\x20AWS-CLI\x20account.\x0a\x0a\x20\x20Will\x20pull\x20back\x20the\x20instance\x20ID,\x20state,\x20and\x20IP\x20addresses.\x0a\x20\x20Ex:\x0a\x0a\x20\x20ID:\x200\x20NAME:\x20<NAME>\x20ENV:\x20production\x20STATUS:\x20running\x20INSTANCE_ID:\x20i-xxx\x20PUB_IP:\x20x.x.x.x\x20PRIV_IP:\x20y.y.y.y\x0a\x20\x20','constructor','81OLwUxm'];a11c=function(){return k;};return a11c();}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a11i(0x13f)]({'name':'describe-instances','aliases':['di'],'usage':'maka\x20aws:describe-instances','validOpts':[],'shortDesc':a11i(0x13d),'examples':[a11i(0x13c),a11i(0x134)],'description':a11i(0x138)},async function(){const j=a11i;try{const a=new AWS();a[j(0x12f)]();}catch(b){b&&Log[j(0x132)](b),process[j(0x136)](0x1);}},a11e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a12h=a12d;function a12c(){const j=['maka\x20aws:describe-key-pairs','677850FxhPgE','(((.+)+)+)+$','constructor','1VGtzbL','960953KjTcui','50HUTLyX','436923qmahCJ','1326616GoYJZv','search','6730FLOYYh','374zjYNnL','describe-key-pairs','maka\x20aws:dkp','6WrFJAF','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','error','15284KUVZal','500042qmXSLy','toString'];a12c=function(){return j;};return a12c();}(function(a,b){const f=a12d,c=a();while(!![]){try{const d=parseInt(f(0x130))/0x1*(parseInt(f(0x13e))/0x2)+-parseInt(f(0x141))/0x3+-parseInt(f(0x13d))/0x4*(-parseInt(f(0x132))/0x5)+parseInt(f(0x13a))/0x6*(-parseInt(f(0x131))/0x7)+parseInt(f(0x134))/0x8+parseInt(f(0x133))/0x9+-parseInt(f(0x136))/0xa*(-parseInt(f(0x137))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x279d2));const a12b=(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;};}()),a12a=a12b(this,function(){const g=a12d;return a12a['toString']()[g(0x135)](g(0x12e))[g(0x13f)]()[g(0x12f)](a12a)[g(0x135)]('(((.+)+)+)+$');});a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a12d(a,b){const c=a12c();return a12d=function(d,e){d=d-0x12e;let f=c[d];return f;},a12d(a,b);}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a12h(0x138),'aliases':['dkp'],'usage':a12h(0x140),'validOpts':[],'shortDesc':a12h(0x13b),'examples':[a12h(0x140),a12h(0x139)]},async function(){const i=a12h;try{const a=new AWS();a['ec2describeKeys']();}catch(b){b&&Log[i(0x13c)](b),process['exit'](0x0);}},a12e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a13o=a13d;(function(a,b){const l=a13d,c=a();while(!![]){try{const d=-parseInt(l(0x8e))/0x1+parseInt(l(0x89))/0x2*(-parseInt(l(0x83))/0x3)+-parseInt(l(0x99))/0x4*(parseInt(l(0x92))/0x5)+-parseInt(l(0x7c))/0x6*(parseInt(l(0x8d))/0x7)+parseInt(l(0x94))/0x8*(parseInt(l(0x84))/0x9)+-parseInt(l(0x91))/0xa+parseInt(l(0x8a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0xcabf6));function a13c(){const r=['Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','maka\x20aws:delete-sg','605170TyXxbo','63366468yVgnPp','sgId','toString','206409KUgIbz','877663qVZUnb','exit','\x20SG\x20NAME:\x20','7759300IHfpYU','5xdddPY','search','8942672uRPYoB','error','bright','forEach','(((.+)+)+)+$','6100192cDLaGs','includes','isMakaProject','success','notice','maka\x20aws:dsg','getMakaProjectConfig','ask','name','276KDFZPU','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','Deleted\x20','create','getSecurityGroups','appName','apply','15lKseYF','9QMXQhC','\x20SGID:\x20'];a13c=function(){return r;};return a13c();}const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a13d;if(c){const e=c[m(0x82)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const n=a13d;return a13a['toString']()[n(0x93)](n(0x98))[n(0x8c)]()['constructor'](a13a)[n(0x93)](n(0x98));});function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x79;let f=c[d];return f;},a13d(a,b);}a13a();import a13e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a13o(0x7f)]({'name':'delete-security-group','aliases':['dsg'],'usage':a13o(0x88),'validOpts':[],'shortDesc':a13o(0x86),'examples':[a13o(0x88),a13o(0x9e)]},async function(){const p=a13o;try{const a=new AWS(),b=new FSI(),c=b[p(0x9b)]();let d='';if(c){const j=b[p(0x79)]();d=j[p(0x81)];}const {sgList:f}=await a[p(0x80)]();f[p(0x97)](function(k){const q=p;c&&k[q(0x7b)][q(0x9a)](d)?Log[q(0x9d)]('ID:\x20'+k['id']+q(0x90)+k[q(0x7b)]+q(0x85)+k['sgId']):Log[q(0x96)]('ID:\x20'+k['id']+q(0x90)+k[q(0x7b)]+q(0x85)+k[q(0x8b)]);});let g='';const h=await Actions[p(0x7a)](p(0x7d));f['forEach'](function(k){k['id']===parseInt(h)&&(g=k['sgId']);});if(!g)throw Log[p(0x95)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');const i=await Actions['confirm']('Deleting\x20a\x20'+g+p(0x87),![]);i?(await a['deleteSecurityGroup'](g),Log[p(0x9c)](p(0x7e)+g)):Log[p(0x95)]('Not\x20deleting\x20secuirty\x20group'),process[p(0x8f)](0x0);}catch(k){k&&Log[p(0x95)](k),process[p(0x8f)](0x1);}},a13e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a14h=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d
|
|
1
|
+
function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x167;let f=c[d];return f;},a14d(a,b);}const a14h=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=parseInt(f(0x175))/0x1*(-parseInt(f(0x177))/0x2)+-parseInt(f(0x170))/0x3*(parseInt(f(0x16a))/0x4)+parseInt(f(0x17c))/0x5+parseInt(f(0x168))/0x6*(-parseInt(f(0x173))/0x7)+parseInt(f(0x167))/0x8+-parseInt(f(0x16c))/0x9+parseInt(f(0x174))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xeeffd));const a14b=(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;};}()),a14a=a14b(this,function(){const g=a14d;return a14a[g(0x16d)]()[g(0x17b)](g(0x17a))[g(0x16d)]()[g(0x17d)](a14a)[g(0x17b)](g(0x17a));});a14a();import a14e from'./aws.command.js';import{Command}from'../../command.js';function a14c(){const j=['3649773zYtOjC','exit','Completed\x20listing\x20ECR\x20repositories.','7558271jWfUPn','47297590HGmSUC','209jPWrrQ','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','10702DvBcnx','list-ecr','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','(((.+)+)+)+$','search','1287340QjODQM','constructor','maka\x20aws:list-ecr','lecr','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','listAllEcrRepositories','4241544ssWPqi','6nvmShV','create','4TavcOR','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','10113984CUWlXC','toString','maka\x20aws:lecr\x20--regions=all','regions'];a14c=function(){return j;};return a14c();}import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a14h(0x169)]({'name':a14h(0x178),'aliases':[a14h(0x17f)],'usage':a14h(0x176),'requiredOpts':[],'validOpts':[a14h(0x16f)],'shortDesc':a14h(0x179),'examples':[a14h(0x17e),a14h(0x16b),a14h(0x16e)]},async function(a,b){const i=a14h;try{const c=new AWS();await c[i(0x181)](b[i(0x16f)]),Log['success'](i(0x172)),process['exit'](0x0);}catch(d){Log['error'](i(0x180)+d),process[i(0x171)](0x1);}},a14e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d
|
|
1
|
+
const a15i=a15d;function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x16e;let f=c[d];return f;},a15d(a,b);}(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0x17b))/0x1*(-parseInt(f(0x183))/0x2)+-parseInt(f(0x182))/0x3*(-parseInt(f(0x18b))/0x4)+parseInt(f(0x178))/0x5*(-parseInt(f(0x16f))/0x6)+parseInt(f(0x186))/0x7+-parseInt(f(0x17d))/0x8+-parseInt(f(0x181))/0x9*(-parseInt(f(0x184))/0xa)+parseInt(f(0x18a))/0xb*(parseInt(f(0x18c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0xa9e6c));const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a[h(0x173)]()[h(0x17f)](h(0x180))[h(0x173)]()[h(0x17a)](a15a)[h(0x17f)](h(0x180));});a15a();function a15c(){const k=['21932tgIQQK','112212HCobbw','ec2rebootInstance','apply','Reboot\x20an\x20EC2\x20instance','confirm','2633754qpBDzp','reboot-instance','maka\x20aws:reboot-instance','error','toString','name','status','create','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','15uKNHwA','maka\x20aws:rbi','constructor','4141UYvbZE','\x20is\x20still\x20running.','2604200jaNJdF','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','search','(((.+)+)+)+$','340137DPGzLY','342eqzQdw','122DrxoTl','300JLyemH','rbi','4122587EfdWpA','\x20Ready?','instanceId','running','286AXBrvH'];a15c=function(){return k;};return a15c();}import a15e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a15i(0x176)]({'name':a15i(0x170),'aliases':[a15i(0x185)],'usage':'maka\x20aws:reboot-instance','validOpts':[],'shortDesc':a15i(0x18f),'examples':[a15i(0x171),a15i(0x179)]},async function(){const j=a15i;try{const a=new AWS(),b=await a['chooseInstance']();if(b?.[j(0x175)]===j(0x189)){const c=await Actions[j(0x16e)]('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+b[j(0x174)]+j(0x187));c&&b['instanceId']?a[j(0x18d)]({'instanceId':b[j(0x188)]}):Log[j(0x172)](j(0x17e)+b[j(0x174)]+j(0x17c));}else Log[j(0x172)](j(0x177));}catch(d){d&&Log[j(0x172)](d),process['exit'](0x1);}},a15e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a16I=a16d;(function(a,b){const E=a16d,c=a();while(!![]){try{const d=-parseInt(E(
|
|
1
|
+
const a16I=a16d;(function(a,b){const E=a16d,c=a();while(!![]){try{const d=-parseInt(E(0x1ab))/0x1*(parseInt(E(0x1c0))/0x2)+-parseInt(E(0x1c4))/0x3*(parseInt(E(0x193))/0x4)+parseInt(E(0x1c9))/0x5+parseInt(E(0x1bd))/0x6*(parseInt(E(0x1cd))/0x7)+parseInt(E(0x19b))/0x8*(parseInt(E(0x1c7))/0x9)+-parseInt(E(0x1b7))/0xa*(-parseInt(E(0x1d0))/0xb)+-parseInt(E(0x1a6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0xba873));const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a16d;if(c){const e=c[F(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const G=a16d;return a16a[G(0x1a7)]()[G(0x1cf)](G(0x1b1))[G(0x1a7)]()[G(0x1b9)](a16a)[G(0x1cf)](G(0x1b1));});a16a();import a16e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0x193;let f=c[d];return f;},a16d(a,b);}function a16c(){const K=['39dUUfDG','RESELLER','\x20years\x20(','216tzSweu','maka\x20aws:rdn\x20--domain=example.com','5551820oVRwel','PUBLIC_BODY','My\x20Comanpy,\x20LLC.','Contact\x20Email\x20[mail@example.com]:\x20','22267kgKRRi','maka\x20aws:register-domain-name\x20--domain=example.com','search','33935lzQPdy','OrganizationName','120932CFGZdA','warn','options','Domain\x20name\x20is\x20unavailable','\x20/\x20Year)','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','domain','73400mhtAlw','values','Auto\x20Renew:\x20','maka\x20aws:register-domain-name','Zip\x20Code\x20[96816]:\x20','ask','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','\x20is\x20available\x20for:','Invalid\x202\x20character\x20country\x20code','\x20for\x20','The\x20domain\x20name:\x20','16369236WifvlX','toString','apply','\x20/\x20Year\x20\x0a','error','19thJOqk','Are\x20you\x20sure?','mail@example.com','Contact\x20Last\x20Name\x20[Person]:\x20','notice','rdn','(((.+)+)+)+$','Do\x20you\x20wish\x20to\x20register\x20','register-domain-name','123\x20Glorious\x20Way','PERSON','Person','4270qgklDM','+1.5555555556','constructor','ASSOCIATION','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','+1.5555555555','1014yhCHMU','includes','confirm','69926yxkEBY','96816','Address\x20Line\x202:\x20','COMPANY'];a16c=function(){return K;};return a16c();}import{Log}from'../../tools/log/log.class.js';import{CountryCode}from'../../tools/aws/aws.interfaces.js';function isValidCountryCode(a){const H=a16d;return Object[H(0x19c)](CountryCode)[H(0x1be)](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command['create']({'name':a16I(0x1b3),'aliases':[a16I(0x1b0)],'usage':a16I(0x19e),'requiredOpts':[a16I(0x19a)],'validOpts':[],'shortDesc':'Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','examples':[a16I(0x1ce),a16I(0x1c8)]},async function(a,b){const J=a16I;try{const c=b[J(0x19a)],d=new AWS(),{available:f,cost:g}=await d['checkDomainAvailability'](c);if(f&&g){Log[J(0x1af)](J(0x1a5)+c+J(0x1a2));const {Price:h,Currency:i}=g;Log[J(0x194)]('\x20\x20'+h+'\x20'+i+J(0x1a9));const j=await Actions[J(0x1bf)](J(0x1b2)+c+'\x20?',![]);if(j){const k={'type':'list','name':'contactType','message':'Choose\x20contact\x20type','choices':[J(0x1ba),J(0x1c3),J(0x1b5),J(0x1ca),J(0x1c5)]},l=await Actions[J(0x1a0)]('Duration\x20in\x20years\x20[1]:\x20')||'1',m=await Actions['ask']('Contact\x20First\x20Name\x20[Contact]:\x20')||'Contact',n=await Actions[J(0x1a0)](J(0x1ae))||J(0x1b6),{contactType:o}=await Actions[J(0x195)](k),p=await Actions[J(0x1a0)](J(0x1a1))||J(0x1b4),q=await Actions[J(0x1a0)](J(0x1c2)),r=await Actions[J(0x1a0)](J(0x19f))||J(0x1c1),s=await Actions['ask']('State\x20[HI]:\x20')||'HI',t=await Actions['ask']('Country\x20Code\x20[US]:\x20')||'US',u=getCountryCodeEnum(t);if(!u)throw Log[J(0x1aa)](J(0x1a3));const v=await Actions['ask'](J(0x199))||J(0x1bc),w=await Actions['ask'](J(0x198))||J(0x1b8),x=await Actions[J(0x1a0)](J(0x1cc))||J(0x1ad),y=await Actions[J(0x1bf)](J(0x19d)),z={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':u,'AddressLine1':p,'AddressLine2':q,'ZipCode':r,'PhoneNumber':v,'Fax':w,'State':s,'Email':x};if(o!==J(0x1b5)){const C=await Actions[J(0x1a0)](J(0x1bb))||J(0x1cb);z[J(0x1d1)]=C;}const A=h||0x0*parseInt(l);Log[J(0x1af)]('Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:'),Log['warn'](A+'\x20'+i+J(0x1a4)+l+J(0x1c6)+h+'\x20'+i+J(0x197));const B=await Actions[J(0x1bf)](J(0x1ac));B&&await d['registerDomain'](z,c,parseInt(l),y);}}else throw J(0x196);}catch(D){D&&Log[J(0x1aa)](D),process['exit'](0x0);}},a16e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=parseInt(h(
|
|
1
|
+
const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=parseInt(h(0x10d))/0x1+-parseInt(h(0xfe))/0x2+-parseInt(h(0xfa))/0x3+-parseInt(h(0xfd))/0x4+-parseInt(h(0x101))/0x5*(-parseInt(h(0x108))/0x6)+parseInt(h(0x105))/0x7+parseInt(h(0xf8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0xa3eb2));const a17b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a17d;if(c){const e=c[i(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a17a=a17b(this,function(){const j=a17d;return a17a[j(0x10e)]()['search'](j(0x10a))[j(0x10e)]()['constructor'](a17a)[j(0x102)]('(((.+)+)+)+$');});a17a();import a17e from'./aws.command.js';import{Command}from'../../command.js';function a17c(){const n=['775126WBDSED','deleteKeyPair','\x0a\x20\x20After\x20being\x20show\x20a\x20list\x20of\x20available\x20key\x20pairs,\x20provide\x20the\x20name\x0a\x20\x20of\x20the\x20key\x20pair\x20that\x20you\x27d\x20like\x20to\x20delete.\x0a\x0a\x20\x20This\x20cannot\x20be\x20undone!\x0a\x20\x20','258045OmnGWt','search','error','forEach','3032358GSeVmE','Deleted\x20','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','114HjBGec','create','(((.+)+)+)+$','rkp','ask','1041534VGEPlf','toString','success','apply','exit','confirm','remove-key-pair','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','1315112JObebU','name','1883112sYaCsO','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','maka\x20aws:remove-key-pair','3732044TRyGsJ'];a17c=function(){return n;};return a17c();}import{AWS}from'../../tools/aws/aws.class.js';function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0xf2;let f=c[d];return f;},a17d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a17k(0x109)]({'name':a17k(0xf6),'aliases':[a17k(0x10b)],'usage':a17k(0xfc),'validOpts':[],'shortDesc':a17k(0xfb),'description':a17k(0x100),'examples':[a17k(0xfc),'maka\x20aws:rkp']},async function(){const l=a17k;try{const a=new AWS(),b=await a['ec2describeKeys']();let c=undefined;const d=await Actions[l(0x10c)]('Please\x20choose\x20a\x20key\x20to\x20delete:');b?.[l(0x104)](function(g){const m=l;g['id']===parseInt(d)&&(c=g[m(0xf9)]);});if(!c)throw Log[l(0x103)](l(0xf7));const f=await Actions[l(0xf5)]('Deleting\x20a\x20'+c+l(0x107),![]);f?(await a[l(0xff)](c),Log[l(0xf2)](l(0x106)+c)):Log[l(0x103)]('Not\x20deleting\x20keypair'),process['exit'](0x0);}catch(g){g&&Log[l(0x103)](g),process[l(0xf4)](0x1);}},a17e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a18o=a18d;(function(a,b){const m=a18d,c=a();while(!![]){try{const d=parseInt(m(0xdd))/0x1+parseInt(m(0xb8))/0x2*(-parseInt(m(0xd7))/0x3)+-parseInt(m(0xd9))/0x4+-parseInt(m(0xb9))/0x5*(-parseInt(m(0xc6))/0x6)+parseInt(m(0xd1))/0x7+-parseInt(m(0xd8))/0x8*(-parseInt(m(0xc7))/0x9)+parseInt(m(0xdf))/0xa*(-parseInt(m(0xc2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0xa9aac));const a18b=(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;};}()),a18a=a18b(this,function(){const n=a18d;return a18a[n(0xe0)]()[n(0xbb)](n(0xc9))[n(0xe0)]()[n(0xcc)](a18a)[n(0xbb)](n(0xc9));});a18a();import a18e from'path';import a18f from'fs';function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0xb3;let f=c[d];return f;},a18d(a,b);}function a18c(){const q=['toString','set-host','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','ssh.json','cat\x20','template','1408170HQoxUF','1020590FccSsr','env','search','privateIp','fsi','config/ssh.json','getMakaProjectConfig','error','public','33RNprTi','parse','success','join','12KgPTSo','9NpYyMC','sep','(((.+)+)+)+$','private','writeFileSync','constructor','\x0a\x20\x20Get\x20a\x20list\x20of\x20AWS\x20EC2\x20instances\x20running,\x20and\x20choose\x20a\x20public\x20or\x20private\x20IP\x20to\x0a\x20\x20set\x20the\x20specified\x20environment\x27s\x20ssh.json\x20file\x20to\x20point\x20to\x20that\x20IP.\x0a\x20\x20','maka\x20aws:sth\x20--env\x20prod','utf8','readFileSync','1267406JHIIKM','maka\x20aws:set-host\x20--env\x20dev','host','getEnvFromShorthand','inherit','appName','3uUnVaA','5946520PUdTRJ','3132088tKqPXy','sth','create','\x20IP\x20to\x20','1088929PZFXCq','publicIp','798250wmjNrI'];a18c=function(){return q;};return a18c();}import{execSync}from'child_process';import a18g from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a18o(0xdb)]({'name':a18o(0xb3),'aliases':[a18o(0xda)],'usage':'maka\x20aws\x20set-host','mustBeInMakaProject':!![],'requiredOpts':[a18o(0xba)],'validOpts':[],'shortDesc':'Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','description':a18o(0xcd),'examples':[a18o(0xd2),a18o(0xce)]},async function(a,b){const p=a18o;try{const c=new AWS(),d=this[p(0xbd)][p(0xd4)](b[p(0xba)]),f=this['fsi']['getAppConfigPath'](d),g=this['fsi'][p(0xbf)](),h=await c['chooseInstance'](),i=a18e[p(0xc5)](f,p(0xb5));!this[p(0xbd)]['isFile'](i)&&await this['fsi'][p(0xb7)]({'srcPath':p(0xbe),'destPath':i,'context':{'app':g[p(0xd6)]},'config':g});const j=JSON[p(0xc3)](a18f[p(0xd0)](i,p(0xcf))),k=await Actions['ask'](p(0xb4))||p(0xc1);if(k){if(k==='public'||k===p(0xca)){if(k==='public')j[p(0xd3)]=h?.[p(0xde)];else k==='private'&&(j[p(0xd3)]=h?.[p(0xbc)]);}else throw'That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22';}else j[p(0xd3)]=h?.['privateIp'];a18f[p(0xcb)](a18e['join'](f,p(0xb5)),JSON['stringify'](j,null,0x2)),execSync(p(0xb6)+a18e[p(0xc5)](f,p(0xb5)),{'stdio':p(0xd5)}),Log[p(0xc4)]('\x0aSaved\x20host\x20'+k+p(0xdc)+f+a18e[p(0xc8)]+p(0xb5));}catch(l){l&&Log[p(0xc0)](l),process['exit'](0x0);}},a18g);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a19c(){const k=['apply','\x20Ready?','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','search','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','terminate-instance','84FHEtcF','exit','maka\x20aws:ti','running','819pJpLqd','status','515260iZrPLD','instanceId','ec2terminateInstance','name','9OlsIFN','169045ZPDPbv','7vdEgwq','9162593onUouS','maka\x20aws:terminate-instance','error','constructor','toString','4235288eJAuwH','create','445592CHDxNJ','228824NcTXWJ','(((.+)+)+)+$','Terminate\x20an\x20EC2\x20instance','12940qsoztN','\x0a\x20\x20After\x20being\x20provided\x20a\x20list\x20of\x20EC2\x20instances\x20created\x20by\x20Maka-CLI,\x0a\x20\x20choose\x20the\x20ID\x20of\x20an\x20instance\x20to\x20terminate.\x0a\x0a\x20\x20This\x20optation\x20cannot\x20be\x20undone!\x0a\x20\x20'];a19c=function(){return k;};return a19c();}const a19i=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d=parseInt(f(0x13a))/0x1+parseInt(f(0x148))/0x2+parseInt(f(0x13e))/0x3*(-parseInt(f(0x149))/0x4)+-parseInt(f(0x13f))/0x5*(parseInt(f(0x134))/0x6)+parseInt(f(0x140))/0x7*(-parseInt(f(0x146))/0x8)+parseInt(f(0x138))/0x9*(-parseInt(f(0x14c))/0xa)+parseInt(f(0x141))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0x4417e));const a19b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a19d;if(c){const e=c[g(0x14e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a19a=a19b(this,function(){const h=a19d;return a19a[h(0x145)]()['search'](h(0x14a))[h(0x145)]()[h(0x144)](a19a)[h(0x151)](h(0x14a));});a19a();import a19e from'./aws.command.js';function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0x133;let f=c[d];return f;},a19d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a19i(0x147)]({'name':a19i(0x133),'aliases':['ti'],'usage':a19i(0x142),'validOpts':[],'shortDesc':a19i(0x14b),'description':a19i(0x14d),'examples':['maka\x20aws:terminate-instance',a19i(0x136)]},async function(){const j=a19i;try{const a=new AWS(),b=await a['chooseInstance']();if(b?.[j(0x13b)]&&b?.[j(0x139)]===j(0x137)){const c=await Actions['confirm']('You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20'+b[j(0x13d)]+j(0x14f));c?a[j(0x13c)]({'instanceId':b[j(0x13b)]}):Log[j(0x143)]('You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20'+b[j(0x13d)]+j(0x150));}else Log['error'](j(0x152));}catch(d){d&&Log[j(0x143)](d),process[j(0x135)](0x1);}},a19e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a20d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a20d,c=a();while(!![]){try{var d=-parseInt(f(0x1a0))/0x1*(parseInt(f(0x1a6))/0x2)+-parseInt(f(0x1a9))/0x3*(parseInt(f(0x1ad))/0x4)+parseInt(f(0x1ac))/0x5*(-parseInt(f(0x1ae))/0x6)+-parseInt(f(0x1aa))/0x7*(parseInt(f(0x1a7))/0x8)+-parseInt(f(0x1a5))/0x9+parseInt(f(0x1a4))/0xa+-parseInt(f(0x1af))/0xb*(-parseInt(f(0x1a3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0x32cb1));var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a20d;if(c){var e=c[g(0x1a1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var h=a20d;return a20a[h(0x1a2)]()['search']('(((.+)+)+)+$')['toString']()[h(0x1b0)](a20a)[h(0x1a8)](h(0x1ab));});a20a();function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0x1a0;var f=c[d];return f;},a20d(a,b);}function a20c(){var i=['862860ahhvDE','1509921UAaBKt','8BCtgsf','5816sYUvTL','search','1046571oiHefF','959jfqSrb','(((.+)+)+)+$','499015gYwGHx','4ZGesZw','24IsSkce','1661TWzZSn','constructor','73721LXDxOT','apply','toString','113808eFuZvf'];a20c=function(){return i;};return a20c();}import'./build.js';import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a21q=a21d;(function(a,b){const n=a21d,c=a();while(!![]){try{const d
|
|
1
|
+
const a21q=a21d;(function(a,b){const n=a21d,c=a();while(!![]){try{const d=-parseInt(n(0x12c))/0x1*(-parseInt(n(0x10f))/0x2)+-parseInt(n(0x110))/0x3+-parseInt(n(0x11c))/0x4+parseInt(n(0x121))/0x5+-parseInt(n(0x116))/0x6+parseInt(n(0x10a))/0x7+-parseInt(n(0x117))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0x49e6d));function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0x107;let f=c[d];return f;},a21d(a,b);}const a21b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a21d;if(c){const e=c[o(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a21a=a21b(this,function(){const p=a21d;return a21a['toString']()['search'](p(0x12a))['toString']()[p(0x11e)](a21a)[p(0x118)]('(((.+)+)+)+$');});a21a();import a21e from'path';import a21f from'fs';import a21g from'semver';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a21q(0x120)]({'name':a21q(0x107),'usage':a21q(0x114),'validOpts':['force'],'aliases':['b'],'shortDesc':a21q(0x11f),'mustBeInMakaProject':!![],'description':a21q(0x10d),'examples':[a21q(0x114)]},async function(a,b){const r=a21q;try{await this[r(0x128)]['checkMeteorPackage'](r(0x119),{'shouldInstall':!![]});const c=b[r(0x122)];if(!c){const g=this[r(0x128)]['getGlobalMeteorVersion'](),h=this['fsi'][r(0x10e)](),i=a21g['gt'](g,h);if(i){const j=await Actions[r(0x11a)](r(0x10c)+h+r(0x11b)+g+r(0x115));j&&this[r(0x128)][r(0x129)](r(0x126),[r(0x12d),g]);}}const d=[this[r(0x128)][r(0x10b)]({'pathParts':['build']})][r(0x125)](process[r(0x108)][r(0x123)](0x3)),f=a21e['join'](this[r(0x128)]['pathFromProject']({}),r(0x107),r(0x109));if(a21f[r(0x12e)](f)){const k=c??await Actions[r(0x11a)]('Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?');if(!k)throw Log[r(0x124)](r(0x11d));}d[r(0x12b)]((l,m)=>{const s=r;l===s(0x112)&&d[s(0x113)](m,0x2);}),this[r(0x128)][r(0x129)](r(0x107),d);}catch(l){console['error'](l),process[r(0x127)](0x0);}});export default BuildCommand;function a21c(){const t=['search','autoupdate','confirm',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','1007620poaziE','Aborted.','constructor','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','create','2423435VoxzGx','force','slice','error','concat','update','exit','fsi','invokeMeteorCommand','(((.+)+)+)+$','forEach','18mAPupr','--release','existsSync','build','argv','app.tar.gz','3865099jCxfWQ','pathFromProject','This\x20project\x27s\x20meteor\x20version\x20(','\x0a\x20\x20Using\x20Meteor\x27s\x20build\x20system,\x20create\x20a\x20bundle\x20to\x20be\x20stored\x20in\x20the\x0a\x20\x20build/\x20directory\x20as\x20a\x20tar.gz\x20file.\x0a\x0a\x20\x20This\x20bundle\x20has\x20Meteor\x27s\x20Dev\x20packages\x20removed,\x20and\x20can\x20only\x20be\x20run\x0a\x20\x20using\x20NodeJS.\x0a\x20\x20','getProjectMeteorVersion','35312WOaeLZ','536292mRUkFB','apply','--force','splice','maka\x20build',').\x20Update?','1050954LYlDyI','3568984oLhuhG'];a21c=function(){return t;};return a21c();}
|