@flosum/storages 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- 'use strict';const _0x4147e0=_0x2c70;function _0x49d7(){const _0x2ea1e0=['3295398EugxNW','12PBTwig','21627wxuwAQ','secretAccessKey','8gXnlmc','BaseCredentials','916883JQslDb','__awaiter','3HRPNim','next','bucketName','done','then','promise','message','263109NnNggJ','./base-credentials','3932096APwXWc','__esModule','accessKeyId','default','credentials','830105zkHeZm','value','AwsS3Credentials','7HiGivB','throw','getCredentials','defineProperty','2390QSvHfT','validate','apply','aws-sdk','84536btjUyD','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20'];_0x49d7=function(){return _0x2ea1e0;};return _0x49d7();}(function(_0x53899d,_0x11538){const _0x5105eb=_0x2c70,_0x5da08=_0x53899d();while(!![]){try{const _0x4050ec=parseInt(_0x5105eb(0x1ed))/0x1+parseInt(_0x5105eb(0x1ff))/0x2*(parseInt(_0x5105eb(0x209))/0x3)+parseInt(_0x5105eb(0x205))/0x4*(-parseInt(_0x5105eb(0x1f4))/0x5)+-parseInt(_0x5105eb(0x201))/0x6*(-parseInt(_0x5105eb(0x1f7))/0x7)+parseInt(_0x5105eb(0x1ef))/0x8+-parseInt(_0x5105eb(0x203))/0x9*(parseInt(_0x5105eb(0x1fb))/0xa)+parseInt(_0x5105eb(0x207))/0xb*(-parseInt(_0x5105eb(0x202))/0xc);if(_0x4050ec===_0x11538)break;else _0x5da08['push'](_0x5da08['shift']());}catch(_0x41b844){_0x5da08['push'](_0x5da08['shift']());}}}(_0x49d7,0x5703a));var __awaiter=this&&this[_0x4147e0(0x208)]||function(_0x54b7d3,_0x339bc4,_0x4d2328,_0x31a12d){function _0x70080f(_0x33ed31){return _0x33ed31 instanceof _0x4d2328?_0x33ed31:new _0x4d2328(function(_0x42c935){_0x42c935(_0x33ed31);});}return new(_0x4d2328||(_0x4d2328=Promise))(function(_0x3a2d1e,_0x556f97){const _0x357715=_0x2c70;function _0x3e300c(_0x167d06){const _0xe010e4=_0x2c70;try{_0x42c990(_0x31a12d[_0xe010e4(0x20a)](_0x167d06));}catch(_0x4a15be){_0x556f97(_0x4a15be);}}function _0x45834e(_0x3df116){const _0x130949=_0x2c70;try{_0x42c990(_0x31a12d[_0x130949(0x1f8)](_0x3df116));}catch(_0x1f5882){_0x556f97(_0x1f5882);}}function _0x42c990(_0x54af68){const _0xaff17c=_0x2c70;_0x54af68[_0xaff17c(0x20c)]?_0x3a2d1e(_0x54af68[_0xaff17c(0x1f5)]):_0x70080f(_0x54af68[_0xaff17c(0x1f5)])[_0xaff17c(0x1ea)](_0x3e300c,_0x45834e);}_0x42c990((_0x31a12d=_0x31a12d[_0x357715(0x1fd)](_0x54b7d3,_0x339bc4||[]))[_0x357715(0x20a)]());});},__importDefault=this&&this['__importDefault']||function(_0x128057){return _0x128057&&_0x128057['__esModule']?_0x128057:{'default':_0x128057};};Object[_0x4147e0(0x1fa)](exports,_0x4147e0(0x1f0),{'value':!![]}),exports[_0x4147e0(0x1f6)]=void 0x0;const aws_sdk_1=__importDefault(require(_0x4147e0(0x1fe))),base_credentials_1=require(_0x4147e0(0x1ee));class AwsS3Credentials extends base_credentials_1[_0x4147e0(0x206)]{constructor(){const _0x3d1e0d=_0x4147e0;super(...arguments),this['s3']=new aws_sdk_1[(_0x3d1e0d(0x1f2))]['S3']({'accessKeyId':this[_0x3d1e0d(0x1f3)][_0x3d1e0d(0x1f1)],'secretAccessKey':this[_0x3d1e0d(0x1f3)]['secretAccessKey']});}get[_0x4147e0(0x1f1)](){const _0x5dcbc1=_0x4147e0;return this[_0x5dcbc1(0x1f3)][_0x5dcbc1(0x1f1)];}get['secretAccessKey'](){const _0x2ddbaa=_0x4147e0;return this['credentials'][_0x2ddbaa(0x204)];}get[_0x4147e0(0x20b)](){const _0xd22a78=_0x4147e0;return this[_0xd22a78(0x1f3)][_0xd22a78(0x20b)];}[_0x4147e0(0x1fc)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x867f10=_0x2c70;try{const _0x3f4563={'Bucket':this['credentials'][_0x867f10(0x20b)]};yield this['s3']['headBucket'](_0x3f4563)[_0x867f10(0x1eb)]();}catch(_0x591c4c){throw new Error(_0x867f10(0x200)+_0x591c4c[_0x867f10(0x1ec)]);}});}[_0x4147e0(0x1f9)](_0x439006=![]){const _0x122fef=_0x4147e0;if(_0x439006)return{'bucketName':this[_0x122fef(0x1f3)][_0x122fef(0x20b)]};return this[_0x122fef(0x1f3)];}}function _0x2c70(_0x3cc077,_0x3699a2){const _0x49d76c=_0x49d7();return _0x2c70=function(_0x2c705b,_0x590a10){_0x2c705b=_0x2c705b-0x1ea;let _0x29e3bf=_0x49d76c[_0x2c705b];return _0x29e3bf;},_0x2c70(_0x3cc077,_0x3699a2);}exports[_0x4147e0(0x1f6)]=AwsS3Credentials;
1
+ 'use strict';const _0x3d8c22=_0x506c;(function(_0x43022e,_0x44c7bd){const _0x19d4e5=_0x506c,_0x11fa30=_0x43022e();while(!![]){try{const _0x43b930=parseInt(_0x19d4e5(0x12a))/0x1*(parseInt(_0x19d4e5(0x132))/0x2)+parseInt(_0x19d4e5(0x11c))/0x3+parseInt(_0x19d4e5(0x131))/0x4+parseInt(_0x19d4e5(0x121))/0x5+-parseInt(_0x19d4e5(0x128))/0x6+-parseInt(_0x19d4e5(0x12c))/0x7*(-parseInt(_0x19d4e5(0x127))/0x8)+-parseInt(_0x19d4e5(0x11a))/0x9*(parseInt(_0x19d4e5(0x12b))/0xa);if(_0x43b930===_0x44c7bd)break;else _0x11fa30['push'](_0x11fa30['shift']());}catch(_0x44cb21){_0x11fa30['push'](_0x11fa30['shift']());}}}(_0x534b,0xdc540));function _0x534b(){const _0x4efb33=['5153990bDBFih','91BhhltP','then','aws-sdk','throw','BaseCredentials','2350888sVyIwZ','40116KkyfXg','./base-credentials','done','__awaiter','__importDefault','headBucket','secretAccessKey','message','__esModule','45MzXhqP','validate','4838589OWViRO','value','accessKeyId','AwsS3Credentials','apply','8940945ByPOSw','promise','default','bucketName','defineProperty','credentials','114184ZRXHTT','5011620wRIxSX','next','7ZofCVj'];_0x534b=function(){return _0x4efb33;};return _0x534b();}var __awaiter=this&&this[_0x3d8c22(0x135)]||function(_0xbc0523,_0x20a022,_0x46e136,_0x2f3916){function _0x2db434(_0x2fc724){return _0x2fc724 instanceof _0x46e136?_0x2fc724:new _0x46e136(function(_0x30dea3){_0x30dea3(_0x2fc724);});}return new(_0x46e136||(_0x46e136=Promise))(function(_0x393ca0,_0x1d38cc){const _0x3ac474=_0x506c;function _0x506f50(_0x4aabe1){const _0x41f6fd=_0x506c;try{_0x3ac90b(_0x2f3916[_0x41f6fd(0x129)](_0x4aabe1));}catch(_0x440a75){_0x1d38cc(_0x440a75);}}function _0x198ed7(_0x1022c7){const _0x3673ee=_0x506c;try{_0x3ac90b(_0x2f3916[_0x3673ee(0x12f)](_0x1022c7));}catch(_0x9ef472){_0x1d38cc(_0x9ef472);}}function _0x3ac90b(_0x4c2c2c){const _0x527f91=_0x506c;_0x4c2c2c[_0x527f91(0x134)]?_0x393ca0(_0x4c2c2c[_0x527f91(0x11d)]):_0x2db434(_0x4c2c2c[_0x527f91(0x11d)])[_0x527f91(0x12d)](_0x506f50,_0x198ed7);}_0x3ac90b((_0x2f3916=_0x2f3916[_0x3ac474(0x120)](_0xbc0523,_0x20a022||[]))[_0x3ac474(0x129)]());});},__importDefault=this&&this[_0x3d8c22(0x136)]||function(_0xac6e38){const _0x1ee085=_0x3d8c22;return _0xac6e38&&_0xac6e38[_0x1ee085(0x119)]?_0xac6e38:{'default':_0xac6e38};};Object[_0x3d8c22(0x125)](exports,'__esModule',{'value':!![]}),exports[_0x3d8c22(0x11f)]=void 0x0;const aws_sdk_1=__importDefault(require(_0x3d8c22(0x12e))),base_credentials_1=require(_0x3d8c22(0x133));class AwsS3Credentials extends base_credentials_1[_0x3d8c22(0x130)]{constructor(){const _0x25d9b8=_0x3d8c22;super(...arguments),this['s3']=new aws_sdk_1[(_0x25d9b8(0x123))]['S3']({'accessKeyId':this[_0x25d9b8(0x126)][_0x25d9b8(0x11e)],'secretAccessKey':this['credentials'][_0x25d9b8(0x138)]});}get[_0x3d8c22(0x11e)](){const _0x3b3a3d=_0x3d8c22;return this[_0x3b3a3d(0x126)][_0x3b3a3d(0x11e)];}get['secretAccessKey'](){const _0x2d5a25=_0x3d8c22;return this[_0x2d5a25(0x126)][_0x2d5a25(0x138)];}get['bucketName'](){const _0x4b5bf2=_0x3d8c22;return this['credentials'][_0x4b5bf2(0x124)];}[_0x3d8c22(0x11b)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2cd731=_0x506c;try{const _0x23f0ee={'Bucket':this[_0x2cd731(0x126)][_0x2cd731(0x124)]};yield this['s3'][_0x2cd731(0x137)](_0x23f0ee)[_0x2cd731(0x122)]();}catch(_0x9de98f){throw new Error('Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20'+_0x9de98f[_0x2cd731(0x139)]);}});}['getCredentials'](_0x2df1be=![]){const _0x4f59c0=_0x3d8c22;if(_0x2df1be)return{'bucketName':this[_0x4f59c0(0x126)]['bucketName']};return this[_0x4f59c0(0x126)];}}function _0x506c(_0x1b8216,_0x1982eb){const _0x534bc0=_0x534b();return _0x506c=function(_0x506cf6,_0x16ab5b){_0x506cf6=_0x506cf6-0x119;let _0x5a4ef3=_0x534bc0[_0x506cf6];return _0x5a4ef3;},_0x506c(_0x1b8216,_0x1982eb);}exports[_0x3d8c22(0x11f)]=AwsS3Credentials;
@@ -1 +1 @@
1
- 'use strict';var _0x4c166c=_0x3e58;(function(_0x4ad8a4,_0x3e28b0){var _0x1b1b55=_0x3e58,_0x424dce=_0x4ad8a4();while(!![]){try{var _0x587b8c=parseInt(_0x1b1b55(0x73))/0x1*(-parseInt(_0x1b1b55(0x7f))/0x2)+-parseInt(_0x1b1b55(0x7c))/0x3*(parseInt(_0x1b1b55(0x7d))/0x4)+-parseInt(_0x1b1b55(0x75))/0x5*(-parseInt(_0x1b1b55(0x76))/0x6)+-parseInt(_0x1b1b55(0x80))/0x7+parseInt(_0x1b1b55(0x72))/0x8*(-parseInt(_0x1b1b55(0x71))/0x9)+-parseInt(_0x1b1b55(0x7b))/0xa+parseInt(_0x1b1b55(0x7a))/0xb*(parseInt(_0x1b1b55(0x79))/0xc);if(_0x587b8c===_0x3e28b0)break;else _0x424dce['push'](_0x424dce['shift']());}catch(_0x1cbede){_0x424dce['push'](_0x424dce['shift']());}}}(_0x47d6,0x9da7e));function _0x47d6(){var _0x522bdc=['97729aQIPOl','__esModule','85670cPPGdU','96mEyGze','parse','BaseCredentials','12IoMCfZ','41261143LFdsMO','2476090ZGBpUi','2625vmwllQ','1636IXplBK','defineProperty','18hWvNTX','8831452usHkHK','rawCredentials','210906nQUTkB','216PaZvPE'];_0x47d6=function(){return _0x522bdc;};return _0x47d6();}Object[_0x4c166c(0x7e)](exports,_0x4c166c(0x74),{'value':!![]}),exports[_0x4c166c(0x78)]=void 0x0;class BaseCredentials{constructor(_0x771c08){var _0x2d0790=_0x4c166c;this[_0x2d0790(0x81)]=_0x771c08,this['credentials']=this['rawCredentials']?JSON[_0x2d0790(0x77)](this[_0x2d0790(0x81)]):null;}}function _0x3e58(_0x5b85ce,_0x504b7a){var _0x47d636=_0x47d6();return _0x3e58=function(_0x3e58cd,_0x1293a6){_0x3e58cd=_0x3e58cd-0x71;var _0xc5a3b=_0x47d636[_0x3e58cd];return _0xc5a3b;},_0x3e58(_0x5b85ce,_0x504b7a);}exports[_0x4c166c(0x78)]=BaseCredentials;
1
+ 'use strict';var _0x1efaf6=_0x473d;(function(_0xfdf583,_0x2376aa){var _0x3358e0=_0x473d,_0x129f5b=_0xfdf583();while(!![]){try{var _0x297747=parseInt(_0x3358e0(0x150))/0x1+parseInt(_0x3358e0(0x155))/0x2*(-parseInt(_0x3358e0(0x15c))/0x3)+-parseInt(_0x3358e0(0x154))/0x4*(parseInt(_0x3358e0(0x152))/0x5)+parseInt(_0x3358e0(0x15f))/0x6+-parseInt(_0x3358e0(0x157))/0x7*(parseInt(_0x3358e0(0x151))/0x8)+-parseInt(_0x3358e0(0x15a))/0x9*(parseInt(_0x3358e0(0x15d))/0xa)+parseInt(_0x3358e0(0x153))/0xb;if(_0x297747===_0x2376aa)break;else _0x129f5b['push'](_0x129f5b['shift']());}catch(_0x26209f){_0x129f5b['push'](_0x129f5b['shift']());}}}(_0x2f14,0xd4cc4));function _0x473d(_0x1e423e,_0x4a7c13){var _0x2f1459=_0x2f14();return _0x473d=function(_0x473da6,_0x457ac4){_0x473da6=_0x473da6-0x150;var _0xb23b43=_0x2f1459[_0x473da6];return _0xb23b43;},_0x473d(_0x1e423e,_0x4a7c13);}Object[_0x1efaf6(0x160)](exports,_0x1efaf6(0x159),{'value':!![]}),exports[_0x1efaf6(0x156)]=void 0x0;function _0x2f14(){var _0x25db99=['330qMikGa','parse','3351456jeTwak','defineProperty','105612XnawcZ','33672iizoci','72755mAlsbP','39910222rQoKpx','4zBFhAw','2muUlyA','BaseCredentials','1575NoLlYh','credentials','__esModule','350748JsbzeQ','rawCredentials','3519354UOnnco'];_0x2f14=function(){return _0x25db99;};return _0x2f14();}class BaseCredentials{constructor(_0x41dc53){var _0x85228b=_0x1efaf6;this[_0x85228b(0x15b)]=_0x41dc53,this[_0x85228b(0x158)]=this['rawCredentials']?JSON[_0x85228b(0x15e)](this[_0x85228b(0x15b)]):null;}}exports[_0x1efaf6(0x156)]=BaseCredentials;
@@ -1 +1 @@
1
- 'use strict';var _0x4c329b=_0xdb5e;function _0xdb5e(_0x4424fc,_0x333f87){var _0x19f27f=_0x19f2();return _0xdb5e=function(_0xdb5e3b,_0x58f31c){_0xdb5e3b=_0xdb5e3b-0x170;var _0x2cfcd4=_0x19f27f[_0xdb5e3b];return _0x2cfcd4;},_0xdb5e(_0x4424fc,_0x333f87);}(function(_0xd1cfad,_0x55191a){var _0x2dbd5d=_0xdb5e,_0x32269d=_0xd1cfad();while(!![]){try{var _0x16a838=parseInt(_0x2dbd5d(0x17d))/0x1*(parseInt(_0x2dbd5d(0x183))/0x2)+parseInt(_0x2dbd5d(0x173))/0x3*(parseInt(_0x2dbd5d(0x182))/0x4)+-parseInt(_0x2dbd5d(0x175))/0x5*(parseInt(_0x2dbd5d(0x176))/0x6)+parseInt(_0x2dbd5d(0x17a))/0x7*(-parseInt(_0x2dbd5d(0x171))/0x8)+-parseInt(_0x2dbd5d(0x178))/0x9+-parseInt(_0x2dbd5d(0x174))/0xa*(parseInt(_0x2dbd5d(0x17f))/0xb)+parseInt(_0x2dbd5d(0x172))/0xc;if(_0x16a838===_0x55191a)break;else _0x32269d['push'](_0x32269d['shift']());}catch(_0x245199){_0x32269d['push'](_0x32269d['shift']());}}}(_0x19f2,0x57d75));function _0x19f2(){var _0x5a6375=['100247RvfuLm','./aws-s3-credentials','AwsS3Credentials','1sWZtid','LocalCredentials','13508eOCaBy','./local-credentials','./base-credentials','12ONVhdS','1299734BIjmVd','BaseCredentials','56ssURXT','11691204UCmBdJ','96897zqAfQG','3580VzQeFp','6145zAnXvA','1182qVWUSN','defineProperty','5213250rKtVPi','__esModule'];_0x19f2=function(){return _0x5a6375;};return _0x19f2();}Object[_0x4c329b(0x177)](exports,_0x4c329b(0x179),{'value':!![]}),exports[_0x4c329b(0x17e)]=exports[_0x4c329b(0x17c)]=exports[_0x4c329b(0x170)]=void 0x0;var base_credentials_1=require(_0x4c329b(0x181));Object[_0x4c329b(0x177)](exports,'BaseCredentials',{'enumerable':!![],'get':function(){return base_credentials_1['BaseCredentials'];}});var aws_s3_credentials_1=require(_0x4c329b(0x17b));Object[_0x4c329b(0x177)](exports,'AwsS3Credentials',{'enumerable':!![],'get':function(){var _0x1c1a51=_0x4c329b;return aws_s3_credentials_1[_0x1c1a51(0x17c)];}});var local_credentials_1=require(_0x4c329b(0x180));Object[_0x4c329b(0x177)](exports,_0x4c329b(0x17e),{'enumerable':!![],'get':function(){var _0x183b1e=_0x4c329b;return local_credentials_1[_0x183b1e(0x17e)];}});
1
+ 'use strict';var _0x51afa0=_0x18be;(function(_0x858979,_0x3a2e82){var _0x539802=_0x18be,_0x2ffe4b=_0x858979();while(!![]){try{var _0x33c74a=-parseInt(_0x539802(0x1e3))/0x1+parseInt(_0x539802(0x1e1))/0x2*(parseInt(_0x539802(0x1dd))/0x3)+parseInt(_0x539802(0x1d6))/0x4*(parseInt(_0x539802(0x1d7))/0x5)+parseInt(_0x539802(0x1e5))/0x6+-parseInt(_0x539802(0x1d9))/0x7*(-parseInt(_0x539802(0x1e4))/0x8)+parseInt(_0x539802(0x1da))/0x9+parseInt(_0x539802(0x1e0))/0xa*(-parseInt(_0x539802(0x1e2))/0xb);if(_0x33c74a===_0x3a2e82)break;else _0x2ffe4b['push'](_0x2ffe4b['shift']());}catch(_0x888f72){_0x2ffe4b['push'](_0x2ffe4b['shift']());}}}(_0xf430,0x4cda6));function _0xf430(){var _0x1aed3d=['defineProperty','7ZDRfsH','2146041ybWvQI','./aws-s3-credentials','./local-credentials','3qnzVOl','./base-credentials','BaseCredentials','50zvTYQS','773554wgQrWi','2222506axFEEe','253425Ystzqi','1856072YamTCQ','3412638czPHVZ','AwsS3Credentials','LocalCredentials','5396ZvhsQg','565jznYlY'];_0xf430=function(){return _0x1aed3d;};return _0xf430();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x51afa0(0x1e7)]=exports['AwsS3Credentials']=exports[_0x51afa0(0x1df)]=void 0x0;var base_credentials_1=require(_0x51afa0(0x1de));Object[_0x51afa0(0x1d8)](exports,'BaseCredentials',{'enumerable':!![],'get':function(){var _0x510af5=_0x51afa0;return base_credentials_1[_0x510af5(0x1df)];}});var aws_s3_credentials_1=require(_0x51afa0(0x1db));Object[_0x51afa0(0x1d8)](exports,'AwsS3Credentials',{'enumerable':!![],'get':function(){var _0xcbbb20=_0x51afa0;return aws_s3_credentials_1[_0xcbbb20(0x1e6)];}});function _0x18be(_0x4a70c7,_0x5e5d77){var _0xf43021=_0xf430();return _0x18be=function(_0x18be09,_0x4ce510){_0x18be09=_0x18be09-0x1d6;var _0x5963b3=_0xf43021[_0x18be09];return _0x5963b3;},_0x18be(_0x4a70c7,_0x5e5d77);}var local_credentials_1=require(_0x51afa0(0x1dc));Object[_0x51afa0(0x1d8)](exports,_0x51afa0(0x1e7),{'enumerable':!![],'get':function(){return local_credentials_1['LocalCredentials'];}});
@@ -1 +1 @@
1
- 'use strict';const _0x3da1af=_0x2cd5;(function(_0x373fde,_0x1a7248){const _0x39b894=_0x2cd5,_0x2f0959=_0x373fde();while(!![]){try{const _0x4c461f=parseInt(_0x39b894(0x7b))/0x1*(parseInt(_0x39b894(0x7f))/0x2)+parseInt(_0x39b894(0x7c))/0x3*(-parseInt(_0x39b894(0x77))/0x4)+parseInt(_0x39b894(0x84))/0x5+-parseInt(_0x39b894(0x7e))/0x6+parseInt(_0x39b894(0x79))/0x7+-parseInt(_0x39b894(0x7a))/0x8+parseInt(_0x39b894(0x85))/0x9;if(_0x4c461f===_0x1a7248)break;else _0x2f0959['push'](_0x2f0959['shift']());}catch(_0x24bb34){_0x2f0959['push'](_0x2f0959['shift']());}}}(_0x27a8,0x88601));function _0x27a8(){const _0x4b026a=['7284096MmzANf','1rqyUFc','386790hkAhPm','./base-credentials','3973842RqmacG','2143478LTvAHc','BaseCredentials','defineProperty','__esModule','LocalCredentials','414550YxIVGF','6760485nBZZdh','4CWGUHk','getCredentials','2481696qpXEyg'];_0x27a8=function(){return _0x4b026a;};return _0x27a8();}Object[_0x3da1af(0x81)](exports,_0x3da1af(0x82),{'value':!![]}),exports[_0x3da1af(0x83)]=void 0x0;function _0x2cd5(_0x57f9ed,_0x5035ed){const _0x27a83b=_0x27a8();return _0x2cd5=function(_0x2cd5ea,_0x2f04e1){_0x2cd5ea=_0x2cd5ea-0x77;let _0x15527d=_0x27a83b[_0x2cd5ea];return _0x15527d;},_0x2cd5(_0x57f9ed,_0x5035ed);}const base_credentials_1=require(_0x3da1af(0x7d));class LocalCredentials extends base_credentials_1[_0x3da1af(0x80)]{[_0x3da1af(0x78)](){return null;}['validate'](){return Promise['resolve'](undefined);}}exports['LocalCredentials']=LocalCredentials;
1
+ 'use strict';function _0x31ec(_0x2d4adb,_0x1142d6){const _0x6b409=_0x6b40();return _0x31ec=function(_0x31ec41,_0xc51f68){_0x31ec41=_0x31ec41-0x10f;let _0x4f130e=_0x6b409[_0x31ec41];return _0x4f130e;},_0x31ec(_0x2d4adb,_0x1142d6);}const _0x1deaf7=_0x31ec;(function(_0x5a12a1,_0x27eea5){const _0x40be0c=_0x31ec,_0x505d06=_0x5a12a1();while(!![]){try{const _0x4c83d8=-parseInt(_0x40be0c(0x11e))/0x1*(parseInt(_0x40be0c(0x119))/0x2)+parseInt(_0x40be0c(0x11f))/0x3+parseInt(_0x40be0c(0x11d))/0x4*(-parseInt(_0x40be0c(0x115))/0x5)+-parseInt(_0x40be0c(0x10f))/0x6*(-parseInt(_0x40be0c(0x113))/0x7)+-parseInt(_0x40be0c(0x111))/0x8*(parseInt(_0x40be0c(0x112))/0x9)+parseInt(_0x40be0c(0x118))/0xa*(-parseInt(_0x40be0c(0x114))/0xb)+-parseInt(_0x40be0c(0x121))/0xc*(-parseInt(_0x40be0c(0x11b))/0xd);if(_0x4c83d8===_0x27eea5)break;else _0x505d06['push'](_0x505d06['shift']());}catch(_0xe957ce){_0x505d06['push'](_0x505d06['shift']());}}}(_0x6b40,0x85815));Object[_0x1deaf7(0x120)](exports,_0x1deaf7(0x116),{'value':!![]}),exports['LocalCredentials']=void 0x0;const base_credentials_1=require(_0x1deaf7(0x11c));class LocalCredentials extends base_credentials_1[_0x1deaf7(0x122)]{[_0x1deaf7(0x11a)](){return null;}['validate'](){const _0x51160=_0x1deaf7;return Promise[_0x51160(0x117)](undefined);}}function _0x6b40(){const _0x59208a=['1493337KLxPzl','defineProperty','180LsGrlS','BaseCredentials','75414llwyJm','LocalCredentials','4409984OTITdk','9EfUwxw','350Jlptgh','830148xlccIg','2297725sucjig','__esModule','resolve','10rgOnRP','58868OcTdsx','getCredentials','1179061oJBKsm','./base-credentials','4GzjKFi','29JdZQgU'];_0x6b40=function(){return _0x59208a;};return _0x6b40();}exports[_0x1deaf7(0x110)]=LocalCredentials;
@@ -1 +1 @@
1
- 'use strict';const _0xc823d=_0x5a81;(function(_0x279833,_0x2b9f9a){const _0xe64eaf=_0x5a81,_0x58a40c=_0x279833();while(!![]){try{const _0x466f13=-parseInt(_0xe64eaf(0x179))/0x1+-parseInt(_0xe64eaf(0x190))/0x2*(parseInt(_0xe64eaf(0x183))/0x3)+parseInt(_0xe64eaf(0x191))/0x4*(-parseInt(_0xe64eaf(0x195))/0x5)+-parseInt(_0xe64eaf(0x17c))/0x6*(-parseInt(_0xe64eaf(0x186))/0x7)+-parseInt(_0xe64eaf(0x17a))/0x8*(-parseInt(_0xe64eaf(0x182))/0x9)+-parseInt(_0xe64eaf(0x199))/0xa+parseInt(_0xe64eaf(0x189))/0xb;if(_0x466f13===_0x2b9f9a)break;else _0x58a40c['push'](_0x58a40c['shift']());}catch(_0x40eff8){_0x58a40c['push'](_0x58a40c['shift']());}}}(_0x1b07,0xbd4c2));var __awaiter=this&&this[_0xc823d(0x198)]||function(_0xf58efe,_0x26597e,_0x3050b0,_0x14d8a9){function _0x25ded9(_0x4fc0f1){return _0x4fc0f1 instanceof _0x3050b0?_0x4fc0f1:new _0x3050b0(function(_0x3b383b){_0x3b383b(_0x4fc0f1);});}return new(_0x3050b0||(_0x3050b0=Promise))(function(_0x50578a,_0x49cafa){const _0x525fee=_0x5a81;function _0x3ec7dd(_0x1c0e45){const _0xb13246=_0x5a81;try{_0x2e15dd(_0x14d8a9[_0xb13246(0x196)](_0x1c0e45));}catch(_0x1d97e4){_0x49cafa(_0x1d97e4);}}function _0x241baf(_0xd52f4f){const _0x8130f7=_0x5a81;try{_0x2e15dd(_0x14d8a9[_0x8130f7(0x17e)](_0xd52f4f));}catch(_0x205333){_0x49cafa(_0x205333);}}function _0x2e15dd(_0x9008c7){const _0x68ba68=_0x5a81;_0x9008c7['done']?_0x50578a(_0x9008c7['value']):_0x25ded9(_0x9008c7[_0x68ba68(0x18d)])[_0x68ba68(0x17b)](_0x3ec7dd,_0x241baf);}_0x2e15dd((_0x14d8a9=_0x14d8a9['apply'](_0xf58efe,_0x26597e||[]))[_0x525fee(0x196)]());});},__importDefault=this&&this[_0xc823d(0x192)]||function(_0x18fad2){return _0x18fad2&&_0x18fad2['__esModule']?_0x18fad2:{'default':_0x18fad2};};Object[_0xc823d(0x194)](exports,'__esModule',{'value':!![]}),exports[_0xc823d(0x17d)]=void 0x0;function _0x5a81(_0x429e99,_0x2eae0a){const _0x1b079d=_0x1b07();return _0x5a81=function(_0x5a81e4,_0x4a9818){_0x5a81e4=_0x5a81e4-0x173;let _0x4ce749=_0x1b079d[_0x5a81e4];return _0x4ce749;},_0x5a81(_0x429e99,_0x2eae0a);}const aws_sdk_1=__importDefault(require(_0xc823d(0x174))),path_1=__importDefault(require(_0xc823d(0x180))),utils_1=require(_0xc823d(0x176)),aws_s3_utils_1=require('../utils/aws-s3.utils'),_1=require('./');class AwsS3Delete extends _1[_0xc823d(0x17f)]{constructor(_0x2e669a){const _0xf25aae=_0xc823d;super(_0x2e669a),this[_0xf25aae(0x177)]=_0x2e669a,this[_0xf25aae(0x19a)]=0x3e8,this['s3']=new aws_sdk_1[(_0xf25aae(0x188))]['S3']({'accessKeyId':this[_0xf25aae(0x177)][_0xf25aae(0x173)],'secretAccessKey':this['credentials'][_0xf25aae(0x184)]});}[_0xc823d(0x193)](_0x2f0161){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x29adeb=_0x5a81,_0xf4c109=_0x2f0161[_0x29adeb(0x197)](path_1[_0x29adeb(0x188)]['sep'])[_0x29adeb(0x18a)](path_1[_0x29adeb(0x188)][_0x29adeb(0x187)][_0x29adeb(0x18e)]),_0x8610f2=yield aws_s3_utils_1['AwsS3Utils'][_0x29adeb(0x18f)](_0xf4c109,this['credentials'][_0x29adeb(0x178)],this['s3']),_0x2ee538=utils_1[_0x29adeb(0x181)][_0x29adeb(0x175)](_0x8610f2,this['OBJECTS_PER_CHUNK']);for(const _0x1b8cf8 of _0x2ee538){const _0x1d867c=_0x1b8cf8[_0x29adeb(0x18b)](_0x42060a=>({'Key':_0x42060a})),_0x1d95c7={'Bucket':this[_0x29adeb(0x177)][_0x29adeb(0x178)],'Delete':{'Objects':_0x1d867c}};yield this['s3'][_0x29adeb(0x18c)](_0x1d95c7)[_0x29adeb(0x185)]();}});}}function _0x1b07(){const _0x1c1573=['then','114mKfBjc','AwsS3Delete','throw','BaseDelete','path','ArrayUtils','36RmDUno','2219127khvpVh','secretAccessKey','promise','445690AIAHOc','posix','default','17103515lciwQk','join','map','deleteObjects','value','sep','getFilesPaths','2ROYCMN','461328vrARGJ','__importDefault','execute','defineProperty','20PIkShe','next','split','__awaiter','2512430FlNSQD','OBJECTS_PER_CHUNK','accessKeyId','aws-sdk','splitOnChunks','@flosum-service/utils','credentials','bucketName','700601qmqaQr','327296SResqA'];_0x1b07=function(){return _0x1c1573;};return _0x1b07();}exports[_0xc823d(0x17d)]=AwsS3Delete;
1
+ 'use strict';const _0xe2e89b=_0x1a5c;(function(_0x4986db,_0x1d91b8){const _0x6245ed=_0x1a5c,_0x107397=_0x4986db();while(!![]){try{const _0x225819=-parseInt(_0x6245ed(0x152))/0x1+-parseInt(_0x6245ed(0x146))/0x2*(parseInt(_0x6245ed(0x15b))/0x3)+-parseInt(_0x6245ed(0x13b))/0x4+-parseInt(_0x6245ed(0x14c))/0x5+-parseInt(_0x6245ed(0x155))/0x6*(-parseInt(_0x6245ed(0x151))/0x7)+parseInt(_0x6245ed(0x153))/0x8+parseInt(_0x6245ed(0x14e))/0x9*(parseInt(_0x6245ed(0x14a))/0xa);if(_0x225819===_0x1d91b8)break;else _0x107397['push'](_0x107397['shift']());}catch(_0x534224){_0x107397['push'](_0x107397['shift']());}}}(_0x2f75,0x6d706));var __awaiter=this&&this[_0xe2e89b(0x141)]||function(_0x6bf117,_0x213135,_0x4ebb38,_0x55a051){function _0xfc9b5d(_0x316cd6){return _0x316cd6 instanceof _0x4ebb38?_0x316cd6:new _0x4ebb38(function(_0x35a48b){_0x35a48b(_0x316cd6);});}return new(_0x4ebb38||(_0x4ebb38=Promise))(function(_0x2a44a1,_0x2b0fb3){const _0x263362=_0x1a5c;function _0x233168(_0x5534e5){try{_0xb28193(_0x55a051['next'](_0x5534e5));}catch(_0xa51665){_0x2b0fb3(_0xa51665);}}function _0x2e1319(_0x21c48e){const _0x389690=_0x1a5c;try{_0xb28193(_0x55a051[_0x389690(0x145)](_0x21c48e));}catch(_0x55ee9f){_0x2b0fb3(_0x55ee9f);}}function _0xb28193(_0x3fb7df){const _0x313d28=_0x1a5c;_0x3fb7df[_0x313d28(0x156)]?_0x2a44a1(_0x3fb7df['value']):_0xfc9b5d(_0x3fb7df[_0x313d28(0x150)])['then'](_0x233168,_0x2e1319);}_0xb28193((_0x55a051=_0x55a051['apply'](_0x6bf117,_0x213135||[]))[_0x263362(0x13f)]());});},__importDefault=this&&this[_0xe2e89b(0x13e)]||function(_0x4fc33a){const _0x484c9b=_0xe2e89b;return _0x4fc33a&&_0x4fc33a[_0x484c9b(0x14d)]?_0x4fc33a:{'default':_0x4fc33a};};Object[_0xe2e89b(0x154)](exports,_0xe2e89b(0x14d),{'value':!![]}),exports[_0xe2e89b(0x13a)]=void 0x0;const aws_sdk_1=__importDefault(require(_0xe2e89b(0x15d))),path_1=__importDefault(require('path')),utils_1=require(_0xe2e89b(0x139)),aws_s3_utils_1=require(_0xe2e89b(0x15a)),_1=require('./');function _0x1a5c(_0x12b93e,_0x49e0fe){const _0x2f75fb=_0x2f75();return _0x1a5c=function(_0x1a5ce9,_0xd63408){_0x1a5ce9=_0x1a5ce9-0x139;let _0x3418bf=_0x2f75fb[_0x1a5ce9];return _0x3418bf;},_0x1a5c(_0x12b93e,_0x49e0fe);}class AwsS3Delete extends _1['BaseDelete']{constructor(_0x273f3c){const _0x2a3eca=_0xe2e89b;super(_0x273f3c),this[_0x2a3eca(0x13c)]=_0x273f3c,this[_0x2a3eca(0x142)]=0x3e8,this['s3']=new aws_sdk_1[(_0x2a3eca(0x149))]['S3']({'accessKeyId':this['credentials'][_0x2a3eca(0x15c)],'secretAccessKey':this[_0x2a3eca(0x13c)][_0x2a3eca(0x158)]});}['execute'](_0x3897d9){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2ff2d2=_0x1a5c,_0x1502bd=_0x3897d9[_0x2ff2d2(0x144)](path_1[_0x2ff2d2(0x149)]['sep'])[_0x2ff2d2(0x147)](path_1[_0x2ff2d2(0x149)][_0x2ff2d2(0x13d)][_0x2ff2d2(0x14f)]),_0x5cfd5f=yield aws_s3_utils_1[_0x2ff2d2(0x157)][_0x2ff2d2(0x143)](_0x1502bd,this[_0x2ff2d2(0x13c)][_0x2ff2d2(0x159)],this['s3']),_0x4e0344=utils_1['ArrayUtils']['splitOnChunks'](_0x5cfd5f,this[_0x2ff2d2(0x142)]);for(const _0x10d06b of _0x4e0344){const _0x495052=_0x10d06b[_0x2ff2d2(0x148)](_0x2876e1=>({'Key':_0x2876e1})),_0x1bf478={'Bucket':this[_0x2ff2d2(0x13c)][_0x2ff2d2(0x159)],'Delete':{'Objects':_0x495052}};yield this['s3'][_0x2ff2d2(0x140)](_0x1bf478)[_0x2ff2d2(0x14b)]();}});}}function _0x2f75(){const _0x8feb3=['defineProperty','474mRckNm','done','AwsS3Utils','secretAccessKey','bucketName','../utils/aws-s3.utils','21KwFvDQ','accessKeyId','aws-sdk','@flosum-service/utils','AwsS3Delete','2177708NPQUEz','credentials','posix','__importDefault','next','deleteObjects','__awaiter','OBJECTS_PER_CHUNK','getFilesPaths','split','throw','69822qHlzZQ','join','map','default','20SUQIrq','promise','92970uvGYlW','__esModule','3699981lOpTLJ','sep','value','30149mMAXGp','243775Cdodeh','2695712bYSSFF'];_0x2f75=function(){return _0x8feb3;};return _0x2f75();}exports[_0xe2e89b(0x13a)]=AwsS3Delete;
@@ -1 +1 @@
1
- 'use strict';var _0x3bec57=_0x3aba;(function(_0x5c1aaa,_0x15cbe3){var _0x3f3a79=_0x3aba,_0x176c42=_0x5c1aaa();while(!![]){try{var _0x441380=parseInt(_0x3f3a79(0x1f4))/0x1*(-parseInt(_0x3f3a79(0x1f1))/0x2)+-parseInt(_0x3f3a79(0x1f9))/0x3+parseInt(_0x3f3a79(0x1ef))/0x4*(parseInt(_0x3f3a79(0x1f7))/0x5)+-parseInt(_0x3f3a79(0x1f8))/0x6*(parseInt(_0x3f3a79(0x1fa))/0x7)+parseInt(_0x3f3a79(0x1f2))/0x8+-parseInt(_0x3f3a79(0x1f6))/0x9+parseInt(_0x3f3a79(0x1f3))/0xa;if(_0x441380===_0x15cbe3)break;else _0x176c42['push'](_0x176c42['shift']());}catch(_0x2c4775){_0x176c42['push'](_0x176c42['shift']());}}}(_0x8264,0xb3a5e));Object[_0x3bec57(0x1f0)](exports,'__esModule',{'value':!![]}),exports[_0x3bec57(0x1f5)]=void 0x0;class BaseDelete{constructor(_0x57abe2){this['credentials']=_0x57abe2;}}function _0x3aba(_0x402de8,_0x1a5916){var _0x82644b=_0x8264();return _0x3aba=function(_0x3aba45,_0xd3532a){_0x3aba45=_0x3aba45-0x1ef;var _0x2fbde7=_0x82644b[_0x3aba45];return _0x2fbde7;},_0x3aba(_0x402de8,_0x1a5916);}function _0x8264(){var _0x1bb4bc=['defineProperty','34LZIgmI','8144984wDdfPR','1423170QSxfju','11987oabWXK','BaseDelete','5486436RgmyBl','710eYOsqt','48YbvHOi','782091PwsRiI','29722tdUtjd','19252Ckdmxt'];_0x8264=function(){return _0x1bb4bc;};return _0x8264();}exports[_0x3bec57(0x1f5)]=BaseDelete;
1
+ 'use strict';var _0x4afd03=_0x4d5e;(function(_0x54a8e3,_0x15d5b9){var _0x2252f5=_0x4d5e,_0x3549f5=_0x54a8e3();while(!![]){try{var _0x4111d6=-parseInt(_0x2252f5(0x186))/0x1*(-parseInt(_0x2252f5(0x18b))/0x2)+parseInt(_0x2252f5(0x188))/0x3+parseInt(_0x2252f5(0x183))/0x4*(parseInt(_0x2252f5(0x184))/0x5)+parseInt(_0x2252f5(0x185))/0x6*(parseInt(_0x2252f5(0x189))/0x7)+parseInt(_0x2252f5(0x17f))/0x8*(-parseInt(_0x2252f5(0x182))/0x9)+parseInt(_0x2252f5(0x181))/0xa+-parseInt(_0x2252f5(0x187))/0xb*(parseInt(_0x2252f5(0x18a))/0xc);if(_0x4111d6===_0x15d5b9)break;else _0x3549f5['push'](_0x3549f5['shift']());}catch(_0x431cf4){_0x3549f5['push'](_0x3549f5['shift']());}}}(_0x161c,0x31adb));Object[_0x4afd03(0x17e)](exports,_0x4afd03(0x180),{'value':!![]}),exports[_0x4afd03(0x17c)]=void 0x0;class BaseDelete{constructor(_0x6ee99a){var _0x191f5c=_0x4afd03;this[_0x191f5c(0x17d)]=_0x6ee99a;}}function _0x161c(){var _0x36e641=['13TacEzs','208109kbdcUX','240501gRtxoG','2572633AxsNbg','372rVxjhE','3458rJODlM','BaseDelete','credentials','defineProperty','8FAzEcu','__esModule','2653800EUWEUk','1373337tIpiwi','8EQQiMR','517555qzZLsq','6QkHqxi'];_0x161c=function(){return _0x36e641;};return _0x161c();}function _0x4d5e(_0x4ccad0,_0x29032c){var _0x161c87=_0x161c();return _0x4d5e=function(_0x4d5ee7,_0x261ee9){_0x4d5ee7=_0x4d5ee7-0x17c;var _0x5c9dc6=_0x161c87[_0x4d5ee7];return _0x5c9dc6;},_0x4d5e(_0x4ccad0,_0x29032c);}exports[_0x4afd03(0x17c)]=BaseDelete;
@@ -1 +1 @@
1
- 'use strict';function _0x493d(_0x2444ac,_0xf8d6a0){var _0x28bb68=_0x28bb();return _0x493d=function(_0x493d4a,_0x3e6fbc){_0x493d4a=_0x493d4a-0x149;var _0x34a19c=_0x28bb68[_0x493d4a];return _0x34a19c;},_0x493d(_0x2444ac,_0xf8d6a0);}var _0x5bf39c=_0x493d;(function(_0x12c1d9,_0x521628){var _0x29fe56=_0x493d,_0xf2350c=_0x12c1d9();while(!![]){try{var _0x46f497=parseInt(_0x29fe56(0x14d))/0x1*(parseInt(_0x29fe56(0x153))/0x2)+parseInt(_0x29fe56(0x152))/0x3*(-parseInt(_0x29fe56(0x14e))/0x4)+-parseInt(_0x29fe56(0x150))/0x5*(-parseInt(_0x29fe56(0x159))/0x6)+parseInt(_0x29fe56(0x155))/0x7+-parseInt(_0x29fe56(0x154))/0x8+-parseInt(_0x29fe56(0x14c))/0x9+parseInt(_0x29fe56(0x14a))/0xa;if(_0x46f497===_0x521628)break;else _0xf2350c['push'](_0xf2350c['shift']());}catch(_0x55366e){_0xf2350c['push'](_0xf2350c['shift']());}}}(_0x28bb,0x86f4f));Object[_0x5bf39c(0x14f)](exports,_0x5bf39c(0x158),{'value':!![]}),exports[_0x5bf39c(0x149)]=exports[_0x5bf39c(0x156)]=exports[_0x5bf39c(0x14b)]=void 0x0;var base_delete_1=require(_0x5bf39c(0x151));Object[_0x5bf39c(0x14f)](exports,'BaseDelete',{'enumerable':!![],'get':function(){return base_delete_1['BaseDelete'];}});var aws_s3_delete_1=require('./aws-s3-delete');Object[_0x5bf39c(0x14f)](exports,_0x5bf39c(0x156),{'enumerable':!![],'get':function(){var _0x2bb0d2=_0x5bf39c;return aws_s3_delete_1[_0x2bb0d2(0x156)];}});function _0x28bb(){var _0x262c44=['__esModule','18zDHnba','LocalDelete','6822230dNnafw','BaseDelete','8598114KqBnTU','10Rbglpx','2127992bQmylK','defineProperty','518955IUNkbT','./base-delete','3tOBClb','198154nGwoWj','64296dihiAB','446586GFETlo','AwsS3Delete','./local-delete'];_0x28bb=function(){return _0x262c44;};return _0x28bb();}var local_delete_1=require(_0x5bf39c(0x157));Object[_0x5bf39c(0x14f)](exports,_0x5bf39c(0x149),{'enumerable':!![],'get':function(){var _0x1d87ff=_0x5bf39c;return local_delete_1[_0x1d87ff(0x149)];}});
1
+ 'use strict';var _0x422903=_0xcce3;(function(_0x23bbf7,_0x899259){var _0x189c6d=_0xcce3,_0x4a417b=_0x23bbf7();while(!![]){try{var _0x5e3ffa=parseInt(_0x189c6d(0x185))/0x1+parseInt(_0x189c6d(0x179))/0x2*(parseInt(_0x189c6d(0x183))/0x3)+parseInt(_0x189c6d(0x182))/0x4+parseInt(_0x189c6d(0x186))/0x5+-parseInt(_0x189c6d(0x177))/0x6*(parseInt(_0x189c6d(0x17b))/0x7)+parseInt(_0x189c6d(0x180))/0x8+parseInt(_0x189c6d(0x17c))/0x9*(-parseInt(_0x189c6d(0x178))/0xa);if(_0x5e3ffa===_0x899259)break;else _0x4a417b['push'](_0x4a417b['shift']());}catch(_0x3f4fd8){_0x4a417b['push'](_0x4a417b['shift']());}}}(_0x18cd,0x5ceb1));function _0xcce3(_0x5d3040,_0xbef7c8){var _0x18cd52=_0x18cd();return _0xcce3=function(_0xcce346,_0x9669db){_0xcce346=_0xcce346-0x176;var _0x52d069=_0x18cd52[_0xcce346];return _0x52d069;},_0xcce3(_0x5d3040,_0xbef7c8);}Object['defineProperty'](exports,_0x422903(0x17d),{'value':!![]}),exports['LocalDelete']=exports[_0x422903(0x17e)]=exports['BaseDelete']=void 0x0;var base_delete_1=require('./base-delete');Object[_0x422903(0x17f)](exports,_0x422903(0x181),{'enumerable':!![],'get':function(){var _0x32e8fe=_0x422903;return base_delete_1[_0x32e8fe(0x181)];}});var aws_s3_delete_1=require(_0x422903(0x17a));function _0x18cd(){var _0x3d8c93=['10DEksVI','53806HZdFAN','./aws-s3-delete','7qNdTKI','9473337tjHVOP','__esModule','AwsS3Delete','defineProperty','2552296ztUIzK','BaseDelete','1533268CmBdAh','9WfFNey','./local-delete','501079UXduTl','3074210prcaus','LocalDelete','2794788UkzmNO'];_0x18cd=function(){return _0x3d8c93;};return _0x18cd();}Object['defineProperty'](exports,_0x422903(0x17e),{'enumerable':!![],'get':function(){var _0x20f253=_0x422903;return aws_s3_delete_1[_0x20f253(0x17e)];}});var local_delete_1=require(_0x422903(0x184));Object['defineProperty'](exports,_0x422903(0x176),{'enumerable':!![],'get':function(){return local_delete_1['LocalDelete'];}});
@@ -1 +1 @@
1
- 'use strict';function _0x4f1a(_0x561c46,_0x4b1254){const _0x4fb752=_0x4fb7();return _0x4f1a=function(_0x4f1a35,_0x68f79a){_0x4f1a35=_0x4f1a35-0xd4;let _0x7730d0=_0x4fb752[_0x4f1a35];return _0x7730d0;},_0x4f1a(_0x561c46,_0x4b1254);}const _0x2d66ca=_0x4f1a;(function(_0xb6db2f,_0x524bb5){const _0x5baf48=_0x4f1a,_0x31d8d1=_0xb6db2f();while(!![]){try{const _0x27d2fb=parseInt(_0x5baf48(0xe1))/0x1*(-parseInt(_0x5baf48(0xd9))/0x2)+parseInt(_0x5baf48(0xe5))/0x3*(-parseInt(_0x5baf48(0xe6))/0x4)+-parseInt(_0x5baf48(0xd6))/0x5+parseInt(_0x5baf48(0xe9))/0x6*(-parseInt(_0x5baf48(0xe0))/0x7)+-parseInt(_0x5baf48(0xe3))/0x8*(-parseInt(_0x5baf48(0xda))/0x9)+parseInt(_0x5baf48(0xde))/0xa*(parseInt(_0x5baf48(0xd5))/0xb)+parseInt(_0x5baf48(0xeb))/0xc;if(_0x27d2fb===_0x524bb5)break;else _0x31d8d1['push'](_0x31d8d1['shift']());}catch(_0x58a97b){_0x31d8d1['push'](_0x31d8d1['shift']());}}}(_0x4fb7,0x949e5));var __awaiter=this&&this[_0x2d66ca(0xd8)]||function(_0x5878aa,_0x417901,_0x1c9ec2,_0x25a93c){function _0x1cbf01(_0x539e9a){return _0x539e9a instanceof _0x1c9ec2?_0x539e9a:new _0x1c9ec2(function(_0x48a4c9){_0x48a4c9(_0x539e9a);});}return new(_0x1c9ec2||(_0x1c9ec2=Promise))(function(_0x3b68b5,_0xff353c){const _0x339928=_0x4f1a;function _0x4a0d3b(_0x4b44d9){try{_0x1db3e9(_0x25a93c['next'](_0x4b44d9));}catch(_0x197b0a){_0xff353c(_0x197b0a);}}function _0x2535a3(_0x54b271){const _0x476e22=_0x4f1a;try{_0x1db3e9(_0x25a93c[_0x476e22(0xdb)](_0x54b271));}catch(_0x5a95c9){_0xff353c(_0x5a95c9);}}function _0x1db3e9(_0x5e5445){const _0x429794=_0x4f1a;_0x5e5445['done']?_0x3b68b5(_0x5e5445[_0x429794(0xe2)]):_0x1cbf01(_0x5e5445[_0x429794(0xe2)])['then'](_0x4a0d3b,_0x2535a3);}_0x1db3e9((_0x25a93c=_0x25a93c[_0x339928(0xe4)](_0x5878aa,_0x417901||[]))[_0x339928(0xe8)]());});};Object[_0x2d66ca(0xdd)](exports,'__esModule',{'value':!![]}),exports[_0x2d66ca(0xe7)]=void 0x0;const promises_1=require(_0x2d66ca(0xdf)),utils_1=require(_0x2d66ca(0xd7)),_1=require('./');function _0x4fb7(){const _0x34dfce=['9224WnqTZv','9527481lMgHQY','throw','BaseDelete','defineProperty','70CNbqKu','fs/promises','1267VLoYdc','244GmhrkD','value','8olHWST','apply','294405XgfsIR','44pAWFvL','LocalDelete','next','6756fJdanM','FsUtils','23822568VJYUPd','isExistsPath','315271olyBHT','1135450kKHYzA','@flosum-service/utils','__awaiter'];_0x4fb7=function(){return _0x34dfce;};return _0x4fb7();}class LocalDelete extends _1[_0x2d66ca(0xdc)]{['execute'](_0x50f02c){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x113fd5=_0x4f1a;if(yield utils_1[_0x113fd5(0xea)][_0x113fd5(0xd4)](_0x50f02c))yield(0x0,promises_1['rm'])(_0x50f02c,{'recursive':!![]});});}}exports[_0x2d66ca(0xe7)]=LocalDelete;
1
+ 'use strict';const _0x58dec7=_0x2ecf;(function(_0x4c1327,_0x53549e){const _0x37f2e6=_0x2ecf,_0x219770=_0x4c1327();while(!![]){try{const _0xc7103a=-parseInt(_0x37f2e6(0x16c))/0x1+-parseInt(_0x37f2e6(0x164))/0x2*(-parseInt(_0x37f2e6(0x174))/0x3)+-parseInt(_0x37f2e6(0x169))/0x4+parseInt(_0x37f2e6(0x166))/0x5+parseInt(_0x37f2e6(0x16b))/0x6+parseInt(_0x37f2e6(0x16d))/0x7+-parseInt(_0x37f2e6(0x168))/0x8;if(_0xc7103a===_0x53549e)break;else _0x219770['push'](_0x219770['shift']());}catch(_0x384286){_0x219770['push'](_0x219770['shift']());}}}(_0xe5e2,0x5ba91));function _0x2ecf(_0x51080c,_0x4a3323){const _0xe5e26b=_0xe5e2();return _0x2ecf=function(_0x2ecf75,_0x39f686){_0x2ecf75=_0x2ecf75-0x164;let _0x97a5b3=_0xe5e26b[_0x2ecf75];return _0x97a5b3;},_0x2ecf(_0x51080c,_0x4a3323);}function _0xe5e2(){const _0x5be975=['67514OQGKWn','2463412KIirPU','isExistsPath','value','apply','BaseDelete','__esModule','fs/promises','41244NnLsjY','then','58rxgrcg','LocalDelete','3488895eVEvDI','next','8413480mccSxT','767744icugoy','defineProperty','1429134znuEXK'];_0xe5e2=function(){return _0x5be975;};return _0xe5e2();}var __awaiter=this&&this['__awaiter']||function(_0x205988,_0x35ff98,_0x31f1ab,_0x1109d4){function _0x2035d2(_0x8ad45b){return _0x8ad45b instanceof _0x31f1ab?_0x8ad45b:new _0x31f1ab(function(_0x1d7b3a){_0x1d7b3a(_0x8ad45b);});}return new(_0x31f1ab||(_0x31f1ab=Promise))(function(_0x543f86,_0x195215){const _0x518a71=_0x2ecf;function _0x485583(_0x44a76a){try{_0x31c981(_0x1109d4['next'](_0x44a76a));}catch(_0x47e426){_0x195215(_0x47e426);}}function _0x208e1b(_0x181993){try{_0x31c981(_0x1109d4['throw'](_0x181993));}catch(_0x82633d){_0x195215(_0x82633d);}}function _0x31c981(_0x3e897){const _0x24afbd=_0x2ecf;_0x3e897['done']?_0x543f86(_0x3e897[_0x24afbd(0x16f)]):_0x2035d2(_0x3e897['value'])[_0x24afbd(0x175)](_0x485583,_0x208e1b);}_0x31c981((_0x1109d4=_0x1109d4[_0x518a71(0x170)](_0x205988,_0x35ff98||[]))[_0x518a71(0x167)]());});};Object[_0x58dec7(0x16a)](exports,_0x58dec7(0x172),{'value':!![]}),exports[_0x58dec7(0x165)]=void 0x0;const promises_1=require(_0x58dec7(0x173)),utils_1=require('@flosum-service/utils'),_1=require('./');class LocalDelete extends _1[_0x58dec7(0x171)]{['execute'](_0x3ed59f){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x31038e=_0x2ecf;if(yield utils_1['FsUtils'][_0x31038e(0x16e)](_0x3ed59f))yield(0x0,promises_1['rm'])(_0x3ed59f,{'recursive':!![]});});}}exports[_0x58dec7(0x165)]=LocalDelete;
@@ -1 +1 @@
1
- 'use strict';function _0xf659(_0x54dc79,_0x42e407){const _0x43ce47=_0x43ce();return _0xf659=function(_0xf659c9,_0x5a7bdc){_0xf659c9=_0xf659c9-0xc3;let _0x47a21a=_0x43ce47[_0xf659c9];return _0x47a21a;},_0xf659(_0x54dc79,_0x42e407);}const _0xa8f994=_0xf659;(function(_0x1520f2,_0x1c04cb){const _0x1d5f45=_0xf659,_0xa1b783=_0x1520f2();while(!![]){try{const _0x322426=-parseInt(_0x1d5f45(0xca))/0x1*(-parseInt(_0x1d5f45(0xe7))/0x2)+-parseInt(_0x1d5f45(0xe6))/0x3*(-parseInt(_0x1d5f45(0xc4))/0x4)+-parseInt(_0x1d5f45(0xe2))/0x5+-parseInt(_0x1d5f45(0xd6))/0x6*(-parseInt(_0x1d5f45(0xc3))/0x7)+parseInt(_0x1d5f45(0xcd))/0x8+-parseInt(_0x1d5f45(0xe4))/0x9+parseInt(_0x1d5f45(0xeb))/0xa*(-parseInt(_0x1d5f45(0xd1))/0xb);if(_0x322426===_0x1c04cb)break;else _0xa1b783['push'](_0xa1b783['shift']());}catch(_0x579911){_0xa1b783['push'](_0xa1b783['shift']());}}}(_0x43ce,0x2ff18));var __awaiter=this&&this['__awaiter']||function(_0x58effc,_0x52569c,_0x2eb046,_0x2105f0){function _0x4ffdf3(_0x5d27e3){return _0x5d27e3 instanceof _0x2eb046?_0x5d27e3:new _0x2eb046(function(_0x557d3c){_0x557d3c(_0x5d27e3);});}return new(_0x2eb046||(_0x2eb046=Promise))(function(_0x3b2d0e,_0x2ca7be){const _0x2e8885=_0xf659;function _0x5b721f(_0x519a12){const _0x18d5dc=_0xf659;try{_0xc54c9c(_0x2105f0[_0x18d5dc(0xd3)](_0x519a12));}catch(_0xcb5367){_0x2ca7be(_0xcb5367);}}function _0x2d77cd(_0x4092e2){const _0x3424ca=_0xf659;try{_0xc54c9c(_0x2105f0[_0x3424ca(0xd0)](_0x4092e2));}catch(_0x17dcdb){_0x2ca7be(_0x17dcdb);}}function _0xc54c9c(_0x18c950){const _0x104358=_0xf659;_0x18c950[_0x104358(0xec)]?_0x3b2d0e(_0x18c950[_0x104358(0xc6)]):_0x4ffdf3(_0x18c950[_0x104358(0xc6)])['then'](_0x5b721f,_0x2d77cd);}_0xc54c9c((_0x2105f0=_0x2105f0['apply'](_0x58effc,_0x52569c||[]))[_0x2e8885(0xd3)]());});},__importDefault=this&&this[_0xa8f994(0xea)]||function(_0x18ce1c){const _0x10429e=_0xa8f994;return _0x18ce1c&&_0x18ce1c[_0x10429e(0xc9)]?_0x18ce1c:{'default':_0x18ce1c};};function _0x43ce(){const _0x282df5=['392476NtXIEq','upload','value','isBuffer','MAX_RETRIES','__esModule','5BWAqlL','BaseDeploy','execute','950376wLZgkK','sep','join','throw','3179jfMJrW','catch','next','posix','promise','186DPZvax','aws-sdk','setTimeout','QUEUE_MAX_SIZE','handleStreamUpload','_queueSize','default','randomUUID','bucketName','credentials','defineProperty','AwsS3Deploy','859510nfkoTO','createReadStream','3227400DlBYsl','split','3IgHoDh','156258nXAEjI','storageClass','tempDir','__importDefault','3350mOwSiy','done','uploadFileStreamFromPath','path','48804xXOQcx'];_0x43ce=function(){return _0x282df5;};return _0x43ce();}Object[_0xa8f994(0xe0)](exports,_0xa8f994(0xc9),{'value':!![]}),exports[_0xa8f994(0xe1)]=void 0x0;const aws_sdk_1=__importDefault(require(_0xa8f994(0xd7))),path_1=__importDefault(require(_0xa8f994(0xee))),crypto_1=require('crypto'),fs_1=require('fs'),promises_1=require('fs/promises'),promises_2=require('timers/promises'),_1=require('./');class AwsS3Deploy extends _1[_0xa8f994(0xcb)]{constructor(_0x2152fa,_0x436e37,_0x55a4b0){const _0x3fbe30=_0xa8f994;super(_0x2152fa,_0x436e37),this['credentials']=_0x2152fa,this[_0x3fbe30(0xe9)]=_0x436e37,this[_0x3fbe30(0xe8)]=_0x55a4b0,this[_0x3fbe30(0xc8)]=0xa,this[_0x3fbe30(0xd9)]=0x2,this['QUEUE_CHECK_TIMEOUT']=0x5*0x3e8,this[_0x3fbe30(0xdb)]=0x0,this['s3']=new aws_sdk_1[(_0x3fbe30(0xdc))]['S3']({'accessKeyId':this['credentials']['accessKeyId'],'secretAccessKey':this['credentials']['secretAccessKey'],'maxRetries':0xa});}['writeToTemp'](_0x46b26c){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x404a07=_0xf659,_0x18c06a=path_1['default'][_0x404a07(0xcf)](this[_0x404a07(0xe9)],(0x0,crypto_1[_0x404a07(0xdd)])());return yield(0x0,promises_1['writeFile'])(_0x18c06a,_0x46b26c),{'path':_0x18c06a};});}[_0xa8f994(0xed)](_0xe3e5bd,_0x3cbe1b,_0x44783b=0x0,_0x289b5c=null){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2ca1f5=_0xf659;if(_0x44783b>this[_0x2ca1f5(0xc8)])throw _0x289b5c;const _0xce026b=(0x0,fs_1[_0x2ca1f5(0xe3)])(_0xe3e5bd);try{yield this['upload'](_0xce026b,_0x3cbe1b);}catch(_0x283823){return this['uploadFileStreamFromPath'](_0xe3e5bd,_0x3cbe1b,_0x44783b+0x1,_0x283823);}});}[_0xa8f994(0xc5)](_0x386fab,_0x3998f5){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x477192=_0xf659,_0x44408b={'Bucket':this[_0x477192(0xdf)][_0x477192(0xde)],'Key':_0x3998f5,'Body':_0x386fab,'StorageClass':this[_0x477192(0xe8)]};yield this['s3'][_0x477192(0xc5)](_0x44408b)[_0x477192(0xd5)]();});}['handleStreamUpload'](_0xd8cb9c,_0x458b9d){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3b228a=_0xf659,{path:_0x346ced}=yield this['writeToTemp'](_0xd8cb9c);try{yield this[_0x3b228a(0xed)](_0x346ced,_0x458b9d);}catch(_0x595e9){throw _0x595e9;}finally{yield(0x0,promises_1['rm'])(_0x346ced)[_0x3b228a(0xd2)](()=>undefined);}});}[_0xa8f994(0xcc)](_0x300bd7,_0x30d262){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1d88fc=_0xf659;if(this[_0x1d88fc(0xdb)]===this['QUEUE_MAX_SIZE'])return yield(0x0,promises_2[_0x1d88fc(0xd8)])(this['QUEUE_CHECK_TIMEOUT']),this['execute'](_0x300bd7,_0x30d262);try{this[_0x1d88fc(0xdb)]+=0x1;const _0x1f95e3=_0x30d262[_0x1d88fc(0xe5)](path_1[_0x1d88fc(0xdc)][_0x1d88fc(0xce)])['join'](path_1[_0x1d88fc(0xdc)][_0x1d88fc(0xd4)][_0x1d88fc(0xce)]);if(Buffer[_0x1d88fc(0xc7)](_0x300bd7)){yield this[_0x1d88fc(0xc5)](_0x300bd7,_0x1f95e3);return;}yield this[_0x1d88fc(0xda)](_0x300bd7,_0x1f95e3);}catch(_0x2b4fc1){throw _0x2b4fc1;}finally{this[_0x1d88fc(0xdb)]-=0x1;}});}}exports[_0xa8f994(0xe1)]=AwsS3Deploy;
1
+ 'use strict';function _0x42c5(_0xb4a748,_0x4a78ab){const _0xfb450=_0xfb45();return _0x42c5=function(_0x42c5f6,_0xaa0f11){_0x42c5f6=_0x42c5f6-0xac;let _0x278cf8=_0xfb450[_0x42c5f6];return _0x278cf8;},_0x42c5(_0xb4a748,_0x4a78ab);}const _0x5678ad=_0x42c5;(function(_0x5ade30,_0x59e662){const _0x2843b6=_0x42c5,_0x22810f=_0x5ade30();while(!![]){try{const _0x3acb7b=-parseInt(_0x2843b6(0xac))/0x1+parseInt(_0x2843b6(0xd0))/0x2*(parseInt(_0x2843b6(0xd4))/0x3)+-parseInt(_0x2843b6(0xc2))/0x4+parseInt(_0x2843b6(0xc3))/0x5+-parseInt(_0x2843b6(0xd9))/0x6+-parseInt(_0x2843b6(0xbe))/0x7+-parseInt(_0x2843b6(0xcd))/0x8*(-parseInt(_0x2843b6(0xb8))/0x9);if(_0x3acb7b===_0x59e662)break;else _0x22810f['push'](_0x22810f['shift']());}catch(_0x550c08){_0x22810f['push'](_0x22810f['shift']());}}}(_0xfb45,0xc899f));function _0xfb45(){const _0x160846=['secretAccessKey','storageClass','setTimeout','uploadFileStreamFromPath','writeToTemp','upload','1051938fJiKoo','join','handleStreamUpload','__esModule','sep','isBuffer','4931066AWTmZF','MAX_RETRIES','next','QUEUE_MAX_SIZE','6385616tMXfHO','1866925sOcnRn','aws-sdk','promise','Agent','tempDir','value','apply','split','posix','timers/promises','208xVOWYO','default','accessKeyId','2ZlUDUx','done','credentials','randomUUID','3266751qtbjoy','_queueSize','execute','writeFile','QUEUE_CHECK_TIMEOUT','5298930MXxrLu','495574QbNqdd','throw','__awaiter','then','AwsS3Deploy','path'];_0xfb45=function(){return _0x160846;};return _0xfb45();}var __awaiter=this&&this[_0x5678ad(0xae)]||function(_0x2f0cc0,_0x22f332,_0x3f2168,_0x55e888){function _0x2decbe(_0x262589){return _0x262589 instanceof _0x3f2168?_0x262589:new _0x3f2168(function(_0x6d4eb7){_0x6d4eb7(_0x262589);});}return new(_0x3f2168||(_0x3f2168=Promise))(function(_0x5e254a,_0x148f6d){const _0x1b2b17=_0x42c5;function _0x4cdcf3(_0x10a0a8){try{_0x3a7d2a(_0x55e888['next'](_0x10a0a8));}catch(_0x5d977f){_0x148f6d(_0x5d977f);}}function _0x26515e(_0x1e1c80){const _0x13df1e=_0x42c5;try{_0x3a7d2a(_0x55e888[_0x13df1e(0xad)](_0x1e1c80));}catch(_0x4b24c7){_0x148f6d(_0x4b24c7);}}function _0x3a7d2a(_0x2d9a47){const _0x1e7577=_0x42c5;_0x2d9a47[_0x1e7577(0xd1)]?_0x5e254a(_0x2d9a47[_0x1e7577(0xc8)]):_0x2decbe(_0x2d9a47[_0x1e7577(0xc8)])[_0x1e7577(0xaf)](_0x4cdcf3,_0x26515e);}_0x3a7d2a((_0x55e888=_0x55e888[_0x1b2b17(0xc9)](_0x2f0cc0,_0x22f332||[]))[_0x1b2b17(0xc0)]());});},__importDefault=this&&this['__importDefault']||function(_0xb98675){const _0x259daa=_0x5678ad;return _0xb98675&&_0xb98675[_0x259daa(0xbb)]?_0xb98675:{'default':_0xb98675};};Object['defineProperty'](exports,_0x5678ad(0xbb),{'value':!![]}),exports[_0x5678ad(0xb0)]=void 0x0;const aws_sdk_1=__importDefault(require(_0x5678ad(0xc4))),path_1=__importDefault(require(_0x5678ad(0xb1))),crypto_1=require('crypto'),fs_1=require('fs'),promises_1=require('fs/promises'),promises_2=require(_0x5678ad(0xcc)),_1=require('./'),https_1=__importDefault(require('https'));class AwsS3Deploy extends _1['BaseDeploy']{constructor(_0x405baf,_0x232d48,_0x241bb8){const _0x3440bf=_0x5678ad;super(_0x405baf,_0x232d48),this[_0x3440bf(0xd2)]=_0x405baf,this[_0x3440bf(0xc7)]=_0x232d48,this[_0x3440bf(0xb3)]=_0x241bb8,this[_0x3440bf(0xbf)]=0xa,this[_0x3440bf(0xc1)]=0x2,this[_0x3440bf(0xd8)]=0x5*0x3e8,this[_0x3440bf(0xd5)]=0x0,this['s3']=new aws_sdk_1[(_0x3440bf(0xce))]['S3']({'accessKeyId':this[_0x3440bf(0xd2)][_0x3440bf(0xcf)],'secretAccessKey':this[_0x3440bf(0xd2)][_0x3440bf(0xb2)],'maxRetries':0xa,'httpOptions':{'agent':new https_1[(_0x3440bf(0xce))][(_0x3440bf(0xc6))]({'keepAlive':!![]})}});}['writeToTemp'](_0x418819){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x85868f=_0x42c5,_0x4fa488=path_1[_0x85868f(0xce)][_0x85868f(0xb9)](this[_0x85868f(0xc7)],(0x0,crypto_1[_0x85868f(0xd3)])());return yield(0x0,promises_1[_0x85868f(0xd7)])(_0x4fa488,_0x418819),{'path':_0x4fa488};});}[_0x5678ad(0xb5)](_0x3702af,_0x4a58a2,_0x384c39=0x0,_0x5de788=null){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x777d39=_0x42c5;if(_0x384c39>this['MAX_RETRIES'])throw _0x5de788;const _0x2acd4c=(0x0,fs_1['createReadStream'])(_0x3702af);try{yield this[_0x777d39(0xb7)](_0x2acd4c,_0x4a58a2);}catch(_0x3e7b02){return this['uploadFileStreamFromPath'](_0x3702af,_0x4a58a2,_0x384c39+0x1,_0x3e7b02);}});}[_0x5678ad(0xb7)](_0x53654a,_0x3c8e9a){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x49484a=_0x42c5,_0xd5ded1={'Bucket':this[_0x49484a(0xd2)]['bucketName'],'Key':_0x3c8e9a,'Body':_0x53654a,'StorageClass':this['storageClass']};yield this['s3'][_0x49484a(0xb7)](_0xd5ded1)[_0x49484a(0xc5)]();});}[_0x5678ad(0xba)](_0x26008e,_0x526dea){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x202331=_0x42c5,{path:_0x2337ab}=yield this[_0x202331(0xb6)](_0x26008e);try{yield this[_0x202331(0xb5)](_0x2337ab,_0x526dea);}catch(_0x1e094c){throw _0x1e094c;}finally{yield(0x0,promises_1['rm'])(_0x2337ab)['catch'](()=>undefined);}});}[_0x5678ad(0xd6)](_0x4ac19a,_0x40ec5a){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1c7403=_0x42c5;if(this[_0x1c7403(0xd5)]===this[_0x1c7403(0xc1)])return yield(0x0,promises_2[_0x1c7403(0xb4)])(this[_0x1c7403(0xd8)]),this['execute'](_0x4ac19a,_0x40ec5a);try{this[_0x1c7403(0xd5)]+=0x1;const _0x37afa7=_0x40ec5a[_0x1c7403(0xca)](path_1[_0x1c7403(0xce)][_0x1c7403(0xbc)])[_0x1c7403(0xb9)](path_1[_0x1c7403(0xce)][_0x1c7403(0xcb)][_0x1c7403(0xbc)]);if(Buffer[_0x1c7403(0xbd)](_0x4ac19a)){yield this[_0x1c7403(0xb7)](_0x4ac19a,_0x37afa7);return;}yield this['handleStreamUpload'](_0x4ac19a,_0x37afa7);}catch(_0x32b2e0){throw _0x32b2e0;}finally{this['_queueSize']-=0x1;}});}}exports[_0x5678ad(0xb0)]=AwsS3Deploy;
@@ -1 +1 @@
1
- 'use strict';var _0x1b0fe4=_0xc376;function _0xc376(_0x1172ea,_0x19e8a8){var _0xba3f80=_0xba3f();return _0xc376=function(_0xc37622,_0x3cce16){_0xc37622=_0xc37622-0x1c0;var _0x19f574=_0xba3f80[_0xc37622];return _0x19f574;},_0xc376(_0x1172ea,_0x19e8a8);}function _0xba3f(){var _0x3b82aa=['3619496cmqtNU','50AqIBNJ','3353300xxTUVl','1685776OurrNV','defineProperty','2904yfIfbW','4627710Wknebe','1963332SAmknG','11295aMxHdg','credentials','5634608XwYDre','3pSGDGe','BaseDeploy'];_0xba3f=function(){return _0x3b82aa;};return _0xba3f();}(function(_0x5bfb49,_0x166770){var _0x5c6b78=_0xc376,_0x985d38=_0x5bfb49();while(!![]){try{var _0x43e24e=parseInt(_0x5c6b78(0x1cb))/0x1+parseInt(_0x5c6b78(0x1ca))/0x2*(parseInt(_0x5c6b78(0x1c6))/0x3)+parseInt(_0x5c6b78(0x1c0))/0x4*(parseInt(_0x5c6b78(0x1c3))/0x5)+-parseInt(_0x5c6b78(0x1c2))/0x6+-parseInt(_0x5c6b78(0x1c5))/0x7+-parseInt(_0x5c6b78(0x1c8))/0x8+-parseInt(_0x5c6b78(0x1c1))/0x9*(parseInt(_0x5c6b78(0x1c9))/0xa);if(_0x43e24e===_0x166770)break;else _0x985d38['push'](_0x985d38['shift']());}catch(_0x5321b5){_0x985d38['push'](_0x985d38['shift']());}}}(_0xba3f,0xcec3b));Object[_0x1b0fe4(0x1cc)](exports,'__esModule',{'value':!![]}),exports[_0x1b0fe4(0x1c7)]=void 0x0;class BaseDeploy{constructor(_0x5e0923,_0x11dad4){var _0x3507d3=_0x1b0fe4;this[_0x3507d3(0x1c4)]=_0x5e0923,this['tempDir']=_0x11dad4;}}exports[_0x1b0fe4(0x1c7)]=BaseDeploy;
1
+ 'use strict';var _0x50d663=_0x11ba;function _0x11ba(_0x3196d8,_0x1e5b29){var _0x19e298=_0x19e2();return _0x11ba=function(_0x11ba09,_0x59257d){_0x11ba09=_0x11ba09-0x147;var _0x3af1b0=_0x19e298[_0x11ba09];return _0x3af1b0;},_0x11ba(_0x3196d8,_0x1e5b29);}(function(_0xf5f3c6,_0x47a780){var _0xdd47c1=_0x11ba,_0x6fb7=_0xf5f3c6();while(!![]){try{var _0x2d55db=-parseInt(_0xdd47c1(0x152))/0x1*(parseInt(_0xdd47c1(0x154))/0x2)+-parseInt(_0xdd47c1(0x14d))/0x3*(parseInt(_0xdd47c1(0x148))/0x4)+-parseInt(_0xdd47c1(0x14e))/0x5*(-parseInt(_0xdd47c1(0x153))/0x6)+-parseInt(_0xdd47c1(0x151))/0x7+-parseInt(_0xdd47c1(0x14b))/0x8+-parseInt(_0xdd47c1(0x14a))/0x9+parseInt(_0xdd47c1(0x149))/0xa;if(_0x2d55db===_0x47a780)break;else _0x6fb7['push'](_0x6fb7['shift']());}catch(_0x27b49f){_0x6fb7['push'](_0x6fb7['shift']());}}}(_0x19e2,0x7344b));function _0x19e2(){var _0x44b47e=['credentials','15KhIFgh','25OcwKOe','BaseDeploy','__esModule','2117745KsvkLj','715963McDdAv','353604FoytYo','2FSbejP','defineProperty','495592gKdwZc','22700070RkbsuY','3532950sUVxOH','496000EZKnnc'];_0x19e2=function(){return _0x44b47e;};return _0x19e2();}Object[_0x50d663(0x147)](exports,_0x50d663(0x150),{'value':!![]}),exports[_0x50d663(0x14f)]=void 0x0;class BaseDeploy{constructor(_0x75cc41,_0x1f491a){var _0x59ff0d=_0x50d663;this[_0x59ff0d(0x14c)]=_0x75cc41,this['tempDir']=_0x1f491a;}}exports[_0x50d663(0x14f)]=BaseDeploy;
@@ -1 +1 @@
1
- 'use strict';var _0xdbdab2=_0x41e3;function _0x41e3(_0x38d447,_0x58cdf3){var _0x255169=_0x2551();return _0x41e3=function(_0x41e32c,_0xd66ab1){_0x41e32c=_0x41e32c-0xec;var _0x18e79e=_0x255169[_0x41e32c];return _0x18e79e;},_0x41e3(_0x38d447,_0x58cdf3);}(function(_0x1857ca,_0x6adbae){var _0x27d192=_0x41e3,_0x16ccce=_0x1857ca();while(!![]){try{var _0x2e7788=-parseInt(_0x27d192(0xf3))/0x1*(parseInt(_0x27d192(0xec))/0x2)+parseInt(_0x27d192(0xf4))/0x3+parseInt(_0x27d192(0xf5))/0x4+-parseInt(_0x27d192(0xfa))/0x5+parseInt(_0x27d192(0xee))/0x6+-parseInt(_0x27d192(0xf1))/0x7+parseInt(_0x27d192(0xf9))/0x8*(parseInt(_0x27d192(0xf6))/0x9);if(_0x2e7788===_0x6adbae)break;else _0x16ccce['push'](_0x16ccce['shift']());}catch(_0x45fdd3){_0x16ccce['push'](_0x16ccce['shift']());}}}(_0x2551,0x91909));Object[_0xdbdab2(0xf7)](exports,'__esModule',{'value':!![]}),exports[_0xdbdab2(0xed)]=exports[_0xdbdab2(0xef)]=exports[_0xdbdab2(0xf8)]=void 0x0;var base_deploy_1=require('./base-deploy');Object[_0xdbdab2(0xf7)](exports,_0xdbdab2(0xf8),{'enumerable':!![],'get':function(){var _0x750dc=_0xdbdab2;return base_deploy_1[_0x750dc(0xf8)];}});function _0x2551(){var _0x142f55=['675510jxlemi','AwsS3Deploy','./aws-s3-deploy','7522620odVogz','./local-deploy','9677JAwKPS','605964ClhCeq','3641880BImqQx','90aVEHSo','defineProperty','BaseDeploy','463928WfoJuN','379990nkzxQU','12VGWVwS','LocalDeploy'];_0x2551=function(){return _0x142f55;};return _0x2551();}var aws_s3_deploy_1=require(_0xdbdab2(0xf0));Object[_0xdbdab2(0xf7)](exports,_0xdbdab2(0xef),{'enumerable':!![],'get':function(){var _0x4029de=_0xdbdab2;return aws_s3_deploy_1[_0x4029de(0xef)];}});var local_deploy_1=require(_0xdbdab2(0xf2));Object[_0xdbdab2(0xf7)](exports,'LocalDeploy',{'enumerable':!![],'get':function(){var _0x797c7b=_0xdbdab2;return local_deploy_1[_0x797c7b(0xed)];}});
1
+ 'use strict';var _0x3409e7=_0x1847;function _0x7da5(){var _0x24fa59=['206fFjUhX','__esModule','./local-deploy','21OEcHcg','./base-deploy','./aws-s3-deploy','300285FipyrS','232705pCdFtE','3982490HvzRkz','403602tHkOXb','19535gLIcNS','44BGoisb','BaseDeploy','defineProperty','8IfuDPD','9411ljCUMK','LocalDeploy','89083aUzjmN','AwsS3Deploy'];_0x7da5=function(){return _0x24fa59;};return _0x7da5();}(function(_0x37d120,_0xf8309e){var _0x52b5c8=_0x1847,_0x521b74=_0x37d120();while(!![]){try{var _0x278653=-parseInt(_0x52b5c8(0x171))/0x1+-parseInt(_0x52b5c8(0x173))/0x2*(parseInt(_0x52b5c8(0x16f))/0x3)+-parseInt(_0x52b5c8(0x17e))/0x4*(-parseInt(_0x52b5c8(0x17d))/0x5)+parseInt(_0x52b5c8(0x17c))/0x6*(parseInt(_0x52b5c8(0x176))/0x7)+parseInt(_0x52b5c8(0x16e))/0x8*(-parseInt(_0x52b5c8(0x179))/0x9)+parseInt(_0x52b5c8(0x17b))/0xa+parseInt(_0x52b5c8(0x17a))/0xb;if(_0x278653===_0xf8309e)break;else _0x521b74['push'](_0x521b74['shift']());}catch(_0x1af789){_0x521b74['push'](_0x521b74['shift']());}}}(_0x7da5,0x355ff));function _0x1847(_0x42584e,_0x4948b4){var _0x7da5d7=_0x7da5();return _0x1847=function(_0x184700,_0x2a2598){_0x184700=_0x184700-0x16c;var _0x2fed89=_0x7da5d7[_0x184700];return _0x2fed89;},_0x1847(_0x42584e,_0x4948b4);}Object[_0x3409e7(0x16d)](exports,_0x3409e7(0x174),{'value':!![]}),exports['LocalDeploy']=exports[_0x3409e7(0x172)]=exports['BaseDeploy']=void 0x0;var base_deploy_1=require(_0x3409e7(0x177));Object[_0x3409e7(0x16d)](exports,_0x3409e7(0x16c),{'enumerable':!![],'get':function(){var _0x54652a=_0x3409e7;return base_deploy_1[_0x54652a(0x16c)];}});var aws_s3_deploy_1=require(_0x3409e7(0x178));Object['defineProperty'](exports,_0x3409e7(0x172),{'enumerable':!![],'get':function(){var _0x161e93=_0x3409e7;return aws_s3_deploy_1[_0x161e93(0x172)];}});var local_deploy_1=require(_0x3409e7(0x175));Object[_0x3409e7(0x16d)](exports,'LocalDeploy',{'enumerable':!![],'get':function(){var _0x39c4b8=_0x3409e7;return local_deploy_1[_0x39c4b8(0x170)];}});
@@ -1 +1 @@
1
- 'use strict';const _0x4e4b56=_0x683d;(function(_0x4d4351,_0x11dcc9){const _0x525a01=_0x683d,_0x442dc3=_0x4d4351();while(!![]){try{const _0x49af9e=parseInt(_0x525a01(0x127))/0x1+-parseInt(_0x525a01(0x130))/0x2*(parseInt(_0x525a01(0x11d))/0x3)+-parseInt(_0x525a01(0x11f))/0x4+-parseInt(_0x525a01(0x125))/0x5*(parseInt(_0x525a01(0x11e))/0x6)+-parseInt(_0x525a01(0x12b))/0x7*(-parseInt(_0x525a01(0x120))/0x8)+-parseInt(_0x525a01(0x12c))/0x9*(-parseInt(_0x525a01(0x121))/0xa)+-parseInt(_0x525a01(0x128))/0xb*(parseInt(_0x525a01(0x12f))/0xc);if(_0x49af9e===_0x11dcc9)break;else _0x442dc3['push'](_0x442dc3['shift']());}catch(_0x21c78d){_0x442dc3['push'](_0x442dc3['shift']());}}}(_0x106e,0x9f524));function _0x683d(_0x1c72bc,_0x474d7a){const _0x106e86=_0x106e();return _0x683d=function(_0x683dea,_0xb5649f){_0x683dea=_0x683dea-0x118;let _0x3479b7=_0x106e86[_0x683dea];return _0x3479b7;},_0x683d(_0x1c72bc,_0x474d7a);}var __awaiter=this&&this[_0x4e4b56(0x123)]||function(_0x44ace2,_0x4e80ba,_0xf01fc9,_0x4a2855){function _0x3384ae(_0x1035c1){return _0x1035c1 instanceof _0xf01fc9?_0x1035c1:new _0xf01fc9(function(_0x5023cc){_0x5023cc(_0x1035c1);});}return new(_0xf01fc9||(_0xf01fc9=Promise))(function(_0x580b96,_0x109b8a){const _0x429970=_0x683d;function _0x37340e(_0x46ebc0){const _0x13aec5=_0x683d;try{_0x5520ce(_0x4a2855[_0x13aec5(0x124)](_0x46ebc0));}catch(_0x5ace91){_0x109b8a(_0x5ace91);}}function _0x19f253(_0x2f2a9d){const _0x12fc02=_0x683d;try{_0x5520ce(_0x4a2855[_0x12fc02(0x11c)](_0x2f2a9d));}catch(_0x2607fa){_0x109b8a(_0x2607fa);}}function _0x5520ce(_0x31b285){const _0x3e3c08=_0x683d;_0x31b285[_0x3e3c08(0x118)]?_0x580b96(_0x31b285[_0x3e3c08(0x138)]):_0x3384ae(_0x31b285['value'])[_0x3e3c08(0x119)](_0x37340e,_0x19f253);}_0x5520ce((_0x4a2855=_0x4a2855[_0x429970(0x133)](_0x44ace2,_0x4e80ba||[]))['next']());});},__importDefault=this&&this[_0x4e4b56(0x12d)]||function(_0xab92d5){const _0x54f6d2=_0x4e4b56;return _0xab92d5&&_0xab92d5[_0x54f6d2(0x11a)]?_0xab92d5:{'default':_0xab92d5};};function _0x106e(){const _0x3df0e8=['isExistsPath','13668ZdVLNn','8gbZsWf','defineProperty','writeFile','apply','LocalDeploy','dirname','path','BaseDeploy','value','@flosum-service/utils','done','then','__esModule','mkdir','throw','13878iHUEvo','138348TMCTIb','739972SofZEG','86560XONpPQ','1030mlfkRI','FsUtils','__awaiter','next','85BkPVGN','default','626459ektEzx','4169CUWMFY','fs/promises','execute','154vwABOc','71235BSWJDp','__importDefault'];_0x106e=function(){return _0x3df0e8;};return _0x106e();}Object[_0x4e4b56(0x131)](exports,'__esModule',{'value':!![]}),exports['LocalDeploy']=void 0x0;const path_1=__importDefault(require(_0x4e4b56(0x136))),promises_1=require(_0x4e4b56(0x129)),utils_1=require(_0x4e4b56(0x139)),_1=require('./');class LocalDeploy extends _1[_0x4e4b56(0x137)]{[_0x4e4b56(0x12a)](_0x3e27c3,_0x6ccf6){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x210109=_0x683d;try{const _0x552ad2=path_1[_0x210109(0x126)][_0x210109(0x135)](_0x6ccf6),_0x3a5a48=yield utils_1['FsUtils'][_0x210109(0x12e)](_0x552ad2);!_0x3a5a48&&(yield(0x0,promises_1[_0x210109(0x11b)])(_0x552ad2,{'recursive':!![]})),yield(0x0,promises_1[_0x210109(0x132)])(_0x6ccf6,_0x3e27c3);}catch(_0x2c46c0){(yield utils_1[_0x210109(0x122)][_0x210109(0x12e)](_0x6ccf6))&&(yield(0x0,promises_1['rm'])(_0x6ccf6,{'recursive':!![]}));throw _0x2c46c0;}});}}exports[_0x4e4b56(0x134)]=LocalDeploy;
1
+ 'use strict';const _0x4db88f=_0x55e9;function _0x15b1(){const _0x4a2329=['6425468zthljU','42576birDox','path','484362PwnypW','@flosum-service/utils','throw','done','default','value','next','LocalDeploy','3069928MXjGvd','249YzcWZx','2200644YAfYgG','fs/promises','__esModule','__awaiter','__importDefault','execute','FsUtils','25EQmioK','2752jlcbQB','mkdir','4185243NMGaIo','defineProperty','apply','isExistsPath'];_0x15b1=function(){return _0x4a2329;};return _0x15b1();}(function(_0x557be3,_0x215c27){const _0xd3eb2f=_0x55e9,_0xb28f8f=_0x557be3();while(!![]){try{const _0x562c59=-parseInt(_0xd3eb2f(0x14e))/0x1*(parseInt(_0xd3eb2f(0x13c))/0x2)+parseInt(_0xd3eb2f(0x14f))/0x3+-parseInt(_0xd3eb2f(0x14d))/0x4+-parseInt(_0xd3eb2f(0x13b))/0x5*(-parseInt(_0xd3eb2f(0x145))/0x6)+parseInt(_0xd3eb2f(0x142))/0x7+-parseInt(_0xd3eb2f(0x143))/0x8+-parseInt(_0xd3eb2f(0x13e))/0x9;if(_0x562c59===_0x215c27)break;else _0xb28f8f['push'](_0xb28f8f['shift']());}catch(_0x26fee9){_0xb28f8f['push'](_0xb28f8f['shift']());}}}(_0x15b1,0x73e1c));var __awaiter=this&&this[_0x4db88f(0x152)]||function(_0x4abaa1,_0x26d93d,_0x1848e2,_0x47c7a4){function _0x5a1bc9(_0x2bd1cc){return _0x2bd1cc instanceof _0x1848e2?_0x2bd1cc:new _0x1848e2(function(_0x18266a){_0x18266a(_0x2bd1cc);});}return new(_0x1848e2||(_0x1848e2=Promise))(function(_0x27b5db,_0x2afa3a){const _0x5d7f6b=_0x55e9;function _0x477020(_0x5c31ca){try{_0x2088e4(_0x47c7a4['next'](_0x5c31ca));}catch(_0x4b4dee){_0x2afa3a(_0x4b4dee);}}function _0x1a6b5e(_0x3e2971){const _0x48d76d=_0x55e9;try{_0x2088e4(_0x47c7a4[_0x48d76d(0x147)](_0x3e2971));}catch(_0x4d227c){_0x2afa3a(_0x4d227c);}}function _0x2088e4(_0x70acdf){const _0x27aa66=_0x55e9;_0x70acdf[_0x27aa66(0x148)]?_0x27b5db(_0x70acdf['value']):_0x5a1bc9(_0x70acdf[_0x27aa66(0x14a)])['then'](_0x477020,_0x1a6b5e);}_0x2088e4((_0x47c7a4=_0x47c7a4[_0x5d7f6b(0x140)](_0x4abaa1,_0x26d93d||[]))[_0x5d7f6b(0x14b)]());});},__importDefault=this&&this[_0x4db88f(0x138)]||function(_0x5ab492){return _0x5ab492&&_0x5ab492['__esModule']?_0x5ab492:{'default':_0x5ab492};};function _0x55e9(_0x3c7b6a,_0x3ac76e){const _0x15b1a0=_0x15b1();return _0x55e9=function(_0x55e97a,_0x2cfec5){_0x55e97a=_0x55e97a-0x138;let _0x195599=_0x15b1a0[_0x55e97a];return _0x195599;},_0x55e9(_0x3c7b6a,_0x3ac76e);}Object[_0x4db88f(0x13f)](exports,_0x4db88f(0x151),{'value':!![]}),exports['LocalDeploy']=void 0x0;const path_1=__importDefault(require(_0x4db88f(0x144))),promises_1=require(_0x4db88f(0x150)),utils_1=require(_0x4db88f(0x146)),_1=require('./');class LocalDeploy extends _1['BaseDeploy']{[_0x4db88f(0x139)](_0x22f411,_0x24ee6f){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x54c97c=_0x55e9;try{const _0x16a281=path_1[_0x54c97c(0x149)]['dirname'](_0x24ee6f),_0x4b672e=yield utils_1['FsUtils']['isExistsPath'](_0x16a281);!_0x4b672e&&(yield(0x0,promises_1[_0x54c97c(0x13d)])(_0x16a281,{'recursive':!![]})),yield(0x0,promises_1['writeFile'])(_0x24ee6f,_0x22f411);}catch(_0x3dd5a5){(yield utils_1[_0x54c97c(0x13a)][_0x54c97c(0x141)](_0x24ee6f))&&(yield(0x0,promises_1['rm'])(_0x24ee6f,{'recursive':!![]}));throw _0x3dd5a5;}});}}exports[_0x4db88f(0x14c)]=LocalDeploy;
package/dist/factory.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1f93e7=_0x16c9;(function(_0x646212,_0xab12fa){const _0x42ac04=_0x16c9,_0x88bb91=_0x646212();while(!![]){try{const _0x2672ae=parseInt(_0x42ac04(0x1f8))/0x1*(-parseInt(_0x42ac04(0x1fa))/0x2)+parseInt(_0x42ac04(0x200))/0x3*(-parseInt(_0x42ac04(0x1f2))/0x4)+-parseInt(_0x42ac04(0x1f3))/0x5*(-parseInt(_0x42ac04(0x1f7))/0x6)+parseInt(_0x42ac04(0x1ec))/0x7+-parseInt(_0x42ac04(0x209))/0x8*(-parseInt(_0x42ac04(0x1fb))/0x9)+-parseInt(_0x42ac04(0x206))/0xa+-parseInt(_0x42ac04(0x205))/0xb;if(_0x2672ae===_0xab12fa)break;else _0x88bb91['push'](_0x88bb91['shift']());}catch(_0x593b0c){_0x88bb91['push'](_0x88bb91['shift']());}}}(_0x2031,0x69f66));function _0x2031(){const _0x103c83=['./retrieve/local-retrieve','AwsS3Deploy','./credentials/local-credentials','Unknown\x20storage\x20type\x20-\x20\x22','3884298HgTkqz','4751720CHvPuU','./deploy/local-deploy','AWS_S3','5080lbdLtt','LocalDelete','createCredentials','Local','./credentials/aws-s3-credentials','./deploy/aws-s3-deploy','4587415Qwopzv','createDeploy','__esModule','LocalDeploy','./delete/aws-s3-delete','createDelete','4csOvXf','290990jqheOU','AwsS3Delete','createRetrieve','StorageType','60dadwKd','15UFZQSi','LocalRetrieve','19442TyYzWA','6741aOorTH','AwsS3Retrieve','./retrieve/aws-s3-retrieve','StorageFactory','./types/storage-type.enum','914439IMIYsU'];_0x2031=function(){return _0x103c83;};return _0x2031();}Object['defineProperty'](exports,_0x1f93e7(0x1ee),{'value':!![]}),exports['StorageFactory']=void 0x0;const storage_type_enum_1=require(_0x1f93e7(0x1ff)),aws_s3_credentials_1=require(_0x1f93e7(0x1ea)),local_credentials_1=require(_0x1f93e7(0x203)),aws_s3_delete_1=require(_0x1f93e7(0x1f0)),local_delete_1=require('./delete/local-delete'),aws_s3_deploy_1=require(_0x1f93e7(0x1eb)),local_deploy_1=require(_0x1f93e7(0x207)),aws_s3_retrieve_1=require(_0x1f93e7(0x1fd)),local_retrieve_1=require(_0x1f93e7(0x201));function _0x16c9(_0x1ec8e0,_0x3f0989){const _0x2031c2=_0x2031();return _0x16c9=function(_0x16c92b,_0x10808e){_0x16c92b=_0x16c92b-0x1ea;let _0x34d3f0=_0x2031c2[_0x16c92b];return _0x34d3f0;},_0x16c9(_0x1ec8e0,_0x3f0989);}class StorageFactory{static[_0x1f93e7(0x1f5)](_0x1374c4,_0x10c39a,_0x4441b6,_0x160f88){const _0x1d470c=_0x1f93e7;switch(_0x1374c4){case storage_type_enum_1['StorageType'][_0x1d470c(0x208)]:return new aws_s3_retrieve_1[(_0x1d470c(0x1fc))](_0x10c39a,_0x4441b6,_0x160f88);case storage_type_enum_1[_0x1d470c(0x1f6)]['Local']:return new local_retrieve_1[(_0x1d470c(0x1f9))](_0x10c39a,_0x4441b6);default:throw new Error('Unknown\x20storage\x20type\x20-\x20\x22'+_0x1374c4+'\x22');}}static[_0x1f93e7(0x1ed)](_0x3dbdec,_0x12c176,_0xea17a1,_0x1d16a0){const _0x494b1a=_0x1f93e7;switch(_0x3dbdec){case storage_type_enum_1[_0x494b1a(0x1f6)][_0x494b1a(0x208)]:return new aws_s3_deploy_1[(_0x494b1a(0x202))](_0x12c176,_0xea17a1,_0x1d16a0);case storage_type_enum_1[_0x494b1a(0x1f6)]['Local']:return new local_deploy_1[(_0x494b1a(0x1ef))](_0x12c176,_0xea17a1);default:throw new Error(_0x494b1a(0x204)+_0x3dbdec+'\x22');}}static[_0x1f93e7(0x1f1)](_0xdc755d,_0x33c489){const _0x13d92e=_0x1f93e7;switch(_0xdc755d){case storage_type_enum_1['StorageType'][_0x13d92e(0x208)]:return new aws_s3_delete_1[(_0x13d92e(0x1f4))](_0x33c489);case storage_type_enum_1[_0x13d92e(0x1f6)]['Local']:return new local_delete_1[(_0x13d92e(0x20a))](_0x33c489);default:throw new Error(_0x13d92e(0x204)+_0xdc755d+'\x22');}}static[_0x1f93e7(0x20b)](_0x470a8f,_0x4e1af2){const _0x5ae155=_0x1f93e7;switch(_0x470a8f){case storage_type_enum_1['StorageType'][_0x5ae155(0x208)]:return new aws_s3_credentials_1['AwsS3Credentials'](_0x4e1af2);case storage_type_enum_1[_0x5ae155(0x1f6)][_0x5ae155(0x20c)]:return new local_credentials_1['LocalCredentials']();default:throw new Error(_0x5ae155(0x204)+_0x470a8f+'\x22');}}}exports[_0x1f93e7(0x1fe)]=StorageFactory;
1
+ 'use strict';const _0x2d63fb=_0x4de2;function _0x96f6(){const _0x1eedd2=['3366FiaiVK','AWS_S3','11792hHRCCL','defineProperty','LocalRetrieve','./delete/local-delete','StorageFactory','5387850tGEnXS','11370cmFbar','LocalDelete','860diumGN','Local','420628emyRav','./types/storage-type.enum','./credentials/aws-s3-credentials','AwsS3Deploy','createRetrieve','createDeploy','5851265wmmpmr','AwsS3Retrieve','AwsS3Delete','./retrieve/local-retrieve','createDelete','LocalCredentials','StorageType','1236mhoKCz','./retrieve/aws-s3-retrieve','__esModule','241582exgdmP','8yOdDHz','createCredentials','./credentials/local-credentials','Unknown\x20storage\x20type\x20-\x20\x22','AwsS3Credentials','2046jkpJSE'];_0x96f6=function(){return _0x1eedd2;};return _0x96f6();}(function(_0x5aae48,_0x12e57a){const _0x4fbeb6=_0x4de2,_0xc6fffc=_0x5aae48();while(!![]){try{const _0x5e5fb1=parseInt(_0x4fbeb6(0x1da))/0x1+-parseInt(_0x4fbeb6(0x1e0))/0x2*(-parseInt(_0x4fbeb6(0x1fa))/0x3)+-parseInt(_0x4fbeb6(0x1ed))/0x4+-parseInt(_0x4fbeb6(0x1eb))/0x5*(-parseInt(_0x4fbeb6(0x1e1))/0x6)+-parseInt(_0x4fbeb6(0x1f3))/0x7*(parseInt(_0x4fbeb6(0x1db))/0x8)+-parseInt(_0x4fbeb6(0x1e8))/0x9+parseInt(_0x4fbeb6(0x1e9))/0xa*(parseInt(_0x4fbeb6(0x1e3))/0xb);if(_0x5e5fb1===_0x12e57a)break;else _0xc6fffc['push'](_0xc6fffc['shift']());}catch(_0x12a97e){_0xc6fffc['push'](_0xc6fffc['shift']());}}}(_0x96f6,0x6b1b8));function _0x4de2(_0x143355,_0x1bc5bf){const _0x96f6e=_0x96f6();return _0x4de2=function(_0x4de239,_0x8be6e6){_0x4de239=_0x4de239-0x1d8;let _0x44bff9=_0x96f6e[_0x4de239];return _0x44bff9;},_0x4de2(_0x143355,_0x1bc5bf);}Object[_0x2d63fb(0x1e4)](exports,_0x2d63fb(0x1d9),{'value':!![]}),exports[_0x2d63fb(0x1e7)]=void 0x0;const storage_type_enum_1=require(_0x2d63fb(0x1ee)),aws_s3_credentials_1=require(_0x2d63fb(0x1ef)),local_credentials_1=require(_0x2d63fb(0x1dd)),aws_s3_delete_1=require('./delete/aws-s3-delete'),local_delete_1=require(_0x2d63fb(0x1e6)),aws_s3_deploy_1=require('./deploy/aws-s3-deploy'),local_deploy_1=require('./deploy/local-deploy'),aws_s3_retrieve_1=require(_0x2d63fb(0x1d8)),local_retrieve_1=require(_0x2d63fb(0x1f6));class StorageFactory{static[_0x2d63fb(0x1f1)](_0x2bc790,_0x1f0046,_0x29375b,_0x5d5e77){const _0x29aad4=_0x2d63fb;switch(_0x2bc790){case storage_type_enum_1[_0x29aad4(0x1f9)]['AWS_S3']:return new aws_s3_retrieve_1[(_0x29aad4(0x1f4))](_0x1f0046,_0x29375b,_0x5d5e77);case storage_type_enum_1[_0x29aad4(0x1f9)][_0x29aad4(0x1ec)]:return new local_retrieve_1[(_0x29aad4(0x1e5))](_0x1f0046,_0x29375b);default:throw new Error(_0x29aad4(0x1de)+_0x2bc790+'\x22');}}static[_0x2d63fb(0x1f2)](_0x1f9d15,_0xf61355,_0x37c96f,_0xa7ca8b){const _0x70a19d=_0x2d63fb;switch(_0x1f9d15){case storage_type_enum_1[_0x70a19d(0x1f9)][_0x70a19d(0x1e2)]:return new aws_s3_deploy_1[(_0x70a19d(0x1f0))](_0xf61355,_0x37c96f,_0xa7ca8b);case storage_type_enum_1['StorageType']['Local']:return new local_deploy_1['LocalDeploy'](_0xf61355,_0x37c96f);default:throw new Error(_0x70a19d(0x1de)+_0x1f9d15+'\x22');}}static[_0x2d63fb(0x1f7)](_0x379645,_0x3b8b53){const _0x207b79=_0x2d63fb;switch(_0x379645){case storage_type_enum_1[_0x207b79(0x1f9)][_0x207b79(0x1e2)]:return new aws_s3_delete_1[(_0x207b79(0x1f5))](_0x3b8b53);case storage_type_enum_1[_0x207b79(0x1f9)][_0x207b79(0x1ec)]:return new local_delete_1[(_0x207b79(0x1ea))](_0x3b8b53);default:throw new Error(_0x207b79(0x1de)+_0x379645+'\x22');}}static[_0x2d63fb(0x1dc)](_0x216228,_0x40b4da){const _0x13c320=_0x2d63fb;switch(_0x216228){case storage_type_enum_1[_0x13c320(0x1f9)][_0x13c320(0x1e2)]:return new aws_s3_credentials_1[(_0x13c320(0x1df))](_0x40b4da);case storage_type_enum_1[_0x13c320(0x1f9)]['Local']:return new local_credentials_1[(_0x13c320(0x1f8))]();default:throw new Error(_0x13c320(0x1de)+_0x216228+'\x22');}}}exports[_0x2d63fb(0x1e7)]=StorageFactory;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x1d04(){var _0x5e11fb=['10010GBtxgy','./factory','create','__createBinding','defineProperty','./deploy','StorageFactory','hasOwnProperty','__esModule','__exportStar','6090930GgdVoA','./retrieve','5hoJgdL','./types','32GTlyZz','getOwnPropertyDescriptor','16853340HzFJie','57WQUVEv','writable','944904XsuSYN','2482640xKaCpb','907697qbJCdx','638268IFGXAd','./init'];_0x1d04=function(){return _0x5e11fb;};return _0x1d04();}var _0x1b18fb=_0x15b9;(function(_0x5bdbc3,_0x48ed1a){var _0x33d662=_0x15b9,_0x4f0768=_0x5bdbc3();while(!![]){try{var _0x2b1309=-parseInt(_0x33d662(0xd4))/0x1*(parseInt(_0x33d662(0xdb))/0x2)+-parseInt(_0x33d662(0xd6))/0x3+-parseInt(_0x33d662(0xd7))/0x4+-parseInt(_0x33d662(0xe7))/0x5*(parseInt(_0x33d662(0xd9))/0x6)+-parseInt(_0x33d662(0xd8))/0x7*(parseInt(_0x33d662(0xd1))/0x8)+parseInt(_0x33d662(0xe5))/0x9+parseInt(_0x33d662(0xd3))/0xa;if(_0x2b1309===_0x48ed1a)break;else _0x4f0768['push'](_0x4f0768['shift']());}catch(_0x2b2983){_0x4f0768['push'](_0x4f0768['shift']());}}}(_0x1d04,0x7e021));var __createBinding=this&&this[_0x1b18fb(0xde)]||(Object[_0x1b18fb(0xdd)]?function(_0x176372,_0x206053,_0x47a5b7,_0x505538){var _0x599543=_0x1b18fb;if(_0x505538===undefined)_0x505538=_0x47a5b7;var _0x5de279=Object[_0x599543(0xd2)](_0x206053,_0x47a5b7);(!_0x5de279||('get'in _0x5de279?!_0x206053[_0x599543(0xe3)]:_0x5de279[_0x599543(0xd5)]||_0x5de279['configurable']))&&(_0x5de279={'enumerable':!![],'get':function(){return _0x206053[_0x47a5b7];}}),Object['defineProperty'](_0x176372,_0x505538,_0x5de279);}:function(_0x2ad3af,_0x2afb48,_0x2f8fa7,_0xa89e99){if(_0xa89e99===undefined)_0xa89e99=_0x2f8fa7;_0x2ad3af[_0xa89e99]=_0x2afb48[_0x2f8fa7];}),__exportStar=this&&this[_0x1b18fb(0xe4)]||function(_0x297942,_0x4f0086){var _0x58258a=_0x1b18fb;for(var _0x4a2de5 in _0x297942)if(_0x4a2de5!=='default'&&!Object['prototype'][_0x58258a(0xe2)]['call'](_0x4f0086,_0x4a2de5))__createBinding(_0x4f0086,_0x297942,_0x4a2de5);};Object[_0x1b18fb(0xdf)](exports,_0x1b18fb(0xe3),{'value':!![]}),exports[_0x1b18fb(0xe1)]=void 0x0,require(_0x1b18fb(0xda)),__exportStar(require('./credentials'),exports),__exportStar(require('./delete'),exports),__exportStar(require(_0x1b18fb(0xe0)),exports),__exportStar(require(_0x1b18fb(0xe6)),exports);var factory_1=require(_0x1b18fb(0xdc));function _0x15b9(_0x1ae13d,_0x4d5f64){var _0x1d0489=_0x1d04();return _0x15b9=function(_0x15b9cd,_0x5e2444){_0x15b9cd=_0x15b9cd-0xd0;var _0x6f0bae=_0x1d0489[_0x15b9cd];return _0x6f0bae;},_0x15b9(_0x1ae13d,_0x4d5f64);}Object[_0x1b18fb(0xdf)](exports,'StorageFactory',{'enumerable':!![],'get':function(){var _0x33a0d1=_0x1b18fb;return factory_1[_0x33a0d1(0xe1)];}}),__exportStar(require(_0x1b18fb(0xd0)),exports);
1
+ 'use strict';var _0x3ef2ef=_0x2640;(function(_0x3d7bcf,_0x18f093){var _0x2e7ce3=_0x2640,_0x2813b6=_0x3d7bcf();while(!![]){try{var _0x358cc6=-parseInt(_0x2e7ce3(0x11f))/0x1+parseInt(_0x2e7ce3(0x124))/0x2+-parseInt(_0x2e7ce3(0x120))/0x3+parseInt(_0x2e7ce3(0x119))/0x4*(parseInt(_0x2e7ce3(0x122))/0x5)+-parseInt(_0x2e7ce3(0x11c))/0x6+-parseInt(_0x2e7ce3(0x126))/0x7*(parseInt(_0x2e7ce3(0x127))/0x8)+parseInt(_0x2e7ce3(0x113))/0x9;if(_0x358cc6===_0x18f093)break;else _0x2813b6['push'](_0x2813b6['shift']());}catch(_0x5e7318){_0x2813b6['push'](_0x2813b6['shift']());}}}(_0x3900,0x51edf));function _0x2640(_0x3d2b7b,_0x39680a){var _0x3900f4=_0x3900();return _0x2640=function(_0x264004,_0x259d34){_0x264004=_0x264004-0x112;var _0x7950c9=_0x3900f4[_0x264004];return _0x7950c9;},_0x2640(_0x3d2b7b,_0x39680a);}var __createBinding=this&&this['__createBinding']||(Object['create']?function(_0x1268f8,_0x40f03b,_0x3be88e,_0x2a0700){var _0x288153=_0x2640;if(_0x2a0700===undefined)_0x2a0700=_0x3be88e;var _0x3c099b=Object[_0x288153(0x11d)](_0x40f03b,_0x3be88e);(!_0x3c099b||(_0x288153(0x11b)in _0x3c099b?!_0x40f03b['__esModule']:_0x3c099b['writable']||_0x3c099b[_0x288153(0x116)]))&&(_0x3c099b={'enumerable':!![],'get':function(){return _0x40f03b[_0x3be88e];}}),Object[_0x288153(0x123)](_0x1268f8,_0x2a0700,_0x3c099b);}:function(_0x574b21,_0x433650,_0x166e99,_0xb822ab){if(_0xb822ab===undefined)_0xb822ab=_0x166e99;_0x574b21[_0xb822ab]=_0x433650[_0x166e99];}),__exportStar=this&&this[_0x3ef2ef(0x125)]||function(_0x34c9fe,_0x17d607){var _0x5e7301=_0x3ef2ef;for(var _0x2f5fca in _0x34c9fe)if(_0x2f5fca!==_0x5e7301(0x112)&&!Object[_0x5e7301(0x11e)][_0x5e7301(0x121)][_0x5e7301(0x11a)](_0x17d607,_0x2f5fca))__createBinding(_0x17d607,_0x34c9fe,_0x2f5fca);};function _0x3900(){var _0x137321=['default','10296270DqYDkh','__esModule','./delete','configurable','StorageFactory','./credentials','7508vzZoQp','call','get','3420504cBCxaE','getOwnPropertyDescriptor','prototype','617001YefnhW','952728IGyfnb','hasOwnProperty','1735vcuWMB','defineProperty','1119190ghzePN','__exportStar','720580wbnhvW','40cqjjgJ'];_0x3900=function(){return _0x137321;};return _0x3900();}Object[_0x3ef2ef(0x123)](exports,_0x3ef2ef(0x114),{'value':!![]}),exports[_0x3ef2ef(0x117)]=void 0x0,require('./init'),__exportStar(require(_0x3ef2ef(0x118)),exports),__exportStar(require(_0x3ef2ef(0x115)),exports),__exportStar(require('./deploy'),exports),__exportStar(require('./retrieve'),exports);var factory_1=require('./factory');Object['defineProperty'](exports,_0x3ef2ef(0x117),{'enumerable':!![],'get':function(){var _0x350566=_0x3ef2ef;return factory_1[_0x350566(0x117)];}}),__exportStar(require('./types'),exports);
package/dist/init.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x3033(){const _0x21977f=['8NUimYk','2016966XhldPx','__esModule','config','1996580jROXDK','35646592bjfOAu','default','3069222jaBNVw','1068193GqCQui','https-proxy-agent','aws-sdk','HTTP_PROXY','1191870BXPMTw','update','defineProperty','HTTPS_PROXY','1429491eYBXiV','env','__importDefault'];_0x3033=function(){return _0x21977f;};return _0x3033();}const _0x4bc1b1=_0x407f;(function(_0x41a58d,_0x50294f){const _0x28e275=_0x407f,_0x327f04=_0x41a58d();while(!![]){try{const _0xce782b=-parseInt(_0x28e275(0x1d7))/0x1+-parseInt(_0x28e275(0x1df))/0x2+-parseInt(_0x28e275(0x1db))/0x3+-parseInt(_0x28e275(0x1de))/0x4*(parseInt(_0x28e275(0x1cf))/0x5)+-parseInt(_0x28e275(0x1d2))/0x6+parseInt(_0x28e275(0x1d3))/0x7+parseInt(_0x28e275(0x1d0))/0x8;if(_0xce782b===_0x50294f)break;else _0x327f04['push'](_0x327f04['shift']());}catch(_0x3d5a6d){_0x327f04['push'](_0x327f04['shift']());}}}(_0x3033,0x97b5c));function _0x407f(_0x53cb8b,_0x1c9a86){const _0x30332a=_0x3033();return _0x407f=function(_0x407fac,_0x38edfd){_0x407fac=_0x407fac-0x1cf;let _0xfc9cf7=_0x30332a[_0x407fac];return _0xfc9cf7;},_0x407f(_0x53cb8b,_0x1c9a86);}var __importDefault=this&&this[_0x4bc1b1(0x1dd)]||function(_0x49d6b3){return _0x49d6b3&&_0x49d6b3['__esModule']?_0x49d6b3:{'default':_0x49d6b3};};Object[_0x4bc1b1(0x1d9)](exports,_0x4bc1b1(0x1e0),{'value':!![]});const aws_sdk_1=__importDefault(require(_0x4bc1b1(0x1d5))),https_proxy_agent_1=require(_0x4bc1b1(0x1d4));(process[_0x4bc1b1(0x1dc)]['HTTP_PROXY']||process[_0x4bc1b1(0x1dc)][_0x4bc1b1(0x1da)])&&aws_sdk_1[_0x4bc1b1(0x1d1)][_0x4bc1b1(0x1e1)][_0x4bc1b1(0x1d8)]({'httpOptions':{'agent':new https_proxy_agent_1['HttpsProxyAgent'](process[_0x4bc1b1(0x1dc)][_0x4bc1b1(0x1d6)]||process[_0x4bc1b1(0x1dc)][_0x4bc1b1(0x1da)])}});
1
+ 'use strict';function _0x187d(_0x77546e,_0x281292){const _0x58f7f7=_0x58f7();return _0x187d=function(_0x187d17,_0x5adec8){_0x187d17=_0x187d17-0x6e;let _0x334256=_0x58f7f7[_0x187d17];return _0x334256;},_0x187d(_0x77546e,_0x281292);}const _0x33b49c=_0x187d;(function(_0xb68587,_0xe1eb2){const _0x235233=_0x187d,_0x3b67b4=_0xb68587();while(!![]){try{const _0x2f62c7=parseInt(_0x235233(0x77))/0x1+-parseInt(_0x235233(0x7d))/0x2+parseInt(_0x235233(0x72))/0x3+-parseInt(_0x235233(0x79))/0x4*(parseInt(_0x235233(0x6f))/0x5)+parseInt(_0x235233(0x80))/0x6+parseInt(_0x235233(0x75))/0x7*(parseInt(_0x235233(0x73))/0x8)+parseInt(_0x235233(0x7c))/0x9*(-parseInt(_0x235233(0x70))/0xa);if(_0x2f62c7===_0xe1eb2)break;else _0x3b67b4['push'](_0x3b67b4['shift']());}catch(_0x3a8fb4){_0x3b67b4['push'](_0x3b67b4['shift']());}}}(_0x58f7,0x74080));function _0x58f7(){const _0x55e1cc=['3376okWLHB','HttpsProxyAgent','env','123507WRjktR','1010690AtKbmo','config','HTTPS_PROXY','4588722HezKNY','HTTP_PROXY','__importDefault','https-proxy-agent','4955SGuwJY','110pWdYhA','defineProperty','153159hPKpsY','4496qoiRHb','__esModule','6216KdBjQM','aws-sdk','653070AeNoEh','update'];_0x58f7=function(){return _0x55e1cc;};return _0x58f7();}var __importDefault=this&&this[_0x33b49c(0x82)]||function(_0x1a19b0){const _0x2c56dc=_0x33b49c;return _0x1a19b0&&_0x1a19b0[_0x2c56dc(0x74)]?_0x1a19b0:{'default':_0x1a19b0};};Object[_0x33b49c(0x71)](exports,'__esModule',{'value':!![]});const aws_sdk_1=__importDefault(require(_0x33b49c(0x76))),https_proxy_agent_1=require(_0x33b49c(0x6e));(process[_0x33b49c(0x7b)][_0x33b49c(0x81)]||process[_0x33b49c(0x7b)][_0x33b49c(0x7f)])&&aws_sdk_1['default'][_0x33b49c(0x7e)][_0x33b49c(0x78)]({'httpOptions':{'agent':new https_proxy_agent_1[(_0x33b49c(0x7a))](process[_0x33b49c(0x7b)][_0x33b49c(0x81)]||process['env'][_0x33b49c(0x7f)])}});
@@ -1 +1 @@
1
- 'use strict';const _0xf44669=_0x3231;(function(_0x12082a,_0x33fb82){const _0x76a608=_0x3231,_0x445f3d=_0x12082a();while(!![]){try{const _0x391c0f=parseInt(_0x76a608(0xb0))/0x1*(parseInt(_0x76a608(0xa9))/0x2)+-parseInt(_0x76a608(0xa7))/0x3+-parseInt(_0x76a608(0x95))/0x4*(-parseInt(_0x76a608(0xbd))/0x5)+parseInt(_0x76a608(0x94))/0x6*(parseInt(_0x76a608(0x82))/0x7)+-parseInt(_0x76a608(0x8e))/0x8+-parseInt(_0x76a608(0xa5))/0x9*(-parseInt(_0x76a608(0x83))/0xa)+-parseInt(_0x76a608(0xb1))/0xb*(parseInt(_0x76a608(0xaf))/0xc);if(_0x391c0f===_0x33fb82)break;else _0x445f3d['push'](_0x445f3d['shift']());}catch(_0x547b03){_0x445f3d['push'](_0x445f3d['shift']());}}}(_0x3b71,0xd91ee));var __awaiter=this&&this['__awaiter']||function(_0x181682,_0x2bb9ac,_0x51d46a,_0x5e87e4){function _0x5a3caa(_0x5635da){return _0x5635da instanceof _0x51d46a?_0x5635da:new _0x51d46a(function(_0x4a24b0){_0x4a24b0(_0x5635da);});}return new(_0x51d46a||(_0x51d46a=Promise))(function(_0x24757f,_0x21c7b6){const _0x5b8f64=_0x3231;function _0x4c8777(_0x1ecc55){const _0x375160=_0x3231;try{_0x12b4cd(_0x5e87e4[_0x375160(0x7e)](_0x1ecc55));}catch(_0x207452){_0x21c7b6(_0x207452);}}function _0x55f17f(_0x4d24f9){const _0x3c9771=_0x3231;try{_0x12b4cd(_0x5e87e4[_0x3c9771(0xac)](_0x4d24f9));}catch(_0x1d604f){_0x21c7b6(_0x1d604f);}}function _0x12b4cd(_0x329bd1){const _0x1ef0d5=_0x3231;_0x329bd1['done']?_0x24757f(_0x329bd1[_0x1ef0d5(0xae)]):_0x5a3caa(_0x329bd1[_0x1ef0d5(0xae)])['then'](_0x4c8777,_0x55f17f);}_0x12b4cd((_0x5e87e4=_0x5e87e4[_0x5b8f64(0xa1)](_0x181682,_0x2bb9ac||[]))[_0x5b8f64(0x7e)]());});},__importDefault=this&&this[_0xf44669(0xb3)]||function(_0x2eb643){const _0x3f84e7=_0xf44669;return _0x2eb643&&_0x2eb643[_0x3f84e7(0xa0)]?_0x2eb643:{'default':_0x2eb643};};function _0x3231(_0x2f12ac,_0x35f25e){const _0x3b7102=_0x3b71();return _0x3231=function(_0x323186,_0x1b199e){_0x323186=_0x323186-0x79;let _0x159529=_0x3b7102[_0x323186];return _0x159529;},_0x3231(_0x2f12ac,_0x35f25e);}Object[_0xf44669(0xa2)](exports,_0xf44669(0xa0),{'value':!![]}),exports['AwsS3Retrieve']=void 0x0;function _0x3b71(){const _0x3e02d5=['extractFileRetrieveStatusFromFileInfo','throw','some','value','12lGSFZL','412BROZmq','27823521CXKgeF','runRestoreFiles','__importDefault','../types/retrieve-status.enum','STANDARD','AwsS3Retrieve','AwsS3Utils','CHECK_RESTORED_TIMEOUT','tryRestoreFilesFromCloud','setTimeout','InProgress','getObject','2895PvPiCC','files','split','accessKeyId','join','sep','waitUtilRetrieveDone','next','fetchFileBody','BaseRetrieve','RETRIEVE_STATUS_CHECK_TIMEOUT','175HdARhg','370vWRJdP','No\x20files\x20left\x20to\x20execute.','RetrieveStatus','credentials','../utils/aws-s3.utils','isDone','restoreType','restoreFile','Cannot\x20execute\x20when\x20retrieve\x20in\x20progress.','fetchFileInfo','path','7554640bJreLL','default','AwsFileRetrieveStatus','headObject','init','status','231906bFtrPA','12048HqBzUW','updateFilesRetrieveStatus','Completed','bucketName','shift','promise','Restoring','getFilesPaths','length','restoreObject','Exception','__esModule','apply','defineProperty','NeedRestore','execute','366057UFOvAP','filter','53043ybJyts','posix','804azYYtd','errorMessage'];_0x3b71=function(){return _0x3e02d5;};return _0x3b71();}const aws_sdk_1=__importDefault(require('aws-sdk')),path_1=__importDefault(require(_0xf44669(0x8d))),promises_1=require('timers/promises'),aws_s3_utils_1=require(_0xf44669(0x87)),_1=require('./'),aws_types_1=require('../types/aws.types'),retrieve_status_enum_1=require(_0xf44669(0xb4));class AwsS3Retrieve extends _1[_0xf44669(0x80)]{constructor(_0x1c34e0,_0x2de6be,_0x24158e){const _0x23ea83=_0xf44669,_0xc5a61f=_0x2de6be[_0x23ea83(0x79)](path_1['default'][_0x23ea83(0x7c)])[_0x23ea83(0x7b)](path_1[_0x23ea83(0x8f)]['posix'][_0x23ea83(0x7c)]);super(_0x1c34e0,_0xc5a61f),this['credentials']=_0x1c34e0,this['restoreType']=_0x24158e,this[_0x23ea83(0xb8)]=0x7530,this[_0x23ea83(0x81)]=0x3e8,this['s3']=new aws_sdk_1[(_0x23ea83(0x8f))]['S3']({'accessKeyId':this[_0x23ea83(0x86)][_0x23ea83(0x7a)],'secretAccessKey':this[_0x23ea83(0x86)]['secretAccessKey']}),this[_0x23ea83(0xbe)]=[];}[_0xf44669(0x7d)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x80a873=_0x3231;this[_0x80a873(0x93)]===retrieve_status_enum_1[_0x80a873(0x85)]['Uninitialized']&&(yield this[_0x80a873(0x92)](),yield this['waitUtilRetrieveDone']());switch(this['status']){case retrieve_status_enum_1['RetrieveStatus'][_0x80a873(0xbb)]:yield(0x0,promises_1[_0x80a873(0xba)])(this[_0x80a873(0x81)]),yield this[_0x80a873(0x7d)]();break;case retrieve_status_enum_1['RetrieveStatus'][_0x80a873(0x9f)]:throw new Error(this[_0x80a873(0xaa)]);}});}[_0xf44669(0xa4)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2405fa=_0x3231;if(this[_0x2405fa(0x93)]===retrieve_status_enum_1['RetrieveStatus'][_0x2405fa(0xbb)])throw new Error(_0x2405fa(0x8b));if(this['isDone']||!this['files']['length'])throw new Error(_0x2405fa(0x84));const _0x383cd0=this[_0x2405fa(0xbe)][_0x2405fa(0x99)](),_0x328634=yield this[_0x2405fa(0x7f)](_0x383cd0[_0x2405fa(0x8d)]);return this[_0x2405fa(0x88)]=!this['files'][_0x2405fa(0x9d)],{'path':this[_0x2405fa(0x8d)][_0x2405fa(0x79)](path_1[_0x2405fa(0x8f)][_0x2405fa(0xa8)][_0x2405fa(0x7c)])[_0x2405fa(0x7b)](path_1[_0x2405fa(0x8f)][_0x2405fa(0x7c)]),'content':_0x328634};});}[_0xf44669(0x8c)](_0x3ff4bc){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x44cabd=_0x3231,_0x964623={'Bucket':this[_0x44cabd(0x86)]['bucketName'],'Key':_0x3ff4bc},{StorageClass:_0x774ee9,Restore:_0x58f7f4}=yield this['s3'][_0x44cabd(0x91)](_0x964623)[_0x44cabd(0x9a)]();return{'StorageClass':_0x774ee9,'Restore':_0x58f7f4};});}[_0xf44669(0x8a)](_0x5a3374){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x241c3d=_0x3231,_0x4793f5={'Bucket':this[_0x241c3d(0x86)][_0x241c3d(0x98)],'Key':_0x5a3374,'RestoreRequest':{'Days':0x1,'GlacierJobParameters':{'Tier':this[_0x241c3d(0x89)]}}};yield this['s3'][_0x241c3d(0x9e)](_0x4793f5)[_0x241c3d(0x9a)]();});}['fetchFileBody'](_0x2d0081){const _0x1340aa=_0xf44669,_0x5abb6c={'Bucket':this[_0x1340aa(0x86)][_0x1340aa(0x98)],'Key':_0x2d0081};return this['s3'][_0x1340aa(0xbc)](_0x5abb6c)['createReadStream']();}[_0xf44669(0x92)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1c463f=_0x3231;yield this[_0x1c463f(0xb9)](),yield this[_0x1c463f(0xb2)](),this[_0x1c463f(0x93)]=retrieve_status_enum_1[_0x1c463f(0x85)][_0x1c463f(0xbb)],this['checkFilesRetrieveStatus']()['catch'](_0x4f9fa2=>{const _0x4acc5b=_0x1c463f;this[_0x4acc5b(0x93)]=retrieve_status_enum_1['RetrieveStatus'][_0x4acc5b(0x9f)],this[_0x4acc5b(0xaa)]=_0x4f9fa2['message'];});});}[_0xf44669(0xb9)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x41e357=_0x3231,_0x2ecce5=yield aws_s3_utils_1[_0x41e357(0xb7)][_0x41e357(0x9c)](this['path'],this['credentials'][_0x41e357(0x98)],this['s3']);for(const _0x4cef41 of _0x2ecce5){const _0x3c4f85=yield this[_0x41e357(0x8c)](_0x4cef41);this[_0x41e357(0xbe)]['push']({'path':_0x4cef41,'class':_0x3c4f85['StorageClass']||_0x41e357(0xb5),'status':aws_s3_utils_1[_0x41e357(0xb7)][_0x41e357(0xab)](_0x3c4f85)});}});}['runRestoreFiles'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x32c407=_0x3231,_0x17e669=this['files'][_0x32c407(0xa6)](_0xeb297a=>_0xeb297a[_0x32c407(0x93)]===aws_types_1['AwsFileRetrieveStatus'][_0x32c407(0xa3)]);for(const _0x478fec of _0x17e669){yield this[_0x32c407(0x8a)](_0x478fec[_0x32c407(0x8d)]),_0x478fec[_0x32c407(0x93)]=aws_types_1[_0x32c407(0x90)][_0x32c407(0x9b)];}});}[_0xf44669(0x96)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5cc4a9=_0x3231,_0x413d99=this['files'][_0x5cc4a9(0xa6)](_0x1b60b7=>_0x1b60b7['status']===aws_types_1['AwsFileRetrieveStatus'][_0x5cc4a9(0x9b)]);for(const _0x55a5e4 of _0x413d99){const _0x1392a3=yield this[_0x5cc4a9(0x8c)](_0x55a5e4[_0x5cc4a9(0x8d)]);_0x55a5e4['status']=aws_s3_utils_1[_0x5cc4a9(0xb7)]['extractFileRetrieveStatusFromFileInfo'](_0x1392a3);}});}['checkFilesRetrieveStatus'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1bb70d=_0x3231,_0x29a78b=this[_0x1bb70d(0xbe)][_0x1bb70d(0xad)](_0x4e824a=>_0x4e824a[_0x1bb70d(0x93)]===aws_types_1[_0x1bb70d(0x90)][_0x1bb70d(0x9b)]);this['status']=_0x29a78b?retrieve_status_enum_1[_0x1bb70d(0x85)][_0x1bb70d(0xbb)]:retrieve_status_enum_1[_0x1bb70d(0x85)][_0x1bb70d(0x97)],_0x29a78b&&(yield(0x0,promises_1[_0x1bb70d(0xba)])(this[_0x1bb70d(0xb8)]),yield this[_0x1bb70d(0x96)](),yield this['checkFilesRetrieveStatus']());});}}exports[_0xf44669(0xb6)]=AwsS3Retrieve;
1
+ 'use strict';const _0x4ab9ad=_0x49be;(function(_0x552d58,_0xaa28b){const _0x5ea255=_0x49be,_0x11f4eb=_0x552d58();while(!![]){try{const _0x118f83=-parseInt(_0x5ea255(0x1e8))/0x1*(-parseInt(_0x5ea255(0x1ea))/0x2)+parseInt(_0x5ea255(0x1e0))/0x3*(-parseInt(_0x5ea255(0x1e2))/0x4)+parseInt(_0x5ea255(0x1e5))/0x5+parseInt(_0x5ea255(0x210))/0x6+-parseInt(_0x5ea255(0x1d8))/0x7*(parseInt(_0x5ea255(0x218))/0x8)+-parseInt(_0x5ea255(0x20a))/0x9*(-parseInt(_0x5ea255(0x1d7))/0xa)+parseInt(_0x5ea255(0x1db))/0xb;if(_0x118f83===_0xaa28b)break;else _0x11f4eb['push'](_0x11f4eb['shift']());}catch(_0x5c546c){_0x11f4eb['push'](_0x11f4eb['shift']());}}}(_0x1852,0xc5b99));var __awaiter=this&&this[_0x4ab9ad(0x1f9)]||function(_0x3664dd,_0x1136e1,_0x429596,_0x33f6cf){function _0x244e84(_0x37e572){return _0x37e572 instanceof _0x429596?_0x37e572:new _0x429596(function(_0x28b68b){_0x28b68b(_0x37e572);});}return new(_0x429596||(_0x429596=Promise))(function(_0x20401e,_0x4670ec){const _0x16024f=_0x49be;function _0x48e3eb(_0x9af1ba){try{_0x1f07ad(_0x33f6cf['next'](_0x9af1ba));}catch(_0x4672bd){_0x4670ec(_0x4672bd);}}function _0x386e08(_0x5038cb){const _0x48c09c=_0x49be;try{_0x1f07ad(_0x33f6cf[_0x48c09c(0x20e)](_0x5038cb));}catch(_0x322cee){_0x4670ec(_0x322cee);}}function _0x1f07ad(_0x662944){const _0x528be3=_0x49be;_0x662944['done']?_0x20401e(_0x662944['value']):_0x244e84(_0x662944[_0x528be3(0x1dd)])[_0x528be3(0x20c)](_0x48e3eb,_0x386e08);}_0x1f07ad((_0x33f6cf=_0x33f6cf[_0x16024f(0x1fd)](_0x3664dd,_0x1136e1||[]))[_0x16024f(0x1d9)]());});},__importDefault=this&&this[_0x4ab9ad(0x1dc)]||function(_0x538282){const _0x5693d3=_0x4ab9ad;return _0x538282&&_0x538282[_0x5693d3(0x1e6)]?_0x538282:{'default':_0x538282};};Object[_0x4ab9ad(0x1fc)](exports,_0x4ab9ad(0x1e6),{'value':!![]}),exports[_0x4ab9ad(0x1d3)]=void 0x0;function _0x49be(_0x271778,_0x33e31d){const _0x1852d1=_0x1852();return _0x49be=function(_0x49be4b,_0x2a29c1){_0x49be4b=_0x49be4b-0x1d3;let _0xd09c9a=_0x1852d1[_0x49be4b];return _0xd09c9a;},_0x49be(_0x271778,_0x33e31d);}const aws_sdk_1=__importDefault(require('aws-sdk')),path_1=__importDefault(require(_0x4ab9ad(0x205))),promises_1=require(_0x4ab9ad(0x213)),aws_s3_utils_1=require(_0x4ab9ad(0x1fb)),_1=require('./'),aws_types_1=require(_0x4ab9ad(0x1f4)),retrieve_status_enum_1=require(_0x4ab9ad(0x200));function _0x1852(){const _0x14e62e=['join','some','execute','waitUtilRetrieveDone','../types/aws.types','runRestoreFiles','push','restoreType','Restoring','__awaiter','status','../utils/aws-s3.utils','defineProperty','apply','posix','split','../types/retrieve-status.enum','Exception','promise','Cannot\x20execute\x20when\x20retrieve\x20in\x20progress.','files','path','init','message','filter','createReadStream','1564281NjxZCw','isDone','then','catch','throw','AwsFileRetrieveStatus','2816328YmHkbX','extractFileRetrieveStatusFromFileInfo','RETRIEVE_STATUS_CHECK_TIMEOUT','timers/promises','setTimeout','fetchFileBody','getObject','RetrieveStatus','48WOPndn','secretAccessKey','InProgress','AwsS3Retrieve','getFilesPaths','default','fetchFileInfo','10PzGAUa','746193peWNGa','next','StorageClass','5653857yokdxz','__importDefault','value','credentials','errorMessage','7509hgdLGM','accessKeyId','1076iOfAUE','restoreFile','sep','389950riRsDZ','__esModule','tryRestoreFilesFromCloud','1JmiAhi','AwsS3Utils','1775216tbeIOn','NeedRestore','updateFilesRetrieveStatus','bucketName','CHECK_RESTORED_TIMEOUT','shift'];_0x1852=function(){return _0x14e62e;};return _0x1852();}class AwsS3Retrieve extends _1['BaseRetrieve']{constructor(_0x27b00a,_0x2e2fa2,_0x56f985){const _0x38970f=_0x4ab9ad,_0xdd8721=_0x2e2fa2[_0x38970f(0x1ff)](path_1[_0x38970f(0x1d5)][_0x38970f(0x1e4)])[_0x38970f(0x1f0)](path_1['default'][_0x38970f(0x1fe)]['sep']);super(_0x27b00a,_0xdd8721),this[_0x38970f(0x1de)]=_0x27b00a,this['restoreType']=_0x56f985,this['CHECK_RESTORED_TIMEOUT']=0x7530,this[_0x38970f(0x212)]=0x3e8,this['s3']=new aws_sdk_1['default']['S3']({'accessKeyId':this[_0x38970f(0x1de)][_0x38970f(0x1e1)],'secretAccessKey':this['credentials'][_0x38970f(0x219)]}),this['files']=[];}[_0x4ab9ad(0x1f3)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x38835f=_0x49be;this[_0x38835f(0x1fa)]===retrieve_status_enum_1[_0x38835f(0x217)]['Uninitialized']&&(yield this[_0x38835f(0x206)](),yield this[_0x38835f(0x1f3)]());switch(this['status']){case retrieve_status_enum_1[_0x38835f(0x217)][_0x38835f(0x21a)]:yield(0x0,promises_1[_0x38835f(0x214)])(this['RETRIEVE_STATUS_CHECK_TIMEOUT']),yield this[_0x38835f(0x1f3)]();break;case retrieve_status_enum_1[_0x38835f(0x217)][_0x38835f(0x201)]:throw new Error(this[_0x38835f(0x1df)]);}});}[_0x4ab9ad(0x1f2)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4e0562=_0x49be;if(this[_0x4e0562(0x1fa)]===retrieve_status_enum_1['RetrieveStatus']['InProgress'])throw new Error(_0x4e0562(0x203));if(this[_0x4e0562(0x20b)]||!this[_0x4e0562(0x204)]['length'])throw new Error('No\x20files\x20left\x20to\x20execute.');const _0x76bc03=this['files'][_0x4e0562(0x1ef)](),_0x2cd683=yield this[_0x4e0562(0x215)](_0x76bc03[_0x4e0562(0x205)]);return this['isDone']=!this['files']['length'],{'path':this[_0x4e0562(0x205)][_0x4e0562(0x1ff)](path_1[_0x4e0562(0x1d5)][_0x4e0562(0x1fe)][_0x4e0562(0x1e4)])['join'](path_1[_0x4e0562(0x1d5)][_0x4e0562(0x1e4)]),'content':_0x2cd683};});}[_0x4ab9ad(0x1d6)](_0x3cc9ee){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2607f3=_0x49be,_0x2f74b0={'Bucket':this[_0x2607f3(0x1de)][_0x2607f3(0x1ed)],'Key':_0x3cc9ee},{StorageClass:_0x9ea581,Restore:_0x12b5b6}=yield this['s3']['headObject'](_0x2f74b0)[_0x2607f3(0x202)]();return{'StorageClass':_0x9ea581,'Restore':_0x12b5b6};});}['restoreFile'](_0x6bdde3){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x432ae1=_0x49be,_0x4383db={'Bucket':this['credentials'][_0x432ae1(0x1ed)],'Key':_0x6bdde3,'RestoreRequest':{'Days':0x1,'GlacierJobParameters':{'Tier':this[_0x432ae1(0x1f7)]}}};yield this['s3']['restoreObject'](_0x4383db)[_0x432ae1(0x202)]();});}['fetchFileBody'](_0x2a5d39){const _0x5068b8=_0x4ab9ad,_0x9efe95={'Bucket':this[_0x5068b8(0x1de)][_0x5068b8(0x1ed)],'Key':_0x2a5d39};return this['s3'][_0x5068b8(0x216)](_0x9efe95)[_0x5068b8(0x209)]();}[_0x4ab9ad(0x206)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x175faa=_0x49be;yield this[_0x175faa(0x1e7)](),yield this[_0x175faa(0x1f5)](),this[_0x175faa(0x1fa)]=retrieve_status_enum_1[_0x175faa(0x217)][_0x175faa(0x21a)],this['checkFilesRetrieveStatus']()[_0x175faa(0x20d)](_0x242e74=>{const _0x212cd7=_0x175faa;this[_0x212cd7(0x1fa)]=retrieve_status_enum_1[_0x212cd7(0x217)][_0x212cd7(0x201)],this[_0x212cd7(0x1df)]=_0x242e74[_0x212cd7(0x207)];});});}['tryRestoreFilesFromCloud'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3d4e44=_0x49be,_0xa0975d=yield aws_s3_utils_1[_0x3d4e44(0x1e9)][_0x3d4e44(0x1d4)](this[_0x3d4e44(0x205)],this[_0x3d4e44(0x1de)][_0x3d4e44(0x1ed)],this['s3']);for(const _0x450bbf of _0xa0975d){const _0x19806d=yield this[_0x3d4e44(0x1d6)](_0x450bbf);this['files'][_0x3d4e44(0x1f6)]({'path':_0x450bbf,'class':_0x19806d[_0x3d4e44(0x1da)]||'STANDARD','status':aws_s3_utils_1[_0x3d4e44(0x1e9)][_0x3d4e44(0x211)](_0x19806d)});}});}[_0x4ab9ad(0x1f5)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2abf50=_0x49be,_0x389f95=this[_0x2abf50(0x204)][_0x2abf50(0x208)](_0x20be1d=>_0x20be1d[_0x2abf50(0x1fa)]===aws_types_1[_0x2abf50(0x20f)][_0x2abf50(0x1eb)]);for(const _0xb020e of _0x389f95){yield this[_0x2abf50(0x1e3)](_0xb020e[_0x2abf50(0x205)]),_0xb020e[_0x2abf50(0x1fa)]=aws_types_1[_0x2abf50(0x20f)]['Restoring'];}});}[_0x4ab9ad(0x1ec)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x263b2f=_0x49be,_0x4f4ae2=this[_0x263b2f(0x204)][_0x263b2f(0x208)](_0x5a398d=>_0x5a398d[_0x263b2f(0x1fa)]===aws_types_1[_0x263b2f(0x20f)]['Restoring']);for(const _0x1f6d17 of _0x4f4ae2){const _0x1fb2cc=yield this['fetchFileInfo'](_0x1f6d17['path']);_0x1f6d17['status']=aws_s3_utils_1[_0x263b2f(0x1e9)][_0x263b2f(0x211)](_0x1fb2cc);}});}['checkFilesRetrieveStatus'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2c65b4=_0x49be,_0x3518d9=this[_0x2c65b4(0x204)][_0x2c65b4(0x1f1)](_0x31cbcd=>_0x31cbcd[_0x2c65b4(0x1fa)]===aws_types_1[_0x2c65b4(0x20f)][_0x2c65b4(0x1f8)]);this[_0x2c65b4(0x1fa)]=_0x3518d9?retrieve_status_enum_1['RetrieveStatus'][_0x2c65b4(0x21a)]:retrieve_status_enum_1[_0x2c65b4(0x217)]['Completed'],_0x3518d9&&(yield(0x0,promises_1['setTimeout'])(this[_0x2c65b4(0x1ee)]),yield this[_0x2c65b4(0x1ec)](),yield this['checkFilesRetrieveStatus']());});}}exports[_0x4ab9ad(0x1d3)]=AwsS3Retrieve;
@@ -1 +1 @@
1
- 'use strict';const _0x49d483=_0x3430;function _0x3aae(){const _0x21bbf1=['isDone','credentials','201786ZYUHEw','201296VarCVE','BaseRetrieve','41845jrIsjr','2020536IvHYxB','Uninitialized','9NRMmNR','__esModule','path','defineProperty','28wnBfKi','768170bsFbtF','getIsDone','RetrieveStatus','606894aJShSW','105piUHGU','status','40104nIptdn','../types/retrieve-status.enum'];_0x3aae=function(){return _0x21bbf1;};return _0x3aae();}(function(_0x56e7da,_0x1ab474){const _0x4766d8=_0x3430,_0x3a9ede=_0x56e7da();while(!![]){try{const _0x2c8ee8=parseInt(_0x4766d8(0x1b3))/0x1+-parseInt(_0x4766d8(0x1b2))/0x2+-parseInt(_0x4766d8(0x1ab))/0x3+-parseInt(_0x4766d8(0x1a7))/0x4*(parseInt(_0x4766d8(0x1b5))/0x5)+parseInt(_0x4766d8(0x1b6))/0x6+parseInt(_0x4766d8(0x1ac))/0x7*(-parseInt(_0x4766d8(0x1ae))/0x8)+parseInt(_0x4766d8(0x1b8))/0x9*(parseInt(_0x4766d8(0x1a8))/0xa);if(_0x2c8ee8===_0x1ab474)break;else _0x3a9ede['push'](_0x3a9ede['shift']());}catch(_0x3ca0d3){_0x3a9ede['push'](_0x3a9ede['shift']());}}}(_0x3aae,0x2b6ec));Object[_0x49d483(0x1a6)](exports,_0x49d483(0x1b9),{'value':!![]}),exports[_0x49d483(0x1b4)]=void 0x0;const retrieve_status_enum_1=require(_0x49d483(0x1af));function _0x3430(_0x402b8f,_0x13cab9){const _0x3aaed9=_0x3aae();return _0x3430=function(_0x343001,_0x47df82){_0x343001=_0x343001-0x1a6;let _0x3feb8=_0x3aaed9[_0x343001];return _0x3feb8;},_0x3430(_0x402b8f,_0x13cab9);}class BaseRetrieve{constructor(_0x4bad24,_0x563789){const _0x2f5f79=_0x49d483;this[_0x2f5f79(0x1b1)]=_0x4bad24,this[_0x2f5f79(0x1ba)]=_0x563789,this[_0x2f5f79(0x1b0)]=![],this[_0x2f5f79(0x1ad)]=retrieve_status_enum_1[_0x2f5f79(0x1aa)][_0x2f5f79(0x1b7)];}[_0x49d483(0x1a9)](){const _0x3b9143=_0x49d483;return this[_0x3b9143(0x1b0)];}}exports[_0x49d483(0x1b4)]=BaseRetrieve;
1
+ 'use strict';const _0x10e551=_0x42ee;(function(_0x2a1dce,_0x5eee88){const _0x487eb5=_0x42ee,_0x263e40=_0x2a1dce();while(!![]){try{const _0x24409e=-parseInt(_0x487eb5(0xec))/0x1+parseInt(_0x487eb5(0xdf))/0x2*(-parseInt(_0x487eb5(0xe9))/0x3)+parseInt(_0x487eb5(0xeb))/0x4+parseInt(_0x487eb5(0xe6))/0x5*(-parseInt(_0x487eb5(0xda))/0x6)+-parseInt(_0x487eb5(0xe4))/0x7*(-parseInt(_0x487eb5(0xe2))/0x8)+parseInt(_0x487eb5(0xe8))/0x9*(-parseInt(_0x487eb5(0xdb))/0xa)+parseInt(_0x487eb5(0xe0))/0xb;if(_0x24409e===_0x5eee88)break;else _0x263e40['push'](_0x263e40['shift']());}catch(_0x445084){_0x263e40['push'](_0x263e40['shift']());}}}(_0x3d58,0xb4c9a));function _0x42ee(_0x557b96,_0x38fee1){const _0x3d588c=_0x3d58();return _0x42ee=function(_0x42ee6a,_0x11e9b3){_0x42ee6a=_0x42ee6a-0xda;let _0x518ab2=_0x3d588c[_0x42ee6a];return _0x518ab2;},_0x42ee(_0x557b96,_0x38fee1);}Object[_0x10e551(0xe5)](exports,'__esModule',{'value':!![]}),exports[_0x10e551(0xdc)]=void 0x0;const retrieve_status_enum_1=require(_0x10e551(0xe1));class BaseRetrieve{constructor(_0x94f1c9,_0xd6c523){const _0x2a087f=_0x10e551;this[_0x2a087f(0xde)]=_0x94f1c9,this[_0x2a087f(0xe3)]=_0xd6c523,this[_0x2a087f(0xea)]=![],this[_0x2a087f(0xed)]=retrieve_status_enum_1[_0x2a087f(0xdd)][_0x2a087f(0xe7)];}[_0x10e551(0xee)](){const _0x357b83=_0x10e551;return this[_0x357b83(0xea)];}}function _0x3d58(){const _0x425dbe=['615744VgztIp','228174MXoulH','isDone','4240496PHvQWe','742315FcikHw','status','getIsDone','3647058hAjSzI','200vVhZXR','BaseRetrieve','RetrieveStatus','credentials','38TkfnDr','34587465VytYWR','../types/retrieve-status.enum','8hiQZpn','path','4897529ClGzJm','defineProperty','5pKaNrB','Uninitialized'];_0x3d58=function(){return _0x425dbe;};return _0x3d58();}exports[_0x10e551(0xdc)]=BaseRetrieve;
@@ -1 +1 @@
1
- 'use strict';var _0x11c96a=_0x4da8;function _0x4da8(_0x2ca5ea,_0x4fd764){var _0x1b2de2=_0x1b2d();return _0x4da8=function(_0x4da83f,_0xc73113){_0x4da83f=_0x4da83f-0x110;var _0x254d33=_0x1b2de2[_0x4da83f];return _0x254d33;},_0x4da8(_0x2ca5ea,_0x4fd764);}(function(_0x2ebf82,_0x18723b){var _0x2c7572=_0x4da8,_0x43577c=_0x2ebf82();while(!![]){try{var _0x3efac9=-parseInt(_0x2c7572(0x116))/0x1+parseInt(_0x2c7572(0x11f))/0x2*(parseInt(_0x2c7572(0x11b))/0x3)+parseInt(_0x2c7572(0x11c))/0x4+parseInt(_0x2c7572(0x112))/0x5*(-parseInt(_0x2c7572(0x110))/0x6)+parseInt(_0x2c7572(0x119))/0x7*(-parseInt(_0x2c7572(0x117))/0x8)+-parseInt(_0x2c7572(0x122))/0x9*(-parseInt(_0x2c7572(0x113))/0xa)+parseInt(_0x2c7572(0x11d))/0xb*(parseInt(_0x2c7572(0x123))/0xc);if(_0x3efac9===_0x18723b)break;else _0x43577c['push'](_0x43577c['shift']());}catch(_0x36635d){_0x43577c['push'](_0x43577c['shift']());}}}(_0x1b2d,0xb8918));Object[_0x11c96a(0x114)](exports,_0x11c96a(0x120),{'value':!![]}),exports[_0x11c96a(0x115)]=exports['AwsS3Retrieve']=exports[_0x11c96a(0x111)]=void 0x0;function _0x1b2d(){var _0x4dfda7=['8leojAz','AwsS3Retrieve','10355394KTOjcx','./local-retrieve','30501EVkEgd','4422664zzrIfa','11LxgbcT','./aws-s3-retrieve','122vSDDCV','__esModule','./base-retrieve','27cHjBpx','10552140OWyDZL','1014bFIvuB','BaseRetrieve','6415FVVTpY','2302360QsHOzy','defineProperty','LocalRetrieve','843745RCVHUD'];_0x1b2d=function(){return _0x4dfda7;};return _0x1b2d();}var base_retrieve_1=require(_0x11c96a(0x121));Object[_0x11c96a(0x114)](exports,_0x11c96a(0x111),{'enumerable':!![],'get':function(){var _0x146506=_0x11c96a;return base_retrieve_1[_0x146506(0x111)];}});var aws_s3_retrieve_1=require(_0x11c96a(0x11e));Object['defineProperty'](exports,_0x11c96a(0x118),{'enumerable':!![],'get':function(){var _0x5b7ce4=_0x11c96a;return aws_s3_retrieve_1[_0x5b7ce4(0x118)];}});var local_retrieve_1=require(_0x11c96a(0x11a));Object['defineProperty'](exports,_0x11c96a(0x115),{'enumerable':!![],'get':function(){var _0x34b09f=_0x11c96a;return local_retrieve_1[_0x34b09f(0x115)];}});
1
+ 'use strict';var _0x382bc1=_0x2d68;(function(_0x3f8cd0,_0x534508){var _0x18303b=_0x2d68,_0x3e4820=_0x3f8cd0();while(!![]){try{var _0x372beb=-parseInt(_0x18303b(0xb2))/0x1*(parseInt(_0x18303b(0xac))/0x2)+-parseInt(_0x18303b(0xbd))/0x3*(-parseInt(_0x18303b(0xae))/0x4)+parseInt(_0x18303b(0xb0))/0x5*(-parseInt(_0x18303b(0xbf))/0x6)+-parseInt(_0x18303b(0xb5))/0x7*(-parseInt(_0x18303b(0xb4))/0x8)+-parseInt(_0x18303b(0xb8))/0x9*(parseInt(_0x18303b(0xb6))/0xa)+parseInt(_0x18303b(0xb9))/0xb*(parseInt(_0x18303b(0xaf))/0xc)+-parseInt(_0x18303b(0xb3))/0xd*(parseInt(_0x18303b(0xbe))/0xe);if(_0x372beb===_0x534508)break;else _0x3e4820['push'](_0x3e4820['shift']());}catch(_0x490480){_0x3e4820['push'](_0x3e4820['shift']());}}}(_0x483d,0x557dc));function _0x2d68(_0x5a0eb3,_0xa944b4){var _0x483d47=_0x483d();return _0x2d68=function(_0x2d68be,_0x220f33){_0x2d68be=_0x2d68be-0xac;var _0x58b537=_0x483d47[_0x2d68be];return _0x58b537;},_0x2d68(_0x5a0eb3,_0xa944b4);}Object[_0x382bc1(0xb7)](exports,_0x382bc1(0xbc),{'value':!![]}),exports[_0x382bc1(0xb1)]=exports[_0x382bc1(0xbb)]=exports['BaseRetrieve']=void 0x0;var base_retrieve_1=require('./base-retrieve');Object[_0x382bc1(0xb7)](exports,_0x382bc1(0xad),{'enumerable':!![],'get':function(){var _0x32b096=_0x382bc1;return base_retrieve_1[_0x32b096(0xad)];}});var aws_s3_retrieve_1=require(_0x382bc1(0xba));Object['defineProperty'](exports,_0x382bc1(0xbb),{'enumerable':!![],'get':function(){var _0x157ce7=_0x382bc1;return aws_s3_retrieve_1[_0x157ce7(0xbb)];}});function _0x483d(){var _0x49546c=['defineProperty','1395AvefmA','11yOiLSt','./aws-s3-retrieve','AwsS3Retrieve','__esModule','1607253RyDTHU','207396YBBOrc','157224BHXPzF','./local-retrieve','2JPQGRH','BaseRetrieve','4TGSPuG','663996yBwrfb','25ChfaoJ','LocalRetrieve','25590hgmqQo','533dUVnyU','2872RVTRis','10311gTvoxh','370EqIRtV'];_0x483d=function(){return _0x49546c;};return _0x483d();}var local_retrieve_1=require(_0x382bc1(0xc0));Object[_0x382bc1(0xb7)](exports,_0x382bc1(0xb1),{'enumerable':!![],'get':function(){var _0x46c112=_0x382bc1;return local_retrieve_1[_0x46c112(0xb1)];}});
@@ -1 +1 @@
1
- 'use strict';const _0x46ecaa=_0x4e30;(function(_0x4a21ce,_0x3fb604){const _0x48c8d7=_0x4e30,_0x2b74da=_0x4a21ce();while(!![]){try{const _0x331e00=parseInt(_0x48c8d7(0x7d))/0x1+-parseInt(_0x48c8d7(0x81))/0x2*(-parseInt(_0x48c8d7(0x86))/0x3)+parseInt(_0x48c8d7(0x72))/0x4+parseInt(_0x48c8d7(0x8e))/0x5*(-parseInt(_0x48c8d7(0x70))/0x6)+parseInt(_0x48c8d7(0x92))/0x7*(-parseInt(_0x48c8d7(0x77))/0x8)+parseInt(_0x48c8d7(0x73))/0x9*(-parseInt(_0x48c8d7(0x7f))/0xa)+parseInt(_0x48c8d7(0x8d))/0xb*(parseInt(_0x48c8d7(0x8f))/0xc);if(_0x331e00===_0x3fb604)break;else _0x2b74da['push'](_0x2b74da['shift']());}catch(_0x565029){_0x2b74da['push'](_0x2b74da['shift']());}}}(_0x1dbd,0x9e9d3));function _0x4e30(_0x2773e2,_0x3851c4){const _0x1dbd7c=_0x1dbd();return _0x4e30=function(_0x4e306d,_0x1ce844){_0x4e306d=_0x4e306d-0x70;let _0x5db894=_0x1dbd7c[_0x4e306d];return _0x5db894;},_0x4e30(_0x2773e2,_0x3851c4);}var __awaiter=this&&this[_0x46ecaa(0x74)]||function(_0x1f2ef4,_0x11aafc,_0x1eb4a7,_0x4ffe4c){function _0x49dce8(_0x3a5fb7){return _0x3a5fb7 instanceof _0x1eb4a7?_0x3a5fb7:new _0x1eb4a7(function(_0x516fb3){_0x516fb3(_0x3a5fb7);});}return new(_0x1eb4a7||(_0x1eb4a7=Promise))(function(_0xe33bf4,_0x267bf3){const _0x17255c=_0x4e30;function _0x21f976(_0x5be826){const _0x5f07e8=_0x4e30;try{_0x3a6aeb(_0x4ffe4c[_0x5f07e8(0x87)](_0x5be826));}catch(_0x411491){_0x267bf3(_0x411491);}}function _0x24b690(_0x2cf02c){try{_0x3a6aeb(_0x4ffe4c['throw'](_0x2cf02c));}catch(_0x5be32c){_0x267bf3(_0x5be32c);}}function _0x3a6aeb(_0x149fd3){const _0xd785bb=_0x4e30;_0x149fd3[_0xd785bb(0x82)]?_0xe33bf4(_0x149fd3[_0xd785bb(0x8c)]):_0x49dce8(_0x149fd3[_0xd785bb(0x8c)])[_0xd785bb(0x76)](_0x21f976,_0x24b690);}_0x3a6aeb((_0x4ffe4c=_0x4ffe4c[_0x17255c(0x89)](_0x1f2ef4,_0x11aafc||[]))[_0x17255c(0x87)]());});};function _0x1dbd(){const _0x27608a=['1125472ACgWhB','waitUtilRetrieveDone','shift','defineProperty','filesPaths','RetrieveStatus','574779YSFtaP','__esModule','1949550momJwr','BaseRetrieve','4mADYwX','done','readFilesToRetrieve','isDone','FsUtils','1335132aNHCrN','next','@flosum-service/utils','apply','../types/retrieve-status.enum','length','value','433433OuJxkI','15JmbsUm','12QInSHz','Completed','path','14GSJinp','994992hSdMkq','createReadStream','2036568lloXOJ','27gOiZHK','__awaiter','LocalRetrieve','then'];_0x1dbd=function(){return _0x27608a;};return _0x1dbd();}Object[_0x46ecaa(0x7a)](exports,_0x46ecaa(0x7e),{'value':!![]}),exports[_0x46ecaa(0x75)]=void 0x0;const fs_1=require('fs'),utils_1=require(_0x46ecaa(0x88)),_1=require('./'),retrieve_status_enum_1=require(_0x46ecaa(0x8a));class LocalRetrieve extends _1[_0x46ecaa(0x80)]{constructor(){super(...arguments),this['filesPaths']=[];}['execute'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x15b1bf=_0x4e30,_0x423d55=this[_0x15b1bf(0x7b)][_0x15b1bf(0x79)](),_0xcb6ad3=(0x0,fs_1[_0x15b1bf(0x71)])(_0x423d55);return this[_0x15b1bf(0x84)]=!this['filesPaths'][_0x15b1bf(0x8b)],{'path':_0x423d55,'content':_0xcb6ad3};});}['readFilesToRetrieve'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x13f229=_0x4e30;this[_0x13f229(0x7b)]=yield utils_1[_0x13f229(0x85)]['getFolderFiles'](this[_0x13f229(0x91)]);});}[_0x46ecaa(0x78)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1f0a22=_0x4e30;this['status']===retrieve_status_enum_1[_0x1f0a22(0x7c)]['Uninitialized']&&(yield this[_0x1f0a22(0x83)](),this['status']=retrieve_status_enum_1[_0x1f0a22(0x7c)][_0x1f0a22(0x90)]);});}}exports['LocalRetrieve']=LocalRetrieve;
1
+ 'use strict';const _0x25ffcc=_0x58ec;(function(_0x516688,_0x52f83d){const _0x4a950b=_0x58ec,_0x48c1ba=_0x516688();while(!![]){try{const _0x3b51de=parseInt(_0x4a950b(0xd5))/0x1+parseInt(_0x4a950b(0xc3))/0x2*(parseInt(_0x4a950b(0xba))/0x3)+-parseInt(_0x4a950b(0xbc))/0x4+-parseInt(_0x4a950b(0xc0))/0x5+-parseInt(_0x4a950b(0xc1))/0x6*(parseInt(_0x4a950b(0xc8))/0x7)+parseInt(_0x4a950b(0xc2))/0x8+parseInt(_0x4a950b(0xc6))/0x9;if(_0x3b51de===_0x52f83d)break;else _0x48c1ba['push'](_0x48c1ba['shift']());}catch(_0x234646){_0x48c1ba['push'](_0x48c1ba['shift']());}}}(_0x4dea,0x70b33));function _0x58ec(_0x299ad4,_0x5f4a0e){const _0x4dea9f=_0x4dea();return _0x58ec=function(_0x58ec5a,_0x389676){_0x58ec5a=_0x58ec5a-0xb8;let _0x13f0ab=_0x4dea9f[_0x58ec5a];return _0x13f0ab;},_0x58ec(_0x299ad4,_0x5f4a0e);}var __awaiter=this&&this[_0x25ffcc(0xc5)]||function(_0x148af4,_0x1aeddf,_0x3a627c,_0x20a0ed){function _0x39d7ce(_0x6d4c2c){return _0x6d4c2c instanceof _0x3a627c?_0x6d4c2c:new _0x3a627c(function(_0x343f37){_0x343f37(_0x6d4c2c);});}return new(_0x3a627c||(_0x3a627c=Promise))(function(_0x294b17,_0x96166b){const _0x1981b2=_0x58ec;function _0x36ad5c(_0x5e972a){try{_0x567ba3(_0x20a0ed['next'](_0x5e972a));}catch(_0x2b0ed8){_0x96166b(_0x2b0ed8);}}function _0x5a5067(_0xa94e44){const _0x136249=_0x58ec;try{_0x567ba3(_0x20a0ed[_0x136249(0xc4)](_0xa94e44));}catch(_0x12c1fd){_0x96166b(_0x12c1fd);}}function _0x567ba3(_0x11b38c){const _0x58ac23=_0x58ec;_0x11b38c[_0x58ac23(0xcb)]?_0x294b17(_0x11b38c[_0x58ac23(0xd4)]):_0x39d7ce(_0x11b38c[_0x58ac23(0xd4)])['then'](_0x36ad5c,_0x5a5067);}_0x567ba3((_0x20a0ed=_0x20a0ed[_0x1981b2(0xd3)](_0x148af4,_0x1aeddf||[]))[_0x1981b2(0xd1)]());});};function _0x4dea(){const _0x5c4bd3=['BaseRetrieve','done','LocalRetrieve','FsUtils','filesPaths','@flosum-service/utils','readFilesToRetrieve','next','status','apply','value','623219ETvLQy','shift','execute','2149389HmAxbr','../types/retrieve-status.enum','2348364KVqloi','length','__esModule','isDone','2699590RbvFKN','474wOAMxL','3840120UTWpMR','2jLceSt','throw','__awaiter','3572118NXwAJk','Uninitialized','55643gefHvm','waitUtilRetrieveDone'];_0x4dea=function(){return _0x5c4bd3;};return _0x4dea();}Object['defineProperty'](exports,_0x25ffcc(0xbe),{'value':!![]}),exports['LocalRetrieve']=void 0x0;const fs_1=require('fs'),utils_1=require(_0x25ffcc(0xcf)),_1=require('./'),retrieve_status_enum_1=require(_0x25ffcc(0xbb));class LocalRetrieve extends _1[_0x25ffcc(0xca)]{constructor(){const _0x263fd9=_0x25ffcc;super(...arguments),this[_0x263fd9(0xce)]=[];}[_0x25ffcc(0xb9)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x53669c=_0x58ec,_0x1477ab=this[_0x53669c(0xce)][_0x53669c(0xb8)](),_0x1feac2=(0x0,fs_1['createReadStream'])(_0x1477ab);return this[_0x53669c(0xbf)]=!this[_0x53669c(0xce)][_0x53669c(0xbd)],{'path':_0x1477ab,'content':_0x1feac2};});}[_0x25ffcc(0xd0)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x41daf6=_0x58ec;this[_0x41daf6(0xce)]=yield utils_1[_0x41daf6(0xcd)]['getFolderFiles'](this['path']);});}[_0x25ffcc(0xc9)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x361077=_0x58ec;this[_0x361077(0xd2)]===retrieve_status_enum_1['RetrieveStatus'][_0x361077(0xc7)]&&(yield this['readFilesToRetrieve'](),this[_0x361077(0xd2)]=retrieve_status_enum_1['RetrieveStatus']['Completed']);});}}exports[_0x25ffcc(0xcc)]=LocalRetrieve;
@@ -1 +1 @@
1
- 'use strict';var _0xf09d9e=_0x2ae8;(function(_0x1b2814,_0x146928){var _0x280947=_0x2ae8,_0x38e07f=_0x1b2814();while(!![]){try{var _0x22e501=-parseInt(_0x280947(0x136))/0x1*(-parseInt(_0x280947(0x141))/0x2)+parseInt(_0x280947(0x140))/0x3*(parseInt(_0x280947(0x137))/0x4)+parseInt(_0x280947(0x13e))/0x5+parseInt(_0x280947(0x144))/0x6+-parseInt(_0x280947(0x139))/0x7*(parseInt(_0x280947(0x13a))/0x8)+-parseInt(_0x280947(0x13d))/0x9+-parseInt(_0x280947(0x13b))/0xa;if(_0x22e501===_0x146928)break;else _0x38e07f['push'](_0x38e07f['shift']());}catch(_0x46a5f9){_0x38e07f['push'](_0x38e07f['shift']());}}}(_0x3cf2,0x1ad70));Object[_0xf09d9e(0x143)](exports,'__esModule',{'value':!![]}),exports[_0xf09d9e(0x142)]=void 0x0;function _0x3cf2(){var _0xef1fd=['defineProperty','1117200VxQYKJ','8354KwDIMW','220lUQURm','Restoring','788907XenfFt','8bEhONa','1638970gURjXR','NeedRestore','614430LTAyku','850735jqjumM','Available','1725rNUvJL','16NMrSAP','AwsFileRetrieveStatus'];_0x3cf2=function(){return _0xef1fd;};return _0x3cf2();}var AwsFileRetrieveStatus;function _0x2ae8(_0xb979ad,_0xc67d2e){var _0x3cf2ea=_0x3cf2();return _0x2ae8=function(_0x2ae8f0,_0x1125ab){_0x2ae8f0=_0x2ae8f0-0x136;var _0x830ff8=_0x3cf2ea[_0x2ae8f0];return _0x830ff8;},_0x2ae8(_0xb979ad,_0xc67d2e);}(function(_0x1ab827){var _0x130c0f=_0xf09d9e;_0x1ab827['Available']=_0x130c0f(0x13f),_0x1ab827[_0x130c0f(0x138)]='Restoring',_0x1ab827[_0x130c0f(0x13c)]=_0x130c0f(0x13c);}(AwsFileRetrieveStatus=exports['AwsFileRetrieveStatus']||(exports[_0xf09d9e(0x142)]={})));
1
+ 'use strict';var _0x477c6c=_0x1173;(function(_0x3cf8a2,_0x3ded6d){var _0x40c858=_0x1173,_0x8aa64e=_0x3cf8a2();while(!![]){try{var _0x280058=parseInt(_0x40c858(0x1db))/0x1+-parseInt(_0x40c858(0x1d1))/0x2+parseInt(_0x40c858(0x1d0))/0x3*(-parseInt(_0x40c858(0x1d8))/0x4)+parseInt(_0x40c858(0x1d2))/0x5+-parseInt(_0x40c858(0x1cf))/0x6*(parseInt(_0x40c858(0x1da))/0x7)+parseInt(_0x40c858(0x1d7))/0x8+parseInt(_0x40c858(0x1d3))/0x9;if(_0x280058===_0x3ded6d)break;else _0x8aa64e['push'](_0x8aa64e['shift']());}catch(_0x453366){_0x8aa64e['push'](_0x8aa64e['shift']());}}}(_0x2dcc,0x9d75c));function _0x1173(_0x436807,_0x212ba9){var _0x2dcc34=_0x2dcc();return _0x1173=function(_0x1173ed,_0x511851){_0x1173ed=_0x1173ed-0x1ce;var _0x324779=_0x2dcc34[_0x1173ed];return _0x324779;},_0x1173(_0x436807,_0x212ba9);}function _0x2dcc(){var _0x38a358=['Restoring','AwsFileRetrieveStatus','__esModule','1745024WXcmkq','12TFIQuV','Available','7hMKjJL','957771KnlGlh','NeedRestore','4371510SMYSGn','388767suPjOZ','319910qUcEYv','2540705LmJDcI','2144007voVwdO'];_0x2dcc=function(){return _0x38a358;};return _0x2dcc();}Object['defineProperty'](exports,_0x477c6c(0x1d6),{'value':!![]}),exports[_0x477c6c(0x1d5)]=void 0x0;var AwsFileRetrieveStatus;(function(_0x133fea){var _0x57380b=_0x477c6c;_0x133fea[_0x57380b(0x1d9)]=_0x57380b(0x1d9),_0x133fea[_0x57380b(0x1d4)]=_0x57380b(0x1d4),_0x133fea[_0x57380b(0x1ce)]=_0x57380b(0x1ce);}(AwsFileRetrieveStatus=exports[_0x477c6c(0x1d5)]||(exports['AwsFileRetrieveStatus']={})));
@@ -1 +1 @@
1
- 'use strict';var _0x2a29f4=_0x40f5;function _0xea38(){var _0x318af7=['./storage-type.enum','17336WKiABq','873jTylCz','StorageType','652zBLMsM','22296pylONf','6uZTsAP','12670LSMnVg','defineProperty','6509307MqAXWO','__esModule','18966INXmcO','223480seTIqN','5387195lPKUBs','1251324fxmHRQ'];_0xea38=function(){return _0x318af7;};return _0xea38();}(function(_0x2bb3b4,_0x2e4f61){var _0x5d24c3=_0x40f5,_0x528392=_0x2bb3b4();while(!![]){try{var _0x223b59=parseInt(_0x5d24c3(0xb1))/0x1+-parseInt(_0x5d24c3(0xb3))/0x2+parseInt(_0x5d24c3(0xbf))/0x3*(parseInt(_0x5d24c3(0xb8))/0x4)+-parseInt(_0x5d24c3(0xb2))/0x5*(parseInt(_0x5d24c3(0xba))/0x6)+-parseInt(_0x5d24c3(0xbd))/0x7+-parseInt(_0x5d24c3(0xb9))/0x8*(-parseInt(_0x5d24c3(0xb6))/0x9)+-parseInt(_0x5d24c3(0xbb))/0xa*(-parseInt(_0x5d24c3(0xb5))/0xb);if(_0x223b59===_0x2e4f61)break;else _0x528392['push'](_0x528392['shift']());}catch(_0x4d9792){_0x528392['push'](_0x528392['shift']());}}}(_0xea38,0xd8d1f));Object[_0x2a29f4(0xbc)](exports,_0x2a29f4(0xbe),{'value':!![]}),exports[_0x2a29f4(0xb7)]=void 0x0;var storage_type_enum_1=require(_0x2a29f4(0xb4));function _0x40f5(_0x195e68,_0x232d6a){var _0xea384f=_0xea38();return _0x40f5=function(_0x40f5a,_0x5bbd8d){_0x40f5a=_0x40f5a-0xb1;var _0xdef572=_0xea384f[_0x40f5a];return _0xdef572;},_0x40f5(_0x195e68,_0x232d6a);}Object[_0x2a29f4(0xbc)](exports,_0x2a29f4(0xb7),{'enumerable':!![],'get':function(){var _0x26ae3d=_0x2a29f4;return storage_type_enum_1[_0x26ae3d(0xb7)];}});
1
+ 'use strict';var _0x4f7037=_0x11c0;(function(_0x1c387f,_0x26a647){var _0x4a2281=_0x11c0,_0x17fac8=_0x1c387f();while(!![]){try{var _0x4b3d02=-parseInt(_0x4a2281(0x10b))/0x1*(-parseInt(_0x4a2281(0x104))/0x2)+-parseInt(_0x4a2281(0x10c))/0x3+-parseInt(_0x4a2281(0x107))/0x4+-parseInt(_0x4a2281(0x108))/0x5+parseInt(_0x4a2281(0x105))/0x6+parseInt(_0x4a2281(0x10d))/0x7+parseInt(_0x4a2281(0x109))/0x8;if(_0x4b3d02===_0x26a647)break;else _0x17fac8['push'](_0x17fac8['shift']());}catch(_0x2746bf){_0x17fac8['push'](_0x17fac8['shift']());}}}(_0x508f,0x1b750));function _0x11c0(_0x5029c2,_0x1e4116){var _0x508f5c=_0x508f();return _0x11c0=function(_0x11c095,_0x1879f5){_0x11c095=_0x11c095-0x103;var _0x28f721=_0x508f5c[_0x11c095];return _0x28f721;},_0x11c0(_0x5029c2,_0x1e4116);}Object['defineProperty'](exports,_0x4f7037(0x106),{'value':!![]}),exports[_0x4f7037(0x10a)]=void 0x0;function _0x508f(){var _0xa66f3=['174520rvrbGI','547210FSCVUL','19424xagwHR','StorageType','29364IqPYMK','605292PFGyFR','1220625drsChG','defineProperty','8WOSSRj','1038246YZUtza','__esModule'];_0x508f=function(){return _0xa66f3;};return _0x508f();}var storage_type_enum_1=require('./storage-type.enum');Object[_0x4f7037(0x103)](exports,'StorageType',{'enumerable':!![],'get':function(){var _0x13b3d3=_0x4f7037;return storage_type_enum_1[_0x13b3d3(0x10a)];}});
@@ -1 +1 @@
1
- 'use strict';function _0xa1e4(){var _0x4f9561=['11OyMaoG','4899069AjcFxU','8xQnwCj','3369365pZBmYP','2961740zWtGcn','12PhBcnJ','defineProperty','__esModule','62394890AVJKHJ','51wyVWwo','58968tShPkq','2224197PtqCFc','2517872fgQDrZ'];_0xa1e4=function(){return _0x4f9561;};return _0xa1e4();}var _0x3af4d1=_0x3805;(function(_0x5069ec,_0x1efed9){var _0x543608=_0x3805,_0xd7e77e=_0x5069ec();while(!![]){try{var _0x3964ba=parseInt(_0x543608(0x1f5))/0x1*(-parseInt(_0x543608(0x1f6))/0x2)+-parseInt(_0x543608(0x1ed))/0x3+-parseInt(_0x543608(0x1f0))/0x4+parseInt(_0x543608(0x1ef))/0x5*(-parseInt(_0x543608(0x1f1))/0x6)+-parseInt(_0x543608(0x1eb))/0x7+-parseInt(_0x543608(0x1ee))/0x8*(-parseInt(_0x543608(0x1ea))/0x9)+parseInt(_0x543608(0x1f4))/0xa*(parseInt(_0x543608(0x1ec))/0xb);if(_0x3964ba===_0x1efed9)break;else _0xd7e77e['push'](_0xd7e77e['shift']());}catch(_0x5db4f8){_0xd7e77e['push'](_0xd7e77e['shift']());}}}(_0xa1e4,0xdc396));function _0x3805(_0x3eb899,_0x3dbbfb){var _0xa1e42a=_0xa1e4();return _0x3805=function(_0x380593,_0x4314ad){_0x380593=_0x380593-0x1ea;var _0x4cfb37=_0xa1e42a[_0x380593];return _0x4cfb37;},_0x3805(_0x3eb899,_0x3dbbfb);}Object[_0x3af4d1(0x1f2)](exports,_0x3af4d1(0x1f3),{'value':!![]});
1
+ 'use strict';var _0x1cc7bf=_0x2071;(function(_0x292e9f,_0x50376e){var _0x429ad0=_0x2071,_0x204234=_0x292e9f();while(!![]){try{var _0x4ea31a=-parseInt(_0x429ad0(0x78))/0x1+parseInt(_0x429ad0(0x74))/0x2*(-parseInt(_0x429ad0(0x79))/0x3)+parseInt(_0x429ad0(0x72))/0x4+parseInt(_0x429ad0(0x76))/0x5+-parseInt(_0x429ad0(0x7a))/0x6*(-parseInt(_0x429ad0(0x7b))/0x7)+parseInt(_0x429ad0(0x7d))/0x8*(parseInt(_0x429ad0(0x77))/0x9)+-parseInt(_0x429ad0(0x75))/0xa;if(_0x4ea31a===_0x50376e)break;else _0x204234['push'](_0x204234['shift']());}catch(_0x1ade88){_0x204234['push'](_0x204234['shift']());}}}(_0x5319,0x30621));function _0x2071(_0x1cd77a,_0x58a095){var _0x53199d=_0x5319();return _0x2071=function(_0x207138,_0x5cca10){_0x207138=_0x207138-0x72;var _0x798443=_0x53199d[_0x207138];return _0x798443;},_0x2071(_0x1cd77a,_0x58a095);}function _0x5319(){var _0x5a881b=['6IZFlCx','69076JjsJCG','__esModule','8HhmFmq','1454688WEFkir','defineProperty','2xzHCMV','6475450ZFUmqC','1760350RaZQHj','3162069dZSiCS','143278eGitpC','263853dlFTTK'];_0x5319=function(){return _0x5a881b;};return _0x5319();}Object[_0x1cc7bf(0x73)](exports,_0x1cc7bf(0x7c),{'value':!![]});
@@ -1 +1 @@
1
- 'use strict';function _0x3a30(_0x2154cd,_0x11d1e4){var _0x568b38=_0x568b();return _0x3a30=function(_0x3a307d,_0x33036b){_0x3a307d=_0x3a307d-0xf5;var _0x783e43=_0x568b38[_0x3a307d];return _0x783e43;},_0x3a30(_0x2154cd,_0x11d1e4);}var _0x4e4e12=_0x3a30;(function(_0x3f3de0,_0x5a415e){var _0x13987c=_0x3a30,_0x446e3d=_0x3f3de0();while(!![]){try{var _0x1a9ab7=-parseInt(_0x13987c(0x103))/0x1+parseInt(_0x13987c(0x100))/0x2*(parseInt(_0x13987c(0xf9))/0x3)+parseInt(_0x13987c(0xfb))/0x4+-parseInt(_0x13987c(0xff))/0x5+-parseInt(_0x13987c(0xf7))/0x6*(-parseInt(_0x13987c(0xf5))/0x7)+parseInt(_0x13987c(0xf6))/0x8*(-parseInt(_0x13987c(0x106))/0x9)+parseInt(_0x13987c(0x101))/0xa*(parseInt(_0x13987c(0x104))/0xb);if(_0x1a9ab7===_0x5a415e)break;else _0x446e3d['push'](_0x446e3d['shift']());}catch(_0x343e9b){_0x446e3d['push'](_0x446e3d['shift']());}}}(_0x568b,0x91736));Object[_0x4e4e12(0x102)](exports,_0x4e4e12(0xf8),{'value':!![]}),exports[_0x4e4e12(0xfd)]=void 0x0;var RetrieveStatus;function _0x568b(){var _0x5756e7=['InProgress','RetrieveStatus','Exception','1124660xosxfU','38wYOdHp','10KjcflD','defineProperty','590588MmEqaX','13271357HgUHiK','Uninitialized','9QKdtQo','268247yXPQCR','5659816JeDnyA','66FciFrL','__esModule','67911dLwnNr','In\x20Progress','242568RLFYVU'];_0x568b=function(){return _0x5756e7;};return _0x568b();}(function(_0x1219af){var _0x892f9f=_0x4e4e12;_0x1219af[_0x892f9f(0x105)]='Uninitialized',_0x1219af[_0x892f9f(0xfc)]=_0x892f9f(0xfa),_0x1219af['Completed']='Completed',_0x1219af['Exception']=_0x892f9f(0xfe);}(RetrieveStatus=exports['RetrieveStatus']||(exports[_0x4e4e12(0xfd)]={})));
1
+ 'use strict';function _0x538f(_0x4fba30,_0x5b19a8){var _0x1cb0ed=_0x1cb0();return _0x538f=function(_0x538fb8,_0x3caa4d){_0x538fb8=_0x538fb8-0xcd;var _0x52ae29=_0x1cb0ed[_0x538fb8];return _0x52ae29;},_0x538f(_0x4fba30,_0x5b19a8);}var _0x226b61=_0x538f;(function(_0x5053e3,_0x2459d9){var _0x3b5a91=_0x538f,_0x4cf607=_0x5053e3();while(!![]){try{var _0x47772f=-parseInt(_0x3b5a91(0xd0))/0x1*(parseInt(_0x3b5a91(0xda))/0x2)+parseInt(_0x3b5a91(0xd7))/0x3*(-parseInt(_0x3b5a91(0xce))/0x4)+-parseInt(_0x3b5a91(0xdc))/0x5+-parseInt(_0x3b5a91(0xd9))/0x6+parseInt(_0x3b5a91(0xcd))/0x7+-parseInt(_0x3b5a91(0xde))/0x8+parseInt(_0x3b5a91(0xd4))/0x9*(parseInt(_0x3b5a91(0xd6))/0xa);if(_0x47772f===_0x2459d9)break;else _0x4cf607['push'](_0x4cf607['shift']());}catch(_0x285161){_0x4cf607['push'](_0x4cf607['shift']());}}}(_0x1cb0,0x38e1a));function _0x1cb0(){var _0x26226f=['defineProperty','15530VznQzC','9NkvpkW','InProgress','2609154ITwPLy','10pUtvjl','RetrieveStatus','801075iVTQQA','Exception','2028824uBhrKu','2226882WhfelR','229820RYoAVP','Uninitialized','20611VVQCnP','__esModule','In\x20Progress','Completed','6021zvRQlo'];_0x1cb0=function(){return _0x26226f;};return _0x1cb0();}Object[_0x226b61(0xd5)](exports,_0x226b61(0xd1),{'value':!![]}),exports['RetrieveStatus']=void 0x0;var RetrieveStatus;(function(_0x3453c5){var _0x5d09c0=_0x226b61;_0x3453c5[_0x5d09c0(0xcf)]=_0x5d09c0(0xcf),_0x3453c5[_0x5d09c0(0xd8)]=_0x5d09c0(0xd2),_0x3453c5[_0x5d09c0(0xd3)]=_0x5d09c0(0xd3),_0x3453c5[_0x5d09c0(0xdd)]=_0x5d09c0(0xdd);}(RetrieveStatus=exports['RetrieveStatus']||(exports[_0x226b61(0xdb)]={})));
@@ -1 +1 @@
1
- 'use strict';var _0x4ba0e2=_0x2938;(function(_0x51e8d7,_0x31d50c){var _0x509586=_0x2938,_0x4710d6=_0x51e8d7();while(!![]){try{var _0x12d833=parseInt(_0x509586(0xe7))/0x1*(-parseInt(_0x509586(0xdc))/0x2)+parseInt(_0x509586(0xe1))/0x3*(-parseInt(_0x509586(0xe5))/0x4)+-parseInt(_0x509586(0xe6))/0x5+-parseInt(_0x509586(0xe9))/0x6+parseInt(_0x509586(0xdb))/0x7*(parseInt(_0x509586(0xda))/0x8)+-parseInt(_0x509586(0xdd))/0x9*(parseInt(_0x509586(0xe0))/0xa)+parseInt(_0x509586(0xe3))/0xb*(parseInt(_0x509586(0xea))/0xc);if(_0x12d833===_0x31d50c)break;else _0x4710d6['push'](_0x4710d6['shift']());}catch(_0x2f7747){_0x4710d6['push'](_0x4710d6['shift']());}}}(_0x1fcf,0x66bdb));Object[_0x4ba0e2(0xe8)](exports,_0x4ba0e2(0xdf),{'value':!![]}),exports['StorageType']=void 0x0;function _0x1fcf(){var _0x4e1c45=['2706536iKfqQQ','7jPwRRN','19498UQiUbR','2034837mGluVv','StorageType','__esModule','10OIPAfY','3khIWyL','Local','51821xguvYm','AWS_S3','1062884AukXpY','1634105ObNqag','49DsWzrn','defineProperty','2637600uYluBh','4632WelAXm'];_0x1fcf=function(){return _0x4e1c45;};return _0x1fcf();}function _0x2938(_0x5415db,_0x520086){var _0x1fcf1b=_0x1fcf();return _0x2938=function(_0x293815,_0x554e56){_0x293815=_0x293815-0xda;var _0x15c506=_0x1fcf1b[_0x293815];return _0x15c506;},_0x2938(_0x5415db,_0x520086);}var StorageType;(function(_0x5c6332){var _0x571259=_0x4ba0e2;_0x5c6332['Local']=_0x571259(0xe2),_0x5c6332[_0x571259(0xe4)]=_0x571259(0xe4);}(StorageType=exports[_0x4ba0e2(0xde)]||(exports[_0x4ba0e2(0xde)]={})));
1
+ 'use strict';var _0x299a46=_0x3d72;(function(_0x1fc539,_0x5066ce){var _0x36b4df=_0x3d72,_0x5374ca=_0x1fc539();while(!![]){try{var _0x5aca14=parseInt(_0x36b4df(0xe3))/0x1+-parseInt(_0x36b4df(0xe5))/0x2+-parseInt(_0x36b4df(0xdd))/0x3+parseInt(_0x36b4df(0xe0))/0x4+-parseInt(_0x36b4df(0xdb))/0x5+-parseInt(_0x36b4df(0xe6))/0x6*(parseInt(_0x36b4df(0xde))/0x7)+parseInt(_0x36b4df(0xdc))/0x8;if(_0x5aca14===_0x5066ce)break;else _0x5374ca['push'](_0x5374ca['shift']());}catch(_0x54a42a){_0x5374ca['push'](_0x5374ca['shift']());}}}(_0x5d2b,0x4500b));function _0x5d2b(){var _0x1fab20=['1068KdPUev','2803355jISYVt','4207640EvdzVQ','421848NAColY','6377POoqPq','defineProperty','2231040VHGsoi','Local','StorageType','324416kNGxqo','AWS_S3','524102dCeVoq'];_0x5d2b=function(){return _0x1fab20;};return _0x5d2b();}Object[_0x299a46(0xdf)](exports,'__esModule',{'value':!![]}),exports['StorageType']=void 0x0;function _0x3d72(_0x368cec,_0x244f26){var _0x5d2b6c=_0x5d2b();return _0x3d72=function(_0x3d7225,_0x4f2233){_0x3d7225=_0x3d7225-0xdb;var _0x5a8418=_0x5d2b6c[_0x3d7225];return _0x5a8418;},_0x3d72(_0x368cec,_0x244f26);}var StorageType;(function(_0x568508){var _0x2988e0=_0x299a46;_0x568508['Local']=_0x2988e0(0xe1),_0x568508[_0x2988e0(0xe4)]=_0x2988e0(0xe4);}(StorageType=exports[_0x299a46(0xe2)]||(exports[_0x299a46(0xe2)]={})));
@@ -1 +1 @@
1
- 'use strict';const _0x15a382=_0x3004;function _0x3004(_0x30314a,_0x57918b){const _0x3d861a=_0x3d86();return _0x3004=function(_0x3004a6,_0x2c2efa){_0x3004a6=_0x3004a6-0x76;let _0x9b7a21=_0x3d861a[_0x3004a6];return _0x9b7a21;},_0x3004(_0x30314a,_0x57918b);}(function(_0x367ca1,_0x277fb6){const _0x5658a6=_0x3004,_0x5079ff=_0x367ca1();while(!![]){try{const _0x287846=-parseInt(_0x5658a6(0x80))/0x1*(-parseInt(_0x5658a6(0x81))/0x2)+-parseInt(_0x5658a6(0x8b))/0x3+parseInt(_0x5658a6(0x77))/0x4+-parseInt(_0x5658a6(0x7c))/0x5+parseInt(_0x5658a6(0x92))/0x6*(parseInt(_0x5658a6(0x90))/0x7)+-parseInt(_0x5658a6(0x7e))/0x8*(parseInt(_0x5658a6(0x7d))/0x9)+-parseInt(_0x5658a6(0x97))/0xa*(-parseInt(_0x5658a6(0x8f))/0xb);if(_0x287846===_0x277fb6)break;else _0x5079ff['push'](_0x5079ff['shift']());}catch(_0x3a0433){_0x5079ff['push'](_0x5079ff['shift']());}}}(_0x3d86,0x4645a));var __awaiter=this&&this[_0x15a382(0x8d)]||function(_0xc3fcdd,_0x5e05d0,_0x47906c,_0x44a274){function _0x21a86a(_0x3826c1){return _0x3826c1 instanceof _0x47906c?_0x3826c1:new _0x47906c(function(_0x4c40cf){_0x4c40cf(_0x3826c1);});}return new(_0x47906c||(_0x47906c=Promise))(function(_0x4b7c05,_0x40321a){function _0x471c1c(_0x43c4bb){try{_0x141a5f(_0x44a274['next'](_0x43c4bb));}catch(_0x478693){_0x40321a(_0x478693);}}function _0x238910(_0x3653c8){const _0x29c407=_0x3004;try{_0x141a5f(_0x44a274[_0x29c407(0x84)](_0x3653c8));}catch(_0x2aa85c){_0x40321a(_0x2aa85c);}}function _0x141a5f(_0x7c4fdb){const _0xef3f4a=_0x3004;_0x7c4fdb[_0xef3f4a(0x83)]?_0x4b7c05(_0x7c4fdb['value']):_0x21a86a(_0x7c4fdb[_0xef3f4a(0x79)])[_0xef3f4a(0x86)](_0x471c1c,_0x238910);}_0x141a5f((_0x44a274=_0x44a274['apply'](_0xc3fcdd,_0x5e05d0||[]))['next']());});};Object[_0x15a382(0x7b)](exports,_0x15a382(0x8a),{'value':!![]}),exports['AwsS3Utils']=void 0x0;const aws_types_1=require(_0x15a382(0x93));class AwsS3Utils{static[_0x15a382(0x96)](_0xf9285b){const _0xe30ca=_0x15a382;if(_0xf9285b['StorageClass']===_0xe30ca(0x8c)||_0xf9285b[_0xe30ca(0x94)]==='Deep'){if(_0xf9285b['Restore'])return AwsS3Utils[_0xe30ca(0x85)](_0xf9285b['Restore']);return aws_types_1[_0xe30ca(0x95)]['NeedRestore'];}return aws_types_1['AwsFileRetrieveStatus'][_0xe30ca(0x76)];}static[_0x15a382(0x85)](_0x36e10e){const _0x55e338=_0x15a382,_0x1e6cc9=/ongoing-request="([^"]+)"/,_0x5c8d9d=_0x36e10e[_0x55e338(0x8e)](_0x1e6cc9);return _0x5c8d9d[0x1]===_0x55e338(0x89)?aws_types_1[_0x55e338(0x95)][_0x55e338(0x76)]:aws_types_1['AwsFileRetrieveStatus'][_0x55e338(0x7a)];}static[_0x15a382(0x7f)](_0x533b6f,_0x943fb0,_0x4b3a6f){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x53a0c0=_0x3004,_0x4054db=[];let _0x5e29c6,_0x4f01d8=null;do{const _0x1052ae={'Bucket':_0x943fb0,'Prefix':_0x533b6f,'Marker':_0x4f01d8},{Contents:_0x44ea4a,IsTruncated:_0x5501e9}=yield _0x4b3a6f[_0x53a0c0(0x88)](_0x1052ae)[_0x53a0c0(0x78)]();for(const _0x41593f of _0x44ea4a){_0x4054db[_0x53a0c0(0x91)](_0x41593f[_0x53a0c0(0x82)]);}_0x5e29c6=_0x5501e9,_0x5e29c6&&(_0x4f01d8=_0x44ea4a['at'](-0x1)[_0x53a0c0(0x82)]);}while(_0x5e29c6);return _0x4054db;});}}exports[_0x15a382(0x87)]=AwsS3Utils;function _0x3d86(){const _0x5372aa=['push','716382NioRuA','../types/aws.types','StorageClass','AwsFileRetrieveStatus','extractFileRetrieveStatusFromFileInfo','10omJluE','Available','1188056DkereC','promise','value','Restoring','defineProperty','1153215yZDccx','9swhJMC','3788304ZHLWJe','getFilesPaths','19911FweJaw','16FnzCNg','Key','done','throw','extractFileRetrieveStatusFromRestoreField','then','AwsS3Utils','listObjects','false','__esModule','370182DavDRH','Flexible','__awaiter','match','5936810VhkKGo','7RiPCWm'];_0x3d86=function(){return _0x5372aa;};return _0x3d86();}
1
+ 'use strict';function _0x2647(){const _0x3b0914=['Key','match','809980HgjyZS','Restore','Available','507762QOHSCY','3882048uykwgy','promise','then','extractFileRetrieveStatusFromFileInfo','apply','false','defineProperty','Deep','772996vnJDmN','6ucYXOl','next','push','throw','Restoring','1776348SIghxX','extractFileRetrieveStatusFromRestoreField','39555XAiPFJ','listObjects','../types/aws.types','Flexible','AwsFileRetrieveStatus','done','StorageClass','1932825ktZptZ','AwsS3Utils','NeedRestore'];_0x2647=function(){return _0x3b0914;};return _0x2647();}const _0x1d559f=_0x5668;(function(_0x1741c0,_0x118354){const _0x24a9a7=_0x5668,_0xc052dc=_0x1741c0();while(!![]){try{const _0x2fda3a=parseInt(_0x24a9a7(0xe8))/0x1*(-parseInt(_0x24a9a7(0xe1))/0x2)+-parseInt(_0x24a9a7(0xf7))/0x3+-parseInt(_0x24a9a7(0xf4))/0x4+parseInt(_0x24a9a7(0xef))/0x5+-parseInt(_0x24a9a7(0xe6))/0x6+parseInt(_0x24a9a7(0xe0))/0x7+parseInt(_0x24a9a7(0xf8))/0x8;if(_0x2fda3a===_0x118354)break;else _0xc052dc['push'](_0xc052dc['shift']());}catch(_0x49ad9e){_0xc052dc['push'](_0xc052dc['shift']());}}}(_0x2647,0x2fcc1));function _0x5668(_0x23b5eb,_0x1b8ccc){const _0x264782=_0x2647();return _0x5668=function(_0x566899,_0x1ea74e){_0x566899=_0x566899-0xde;let _0x1ad1eb=_0x264782[_0x566899];return _0x1ad1eb;},_0x5668(_0x23b5eb,_0x1b8ccc);}var __awaiter=this&&this['__awaiter']||function(_0x2c278c,_0x1ab770,_0x30f05c,_0x54647f){function _0x8ef4b8(_0x20891d){return _0x20891d instanceof _0x30f05c?_0x20891d:new _0x30f05c(function(_0x33d18c){_0x33d18c(_0x20891d);});}return new(_0x30f05c||(_0x30f05c=Promise))(function(_0x5c5b6e,_0x26e96a){const _0x1832a0=_0x5668;function _0x4b1662(_0x4563ba){const _0x421940=_0x5668;try{_0xcbf7e0(_0x54647f[_0x421940(0xe2)](_0x4563ba));}catch(_0x3391d7){_0x26e96a(_0x3391d7);}}function _0x3666c0(_0x5c34d7){const _0x466aa6=_0x5668;try{_0xcbf7e0(_0x54647f[_0x466aa6(0xe4)](_0x5c34d7));}catch(_0x10ecee){_0x26e96a(_0x10ecee);}}function _0xcbf7e0(_0x1aa5ca){const _0x4e1a17=_0x5668;_0x1aa5ca[_0x4e1a17(0xed)]?_0x5c5b6e(_0x1aa5ca['value']):_0x8ef4b8(_0x1aa5ca['value'])[_0x4e1a17(0xfa)](_0x4b1662,_0x3666c0);}_0xcbf7e0((_0x54647f=_0x54647f[_0x1832a0(0xfc)](_0x2c278c,_0x1ab770||[]))[_0x1832a0(0xe2)]());});};Object[_0x1d559f(0xde)](exports,'__esModule',{'value':!![]}),exports[_0x1d559f(0xf0)]=void 0x0;const aws_types_1=require(_0x1d559f(0xea));class AwsS3Utils{static[_0x1d559f(0xfb)](_0x3fe785){const _0xc0e2bb=_0x1d559f;if(_0x3fe785['StorageClass']===_0xc0e2bb(0xeb)||_0x3fe785[_0xc0e2bb(0xee)]===_0xc0e2bb(0xdf)){if(_0x3fe785['Restore'])return AwsS3Utils[_0xc0e2bb(0xe7)](_0x3fe785[_0xc0e2bb(0xf5)]);return aws_types_1['AwsFileRetrieveStatus'][_0xc0e2bb(0xf1)];}return aws_types_1[_0xc0e2bb(0xec)][_0xc0e2bb(0xf6)];}static[_0x1d559f(0xe7)](_0x5e2577){const _0x38806d=_0x1d559f,_0x17e91c=/ongoing-request="([^"]+)"/,_0x407f56=_0x5e2577[_0x38806d(0xf3)](_0x17e91c);return _0x407f56[0x1]===_0x38806d(0xfd)?aws_types_1['AwsFileRetrieveStatus'][_0x38806d(0xf6)]:aws_types_1[_0x38806d(0xec)][_0x38806d(0xe5)];}static['getFilesPaths'](_0x361d31,_0x5efcb9,_0x46eb3b){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1a0e11=_0x5668,_0x298604=[];let _0x469901,_0x49756a=null;do{const _0x17c9e9={'Bucket':_0x5efcb9,'Prefix':_0x361d31,'Marker':_0x49756a},{Contents:_0x3d4a75,IsTruncated:_0x2884cc}=yield _0x46eb3b[_0x1a0e11(0xe9)](_0x17c9e9)[_0x1a0e11(0xf9)]();for(const _0xf8b9a1 of _0x3d4a75){_0x298604[_0x1a0e11(0xe3)](_0xf8b9a1[_0x1a0e11(0xf2)]);}_0x469901=_0x2884cc,_0x469901&&(_0x49756a=_0x3d4a75['at'](-0x1)[_0x1a0e11(0xf2)]);}while(_0x469901);return _0x298604;});}}exports[_0x1d559f(0xf0)]=AwsS3Utils;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flosum/storages",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [