@flosum/storages 1.0.10-beta.2 → 1.0.10-beta.3

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.
@@ -1 +1 @@
1
- 'use strict';const _0x275ada=_0x1ad1;(function(_0x48da05,_0x25ac59){const _0x59d8bc=_0x1ad1,_0x38b1c3=_0x48da05();while(!![]){try{const _0x31f3b1=-parseInt(_0x59d8bc(0x12f))/0x1+parseInt(_0x59d8bc(0x138))/0x2+-parseInt(_0x59d8bc(0x13a))/0x3+parseInt(_0x59d8bc(0x131))/0x4*(parseInt(_0x59d8bc(0x13c))/0x5)+-parseInt(_0x59d8bc(0x145))/0x6+parseInt(_0x59d8bc(0x140))/0x7*(parseInt(_0x59d8bc(0x130))/0x8)+parseInt(_0x59d8bc(0x141))/0x9*(parseInt(_0x59d8bc(0x136))/0xa);if(_0x31f3b1===_0x25ac59)break;else _0x38b1c3['push'](_0x38b1c3['shift']());}catch(_0x5f4b1f){_0x38b1c3['push'](_0x38b1c3['shift']());}}}(_0x5872,0x8702d));var __awaiter=this&&this[_0x275ada(0x129)]||function(_0x5c6702,_0x4ca987,_0xf90c0a,_0x539b2d){function _0x5e0918(_0x17df00){return _0x17df00 instanceof _0xf90c0a?_0x17df00:new _0xf90c0a(function(_0x90a66d){_0x90a66d(_0x17df00);});}return new(_0xf90c0a||(_0xf90c0a=Promise))(function(_0x76538a,_0xf33b4f){const _0x2d5a61=_0x1ad1;function _0x2a6dbb(_0x20809e){const _0xe2c857=_0x1ad1;try{_0x2a78ee(_0x539b2d[_0xe2c857(0x128)](_0x20809e));}catch(_0x5e6f61){_0xf33b4f(_0x5e6f61);}}function _0x114ec0(_0x3e1dfd){try{_0x2a78ee(_0x539b2d['throw'](_0x3e1dfd));}catch(_0x6f6fbe){_0xf33b4f(_0x6f6fbe);}}function _0x2a78ee(_0x840d61){const _0x52a6df=_0x1ad1;_0x840d61['done']?_0x76538a(_0x840d61['value']):_0x5e0918(_0x840d61[_0x52a6df(0x12a)])[_0x52a6df(0x12b)](_0x2a6dbb,_0x114ec0);}_0x2a78ee((_0x539b2d=_0x539b2d[_0x2d5a61(0x143)](_0x5c6702,_0x4ca987||[]))[_0x2d5a61(0x128)]());});},__importDefault=this&&this[_0x275ada(0x126)]||function(_0x24ec23){const _0x96de2=_0x275ada;return _0x24ec23&&_0x24ec23[_0x96de2(0x13e)]?_0x24ec23:{'default':_0x24ec23};};function _0x5872(){const _0x39671b=['130FLrzrB','accessKeyId','710194aaiyDa','BaseCredentials','1376043UWSUdy','getCredentials','433320lxyeRQ','defineProperty','__esModule','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','833hnazND','953037Lizipt','secretAccessKey','apply','aws-sdk','6228282meCZNg','__importDefault','AwsS3Credentials','next','__awaiter','value','then','./base-credentials','validate','promise','504771TADEMA','49488BPiAiF','4aHZGhU','message','headBucket','bucketName','credentials'];_0x5872=function(){return _0x39671b;};return _0x5872();}Object[_0x275ada(0x13d)](exports,_0x275ada(0x13e),{'value':!![]}),exports[_0x275ada(0x127)]=void 0x0;const aws_sdk_1=__importDefault(require(_0x275ada(0x144))),base_credentials_1=require(_0x275ada(0x12c));class AwsS3Credentials extends base_credentials_1[_0x275ada(0x139)]{constructor(){const _0x240a8d=_0x275ada;super(...arguments),this['s3']=new aws_sdk_1['default']['S3']({'accessKeyId':this[_0x240a8d(0x135)][_0x240a8d(0x137)],'secretAccessKey':this[_0x240a8d(0x135)]['secretAccessKey']});}get['accessKeyId'](){const _0x207d50=_0x275ada;return this[_0x207d50(0x135)][_0x207d50(0x137)];}get[_0x275ada(0x142)](){const _0x3cd82f=_0x275ada;return this[_0x3cd82f(0x135)]['secretAccessKey'];}get['bucketName'](){const _0x5ddb66=_0x275ada;return this[_0x5ddb66(0x135)]['bucketName'];}[_0x275ada(0x12d)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x146c81=_0x1ad1;try{const _0x49d549={'Bucket':this[_0x146c81(0x135)][_0x146c81(0x134)]};yield this['s3'][_0x146c81(0x133)](_0x49d549)[_0x146c81(0x12e)]();}catch(_0x45dc8f){throw new Error(_0x146c81(0x13f)+_0x45dc8f[_0x146c81(0x132)]);}});}[_0x275ada(0x13b)](_0x9e9cdb=![]){const _0x8b264f=_0x275ada;if(_0x9e9cdb)return{'bucketName':this[_0x8b264f(0x135)][_0x8b264f(0x134)]};return this['credentials'];}}function _0x1ad1(_0x5401e1,_0x1b4efe){const _0x587221=_0x5872();return _0x1ad1=function(_0x1ad1d7,_0x4c76aa){_0x1ad1d7=_0x1ad1d7-0x126;let _0xd9c031=_0x587221[_0x1ad1d7];return _0xd9c031;},_0x1ad1(_0x5401e1,_0x1b4efe);}exports[_0x275ada(0x127)]=AwsS3Credentials;
1
+ 'use strict';const _0xa02377=_0x41ea;(function(_0xd40652,_0x16c518){const _0xf9d8db=_0x41ea,_0x556326=_0xd40652();while(!![]){try{const _0xf02c69=parseInt(_0xf9d8db(0x181))/0x1*(parseInt(_0xf9d8db(0x186))/0x2)+parseInt(_0xf9d8db(0x195))/0x3+-parseInt(_0xf9d8db(0x184))/0x4+-parseInt(_0xf9d8db(0x196))/0x5+parseInt(_0xf9d8db(0x19a))/0x6*(parseInt(_0xf9d8db(0x190))/0x7)+-parseInt(_0xf9d8db(0x18f))/0x8*(-parseInt(_0xf9d8db(0x193))/0x9)+-parseInt(_0xf9d8db(0x194))/0xa;if(_0xf02c69===_0x16c518)break;else _0x556326['push'](_0x556326['shift']());}catch(_0x3a86ff){_0x556326['push'](_0x556326['shift']());}}}(_0x5ec3,0xa532e));function _0x5ec3(){const _0x2adfb5=['next','46tOFpZq','__awaiter','defineProperty','./base-credentials','validate','default','value','accessKeyId','then','8fQPJAl','223286lhaiGW','BaseCredentials','apply','3271959GhSciq','11055780GHBTbC','1719276aBMrOA','4946685iqXahS','secretAccessKey','bucketName','done','204ktBrLk','AwsS3Credentials','message','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','promise','35421GomdXr','credentials','__esModule','257156yFcekr'];_0x5ec3=function(){return _0x2adfb5;};return _0x5ec3();}function _0x41ea(_0x3a391a,_0x46e80d){const _0x5ec355=_0x5ec3();return _0x41ea=function(_0x41ea9b,_0x2b9088){_0x41ea9b=_0x41ea9b-0x17d;let _0x2ebd9b=_0x5ec355[_0x41ea9b];return _0x2ebd9b;},_0x41ea(_0x3a391a,_0x46e80d);}var __awaiter=this&&this[_0xa02377(0x187)]||function(_0x439916,_0x22a7e4,_0x1159a1,_0xa95c66){function _0x1375f4(_0x1a00a7){return _0x1a00a7 instanceof _0x1159a1?_0x1a00a7:new _0x1159a1(function(_0x8082a6){_0x8082a6(_0x1a00a7);});}return new(_0x1159a1||(_0x1159a1=Promise))(function(_0x3b3193,_0x18041a){const _0x55e6d5=_0x41ea;function _0x550f4f(_0x1cdc96){const _0x40ae3d=_0x41ea;try{_0x26c632(_0xa95c66[_0x40ae3d(0x185)](_0x1cdc96));}catch(_0x1b1bea){_0x18041a(_0x1b1bea);}}function _0x27a2e8(_0xe0d259){try{_0x26c632(_0xa95c66['throw'](_0xe0d259));}catch(_0x2e85f1){_0x18041a(_0x2e85f1);}}function _0x26c632(_0x19832a){const _0x2a6e49=_0x41ea;_0x19832a[_0x2a6e49(0x199)]?_0x3b3193(_0x19832a[_0x2a6e49(0x18c)]):_0x1375f4(_0x19832a['value'])[_0x2a6e49(0x18e)](_0x550f4f,_0x27a2e8);}_0x26c632((_0xa95c66=_0xa95c66[_0x55e6d5(0x192)](_0x439916,_0x22a7e4||[]))[_0x55e6d5(0x185)]());});},__importDefault=this&&this['__importDefault']||function(_0x3ad86e){return _0x3ad86e&&_0x3ad86e['__esModule']?_0x3ad86e:{'default':_0x3ad86e};};Object[_0xa02377(0x188)](exports,_0xa02377(0x183),{'value':!![]}),exports[_0xa02377(0x17d)]=void 0x0;const aws_sdk_1=__importDefault(require('aws-sdk')),base_credentials_1=require(_0xa02377(0x189));class AwsS3Credentials extends base_credentials_1[_0xa02377(0x191)]{constructor(){const _0x575d64=_0xa02377;super(...arguments),this['s3']=new aws_sdk_1[(_0x575d64(0x18b))]['S3']({'accessKeyId':this['credentials']['accessKeyId'],'secretAccessKey':this[_0x575d64(0x182)][_0x575d64(0x197)]});}get[_0xa02377(0x18d)](){const _0x1bd48c=_0xa02377;return this[_0x1bd48c(0x182)]['accessKeyId'];}get['secretAccessKey'](){const _0x270e9a=_0xa02377;return this[_0x270e9a(0x182)][_0x270e9a(0x197)];}get[_0xa02377(0x198)](){const _0x5ac83c=_0xa02377;return this[_0x5ac83c(0x182)][_0x5ac83c(0x198)];}[_0xa02377(0x18a)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2e44a0=_0x41ea;try{const _0x49e16d={'Bucket':this[_0x2e44a0(0x182)][_0x2e44a0(0x198)]};yield this['s3']['headBucket'](_0x49e16d)[_0x2e44a0(0x180)]();}catch(_0x3d4599){throw new Error(_0x2e44a0(0x17f)+_0x3d4599[_0x2e44a0(0x17e)]);}});}['getCredentials'](_0x46dfd8=![]){const _0x102b7f=_0xa02377;if(_0x46dfd8)return{'bucketName':this[_0x102b7f(0x182)][_0x102b7f(0x198)]};return this[_0x102b7f(0x182)];}}exports[_0xa02377(0x17d)]=AwsS3Credentials;
@@ -1 +1 @@
1
- 'use strict';var _0x57d366=_0x5d67;(function(_0x14751e,_0x4dd371){var _0x2276a1=_0x5d67,_0xea51b6=_0x14751e();while(!![]){try{var _0x50373b=parseInt(_0x2276a1(0x137))/0x1*(parseInt(_0x2276a1(0x13d))/0x2)+-parseInt(_0x2276a1(0x13f))/0x3*(-parseInt(_0x2276a1(0x136))/0x4)+parseInt(_0x2276a1(0x134))/0x5+-parseInt(_0x2276a1(0x13a))/0x6+-parseInt(_0x2276a1(0x133))/0x7*(parseInt(_0x2276a1(0x140))/0x8)+parseInt(_0x2276a1(0x135))/0x9*(-parseInt(_0x2276a1(0x141))/0xa)+-parseInt(_0x2276a1(0x13e))/0xb;if(_0x50373b===_0x4dd371)break;else _0xea51b6['push'](_0xea51b6['shift']());}catch(_0xf895a){_0xea51b6['push'](_0xea51b6['shift']());}}}(_0x3849,0xa447f));function _0x3849(){var _0x266230=['__esModule','34993zZrbyA','637920HLmQbw','3357171jqmHyv','28RidaFt','1031gGtslY','BaseCredentials','defineProperty','896604neDnXF','credentials','rawCredentials','1646IPRqDY','1652541RaKCpj','531132CLgCKg','1392uRkgya','10ivzgOO','parse'];_0x3849=function(){return _0x266230;};return _0x3849();}function _0x5d67(_0x1ebba6,_0x37dba3){var _0x3849e3=_0x3849();return _0x5d67=function(_0x5d6741,_0x1581e6){_0x5d6741=_0x5d6741-0x132;var _0x1f6c6f=_0x3849e3[_0x5d6741];return _0x1f6c6f;},_0x5d67(_0x1ebba6,_0x37dba3);}Object[_0x57d366(0x139)](exports,_0x57d366(0x132),{'value':!![]}),exports[_0x57d366(0x138)]=void 0x0;class BaseCredentials{constructor(_0x30a5ef){var _0x41dc6d=_0x57d366;this[_0x41dc6d(0x13c)]=_0x30a5ef,this[_0x41dc6d(0x13b)]=this['rawCredentials']?JSON[_0x41dc6d(0x142)](this[_0x41dc6d(0x13c)]):null;}}exports[_0x57d366(0x138)]=BaseCredentials;
1
+ 'use strict';var _0x5805e7=_0xdd38;function _0x2ba7(){var _0x5d0a05=['10762380tNiSfu','36430jRpbqt','BaseCredentials','7961676uSslKP','42965wcHAPk','730975YsbRNy','rawCredentials','74ZszwLT','credentials','21126750iXhojj','__esModule','683391dlPCRI','120CAPtxn','348mhfZLN'];_0x2ba7=function(){return _0x5d0a05;};return _0x2ba7();}(function(_0x12d032,_0x9e988e){var _0x44e0f1=_0xdd38,_0x26925d=_0x12d032();while(!![]){try{var _0x751dc0=parseInt(_0x44e0f1(0x1dd))/0x1*(parseInt(_0x44e0f1(0x1e5))/0x2)+-parseInt(_0x44e0f1(0x1e1))/0x3+parseInt(_0x44e0f1(0x1e3))/0x4*(-parseInt(_0x44e0f1(0x1e8))/0x5)+-parseInt(_0x44e0f1(0x1e7))/0x6+-parseInt(_0x44e0f1(0x1e9))/0x7*(parseInt(_0x44e0f1(0x1e2))/0x8)+parseInt(_0x44e0f1(0x1e4))/0x9+parseInt(_0x44e0f1(0x1df))/0xa;if(_0x751dc0===_0x9e988e)break;else _0x26925d['push'](_0x26925d['shift']());}catch(_0x1a96c9){_0x26925d['push'](_0x26925d['shift']());}}}(_0x2ba7,0xc04f0));Object['defineProperty'](exports,_0x5805e7(0x1e0),{'value':!![]}),exports[_0x5805e7(0x1e6)]=void 0x0;function _0xdd38(_0x3845df,_0x596ee6){var _0x2ba715=_0x2ba7();return _0xdd38=function(_0xdd3890,_0x1b0be4){_0xdd3890=_0xdd3890-0x1dc;var _0x549d9b=_0x2ba715[_0xdd3890];return _0x549d9b;},_0xdd38(_0x3845df,_0x596ee6);}class BaseCredentials{constructor(_0x2b8c80){var _0x30c47c=_0x5805e7;this[_0x30c47c(0x1dc)]=_0x2b8c80,this[_0x30c47c(0x1de)]=this['rawCredentials']?JSON['parse'](this[_0x30c47c(0x1dc)]):null;}}exports['BaseCredentials']=BaseCredentials;
@@ -1 +1 @@
1
- 'use strict';var _0x25fc48=_0x5213;(function(_0x5f48ed,_0x2f36bd){var _0x2cf71a=_0x5213,_0x13c837=_0x5f48ed();while(!![]){try{var _0x594193=parseInt(_0x2cf71a(0x6e))/0x1*(-parseInt(_0x2cf71a(0x78))/0x2)+-parseInt(_0x2cf71a(0x77))/0x3*(-parseInt(_0x2cf71a(0x75))/0x4)+parseInt(_0x2cf71a(0x76))/0x5+parseInt(_0x2cf71a(0x74))/0x6+parseInt(_0x2cf71a(0x73))/0x7+parseInt(_0x2cf71a(0x79))/0x8+-parseInt(_0x2cf71a(0x71))/0x9;if(_0x594193===_0x2f36bd)break;else _0x13c837['push'](_0x13c837['shift']());}catch(_0x361c74){_0x13c837['push'](_0x13c837['shift']());}}}(_0x4067,0x5d35b));function _0x5213(_0x5dd8f9,_0x3151fd){var _0x406701=_0x4067();return _0x5213=function(_0x5213d8,_0xe4d1e4){_0x5213d8=_0x5213d8-0x6b;var _0x3d1996=_0x406701[_0x5213d8];return _0x3d1996;},_0x5213(_0x5dd8f9,_0x3151fd);}Object[_0x25fc48(0x6d)](exports,'__esModule',{'value':!![]}),exports[_0x25fc48(0x6b)]=exports[_0x25fc48(0x6f)]=exports['BaseCredentials']=void 0x0;var base_credentials_1=require('./base-credentials');Object[_0x25fc48(0x6d)](exports,_0x25fc48(0x72),{'enumerable':!![],'get':function(){return base_credentials_1['BaseCredentials'];}});function _0x4067(){var _0x66ade5=['1061295fLyhcN','3cqKooC','18VVWsUV','4871432PoyeTC','LocalCredentials','./local-credentials','defineProperty','66245vzObFK','AwsS3Credentials','./aws-s3-credentials','2400363TALQhf','BaseCredentials','912541YbcBCQ','126534AToaNc','1088236LubNCb'];_0x4067=function(){return _0x66ade5;};return _0x4067();}var aws_s3_credentials_1=require(_0x25fc48(0x70));Object[_0x25fc48(0x6d)](exports,_0x25fc48(0x6f),{'enumerable':!![],'get':function(){var _0x302236=_0x25fc48;return aws_s3_credentials_1[_0x302236(0x6f)];}});var local_credentials_1=require(_0x25fc48(0x6c));Object[_0x25fc48(0x6d)](exports,_0x25fc48(0x6b),{'enumerable':!![],'get':function(){var _0x1ceb9d=_0x25fc48;return local_credentials_1[_0x1ceb9d(0x6b)];}});
1
+ 'use strict';function _0x4d3a(_0x4f25ee,_0x5d0d21){var _0x4341f6=_0x4341();return _0x4d3a=function(_0x4d3a1f,_0x32dfd4){_0x4d3a1f=_0x4d3a1f-0x10a;var _0x48cb32=_0x4341f6[_0x4d3a1f];return _0x48cb32;},_0x4d3a(_0x4f25ee,_0x5d0d21);}var _0x911dca=_0x4d3a;(function(_0x3e605a,_0x2b8793){var _0x200728=_0x4d3a,_0x255eb5=_0x3e605a();while(!![]){try{var _0x2fd512=parseInt(_0x200728(0x115))/0x1*(-parseInt(_0x200728(0x114))/0x2)+-parseInt(_0x200728(0x112))/0x3+parseInt(_0x200728(0x10a))/0x4+parseInt(_0x200728(0x11a))/0x5+parseInt(_0x200728(0x10f))/0x6+parseInt(_0x200728(0x10c))/0x7+parseInt(_0x200728(0x117))/0x8*(parseInt(_0x200728(0x113))/0x9);if(_0x2fd512===_0x2b8793)break;else _0x255eb5['push'](_0x255eb5['shift']());}catch(_0x2a0d20){_0x255eb5['push'](_0x255eb5['shift']());}}}(_0x4341,0xb803d));Object[_0x911dca(0x119)](exports,_0x911dca(0x10e),{'value':!![]}),exports[_0x911dca(0x10b)]=exports[_0x911dca(0x111)]=exports[_0x911dca(0x110)]=void 0x0;var base_credentials_1=require(_0x911dca(0x118));function _0x4341(){var _0x3cdaf3=['4221882VjvwRV','./local-credentials','__esModule','7009488koObOO','BaseCredentials','AwsS3Credentials','3548976IFVsOC','45fSCrti','1982aHPAMz','1517rIvvhf','./aws-s3-credentials','1089944JmASNu','./base-credentials','defineProperty','2949275ZEkRWU','1590480DXQnoI','LocalCredentials'];_0x4341=function(){return _0x3cdaf3;};return _0x4341();}Object[_0x911dca(0x119)](exports,_0x911dca(0x110),{'enumerable':!![],'get':function(){return base_credentials_1['BaseCredentials'];}});var aws_s3_credentials_1=require(_0x911dca(0x116));Object[_0x911dca(0x119)](exports,'AwsS3Credentials',{'enumerable':!![],'get':function(){var _0x5409e5=_0x911dca;return aws_s3_credentials_1[_0x5409e5(0x111)];}});var local_credentials_1=require(_0x911dca(0x10d));Object[_0x911dca(0x119)](exports,_0x911dca(0x10b),{'enumerable':!![],'get':function(){var _0x282045=_0x911dca;return local_credentials_1[_0x282045(0x10b)];}});
@@ -1 +1 @@
1
- 'use strict';const _0x41cf64=_0x3d30;(function(_0xaeb221,_0x22e61e){const _0x2a1504=_0x3d30,_0x15ef80=_0xaeb221();while(!![]){try{const _0x4e32b2=parseInt(_0x2a1504(0xc2))/0x1+-parseInt(_0x2a1504(0xbf))/0x2*(-parseInt(_0x2a1504(0xcc))/0x3)+parseInt(_0x2a1504(0xcf))/0x4*(parseInt(_0x2a1504(0xc6))/0x5)+-parseInt(_0x2a1504(0xc5))/0x6+-parseInt(_0x2a1504(0xc9))/0x7*(parseInt(_0x2a1504(0xbe))/0x8)+parseInt(_0x2a1504(0xcd))/0x9*(parseInt(_0x2a1504(0xc3))/0xa)+-parseInt(_0x2a1504(0xc8))/0xb;if(_0x4e32b2===_0x22e61e)break;else _0x15ef80['push'](_0x15ef80['shift']());}catch(_0x2c831e){_0x15ef80['push'](_0x15ef80['shift']());}}}(_0x2cdf,0x70dea));Object[_0x41cf64(0xc1)](exports,_0x41cf64(0xce),{'value':!![]}),exports[_0x41cf64(0xc0)]=void 0x0;const base_credentials_1=require(_0x41cf64(0xc7));class LocalCredentials extends base_credentials_1[_0x41cf64(0xca)]{[_0x41cf64(0xbd)](){return null;}[_0x41cf64(0xcb)](){const _0x5e0176=_0x41cf64;return Promise[_0x5e0176(0xc4)](undefined);}}function _0x3d30(_0x1661e9,_0x2fdd77){const _0x2cdf7a=_0x2cdf();return _0x3d30=function(_0x3d30c6,_0x35f7bc){_0x3d30c6=_0x3d30c6-0xbd;let _0x4b0e7c=_0x2cdf7a[_0x3d30c6];return _0x4b0e7c;},_0x3d30(_0x1661e9,_0x2fdd77);}function _0x2cdf(){const _0x576dab=['./base-credentials','17139265csmCUN','5999ereixA','BaseCredentials','validate','3vSWubR','18234wzShnw','__esModule','3446584bSWDNW','getCredentials','7608FxuJxT','1478562bqCpcm','LocalCredentials','defineProperty','392869QapjyP','4310TdODvh','resolve','189396JjKQVY','5LGDJGF'];_0x2cdf=function(){return _0x576dab;};return _0x2cdf();}exports[_0x41cf64(0xc0)]=LocalCredentials;
1
+ 'use strict';const _0x24d5f9=_0x3c67;(function(_0x5bb5f9,_0x477fc8){const _0x9a64fa=_0x3c67,_0x54525b=_0x5bb5f9();while(!![]){try{const _0x447331=-parseInt(_0x9a64fa(0xa0))/0x1*(parseInt(_0x9a64fa(0x9b))/0x2)+parseInt(_0x9a64fa(0xa3))/0x3+-parseInt(_0x9a64fa(0x9a))/0x4+parseInt(_0x9a64fa(0xa6))/0x5+-parseInt(_0x9a64fa(0x9c))/0x6*(-parseInt(_0x9a64fa(0x96))/0x7)+-parseInt(_0x9a64fa(0xa4))/0x8*(-parseInt(_0x9a64fa(0xa1))/0x9)+parseInt(_0x9a64fa(0x98))/0xa*(-parseInt(_0x9a64fa(0x97))/0xb);if(_0x447331===_0x477fc8)break;else _0x54525b['push'](_0x54525b['shift']());}catch(_0x36e92d){_0x54525b['push'](_0x54525b['shift']());}}}(_0x54d6,0xdb3a4));Object['defineProperty'](exports,_0x24d5f9(0x9e),{'value':!![]}),exports['LocalCredentials']=void 0x0;const base_credentials_1=require(_0x24d5f9(0x9d));function _0x54d6(){const _0x201364=['20jEURAd','getCredentials','6690716KwYUhA','611406yWoDqr','37302DuuhuC','./base-credentials','__esModule','LocalCredentials','1qSFYiM','9VnMeAJ','validate','4057026RBvVXP','9096176fQamog','resolve','888145pusuZh','917zhRPoa','3327951SKwzgD'];_0x54d6=function(){return _0x201364;};return _0x54d6();}function _0x3c67(_0x259fa5,_0x1b5f88){const _0x54d65f=_0x54d6();return _0x3c67=function(_0x3c67e6,_0x2b24c6){_0x3c67e6=_0x3c67e6-0x96;let _0x2d89d7=_0x54d65f[_0x3c67e6];return _0x2d89d7;},_0x3c67(_0x259fa5,_0x1b5f88);}class LocalCredentials extends base_credentials_1['BaseCredentials']{[_0x24d5f9(0x99)](){return null;}[_0x24d5f9(0xa2)](){const _0x1753a1=_0x24d5f9;return Promise[_0x1753a1(0xa5)](undefined);}}exports[_0x24d5f9(0x9f)]=LocalCredentials;
@@ -1 +1 @@
1
- 'use strict';function _0x49c7(){const _0x51376b=['__awaiter','deleteObjects','AwsS3Delete','accessKeyId','split','120481ABsUXp','aws-sdk','value','2BErOTR','execute','@flosum-service/utils','21763dTVheK','1434FbmXnh','throw','splitOnChunks','110xMkMcw','posix','4XAmebS','OBJECTS_PER_CHUNK','next','11rQrVkT','map','415263mOwDRU','__esModule','getFilesPaths','credentials','sep','BaseDelete','then','5457912bQRnqh','bucketName','25234764VGvndn','366822NzHLEI','promise','default','path','727865JbLVRm','__importDefault'];_0x49c7=function(){return _0x51376b;};return _0x49c7();}function _0x509e(_0x5610c4,_0x512fe0){const _0x49c7a6=_0x49c7();return _0x509e=function(_0x509e21,_0x1f2f6e){_0x509e21=_0x509e21-0x89;let _0x1651b5=_0x49c7a6[_0x509e21];return _0x1651b5;},_0x509e(_0x5610c4,_0x512fe0);}const _0x1bf904=_0x509e;(function(_0x24ea54,_0x5d3021){const _0x3477a4=_0x509e,_0x52c94c=_0x24ea54();while(!![]){try{const _0x257f34=parseInt(_0x3477a4(0x98))/0x1*(-parseInt(_0x3477a4(0x9b))/0x2)+parseInt(_0x3477a4(0xa9))/0x3+parseInt(_0x3477a4(0xa4))/0x4*(parseInt(_0x3477a4(0x91))/0x5)+parseInt(_0x3477a4(0x9f))/0x6*(-parseInt(_0x3477a4(0x9e))/0x7)+-parseInt(_0x3477a4(0x8a))/0x8+parseInt(_0x3477a4(0x8d))/0x9*(-parseInt(_0x3477a4(0xa2))/0xa)+parseInt(_0x3477a4(0xa7))/0xb*(parseInt(_0x3477a4(0x8c))/0xc);if(_0x257f34===_0x5d3021)break;else _0x52c94c['push'](_0x52c94c['shift']());}catch(_0xc95ca6){_0x52c94c['push'](_0x52c94c['shift']());}}}(_0x49c7,0x5fe4e));var __awaiter=this&&this[_0x1bf904(0x93)]||function(_0x3bc952,_0x5e365f,_0x2770dc,_0x2b326a){function _0x29be5c(_0x307cca){return _0x307cca instanceof _0x2770dc?_0x307cca:new _0x2770dc(function(_0x39c66b){_0x39c66b(_0x307cca);});}return new(_0x2770dc||(_0x2770dc=Promise))(function(_0x2cea66,_0x48f924){const _0x3a7466=_0x509e;function _0x31e48f(_0x56f588){const _0x281ddb=_0x509e;try{_0x122db9(_0x2b326a[_0x281ddb(0xa6)](_0x56f588));}catch(_0xd94e98){_0x48f924(_0xd94e98);}}function _0x95e1f1(_0x20ff75){const _0x2dfaf4=_0x509e;try{_0x122db9(_0x2b326a[_0x2dfaf4(0xa0)](_0x20ff75));}catch(_0xa4690b){_0x48f924(_0xa4690b);}}function _0x122db9(_0x3e3eb2){const _0xae7538=_0x509e;_0x3e3eb2['done']?_0x2cea66(_0x3e3eb2[_0xae7538(0x9a)]):_0x29be5c(_0x3e3eb2[_0xae7538(0x9a)])[_0xae7538(0x89)](_0x31e48f,_0x95e1f1);}_0x122db9((_0x2b326a=_0x2b326a['apply'](_0x3bc952,_0x5e365f||[]))[_0x3a7466(0xa6)]());});},__importDefault=this&&this[_0x1bf904(0x92)]||function(_0x30b34b){const _0x54434c=_0x1bf904;return _0x30b34b&&_0x30b34b[_0x54434c(0xaa)]?_0x30b34b:{'default':_0x30b34b};};Object['defineProperty'](exports,_0x1bf904(0xaa),{'value':!![]}),exports[_0x1bf904(0x95)]=void 0x0;const aws_sdk_1=__importDefault(require(_0x1bf904(0x99))),path_1=__importDefault(require(_0x1bf904(0x90))),utils_1=require(_0x1bf904(0x9d)),aws_s3_utils_1=require('../utils/aws-s3.utils'),_1=require('./');class AwsS3Delete extends _1[_0x1bf904(0xae)]{constructor(_0x3a348d){const _0x437a52=_0x1bf904;super(_0x3a348d),this[_0x437a52(0xac)]=_0x3a348d,this[_0x437a52(0xa5)]=0x3e8,this['s3']=new aws_sdk_1[(_0x437a52(0x8f))]['S3']({'accessKeyId':this[_0x437a52(0xac)][_0x437a52(0x96)],'secretAccessKey':this[_0x437a52(0xac)]['secretAccessKey']});}[_0x1bf904(0x9c)](_0x16161b){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x46dc69=_0x509e,_0x22ac31=_0x16161b[_0x46dc69(0x97)](path_1[_0x46dc69(0x8f)][_0x46dc69(0xad)])['join'](path_1[_0x46dc69(0x8f)][_0x46dc69(0xa3)][_0x46dc69(0xad)]),_0x4258d3=yield aws_s3_utils_1['AwsS3Utils'][_0x46dc69(0xab)](_0x22ac31,this['credentials'][_0x46dc69(0x8b)],this['s3']),_0xf6579f=utils_1['ArrayUtils'][_0x46dc69(0xa1)](_0x4258d3,this[_0x46dc69(0xa5)]);for(const _0x5d483c of _0xf6579f){const _0x49b2fa=_0x5d483c[_0x46dc69(0xa8)](_0x2b986b=>({'Key':_0x2b986b})),_0x21cdcf={'Bucket':this[_0x46dc69(0xac)][_0x46dc69(0x8b)],'Delete':{'Objects':_0x49b2fa}};yield this['s3'][_0x46dc69(0x94)](_0x21cdcf)[_0x46dc69(0x8e)]();}});}}exports['AwsS3Delete']=AwsS3Delete;
1
+ 'use strict';const _0x2374f6=_0x2ddd;(function(_0x1878ed,_0x8d0f3f){const _0x335939=_0x2ddd,_0x4198c9=_0x1878ed();while(!![]){try{const _0x4eb9dc=-parseInt(_0x335939(0x1ab))/0x1+-parseInt(_0x335939(0x18c))/0x2+-parseInt(_0x335939(0x1a6))/0x3+parseInt(_0x335939(0x18d))/0x4+-parseInt(_0x335939(0x19d))/0x5*(-parseInt(_0x335939(0x196))/0x6)+parseInt(_0x335939(0x1a7))/0x7*(parseInt(_0x335939(0x195))/0x8)+parseInt(_0x335939(0x1a8))/0x9*(parseInt(_0x335939(0x193))/0xa);if(_0x4eb9dc===_0x8d0f3f)break;else _0x4198c9['push'](_0x4198c9['shift']());}catch(_0x59c067){_0x4198c9['push'](_0x4198c9['shift']());}}}(_0x2923,0x9f211));function _0x2923(){const _0x276482=['ArrayUtils','AwsS3Utils','175090bEPxWj','map','52696VeCDNv','18zZCsjL','AwsS3Delete','BaseDelete','next','promise','default','execute','1570345vQXCBA','join','__awaiter','bucketName','OBJECTS_PER_CHUNK','then','__esModule','accessKeyId','splitOnChunks','2200752neRToA','679SamkHo','261TMIEal','sep','deleteObjects','1225990BrzYJM','value','credentials','848142YTXFJO','3786124YjiVMC','secretAccessKey','defineProperty','posix'];_0x2923=function(){return _0x276482;};return _0x2923();}var __awaiter=this&&this[_0x2374f6(0x19f)]||function(_0x5d271e,_0x5c26bb,_0x3de662,_0x2468ff){function _0x4fc13b(_0x41eda9){return _0x41eda9 instanceof _0x3de662?_0x41eda9:new _0x3de662(function(_0x1d798d){_0x1d798d(_0x41eda9);});}return new(_0x3de662||(_0x3de662=Promise))(function(_0x356ef4,_0x2d2ca8){function _0xe60404(_0x2cf984){const _0x41a582=_0x2ddd;try{_0x3b8a7c(_0x2468ff[_0x41a582(0x199)](_0x2cf984));}catch(_0x40b38c){_0x2d2ca8(_0x40b38c);}}function _0x32c0da(_0x55718c){try{_0x3b8a7c(_0x2468ff['throw'](_0x55718c));}catch(_0x282f60){_0x2d2ca8(_0x282f60);}}function _0x3b8a7c(_0xb2ecdb){const _0x511e0a=_0x2ddd;_0xb2ecdb['done']?_0x356ef4(_0xb2ecdb[_0x511e0a(0x18a)]):_0x4fc13b(_0xb2ecdb[_0x511e0a(0x18a)])[_0x511e0a(0x1a2)](_0xe60404,_0x32c0da);}_0x3b8a7c((_0x2468ff=_0x2468ff['apply'](_0x5d271e,_0x5c26bb||[]))['next']());});},__importDefault=this&&this['__importDefault']||function(_0x1605ae){const _0x531454=_0x2374f6;return _0x1605ae&&_0x1605ae[_0x531454(0x1a3)]?_0x1605ae:{'default':_0x1605ae};};Object[_0x2374f6(0x18f)](exports,_0x2374f6(0x1a3),{'value':!![]}),exports['AwsS3Delete']=void 0x0;const aws_sdk_1=__importDefault(require('aws-sdk')),path_1=__importDefault(require('path')),utils_1=require('@flosum-service/utils'),aws_s3_utils_1=require('../utils/aws-s3.utils'),_1=require('./');class AwsS3Delete extends _1[_0x2374f6(0x198)]{constructor(_0x1b65df){const _0x58b135=_0x2374f6;super(_0x1b65df),this[_0x58b135(0x18b)]=_0x1b65df,this[_0x58b135(0x1a1)]=0x3e8,this['s3']=new aws_sdk_1[(_0x58b135(0x19b))]['S3']({'accessKeyId':this[_0x58b135(0x18b)][_0x58b135(0x1a4)],'secretAccessKey':this[_0x58b135(0x18b)][_0x58b135(0x18e)]});}[_0x2374f6(0x19c)](_0x862192){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1cefb6=_0x2ddd,_0x1c2707=_0x862192['split'](path_1[_0x1cefb6(0x19b)][_0x1cefb6(0x1a9)])[_0x1cefb6(0x19e)](path_1[_0x1cefb6(0x19b)][_0x1cefb6(0x190)][_0x1cefb6(0x1a9)]),_0x4a356e=yield aws_s3_utils_1[_0x1cefb6(0x192)]['getFilesPaths'](_0x1c2707,this[_0x1cefb6(0x18b)][_0x1cefb6(0x1a0)],this['s3']),_0x197b85=utils_1[_0x1cefb6(0x191)][_0x1cefb6(0x1a5)](_0x4a356e,this[_0x1cefb6(0x1a1)]);for(const _0x30b9d6 of _0x197b85){const _0xfe09ac=_0x30b9d6[_0x1cefb6(0x194)](_0x582925=>({'Key':_0x582925})),_0x296d81={'Bucket':this['credentials'][_0x1cefb6(0x1a0)],'Delete':{'Objects':_0xfe09ac}};yield this['s3'][_0x1cefb6(0x1aa)](_0x296d81)[_0x1cefb6(0x19a)]();}});}}function _0x2ddd(_0x1a53dc,_0x159b5d){const _0x292387=_0x2923();return _0x2ddd=function(_0x2dddfc,_0x463455){_0x2dddfc=_0x2dddfc-0x18a;let _0x1aabc2=_0x292387[_0x2dddfc];return _0x1aabc2;},_0x2ddd(_0x1a53dc,_0x159b5d);}exports[_0x2374f6(0x197)]=AwsS3Delete;
@@ -1 +1 @@
1
- 'use strict';var _0x2f0321=_0x1880;(function(_0x38d146,_0x2d8ae5){var _0x1fd382=_0x1880,_0x3d1789=_0x38d146();while(!![]){try{var _0x3a90b4=parseInt(_0x1fd382(0x1aa))/0x1*(parseInt(_0x1fd382(0x1a4))/0x2)+parseInt(_0x1fd382(0x1b0))/0x3+-parseInt(_0x1fd382(0x1ac))/0x4+-parseInt(_0x1fd382(0x1a1))/0x5*(-parseInt(_0x1fd382(0x1af))/0x6)+-parseInt(_0x1fd382(0x1a3))/0x7*(parseInt(_0x1fd382(0x1ad))/0x8)+-parseInt(_0x1fd382(0x1a8))/0x9*(parseInt(_0x1fd382(0x1a5))/0xa)+parseInt(_0x1fd382(0x1a6))/0xb*(parseInt(_0x1fd382(0x1ab))/0xc);if(_0x3a90b4===_0x2d8ae5)break;else _0x3d1789['push'](_0x3d1789['shift']());}catch(_0x546f92){_0x3d1789['push'](_0x3d1789['shift']());}}}(_0x1ae6,0xafa9c));Object[_0x2f0321(0x1a7)](exports,_0x2f0321(0x1a9),{'value':!![]}),exports[_0x2f0321(0x1a2)]=void 0x0;class BaseDelete{constructor(_0x1b2e9c){var _0x16d079=_0x2f0321;this[_0x16d079(0x1ae)]=_0x1b2e9c;}}function _0x1880(_0x5f085e,_0xfde17){var _0x1ae69e=_0x1ae6();return _0x1880=function(_0x1880a9,_0x272fba){_0x1880a9=_0x1880a9-0x1a1;var _0x3c93a1=_0x1ae69e[_0x1880a9];return _0x3c93a1;},_0x1880(_0x5f085e,_0xfde17);}exports[_0x2f0321(0x1a2)]=BaseDelete;function _0x1ae6(){var _0x47494=['15uhHLVQ','BaseDelete','721cVvtjQ','1837178qvkuhi','13169260nuJwcT','11urPKyR','defineProperty','9VwYxRu','__esModule','1tTnhzj','12783636WoQxGB','3401856POcqIo','74712nKgPaO','credentials','979806DrGHXl','4125084SXByhc'];_0x1ae6=function(){return _0x47494;};return _0x1ae6();}
1
+ 'use strict';var _0x44d495=_0x13a2;(function(_0x348a23,_0xc123c4){var _0x115a3b=_0x13a2,_0x3beae4=_0x348a23();while(!![]){try{var _0x3ef80e=parseInt(_0x115a3b(0xdc))/0x1*(-parseInt(_0x115a3b(0xe5))/0x2)+parseInt(_0x115a3b(0xdd))/0x3+-parseInt(_0x115a3b(0xe0))/0x4*(parseInt(_0x115a3b(0xe6))/0x5)+-parseInt(_0x115a3b(0xe4))/0x6*(-parseInt(_0x115a3b(0xdf))/0x7)+parseInt(_0x115a3b(0xdb))/0x8+parseInt(_0x115a3b(0xe1))/0x9*(parseInt(_0x115a3b(0xe3))/0xa)+-parseInt(_0x115a3b(0xd9))/0xb*(-parseInt(_0x115a3b(0xe2))/0xc);if(_0x3ef80e===_0xc123c4)break;else _0x3beae4['push'](_0x3beae4['shift']());}catch(_0x680ab9){_0x3beae4['push'](_0x3beae4['shift']());}}}(_0x24ee,0xb070b));Object[_0x44d495(0xde)](exports,'__esModule',{'value':!![]}),exports[_0x44d495(0xda)]=void 0x0;class BaseDelete{constructor(_0x3c3e5b){this['credentials']=_0x3c3e5b;}}function _0x24ee(){var _0x1c0e59=['114aSkTNJ','5wESfQg','44924kETvoH','BaseDelete','3625112kiDTuK','23363aNVgff','895782bvMDDY','defineProperty','1984927TATDKH','4630436dXXufS','3354165YvvHfV','1968YrbKkD','10lAXQwE','30bjXiCl'];_0x24ee=function(){return _0x1c0e59;};return _0x24ee();}function _0x13a2(_0x5d7438,_0x13273b){var _0x24ee92=_0x24ee();return _0x13a2=function(_0x13a239,_0x46c9cb){_0x13a239=_0x13a239-0xd9;var _0x214f2f=_0x24ee92[_0x13a239];return _0x214f2f;},_0x13a2(_0x5d7438,_0x13273b);}exports['BaseDelete']=BaseDelete;
@@ -1 +1 @@
1
- 'use strict';var _0x3abfd7=_0x3d0d;function _0x3d0d(_0x337527,_0x1feb11){var _0x943bac=_0x943b();return _0x3d0d=function(_0x3d0dc8,_0x59f30b){_0x3d0dc8=_0x3d0dc8-0x74;var _0x56418a=_0x943bac[_0x3d0dc8];return _0x56418a;},_0x3d0d(_0x337527,_0x1feb11);}(function(_0x40defb,_0x4e3933){var _0x506244=_0x3d0d,_0x45874d=_0x40defb();while(!![]){try{var _0x46ed86=parseInt(_0x506244(0x81))/0x1*(-parseInt(_0x506244(0x84))/0x2)+-parseInt(_0x506244(0x82))/0x3+-parseInt(_0x506244(0x7f))/0x4*(-parseInt(_0x506244(0x74))/0x5)+-parseInt(_0x506244(0x87))/0x6*(parseInt(_0x506244(0x85))/0x7)+parseInt(_0x506244(0x7b))/0x8*(-parseInt(_0x506244(0x7d))/0x9)+parseInt(_0x506244(0x77))/0xa*(-parseInt(_0x506244(0x78))/0xb)+parseInt(_0x506244(0x86))/0xc*(parseInt(_0x506244(0x7e))/0xd);if(_0x46ed86===_0x4e3933)break;else _0x45874d['push'](_0x45874d['shift']());}catch(_0x42756e){_0x45874d['push'](_0x45874d['shift']());}}}(_0x943b,0x699ff));Object[_0x3abfd7(0x75)](exports,_0x3abfd7(0x80),{'value':!![]}),exports['LocalDelete']=exports[_0x3abfd7(0x76)]=exports[_0x3abfd7(0x79)]=void 0x0;function _0x943b(){var _0xec0a44=['AwsS3Delete','149150xAkqrO','22KTcBzT','BaseDelete','./aws-s3-delete','16azeHWP','LocalDelete','932157dnLHgL','26646178iExBLK','708924aUcFeS','__esModule','2629uxWSep','759666xuTqrZ','./base-delete','442boKPxH','259GpMxEs','12dMcuju','117258ZqnvhS','5MXcHgE','defineProperty'];_0x943b=function(){return _0xec0a44;};return _0x943b();}var base_delete_1=require(_0x3abfd7(0x83));Object[_0x3abfd7(0x75)](exports,'BaseDelete',{'enumerable':!![],'get':function(){var _0x4ee440=_0x3abfd7;return base_delete_1[_0x4ee440(0x79)];}});var aws_s3_delete_1=require(_0x3abfd7(0x7a));Object[_0x3abfd7(0x75)](exports,_0x3abfd7(0x76),{'enumerable':!![],'get':function(){var _0x55421e=_0x3abfd7;return aws_s3_delete_1[_0x55421e(0x76)];}});var local_delete_1=require('./local-delete');Object['defineProperty'](exports,'LocalDelete',{'enumerable':!![],'get':function(){var _0x5541d0=_0x3abfd7;return local_delete_1[_0x5541d0(0x7c)];}});
1
+ 'use strict';var _0x2afaa3=_0x4107;(function(_0x314f01,_0x4c3aeb){var _0x2b3d68=_0x4107,_0x1f9fdb=_0x314f01();while(!![]){try{var _0x15fddd=parseInt(_0x2b3d68(0x1f6))/0x1+-parseInt(_0x2b3d68(0x1e9))/0x2+parseInt(_0x2b3d68(0x1f4))/0x3*(parseInt(_0x2b3d68(0x1f0))/0x4)+-parseInt(_0x2b3d68(0x1ec))/0x5+-parseInt(_0x2b3d68(0x1e8))/0x6+parseInt(_0x2b3d68(0x1ef))/0x7*(-parseInt(_0x2b3d68(0x1f3))/0x8)+parseInt(_0x2b3d68(0x1f2))/0x9;if(_0x15fddd===_0x4c3aeb)break;else _0x1f9fdb['push'](_0x1f9fdb['shift']());}catch(_0x2a77d2){_0x1f9fdb['push'](_0x1f9fdb['shift']());}}}(_0x1568,0xdd444));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['LocalDelete']=exports['AwsS3Delete']=exports[_0x2afaa3(0x1f1)]=void 0x0;var base_delete_1=require(_0x2afaa3(0x1ed));Object[_0x2afaa3(0x1f5)](exports,_0x2afaa3(0x1f1),{'enumerable':!![],'get':function(){var _0x43a534=_0x2afaa3;return base_delete_1[_0x43a534(0x1f1)];}});var aws_s3_delete_1=require('./aws-s3-delete');function _0x4107(_0x57d54e,_0x30efa7){var _0x1568e1=_0x1568();return _0x4107=function(_0x4107fc,_0x50e043){_0x4107fc=_0x4107fc-0x1e8;var _0x1dc10b=_0x1568e1[_0x4107fc];return _0x1dc10b;},_0x4107(_0x57d54e,_0x30efa7);}Object[_0x2afaa3(0x1f5)](exports,_0x2afaa3(0x1eb),{'enumerable':!![],'get':function(){var _0x513f5f=_0x2afaa3;return aws_s3_delete_1[_0x513f5f(0x1eb)];}});var local_delete_1=require(_0x2afaa3(0x1ee));function _0x1568(){var _0x27a319=['4klUAmJ','BaseDelete','40403916XEectH','59864ZiCGBH','3869367QCeaEc','defineProperty','241180RzNssJ','9057834REQove','2048600vLlXCP','LocalDelete','AwsS3Delete','8896825FCJCUx','./base-delete','./local-delete','749mVpHTD'];_0x1568=function(){return _0x27a319;};return _0x1568();}Object['defineProperty'](exports,_0x2afaa3(0x1ea),{'enumerable':!![],'get':function(){var _0x3c4bc7=_0x2afaa3;return local_delete_1[_0x3c4bc7(0x1ea)];}});
@@ -1 +1 @@
1
- 'use strict';function _0x5d16(){const _0x43b795=['6uShxPd','6782363CJbpdd','1353626hwcxMg','__awaiter','throw','isExistsPath','next','__esModule','262866puhjZS','FsUtils','28845ICSjqH','then','6202480Cqljjn','28fRzdAz','done','BaseDelete','LocalDelete','245452aoaXMF','2512hkBtOg','value','execute','6331630ShwMCQ','fs/promises','apply','defineProperty'];_0x5d16=function(){return _0x43b795;};return _0x5d16();}const _0x453033=_0x4bbe;(function(_0x240482,_0x4e3330){const _0x1a45ba=_0x4bbe,_0x3f43ca=_0x240482();while(!![]){try{const _0x366df4=parseInt(_0x1a45ba(0xac))/0x1+-parseInt(_0x1a45ba(0xb7))/0x2*(parseInt(_0x1a45ba(0xb2))/0x3)+parseInt(_0x1a45ba(0xbb))/0x4+parseInt(_0x1a45ba(0xb6))/0x5+parseInt(_0x1a45ba(0xc3))/0x6*(parseInt(_0x1a45ba(0xc4))/0x7)+-parseInt(_0x1a45ba(0xbc))/0x8*(parseInt(_0x1a45ba(0xb4))/0x9)+-parseInt(_0x1a45ba(0xbf))/0xa;if(_0x366df4===_0x4e3330)break;else _0x3f43ca['push'](_0x3f43ca['shift']());}catch(_0x188404){_0x3f43ca['push'](_0x3f43ca['shift']());}}}(_0x5d16,0xb9189));function _0x4bbe(_0x41d740,_0x24aad8){const _0x5d164a=_0x5d16();return _0x4bbe=function(_0x4bbe63,_0x23757d){_0x4bbe63=_0x4bbe63-0xac;let _0x24ac95=_0x5d164a[_0x4bbe63];return _0x24ac95;},_0x4bbe(_0x41d740,_0x24aad8);}var __awaiter=this&&this[_0x453033(0xad)]||function(_0x10cf69,_0x337b1d,_0x47386f,_0x1d4f9f){function _0x239b96(_0x7d4803){return _0x7d4803 instanceof _0x47386f?_0x7d4803:new _0x47386f(function(_0x2b0347){_0x2b0347(_0x7d4803);});}return new(_0x47386f||(_0x47386f=Promise))(function(_0x471fe4,_0x149556){const _0x236a5c=_0x4bbe;function _0x469213(_0x217abb){try{_0x5d2e15(_0x1d4f9f['next'](_0x217abb));}catch(_0x6fbb6c){_0x149556(_0x6fbb6c);}}function _0x2b4f27(_0x73976c){const _0x55bec1=_0x4bbe;try{_0x5d2e15(_0x1d4f9f[_0x55bec1(0xae)](_0x73976c));}catch(_0x466859){_0x149556(_0x466859);}}function _0x5d2e15(_0x1fef4){const _0x1d2207=_0x4bbe;_0x1fef4[_0x1d2207(0xb8)]?_0x471fe4(_0x1fef4[_0x1d2207(0xbd)]):_0x239b96(_0x1fef4[_0x1d2207(0xbd)])[_0x1d2207(0xb5)](_0x469213,_0x2b4f27);}_0x5d2e15((_0x1d4f9f=_0x1d4f9f[_0x236a5c(0xc1)](_0x10cf69,_0x337b1d||[]))[_0x236a5c(0xb0)]());});};Object[_0x453033(0xc2)](exports,_0x453033(0xb1),{'value':!![]}),exports[_0x453033(0xba)]=void 0x0;const promises_1=require(_0x453033(0xc0)),utils_1=require('@flosum-service/utils'),_1=require('./');class LocalDelete extends _1[_0x453033(0xb9)]{[_0x453033(0xbe)](_0x46f29e){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x63028c=_0x4bbe;if(yield utils_1[_0x63028c(0xb3)][_0x63028c(0xaf)](_0x46f29e))yield(0x0,promises_1['rm'])(_0x46f29e,{'recursive':!![]});});}}exports[_0x453033(0xba)]=LocalDelete;
1
+ 'use strict';const _0x4c2e4c=_0x4dad;(function(_0x2eb69a,_0x5ec2ef){const _0x4e75cc=_0x4dad,_0x2baad7=_0x2eb69a();while(!![]){try{const _0x215ca2=-parseInt(_0x4e75cc(0xb4))/0x1+-parseInt(_0x4e75cc(0xad))/0x2+parseInt(_0x4e75cc(0xb3))/0x3+parseInt(_0x4e75cc(0xa4))/0x4+-parseInt(_0x4e75cc(0xa8))/0x5+parseInt(_0x4e75cc(0xa6))/0x6+parseInt(_0x4e75cc(0xaa))/0x7*(parseInt(_0x4e75cc(0xa5))/0x8);if(_0x215ca2===_0x5ec2ef)break;else _0x2baad7['push'](_0x2baad7['shift']());}catch(_0x54346f){_0x2baad7['push'](_0x2baad7['shift']());}}}(_0x328a,0x7471c));var __awaiter=this&&this[_0x4c2e4c(0xb7)]||function(_0x4e28f2,_0x167565,_0x5368df,_0x23fb41){function _0x2b399b(_0x52c0cd){return _0x52c0cd instanceof _0x5368df?_0x52c0cd:new _0x5368df(function(_0x22e965){_0x22e965(_0x52c0cd);});}return new(_0x5368df||(_0x5368df=Promise))(function(_0x29a263,_0x33abb8){const _0x48e74c=_0x4dad;function _0x11109c(_0x1097d1){const _0x1cdb74=_0x4dad;try{_0x4fe491(_0x23fb41[_0x1cdb74(0xac)](_0x1097d1));}catch(_0x243f2c){_0x33abb8(_0x243f2c);}}function _0xc98cba(_0x4a03d5){try{_0x4fe491(_0x23fb41['throw'](_0x4a03d5));}catch(_0x15c86b){_0x33abb8(_0x15c86b);}}function _0x4fe491(_0x277b90){const _0xeff1be=_0x4dad;_0x277b90[_0xeff1be(0xb8)]?_0x29a263(_0x277b90['value']):_0x2b399b(_0x277b90['value'])[_0xeff1be(0xb0)](_0x11109c,_0xc98cba);}_0x4fe491((_0x23fb41=_0x23fb41[_0x48e74c(0xaf)](_0x4e28f2,_0x167565||[]))['next']());});};function _0x4dad(_0x14a1a4,_0x46828b){const _0x328a88=_0x328a();return _0x4dad=function(_0x4dade7,_0x1f166c){_0x4dade7=_0x4dade7-0xa4;let _0x344ad0=_0x328a88[_0x4dade7];return _0x344ad0;},_0x4dad(_0x14a1a4,_0x46828b);}Object['defineProperty'](exports,_0x4c2e4c(0xa9),{'value':!![]}),exports[_0x4c2e4c(0xae)]=void 0x0;const promises_1=require(_0x4c2e4c(0xb2)),utils_1=require(_0x4c2e4c(0xa7)),_1=require('./');class LocalDelete extends _1[_0x4c2e4c(0xb5)]{[_0x4c2e4c(0xab)](_0x2ee247){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x44979d=_0x4dad;if(yield utils_1[_0x44979d(0xb6)][_0x44979d(0xb1)](_0x2ee247))yield(0x0,promises_1['rm'])(_0x2ee247,{'recursive':!![]});});}}function _0x328a(){const _0x2d3e46=['LocalDelete','apply','then','isExistsPath','fs/promises','812997LSMfKL','231107JQylfX','BaseDelete','FsUtils','__awaiter','done','1816192nraska','1190224pHSZMZ','2766498eOqAOO','@flosum-service/utils','643490oPSrge','__esModule','7nsZRWP','execute','next','996294SrbsmO'];_0x328a=function(){return _0x2d3e46;};return _0x328a();}exports[_0x4c2e4c(0xae)]=LocalDelete;
@@ -1 +1 @@
1
- 'use strict';const _0x4c2a4b=_0x41a7;(function(_0x80bab5,_0x553f6d){const _0x3fb404=_0x41a7,_0x5c0527=_0x80bab5();while(!![]){try{const _0x544fec=parseInt(_0x3fb404(0xb8))/0x1+parseInt(_0x3fb404(0xc2))/0x2+parseInt(_0x3fb404(0xb1))/0x3+parseInt(_0x3fb404(0xbc))/0x4+parseInt(_0x3fb404(0xc1))/0x5+parseInt(_0x3fb404(0xc4))/0x6*(parseInt(_0x3fb404(0xa7))/0x7)+-parseInt(_0x3fb404(0xc0))/0x8;if(_0x544fec===_0x553f6d)break;else _0x5c0527['push'](_0x5c0527['shift']());}catch(_0x4f429c){_0x5c0527['push'](_0x5c0527['shift']());}}}(_0x417e,0x6b559));function _0x41a7(_0x2f6639,_0x1a8b08){const _0x417e9f=_0x417e();return _0x41a7=function(_0x41a7bc,_0x2c161a){_0x41a7bc=_0x41a7bc-0x98;let _0x2ae651=_0x417e9f[_0x41a7bc];return _0x2ae651;},_0x41a7(_0x2f6639,_0x1a8b08);}var __awaiter=this&&this[_0x4c2a4b(0xba)]||function(_0x56b589,_0x2c0308,_0x6c142b,_0x249da8){function _0x376259(_0x48ae7f){return _0x48ae7f instanceof _0x6c142b?_0x48ae7f:new _0x6c142b(function(_0x587c46){_0x587c46(_0x48ae7f);});}return new(_0x6c142b||(_0x6c142b=Promise))(function(_0x97f86d,_0x341b1e){const _0x39103d=_0x41a7;function _0xab339e(_0x2616d8){try{_0x3b2682(_0x249da8['next'](_0x2616d8));}catch(_0x5f3f3a){_0x341b1e(_0x5f3f3a);}}function _0x2925a3(_0xcbd8f){try{_0x3b2682(_0x249da8['throw'](_0xcbd8f));}catch(_0x142feb){_0x341b1e(_0x142feb);}}function _0x3b2682(_0x2c17df){const _0x5d627b=_0x41a7;_0x2c17df[_0x5d627b(0xa2)]?_0x97f86d(_0x2c17df[_0x5d627b(0xad)]):_0x376259(_0x2c17df[_0x5d627b(0xad)])[_0x5d627b(0xb2)](_0xab339e,_0x2925a3);}_0x3b2682((_0x249da8=_0x249da8[_0x39103d(0xbb)](_0x56b589,_0x2c0308||[]))[_0x39103d(0x9f)]());});},__importDefault=this&&this['__importDefault']||function(_0xd6b2e8){const _0x553def=_0x4c2a4b;return _0xd6b2e8&&_0xd6b2e8[_0x553def(0xa1)]?_0xd6b2e8:{'default':_0xd6b2e8};};Object[_0x4c2a4b(0x9a)](exports,_0x4c2a4b(0xa1),{'value':!![]}),exports[_0x4c2a4b(0xbd)]=void 0x0;const aws_sdk_1=__importDefault(require(_0x4c2a4b(0xb5))),path_1=__importDefault(require('path')),crypto_1=require(_0x4c2a4b(0xc3)),fs_1=require('fs'),promises_1=require(_0x4c2a4b(0xa6)),promises_2=require(_0x4c2a4b(0xb0)),_1=require('./');class AwsS3Deploy extends _1['BaseDeploy']{constructor(_0x42b8bb,_0xf02535,_0x309c7a){const _0x1287f6=_0x4c2a4b;super(_0x42b8bb,_0xf02535),this[_0x1287f6(0x9b)]=_0x42b8bb,this[_0x1287f6(0xc5)]=_0xf02535,this[_0x1287f6(0xb7)]=_0x309c7a,this[_0x1287f6(0xb3)]=0xa,this[_0x1287f6(0xa9)]=0x2,this['QUEUE_CHECK_TIMEOUT']=0x5*0x3e8,this['_queueSize']=0x0,this['s3']=new aws_sdk_1[(_0x1287f6(0xaf))]['S3']({'accessKeyId':this[_0x1287f6(0x9b)]['accessKeyId'],'secretAccessKey':this[_0x1287f6(0x9b)][_0x1287f6(0xb4)],'maxRetries':0xa});}['writeToTemp'](_0x1431d9){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x520eb5=_0x41a7;console['time'](_0x520eb5(0x98));const _0x351d6c=path_1[_0x520eb5(0xaf)][_0x520eb5(0xc6)](this['tempDir'],(0x0,crypto_1[_0x520eb5(0xa0)])());return yield(0x0,promises_1['writeFile'])(_0x351d6c,_0x1431d9),console[_0x520eb5(0xbf)](_0x520eb5(0x98)),{'path':_0x351d6c};});}[_0x4c2a4b(0xbe)](_0x3bbd02,_0x2df823,_0x4eb52b=0x0,_0x34d272=null){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5c6604=_0x41a7;if(_0x4eb52b>this[_0x5c6604(0xb3)])throw _0x34d272;console[_0x5c6604(0xae)](_0x5c6604(0xb6)+_0x4eb52b);const _0x506416=(0x0,fs_1[_0x5c6604(0xa8)])(_0x3bbd02);try{yield this[_0x5c6604(0x9e)](_0x506416,_0x2df823);}catch(_0x24189a){return this[_0x5c6604(0xbe)](_0x3bbd02,_0x2df823,_0x4eb52b+0x1,_0x24189a);}console[_0x5c6604(0xbf)]('====================>\x20uploaded\x20to\x20aws,\x20try\x20'+_0x4eb52b);});}[_0x4c2a4b(0x9e)](_0x2ad4c6,_0x5bbb59){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4ab419=_0x41a7,_0xf3efb4={'Bucket':this[_0x4ab419(0x9b)][_0x4ab419(0xa3)],'Key':_0x5bbb59,'Body':_0x2ad4c6,'StorageClass':this['storageClass']};yield this['s3'][_0x4ab419(0x9e)](_0xf3efb4)['promise']();});}[_0x4c2a4b(0x9c)](_0x1285df,_0x19f9b4){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x476bb4=_0x41a7,{path:_0x1834e1}=yield this[_0x476bb4(0xaa)](_0x1285df);try{yield this[_0x476bb4(0xbe)](_0x1834e1,_0x19f9b4);}catch(_0x4f59bd){throw _0x4f59bd;}finally{yield(0x0,promises_1['rm'])(_0x1834e1)[_0x476bb4(0xb9)](()=>undefined);}});}[_0x4c2a4b(0xac)](_0x34e91a,_0x593795){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x33802c=_0x41a7;if(this[_0x33802c(0xa5)]===this[_0x33802c(0xa9)])return yield(0x0,promises_2[_0x33802c(0x9d)])(this['QUEUE_CHECK_TIMEOUT']),this[_0x33802c(0xac)](_0x34e91a,_0x593795);try{this[_0x33802c(0xa5)]+=0x1;const _0x14f6c3=_0x593795['split'](path_1['default'][_0x33802c(0x99)])[_0x33802c(0xc6)](path_1[_0x33802c(0xaf)][_0x33802c(0xab)]['sep']);if(Buffer[_0x33802c(0xa4)](_0x34e91a)){yield this['upload'](_0x34e91a,_0x14f6c3);return;}yield this[_0x33802c(0x9c)](_0x34e91a,_0x14f6c3);}catch(_0x26fe4f){throw _0x26fe4f;}finally{this[_0x33802c(0xa5)]-=0x1;}});}}function _0x417e(){const _0x587c3d=['16407200WIAVKT','3903035GSjqtR','937016oHJvEb','crypto','6456VQfLTO','tempDir','join','written\x20to\x20tmp','sep','defineProperty','credentials','handleStreamUpload','setTimeout','upload','next','randomUUID','__esModule','done','bucketName','isBuffer','_queueSize','fs/promises','5453wTIxaW','createReadStream','QUEUE_MAX_SIZE','writeToTemp','posix','execute','value','time','default','timers/promises','925326IqaTVY','then','MAX_RETRIES','secretAccessKey','aws-sdk','====================>\x20uploaded\x20to\x20aws,\x20try\x20','storageClass','78886JiNTXC','catch','__awaiter','apply','63576wrcvcr','AwsS3Deploy','uploadFileStreamFromPath','timeEnd'];_0x417e=function(){return _0x587c3d;};return _0x417e();}exports[_0x4c2a4b(0xbd)]=AwsS3Deploy;
1
+ 'use strict';function _0x5e5b(_0x2d8e06,_0x45f02d){const _0x46ac78=_0x46ac();return _0x5e5b=function(_0x5e5bc3,_0x17e0bd){_0x5e5bc3=_0x5e5bc3-0x1ef;let _0x28db35=_0x46ac78[_0x5e5bc3];return _0x28db35;},_0x5e5b(_0x2d8e06,_0x45f02d);}const _0x1109dc=_0x5e5b;(function(_0x255888,_0x4a1d0c){const _0x1fc5e6=_0x5e5b,_0x41dd16=_0x255888();while(!![]){try{const _0x4accfb=parseInt(_0x1fc5e6(0x1fd))/0x1*(-parseInt(_0x1fc5e6(0x212))/0x2)+parseInt(_0x1fc5e6(0x20a))/0x3*(parseInt(_0x1fc5e6(0x1fb))/0x4)+-parseInt(_0x1fc5e6(0x1fc))/0x5+parseInt(_0x1fc5e6(0x1f7))/0x6*(-parseInt(_0x1fc5e6(0x220))/0x7)+-parseInt(_0x1fc5e6(0x21f))/0x8+-parseInt(_0x1fc5e6(0x222))/0x9*(parseInt(_0x1fc5e6(0x22a))/0xa)+parseInt(_0x1fc5e6(0x204))/0xb;if(_0x4accfb===_0x4a1d0c)break;else _0x41dd16['push'](_0x41dd16['shift']());}catch(_0x30becc){_0x41dd16['push'](_0x41dd16['shift']());}}}(_0x46ac,0x29cd6));var __awaiter=this&&this[_0x1109dc(0x224)]||function(_0x38ac86,_0x40af71,_0x237566,_0x5b2056){function _0x25d27c(_0xb69ef1){return _0xb69ef1 instanceof _0x237566?_0xb69ef1:new _0x237566(function(_0x1bd1f0){_0x1bd1f0(_0xb69ef1);});}return new(_0x237566||(_0x237566=Promise))(function(_0x2ce0fe,_0x275546){const _0x1d021b=_0x5e5b;function _0x4940f3(_0x3ae77f){try{_0x14f018(_0x5b2056['next'](_0x3ae77f));}catch(_0x1f9d55){_0x275546(_0x1f9d55);}}function _0x48b588(_0x1ff2cc){const _0xa0e1a1=_0x5e5b;try{_0x14f018(_0x5b2056[_0xa0e1a1(0x221)](_0x1ff2cc));}catch(_0x6268ac){_0x275546(_0x6268ac);}}function _0x14f018(_0x2d7079){const _0xba1b63=_0x5e5b;_0x2d7079[_0xba1b63(0x20c)]?_0x2ce0fe(_0x2d7079[_0xba1b63(0x21b)]):_0x25d27c(_0x2d7079[_0xba1b63(0x21b)])['then'](_0x4940f3,_0x48b588);}_0x14f018((_0x5b2056=_0x5b2056[_0x1d021b(0x202)](_0x38ac86,_0x40af71||[]))[_0x1d021b(0x219)]());});},__importDefault=this&&this[_0x1109dc(0x21c)]||function(_0x6005bf){const _0x2dfc76=_0x1109dc;return _0x6005bf&&_0x6005bf[_0x2dfc76(0x21d)]?_0x6005bf:{'default':_0x6005bf};};Object[_0x1109dc(0x207)](exports,'__esModule',{'value':!![]}),exports[_0x1109dc(0x1fa)]=void 0x0;const aws_sdk_1=__importDefault(require(_0x1109dc(0x1ef))),path_1=__importDefault(require(_0x1109dc(0x1f9))),crypto_1=require('crypto'),fs_1=require('fs'),promises_1=require('fs/promises'),promises_2=require(_0x1109dc(0x214)),_1=require('./'),https_1=__importDefault(require(_0x1109dc(0x205)));class AwsS3Deploy extends _1[_0x1109dc(0x210)]{constructor(_0x56e5e6,_0x2358a6,_0x999a46){const _0x58edd8=_0x1109dc;super(_0x56e5e6,_0x2358a6),this[_0x58edd8(0x225)]=_0x56e5e6,this[_0x58edd8(0x201)]=_0x2358a6,this['storageClass']=_0x999a46,this[_0x58edd8(0x213)]=0xa,this[_0x58edd8(0x215)]=+process[_0x58edd8(0x1fe)][_0x58edd8(0x1f1)]||0x2,this['QUEUE_CHECK_TIMEOUT']=0x5*0x3e8,this[_0x58edd8(0x203)]=0x0,this['s3']=new aws_sdk_1[(_0x58edd8(0x1f6))]['S3']({'accessKeyId':this['credentials'][_0x58edd8(0x1ff)],'secretAccessKey':this[_0x58edd8(0x225)][_0x58edd8(0x1f2)],'maxRetries':0xa,'httpOptions':{'agent':new https_1[(_0x58edd8(0x1f6))][(_0x58edd8(0x20d))]({'keepAlive':!![]})}}),console[_0x58edd8(0x206)]('this.s3:',this['s3']['config']['httpOptions'][_0x58edd8(0x1f0)]);}[_0x1109dc(0x209)](_0x3d80fb){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x374a20=_0x5e5b,_0x5a677b=path_1['default'][_0x374a20(0x21a)](this[_0x374a20(0x201)],(0x0,crypto_1[_0x374a20(0x218)])());return console[_0x374a20(0x20f)](_0x374a20(0x1f5)+_0x5a677b),yield(0x0,promises_1[_0x374a20(0x227)])(_0x5a677b,_0x3d80fb),console[_0x374a20(0x216)](_0x374a20(0x1f5)+_0x5a677b),{'path':_0x5a677b};});}['uploadFileStreamFromPath'](_0x32e3e8,_0x3c06b8,_0x2d9398=0x0,_0x50fa58=null){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5f4d4d=_0x5e5b;if(_0x2d9398>this[_0x5f4d4d(0x213)])throw _0x50fa58;console[_0x5f4d4d(0x20f)](_0x5f4d4d(0x217)+_0x3c06b8+_0x5f4d4d(0x1f8)+_0x2d9398);const _0x3c6791=(0x0,fs_1['createReadStream'])(_0x32e3e8);try{yield this[_0x5f4d4d(0x21e)](_0x3c6791,_0x3c06b8);}catch(_0x1fd5fd){return this[_0x5f4d4d(0x229)](_0x32e3e8,_0x3c06b8,_0x2d9398+0x1,_0x1fd5fd);}console['timeEnd'](_0x5f4d4d(0x217)+_0x3c06b8+',\x20try\x20'+_0x2d9398);});}[_0x1109dc(0x21e)](_0x1fc743,_0x4eec02){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x390dae=_0x5e5b,_0x3cad12={'Bucket':this['credentials'][_0x390dae(0x226)],'Key':_0x4eec02,'Body':_0x1fc743,'StorageClass':this['storageClass']};yield this['s3']['upload'](_0x3cad12)[_0x390dae(0x211)]();});}[_0x1109dc(0x1f3)](_0x32a08,_0x3a5712){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x74ef2f=_0x5e5b,{path:_0x225daf}=yield this[_0x74ef2f(0x209)](_0x32a08);try{yield this['uploadFileStreamFromPath'](_0x225daf,_0x3a5712);}catch(_0x3e28b0){throw _0x3e28b0;}finally{yield(0x0,promises_1['rm'])(_0x225daf)[_0x74ef2f(0x200)](()=>undefined);}});}[_0x1109dc(0x208)](_0x520a28,_0x39a523){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x25b016=_0x5e5b;if(this['_queueSize']===this[_0x25b016(0x215)])return yield(0x0,promises_2[_0x25b016(0x1f4)])(this[_0x25b016(0x20b)]),this['execute'](_0x520a28,_0x39a523);try{this[_0x25b016(0x203)]+=0x1;const _0x2a6bf=_0x39a523[_0x25b016(0x228)](path_1[_0x25b016(0x1f6)][_0x25b016(0x223)])['join'](path_1[_0x25b016(0x1f6)]['posix'][_0x25b016(0x223)]);if(Buffer[_0x25b016(0x20e)](_0x520a28)){yield this[_0x25b016(0x21e)](_0x520a28,_0x2a6bf);return;}yield this[_0x25b016(0x1f3)](_0x520a28,_0x2a6bf);}catch(_0x4d9c89){throw _0x4d9c89;}finally{this[_0x25b016(0x203)]-=0x1;}});}}function _0x46ac(){const _0x42843f=['next','join','value','__importDefault','__esModule','upload','1652792PhFHXC','427nXWDQT','throw','13401AeNumn','sep','__awaiter','credentials','bucketName','writeFile','split','uploadFileStreamFromPath','1990LeOBba','aws-sdk','agent','POOL_SIZE','secretAccessKey','handleStreamUpload','setTimeout','written\x20to\x20tmp\x20at\x20','default','16194RPJzSC',',\x20try\x20','path','AwsS3Deploy','80wmKLGL','135200QcAZJM','217LTDVAs','env','accessKeyId','catch','tempDir','apply','_queueSize','9681727rfACnR','https','log','defineProperty','execute','writeToTemp','38796FSvIGM','QUEUE_CHECK_TIMEOUT','done','Agent','isBuffer','time','BaseDeploy','promise','2516BkogIh','MAX_RETRIES','timers/promises','QUEUE_MAX_SIZE','timeEnd','uploaded\x20to\x20aws\x20at\x20','randomUUID'];_0x46ac=function(){return _0x42843f;};return _0x46ac();}exports[_0x1109dc(0x1fa)]=AwsS3Deploy;
@@ -1 +1 @@
1
- 'use strict';var _0x5efb73=_0x4139;(function(_0x2c2177,_0x33120e){var _0x3a1245=_0x4139,_0x26313f=_0x2c2177();while(!![]){try{var _0x14ae79=parseInt(_0x3a1245(0x1dd))/0x1*(parseInt(_0x3a1245(0x1d0))/0x2)+-parseInt(_0x3a1245(0x1e0))/0x3+parseInt(_0x3a1245(0x1d2))/0x4*(parseInt(_0x3a1245(0x1da))/0x5)+-parseInt(_0x3a1245(0x1d5))/0x6*(-parseInt(_0x3a1245(0x1d3))/0x7)+-parseInt(_0x3a1245(0x1de))/0x8*(parseInt(_0x3a1245(0x1d8))/0x9)+-parseInt(_0x3a1245(0x1d4))/0xa+-parseInt(_0x3a1245(0x1d7))/0xb*(-parseInt(_0x3a1245(0x1d1))/0xc);if(_0x14ae79===_0x33120e)break;else _0x26313f['push'](_0x26313f['shift']());}catch(_0x52470a){_0x26313f['push'](_0x26313f['shift']());}}}(_0x1a4f,0xce3a0));function _0x4139(_0x332a84,_0xf2d4d8){var _0x1a4f1b=_0x1a4f();return _0x4139=function(_0x4139b2,_0x96d2b9){_0x4139b2=_0x4139b2-0x1d0;var _0x347823=_0x1a4f1b[_0x4139b2];return _0x347823;},_0x4139(_0x332a84,_0xf2d4d8);}Object[_0x5efb73(0x1df)](exports,_0x5efb73(0x1dc),{'value':!![]}),exports[_0x5efb73(0x1d6)]=void 0x0;class BaseDeploy{constructor(_0xcc6ffe,_0x52c144){var _0x548ec3=_0x5efb73;this[_0x548ec3(0x1d9)]=_0xcc6ffe,this[_0x548ec3(0x1db)]=_0x52c144;}}function _0x1a4f(){var _0x3cb3bf=['5604316vPUgFb','7tRmPmB','6506090iXWUgv','5778684avGMXU','BaseDeploy','18084zpYluf','9EkwkNb','credentials','5vhOAeM','tempDir','__esModule','542285BWMGIv','13360456XCWWCg','defineProperty','4967694aQgjYj','6auXopc','6060ADhpVC'];_0x1a4f=function(){return _0x3cb3bf;};return _0x1a4f();}exports[_0x5efb73(0x1d6)]=BaseDeploy;
1
+ 'use strict';function _0x2871(_0x8a4067,_0x508a82){var _0x19cc41=_0x19cc();return _0x2871=function(_0x287181,_0x22f365){_0x287181=_0x287181-0x18f;var _0x4b4f2b=_0x19cc41[_0x287181];return _0x4b4f2b;},_0x2871(_0x8a4067,_0x508a82);}var _0x9653a8=_0x2871;(function(_0x5c9881,_0x5d5813){var _0x37de9c=_0x2871,_0x3da1a0=_0x5c9881();while(!![]){try{var _0x15250c=-parseInt(_0x37de9c(0x198))/0x1*(parseInt(_0x37de9c(0x191))/0x2)+parseInt(_0x37de9c(0x194))/0x3+parseInt(_0x37de9c(0x19b))/0x4*(-parseInt(_0x37de9c(0x192))/0x5)+-parseInt(_0x37de9c(0x18f))/0x6+-parseInt(_0x37de9c(0x19a))/0x7*(parseInt(_0x37de9c(0x19c))/0x8)+parseInt(_0x37de9c(0x196))/0x9+parseInt(_0x37de9c(0x199))/0xa;if(_0x15250c===_0x5d5813)break;else _0x3da1a0['push'](_0x3da1a0['shift']());}catch(_0x27522a){_0x3da1a0['push'](_0x3da1a0['shift']());}}}(_0x19cc,0xbb54a));Object[_0x9653a8(0x197)](exports,_0x9653a8(0x195),{'value':!![]}),exports[_0x9653a8(0x193)]=void 0x0;function _0x19cc(){var _0x4dc5e8=['__esModule','11515329QalBAg','defineProperty','1288943BJpJRE','35571540AVJtwZ','49OzvZsO','2372LJLItN','1190632rKEhjw','8304996RJDSMt','tempDir','2TZSHhL','7515AWQoOu','BaseDeploy','1610586NocRoT'];_0x19cc=function(){return _0x4dc5e8;};return _0x19cc();}class BaseDeploy{constructor(_0x4f53c7,_0x529cab){var _0x4af8d3=_0x9653a8;this['credentials']=_0x4f53c7,this[_0x4af8d3(0x190)]=_0x529cab;}}exports[_0x9653a8(0x193)]=BaseDeploy;
@@ -1 +1 @@
1
- 'use strict';var _0x5b93ea=_0x1f3a;(function(_0x131850,_0x509c92){var _0x12bdf4=_0x1f3a,_0x5f4054=_0x131850();while(!![]){try{var _0x2f46bb=-parseInt(_0x12bdf4(0x146))/0x1*(parseInt(_0x12bdf4(0x147))/0x2)+-parseInt(_0x12bdf4(0x152))/0x3*(parseInt(_0x12bdf4(0x14f))/0x4)+-parseInt(_0x12bdf4(0x14c))/0x5*(parseInt(_0x12bdf4(0x145))/0x6)+parseInt(_0x12bdf4(0x148))/0x7+parseInt(_0x12bdf4(0x154))/0x8+parseInt(_0x12bdf4(0x156))/0x9+-parseInt(_0x12bdf4(0x153))/0xa*(-parseInt(_0x12bdf4(0x149))/0xb);if(_0x2f46bb===_0x509c92)break;else _0x5f4054['push'](_0x5f4054['shift']());}catch(_0x59720d){_0x5f4054['push'](_0x5f4054['shift']());}}}(_0x5763,0x98c17));Object[_0x5b93ea(0x155)](exports,_0x5b93ea(0x150),{'value':!![]}),exports[_0x5b93ea(0x14e)]=exports[_0x5b93ea(0x14d)]=exports[_0x5b93ea(0x14a)]=void 0x0;var base_deploy_1=require(_0x5b93ea(0x151));Object['defineProperty'](exports,_0x5b93ea(0x14a),{'enumerable':!![],'get':function(){var _0x41e98f=_0x5b93ea;return base_deploy_1[_0x41e98f(0x14a)];}});function _0x1f3a(_0x50c27f,_0x5d98b7){var _0x576361=_0x5763();return _0x1f3a=function(_0x1f3af7,_0x5cb6aa){_0x1f3af7=_0x1f3af7-0x145;var _0x1444b8=_0x576361[_0x1f3af7];return _0x1444b8;},_0x1f3a(_0x50c27f,_0x5d98b7);}var aws_s3_deploy_1=require(_0x5b93ea(0x157));function _0x5763(){var _0x11013d=['LocalDeploy','2616784HHUFsm','__esModule','./base-deploy','3hzEbwX','1520Jtvutt','3998152IBQoBY','defineProperty','4910598SczrjR','./aws-s3-deploy','1516362WkyMnA','30829SoerMJ','30ehhiUq','6203204mtUcpU','41173ABsOuZ','BaseDeploy','./local-deploy','15JuhBzR','AwsS3Deploy'];_0x5763=function(){return _0x11013d;};return _0x5763();}Object[_0x5b93ea(0x155)](exports,'AwsS3Deploy',{'enumerable':!![],'get':function(){var _0x4cd404=_0x5b93ea;return aws_s3_deploy_1[_0x4cd404(0x14d)];}});var local_deploy_1=require(_0x5b93ea(0x14b));Object['defineProperty'](exports,_0x5b93ea(0x14e),{'enumerable':!![],'get':function(){return local_deploy_1['LocalDeploy'];}});
1
+ 'use strict';function _0x2aab(){var _0x3aa112=['426KiKLjs','AwsS3Deploy','7804450cZfulh','BaseDeploy','4816608mpHcYt','LocalDeploy','9BbsQer','defineProperty','4485944FLPlMM','5686457rNfIzs','16ungxtG','54341PdoXOu','3382220OHMPyR','./aws-s3-deploy','__esModule','6586EtQrja','./local-deploy','./base-deploy'];_0x2aab=function(){return _0x3aa112;};return _0x2aab();}var _0x405cf4=_0xc53d;(function(_0x48257c,_0x46e534){var _0xaa3939=_0xc53d,_0x2a8a6f=_0x48257c();while(!![]){try{var _0x289510=-parseInt(_0xaa3939(0x1a4))/0x1+parseInt(_0xaa3939(0x1a8))/0x2*(-parseInt(_0xaa3939(0x199))/0x3)+-parseInt(_0xaa3939(0x1a1))/0x4+-parseInt(_0xaa3939(0x1a5))/0x5+parseInt(_0xaa3939(0x19d))/0x6+-parseInt(_0xaa3939(0x1a2))/0x7*(-parseInt(_0xaa3939(0x1a3))/0x8)+parseInt(_0xaa3939(0x19f))/0x9*(parseInt(_0xaa3939(0x19b))/0xa);if(_0x289510===_0x46e534)break;else _0x2a8a6f['push'](_0x2a8a6f['shift']());}catch(_0x4702cb){_0x2a8a6f['push'](_0x2a8a6f['shift']());}}}(_0x2aab,0xd8ce6));Object[_0x405cf4(0x1a0)](exports,_0x405cf4(0x1a7),{'value':!![]}),exports['LocalDeploy']=exports[_0x405cf4(0x19a)]=exports[_0x405cf4(0x19c)]=void 0x0;function _0xc53d(_0x304de2,_0x3dee58){var _0x2aabf0=_0x2aab();return _0xc53d=function(_0xc53d25,_0x1771f1){_0xc53d25=_0xc53d25-0x197;var _0x19ded6=_0x2aabf0[_0xc53d25];return _0x19ded6;},_0xc53d(_0x304de2,_0x3dee58);}var base_deploy_1=require(_0x405cf4(0x198));Object[_0x405cf4(0x1a0)](exports,_0x405cf4(0x19c),{'enumerable':!![],'get':function(){return base_deploy_1['BaseDeploy'];}});var aws_s3_deploy_1=require(_0x405cf4(0x1a6));Object[_0x405cf4(0x1a0)](exports,_0x405cf4(0x19a),{'enumerable':!![],'get':function(){return aws_s3_deploy_1['AwsS3Deploy'];}});var local_deploy_1=require(_0x405cf4(0x197));Object[_0x405cf4(0x1a0)](exports,_0x405cf4(0x19e),{'enumerable':!![],'get':function(){var _0x3fd6e8=_0x405cf4;return local_deploy_1[_0x3fd6e8(0x19e)];}});
@@ -1 +1 @@
1
- 'use strict';function _0x2d71(_0x36ee4c,_0x2aaba2){const _0x2b5758=_0x2b57();return _0x2d71=function(_0x2d7147,_0x1807f9){_0x2d7147=_0x2d7147-0x100;let _0xfb3697=_0x2b5758[_0x2d7147];return _0xfb3697;},_0x2d71(_0x36ee4c,_0x2aaba2);}const _0x4ffbe7=_0x2d71;(function(_0x3cfba3,_0x3d9b0f){const _0x51afe4=_0x2d71,_0x4aa0ab=_0x3cfba3();while(!![]){try{const _0xca3098=-parseInt(_0x51afe4(0x105))/0x1+-parseInt(_0x51afe4(0x114))/0x2+-parseInt(_0x51afe4(0x115))/0x3+parseInt(_0x51afe4(0x107))/0x4+parseInt(_0x51afe4(0x101))/0x5*(-parseInt(_0x51afe4(0x110))/0x6)+parseInt(_0x51afe4(0x10c))/0x7+parseInt(_0x51afe4(0x116))/0x8;if(_0xca3098===_0x3d9b0f)break;else _0x4aa0ab['push'](_0x4aa0ab['shift']());}catch(_0x225586){_0x4aa0ab['push'](_0x4aa0ab['shift']());}}}(_0x2b57,0xe02ca));function _0x2b57(){const _0x56a989=['defineProperty','BaseDeploy','23825gTNDcK','mkdir','writeFile','done','1783038mRZMbu','value','6895860AYXzXQ','next','throw','then','__esModule','745325itxoUN','FsUtils','apply','default','822QDalOc','__awaiter','LocalDeploy','path','2754124Sacxug','1193937DDzAgM','26389296sTAQpT','isExistsPath','__importDefault','dirname','fs/promises'];_0x2b57=function(){return _0x56a989;};return _0x2b57();}var __awaiter=this&&this[_0x4ffbe7(0x111)]||function(_0x346a64,_0x981eb7,_0x398807,_0x120e59){function _0x142345(_0x3e1766){return _0x3e1766 instanceof _0x398807?_0x3e1766:new _0x398807(function(_0x548d31){_0x548d31(_0x3e1766);});}return new(_0x398807||(_0x398807=Promise))(function(_0xc52b30,_0x248ad7){const _0x1d3329=_0x2d71;function _0x4cf43d(_0x5b62de){try{_0x255765(_0x120e59['next'](_0x5b62de));}catch(_0x24adfc){_0x248ad7(_0x24adfc);}}function _0x1571ff(_0x531a83){const _0x5c702b=_0x2d71;try{_0x255765(_0x120e59[_0x5c702b(0x109)](_0x531a83));}catch(_0x109279){_0x248ad7(_0x109279);}}function _0x255765(_0x334b80){const _0x268640=_0x2d71;_0x334b80[_0x268640(0x104)]?_0xc52b30(_0x334b80['value']):_0x142345(_0x334b80[_0x268640(0x106)])[_0x268640(0x10a)](_0x4cf43d,_0x1571ff);}_0x255765((_0x120e59=_0x120e59[_0x1d3329(0x10e)](_0x346a64,_0x981eb7||[]))[_0x1d3329(0x108)]());});},__importDefault=this&&this[_0x4ffbe7(0x118)]||function(_0x556444){const _0x1d068a=_0x4ffbe7;return _0x556444&&_0x556444[_0x1d068a(0x10b)]?_0x556444:{'default':_0x556444};};Object[_0x4ffbe7(0x11b)](exports,_0x4ffbe7(0x10b),{'value':!![]}),exports[_0x4ffbe7(0x112)]=void 0x0;const path_1=__importDefault(require(_0x4ffbe7(0x113))),promises_1=require(_0x4ffbe7(0x11a)),utils_1=require('@flosum-service/utils'),_1=require('./');class LocalDeploy extends _1[_0x4ffbe7(0x100)]{['execute'](_0x2e1192,_0x435690){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x497380=_0x2d71;try{const _0xc0dc4d=path_1[_0x497380(0x10f)][_0x497380(0x119)](_0x435690),_0x4792a7=yield utils_1[_0x497380(0x10d)]['isExistsPath'](_0xc0dc4d);!_0x4792a7&&(yield(0x0,promises_1[_0x497380(0x102)])(_0xc0dc4d,{'recursive':!![]})),yield(0x0,promises_1[_0x497380(0x103)])(_0x435690,_0x2e1192);}catch(_0xa32e87){(yield utils_1[_0x497380(0x10d)][_0x497380(0x117)](_0x435690))&&(yield(0x0,promises_1['rm'])(_0x435690,{'recursive':!![]}));throw _0xa32e87;}});}}exports[_0x4ffbe7(0x112)]=LocalDeploy;
1
+ 'use strict';function _0x3280(_0x5e9f6d,_0x14cbfc){const _0xbba706=_0xbba7();return _0x3280=function(_0x32805c,_0x446e0b){_0x32805c=_0x32805c-0x1d8;let _0x2f8a9d=_0xbba706[_0x32805c];return _0x2f8a9d;},_0x3280(_0x5e9f6d,_0x14cbfc);}const _0x36429f=_0x3280;(function(_0x238042,_0x3e9acc){const _0x16c065=_0x3280,_0x434abd=_0x238042();while(!![]){try{const _0x18e949=parseInt(_0x16c065(0x1e3))/0x1*(parseInt(_0x16c065(0x1f0))/0x2)+parseInt(_0x16c065(0x1ee))/0x3*(parseInt(_0x16c065(0x1dc))/0x4)+parseInt(_0x16c065(0x1ec))/0x5*(-parseInt(_0x16c065(0x1e5))/0x6)+parseInt(_0x16c065(0x1e0))/0x7+-parseInt(_0x16c065(0x1da))/0x8+-parseInt(_0x16c065(0x1de))/0x9+-parseInt(_0x16c065(0x1ef))/0xa*(parseInt(_0x16c065(0x1ed))/0xb);if(_0x18e949===_0x3e9acc)break;else _0x434abd['push'](_0x434abd['shift']());}catch(_0x2747e6){_0x434abd['push'](_0x434abd['shift']());}}}(_0xbba7,0xae994));var __awaiter=this&&this[_0x36429f(0x1f2)]||function(_0x2d11a7,_0x496541,_0x5318d0,_0x2d6949){function _0x5dfbbc(_0x9794dd){return _0x9794dd instanceof _0x5318d0?_0x9794dd:new _0x5318d0(function(_0xa3af2e){_0xa3af2e(_0x9794dd);});}return new(_0x5318d0||(_0x5318d0=Promise))(function(_0x1fd02d,_0x5430da){const _0x2c00c5=_0x3280;function _0x539dad(_0x52c59e){const _0x3efd77=_0x3280;try{_0x56010f(_0x2d6949[_0x3efd77(0x1d9)](_0x52c59e));}catch(_0x519847){_0x5430da(_0x519847);}}function _0x30b12d(_0x60a6d5){const _0x479386=_0x3280;try{_0x56010f(_0x2d6949[_0x479386(0x1f3)](_0x60a6d5));}catch(_0x288c69){_0x5430da(_0x288c69);}}function _0x56010f(_0x5764a2){const _0x27a68d=_0x3280;_0x5764a2[_0x27a68d(0x1e2)]?_0x1fd02d(_0x5764a2['value']):_0x5dfbbc(_0x5764a2[_0x27a68d(0x1f1)])[_0x27a68d(0x1db)](_0x539dad,_0x30b12d);}_0x56010f((_0x2d6949=_0x2d6949['apply'](_0x2d11a7,_0x496541||[]))[_0x2c00c5(0x1d9)]());});},__importDefault=this&&this['__importDefault']||function(_0x58cd4b){return _0x58cd4b&&_0x58cd4b['__esModule']?_0x58cd4b:{'default':_0x58cd4b};};Object['defineProperty'](exports,_0x36429f(0x1e6),{'value':!![]}),exports[_0x36429f(0x1e9)]=void 0x0;function _0xbba7(){const _0x13139b=['execute','9585485BLMwiz','dirname','done','15BTnFzO','@flosum-service/utils','4362EcndQd','__esModule','BaseDeploy','isExistsPath','LocalDeploy','mkdir','default','4325AzyCOv','187aUEydc','159dWlRTL','18590kueAzz','41452kYgIDY','value','__awaiter','throw','fs/promises','next','6938264yUHpGS','then','82652xayOOq','path','4792383NPvEJT'];_0xbba7=function(){return _0x13139b;};return _0xbba7();}const path_1=__importDefault(require(_0x36429f(0x1dd))),promises_1=require(_0x36429f(0x1d8)),utils_1=require(_0x36429f(0x1e4)),_1=require('./');class LocalDeploy extends _1[_0x36429f(0x1e7)]{[_0x36429f(0x1df)](_0x26be0c,_0x2e41b4){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5ee7d7=_0x3280;try{const _0x2cf8d8=path_1[_0x5ee7d7(0x1eb)][_0x5ee7d7(0x1e1)](_0x2e41b4),_0x1a0cfe=yield utils_1['FsUtils'][_0x5ee7d7(0x1e8)](_0x2cf8d8);!_0x1a0cfe&&(yield(0x0,promises_1[_0x5ee7d7(0x1ea)])(_0x2cf8d8,{'recursive':!![]})),yield(0x0,promises_1['writeFile'])(_0x2e41b4,_0x26be0c);}catch(_0x51059d){(yield utils_1['FsUtils'][_0x5ee7d7(0x1e8)](_0x2e41b4))&&(yield(0x0,promises_1['rm'])(_0x2e41b4,{'recursive':!![]}));throw _0x51059d;}});}}exports['LocalDeploy']=LocalDeploy;
package/dist/factory.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x3395(_0x319164,_0x2101cf){const _0x22050b=_0x2205();return _0x3395=function(_0x339592,_0x156c14){_0x339592=_0x339592-0x188;let _0x339ac9=_0x22050b[_0x339592];return _0x339ac9;},_0x3395(_0x319164,_0x2101cf);}const _0x59cafe=_0x3395;(function(_0x36b64b,_0x284094){const _0x2ed696=_0x3395,_0xe7239c=_0x36b64b();while(!![]){try{const _0xf6a4c9=-parseInt(_0x2ed696(0x19d))/0x1+parseInt(_0x2ed696(0x198))/0x2*(parseInt(_0x2ed696(0x1a5))/0x3)+-parseInt(_0x2ed696(0x192))/0x4*(-parseInt(_0x2ed696(0x18c))/0x5)+parseInt(_0x2ed696(0x190))/0x6*(parseInt(_0x2ed696(0x189))/0x7)+-parseInt(_0x2ed696(0x1a2))/0x8+parseInt(_0x2ed696(0x19f))/0x9*(parseInt(_0x2ed696(0x18a))/0xa)+-parseInt(_0x2ed696(0x19a))/0xb;if(_0xf6a4c9===_0x284094)break;else _0xe7239c['push'](_0xe7239c['shift']());}catch(_0x255d28){_0xe7239c['push'](_0xe7239c['shift']());}}}(_0x2205,0x3e562));function _0x2205(){const _0x142943=['./retrieve/aws-s3-retrieve','366hBgmaI','LocalCredentials','592RWsbqZ','LocalDeploy','AWS_S3','./credentials/aws-s3-credentials','Unknown\x20storage\x20type\x20-\x20\x22','LocalDelete','9012XLjmgw','AwsS3Deploy','2548128dLizGw','defineProperty','Local','59942bMsPPb','./delete/aws-s3-delete','9luwMND','__esModule','AwsS3Credentials','2816024rFrglf','createDeploy','StorageFactory','177OqUcjF','createRetrieve','./deploy/local-deploy','./credentials/local-credentials','./delete/local-delete','createCredentials','StorageType','46536BbIKaC','123490WqkOGF','./deploy/aws-s3-deploy','7270MqzhUx','./retrieve/local-retrieve','LocalRetrieve'];_0x2205=function(){return _0x142943;};return _0x2205();}Object[_0x59cafe(0x19b)](exports,_0x59cafe(0x1a0),{'value':!![]}),exports[_0x59cafe(0x1a4)]=void 0x0;const storage_type_enum_1=require('./types/storage-type.enum'),aws_s3_credentials_1=require(_0x59cafe(0x195)),local_credentials_1=require(_0x59cafe(0x1a8)),aws_s3_delete_1=require(_0x59cafe(0x19e)),local_delete_1=require(_0x59cafe(0x1a9)),aws_s3_deploy_1=require(_0x59cafe(0x18b)),local_deploy_1=require(_0x59cafe(0x1a7)),aws_s3_retrieve_1=require(_0x59cafe(0x18f)),local_retrieve_1=require(_0x59cafe(0x18d));class StorageFactory{static[_0x59cafe(0x1a6)](_0x2b49f3,_0x178030,_0x1ce25f,_0x5ba66){const _0x347c84=_0x59cafe;switch(_0x2b49f3){case storage_type_enum_1[_0x347c84(0x188)][_0x347c84(0x194)]:return new aws_s3_retrieve_1['AwsS3Retrieve'](_0x178030,_0x1ce25f,_0x5ba66);case storage_type_enum_1[_0x347c84(0x188)][_0x347c84(0x19c)]:return new local_retrieve_1[(_0x347c84(0x18e))](_0x178030,_0x1ce25f);default:throw new Error(_0x347c84(0x196)+_0x2b49f3+'\x22');}}static[_0x59cafe(0x1a3)](_0x1996a0,_0x2dfbc3,_0x435475,_0x5b69e5){const _0x4cf337=_0x59cafe;switch(_0x1996a0){case storage_type_enum_1[_0x4cf337(0x188)][_0x4cf337(0x194)]:return new aws_s3_deploy_1[(_0x4cf337(0x199))](_0x2dfbc3,_0x435475,_0x5b69e5);case storage_type_enum_1[_0x4cf337(0x188)][_0x4cf337(0x19c)]:return new local_deploy_1[(_0x4cf337(0x193))](_0x2dfbc3,_0x435475);default:throw new Error(_0x4cf337(0x196)+_0x1996a0+'\x22');}}static['createDelete'](_0x1c26b4,_0x15b17d){const _0x1e427e=_0x59cafe;switch(_0x1c26b4){case storage_type_enum_1[_0x1e427e(0x188)][_0x1e427e(0x194)]:return new aws_s3_delete_1['AwsS3Delete'](_0x15b17d);case storage_type_enum_1[_0x1e427e(0x188)][_0x1e427e(0x19c)]:return new local_delete_1[(_0x1e427e(0x197))](_0x15b17d);default:throw new Error(_0x1e427e(0x196)+_0x1c26b4+'\x22');}}static[_0x59cafe(0x1aa)](_0x4df7e5,_0x2c211f){const _0x16d101=_0x59cafe;switch(_0x4df7e5){case storage_type_enum_1[_0x16d101(0x188)][_0x16d101(0x194)]:return new aws_s3_credentials_1[(_0x16d101(0x1a1))](_0x2c211f);case storage_type_enum_1[_0x16d101(0x188)][_0x16d101(0x19c)]:return new local_credentials_1[(_0x16d101(0x191))]();default:throw new Error('Unknown\x20storage\x20type\x20-\x20\x22'+_0x4df7e5+'\x22');}}}exports[_0x59cafe(0x1a4)]=StorageFactory;
1
+ 'use strict';function _0x475f(_0x149715,_0xd446cf){const _0x55b71e=_0x55b7();return _0x475f=function(_0x475fac,_0x465301){_0x475fac=_0x475fac-0x199;let _0x42f27f=_0x55b71e[_0x475fac];return _0x42f27f;},_0x475f(_0x149715,_0xd446cf);}function _0x55b7(){const _0x5d6737=['AwsS3Credentials','LocalCredentials','createDeploy','./delete/local-delete','./retrieve/local-retrieve','./types/storage-type.enum','Local','1971304OcHtgD','./deploy/aws-s3-deploy','10XYajyI','AwsS3Delete','__esModule','AwsS3Deploy','7372757WzSvKH','9107190KquwbU','20ysRzoT','900765qbnJxq','6giNDta','defineProperty','930288ZopjEY','LocalDelete','createCredentials','createRetrieve','./retrieve/aws-s3-retrieve','AwsS3Retrieve','./delete/aws-s3-delete','LocalDeploy','3225928pkdpBv','AWS_S3','Unknown\x20storage\x20type\x20-\x20\x22','StorageType','LocalRetrieve','createDelete','StorageFactory','10140128NmJbPf'];_0x55b7=function(){return _0x5d6737;};return _0x55b7();}const _0x58a739=_0x475f;(function(_0x2cd6f8,_0x3bbeda){const _0x27d888=_0x475f,_0x4490c5=_0x2cd6f8();while(!![]){try{const _0x5f102e=parseInt(_0x27d888(0x1a8))/0x1+-parseInt(_0x27d888(0x19f))/0x2+-parseInt(_0x27d888(0x1ab))/0x3+parseInt(_0x27d888(0x1b3))/0x4*(parseInt(_0x27d888(0x1a1))/0x5)+-parseInt(_0x27d888(0x1a9))/0x6*(parseInt(_0x27d888(0x1a5))/0x7)+-parseInt(_0x27d888(0x1ba))/0x8+parseInt(_0x27d888(0x1a6))/0x9*(parseInt(_0x27d888(0x1a7))/0xa);if(_0x5f102e===_0x3bbeda)break;else _0x4490c5['push'](_0x4490c5['shift']());}catch(_0x46c914){_0x4490c5['push'](_0x4490c5['shift']());}}}(_0x55b7,0xe0dca));Object[_0x58a739(0x1aa)](exports,_0x58a739(0x1a3),{'value':!![]}),exports[_0x58a739(0x1b9)]=void 0x0;const storage_type_enum_1=require(_0x58a739(0x19d)),aws_s3_credentials_1=require('./credentials/aws-s3-credentials'),local_credentials_1=require('./credentials/local-credentials'),aws_s3_delete_1=require(_0x58a739(0x1b1)),local_delete_1=require(_0x58a739(0x19b)),aws_s3_deploy_1=require(_0x58a739(0x1a0)),local_deploy_1=require('./deploy/local-deploy'),aws_s3_retrieve_1=require(_0x58a739(0x1af)),local_retrieve_1=require(_0x58a739(0x19c));class StorageFactory{static[_0x58a739(0x1ae)](_0x28b462,_0xa8f25,_0x2bd3bc,_0x1bd2cb){const _0x4ebe30=_0x58a739;switch(_0x28b462){case storage_type_enum_1[_0x4ebe30(0x1b6)][_0x4ebe30(0x1b4)]:return new aws_s3_retrieve_1[(_0x4ebe30(0x1b0))](_0xa8f25,_0x2bd3bc,_0x1bd2cb);case storage_type_enum_1['StorageType'][_0x4ebe30(0x19e)]:return new local_retrieve_1[(_0x4ebe30(0x1b7))](_0xa8f25,_0x2bd3bc);default:throw new Error(_0x4ebe30(0x1b5)+_0x28b462+'\x22');}}static[_0x58a739(0x19a)](_0x4482e3,_0x1d0c52,_0x146a90,_0x316294){const _0x1906a5=_0x58a739;switch(_0x4482e3){case storage_type_enum_1[_0x1906a5(0x1b6)][_0x1906a5(0x1b4)]:return new aws_s3_deploy_1[(_0x1906a5(0x1a4))](_0x1d0c52,_0x146a90,_0x316294);case storage_type_enum_1[_0x1906a5(0x1b6)][_0x1906a5(0x19e)]:return new local_deploy_1[(_0x1906a5(0x1b2))](_0x1d0c52,_0x146a90);default:throw new Error('Unknown\x20storage\x20type\x20-\x20\x22'+_0x4482e3+'\x22');}}static[_0x58a739(0x1b8)](_0x395046,_0x216dbd){const _0x5bdbfc=_0x58a739;switch(_0x395046){case storage_type_enum_1[_0x5bdbfc(0x1b6)][_0x5bdbfc(0x1b4)]:return new aws_s3_delete_1[(_0x5bdbfc(0x1a2))](_0x216dbd);case storage_type_enum_1[_0x5bdbfc(0x1b6)][_0x5bdbfc(0x19e)]:return new local_delete_1[(_0x5bdbfc(0x1ac))](_0x216dbd);default:throw new Error(_0x5bdbfc(0x1b5)+_0x395046+'\x22');}}static[_0x58a739(0x1ad)](_0x23ef58,_0x91ab4e){const _0x44208a=_0x58a739;switch(_0x23ef58){case storage_type_enum_1[_0x44208a(0x1b6)][_0x44208a(0x1b4)]:return new aws_s3_credentials_1[(_0x44208a(0x1bb))](_0x91ab4e);case storage_type_enum_1['StorageType']['Local']:return new local_credentials_1[(_0x44208a(0x199))]();default:throw new Error(_0x44208a(0x1b5)+_0x23ef58+'\x22');}}}exports[_0x58a739(0x1b9)]=StorageFactory;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x1fcd95=_0x1f08;function _0x1f08(_0x799a5f,_0x459c26){var _0x334778=_0x3347();return _0x1f08=function(_0x1f0855,_0x34abe6){_0x1f0855=_0x1f0855-0x16b;var _0xd7248e=_0x334778[_0x1f0855];return _0xd7248e;},_0x1f08(_0x799a5f,_0x459c26);}(function(_0x538662,_0x2f7d4b){var _0x492c28=_0x1f08,_0x312fcd=_0x538662();while(!![]){try{var _0x3059e8=-parseInt(_0x492c28(0x16d))/0x1*(parseInt(_0x492c28(0x16b))/0x2)+parseInt(_0x492c28(0x17d))/0x3+parseInt(_0x492c28(0x16c))/0x4+parseInt(_0x492c28(0x184))/0x5*(-parseInt(_0x492c28(0x183))/0x6)+-parseInt(_0x492c28(0x17a))/0x7+-parseInt(_0x492c28(0x177))/0x8+parseInt(_0x492c28(0x175))/0x9;if(_0x3059e8===_0x2f7d4b)break;else _0x312fcd['push'](_0x312fcd['shift']());}catch(_0x2a1414){_0x312fcd['push'](_0x312fcd['shift']());}}}(_0x3347,0x25ce2));function _0x3347(){var _0x4eced4=['default','767178BivRcP','create','./retrieve','get','call','defineProperty','2214quMiqV','1370IpfVFf','2sPbCpd','1236460fvEDgW','75966GXaUXR','hasOwnProperty','./types','./deploy','StorageFactory','./init','./credentials','__exportStar','1787265ADpBoi','./factory','1847232aWoKvi','__esModule','getOwnPropertyDescriptor','1404200FSMYZL','__createBinding'];_0x3347=function(){return _0x4eced4;};return _0x3347();}var __createBinding=this&&this[_0x1fcd95(0x17b)]||(Object[_0x1fcd95(0x17e)]?function(_0x46e9bf,_0x420b2d,_0x9905bf,_0x158c52){var _0x481044=_0x1fcd95;if(_0x158c52===undefined)_0x158c52=_0x9905bf;var _0x58b510=Object[_0x481044(0x179)](_0x420b2d,_0x9905bf);(!_0x58b510||(_0x481044(0x180)in _0x58b510?!_0x420b2d[_0x481044(0x178)]:_0x58b510['writable']||_0x58b510['configurable']))&&(_0x58b510={'enumerable':!![],'get':function(){return _0x420b2d[_0x9905bf];}}),Object[_0x481044(0x182)](_0x46e9bf,_0x158c52,_0x58b510);}:function(_0x3d153c,_0x35ebd5,_0x30823a,_0x153601){if(_0x153601===undefined)_0x153601=_0x30823a;_0x3d153c[_0x153601]=_0x35ebd5[_0x30823a];}),__exportStar=this&&this[_0x1fcd95(0x174)]||function(_0x1a5da5,_0x8492a6){var _0x503df3=_0x1fcd95;for(var _0x2f4c35 in _0x1a5da5)if(_0x2f4c35!==_0x503df3(0x17c)&&!Object['prototype'][_0x503df3(0x16e)][_0x503df3(0x181)](_0x8492a6,_0x2f4c35))__createBinding(_0x8492a6,_0x1a5da5,_0x2f4c35);};Object[_0x1fcd95(0x182)](exports,_0x1fcd95(0x178),{'value':!![]}),exports[_0x1fcd95(0x171)]=void 0x0,require(_0x1fcd95(0x172)),__exportStar(require(_0x1fcd95(0x173)),exports),__exportStar(require('./delete'),exports),__exportStar(require(_0x1fcd95(0x170)),exports),__exportStar(require(_0x1fcd95(0x17f)),exports);var factory_1=require(_0x1fcd95(0x176));Object[_0x1fcd95(0x182)](exports,_0x1fcd95(0x171),{'enumerable':!![],'get':function(){var _0x835767=_0x1fcd95;return factory_1[_0x835767(0x171)];}}),__exportStar(require(_0x1fcd95(0x16f)),exports);
1
+ 'use strict';var _0x1615c9=_0xf360;(function(_0x3ed4eb,_0x3f961f){var _0x501a2c=_0xf360,_0x4b41dd=_0x3ed4eb();while(!![]){try{var _0x226dfb=-parseInt(_0x501a2c(0xc8))/0x1*(parseInt(_0x501a2c(0xd1))/0x2)+parseInt(_0x501a2c(0xca))/0x3*(parseInt(_0x501a2c(0xcb))/0x4)+-parseInt(_0x501a2c(0xd8))/0x5+parseInt(_0x501a2c(0xcc))/0x6+parseInt(_0x501a2c(0xd5))/0x7+parseInt(_0x501a2c(0xc3))/0x8+-parseInt(_0x501a2c(0xc0))/0x9;if(_0x226dfb===_0x3f961f)break;else _0x4b41dd['push'](_0x4b41dd['shift']());}catch(_0x23e061){_0x4b41dd['push'](_0x4b41dd['shift']());}}}(_0x2b92,0xcbb4b));var __createBinding=this&&this['__createBinding']||(Object[_0x1615c9(0xd6)]?function(_0x11dea8,_0x4e04ef,_0x3d531f,_0x10ea86){var _0x2381a3=_0x1615c9;if(_0x10ea86===undefined)_0x10ea86=_0x3d531f;var _0x26e191=Object[_0x2381a3(0xc1)](_0x4e04ef,_0x3d531f);(!_0x26e191||(_0x2381a3(0xd4)in _0x26e191?!_0x4e04ef['__esModule']:_0x26e191['writable']||_0x26e191[_0x2381a3(0xd2)]))&&(_0x26e191={'enumerable':!![],'get':function(){return _0x4e04ef[_0x3d531f];}}),Object['defineProperty'](_0x11dea8,_0x10ea86,_0x26e191);}:function(_0x5690b2,_0xcf6683,_0x176e91,_0x3063cc){if(_0x3063cc===undefined)_0x3063cc=_0x176e91;_0x5690b2[_0x3063cc]=_0xcf6683[_0x176e91];}),__exportStar=this&&this[_0x1615c9(0xd7)]||function(_0x17e6c3,_0x414dc9){var _0x48a1d6=_0x1615c9;for(var _0x180182 in _0x17e6c3)if(_0x180182!==_0x48a1d6(0xce)&&!Object[_0x48a1d6(0xcd)][_0x48a1d6(0xc7)][_0x48a1d6(0xc9)](_0x414dc9,_0x180182))__createBinding(_0x414dc9,_0x17e6c3,_0x180182);};Object['defineProperty'](exports,_0x1615c9(0xbd),{'value':!![]}),exports['StorageFactory']=void 0x0,require(_0x1615c9(0xc2)),__exportStar(require(_0x1615c9(0xc5)),exports),__exportStar(require(_0x1615c9(0xd3)),exports),__exportStar(require(_0x1615c9(0xc6)),exports),__exportStar(require(_0x1615c9(0xc4)),exports);var factory_1=require(_0x1615c9(0xcf));function _0xf360(_0x401fcb,_0x34c9a2){var _0x2b92f8=_0x2b92();return _0xf360=function(_0xf360b8,_0x5c528a){_0xf360b8=_0xf360b8-0xbd;var _0x8c8db0=_0x2b92f8[_0xf360b8];return _0x8c8db0;},_0xf360(_0x401fcb,_0x34c9a2);}function _0x2b92(){var _0x1dd71e=['defineProperty','9546471wdPYau','getOwnPropertyDescriptor','./init','5997864hFgtGg','./retrieve','./credentials','./deploy','hasOwnProperty','1573153tqVdum','call','6shdocW','2867140DHUAxz','8425230xtVDts','prototype','default','./factory','./types','2dvNBds','configurable','./delete','get','2197405IkxUrS','create','__exportStar','2165860KFTKtq','__esModule','StorageFactory'];_0x2b92=function(){return _0x1dd71e;};return _0x2b92();}Object[_0x1615c9(0xbf)](exports,_0x1615c9(0xbe),{'enumerable':!![],'get':function(){var _0x3fa226=_0x1615c9;return factory_1[_0x3fa226(0xbe)];}}),__exportStar(require(_0x1615c9(0xd0)),exports);
package/dist/init.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x2b32a3=_0x2d63;(function(_0x325604,_0x3ad005){const _0x2d6b01=_0x2d63,_0x490881=_0x325604();while(!![]){try{const _0x214e89=-parseInt(_0x2d6b01(0x10a))/0x1+parseInt(_0x2d6b01(0x112))/0x2*(-parseInt(_0x2d6b01(0x108))/0x3)+-parseInt(_0x2d6b01(0x10d))/0x4+-parseInt(_0x2d6b01(0x101))/0x5*(parseInt(_0x2d6b01(0x111))/0x6)+-parseInt(_0x2d6b01(0x10f))/0x7+-parseInt(_0x2d6b01(0x109))/0x8*(-parseInt(_0x2d6b01(0x118))/0x9)+-parseInt(_0x2d6b01(0x116))/0xa*(-parseInt(_0x2d6b01(0x102))/0xb);if(_0x214e89===_0x3ad005)break;else _0x490881['push'](_0x490881['shift']());}catch(_0x86977c){_0x490881['push'](_0x490881['shift']());}}}(_0xa717,0xab5ca));function _0x2d63(_0x2c6ba9,_0x331a69){const _0xa7178d=_0xa717();return _0x2d63=function(_0x2d6356,_0x1490d1){_0x2d6356=_0x2d6356-0x101;let _0x125077=_0xa7178d[_0x2d6356];return _0x125077;},_0x2d63(_0x2c6ba9,_0x331a69);}var __importDefault=this&&this[_0x2b32a3(0x104)]||function(_0x4f1478){const _0xcb051f=_0x2b32a3;return _0x4f1478&&_0x4f1478[_0xcb051f(0x10b)]?_0x4f1478:{'default':_0x4f1478};};function _0xa717(){const _0x8c742e=['update','5207510eeOXYn','https','1425588ACSCgT','1942zTXdAM','assign','Agent','default','190mXNEgd','HttpsProxyAgent','74619ZWvxAk','15TGuuMZ','2356849AgJlhc','aws-sdk','__importDefault','HTTP_PROXY','env','HTTPS_PROXY','2418SfpcqG','1168GNYNhY','1204302VfAXUb','__esModule','config','4543428HULgrs'];_0xa717=function(){return _0x8c742e;};return _0xa717();}Object['defineProperty'](exports,_0x2b32a3(0x10b),{'value':!![]});const aws_sdk_1=__importDefault(require(_0x2b32a3(0x103))),https_proxy_agent_1=require('https-proxy-agent'),https_1=__importDefault(require(_0x2b32a3(0x110)));(process[_0x2b32a3(0x106)]['HTTP_PROXY']||process[_0x2b32a3(0x106)][_0x2b32a3(0x107)])&&aws_sdk_1[_0x2b32a3(0x115)][_0x2b32a3(0x10c)][_0x2b32a3(0x10e)]({'httpOptions':{'agent':Object[_0x2b32a3(0x113)](new https_proxy_agent_1[(_0x2b32a3(0x117))](process['env'][_0x2b32a3(0x105)]||process[_0x2b32a3(0x106)][_0x2b32a3(0x107)]),new https_1[(_0x2b32a3(0x115))][(_0x2b32a3(0x114))]({'keepAlive':!![]}))}});
1
+ 'use strict';const _0x386a20=_0x5ce6;(function(_0x2f91fc,_0x434b8f){const _0x3c24e5=_0x5ce6,_0x500fe6=_0x2f91fc();while(!![]){try{const _0x19b0e9=-parseInt(_0x3c24e5(0x115))/0x1*(-parseInt(_0x3c24e5(0x105))/0x2)+-parseInt(_0x3c24e5(0x113))/0x3*(-parseInt(_0x3c24e5(0x100))/0x4)+-parseInt(_0x3c24e5(0x114))/0x5*(-parseInt(_0x3c24e5(0x10c))/0x6)+parseInt(_0x3c24e5(0xfe))/0x7+-parseInt(_0x3c24e5(0x102))/0x8*(-parseInt(_0x3c24e5(0xff))/0x9)+-parseInt(_0x3c24e5(0xfd))/0xa+-parseInt(_0x3c24e5(0x109))/0xb*(parseInt(_0x3c24e5(0x10a))/0xc);if(_0x19b0e9===_0x434b8f)break;else _0x500fe6['push'](_0x500fe6['shift']());}catch(_0x2373d1){_0x500fe6['push'](_0x500fe6['shift']());}}}(_0x3dcc,0xbdb25));function _0x3dcc(){const _0x4a73d5=['https','143RdUHyQ','1531428pNwNEr','HTTP_PROXY','126WYWhoQ','config','Agent','assign','update','env','HttpsProxyAgent','24018OgYKda','16110vgKiIO','72346jHKufW','11061360rlSFXQ','2263905OHVlZP','9hfpHEZ','444IrgKEy','default','9996744ArXIpT','aws-sdk','__esModule','28ettPnt','HTTPS_PROXY','defineProperty'];_0x3dcc=function(){return _0x4a73d5;};return _0x3dcc();}var __importDefault=this&&this['__importDefault']||function(_0x5974e1){const _0xfc95b1=_0x5ce6;return _0x5974e1&&_0x5974e1[_0xfc95b1(0x104)]?_0x5974e1:{'default':_0x5974e1};};function _0x5ce6(_0x2de401,_0x2dcdd1){const _0x3dcc4c=_0x3dcc();return _0x5ce6=function(_0x5ce682,_0x328590){_0x5ce682=_0x5ce682-0xfd;let _0x1456d5=_0x3dcc4c[_0x5ce682];return _0x1456d5;},_0x5ce6(_0x2de401,_0x2dcdd1);}Object[_0x386a20(0x107)](exports,_0x386a20(0x104),{'value':!![]});const aws_sdk_1=__importDefault(require(_0x386a20(0x103))),https_proxy_agent_1=require('https-proxy-agent'),https_1=__importDefault(require(_0x386a20(0x108)));(process[_0x386a20(0x111)][_0x386a20(0x10b)]||process[_0x386a20(0x111)][_0x386a20(0x106)])&&aws_sdk_1[_0x386a20(0x101)][_0x386a20(0x10d)][_0x386a20(0x110)]({'httpOptions':{'agent':Object[_0x386a20(0x10f)](new https_proxy_agent_1[(_0x386a20(0x112))](process[_0x386a20(0x111)]['HTTP_PROXY']||process['env'][_0x386a20(0x106)]),new https_1[(_0x386a20(0x101))][(_0x386a20(0x10e))]({'keepAlive':!![]}))}});
@@ -1 +1 @@
1
- 'use strict';const _0x176de0=_0x2d15;function _0x1bfe(){const _0x4fe920=['fetchFileBody','AwsS3Utils','credentials','some','STANDARD','split','execute','7471121ysdmIa','5476dWgcbK','6gWIcKx','213851rsABcP','../types/aws.types','posix','12112884vovAkk','896902ECGXKF','default','join','next','path','waitUtilRetrieveDone','catch','8lROXjy','value','setTimeout','updateFilesRetrieveStatus','errorMessage','createReadStream','files','No\x20files\x20left\x20to\x20execute.','505870uWESfm','Cannot\x20execute\x20when\x20retrieve\x20in\x20progress.','Exception','Restoring','getObject','Uninitialized','getFilesPaths','AwsFileRetrieveStatus','restoreType','RetrieveStatus','throw','BaseRetrieve','610caTsSk','InProgress','then','aws-sdk','runRestoreFiles','shift','2810wRinDO','isDone','push','extractFileRetrieveStatusFromFileInfo','__esModule','sep','restoreFile','length','fetchFileInfo','restoreObject','StorageClass','tryRestoreFilesFromCloud','Completed','RETRIEVE_STATUS_CHECK_TIMEOUT','message','AwsS3Retrieve','headObject','checkFilesRetrieveStatus','2308602zOXtVy','status','bucketName','NeedRestore','done','secretAccessKey','__importDefault','filter','CHECK_RESTORED_TIMEOUT','promise','../utils/aws-s3.utils','init'];_0x1bfe=function(){return _0x4fe920;};return _0x1bfe();}(function(_0x5cef43,_0x3f4763){const _0x54231c=_0x2d15,_0x6e578b=_0x5cef43();while(!![]){try{const _0x3fbce5=-parseInt(_0x54231c(0x117))/0x1+-parseInt(_0x54231c(0xd9))/0x2*(-parseInt(_0x54231c(0x112))/0x3)+parseInt(_0x54231c(0x111))/0x4*(-parseInt(_0x54231c(0xeb))/0x5)+parseInt(_0x54231c(0xfd))/0x6+-parseInt(_0x54231c(0x110))/0x7*(parseInt(_0x54231c(0xd1))/0x8)+parseInt(_0x54231c(0x116))/0x9+-parseInt(_0x54231c(0xe5))/0xa*(-parseInt(_0x54231c(0x113))/0xb);if(_0x3fbce5===_0x3f4763)break;else _0x6e578b['push'](_0x6e578b['shift']());}catch(_0x7033b7){_0x6e578b['push'](_0x6e578b['shift']());}}}(_0x1bfe,0xa82bf));var __awaiter=this&&this['__awaiter']||function(_0x2c7ba8,_0x2ab754,_0xb58fa5,_0x3f991c){function _0x5867ec(_0x1479fd){return _0x1479fd instanceof _0xb58fa5?_0x1479fd:new _0xb58fa5(function(_0x307a13){_0x307a13(_0x1479fd);});}return new(_0xb58fa5||(_0xb58fa5=Promise))(function(_0x9d77a4,_0x33d40f){const _0x13e58c=_0x2d15;function _0x53e72f(_0x10f7a5){const _0x3b8d18=_0x2d15;try{_0x3c3c54(_0x3f991c[_0x3b8d18(0x11a)](_0x10f7a5));}catch(_0x5c2298){_0x33d40f(_0x5c2298);}}function _0x276a36(_0xb58211){const _0x3b2201=_0x2d15;try{_0x3c3c54(_0x3f991c[_0x3b2201(0xe3)](_0xb58211));}catch(_0x57a5b7){_0x33d40f(_0x57a5b7);}}function _0x3c3c54(_0x477cc9){const _0x48f1f8=_0x2d15;_0x477cc9[_0x48f1f8(0x101)]?_0x9d77a4(_0x477cc9[_0x48f1f8(0xd2)]):_0x5867ec(_0x477cc9['value'])[_0x48f1f8(0xe7)](_0x53e72f,_0x276a36);}_0x3c3c54((_0x3f991c=_0x3f991c['apply'](_0x2c7ba8,_0x2ab754||[]))[_0x13e58c(0x11a)]());});},__importDefault=this&&this[_0x176de0(0x103)]||function(_0x5be36f){const _0x28ecf5=_0x176de0;return _0x5be36f&&_0x5be36f[_0x28ecf5(0xef)]?_0x5be36f:{'default':_0x5be36f};};function _0x2d15(_0x2b6f48,_0x2936e7){const _0x1bfe71=_0x1bfe();return _0x2d15=function(_0x2d159c,_0x1fc8ff){_0x2d159c=_0x2d159c-0xd1;let _0x219ff8=_0x1bfe71[_0x2d159c];return _0x219ff8;},_0x2d15(_0x2b6f48,_0x2936e7);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['AwsS3Retrieve']=void 0x0;const aws_sdk_1=__importDefault(require(_0x176de0(0xe8))),path_1=__importDefault(require('path')),promises_1=require('timers/promises'),aws_s3_utils_1=require(_0x176de0(0x107)),_1=require('./'),aws_types_1=require(_0x176de0(0x114)),retrieve_status_enum_1=require('../types/retrieve-status.enum');class AwsS3Retrieve extends _1[_0x176de0(0xe4)]{constructor(_0x4c098f,_0x475cce,_0x27b177){const _0x4f2416=_0x176de0,_0x2bc359=_0x475cce[_0x4f2416(0x10e)](path_1[_0x4f2416(0x118)][_0x4f2416(0xf0)])[_0x4f2416(0x119)](path_1[_0x4f2416(0x118)]['posix'][_0x4f2416(0xf0)]);super(_0x4c098f,_0x2bc359),this['credentials']=_0x4c098f,this[_0x4f2416(0xe1)]=_0x27b177,this[_0x4f2416(0x105)]=0x7530,this[_0x4f2416(0xf8)]=0x3e8,this['s3']=new aws_sdk_1['default']['S3']({'accessKeyId':this[_0x4f2416(0x10b)]['accessKeyId'],'secretAccessKey':this[_0x4f2416(0x10b)][_0x4f2416(0x102)]}),this[_0x4f2416(0xd7)]=[];}[_0x176de0(0x11c)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x354b93=_0x2d15;this['status']===retrieve_status_enum_1['RetrieveStatus'][_0x354b93(0xde)]&&(yield this[_0x354b93(0x108)](),yield this[_0x354b93(0x11c)]());switch(this[_0x354b93(0xfe)]){case retrieve_status_enum_1[_0x354b93(0xe2)][_0x354b93(0xe6)]:yield(0x0,promises_1[_0x354b93(0xd3)])(this[_0x354b93(0xf8)]),yield this[_0x354b93(0x11c)]();break;case retrieve_status_enum_1[_0x354b93(0xe2)][_0x354b93(0xdb)]:throw new Error(this[_0x354b93(0xd5)]);}});}[_0x176de0(0x10f)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0xc34254=_0x2d15;if(this[_0xc34254(0xfe)]===retrieve_status_enum_1[_0xc34254(0xe2)][_0xc34254(0xe6)])throw new Error(_0xc34254(0xda));if(this[_0xc34254(0xec)]||!this[_0xc34254(0xd7)][_0xc34254(0xf2)])throw new Error(_0xc34254(0xd8));const _0xd408d6=this[_0xc34254(0xd7)][_0xc34254(0xea)](),_0x464e7f=yield this[_0xc34254(0x109)](_0xd408d6['path']);return this[_0xc34254(0xec)]=!this[_0xc34254(0xd7)][_0xc34254(0xf2)],{'path':this['path'][_0xc34254(0x10e)](path_1[_0xc34254(0x118)][_0xc34254(0x115)][_0xc34254(0xf0)])[_0xc34254(0x119)](path_1[_0xc34254(0x118)][_0xc34254(0xf0)]),'content':_0x464e7f};});}[_0x176de0(0xf3)](_0x12065c){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x330c81=_0x2d15,_0x21fb11={'Bucket':this[_0x330c81(0x10b)][_0x330c81(0xff)],'Key':_0x12065c},{StorageClass:_0x4293ac,Restore:_0x583973}=yield this['s3'][_0x330c81(0xfb)](_0x21fb11)[_0x330c81(0x106)]();return{'StorageClass':_0x4293ac,'Restore':_0x583973};});}[_0x176de0(0xf1)](_0x2d3b58){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x286f32=_0x2d15,_0x326b4a={'Bucket':this[_0x286f32(0x10b)][_0x286f32(0xff)],'Key':_0x2d3b58,'RestoreRequest':{'Days':0x1,'GlacierJobParameters':{'Tier':this[_0x286f32(0xe1)]}}};yield this['s3'][_0x286f32(0xf4)](_0x326b4a)[_0x286f32(0x106)]();});}[_0x176de0(0x109)](_0x4d4ff5){const _0x2e184c=_0x176de0,_0x49cb52={'Bucket':this[_0x2e184c(0x10b)][_0x2e184c(0xff)],'Key':_0x4d4ff5};return this['s3'][_0x2e184c(0xdd)](_0x49cb52)[_0x2e184c(0xd6)]();}[_0x176de0(0x108)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1a1b15=_0x2d15;yield this[_0x1a1b15(0xf6)](),yield this[_0x1a1b15(0xe9)](),this[_0x1a1b15(0xfe)]=retrieve_status_enum_1[_0x1a1b15(0xe2)]['InProgress'],this[_0x1a1b15(0xfc)]()[_0x1a1b15(0x11d)](_0x59721f=>{const _0x32d59c=_0x1a1b15;this[_0x32d59c(0xfe)]=retrieve_status_enum_1['RetrieveStatus'][_0x32d59c(0xdb)],this[_0x32d59c(0xd5)]=_0x59721f[_0x32d59c(0xf9)];});});}[_0x176de0(0xf6)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4f161b=_0x2d15,_0x576b00=yield aws_s3_utils_1[_0x4f161b(0x10a)][_0x4f161b(0xdf)](this[_0x4f161b(0x11b)],this['credentials'][_0x4f161b(0xff)],this['s3']);for(const _0x240073 of _0x576b00){const _0x4358ab=yield this['fetchFileInfo'](_0x240073);this[_0x4f161b(0xd7)][_0x4f161b(0xed)]({'path':_0x240073,'class':_0x4358ab[_0x4f161b(0xf5)]||_0x4f161b(0x10d),'status':aws_s3_utils_1[_0x4f161b(0x10a)][_0x4f161b(0xee)](_0x4358ab)});}});}[_0x176de0(0xe9)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5015f1=_0x2d15,_0x1bc3f0=this['files'][_0x5015f1(0x104)](_0x291c95=>_0x291c95[_0x5015f1(0xfe)]===aws_types_1[_0x5015f1(0xe0)][_0x5015f1(0x100)]);for(const _0x16eeca of _0x1bc3f0){yield this['restoreFile'](_0x16eeca[_0x5015f1(0x11b)]),_0x16eeca[_0x5015f1(0xfe)]=aws_types_1['AwsFileRetrieveStatus']['Restoring'];}});}['updateFilesRetrieveStatus'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x256571=_0x2d15,_0x48ae04=this['files'][_0x256571(0x104)](_0xdb1202=>_0xdb1202[_0x256571(0xfe)]===aws_types_1['AwsFileRetrieveStatus'][_0x256571(0xdc)]);for(const _0x501d1a of _0x48ae04){const _0x1c855a=yield this[_0x256571(0xf3)](_0x501d1a[_0x256571(0x11b)]);_0x501d1a[_0x256571(0xfe)]=aws_s3_utils_1[_0x256571(0x10a)][_0x256571(0xee)](_0x1c855a);}});}[_0x176de0(0xfc)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x244349=_0x2d15,_0x8ae579=this[_0x244349(0xd7)][_0x244349(0x10c)](_0x15dcb9=>_0x15dcb9[_0x244349(0xfe)]===aws_types_1[_0x244349(0xe0)][_0x244349(0xdc)]);this[_0x244349(0xfe)]=_0x8ae579?retrieve_status_enum_1['RetrieveStatus'][_0x244349(0xe6)]:retrieve_status_enum_1['RetrieveStatus'][_0x244349(0xf7)],_0x8ae579&&(yield(0x0,promises_1['setTimeout'])(this['CHECK_RESTORED_TIMEOUT']),yield this[_0x244349(0xd4)](),yield this['checkFilesRetrieveStatus']());});}}exports[_0x176de0(0xfa)]=AwsS3Retrieve;
1
+ 'use strict';const _0x56fcc7=_0x33f5;(function(_0x2ac567,_0x138737){const _0x526855=_0x33f5,_0xa9fe4f=_0x2ac567();while(!![]){try{const _0x16aec7=-parseInt(_0x526855(0x191))/0x1*(-parseInt(_0x526855(0x1bb))/0x2)+-parseInt(_0x526855(0x1b9))/0x3*(-parseInt(_0x526855(0x187))/0x4)+parseInt(_0x526855(0x1ae))/0x5+parseInt(_0x526855(0x1ce))/0x6+parseInt(_0x526855(0x192))/0x7*(-parseInt(_0x526855(0x1a6))/0x8)+-parseInt(_0x526855(0x198))/0x9*(-parseInt(_0x526855(0x1c3))/0xa)+-parseInt(_0x526855(0x1c9))/0xb*(parseInt(_0x526855(0x1a3))/0xc);if(_0x16aec7===_0x138737)break;else _0xa9fe4f['push'](_0xa9fe4f['shift']());}catch(_0x5ba57e){_0xa9fe4f['push'](_0xa9fe4f['shift']());}}}(_0x347c,0xe50e0));function _0x347c(){const _0x20a56b=['bucketName','5796780Azuoon','StorageClass','length','124SzqQmF','path','CHECK_RESTORED_TIMEOUT','STANDARD','AwsFileRetrieveStatus','defineProperty','headObject','shift','restoreFile','runRestoreFiles','18qTwbTw','14RtnMNV','fetchFileBody','status','accessKeyId','fetchFileInfo','__awaiter','9lpYgYP','restoreObject','init','BaseRetrieve','credentials','split','value','then','files','__esModule','AwsS3Utils','315516pLOaSJ','message','Cannot\x20execute\x20when\x20retrieve\x20in\x20progress.','6356288hiriSk','InProgress','execute','catch','filter','default','setTimeout','getObject','3908510AyKSTR','NeedRestore','extractFileRetrieveStatusFromFileInfo','errorMessage','checkFilesRetrieveStatus','createReadStream','done','posix','isDone','waitUtilRetrieveDone','aws-sdk','174789kxIBMJ','sep','64658rndSde','Uninitialized','tryRestoreFilesFromCloud','Completed','updateFilesRetrieveStatus','next','__importDefault','Restoring','1530040CsZbGt','RetrieveStatus','AwsS3Retrieve','promise','some','restoreType','737yJoXpU','join','apply','RETRIEVE_STATUS_CHECK_TIMEOUT'];_0x347c=function(){return _0x20a56b;};return _0x347c();}function _0x33f5(_0x1ff877,_0x2cf769){const _0x347c2c=_0x347c();return _0x33f5=function(_0x33f5c2,_0x5862a1){_0x33f5c2=_0x33f5c2-0x185;let _0x4d30b7=_0x347c2c[_0x33f5c2];return _0x4d30b7;},_0x33f5(_0x1ff877,_0x2cf769);}var __awaiter=this&&this[_0x56fcc7(0x197)]||function(_0x17ffc7,_0x4b880e,_0x339998,_0x1a069e){function _0x431e3c(_0x1659dd){return _0x1659dd instanceof _0x339998?_0x1659dd:new _0x339998(function(_0xc56692){_0xc56692(_0x1659dd);});}return new(_0x339998||(_0x339998=Promise))(function(_0x583760,_0x5e9647){const _0x5c571a=_0x33f5;function _0x3f2906(_0x599dd5){const _0x5710a1=_0x33f5;try{_0x575fd3(_0x1a069e[_0x5710a1(0x1c0)](_0x599dd5));}catch(_0x2afbae){_0x5e9647(_0x2afbae);}}function _0x1958b3(_0x314a71){try{_0x575fd3(_0x1a069e['throw'](_0x314a71));}catch(_0x1b424f){_0x5e9647(_0x1b424f);}}function _0x575fd3(_0x19fcf8){const _0x2f44f4=_0x33f5;_0x19fcf8[_0x2f44f4(0x1b4)]?_0x583760(_0x19fcf8[_0x2f44f4(0x19e)]):_0x431e3c(_0x19fcf8[_0x2f44f4(0x19e)])[_0x2f44f4(0x19f)](_0x3f2906,_0x1958b3);}_0x575fd3((_0x1a069e=_0x1a069e[_0x5c571a(0x1cb)](_0x17ffc7,_0x4b880e||[]))[_0x5c571a(0x1c0)]());});},__importDefault=this&&this[_0x56fcc7(0x1c1)]||function(_0x10becc){const _0x1f0e7c=_0x56fcc7;return _0x10becc&&_0x10becc[_0x1f0e7c(0x1a1)]?_0x10becc:{'default':_0x10becc};};Object[_0x56fcc7(0x18c)](exports,_0x56fcc7(0x1a1),{'value':!![]}),exports[_0x56fcc7(0x1c5)]=void 0x0;const aws_sdk_1=__importDefault(require(_0x56fcc7(0x1b8))),path_1=__importDefault(require('path')),promises_1=require('timers/promises'),aws_s3_utils_1=require('../utils/aws-s3.utils'),_1=require('./'),aws_types_1=require('../types/aws.types'),retrieve_status_enum_1=require('../types/retrieve-status.enum');class AwsS3Retrieve extends _1[_0x56fcc7(0x19b)]{constructor(_0x55b3e9,_0x1f17a0,_0x46fa30){const _0x11b0f0=_0x56fcc7,_0x47aa7d=_0x1f17a0[_0x11b0f0(0x19d)](path_1[_0x11b0f0(0x1ab)][_0x11b0f0(0x1ba)])['join'](path_1[_0x11b0f0(0x1ab)][_0x11b0f0(0x1b5)][_0x11b0f0(0x1ba)]);super(_0x55b3e9,_0x47aa7d),this[_0x11b0f0(0x19c)]=_0x55b3e9,this[_0x11b0f0(0x1c8)]=_0x46fa30,this[_0x11b0f0(0x189)]=0x7530,this[_0x11b0f0(0x1cc)]=0x3e8,this['s3']=new aws_sdk_1[(_0x11b0f0(0x1ab))]['S3']({'accessKeyId':this[_0x11b0f0(0x19c)][_0x11b0f0(0x195)],'secretAccessKey':this['credentials']['secretAccessKey']}),this[_0x11b0f0(0x1a0)]=[];}[_0x56fcc7(0x1b7)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3ad9d1=_0x33f5;this[_0x3ad9d1(0x194)]===retrieve_status_enum_1[_0x3ad9d1(0x1c4)][_0x3ad9d1(0x1bc)]&&(yield this[_0x3ad9d1(0x19a)](),yield this[_0x3ad9d1(0x1b7)]());switch(this[_0x3ad9d1(0x194)]){case retrieve_status_enum_1[_0x3ad9d1(0x1c4)][_0x3ad9d1(0x1a7)]:yield(0x0,promises_1[_0x3ad9d1(0x1ac)])(this[_0x3ad9d1(0x1cc)]),yield this[_0x3ad9d1(0x1b7)]();break;case retrieve_status_enum_1['RetrieveStatus']['Exception']:throw new Error(this[_0x3ad9d1(0x1b1)]);}});}[_0x56fcc7(0x1a8)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2ea533=_0x33f5;if(this[_0x2ea533(0x194)]===retrieve_status_enum_1[_0x2ea533(0x1c4)][_0x2ea533(0x1a7)])throw new Error(_0x2ea533(0x1a5));if(this[_0x2ea533(0x1b6)]||!this[_0x2ea533(0x1a0)]['length'])throw new Error('No\x20files\x20left\x20to\x20execute.');const _0x1f9030=this[_0x2ea533(0x1a0)][_0x2ea533(0x18e)](),_0x2732a6=yield this[_0x2ea533(0x193)](_0x1f9030[_0x2ea533(0x188)]);return this[_0x2ea533(0x1b6)]=!this[_0x2ea533(0x1a0)][_0x2ea533(0x186)],{'path':this[_0x2ea533(0x188)]['split'](path_1[_0x2ea533(0x1ab)]['posix'][_0x2ea533(0x1ba)])[_0x2ea533(0x1ca)](path_1[_0x2ea533(0x1ab)][_0x2ea533(0x1ba)]),'content':_0x2732a6};});}[_0x56fcc7(0x196)](_0x2c452e){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2ae2f9=_0x33f5,_0x6093c3={'Bucket':this[_0x2ae2f9(0x19c)][_0x2ae2f9(0x1cd)],'Key':_0x2c452e},{StorageClass:_0x322e21,Restore:_0x179be0}=yield this['s3'][_0x2ae2f9(0x18d)](_0x6093c3)[_0x2ae2f9(0x1c6)]();return{'StorageClass':_0x322e21,'Restore':_0x179be0};});}[_0x56fcc7(0x18f)](_0x155f40){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3bf2b0=_0x33f5,_0x297f6f={'Bucket':this[_0x3bf2b0(0x19c)][_0x3bf2b0(0x1cd)],'Key':_0x155f40,'RestoreRequest':{'Days':0x1,'GlacierJobParameters':{'Tier':this[_0x3bf2b0(0x1c8)]}}};yield this['s3'][_0x3bf2b0(0x199)](_0x297f6f)[_0x3bf2b0(0x1c6)]();});}[_0x56fcc7(0x193)](_0x59ffdf){const _0x3d1ca5=_0x56fcc7,_0x1a915e={'Bucket':this[_0x3d1ca5(0x19c)]['bucketName'],'Key':_0x59ffdf};return this['s3'][_0x3d1ca5(0x1ad)](_0x1a915e)[_0x3d1ca5(0x1b3)]();}[_0x56fcc7(0x19a)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x318cc0=_0x33f5;yield this[_0x318cc0(0x1bd)](),yield this[_0x318cc0(0x190)](),this['status']=retrieve_status_enum_1['RetrieveStatus']['InProgress'],this[_0x318cc0(0x1b2)]()[_0x318cc0(0x1a9)](_0xb37e8d=>{const _0x3bca00=_0x318cc0;this[_0x3bca00(0x194)]=retrieve_status_enum_1[_0x3bca00(0x1c4)]['Exception'],this[_0x3bca00(0x1b1)]=_0xb37e8d[_0x3bca00(0x1a4)];});});}[_0x56fcc7(0x1bd)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1fc955=_0x33f5,_0x916eb4=yield aws_s3_utils_1[_0x1fc955(0x1a2)]['getFilesPaths'](this[_0x1fc955(0x188)],this[_0x1fc955(0x19c)]['bucketName'],this['s3']);for(const _0x57e279 of _0x916eb4){const _0xd72f70=yield this['fetchFileInfo'](_0x57e279);this[_0x1fc955(0x1a0)]['push']({'path':_0x57e279,'class':_0xd72f70[_0x1fc955(0x185)]||_0x1fc955(0x18a),'status':aws_s3_utils_1['AwsS3Utils'][_0x1fc955(0x1b0)](_0xd72f70)});}});}[_0x56fcc7(0x190)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2599fc=_0x33f5,_0x12f2af=this[_0x2599fc(0x1a0)][_0x2599fc(0x1aa)](_0x2d82bd=>_0x2d82bd[_0x2599fc(0x194)]===aws_types_1[_0x2599fc(0x18b)][_0x2599fc(0x1af)]);for(const _0x58660d of _0x12f2af){yield this[_0x2599fc(0x18f)](_0x58660d[_0x2599fc(0x188)]),_0x58660d[_0x2599fc(0x194)]=aws_types_1['AwsFileRetrieveStatus'][_0x2599fc(0x1c2)];}});}['updateFilesRetrieveStatus'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x18bada=_0x33f5,_0x24487d=this[_0x18bada(0x1a0)]['filter'](_0x296805=>_0x296805['status']===aws_types_1['AwsFileRetrieveStatus'][_0x18bada(0x1c2)]);for(const _0x2287d3 of _0x24487d){const _0x1ce6d4=yield this[_0x18bada(0x196)](_0x2287d3[_0x18bada(0x188)]);_0x2287d3['status']=aws_s3_utils_1[_0x18bada(0x1a2)][_0x18bada(0x1b0)](_0x1ce6d4);}});}[_0x56fcc7(0x1b2)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x52e21e=_0x33f5,_0x45a3f1=this[_0x52e21e(0x1a0)][_0x52e21e(0x1c7)](_0x463b28=>_0x463b28[_0x52e21e(0x194)]===aws_types_1[_0x52e21e(0x18b)][_0x52e21e(0x1c2)]);this[_0x52e21e(0x194)]=_0x45a3f1?retrieve_status_enum_1[_0x52e21e(0x1c4)][_0x52e21e(0x1a7)]:retrieve_status_enum_1[_0x52e21e(0x1c4)][_0x52e21e(0x1be)],_0x45a3f1&&(yield(0x0,promises_1[_0x52e21e(0x1ac)])(this['CHECK_RESTORED_TIMEOUT']),yield this[_0x52e21e(0x1bf)](),yield this[_0x52e21e(0x1b2)]());});}}exports['AwsS3Retrieve']=AwsS3Retrieve;
@@ -1 +1 @@
1
- 'use strict';function _0x5dd5(){const _0x233866=['__esModule','4813235eiCwyt','7zFMltv','Uninitialized','13433321BlWXmy','../types/retrieve-status.enum','91824ljQJuy','9490oAjREY','328XfIFMv','RetrieveStatus','63FTnXwq','BaseRetrieve','5109486ltTFtC','4515340jZXear','3qKCGtJ','10OVUMQJ','status','1151976GRpNIM','path','defineProperty'];_0x5dd5=function(){return _0x233866;};return _0x5dd5();}function _0x2d63(_0x53e493,_0x11f7d7){const _0x5dd5df=_0x5dd5();return _0x2d63=function(_0x2d6314,_0x1aa5ef){_0x2d6314=_0x2d6314-0x133;let _0x4dc1b9=_0x5dd5df[_0x2d6314];return _0x4dc1b9;},_0x2d63(_0x53e493,_0x11f7d7);}const _0xba863a=_0x2d63;(function(_0x258714,_0x27fd88){const _0x3d2c61=_0x2d63,_0x346a9a=_0x258714();while(!![]){try{const _0x2964c9=-parseInt(_0x3d2c61(0x142))/0x1*(parseInt(_0x3d2c61(0x143))/0x2)+parseInt(_0x3d2c61(0x135))/0x3*(parseInt(_0x3d2c61(0x134))/0x4)+parseInt(_0x3d2c61(0x13c))/0x5+-parseInt(_0x3d2c61(0x133))/0x6*(parseInt(_0x3d2c61(0x13d))/0x7)+parseInt(_0x3d2c61(0x141))/0x8*(parseInt(_0x3d2c61(0x145))/0x9)+-parseInt(_0x3d2c61(0x136))/0xa*(-parseInt(_0x3d2c61(0x13f))/0xb)+-parseInt(_0x3d2c61(0x138))/0xc;if(_0x2964c9===_0x27fd88)break;else _0x346a9a['push'](_0x346a9a['shift']());}catch(_0x555654){_0x346a9a['push'](_0x346a9a['shift']());}}}(_0x5dd5,0xd910c));Object[_0xba863a(0x13a)](exports,_0xba863a(0x13b),{'value':!![]}),exports[_0xba863a(0x146)]=void 0x0;const retrieve_status_enum_1=require(_0xba863a(0x140));class BaseRetrieve{constructor(_0x37cccc,_0x515ae8){const _0x43259e=_0xba863a;this['credentials']=_0x37cccc,this[_0x43259e(0x139)]=_0x515ae8,this['isDone']=![],this[_0x43259e(0x137)]=retrieve_status_enum_1[_0x43259e(0x144)][_0x43259e(0x13e)];}['getIsDone'](){return this['isDone'];}}exports['BaseRetrieve']=BaseRetrieve;
1
+ 'use strict';function _0x5e3b(){const _0x584ebe=['10tUKFgW','1191944bzuMyo','11995WQntDM','10622403oVMKms','../types/retrieve-status.enum','__esModule','defineProperty','624bzIqXV','4kXwFUy','7491306ZSBXtz','142655TcGnsZ','credentials','RetrieveStatus','BaseRetrieve','253836aZcitC','2080329EtkwKw','getIsDone','1419BujcNs','status','7ZoNFKI','isDone'];_0x5e3b=function(){return _0x584ebe;};return _0x5e3b();}function _0x5e29(_0x307925,_0x3cc8f5){const _0x5e3b77=_0x5e3b();return _0x5e29=function(_0x5e2973,_0x2802d7){_0x5e2973=_0x5e2973-0x6f;let _0x2f6d13=_0x5e3b77[_0x5e2973];return _0x2f6d13;},_0x5e29(_0x307925,_0x3cc8f5);}const _0x553a47=_0x5e29;(function(_0x1db1a2,_0x35af93){const _0x3b50bc=_0x5e29,_0x116d0b=_0x1db1a2();while(!![]){try{const _0x40fed0=parseInt(_0x3b50bc(0x80))/0x1+-parseInt(_0x3b50bc(0x7e))/0x2*(parseInt(_0x3b50bc(0x70))/0x3)+-parseInt(_0x3b50bc(0x7d))/0x4*(parseInt(_0x3b50bc(0x78))/0x5)+parseInt(_0x3b50bc(0x7f))/0x6*(-parseInt(_0x3b50bc(0x74))/0x7)+-parseInt(_0x3b50bc(0x77))/0x8+parseInt(_0x3b50bc(0x79))/0x9*(parseInt(_0x3b50bc(0x76))/0xa)+-parseInt(_0x3b50bc(0x72))/0xb*(-parseInt(_0x3b50bc(0x6f))/0xc);if(_0x40fed0===_0x35af93)break;else _0x116d0b['push'](_0x116d0b['shift']());}catch(_0x279448){_0x116d0b['push'](_0x116d0b['shift']());}}}(_0x5e3b,0xda039));Object[_0x553a47(0x7c)](exports,_0x553a47(0x7b),{'value':!![]}),exports[_0x553a47(0x83)]=void 0x0;const retrieve_status_enum_1=require(_0x553a47(0x7a));class BaseRetrieve{constructor(_0x92acd4,_0x4a9e3c){const _0x25a25a=_0x553a47;this[_0x25a25a(0x81)]=_0x92acd4,this['path']=_0x4a9e3c,this[_0x25a25a(0x75)]=![],this[_0x25a25a(0x73)]=retrieve_status_enum_1[_0x25a25a(0x82)]['Uninitialized'];}[_0x553a47(0x71)](){const _0x1ce1c6=_0x553a47;return this[_0x1ce1c6(0x75)];}}exports[_0x553a47(0x83)]=BaseRetrieve;
@@ -1 +1 @@
1
- 'use strict';var _0x34d387=_0x5caa;(function(_0x57dc1a,_0x402847){var _0x4a3a32=_0x5caa,_0x3062d2=_0x57dc1a();while(!![]){try{var _0x2814fa=-parseInt(_0x4a3a32(0x1cc))/0x1*(parseInt(_0x4a3a32(0x1d6))/0x2)+parseInt(_0x4a3a32(0x1c9))/0x3+parseInt(_0x4a3a32(0x1cd))/0x4*(-parseInt(_0x4a3a32(0x1d2))/0x5)+parseInt(_0x4a3a32(0x1d5))/0x6+-parseInt(_0x4a3a32(0x1cf))/0x7*(-parseInt(_0x4a3a32(0x1d0))/0x8)+-parseInt(_0x4a3a32(0x1d3))/0x9*(parseInt(_0x4a3a32(0x1c7))/0xa)+-parseInt(_0x4a3a32(0x1ce))/0xb;if(_0x2814fa===_0x402847)break;else _0x3062d2['push'](_0x3062d2['shift']());}catch(_0x441edf){_0x3062d2['push'](_0x3062d2['shift']());}}}(_0x1551,0x9068a));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x34d387(0x1c8)]=exports[_0x34d387(0x1cb)]=exports[_0x34d387(0x1d1)]=void 0x0;var base_retrieve_1=require('./base-retrieve');function _0x1551(){var _0x54b059=['AwsS3Retrieve','50QsxdCR','218508bmuOEW','8010552rYdXgk','7459249sNCyHo','8sCcpSX','BaseRetrieve','50lIdlZl','357543ibDrGs','defineProperty','5211390iLjWmK','8982tAfZeR','50sTwFNu','LocalRetrieve','1065039DgZxSo','./local-retrieve'];_0x1551=function(){return _0x54b059;};return _0x1551();}Object[_0x34d387(0x1d4)](exports,'BaseRetrieve',{'enumerable':!![],'get':function(){var _0x22f6af=_0x34d387;return base_retrieve_1[_0x22f6af(0x1d1)];}});function _0x5caa(_0x265d86,_0x488542){var _0x155110=_0x1551();return _0x5caa=function(_0x5caa67,_0x3df447){_0x5caa67=_0x5caa67-0x1c7;var _0x4856f4=_0x155110[_0x5caa67];return _0x4856f4;},_0x5caa(_0x265d86,_0x488542);}var aws_s3_retrieve_1=require('./aws-s3-retrieve');Object[_0x34d387(0x1d4)](exports,'AwsS3Retrieve',{'enumerable':!![],'get':function(){var _0x4ccd4a=_0x34d387;return aws_s3_retrieve_1[_0x4ccd4a(0x1cb)];}});var local_retrieve_1=require(_0x34d387(0x1ca));Object[_0x34d387(0x1d4)](exports,'LocalRetrieve',{'enumerable':!![],'get':function(){var _0x148525=_0x34d387;return local_retrieve_1[_0x148525(0x1c8)];}});
1
+ 'use strict';var _0x5776c6=_0x45dd;(function(_0x245ba7,_0x3a6b06){var _0x1c7379=_0x45dd,_0x398ca1=_0x245ba7();while(!![]){try{var _0x5d8f1f=-parseInt(_0x1c7379(0x176))/0x1*(-parseInt(_0x1c7379(0x183))/0x2)+parseInt(_0x1c7379(0x180))/0x3+parseInt(_0x1c7379(0x174))/0x4+-parseInt(_0x1c7379(0x17f))/0x5*(parseInt(_0x1c7379(0x17a))/0x6)+-parseInt(_0x1c7379(0x173))/0x7+-parseInt(_0x1c7379(0x17b))/0x8*(-parseInt(_0x1c7379(0x175))/0x9)+parseInt(_0x1c7379(0x184))/0xa*(parseInt(_0x1c7379(0x177))/0xb);if(_0x5d8f1f===_0x3a6b06)break;else _0x398ca1['push'](_0x398ca1['shift']());}catch(_0x549c4a){_0x398ca1['push'](_0x398ca1['shift']());}}}(_0x478c,0x75c2a));function _0x478c(){var _0x21a1d6=['6gEesFc','52232aVPWqo','./aws-s3-retrieve','__esModule','LocalRetrieve','2850145RtdSUV','434487ouHuBC','AwsS3Retrieve','./local-retrieve','2RbFhjB','6130PQKYAB','6541185UWyelt','489868TCIkFS','711Dlguwa','616489eMSbex','10538HkLynD','defineProperty','BaseRetrieve'];_0x478c=function(){return _0x21a1d6;};return _0x478c();}Object[_0x5776c6(0x178)](exports,_0x5776c6(0x17d),{'value':!![]}),exports[_0x5776c6(0x17e)]=exports[_0x5776c6(0x181)]=exports[_0x5776c6(0x179)]=void 0x0;var base_retrieve_1=require('./base-retrieve');Object[_0x5776c6(0x178)](exports,_0x5776c6(0x179),{'enumerable':!![],'get':function(){return base_retrieve_1['BaseRetrieve'];}});function _0x45dd(_0x252b1e,_0x45ed49){var _0x478cf6=_0x478c();return _0x45dd=function(_0x45ddd9,_0x157b2b){_0x45ddd9=_0x45ddd9-0x173;var _0x528a95=_0x478cf6[_0x45ddd9];return _0x528a95;},_0x45dd(_0x252b1e,_0x45ed49);}var aws_s3_retrieve_1=require(_0x5776c6(0x17c));Object['defineProperty'](exports,_0x5776c6(0x181),{'enumerable':!![],'get':function(){var _0x4c5b73=_0x5776c6;return aws_s3_retrieve_1[_0x4c5b73(0x181)];}});var local_retrieve_1=require(_0x5776c6(0x182));Object[_0x5776c6(0x178)](exports,_0x5776c6(0x17e),{'enumerable':!![],'get':function(){return local_retrieve_1['LocalRetrieve'];}});
@@ -1 +1 @@
1
- 'use strict';function _0x56b3(){const _0x177ce7=['filesPaths','apply','4078085WUqsuR','16648695iRobvJ','FsUtils','path','value','status','getFolderFiles','4186398XoEwwX','../types/retrieve-status.enum','isDone','9732HqIlFN','createReadStream','LocalRetrieve','then','2760880dAkWCd','471UWRLVM','554WwtKCv','done','__esModule','next','readFilesToRetrieve','__awaiter','1916rwssGD','5623499QXDQMM','RetrieveStatus'];_0x56b3=function(){return _0x177ce7;};return _0x56b3();}const _0x37ae06=_0x5535;(function(_0x4f960c,_0x1d72cc){const _0xeda383=_0x5535,_0x3ed1d8=_0x4f960c();while(!![]){try{const _0x4c21d8=-parseInt(_0xeda383(0x11d))/0x1*(parseInt(_0xeda383(0x123))/0x2)+-parseInt(_0xeda383(0x11c))/0x3*(-parseInt(_0xeda383(0x132))/0x4)+-parseInt(_0xeda383(0x128))/0x5+parseInt(_0xeda383(0x12f))/0x6+-parseInt(_0xeda383(0x124))/0x7+-parseInt(_0xeda383(0x136))/0x8+parseInt(_0xeda383(0x129))/0x9;if(_0x4c21d8===_0x1d72cc)break;else _0x3ed1d8['push'](_0x3ed1d8['shift']());}catch(_0x40caa5){_0x3ed1d8['push'](_0x3ed1d8['shift']());}}}(_0x56b3,0x6a241));var __awaiter=this&&this[_0x37ae06(0x122)]||function(_0x51e89d,_0x50330a,_0xac7527,_0x22292d){function _0x4db6d9(_0x5b2a49){return _0x5b2a49 instanceof _0xac7527?_0x5b2a49:new _0xac7527(function(_0x5932cc){_0x5932cc(_0x5b2a49);});}return new(_0xac7527||(_0xac7527=Promise))(function(_0x3eba75,_0x5a60e1){const _0x134a59=_0x5535;function _0x22e61a(_0x107f74){const _0x120e68=_0x5535;try{_0x449e4d(_0x22292d[_0x120e68(0x120)](_0x107f74));}catch(_0x358b30){_0x5a60e1(_0x358b30);}}function _0x54636f(_0x180c1a){try{_0x449e4d(_0x22292d['throw'](_0x180c1a));}catch(_0x905014){_0x5a60e1(_0x905014);}}function _0x449e4d(_0x28cc8f){const _0x6ae083=_0x5535;_0x28cc8f[_0x6ae083(0x11e)]?_0x3eba75(_0x28cc8f[_0x6ae083(0x12c)]):_0x4db6d9(_0x28cc8f[_0x6ae083(0x12c)])[_0x6ae083(0x135)](_0x22e61a,_0x54636f);}_0x449e4d((_0x22292d=_0x22292d[_0x134a59(0x127)](_0x51e89d,_0x50330a||[]))[_0x134a59(0x120)]());});};Object['defineProperty'](exports,_0x37ae06(0x11f),{'value':!![]}),exports['LocalRetrieve']=void 0x0;const fs_1=require('fs'),utils_1=require('@flosum-service/utils'),_1=require('./'),retrieve_status_enum_1=require(_0x37ae06(0x130));function _0x5535(_0x1a9523,_0x217709){const _0x56b3b8=_0x56b3();return _0x5535=function(_0x553552,_0x46dc06){_0x553552=_0x553552-0x11c;let _0x14329a=_0x56b3b8[_0x553552];return _0x14329a;},_0x5535(_0x1a9523,_0x217709);}class LocalRetrieve extends _1['BaseRetrieve']{constructor(){super(...arguments),this['filesPaths']=[];}['execute'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x10451c=_0x5535,_0x5bcb0e=this[_0x10451c(0x126)]['shift'](),_0x20df0e=(0x0,fs_1[_0x10451c(0x133)])(_0x5bcb0e);return this[_0x10451c(0x131)]=!this['filesPaths']['length'],{'path':_0x5bcb0e,'content':_0x20df0e};});}[_0x37ae06(0x121)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0xa79870=_0x5535;this[_0xa79870(0x126)]=yield utils_1[_0xa79870(0x12a)][_0xa79870(0x12e)](this[_0xa79870(0x12b)]);});}['waitUtilRetrieveDone'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0xe3c017=_0x5535;this[_0xe3c017(0x12d)]===retrieve_status_enum_1[_0xe3c017(0x125)]['Uninitialized']&&(yield this[_0xe3c017(0x121)](),this['status']=retrieve_status_enum_1['RetrieveStatus']['Completed']);});}}exports[_0x37ae06(0x134)]=LocalRetrieve;
1
+ 'use strict';const _0x5747e4=_0x47b9;(function(_0xe048f5,_0x73745b){const _0x575e3a=_0x47b9,_0x1b2028=_0xe048f5();while(!![]){try{const _0x5d9f86=parseInt(_0x575e3a(0x178))/0x1+-parseInt(_0x575e3a(0x160))/0x2+-parseInt(_0x575e3a(0x17a))/0x3*(parseInt(_0x575e3a(0x180))/0x4)+-parseInt(_0x575e3a(0x179))/0x5+-parseInt(_0x575e3a(0x17f))/0x6+-parseInt(_0x575e3a(0x164))/0x7*(-parseInt(_0x575e3a(0x174))/0x8)+-parseInt(_0x575e3a(0x16f))/0x9*(-parseInt(_0x575e3a(0x17e))/0xa);if(_0x5d9f86===_0x73745b)break;else _0x1b2028['push'](_0x1b2028['shift']());}catch(_0x21a982){_0x1b2028['push'](_0x1b2028['shift']());}}}(_0x68c4,0x480a0));var __awaiter=this&&this['__awaiter']||function(_0x4623eb,_0x2248fc,_0x37147a,_0x2cc417){function _0x20a62e(_0xc74e96){return _0xc74e96 instanceof _0x37147a?_0xc74e96:new _0x37147a(function(_0x424199){_0x424199(_0xc74e96);});}return new(_0x37147a||(_0x37147a=Promise))(function(_0x593a63,_0x56f6f2){const _0x5f38fb=_0x47b9;function _0x18662d(_0x4115e1){const _0x3f2464=_0x47b9;try{_0x5ed2c3(_0x2cc417[_0x3f2464(0x16a)](_0x4115e1));}catch(_0x4a35e0){_0x56f6f2(_0x4a35e0);}}function _0x407a98(_0x466b20){const _0x4ce08a=_0x47b9;try{_0x5ed2c3(_0x2cc417[_0x4ce08a(0x172)](_0x466b20));}catch(_0x1316e2){_0x56f6f2(_0x1316e2);}}function _0x5ed2c3(_0x48ae36){const _0x57b89d=_0x47b9;_0x48ae36[_0x57b89d(0x16d)]?_0x593a63(_0x48ae36[_0x57b89d(0x16b)]):_0x20a62e(_0x48ae36[_0x57b89d(0x16b)])[_0x57b89d(0x17c)](_0x18662d,_0x407a98);}_0x5ed2c3((_0x2cc417=_0x2cc417[_0x5f38fb(0x167)](_0x4623eb,_0x2248fc||[]))[_0x5f38fb(0x16a)]());});};function _0x47b9(_0x5ad13e,_0x313eba){const _0x68c49e=_0x68c4();return _0x47b9=function(_0x47b94e,_0x18da99){_0x47b94e=_0x47b94e-0x15f;let _0x16d4bd=_0x68c49e[_0x47b94e];return _0x16d4bd;},_0x47b9(_0x5ad13e,_0x313eba);}Object[_0x5747e4(0x170)](exports,'__esModule',{'value':!![]}),exports['LocalRetrieve']=void 0x0;const fs_1=require('fs'),utils_1=require(_0x5747e4(0x16c)),_1=require('./'),retrieve_status_enum_1=require(_0x5747e4(0x162));class LocalRetrieve extends _1[_0x5747e4(0x169)]{constructor(){super(...arguments),this['filesPaths']=[];}[_0x5747e4(0x176)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x24e6c7=_0x47b9,_0x46fecf=this[_0x24e6c7(0x161)][_0x24e6c7(0x177)](),_0x462785=(0x0,fs_1[_0x24e6c7(0x166)])(_0x46fecf);return this[_0x24e6c7(0x17d)]=!this['filesPaths'][_0x24e6c7(0x15f)],{'path':_0x46fecf,'content':_0x462785};});}['readFilesToRetrieve'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1842e9=_0x47b9;this['filesPaths']=yield utils_1[_0x1842e9(0x17b)]['getFolderFiles'](this[_0x1842e9(0x175)]);});}[_0x5747e4(0x165)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5e1be9=_0x47b9;this[_0x5e1be9(0x168)]===retrieve_status_enum_1['RetrieveStatus'][_0x5e1be9(0x173)]&&(yield this[_0x5e1be9(0x16e)](),this[_0x5e1be9(0x168)]=retrieve_status_enum_1[_0x5e1be9(0x171)]['Completed']);});}}function _0x68c4(){const _0x252bd6=['readFilesToRetrieve','162GGfmVx','defineProperty','RetrieveStatus','throw','Uninitialized','3368WvUxKG','path','execute','shift','69391ZTCJni','2141380kgMxiH','479847CGtjPb','FsUtils','then','isDone','512640wtNJmE','599268FhUAGL','4GmSOuJ','length','616598QgDXBd','filesPaths','../types/retrieve-status.enum','LocalRetrieve','4977nmTiRZ','waitUtilRetrieveDone','createReadStream','apply','status','BaseRetrieve','next','value','@flosum-service/utils','done'];_0x68c4=function(){return _0x252bd6;};return _0x68c4();}exports[_0x5747e4(0x163)]=LocalRetrieve;
@@ -1 +1 @@
1
- 'use strict';var _0x9da698=_0x1bcf;(function(_0x15b660,_0x510602){var _0x9c8353=_0x1bcf,_0x204f03=_0x15b660();while(!![]){try{var _0x5ab72c=-parseInt(_0x9c8353(0x177))/0x1+parseInt(_0x9c8353(0x16f))/0x2*(-parseInt(_0x9c8353(0x174))/0x3)+-parseInt(_0x9c8353(0x173))/0x4*(parseInt(_0x9c8353(0x16d))/0x5)+parseInt(_0x9c8353(0x171))/0x6*(-parseInt(_0x9c8353(0x16b))/0x7)+-parseInt(_0x9c8353(0x16e))/0x8*(parseInt(_0x9c8353(0x169))/0x9)+parseInt(_0x9c8353(0x172))/0xa+parseInt(_0x9c8353(0x16c))/0xb;if(_0x5ab72c===_0x510602)break;else _0x204f03['push'](_0x204f03['shift']());}catch(_0x3c4001){_0x204f03['push'](_0x204f03['shift']());}}}(_0x1208,0xd5268));Object[_0x9da698(0x16a)](exports,_0x9da698(0x170),{'value':!![]}),exports['AwsFileRetrieveStatus']=void 0x0;function _0x1bcf(_0x3fe31d,_0x823cc0){var _0x1208b7=_0x1208();return _0x1bcf=function(_0x1bcf1e,_0x2d46ea){_0x1bcf1e=_0x1bcf1e-0x168;var _0x1f39df=_0x1208b7[_0x1bcf1e];return _0x1f39df;},_0x1bcf(_0x3fe31d,_0x823cc0);}var AwsFileRetrieveStatus;function _0x1208(){var _0x188566=['170bujyKU','6108088WVCkvg','1324692oBsAbf','__esModule','1156182IbdEKy','10181030tljzza','197044IcNjoJ','3ipXXLp','Available','AwsFileRetrieveStatus','1528281mlHGWZ','Restoring','9EWqVMw','defineProperty','7DMDtOt','51443370iahuGs'];_0x1208=function(){return _0x188566;};return _0x1208();}(function(_0x1e3ce5){var _0x1837b8=_0x9da698;_0x1e3ce5[_0x1837b8(0x175)]=_0x1837b8(0x175),_0x1e3ce5[_0x1837b8(0x168)]=_0x1837b8(0x168),_0x1e3ce5['NeedRestore']='NeedRestore';}(AwsFileRetrieveStatus=exports['AwsFileRetrieveStatus']||(exports[_0x9da698(0x176)]={})));
1
+ 'use strict';function _0x4c7b(){var _0xe67d4a=['97638FhmBrz','23QPwLcv','NeedRestore','1015029bYpqoC','Restoring','3123618bBTTTu','AwsFileRetrieveStatus','11179737NArUwT','7cuzhpu','2582080IWqSJi','4300vnLUkZ','298661koiCbL','__esModule','460CboSpK','Available','5745feJfIH'];_0x4c7b=function(){return _0xe67d4a;};return _0x4c7b();}function _0x16c7(_0x2259b4,_0x3499a6){var _0x4c7b79=_0x4c7b();return _0x16c7=function(_0x16c781,_0x2c7e35){_0x16c781=_0x16c781-0x1de;var _0x2cbd73=_0x4c7b79[_0x16c781];return _0x2cbd73;},_0x16c7(_0x2259b4,_0x3499a6);}var _0x2bd19a=_0x16c7;(function(_0x484d0f,_0x252d97){var _0x3eeee4=_0x16c7,_0x3d4265=_0x484d0f();while(!![]){try{var _0x525241=-parseInt(_0x3eeee4(0x1df))/0x1*(parseInt(_0x3eeee4(0x1de))/0x2)+-parseInt(_0x3eeee4(0x1e1))/0x3+-parseInt(_0x3eeee4(0x1e8))/0x4*(-parseInt(_0x3eeee4(0x1ed))/0x5)+parseInt(_0x3eeee4(0x1e3))/0x6+-parseInt(_0x3eeee4(0x1e6))/0x7*(-parseInt(_0x3eeee4(0x1e7))/0x8)+-parseInt(_0x3eeee4(0x1e5))/0x9+-parseInt(_0x3eeee4(0x1eb))/0xa*(-parseInt(_0x3eeee4(0x1e9))/0xb);if(_0x525241===_0x252d97)break;else _0x3d4265['push'](_0x3d4265['shift']());}catch(_0x48e3e7){_0x3d4265['push'](_0x3d4265['shift']());}}}(_0x4c7b,0x985ef));Object['defineProperty'](exports,_0x2bd19a(0x1ea),{'value':!![]}),exports[_0x2bd19a(0x1e4)]=void 0x0;var AwsFileRetrieveStatus;(function(_0x3d7864){var _0x4f459f=_0x2bd19a;_0x3d7864['Available']=_0x4f459f(0x1ec),_0x3d7864['Restoring']=_0x4f459f(0x1e2),_0x3d7864[_0x4f459f(0x1e0)]='NeedRestore';}(AwsFileRetrieveStatus=exports[_0x2bd19a(0x1e4)]||(exports[_0x2bd19a(0x1e4)]={})));
@@ -1 +1 @@
1
- 'use strict';function _0x37cb(_0x500a96,_0x5b8df8){var _0x161cec=_0x161c();return _0x37cb=function(_0x37cbc7,_0x234b18){_0x37cbc7=_0x37cbc7-0x1ce;var _0x41e8d0=_0x161cec[_0x37cbc7];return _0x41e8d0;},_0x37cb(_0x500a96,_0x5b8df8);}function _0x161c(){var _0x3d2252=['2373025FYnjWH','672468VDyMjW','748SOyVdm','48rLAMfP','defineProperty','36mmtwoe','StorageType','1910XJcHAQ','57557mtxBkI','1513832CWjgCx','4VjvFlx','416101OpzlqL','8Atoumj','78muKDBB','__esModule','1519206GtRXAj'];_0x161c=function(){return _0x3d2252;};return _0x161c();}var _0x3949ff=_0x37cb;(function(_0x3ab767,_0x4bb171){var _0x148e19=_0x37cb,_0x6d7a15=_0x3ab767();while(!![]){try{var _0x16e533=parseInt(_0x148e19(0x1d0))/0x1*(parseInt(_0x148e19(0x1d4))/0x2)+parseInt(_0x148e19(0x1d9))/0x3*(parseInt(_0x148e19(0x1d2))/0x4)+parseInt(_0x148e19(0x1d8))/0x5+parseInt(_0x148e19(0x1d5))/0x6*(parseInt(_0x148e19(0x1d3))/0x7)+parseInt(_0x148e19(0x1d1))/0x8*(-parseInt(_0x148e19(0x1dd))/0x9)+-parseInt(_0x148e19(0x1cf))/0xa*(-parseInt(_0x148e19(0x1da))/0xb)+parseInt(_0x148e19(0x1db))/0xc*(-parseInt(_0x148e19(0x1d7))/0xd);if(_0x16e533===_0x4bb171)break;else _0x6d7a15['push'](_0x6d7a15['shift']());}catch(_0x378efd){_0x6d7a15['push'](_0x6d7a15['shift']());}}}(_0x161c,0x77b84));Object[_0x3949ff(0x1dc)](exports,_0x3949ff(0x1d6),{'value':!![]}),exports[_0x3949ff(0x1ce)]=void 0x0;var storage_type_enum_1=require('./storage-type.enum');Object[_0x3949ff(0x1dc)](exports,_0x3949ff(0x1ce),{'enumerable':!![],'get':function(){return storage_type_enum_1['StorageType'];}});
1
+ 'use strict';function _0x2805(_0x28ae55,_0x3ac6bf){var _0x2673b4=_0x2673();return _0x2805=function(_0x280566,_0x1ec2a7){_0x280566=_0x280566-0xd9;var _0x28e7e4=_0x2673b4[_0x280566];return _0x28e7e4;},_0x2805(_0x28ae55,_0x3ac6bf);}var _0x16e058=_0x2805;(function(_0x578af1,_0x571540){var _0x556491=_0x2805,_0x2cdc72=_0x578af1();while(!![]){try{var _0x4b1547=parseInt(_0x556491(0xe4))/0x1+parseInt(_0x556491(0xdb))/0x2*(-parseInt(_0x556491(0xdd))/0x3)+parseInt(_0x556491(0xde))/0x4*(-parseInt(_0x556491(0xe3))/0x5)+parseInt(_0x556491(0xe6))/0x6*(-parseInt(_0x556491(0xe7))/0x7)+parseInt(_0x556491(0xda))/0x8+parseInt(_0x556491(0xd9))/0x9+-parseInt(_0x556491(0xe5))/0xa*(parseInt(_0x556491(0xdc))/0xb);if(_0x4b1547===_0x571540)break;else _0x2cdc72['push'](_0x2cdc72['shift']());}catch(_0x3861dc){_0x2cdc72['push'](_0x2cdc72['shift']());}}}(_0x2673,0x445cc));Object[_0x16e058(0xe2)](exports,_0x16e058(0xdf),{'value':!![]}),exports[_0x16e058(0xe0)]=void 0x0;function _0x2673(){var _0x3e93bd=['5JgaupX','433065ybiDGG','130VmjwDS','12VeWezF','991053FgdgBv','2729997aEpWJO','1314256hyizuH','133834FueYfo','27841gAczBH','12VlAzij','147756zQtRqG','__esModule','StorageType','./storage-type.enum','defineProperty'];_0x2673=function(){return _0x3e93bd;};return _0x2673();}var storage_type_enum_1=require(_0x16e058(0xe1));Object[_0x16e058(0xe2)](exports,'StorageType',{'enumerable':!![],'get':function(){return storage_type_enum_1['StorageType'];}});
@@ -1 +1 @@
1
- 'use strict';var _0x233541=_0x3c5f;(function(_0x25b9d6,_0x24a600){var _0x37514a=_0x3c5f,_0x75c932=_0x25b9d6();while(!![]){try{var _0x1e0575=-parseInt(_0x37514a(0xb8))/0x1*(parseInt(_0x37514a(0xb5))/0x2)+-parseInt(_0x37514a(0xb7))/0x3+-parseInt(_0x37514a(0xbe))/0x4*(-parseInt(_0x37514a(0xc0))/0x5)+parseInt(_0x37514a(0xb6))/0x6+parseInt(_0x37514a(0xc1))/0x7*(-parseInt(_0x37514a(0xba))/0x8)+-parseInt(_0x37514a(0xbf))/0x9+parseInt(_0x37514a(0xbd))/0xa*(parseInt(_0x37514a(0xbc))/0xb);if(_0x1e0575===_0x24a600)break;else _0x75c932['push'](_0x75c932['shift']());}catch(_0x15403a){_0x75c932['push'](_0x75c932['shift']());}}}(_0x1705,0xa2152));function _0x1705(){var _0xa7a248=['defineProperty','18162089mSmBni','10JiDKaR','4aWjwYc','5750055zLbnCw','2970905CKpDQl','7sFtNxi','1010ORyYeB','6180072tCnBtr','2248785wFAbzA','569afNAbC','__esModule','7484536QwWeAG'];_0x1705=function(){return _0xa7a248;};return _0x1705();}function _0x3c5f(_0x243755,_0x2a2c21){var _0x17057c=_0x1705();return _0x3c5f=function(_0x3c5f6d,_0x47aa18){_0x3c5f6d=_0x3c5f6d-0xb5;var _0x3af904=_0x17057c[_0x3c5f6d];return _0x3af904;},_0x3c5f(_0x243755,_0x2a2c21);}Object[_0x233541(0xbb)](exports,_0x233541(0xb9),{'value':!![]});
1
+ 'use strict';function _0x16ee(){var _0x3ba367=['3873305zlzhzf','2306ILAxfm','8TGBvqg','4JIfiJN','1511293CXwtuf','defineProperty','744xwkXxg','1085232qlMCVX','440292tQUsPX','7474779lVJoIf','26391860VKcmCD'];_0x16ee=function(){return _0x3ba367;};return _0x16ee();}var _0xd61eb8=_0x20a5;function _0x20a5(_0x42b641,_0x48d6ad){var _0x16eef3=_0x16ee();return _0x20a5=function(_0x20a54c,_0x2ae00b){_0x20a54c=_0x20a54c-0xd4;var _0x726266=_0x16eef3[_0x20a54c];return _0x726266;},_0x20a5(_0x42b641,_0x48d6ad);}(function(_0x5661f8,_0x1a86d0){var _0x2c1535=_0x20a5,_0x82d274=_0x5661f8();while(!![]){try{var _0x585f9e=parseInt(_0x2c1535(0xd9))/0x1*(parseInt(_0x2c1535(0xde))/0x2)+parseInt(_0x2c1535(0xd4))/0x3+-parseInt(_0x2c1535(0xdb))/0x4*(-parseInt(_0x2c1535(0xd8))/0x5)+parseInt(_0x2c1535(0xd5))/0x6+-parseInt(_0x2c1535(0xdc))/0x7*(-parseInt(_0x2c1535(0xda))/0x8)+parseInt(_0x2c1535(0xd6))/0x9+-parseInt(_0x2c1535(0xd7))/0xa;if(_0x585f9e===_0x1a86d0)break;else _0x82d274['push'](_0x82d274['shift']());}catch(_0x5063a3){_0x82d274['push'](_0x82d274['shift']());}}}(_0x16ee,0x73eef));Object[_0xd61eb8(0xdd)](exports,'__esModule',{'value':!![]});
@@ -1 +1 @@
1
- 'use strict';var _0x1fc4cc=_0x33c5;function _0x33c5(_0x508342,_0x1bf741){var _0x1113c2=_0x1113();return _0x33c5=function(_0x33c542,_0x725ce9){_0x33c542=_0x33c542-0x86;var _0x8669d0=_0x1113c2[_0x33c542];return _0x8669d0;},_0x33c5(_0x508342,_0x1bf741);}function _0x1113(){var _0x3297e6=['__esModule','6027vzPfyr','Uninitialized','192anARVF','35198ryldJN','1074bIYchU','3210BiESeh','1260dmEvTz','17qgKNAg','RetrieveStatus','3712555fhYmov','Exception','In\x20Progress','850992dqLuNM','Completed','323776dQbIth','31615XavWbn'];_0x1113=function(){return _0x3297e6;};return _0x1113();}(function(_0x7af7fa,_0x3bcac6){var _0x54f260=_0x33c5,_0x2d6abc=_0x7af7fa();while(!![]){try{var _0xa9129a=-parseInt(_0x54f260(0x95))/0x1*(parseInt(_0x54f260(0x91))/0x2)+parseInt(_0x54f260(0x89))/0x3+parseInt(_0x54f260(0x90))/0x4*(parseInt(_0x54f260(0x8c))/0x5)+-parseInt(_0x54f260(0x92))/0x6*(-parseInt(_0x54f260(0x8e))/0x7)+parseInt(_0x54f260(0x8b))/0x8+-parseInt(_0x54f260(0x94))/0x9*(-parseInt(_0x54f260(0x93))/0xa)+-parseInt(_0x54f260(0x86))/0xb;if(_0xa9129a===_0x3bcac6)break;else _0x2d6abc['push'](_0x2d6abc['shift']());}catch(_0xc16e62){_0x2d6abc['push'](_0x2d6abc['shift']());}}}(_0x1113,0x2e63b));Object['defineProperty'](exports,_0x1fc4cc(0x8d),{'value':!![]}),exports[_0x1fc4cc(0x96)]=void 0x0;var RetrieveStatus;(function(_0x3da964){var _0x1dece6=_0x1fc4cc;_0x3da964[_0x1dece6(0x8f)]=_0x1dece6(0x8f),_0x3da964['InProgress']=_0x1dece6(0x88),_0x3da964[_0x1dece6(0x8a)]=_0x1dece6(0x8a),_0x3da964[_0x1dece6(0x87)]=_0x1dece6(0x87);}(RetrieveStatus=exports[_0x1fc4cc(0x96)]||(exports['RetrieveStatus']={})));
1
+ 'use strict';var _0x13fd03=_0x32a4;(function(_0x3cea22,_0x47ff18){var _0x114a83=_0x32a4,_0x1603b4=_0x3cea22();while(!![]){try{var _0x12ba57=-parseInt(_0x114a83(0x134))/0x1+parseInt(_0x114a83(0x135))/0x2+parseInt(_0x114a83(0x12f))/0x3+-parseInt(_0x114a83(0x136))/0x4+parseInt(_0x114a83(0x130))/0x5+-parseInt(_0x114a83(0x139))/0x6+-parseInt(_0x114a83(0x12e))/0x7*(parseInt(_0x114a83(0x138))/0x8);if(_0x12ba57===_0x47ff18)break;else _0x1603b4['push'](_0x1603b4['shift']());}catch(_0xac9a17){_0x1603b4['push'](_0x1603b4['shift']());}}}(_0x1162,0x2e60d));Object[_0x13fd03(0x131)](exports,'__esModule',{'value':!![]}),exports[_0x13fd03(0x137)]=void 0x0;function _0x32a4(_0x254281,_0xf2c58d){var _0x11626e=_0x1162();return _0x32a4=function(_0x32a4b7,_0x3381e3){_0x32a4b7=_0x32a4b7-0x12e;var _0x5b29ab=_0x11626e[_0x32a4b7];return _0x5b29ab;},_0x32a4(_0x254281,_0xf2c58d);}var RetrieveStatus;(function(_0x4f3ba5){var _0x23dd95=_0x13fd03;_0x4f3ba5['Uninitialized']='Uninitialized',_0x4f3ba5['InProgress']=_0x23dd95(0x132),_0x4f3ba5[_0x23dd95(0x133)]='Completed',_0x4f3ba5[_0x23dd95(0x13a)]='Exception';}(RetrieveStatus=exports[_0x13fd03(0x137)]||(exports[_0x13fd03(0x137)]={})));function _0x1162(){var _0x2239f7=['8207DPvGfc','447602fUeqDA','516328UyrwYu','RetrieveStatus','23224tKASOc','1602978lhTJau','Exception','763pQFIQG','1024968FBRlFI','1726935VBxbtY','defineProperty','In\x20Progress','Completed'];_0x1162=function(){return _0x2239f7;};return _0x1162();}
@@ -1 +1 @@
1
- 'use strict';function _0x10f0(_0x345676,_0x2f06a0){var _0xbb6017=_0xbb60();return _0x10f0=function(_0x10f04b,_0x3656d7){_0x10f04b=_0x10f04b-0xdc;var _0x33dc76=_0xbb6017[_0x10f04b];return _0x33dc76;},_0x10f0(_0x345676,_0x2f06a0);}var _0x433de2=_0x10f0;(function(_0x2d0447,_0x21d7e6){var _0x1a7aa8=_0x10f0,_0x271110=_0x2d0447();while(!![]){try{var _0x17b883=parseInt(_0x1a7aa8(0xe9))/0x1*(-parseInt(_0x1a7aa8(0xe2))/0x2)+parseInt(_0x1a7aa8(0xe8))/0x3+parseInt(_0x1a7aa8(0xe7))/0x4*(-parseInt(_0x1a7aa8(0xde))/0x5)+parseInt(_0x1a7aa8(0xdd))/0x6*(parseInt(_0x1a7aa8(0xe6))/0x7)+parseInt(_0x1a7aa8(0xeb))/0x8*(-parseInt(_0x1a7aa8(0xe3))/0x9)+-parseInt(_0x1a7aa8(0xe1))/0xa+-parseInt(_0x1a7aa8(0xdf))/0xb*(-parseInt(_0x1a7aa8(0xec))/0xc);if(_0x17b883===_0x21d7e6)break;else _0x271110['push'](_0x271110['shift']());}catch(_0x5aac90){_0x271110['push'](_0x271110['shift']());}}}(_0xbb60,0x7045f));Object[_0x433de2(0xe0)](exports,_0x433de2(0xea),{'value':!![]}),exports[_0x433de2(0xe4)]=void 0x0;function _0xbb60(){var _0x261054=['Local','510zNiNOf','5FlhYTI','2955436xTaNao','defineProperty','5139460HdzSjc','10krYQKj','1619451eaMIeU','StorageType','AWS_S3','70357aIXEcY','2462476cJsLMb','1669848ocAPgO','53533yAhZdy','__esModule','16QKhZep','36dNadsJ'];_0xbb60=function(){return _0x261054;};return _0xbb60();}var StorageType;(function(_0x4ec068){var _0x272b7e=_0x433de2;_0x4ec068[_0x272b7e(0xdc)]=_0x272b7e(0xdc),_0x4ec068[_0x272b7e(0xe5)]=_0x272b7e(0xe5);}(StorageType=exports[_0x433de2(0xe4)]||(exports[_0x433de2(0xe4)]={})));
1
+ 'use strict';function _0x2679(_0x16ef3f,_0x3c4cee){var _0x33be82=_0x33be();return _0x2679=function(_0x2679c4,_0x173ca4){_0x2679c4=_0x2679c4-0x1b7;var _0x3e4b16=_0x33be82[_0x2679c4];return _0x3e4b16;},_0x2679(_0x16ef3f,_0x3c4cee);}var _0x166e5f=_0x2679;(function(_0xec5c54,_0x3584ca){var _0x265e1e=_0x2679,_0x2a3e17=_0xec5c54();while(!![]){try{var _0x14c67c=parseInt(_0x265e1e(0x1c5))/0x1+parseInt(_0x265e1e(0x1b9))/0x2*(parseInt(_0x265e1e(0x1c2))/0x3)+parseInt(_0x265e1e(0x1b7))/0x4+-parseInt(_0x265e1e(0x1c6))/0x5+-parseInt(_0x265e1e(0x1c0))/0x6*(parseInt(_0x265e1e(0x1bc))/0x7)+-parseInt(_0x265e1e(0x1bb))/0x8*(-parseInt(_0x265e1e(0x1c3))/0x9)+-parseInt(_0x265e1e(0x1bd))/0xa*(parseInt(_0x265e1e(0x1c4))/0xb);if(_0x14c67c===_0x3584ca)break;else _0x2a3e17['push'](_0x2a3e17['shift']());}catch(_0x4c5606){_0x2a3e17['push'](_0x2a3e17['shift']());}}}(_0x33be,0xe74d3));function _0x33be(){var _0x408963=['1592922RCfJwj','__esModule','810450aOfoWK','441pGcgua','11BpgMFk','1269309YGpPgr','3049910knKVdM','6011224hCVLDO','AWS_S3','12fmSEBg','Local','4176pykNss','49ITWNiG','10027910IMyfvW','StorageType','defineProperty'];_0x33be=function(){return _0x408963;};return _0x33be();}Object[_0x166e5f(0x1bf)](exports,_0x166e5f(0x1c1),{'value':!![]}),exports[_0x166e5f(0x1be)]=void 0x0;var StorageType;(function(_0xe01de3){var _0x55b02a=_0x166e5f;_0xe01de3['Local']=_0x55b02a(0x1ba),_0xe01de3[_0x55b02a(0x1b8)]=_0x55b02a(0x1b8);}(StorageType=exports[_0x166e5f(0x1be)]||(exports[_0x166e5f(0x1be)]={})));
@@ -1 +1 @@
1
- 'use strict';const _0x15c8bf=_0x5480;function _0x5480(_0x22c951,_0x41fc0b){const _0x1cf4aa=_0x1cf4();return _0x5480=function(_0x54800b,_0x10c057){_0x54800b=_0x54800b-0x99;let _0x513aa5=_0x1cf4aa[_0x54800b];return _0x513aa5;},_0x5480(_0x22c951,_0x41fc0b);}(function(_0x2bf6c4,_0x5967e7){const _0x3cd507=_0x5480,_0x30993d=_0x2bf6c4();while(!![]){try{const _0xadb2d0=parseInt(_0x3cd507(0xa7))/0x1+-parseInt(_0x3cd507(0xb4))/0x2*(parseInt(_0x3cd507(0xa9))/0x3)+parseInt(_0x3cd507(0xa2))/0x4+parseInt(_0x3cd507(0xaa))/0x5*(-parseInt(_0x3cd507(0xae))/0x6)+parseInt(_0x3cd507(0xb6))/0x7*(-parseInt(_0x3cd507(0xb8))/0x8)+-parseInt(_0x3cd507(0xad))/0x9*(-parseInt(_0x3cd507(0xa3))/0xa)+parseInt(_0x3cd507(0xa5))/0xb*(parseInt(_0x3cd507(0x9d))/0xc);if(_0xadb2d0===_0x5967e7)break;else _0x30993d['push'](_0x30993d['shift']());}catch(_0x294b74){_0x30993d['push'](_0x30993d['shift']());}}}(_0x1cf4,0x66c13));var __awaiter=this&&this[_0x15c8bf(0x9f)]||function(_0x2f6c68,_0x2a6862,_0x32bff2,_0x228dd9){function _0x2b398d(_0xde6772){return _0xde6772 instanceof _0x32bff2?_0xde6772:new _0x32bff2(function(_0x656b77){_0x656b77(_0xde6772);});}return new(_0x32bff2||(_0x32bff2=Promise))(function(_0x32cd8e,_0xfe6264){const _0x5baf96=_0x5480;function _0x50ee5b(_0x32f107){const _0x1f7d4c=_0x5480;try{_0x1843ff(_0x228dd9[_0x1f7d4c(0x9a)](_0x32f107));}catch(_0x50b8a6){_0xfe6264(_0x50b8a6);}}function _0x499d70(_0x26d179){const _0x210716=_0x5480;try{_0x1843ff(_0x228dd9[_0x210716(0xb5)](_0x26d179));}catch(_0x44b4eb){_0xfe6264(_0x44b4eb);}}function _0x1843ff(_0x203a71){const _0xf7fa85=_0x5480;_0x203a71[_0xf7fa85(0xa4)]?_0x32cd8e(_0x203a71['value']):_0x2b398d(_0x203a71['value'])['then'](_0x50ee5b,_0x499d70);}_0x1843ff((_0x228dd9=_0x228dd9[_0x5baf96(0xb7)](_0x2f6c68,_0x2a6862||[]))[_0x5baf96(0x9a)]());});};Object[_0x15c8bf(0xbc)](exports,_0x15c8bf(0xa8),{'value':!![]}),exports[_0x15c8bf(0xb1)]=void 0x0;const aws_types_1=require(_0x15c8bf(0xa6));class AwsS3Utils{static[_0x15c8bf(0xab)](_0x522c52){const _0x1039b3=_0x15c8bf;if(_0x522c52[_0x1039b3(0x9b)]===_0x1039b3(0xba)||_0x522c52[_0x1039b3(0x9b)]==='Deep'){if(_0x522c52['Restore'])return AwsS3Utils[_0x1039b3(0xb2)](_0x522c52[_0x1039b3(0xb3)]);return aws_types_1['AwsFileRetrieveStatus'][_0x1039b3(0xb9)];}return aws_types_1[_0x1039b3(0x9e)][_0x1039b3(0xbd)];}static['extractFileRetrieveStatusFromRestoreField'](_0x4ea41e){const _0x5e063e=_0x15c8bf,_0xa4023=/ongoing-request="([^"]+)"/,_0x16e24d=_0x4ea41e[_0x5e063e(0xac)](_0xa4023);return _0x16e24d[0x1]===_0x5e063e(0x99)?aws_types_1[_0x5e063e(0x9e)]['Available']:aws_types_1[_0x5e063e(0x9e)][_0x5e063e(0x9c)];}static[_0x15c8bf(0xa0)](_0x4e1d1f,_0x106a03,_0x421aa2){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5a63f0=_0x5480,_0x416142=[];let _0x1a010d,_0x3af662=null;do{const _0x583815={'Bucket':_0x106a03,'Prefix':_0x4e1d1f,'Marker':_0x3af662},{Contents:_0xb3fdd2,IsTruncated:_0xda11a0}=yield _0x421aa2[_0x5a63f0(0xbb)](_0x583815)[_0x5a63f0(0xa1)]();for(const _0x46dee3 of _0xb3fdd2){_0x416142[_0x5a63f0(0xaf)](_0x46dee3[_0x5a63f0(0xb0)]);}_0x1a010d=_0xda11a0,_0x1a010d&&(_0x3af662=_0xb3fdd2['at'](-0x1)[_0x5a63f0(0xb0)]);}while(_0x1a010d);return _0x416142;});}}function _0x1cf4(){const _0x155565=['Available','false','next','StorageClass','Restoring','732SzfhpR','AwsFileRetrieveStatus','__awaiter','getFilesPaths','promise','1565520CCnaRY','270mrCcaV','done','75372aAnihU','../types/aws.types','663787oxNAVh','__esModule','25593EIQWKa','145OtiyyO','extractFileRetrieveStatusFromFileInfo','match','57492CINJgm','103338KKLyOo','push','Key','AwsS3Utils','extractFileRetrieveStatusFromRestoreField','Restore','118mZQxbT','throw','35308wpCbIk','apply','352XxxqYo','NeedRestore','Flexible','listObjects','defineProperty'];_0x1cf4=function(){return _0x155565;};return _0x1cf4();}exports['AwsS3Utils']=AwsS3Utils;
1
+ 'use strict';function _0x261a(_0x54bc14,_0x5dc303){const _0xbfc1e6=_0xbfc1();return _0x261a=function(_0x261a6b,_0x4b4e99){_0x261a6b=_0x261a6b-0xad;let _0x3f9164=_0xbfc1e6[_0x261a6b];return _0x3f9164;},_0x261a(_0x54bc14,_0x5dc303);}const _0xa9fd86=_0x261a;(function(_0x16bedb,_0x1b5f32){const _0x2007ee=_0x261a,_0x7b69cd=_0x16bedb();while(!![]){try{const _0x2568dc=parseInt(_0x2007ee(0xaf))/0x1*(-parseInt(_0x2007ee(0xc7))/0x2)+-parseInt(_0x2007ee(0xc4))/0x3*(-parseInt(_0x2007ee(0xc3))/0x4)+parseInt(_0x2007ee(0xcc))/0x5*(-parseInt(_0x2007ee(0xcd))/0x6)+parseInt(_0x2007ee(0xb4))/0x7+-parseInt(_0x2007ee(0xc6))/0x8+-parseInt(_0x2007ee(0xb6))/0x9+parseInt(_0x2007ee(0xae))/0xa;if(_0x2568dc===_0x1b5f32)break;else _0x7b69cd['push'](_0x7b69cd['shift']());}catch(_0x3dc570){_0x7b69cd['push'](_0x7b69cd['shift']());}}}(_0xbfc1,0x9f202));function _0xbfc1(){const _0x2a1bba=['getFilesPaths','apply','Restore','../types/aws.types','39610QdLOpl','654putXZQ','Available','AwsS3Utils','34271850feLeNb','1215830nOVzsV','AwsFileRetrieveStatus','match','Restoring','extractFileRetrieveStatusFromRestoreField','192549robQkJ','listObjects','7263747RbSOGK','extractFileRetrieveStatusFromFileInfo','Deep','then','StorageClass','__awaiter','next','promise','Flexible','push','value','__esModule','Key','16vraXgA','102255KlKoUw','defineProperty','422744iZBVdm','2YXymZk'];_0xbfc1=function(){return _0x2a1bba;};return _0xbfc1();}var __awaiter=this&&this[_0xa9fd86(0xbb)]||function(_0x54953f,_0x336c83,_0x5f361b,_0x201fcc){function _0x33fd93(_0x1e4933){return _0x1e4933 instanceof _0x5f361b?_0x1e4933:new _0x5f361b(function(_0x1df7b8){_0x1df7b8(_0x1e4933);});}return new(_0x5f361b||(_0x5f361b=Promise))(function(_0x2c1bd2,_0x4ccb8b){const _0x9c2707=_0x261a;function _0x10e95e(_0x331a7d){const _0x10117f=_0x261a;try{_0xd3b94(_0x201fcc[_0x10117f(0xbc)](_0x331a7d));}catch(_0x105822){_0x4ccb8b(_0x105822);}}function _0x4901d7(_0x226997){try{_0xd3b94(_0x201fcc['throw'](_0x226997));}catch(_0x4bb0e4){_0x4ccb8b(_0x4bb0e4);}}function _0xd3b94(_0x54681c){const _0x32aa7e=_0x261a;_0x54681c['done']?_0x2c1bd2(_0x54681c[_0x32aa7e(0xc0)]):_0x33fd93(_0x54681c['value'])[_0x32aa7e(0xb9)](_0x10e95e,_0x4901d7);}_0xd3b94((_0x201fcc=_0x201fcc[_0x9c2707(0xc9)](_0x54953f,_0x336c83||[]))[_0x9c2707(0xbc)]());});};Object[_0xa9fd86(0xc5)](exports,_0xa9fd86(0xc1),{'value':!![]}),exports[_0xa9fd86(0xad)]=void 0x0;const aws_types_1=require(_0xa9fd86(0xcb));class AwsS3Utils{static[_0xa9fd86(0xb7)](_0xf5e50f){const _0x597180=_0xa9fd86;if(_0xf5e50f[_0x597180(0xba)]===_0x597180(0xbe)||_0xf5e50f[_0x597180(0xba)]===_0x597180(0xb8)){if(_0xf5e50f['Restore'])return AwsS3Utils['extractFileRetrieveStatusFromRestoreField'](_0xf5e50f[_0x597180(0xca)]);return aws_types_1[_0x597180(0xb0)]['NeedRestore'];}return aws_types_1[_0x597180(0xb0)][_0x597180(0xce)];}static[_0xa9fd86(0xb3)](_0x2b8503){const _0x341d27=_0xa9fd86,_0x18d842=/ongoing-request="([^"]+)"/,_0x3926e7=_0x2b8503[_0x341d27(0xb1)](_0x18d842);return _0x3926e7[0x1]==='false'?aws_types_1['AwsFileRetrieveStatus']['Available']:aws_types_1[_0x341d27(0xb0)][_0x341d27(0xb2)];}static[_0xa9fd86(0xc8)](_0x591cef,_0x5d51c8,_0x5da6ae){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x46a116=_0x261a,_0x5b7e39=[];let _0x5aff63,_0xa8d759=null;do{const _0x3c7307={'Bucket':_0x5d51c8,'Prefix':_0x591cef,'Marker':_0xa8d759},{Contents:_0x464190,IsTruncated:_0x5c1d5b}=yield _0x5da6ae[_0x46a116(0xb5)](_0x3c7307)[_0x46a116(0xbd)]();for(const _0x1d658c of _0x464190){_0x5b7e39[_0x46a116(0xbf)](_0x1d658c[_0x46a116(0xc2)]);}_0x5aff63=_0x5c1d5b,_0x5aff63&&(_0xa8d759=_0x464190['at'](-0x1)[_0x46a116(0xc2)]);}while(_0x5aff63);return _0x5b7e39;});}}exports[_0xa9fd86(0xad)]=AwsS3Utils;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flosum/storages",
3
- "version": "1.0.10-beta.2",
3
+ "version": "1.0.10-beta.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [