@flosum/storages 1.0.9 → 1.0.10-beta.1

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 _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
+ 'use strict';const _0x41ede8=_0x53e5;(function(_0x3b78ec,_0x2d0796){const _0x4dacff=_0x53e5,_0x58aa9a=_0x3b78ec();while(!![]){try{const _0x5a5ef8=parseInt(_0x4dacff(0x1e2))/0x1+parseInt(_0x4dacff(0x1e7))/0x2+-parseInt(_0x4dacff(0x1dd))/0x3*(parseInt(_0x4dacff(0x1e8))/0x4)+parseInt(_0x4dacff(0x1e6))/0x5+-parseInt(_0x4dacff(0x1ef))/0x6+parseInt(_0x4dacff(0x1ed))/0x7+parseInt(_0x4dacff(0x1dc))/0x8;if(_0x5a5ef8===_0x2d0796)break;else _0x58aa9a['push'](_0x58aa9a['shift']());}catch(_0x1cf24a){_0x58aa9a['push'](_0x58aa9a['shift']());}}}(_0x1549,0x8ec80));var __awaiter=this&&this[_0x41ede8(0x1d8)]||function(_0xc25d19,_0x331f9e,_0x59c46a,_0x37be63){function _0x10c4ee(_0x4bbfbe){return _0x4bbfbe instanceof _0x59c46a?_0x4bbfbe:new _0x59c46a(function(_0x3ac729){_0x3ac729(_0x4bbfbe);});}return new(_0x59c46a||(_0x59c46a=Promise))(function(_0x195a11,_0x35a934){const _0xb55af=_0x53e5;function _0xdce643(_0x35a89a){try{_0x418037(_0x37be63['next'](_0x35a89a));}catch(_0x1c6a0a){_0x35a934(_0x1c6a0a);}}function _0x1c067b(_0x10392f){const _0x34b96a=_0x53e5;try{_0x418037(_0x37be63[_0x34b96a(0x1df)](_0x10392f));}catch(_0x3de3c7){_0x35a934(_0x3de3c7);}}function _0x418037(_0x45fa21){const _0x530060=_0x53e5;_0x45fa21[_0x530060(0x1ee)]?_0x195a11(_0x45fa21[_0x530060(0x1ec)]):_0x10c4ee(_0x45fa21[_0x530060(0x1ec)])[_0x530060(0x1de)](_0xdce643,_0x1c067b);}_0x418037((_0x37be63=_0x37be63[_0xb55af(0x1e9)](_0xc25d19,_0x331f9e||[]))[_0xb55af(0x1d6)]());});},__importDefault=this&&this['__importDefault']||function(_0x4584d9){const _0x1a45a6=_0x41ede8;return _0x4584d9&&_0x4584d9[_0x1a45a6(0x1e3)]?_0x4584d9:{'default':_0x4584d9};};Object[_0x41ede8(0x1d9)](exports,_0x41ede8(0x1e3),{'value':!![]}),exports[_0x41ede8(0x1e4)]=void 0x0;function _0x53e5(_0x46461d,_0xde4893){const _0x154933=_0x1549();return _0x53e5=function(_0x53e58c,_0x350d28){_0x53e58c=_0x53e58c-0x1d6;let _0x2196c5=_0x154933[_0x53e58c];return _0x2196c5;},_0x53e5(_0x46461d,_0xde4893);}function _0x1549(){const _0x191c0d=['getCredentials','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','11451672zoqdop','3tMhTfZ','then','throw','aws-sdk','headBucket','249481vZgdKQ','__esModule','AwsS3Credentials','accessKeyId','2769850UCJlNu','124412kwwsfg','3412052NESiVG','apply','secretAccessKey','promise','value','965979obexlR','done','5983608CHsiab','bucketName','credentials','next','default','__awaiter','defineProperty'];_0x1549=function(){return _0x191c0d;};return _0x1549();}const aws_sdk_1=__importDefault(require(_0x41ede8(0x1e0))),base_credentials_1=require('./base-credentials');class AwsS3Credentials extends base_credentials_1['BaseCredentials']{constructor(){const _0x5a6097=_0x41ede8;super(...arguments),this['s3']=new aws_sdk_1[(_0x5a6097(0x1d7))]['S3']({'accessKeyId':this[_0x5a6097(0x1f1)][_0x5a6097(0x1e5)],'secretAccessKey':this[_0x5a6097(0x1f1)][_0x5a6097(0x1ea)]});}get[_0x41ede8(0x1e5)](){const _0x103eae=_0x41ede8;return this['credentials'][_0x103eae(0x1e5)];}get[_0x41ede8(0x1ea)](){const _0x10449a=_0x41ede8;return this[_0x10449a(0x1f1)][_0x10449a(0x1ea)];}get[_0x41ede8(0x1f0)](){const _0x4afd8f=_0x41ede8;return this['credentials'][_0x4afd8f(0x1f0)];}['validate'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x30a2b5=_0x53e5;try{const _0x2462c2={'Bucket':this[_0x30a2b5(0x1f1)][_0x30a2b5(0x1f0)]};yield this['s3'][_0x30a2b5(0x1e1)](_0x2462c2)[_0x30a2b5(0x1eb)]();}catch(_0x30d7b1){throw new Error(_0x30a2b5(0x1db)+_0x30d7b1['message']);}});}[_0x41ede8(0x1da)](_0x3b835a=![]){const _0x39450e=_0x41ede8;if(_0x3b835a)return{'bucketName':this[_0x39450e(0x1f1)][_0x39450e(0x1f0)]};return this[_0x39450e(0x1f1)];}}exports[_0x41ede8(0x1e4)]=AwsS3Credentials;
@@ -1 +1 @@
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
+ 'use strict';var _0x4b8c98=_0x3359;function _0x30a3(){var _0x53ede2=['4779ftrjwY','parse','4XNUYde','6oNIJsH','rawCredentials','1512bXMVwD','1746433jdJJYU','246323NDnGJp','30nabLjz','797jmSvMH','701340hPTXBs','12icTObt','BaseCredentials','201278MaBXHD','632KefZHi','__esModule','1346530dVNCMR'];_0x30a3=function(){return _0x53ede2;};return _0x30a3();}(function(_0x3e018e,_0x2ca195){var _0x346b5b=_0x3359,_0x181fea=_0x3e018e();while(!![]){try{var _0x6fddc5=-parseInt(_0x346b5b(0xd0))/0x1*(parseInt(_0x346b5b(0xd5))/0x2)+parseInt(_0x346b5b(0xd1))/0x3+parseInt(_0x346b5b(0xc9))/0x4*(parseInt(_0x346b5b(0xd7))/0x5)+-parseInt(_0x346b5b(0xca))/0x6*(parseInt(_0x346b5b(0xce))/0x7)+-parseInt(_0x346b5b(0xcc))/0x8*(parseInt(_0x346b5b(0xc7))/0x9)+-parseInt(_0x346b5b(0xcf))/0xa*(parseInt(_0x346b5b(0xd4))/0xb)+parseInt(_0x346b5b(0xd2))/0xc*(parseInt(_0x346b5b(0xcd))/0xd);if(_0x6fddc5===_0x2ca195)break;else _0x181fea['push'](_0x181fea['shift']());}catch(_0x2ea77a){_0x181fea['push'](_0x181fea['shift']());}}}(_0x30a3,0x2fa3d));Object['defineProperty'](exports,_0x4b8c98(0xd6),{'value':!![]}),exports[_0x4b8c98(0xd3)]=void 0x0;class BaseCredentials{constructor(_0x33a2eb){var _0x56e6fa=_0x4b8c98;this[_0x56e6fa(0xcb)]=_0x33a2eb,this['credentials']=this[_0x56e6fa(0xcb)]?JSON[_0x56e6fa(0xc8)](this['rawCredentials']):null;}}function _0x3359(_0x81b337,_0x3399bd){var _0x30a341=_0x30a3();return _0x3359=function(_0x335960,_0x57cc2d){_0x335960=_0x335960-0xc7;var _0x2d3dc2=_0x30a341[_0x335960];return _0x2d3dc2;},_0x3359(_0x81b337,_0x3399bd);}exports[_0x4b8c98(0xd3)]=BaseCredentials;
@@ -1 +1 @@
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
+ 'use strict';function _0x500e(){var _0x2ced69=['defineProperty','542650fUVaRj','3943150nMFjUJ','./base-credentials','LocalCredentials','90fAjMtD','./local-credentials','138lDUrUR','246253kCBEdV','13EpnnVr','BaseCredentials','AwsS3Credentials','1396328AzDQcL','130082elSFwe','505821kKeXqe','./aws-s3-credentials','8qhDspA','__esModule','35226312qlklFm'];_0x500e=function(){return _0x2ced69;};return _0x500e();}var _0xc337f3=_0x57dc;(function(_0x38f288,_0x3cd107){var _0x3c617f=_0x57dc,_0x40a542=_0x38f288();while(!![]){try{var _0x5b4382=parseInt(_0x3c617f(0x107))/0x1*(parseInt(_0x3c617f(0x10b))/0x2)+-parseInt(_0x3c617f(0x10c))/0x3*(-parseInt(_0x3c617f(0x10e))/0x4)+-parseInt(_0x3c617f(0x113))/0x5+parseInt(_0x3c617f(0x105))/0x6*(-parseInt(_0x3c617f(0x106))/0x7)+-parseInt(_0x3c617f(0x10a))/0x8*(parseInt(_0x3c617f(0x116))/0x9)+-parseInt(_0x3c617f(0x112))/0xa+parseInt(_0x3c617f(0x110))/0xb;if(_0x5b4382===_0x3cd107)break;else _0x40a542['push'](_0x40a542['shift']());}catch(_0xe6946b){_0x40a542['push'](_0x40a542['shift']());}}}(_0x500e,0xf1245));Object['defineProperty'](exports,_0xc337f3(0x10f),{'value':!![]}),exports[_0xc337f3(0x115)]=exports[_0xc337f3(0x109)]=exports[_0xc337f3(0x108)]=void 0x0;function _0x57dc(_0x2bd1c9,_0x10f1da){var _0x500eb9=_0x500e();return _0x57dc=function(_0x57dc08,_0x5a32af){_0x57dc08=_0x57dc08-0x104;var _0x52fcfa=_0x500eb9[_0x57dc08];return _0x52fcfa;},_0x57dc(_0x2bd1c9,_0x10f1da);}var base_credentials_1=require(_0xc337f3(0x114));Object[_0xc337f3(0x111)](exports,_0xc337f3(0x108),{'enumerable':!![],'get':function(){var _0x939468=_0xc337f3;return base_credentials_1[_0x939468(0x108)];}});var aws_s3_credentials_1=require(_0xc337f3(0x10d));Object[_0xc337f3(0x111)](exports,_0xc337f3(0x109),{'enumerable':!![],'get':function(){var _0x4cba30=_0xc337f3;return aws_s3_credentials_1[_0x4cba30(0x109)];}});var local_credentials_1=require(_0xc337f3(0x104));Object['defineProperty'](exports,_0xc337f3(0x115),{'enumerable':!![],'get':function(){var _0x1ed260=_0xc337f3;return local_credentials_1[_0x1ed260(0x115)];}});
@@ -1 +1 @@
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
+ 'use strict';const _0x2a195e=_0x2e5d;(function(_0x208632,_0x14b30f){const _0x3198e9=_0x2e5d,_0x19197e=_0x208632();while(!![]){try{const _0x1336a8=parseInt(_0x3198e9(0x139))/0x1+parseInt(_0x3198e9(0x136))/0x2*(-parseInt(_0x3198e9(0x140))/0x3)+-parseInt(_0x3198e9(0x141))/0x4+parseInt(_0x3198e9(0x13d))/0x5*(-parseInt(_0x3198e9(0x13e))/0x6)+parseInt(_0x3198e9(0x137))/0x7*(-parseInt(_0x3198e9(0x13c))/0x8)+parseInt(_0x3198e9(0x138))/0x9*(-parseInt(_0x3198e9(0x13f))/0xa)+parseInt(_0x3198e9(0x143))/0xb;if(_0x1336a8===_0x14b30f)break;else _0x19197e['push'](_0x19197e['shift']());}catch(_0xc7f904){_0x19197e['push'](_0x19197e['shift']());}}}(_0x6923,0xc9528));function _0x6923(){const _0x25d617=['27EPayLc','1476908FrApUJ','LocalCredentials','BaseCredentials','24152eEDgEn','5CvABkk','6905904eqCvEz','4356610EIvOuK','2559cQlwIX','2652360fvbErc','./base-credentials','40136657AnDhyd','defineProperty','resolve','validate','__esModule','getCredentials','806MuSNpd','1939fWbXdU'];_0x6923=function(){return _0x25d617;};return _0x6923();}Object[_0x2a195e(0x131)](exports,_0x2a195e(0x134),{'value':!![]}),exports[_0x2a195e(0x13a)]=void 0x0;const base_credentials_1=require(_0x2a195e(0x142));function _0x2e5d(_0x20d2f4,_0x324fac){const _0x6923b4=_0x6923();return _0x2e5d=function(_0x2e5d42,_0x22901e){_0x2e5d42=_0x2e5d42-0x131;let _0x462508=_0x6923b4[_0x2e5d42];return _0x462508;},_0x2e5d(_0x20d2f4,_0x324fac);}class LocalCredentials extends base_credentials_1[_0x2a195e(0x13b)]{[_0x2a195e(0x135)](){return null;}[_0x2a195e(0x133)](){const _0x43575b=_0x2a195e;return Promise[_0x43575b(0x132)](undefined);}}exports['LocalCredentials']=LocalCredentials;
@@ -1 +1 @@
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
+ 'use strict';const _0x493bd8=_0x3ccb;function _0x3ccb(_0x4e1953,_0x4a25cc){const _0x13e153=_0x13e1();return _0x3ccb=function(_0x3ccb7d,_0x26d57c){_0x3ccb7d=_0x3ccb7d-0x1ee;let _0x24aa76=_0x13e153[_0x3ccb7d];return _0x24aa76;},_0x3ccb(_0x4e1953,_0x4a25cc);}function _0x13e1(){const _0x268e70=['execute','posix','value','default','231740WYEeBS','getFilesPaths','aws-sdk','__esModule','7mVfVjF','deleteObjects','map','BaseDelete','AwsS3Delete','defineProperty','5SoOJnO','splitOnChunks','bucketName','624874FfBkxn','promise','done','342876YlAGva','throw','OBJECTS_PER_CHUNK','@flosum-service/utils','split','credentials','__awaiter','9Yxgdff','5649496IOibxx','2559132eQVQmA','apply','next','2307356SxLthI','814eGTqHd','902580IsSiJB','__importDefault','sep'];_0x13e1=function(){return _0x268e70;};return _0x13e1();}(function(_0x51c0c,_0x373bfa){const _0x2f5aed=_0x3ccb,_0x11b003=_0x51c0c();while(!![]){try{const _0x3933f4=parseInt(_0x2f5aed(0x209))/0x1+-parseInt(_0x2f5aed(0x1f8))/0x2*(-parseInt(_0x2f5aed(0x202))/0x3)+parseInt(_0x2f5aed(0x207))/0x4*(-parseInt(_0x2f5aed(0x1f5))/0x5)+-parseInt(_0x2f5aed(0x1fb))/0x6+-parseInt(_0x2f5aed(0x1ef))/0x7*(-parseInt(_0x2f5aed(0x203))/0x8)+parseInt(_0x2f5aed(0x204))/0x9+parseInt(_0x2f5aed(0x210))/0xa*(-parseInt(_0x2f5aed(0x208))/0xb);if(_0x3933f4===_0x373bfa)break;else _0x11b003['push'](_0x11b003['shift']());}catch(_0x326f80){_0x11b003['push'](_0x11b003['shift']());}}}(_0x13e1,0x7591d));var __awaiter=this&&this[_0x493bd8(0x201)]||function(_0x2edf0c,_0x19786d,_0x579abc,_0x367144){function _0x117e20(_0x2974a2){return _0x2974a2 instanceof _0x579abc?_0x2974a2:new _0x579abc(function(_0x2c9ead){_0x2c9ead(_0x2974a2);});}return new(_0x579abc||(_0x579abc=Promise))(function(_0x3eb145,_0x20673e){const _0x28c7df=_0x3ccb;function _0x446ed0(_0x4565de){try{_0x2bb69b(_0x367144['next'](_0x4565de));}catch(_0x588a9e){_0x20673e(_0x588a9e);}}function _0x32b424(_0x200b18){const _0x280916=_0x3ccb;try{_0x2bb69b(_0x367144[_0x280916(0x1fc)](_0x200b18));}catch(_0x1c61af){_0x20673e(_0x1c61af);}}function _0x2bb69b(_0x1bd2bc){const _0x12a572=_0x3ccb;_0x1bd2bc[_0x12a572(0x1fa)]?_0x3eb145(_0x1bd2bc['value']):_0x117e20(_0x1bd2bc[_0x12a572(0x20e)])['then'](_0x446ed0,_0x32b424);}_0x2bb69b((_0x367144=_0x367144[_0x28c7df(0x205)](_0x2edf0c,_0x19786d||[]))[_0x28c7df(0x206)]());});},__importDefault=this&&this[_0x493bd8(0x20a)]||function(_0x27f914){const _0x62fa16=_0x493bd8;return _0x27f914&&_0x27f914[_0x62fa16(0x1ee)]?_0x27f914:{'default':_0x27f914};};Object[_0x493bd8(0x1f4)](exports,_0x493bd8(0x1ee),{'value':!![]}),exports[_0x493bd8(0x1f3)]=void 0x0;const aws_sdk_1=__importDefault(require(_0x493bd8(0x212))),path_1=__importDefault(require('path')),utils_1=require(_0x493bd8(0x1fe)),aws_s3_utils_1=require('../utils/aws-s3.utils'),_1=require('./');class AwsS3Delete extends _1[_0x493bd8(0x1f2)]{constructor(_0xbc398d){const _0x427dd9=_0x493bd8;super(_0xbc398d),this['credentials']=_0xbc398d,this['OBJECTS_PER_CHUNK']=0x3e8,this['s3']=new aws_sdk_1[(_0x427dd9(0x20f))]['S3']({'accessKeyId':this[_0x427dd9(0x200)]['accessKeyId'],'secretAccessKey':this[_0x427dd9(0x200)]['secretAccessKey']});}[_0x493bd8(0x20c)](_0x14cd00){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1d370d=_0x3ccb,_0x48a94b=_0x14cd00[_0x1d370d(0x1ff)](path_1[_0x1d370d(0x20f)][_0x1d370d(0x20b)])['join'](path_1[_0x1d370d(0x20f)][_0x1d370d(0x20d)][_0x1d370d(0x20b)]),_0x3ba420=yield aws_s3_utils_1['AwsS3Utils'][_0x1d370d(0x211)](_0x48a94b,this[_0x1d370d(0x200)][_0x1d370d(0x1f7)],this['s3']),_0x75ca2=utils_1['ArrayUtils'][_0x1d370d(0x1f6)](_0x3ba420,this[_0x1d370d(0x1fd)]);for(const _0x59721b of _0x75ca2){const _0x22f4ba=_0x59721b[_0x1d370d(0x1f1)](_0xcff822=>({'Key':_0xcff822})),_0x2b8abc={'Bucket':this[_0x1d370d(0x200)][_0x1d370d(0x1f7)],'Delete':{'Objects':_0x22f4ba}};yield this['s3'][_0x1d370d(0x1f0)](_0x2b8abc)[_0x1d370d(0x1f9)]();}});}}exports[_0x493bd8(0x1f3)]=AwsS3Delete;
@@ -1 +1 @@
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
+ 'use strict';var _0xce1d45=_0x5798;(function(_0x285a73,_0x22f27e){var _0x3f086e=_0x5798,_0x5a4d0c=_0x285a73();while(!![]){try{var _0x40b27e=parseInt(_0x3f086e(0x1c6))/0x1*(-parseInt(_0x3f086e(0x1d3))/0x2)+parseInt(_0x3f086e(0x1cf))/0x3*(-parseInt(_0x3f086e(0x1c8))/0x4)+-parseInt(_0x3f086e(0x1d1))/0x5*(-parseInt(_0x3f086e(0x1d2))/0x6)+parseInt(_0x3f086e(0x1c9))/0x7*(-parseInt(_0x3f086e(0x1cb))/0x8)+-parseInt(_0x3f086e(0x1ca))/0x9*(-parseInt(_0x3f086e(0x1c7))/0xa)+-parseInt(_0x3f086e(0x1cd))/0xb*(parseInt(_0x3f086e(0x1d4))/0xc)+parseInt(_0x3f086e(0x1ce))/0xd;if(_0x40b27e===_0x22f27e)break;else _0x5a4d0c['push'](_0x5a4d0c['shift']());}catch(_0x26dc2a){_0x5a4d0c['push'](_0x5a4d0c['shift']());}}}(_0x52ff,0xa45db));function _0x5798(_0x2eb724,_0x57442c){var _0x52ffba=_0x52ff();return _0x5798=function(_0x5798c9,_0x3bb777){_0x5798c9=_0x5798c9-0x1c4;var _0x2934d1=_0x52ffba[_0x5798c9];return _0x2934d1;},_0x5798(_0x2eb724,_0x57442c);}Object[_0xce1d45(0x1d0)](exports,_0xce1d45(0x1cc),{'value':!![]}),exports[_0xce1d45(0x1c4)]=void 0x0;class BaseDelete{constructor(_0x11a3fa){var _0x2377bc=_0xce1d45;this[_0x2377bc(0x1c5)]=_0x11a3fa;}}exports[_0xce1d45(0x1c4)]=BaseDelete;function _0x52ff(){var _0x15754b=['9970947tABQSM','60136apcEhu','__esModule','6443393WzSJJP','14951820iTcmAa','8037ntGtow','defineProperty','10lXhSet','2398386gIDmRb','1766xTLrPv','12HgGpsb','BaseDelete','credentials','462xvJrLv','10xKHNEj','460BARtRj','1008YZQRFy'];_0x52ff=function(){return _0x15754b;};return _0x52ff();}
@@ -1 +1 @@
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
+ 'use strict';var _0x2a7cfe=_0x38e6;(function(_0x5283dd,_0x37cff9){var _0x458c14=_0x38e6,_0x4df342=_0x5283dd();while(!![]){try{var _0x5af65f=-parseInt(_0x458c14(0x133))/0x1+-parseInt(_0x458c14(0x126))/0x2+-parseInt(_0x458c14(0x130))/0x3*(-parseInt(_0x458c14(0x129))/0x4)+parseInt(_0x458c14(0x132))/0x5*(-parseInt(_0x458c14(0x12b))/0x6)+-parseInt(_0x458c14(0x12d))/0x7+parseInt(_0x458c14(0x128))/0x8*(parseInt(_0x458c14(0x127))/0x9)+parseInt(_0x458c14(0x131))/0xa*(parseInt(_0x458c14(0x12e))/0xb);if(_0x5af65f===_0x37cff9)break;else _0x4df342['push'](_0x4df342['shift']());}catch(_0x50eb8c){_0x4df342['push'](_0x4df342['shift']());}}}(_0xd336,0xddc71));Object[_0x2a7cfe(0x12f)](exports,_0x2a7cfe(0x136),{'value':!![]}),exports[_0x2a7cfe(0x134)]=exports[_0x2a7cfe(0x137)]=exports['BaseDelete']=void 0x0;var base_delete_1=require(_0x2a7cfe(0x135));Object['defineProperty'](exports,_0x2a7cfe(0x12c),{'enumerable':!![],'get':function(){return base_delete_1['BaseDelete'];}});function _0x38e6(_0x19dae9,_0x552591){var _0xd3366e=_0xd336();return _0x38e6=function(_0x38e667,_0x3a0e41){_0x38e667=_0x38e667-0x126;var _0xd41ea1=_0xd3366e[_0x38e667];return _0xd41ea1;},_0x38e6(_0x19dae9,_0x552591);}var aws_s3_delete_1=require('./aws-s3-delete');function _0xd336(){var _0x2d9558=['2360758QnmCbB','7566714UFNVjx','8PnarlM','6494152WgIrOF','./local-delete','6UnBBaT','BaseDelete','8689534fNIJce','33eSwClj','defineProperty','3EqAPRV','6820490mBgqWI','199945lnfIVT','1140300wISKqV','LocalDelete','./base-delete','__esModule','AwsS3Delete'];_0xd336=function(){return _0x2d9558;};return _0xd336();}Object[_0x2a7cfe(0x12f)](exports,_0x2a7cfe(0x137),{'enumerable':!![],'get':function(){var _0x51c0e5=_0x2a7cfe;return aws_s3_delete_1[_0x51c0e5(0x137)];}});var local_delete_1=require(_0x2a7cfe(0x12a));Object['defineProperty'](exports,_0x2a7cfe(0x134),{'enumerable':!![],'get':function(){var _0x86d06a=_0x2a7cfe;return local_delete_1[_0x86d06a(0x134)];}});
@@ -1 +1 @@
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
+ 'use strict';const _0x2f5c26=_0x4d1f;(function(_0x2b8c9c,_0x2ccd96){const _0x4ffeab=_0x4d1f,_0x1e534d=_0x2b8c9c();while(!![]){try{const _0x147f9d=parseInt(_0x4ffeab(0x13d))/0x1+parseInt(_0x4ffeab(0x147))/0x2+parseInt(_0x4ffeab(0x13a))/0x3+parseInt(_0x4ffeab(0x134))/0x4*(parseInt(_0x4ffeab(0x13c))/0x5)+parseInt(_0x4ffeab(0x13e))/0x6+parseInt(_0x4ffeab(0x13f))/0x7*(parseInt(_0x4ffeab(0x146))/0x8)+parseInt(_0x4ffeab(0x14a))/0x9*(-parseInt(_0x4ffeab(0x137))/0xa);if(_0x147f9d===_0x2ccd96)break;else _0x1e534d['push'](_0x1e534d['shift']());}catch(_0x3d7d18){_0x1e534d['push'](_0x1e534d['shift']());}}}(_0xa0e2,0x805e6));var __awaiter=this&&this[_0x2f5c26(0x13b)]||function(_0x2c2628,_0x2d6ef8,_0x26257b,_0x70b06a){function _0x1f191f(_0x27db36){return _0x27db36 instanceof _0x26257b?_0x27db36:new _0x26257b(function(_0x42f81d){_0x42f81d(_0x27db36);});}return new(_0x26257b||(_0x26257b=Promise))(function(_0x5f4d3c,_0x3bfb64){const _0xc4cf83=_0x4d1f;function _0x496d57(_0x583899){try{_0x17f069(_0x70b06a['next'](_0x583899));}catch(_0x216fee){_0x3bfb64(_0x216fee);}}function _0x3fab43(_0x38818f){const _0x2b49f8=_0x4d1f;try{_0x17f069(_0x70b06a[_0x2b49f8(0x139)](_0x38818f));}catch(_0x3d11c4){_0x3bfb64(_0x3d11c4);}}function _0x17f069(_0x41c07c){const _0x2de2b0=_0x4d1f;_0x41c07c[_0x2de2b0(0x140)]?_0x5f4d3c(_0x41c07c[_0x2de2b0(0x145)]):_0x1f191f(_0x41c07c[_0x2de2b0(0x145)])[_0x2de2b0(0x142)](_0x496d57,_0x3fab43);}_0x17f069((_0x70b06a=_0x70b06a[_0xc4cf83(0x133)](_0x2c2628,_0x2d6ef8||[]))[_0xc4cf83(0x149)]());});};function _0x4d1f(_0x286ed9,_0xe1314c){const _0xa0e286=_0xa0e2();return _0x4d1f=function(_0x4d1ff8,_0x50bf6e){_0x4d1ff8=_0x4d1ff8-0x133;let _0x2732c6=_0xa0e286[_0x4d1ff8];return _0x2732c6;},_0x4d1f(_0x286ed9,_0xe1314c);}Object[_0x2f5c26(0x141)](exports,_0x2f5c26(0x138),{'value':!![]}),exports[_0x2f5c26(0x144)]=void 0x0;const promises_1=require(_0x2f5c26(0x148)),utils_1=require(_0x2f5c26(0x136)),_1=require('./');class LocalDelete extends _1['BaseDelete']{[_0x2f5c26(0x135)](_0x1854f3){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x46246b=_0x4d1f;if(yield utils_1['FsUtils'][_0x46246b(0x143)](_0x1854f3))yield(0x0,promises_1['rm'])(_0x1854f3,{'recursive':!![]});});}}function _0xa0e2(){const _0x8a6657=['LocalDelete','value','1552EPtwow','1650902xmhvhf','fs/promises','next','65691bjwPLi','apply','1969676kMwKoB','execute','@flosum-service/utils','5090HlTArJ','__esModule','throw','2756457xxqTqn','__awaiter','5yNdqdu','4289KkrIsk','6268530SBjQkQ','34468NpRdgX','done','defineProperty','then','isExistsPath'];_0xa0e2=function(){return _0x8a6657;};return _0xa0e2();}exports[_0x2f5c26(0x144)]=LocalDelete;
@@ -1 +1 @@
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
+ 'use strict';function _0x3045(){const _0x3661b5=['default','execute','105866wMkebZ','timers/promises','__esModule','credentials','35Kanhsm','QUEUE_MAX_SIZE','MAX_RETRIES','20788FkEKWB','posix','setTimeout','throw','__importDefault','defineProperty','306340tJdYhn','3284238GMpJNH','storageClass','uploadFileStreamFromPath','BaseDeploy','time','aws-sdk','value','QUEUE_CHECK_TIMEOUT','10974075dXygsc','====================>\x20uploaded\x20to\x20aws,\x20try\x20','then','bucketName','627rNAeRh','accessKeyId','next','https','sep','promise','2697640cnXNbq','7XxSfrC','join','createReadStream','writeFile','3848118Ubbpjp','tempDir','handleStreamUpload','written\x20to\x20tmp','27nbQqtp','randomUUID','writeToTemp','upload','_queueSize','split','__awaiter','timeEnd','AwsS3Deploy'];_0x3045=function(){return _0x3661b5;};return _0x3045();}const _0x1b2ad2=_0x2093;(function(_0x9ff09e,_0x3a9985){const _0x2baa4d=_0x2093,_0x12cdac=_0x9ff09e();while(!![]){try{const _0x2340b7=parseInt(_0x2baa4d(0xd4))/0x1*(parseInt(_0x2baa4d(0xe7))/0x2)+-parseInt(_0x2baa4d(0xd8))/0x3+parseInt(_0x2baa4d(0xee))/0x4*(parseInt(_0x2baa4d(0xeb))/0x5)+-parseInt(_0x2baa4d(0xf5))/0x6+parseInt(_0x2baa4d(0xfd))/0x7+parseInt(_0x2baa4d(0xd3))/0x8*(-parseInt(_0x2baa4d(0xdc))/0x9)+-parseInt(_0x2baa4d(0xf4))/0xa*(-parseInt(_0x2baa4d(0xcd))/0xb);if(_0x2340b7===_0x3a9985)break;else _0x12cdac['push'](_0x12cdac['shift']());}catch(_0x516214){_0x12cdac['push'](_0x12cdac['shift']());}}}(_0x3045,0xd69e7));function _0x2093(_0x33d11d,_0xf074ec){const _0x30452f=_0x3045();return _0x2093=function(_0x209366,_0x21424f){_0x209366=_0x209366-0xca;let _0xcd9358=_0x30452f[_0x209366];return _0xcd9358;},_0x2093(_0x33d11d,_0xf074ec);}var __awaiter=this&&this[_0x1b2ad2(0xe2)]||function(_0x38bc48,_0x51b877,_0x22355d,_0x131387){function _0x17ad2e(_0x125059){return _0x125059 instanceof _0x22355d?_0x125059:new _0x22355d(function(_0x579268){_0x579268(_0x125059);});}return new(_0x22355d||(_0x22355d=Promise))(function(_0x581baa,_0x455ce8){const _0x1807d9=_0x2093;function _0xe20786(_0x3d2ffc){try{_0x564892(_0x131387['next'](_0x3d2ffc));}catch(_0x71fcd2){_0x455ce8(_0x71fcd2);}}function _0x5ef1a9(_0xf43257){const _0x13db07=_0x2093;try{_0x564892(_0x131387[_0x13db07(0xf1)](_0xf43257));}catch(_0x4942a3){_0x455ce8(_0x4942a3);}}function _0x564892(_0x15f341){const _0x3bc025=_0x2093;_0x15f341['done']?_0x581baa(_0x15f341['value']):_0x17ad2e(_0x15f341[_0x3bc025(0xfb)])[_0x3bc025(0xcb)](_0xe20786,_0x5ef1a9);}_0x564892((_0x131387=_0x131387['apply'](_0x38bc48,_0x51b877||[]))[_0x1807d9(0xcf)]());});},__importDefault=this&&this[_0x1b2ad2(0xf2)]||function(_0x544e79){const _0x263d69=_0x1b2ad2;return _0x544e79&&_0x544e79[_0x263d69(0xe9)]?_0x544e79:{'default':_0x544e79};};Object[_0x1b2ad2(0xf3)](exports,_0x1b2ad2(0xe9),{'value':!![]}),exports[_0x1b2ad2(0xe4)]=void 0x0;const aws_sdk_1=__importDefault(require(_0x1b2ad2(0xfa))),path_1=__importDefault(require('path')),crypto_1=require('crypto'),fs_1=require('fs'),promises_1=require('fs/promises'),promises_2=require(_0x1b2ad2(0xe8)),_1=require('./'),https_1=__importDefault(require(_0x1b2ad2(0xd0)));class AwsS3Deploy extends _1[_0x1b2ad2(0xf8)]{constructor(_0x18cd07,_0x1dc472,_0x51fd08){const _0x5894e4=_0x1b2ad2;super(_0x18cd07,_0x1dc472),this[_0x5894e4(0xea)]=_0x18cd07,this[_0x5894e4(0xd9)]=_0x1dc472,this[_0x5894e4(0xf6)]=_0x51fd08,this[_0x5894e4(0xed)]=0xa,this[_0x5894e4(0xec)]=0x2,this['QUEUE_CHECK_TIMEOUT']=0x5*0x3e8,this[_0x5894e4(0xe0)]=0x0,this['s3']=new aws_sdk_1['default']['S3']({'accessKeyId':this['credentials'][_0x5894e4(0xce)],'secretAccessKey':this[_0x5894e4(0xea)]['secretAccessKey'],'maxRetries':0xa,'httpOptions':{'agent':new https_1['default']['Agent']({'keepAlive':!![]})}});}[_0x1b2ad2(0xde)](_0x584e6b){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x50a816=_0x2093;console[_0x50a816(0xf9)](_0x50a816(0xdb));const _0x5786a9=path_1[_0x50a816(0xe5)][_0x50a816(0xd5)](this['tempDir'],(0x0,crypto_1[_0x50a816(0xdd)])());return yield(0x0,promises_1[_0x50a816(0xd7)])(_0x5786a9,_0x584e6b),console[_0x50a816(0xe3)](_0x50a816(0xdb)),{'path':_0x5786a9};});}['uploadFileStreamFromPath'](_0x38fd73,_0x388ca7,_0x2f466c=0x0,_0x111c62=null){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x143168=_0x2093;if(_0x2f466c>this['MAX_RETRIES'])throw _0x111c62;console['time']('====================>\x20uploaded\x20to\x20aws,\x20try\x20'+_0x2f466c);const _0x271a52=(0x0,fs_1[_0x143168(0xd6)])(_0x38fd73);try{yield this['upload'](_0x271a52,_0x388ca7);}catch(_0x44cf7f){return this[_0x143168(0xf7)](_0x38fd73,_0x388ca7,_0x2f466c+0x1,_0x44cf7f);}console[_0x143168(0xe3)](_0x143168(0xca)+_0x2f466c);});}['upload'](_0x28db1d,_0xb150e){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3c376a=_0x2093,_0x4d700c={'Bucket':this[_0x3c376a(0xea)][_0x3c376a(0xcc)],'Key':_0xb150e,'Body':_0x28db1d,'StorageClass':this[_0x3c376a(0xf6)]};yield this['s3'][_0x3c376a(0xdf)](_0x4d700c)[_0x3c376a(0xd2)]();});}[_0x1b2ad2(0xda)](_0x5a4af7,_0x352b03){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x114528=_0x2093,{path:_0x40878a}=yield this[_0x114528(0xde)](_0x5a4af7);try{yield this[_0x114528(0xf7)](_0x40878a,_0x352b03);}catch(_0x4be71b){throw _0x4be71b;}finally{yield(0x0,promises_1['rm'])(_0x40878a)['catch'](()=>undefined);}});}[_0x1b2ad2(0xe6)](_0x45360f,_0x4c6008){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x35ac10=_0x2093;if(this[_0x35ac10(0xe0)]===this[_0x35ac10(0xec)])return yield(0x0,promises_2[_0x35ac10(0xf0)])(this[_0x35ac10(0xfc)]),this[_0x35ac10(0xe6)](_0x45360f,_0x4c6008);try{this[_0x35ac10(0xe0)]+=0x1;const _0xa1a561=_0x4c6008[_0x35ac10(0xe1)](path_1[_0x35ac10(0xe5)][_0x35ac10(0xd1)])['join'](path_1[_0x35ac10(0xe5)][_0x35ac10(0xef)][_0x35ac10(0xd1)]);if(Buffer['isBuffer'](_0x45360f)){yield this[_0x35ac10(0xdf)](_0x45360f,_0xa1a561);return;}yield this[_0x35ac10(0xda)](_0x45360f,_0xa1a561);}catch(_0x12d3d2){throw _0x12d3d2;}finally{this['_queueSize']-=0x1;}});}}exports[_0x1b2ad2(0xe4)]=AwsS3Deploy;
@@ -1 +1 @@
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
+ 'use strict';var _0x5bac48=_0x5305;function _0x2fb0(){var _0x2a309e=['132424PzlFcw','6989744GTSKmj','BaseDeploy','118605rtyXxN','credentials','1289460bTGuhy','6822558OKTwAu','defineProperty','7220259XTxjjP','__esModule','4150377scYnrO','140uscINs','64ndtOXd'];_0x2fb0=function(){return _0x2a309e;};return _0x2fb0();}(function(_0x3dc195,_0x3efadb){var _0x321385=_0x5305,_0x5e06da=_0x3dc195();while(!![]){try{var _0x2da5bd=-parseInt(_0x321385(0x1f7))/0x1+parseInt(_0x321385(0x1f1))/0x2*(parseInt(_0x321385(0x1f5))/0x3)+parseInt(_0x321385(0x1f2))/0x4*(-parseInt(_0x321385(0x1f0))/0x5)+parseInt(_0x321385(0x1f8))/0x6+parseInt(_0x321385(0x1ef))/0x7+-parseInt(_0x321385(0x1f3))/0x8+parseInt(_0x321385(0x1fa))/0x9;if(_0x2da5bd===_0x3efadb)break;else _0x5e06da['push'](_0x5e06da['shift']());}catch(_0x4b74ad){_0x5e06da['push'](_0x5e06da['shift']());}}}(_0x2fb0,0xaca9d));function _0x5305(_0x3a95e5,_0x1b27df){var _0x2fb094=_0x2fb0();return _0x5305=function(_0x53053a,_0x5e52e9){_0x53053a=_0x53053a-0x1ee;var _0x23f4f9=_0x2fb094[_0x53053a];return _0x23f4f9;},_0x5305(_0x3a95e5,_0x1b27df);}Object[_0x5bac48(0x1f9)](exports,_0x5bac48(0x1ee),{'value':!![]}),exports[_0x5bac48(0x1f4)]=void 0x0;class BaseDeploy{constructor(_0x560cad,_0x6b7ed4){var _0x459550=_0x5bac48;this[_0x459550(0x1f6)]=_0x560cad,this['tempDir']=_0x6b7ed4;}}exports[_0x5bac48(0x1f4)]=BaseDeploy;
@@ -1 +1 @@
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
+ 'use strict';var _0x2ff5e9=_0x1d8f;(function(_0x5ac170,_0x42ff42){var _0x41146e=_0x1d8f,_0x387ee1=_0x5ac170();while(!![]){try{var _0x11c092=-parseInt(_0x41146e(0x108))/0x1+parseInt(_0x41146e(0x105))/0x2*(parseInt(_0x41146e(0x112))/0x3)+-parseInt(_0x41146e(0x10e))/0x4+-parseInt(_0x41146e(0x10b))/0x5+parseInt(_0x41146e(0x111))/0x6+parseInt(_0x41146e(0x114))/0x7+parseInt(_0x41146e(0x10a))/0x8*(parseInt(_0x41146e(0x109))/0x9);if(_0x11c092===_0x42ff42)break;else _0x387ee1['push'](_0x387ee1['shift']());}catch(_0x259eb9){_0x387ee1['push'](_0x387ee1['shift']());}}}(_0x118f,0xb1f12));Object[_0x2ff5e9(0x107)](exports,_0x2ff5e9(0x110),{'value':!![]}),exports['LocalDeploy']=exports[_0x2ff5e9(0x113)]=exports[_0x2ff5e9(0x10d)]=void 0x0;var base_deploy_1=require(_0x2ff5e9(0x10f));Object[_0x2ff5e9(0x107)](exports,_0x2ff5e9(0x10d),{'enumerable':!![],'get':function(){return base_deploy_1['BaseDeploy'];}});function _0x118f(){var _0x55885f=['5421878EGjiif','./local-deploy','2obgvHD','./aws-s3-deploy','defineProperty','1181097ChuDoD','90iPkelZ','941768UyfigF','6786235teHSXy','LocalDeploy','BaseDeploy','2685744gRZcUG','./base-deploy','__esModule','3822954uCFxiQ','4049121UFOtUi','AwsS3Deploy'];_0x118f=function(){return _0x55885f;};return _0x118f();}var aws_s3_deploy_1=require(_0x2ff5e9(0x106));Object[_0x2ff5e9(0x107)](exports,'AwsS3Deploy',{'enumerable':!![],'get':function(){var _0x41cb9=_0x2ff5e9;return aws_s3_deploy_1[_0x41cb9(0x113)];}});var local_deploy_1=require(_0x2ff5e9(0x104));function _0x1d8f(_0x4a324e,_0x35fec7){var _0x118fa7=_0x118f();return _0x1d8f=function(_0x1d8f0b,_0x25d415){_0x1d8f0b=_0x1d8f0b-0x104;var _0x33b9ca=_0x118fa7[_0x1d8f0b];return _0x33b9ca;},_0x1d8f(_0x4a324e,_0x35fec7);}Object['defineProperty'](exports,_0x2ff5e9(0x10c),{'enumerable':!![],'get':function(){return local_deploy_1['LocalDeploy'];}});
@@ -1 +1 @@
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;
1
+ 'use strict';const _0x59dd67=_0x344d;(function(_0x37fd42,_0x32fb3a){const _0x2e1f6f=_0x344d,_0x194893=_0x37fd42();while(!![]){try{const _0x440635=parseInt(_0x2e1f6f(0xfc))/0x1*(-parseInt(_0x2e1f6f(0x118))/0x2)+-parseInt(_0x2e1f6f(0x106))/0x3*(-parseInt(_0x2e1f6f(0x10d))/0x4)+parseInt(_0x2e1f6f(0x111))/0x5*(-parseInt(_0x2e1f6f(0xfe))/0x6)+parseInt(_0x2e1f6f(0xfd))/0x7+-parseInt(_0x2e1f6f(0x107))/0x8+-parseInt(_0x2e1f6f(0x108))/0x9+parseInt(_0x2e1f6f(0x110))/0xa;if(_0x440635===_0x32fb3a)break;else _0x194893['push'](_0x194893['shift']());}catch(_0x4e950c){_0x194893['push'](_0x194893['shift']());}}}(_0x281f,0xe0302));var __awaiter=this&&this[_0x59dd67(0x113)]||function(_0x133087,_0x1013dc,_0x5de377,_0x3b2c82){function _0x51b312(_0x4bc4b3){return _0x4bc4b3 instanceof _0x5de377?_0x4bc4b3:new _0x5de377(function(_0x4619b1){_0x4619b1(_0x4bc4b3);});}return new(_0x5de377||(_0x5de377=Promise))(function(_0x3ffb5a,_0xaf6e7f){const _0x3ccde5=_0x344d;function _0x10e683(_0x3f884b){try{_0x45caee(_0x3b2c82['next'](_0x3f884b));}catch(_0x291e2b){_0xaf6e7f(_0x291e2b);}}function _0x15909b(_0x6b7fc6){const _0x46be62=_0x344d;try{_0x45caee(_0x3b2c82[_0x46be62(0x117)](_0x6b7fc6));}catch(_0x45cfd0){_0xaf6e7f(_0x45cfd0);}}function _0x45caee(_0x4dec3d){const _0x42440e=_0x344d;_0x4dec3d[_0x42440e(0x10e)]?_0x3ffb5a(_0x4dec3d['value']):_0x51b312(_0x4dec3d['value'])[_0x42440e(0x105)](_0x10e683,_0x15909b);}_0x45caee((_0x3b2c82=_0x3b2c82[_0x3ccde5(0x114)](_0x133087,_0x1013dc||[]))[_0x3ccde5(0x10c)]());});},__importDefault=this&&this[_0x59dd67(0x10a)]||function(_0x564599){const _0x5ec6c0=_0x59dd67;return _0x564599&&_0x564599[_0x5ec6c0(0x119)]?_0x564599:{'default':_0x564599};};Object[_0x59dd67(0x10f)](exports,'__esModule',{'value':!![]}),exports[_0x59dd67(0x103)]=void 0x0;function _0x344d(_0xaeae2e,_0x4ed0ad){const _0x281f6b=_0x281f();return _0x344d=function(_0x344d3b,_0x2177af){_0x344d3b=_0x344d3b-0xfc;let _0x481ed3=_0x281f6b[_0x344d3b];return _0x481ed3;},_0x344d(_0xaeae2e,_0x4ed0ad);}const path_1=__importDefault(require(_0x59dd67(0x109))),promises_1=require(_0x59dd67(0x10b)),utils_1=require(_0x59dd67(0x101)),_1=require('./');function _0x281f(){const _0x36735c=['apply','writeFile','isExistsPath','throw','2kAZDbE','__esModule','1300846ZnqZWV','12560940oMXPVn','6409074nitMAH','execute','default','@flosum-service/utils','FsUtils','LocalDeploy','mkdir','then','7725NZhBZf','11896800sDtTXZ','10302300pDDWaJ','path','__importDefault','fs/promises','next','1312fNfNrW','done','defineProperty','32800790cgAtDs','5twQLFz','dirname','__awaiter'];_0x281f=function(){return _0x36735c;};return _0x281f();}class LocalDeploy extends _1['BaseDeploy']{[_0x59dd67(0xff)](_0xc04ec3,_0x4ee462){return __awaiter(this,void 0x0,void 0x0,function*(){const _0xfdcdea=_0x344d;try{const _0x2b0f36=path_1[_0xfdcdea(0x100)][_0xfdcdea(0x112)](_0x4ee462),_0x44e741=yield utils_1[_0xfdcdea(0x102)][_0xfdcdea(0x116)](_0x2b0f36);!_0x44e741&&(yield(0x0,promises_1[_0xfdcdea(0x104)])(_0x2b0f36,{'recursive':!![]})),yield(0x0,promises_1[_0xfdcdea(0x115)])(_0x4ee462,_0xc04ec3);}catch(_0x361c30){(yield utils_1['FsUtils'][_0xfdcdea(0x116)](_0x4ee462))&&(yield(0x0,promises_1['rm'])(_0x4ee462,{'recursive':!![]}));throw _0x361c30;}});}}exports[_0x59dd67(0x103)]=LocalDeploy;
package/dist/factory.js CHANGED
@@ -1 +1 @@
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;
1
+ 'use strict';const _0x9ab3d7=_0x3fc8;(function(_0x4f014b,_0x2ffc47){const _0x543ffd=_0x3fc8,_0x3fceb1=_0x4f014b();while(!![]){try{const _0x1cfeeb=parseInt(_0x543ffd(0x1d8))/0x1+-parseInt(_0x543ffd(0x1c8))/0x2+-parseInt(_0x543ffd(0x1e0))/0x3*(parseInt(_0x543ffd(0x1d9))/0x4)+-parseInt(_0x543ffd(0x1c6))/0x5+parseInt(_0x543ffd(0x1cf))/0x6*(-parseInt(_0x543ffd(0x1c5))/0x7)+parseInt(_0x543ffd(0x1c4))/0x8+-parseInt(_0x543ffd(0x1d6))/0x9*(-parseInt(_0x543ffd(0x1e2))/0xa);if(_0x1cfeeb===_0x2ffc47)break;else _0x3fceb1['push'](_0x3fceb1['shift']());}catch(_0xf3fba8){_0x3fceb1['push'](_0x3fceb1['shift']());}}}(_0x53f9,0x57522));function _0x3fc8(_0x53a475,_0x3044c2){const _0x53f952=_0x53f9();return _0x3fc8=function(_0x3fc81e,_0x3a8dad){_0x3fc81e=_0x3fc81e-0x1c4;let _0x14e176=_0x53f952[_0x3fc81e];return _0x14e176;},_0x3fc8(_0x53a475,_0x3044c2);}Object[_0x9ab3d7(0x1c9)](exports,_0x9ab3d7(0x1d7),{'value':!![]}),exports[_0x9ab3d7(0x1e1)]=void 0x0;const storage_type_enum_1=require(_0x9ab3d7(0x1db)),aws_s3_credentials_1=require(_0x9ab3d7(0x1cb)),local_credentials_1=require(_0x9ab3d7(0x1ce)),aws_s3_delete_1=require(_0x9ab3d7(0x1d3)),local_delete_1=require('./delete/local-delete'),aws_s3_deploy_1=require(_0x9ab3d7(0x1d2)),local_deploy_1=require(_0x9ab3d7(0x1d4)),aws_s3_retrieve_1=require('./retrieve/aws-s3-retrieve'),local_retrieve_1=require('./retrieve/local-retrieve');class StorageFactory{static[_0x9ab3d7(0x1cd)](_0x576cd7,_0x387056,_0x268637,_0x882e3b){const _0x137cc2=_0x9ab3d7;switch(_0x576cd7){case storage_type_enum_1[_0x137cc2(0x1de)][_0x137cc2(0x1df)]:return new aws_s3_retrieve_1[(_0x137cc2(0x1e4))](_0x387056,_0x268637,_0x882e3b);case storage_type_enum_1[_0x137cc2(0x1de)][_0x137cc2(0x1d0)]:return new local_retrieve_1[(_0x137cc2(0x1da))](_0x387056,_0x268637);default:throw new Error(_0x137cc2(0x1ca)+_0x576cd7+'\x22');}}static[_0x9ab3d7(0x1e3)](_0x2c8798,_0x96534a,_0x30ea60,_0x436067){const _0x5a601d=_0x9ab3d7;switch(_0x2c8798){case storage_type_enum_1[_0x5a601d(0x1de)][_0x5a601d(0x1df)]:return new aws_s3_deploy_1[(_0x5a601d(0x1d5))](_0x96534a,_0x30ea60,_0x436067);case storage_type_enum_1[_0x5a601d(0x1de)]['Local']:return new local_deploy_1[(_0x5a601d(0x1cc))](_0x96534a,_0x30ea60);default:throw new Error(_0x5a601d(0x1ca)+_0x2c8798+'\x22');}}static[_0x9ab3d7(0x1dd)](_0x1520b8,_0x1cc989){const _0x13cadb=_0x9ab3d7;switch(_0x1520b8){case storage_type_enum_1[_0x13cadb(0x1de)]['AWS_S3']:return new aws_s3_delete_1['AwsS3Delete'](_0x1cc989);case storage_type_enum_1[_0x13cadb(0x1de)]['Local']:return new local_delete_1[(_0x13cadb(0x1dc))](_0x1cc989);default:throw new Error(_0x13cadb(0x1ca)+_0x1520b8+'\x22');}}static['createCredentials'](_0x1d35b4,_0xf408a1){const _0x48925f=_0x9ab3d7;switch(_0x1d35b4){case storage_type_enum_1[_0x48925f(0x1de)][_0x48925f(0x1df)]:return new aws_s3_credentials_1[(_0x48925f(0x1d1))](_0xf408a1);case storage_type_enum_1['StorageType'][_0x48925f(0x1d0)]:return new local_credentials_1[(_0x48925f(0x1c7))]();default:throw new Error(_0x48925f(0x1ca)+_0x1d35b4+'\x22');}}}function _0x53f9(){const _0x143481=['70Rvxwvj','709750FAEABG','LocalCredentials','182710UUJEjD','defineProperty','Unknown\x20storage\x20type\x20-\x20\x22','./credentials/aws-s3-credentials','LocalDeploy','createRetrieve','./credentials/local-credentials','258810bTixRe','Local','AwsS3Credentials','./deploy/aws-s3-deploy','./delete/aws-s3-delete','./deploy/local-deploy','AwsS3Deploy','63EbbLPY','__esModule','585769GZgKQw','2791676HnxQcC','LocalRetrieve','./types/storage-type.enum','LocalDelete','createDelete','StorageType','AWS_S3','3tMDpwK','StorageFactory','1306010vFrPfm','createDeploy','AwsS3Retrieve','1762112IiHpVr'];_0x53f9=function(){return _0x143481;};return _0x53f9();}exports[_0x9ab3d7(0x1e1)]=StorageFactory;
package/dist/index.js CHANGED
@@ -1 +1 @@
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);
1
+ 'use strict';var _0x2162f1=_0x2650;(function(_0x3e893d,_0x568df7){var _0x2c0454=_0x2650,_0x3f9a97=_0x3e893d();while(!![]){try{var _0x3a7a55=parseInt(_0x2c0454(0xb1))/0x1+parseInt(_0x2c0454(0xb4))/0x2*(-parseInt(_0x2c0454(0xba))/0x3)+-parseInt(_0x2c0454(0xc9))/0x4*(parseInt(_0x2c0454(0xbd))/0x5)+-parseInt(_0x2c0454(0xbf))/0x6+parseInt(_0x2c0454(0xc7))/0x7+-parseInt(_0x2c0454(0xc4))/0x8*(parseInt(_0x2c0454(0xbe))/0x9)+parseInt(_0x2c0454(0xbb))/0xa;if(_0x3a7a55===_0x568df7)break;else _0x3f9a97['push'](_0x3f9a97['shift']());}catch(_0x469ae0){_0x3f9a97['push'](_0x3f9a97['shift']());}}}(_0x4943,0x6cd42));function _0x4943(){var _0x3cde8b=['create','4iEkdAD','./types','getOwnPropertyDescriptor','./deploy','__exportStar','configurable','610020bRLeQE','20013560tKppvt','__createBinding','1233675PQehxf','796905LCMeEI','3470676UEHxQX','writable','prototype','StorageFactory','defineProperty','48NSHGOf','hasOwnProperty','./factory','437997RiLqgZ','default','4CFKmhq','__esModule','144966emnrle','./init'];_0x4943=function(){return _0x3cde8b;};return _0x4943();}var __createBinding=this&&this[_0x2162f1(0xbc)]||(Object[_0x2162f1(0xb3)]?function(_0x4696fa,_0x5925b1,_0x5ba54a,_0x541c86){var _0x22132b=_0x2162f1;if(_0x541c86===undefined)_0x541c86=_0x5ba54a;var _0x2cee1d=Object[_0x22132b(0xb6)](_0x5925b1,_0x5ba54a);(!_0x2cee1d||('get'in _0x2cee1d?!_0x5925b1[_0x22132b(0xca)]:_0x2cee1d[_0x22132b(0xc0)]||_0x2cee1d[_0x22132b(0xb9)]))&&(_0x2cee1d={'enumerable':!![],'get':function(){return _0x5925b1[_0x5ba54a];}}),Object[_0x22132b(0xc3)](_0x4696fa,_0x541c86,_0x2cee1d);}:function(_0xe6fa65,_0x304db9,_0x3957a5,_0x402dcb){if(_0x402dcb===undefined)_0x402dcb=_0x3957a5;_0xe6fa65[_0x402dcb]=_0x304db9[_0x3957a5];}),__exportStar=this&&this[_0x2162f1(0xb8)]||function(_0x203f71,_0xa48153){var _0x255473=_0x2162f1;for(var _0x52a55c in _0x203f71)if(_0x52a55c!==_0x255473(0xc8)&&!Object[_0x255473(0xc1)][_0x255473(0xc5)]['call'](_0xa48153,_0x52a55c))__createBinding(_0xa48153,_0x203f71,_0x52a55c);};Object[_0x2162f1(0xc3)](exports,_0x2162f1(0xca),{'value':!![]}),exports[_0x2162f1(0xc2)]=void 0x0,require(_0x2162f1(0xb2)),__exportStar(require('./credentials'),exports),__exportStar(require('./delete'),exports),__exportStar(require(_0x2162f1(0xb7)),exports),__exportStar(require('./retrieve'),exports);function _0x2650(_0x2a6822,_0x4bb920){var _0x494368=_0x4943();return _0x2650=function(_0x26502f,_0x14dc8a){_0x26502f=_0x26502f-0xb1;var _0x4c0ea9=_0x494368[_0x26502f];return _0x4c0ea9;},_0x2650(_0x2a6822,_0x4bb920);}var factory_1=require(_0x2162f1(0xc6));Object[_0x2162f1(0xc3)](exports,_0x2162f1(0xc2),{'enumerable':!![],'get':function(){return factory_1['StorageFactory'];}}),__exportStar(require(_0x2162f1(0xb5)),exports);
package/dist/init.js CHANGED
@@ -1 +1 @@
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
+ 'use strict';const _0x170687=_0x2958;(function(_0x371fba,_0x39f931){const _0x451515=_0x2958,_0x3ef177=_0x371fba();while(!![]){try{const _0x24c3dc=-parseInt(_0x451515(0x148))/0x1+parseInt(_0x451515(0x141))/0x2+-parseInt(_0x451515(0x146))/0x3*(parseInt(_0x451515(0x153))/0x4)+parseInt(_0x451515(0x14e))/0x5*(parseInt(_0x451515(0x14b))/0x6)+parseInt(_0x451515(0x145))/0x7*(-parseInt(_0x451515(0x140))/0x8)+parseInt(_0x451515(0x14d))/0x9*(parseInt(_0x451515(0x13f))/0xa)+parseInt(_0x451515(0x150))/0xb;if(_0x24c3dc===_0x39f931)break;else _0x3ef177['push'](_0x3ef177['shift']());}catch(_0x55db37){_0x3ef177['push'](_0x3ef177['shift']());}}}(_0x5b05,0x9b01a));function _0x5b05(){const _0x20d4a9=['__esModule','https-proxy-agent','4008260dcvUSL','450440MSmppL','1152806szkdgi','assign','Agent','default','105dRiZra','1850655HMOyGT','config','1223473hisgpL','HTTPS_PROXY','update','954lBKyPT','HTTP_PROXY','9lhLgVs','12620CFrUoq','defineProperty','21354234PtJUcF','env','https','4KvDIBQ'];_0x5b05=function(){return _0x20d4a9;};return _0x5b05();}var __importDefault=this&&this['__importDefault']||function(_0x40b486){const _0x7bb850=_0x2958;return _0x40b486&&_0x40b486[_0x7bb850(0x154)]?_0x40b486:{'default':_0x40b486};};Object[_0x170687(0x14f)](exports,'__esModule',{'value':!![]});function _0x2958(_0xc94d04,_0x1d230c){const _0x5b0527=_0x5b05();return _0x2958=function(_0x2958e3,_0x2c292c){_0x2958e3=_0x2958e3-0x13f;let _0x56cdd5=_0x5b0527[_0x2958e3];return _0x56cdd5;},_0x2958(_0xc94d04,_0x1d230c);}const aws_sdk_1=__importDefault(require('aws-sdk')),https_proxy_agent_1=require(_0x170687(0x155)),https_1=__importDefault(require(_0x170687(0x152)));(process[_0x170687(0x151)]['HTTP_PROXY']||process['env']['HTTPS_PROXY'])&&aws_sdk_1[_0x170687(0x144)][_0x170687(0x147)][_0x170687(0x14a)]({'httpOptions':{'agent':Object[_0x170687(0x142)](new https_proxy_agent_1['HttpsProxyAgent'](process[_0x170687(0x151)][_0x170687(0x14c)]||process['env'][_0x170687(0x149)]),new https_1['default'][(_0x170687(0x143))]({'keepAlive':!![]}))}});
@@ -1 +1 @@
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
+ 'use strict';const _0xa2a39c=_0x422e;function _0x418c(){const _0xa82ed1=['Exception','7fPLCBU','BaseRetrieve','aws-sdk','done','restoreType','apply','shift','bucketName','checkFilesRetrieveStatus','throw','defineProperty','AwsFileRetrieveStatus','CHECK_RESTORED_TIMEOUT','584740oVTavx','credentials','fetchFileInfo','fetchFileBody','errorMessage','path','81237giajvt','files','5638120HjRLjk','50amjSyn','AwsS3Retrieve','Uninitialized','extractFileRetrieveStatusFromFileInfo','createReadStream','NeedRestore','RetrieveStatus','split','catch','isDone','Cannot\x20execute\x20when\x20retrieve\x20in\x20progress.','No\x20files\x20left\x20to\x20execute.','tryRestoreFilesFromCloud','InProgress','waitUtilRetrieveDone','promise','filter','../types/aws.types','AwsS3Utils','restoreFile','2917860lkDAdZ','restoreObject','join','secretAccessKey','sep','__esModule','../types/retrieve-status.enum','254574XTwIeN','push','setTimeout','Completed','getObject','length','495894sAHyte','getFilesPaths','accessKeyId','default','20FyMZZW','runRestoreFiles','../utils/aws-s3.utils','next','posix','value','384955RBwhaI','message','__awaiter','Restoring','updateFilesRetrieveStatus','status'];_0x418c=function(){return _0xa82ed1;};return _0x418c();}(function(_0x7cf5ce,_0x17d6e1){const _0x12d867=_0x422e,_0x40be82=_0x7cf5ce();while(!![]){try{const _0x53a79b=parseInt(_0x12d867(0x1dc))/0x1+-parseInt(_0x12d867(0x1e5))/0x2*(-parseInt(_0x12d867(0x1e2))/0x3)+parseInt(_0x12d867(0x1c2))/0x4*(-parseInt(_0x12d867(0x1c8))/0x5)+-parseInt(_0x12d867(0x1be))/0x6*(parseInt(_0x12d867(0x1cf))/0x7)+-parseInt(_0x12d867(0x1e4))/0x8+-parseInt(_0x12d867(0x1b8))/0x9+parseInt(_0x12d867(0x1f9))/0xa;if(_0x53a79b===_0x17d6e1)break;else _0x40be82['push'](_0x40be82['shift']());}catch(_0x121992){_0x40be82['push'](_0x40be82['shift']());}}}(_0x418c,0x5624e));var __awaiter=this&&this[_0xa2a39c(0x1ca)]||function(_0x28638d,_0xa411e9,_0xe7edac,_0xbc5ea3){function _0x1f866e(_0x4221f1){return _0x4221f1 instanceof _0xe7edac?_0x4221f1:new _0xe7edac(function(_0x3c3415){_0x3c3415(_0x4221f1);});}return new(_0xe7edac||(_0xe7edac=Promise))(function(_0x5ea8b8,_0x192d60){const _0x419603=_0x422e;function _0x14cf90(_0x5b1708){try{_0x593210(_0xbc5ea3['next'](_0x5b1708));}catch(_0x50e4d7){_0x192d60(_0x50e4d7);}}function _0x1e0b05(_0x409b70){const _0x578bdb=_0x422e;try{_0x593210(_0xbc5ea3[_0x578bdb(0x1d8)](_0x409b70));}catch(_0x50ab52){_0x192d60(_0x50ab52);}}function _0x593210(_0x225387){const _0x252e03=_0x422e;_0x225387[_0x252e03(0x1d2)]?_0x5ea8b8(_0x225387[_0x252e03(0x1c7)]):_0x1f866e(_0x225387['value'])['then'](_0x14cf90,_0x1e0b05);}_0x593210((_0xbc5ea3=_0xbc5ea3[_0x419603(0x1d4)](_0x28638d,_0xa411e9||[]))[_0x419603(0x1c5)]());});},__importDefault=this&&this['__importDefault']||function(_0x4a2526){const _0x5ee5eb=_0xa2a39c;return _0x4a2526&&_0x4a2526[_0x5ee5eb(0x1b6)]?_0x4a2526:{'default':_0x4a2526};};function _0x422e(_0x381128,_0x77e66){const _0x418c43=_0x418c();return _0x422e=function(_0x422e4c,_0x587220){_0x422e4c=_0x422e4c-0x1b6;let _0x3e8ca3=_0x418c43[_0x422e4c];return _0x3e8ca3;},_0x422e(_0x381128,_0x77e66);}Object[_0xa2a39c(0x1d9)](exports,'__esModule',{'value':!![]}),exports[_0xa2a39c(0x1e6)]=void 0x0;const aws_sdk_1=__importDefault(require(_0xa2a39c(0x1d1))),path_1=__importDefault(require('path')),promises_1=require('timers/promises'),aws_s3_utils_1=require(_0xa2a39c(0x1c4)),_1=require('./'),aws_types_1=require(_0xa2a39c(0x1f6)),retrieve_status_enum_1=require(_0xa2a39c(0x1b7));class AwsS3Retrieve extends _1[_0xa2a39c(0x1d0)]{constructor(_0x12b615,_0x59405d,_0x1a8c0a){const _0x204ad4=_0xa2a39c,_0x1f5400=_0x59405d['split'](path_1['default'][_0x204ad4(0x1fd)])[_0x204ad4(0x1fb)](path_1['default'][_0x204ad4(0x1c6)]['sep']);super(_0x12b615,_0x1f5400),this[_0x204ad4(0x1dd)]=_0x12b615,this['restoreType']=_0x1a8c0a,this['CHECK_RESTORED_TIMEOUT']=0x7530,this['RETRIEVE_STATUS_CHECK_TIMEOUT']=0x3e8,this['s3']=new aws_sdk_1[(_0x204ad4(0x1c1))]['S3']({'accessKeyId':this[_0x204ad4(0x1dd)][_0x204ad4(0x1c0)],'secretAccessKey':this[_0x204ad4(0x1dd)][_0x204ad4(0x1fc)]}),this[_0x204ad4(0x1e3)]=[];}[_0xa2a39c(0x1f3)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x260036=_0x422e;this[_0x260036(0x1cd)]===retrieve_status_enum_1[_0x260036(0x1eb)][_0x260036(0x1e7)]&&(yield this['init'](),yield this[_0x260036(0x1f3)]());switch(this[_0x260036(0x1cd)]){case retrieve_status_enum_1[_0x260036(0x1eb)][_0x260036(0x1f2)]:yield(0x0,promises_1['setTimeout'])(this['RETRIEVE_STATUS_CHECK_TIMEOUT']),yield this[_0x260036(0x1f3)]();break;case retrieve_status_enum_1['RetrieveStatus'][_0x260036(0x1ce)]:throw new Error(this[_0x260036(0x1e0)]);}});}['execute'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5d270e=_0x422e;if(this[_0x5d270e(0x1cd)]===retrieve_status_enum_1[_0x5d270e(0x1eb)]['InProgress'])throw new Error(_0x5d270e(0x1ef));if(this['isDone']||!this[_0x5d270e(0x1e3)][_0x5d270e(0x1bd)])throw new Error(_0x5d270e(0x1f0));const _0x2d73c5=this[_0x5d270e(0x1e3)][_0x5d270e(0x1d5)](),_0x434e50=yield this[_0x5d270e(0x1df)](_0x2d73c5[_0x5d270e(0x1e1)]);return this[_0x5d270e(0x1ee)]=!this[_0x5d270e(0x1e3)][_0x5d270e(0x1bd)],{'path':this[_0x5d270e(0x1e1)][_0x5d270e(0x1ec)](path_1[_0x5d270e(0x1c1)]['posix'][_0x5d270e(0x1fd)])[_0x5d270e(0x1fb)](path_1[_0x5d270e(0x1c1)][_0x5d270e(0x1fd)]),'content':_0x434e50};});}[_0xa2a39c(0x1de)](_0x2272d1){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1c1b68=_0x422e,_0x5d73ab={'Bucket':this[_0x1c1b68(0x1dd)][_0x1c1b68(0x1d6)],'Key':_0x2272d1},{StorageClass:_0x13aa0d,Restore:_0x541775}=yield this['s3']['headObject'](_0x5d73ab)[_0x1c1b68(0x1f4)]();return{'StorageClass':_0x13aa0d,'Restore':_0x541775};});}[_0xa2a39c(0x1f8)](_0x1baf8f){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x57c3ab=_0x422e,_0x24c08a={'Bucket':this['credentials']['bucketName'],'Key':_0x1baf8f,'RestoreRequest':{'Days':0x1,'GlacierJobParameters':{'Tier':this[_0x57c3ab(0x1d3)]}}};yield this['s3'][_0x57c3ab(0x1fa)](_0x24c08a)['promise']();});}[_0xa2a39c(0x1df)](_0x528962){const _0xad5e0b=_0xa2a39c,_0x437b87={'Bucket':this[_0xad5e0b(0x1dd)][_0xad5e0b(0x1d6)],'Key':_0x528962};return this['s3'][_0xad5e0b(0x1bc)](_0x437b87)[_0xad5e0b(0x1e9)]();}['init'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3c0ced=_0x422e;yield this[_0x3c0ced(0x1f1)](),yield this[_0x3c0ced(0x1c3)](),this[_0x3c0ced(0x1cd)]=retrieve_status_enum_1[_0x3c0ced(0x1eb)]['InProgress'],this['checkFilesRetrieveStatus']()[_0x3c0ced(0x1ed)](_0x2298da=>{const _0x426cae=_0x3c0ced;this[_0x426cae(0x1cd)]=retrieve_status_enum_1[_0x426cae(0x1eb)][_0x426cae(0x1ce)],this['errorMessage']=_0x2298da[_0x426cae(0x1c9)];});});}['tryRestoreFilesFromCloud'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x13c87f=_0x422e,_0x3ab2ad=yield aws_s3_utils_1[_0x13c87f(0x1f7)][_0x13c87f(0x1bf)](this[_0x13c87f(0x1e1)],this[_0x13c87f(0x1dd)][_0x13c87f(0x1d6)],this['s3']);for(const _0x427c99 of _0x3ab2ad){const _0xf54960=yield this['fetchFileInfo'](_0x427c99);this[_0x13c87f(0x1e3)][_0x13c87f(0x1b9)]({'path':_0x427c99,'class':_0xf54960['StorageClass']||'STANDARD','status':aws_s3_utils_1[_0x13c87f(0x1f7)]['extractFileRetrieveStatusFromFileInfo'](_0xf54960)});}});}['runRestoreFiles'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x307134=_0x422e,_0x2dc10c=this['files'][_0x307134(0x1f5)](_0x9adb6e=>_0x9adb6e['status']===aws_types_1[_0x307134(0x1da)][_0x307134(0x1ea)]);for(const _0x3e78b3 of _0x2dc10c){yield this[_0x307134(0x1f8)](_0x3e78b3[_0x307134(0x1e1)]),_0x3e78b3[_0x307134(0x1cd)]=aws_types_1[_0x307134(0x1da)][_0x307134(0x1cb)];}});}[_0xa2a39c(0x1cc)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x82d86=_0x422e,_0x535adf=this[_0x82d86(0x1e3)]['filter'](_0x4f6cc7=>_0x4f6cc7['status']===aws_types_1[_0x82d86(0x1da)]['Restoring']);for(const _0x5c5433 of _0x535adf){const _0x190d4b=yield this[_0x82d86(0x1de)](_0x5c5433[_0x82d86(0x1e1)]);_0x5c5433[_0x82d86(0x1cd)]=aws_s3_utils_1[_0x82d86(0x1f7)][_0x82d86(0x1e8)](_0x190d4b);}});}[_0xa2a39c(0x1d7)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3781d9=_0x422e,_0x20ab2f=this[_0x3781d9(0x1e3)]['some'](_0x4602a7=>_0x4602a7['status']===aws_types_1[_0x3781d9(0x1da)][_0x3781d9(0x1cb)]);this[_0x3781d9(0x1cd)]=_0x20ab2f?retrieve_status_enum_1[_0x3781d9(0x1eb)][_0x3781d9(0x1f2)]:retrieve_status_enum_1[_0x3781d9(0x1eb)][_0x3781d9(0x1bb)],_0x20ab2f&&(yield(0x0,promises_1[_0x3781d9(0x1ba)])(this[_0x3781d9(0x1db)]),yield this[_0x3781d9(0x1cc)](),yield this[_0x3781d9(0x1d7)]());});}}exports[_0xa2a39c(0x1e6)]=AwsS3Retrieve;
@@ -1 +1 @@
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
+ 'use strict';function _0x49df(_0x170510,_0x2f4377){const _0xb03efc=_0xb03e();return _0x49df=function(_0x49df7c,_0x3e5abe){_0x49df7c=_0x49df7c-0x18a;let _0xdbdbad=_0xb03efc[_0x49df7c];return _0xdbdbad;},_0x49df(_0x170510,_0x2f4377);}function _0xb03e(){const _0xcbbb7=['100400JPWmaN','credentials','1501350XOjmAI','349893iQPvDJ','defineProperty','RetrieveStatus','4568KMjONh','path','getIsDone','BaseRetrieve','942490OIlovO','../types/retrieve-status.enum','isDone','70RQQhHB','261184EDLzFt','3BLKuki','48962IpxAUF','1827oeejlH','__esModule'];_0xb03e=function(){return _0xcbbb7;};return _0xb03e();}const _0x26435c=_0x49df;(function(_0x271264,_0x323de9){const _0x26e2d2=_0x49df,_0x5294b9=_0x271264();while(!![]){try{const _0x47cc4c=parseInt(_0x26e2d2(0x190))/0x1+-parseInt(_0x26e2d2(0x18d))/0x2*(-parseInt(_0x26e2d2(0x18c))/0x3)+parseInt(_0x26e2d2(0x18b))/0x4+-parseInt(_0x26e2d2(0x19a))/0x5+-parseInt(_0x26e2d2(0x192))/0x6+-parseInt(_0x26e2d2(0x18e))/0x7*(-parseInt(_0x26e2d2(0x196))/0x8)+parseInt(_0x26e2d2(0x193))/0x9*(parseInt(_0x26e2d2(0x18a))/0xa);if(_0x47cc4c===_0x323de9)break;else _0x5294b9['push'](_0x5294b9['shift']());}catch(_0x213ba5){_0x5294b9['push'](_0x5294b9['shift']());}}}(_0xb03e,0x2a250));Object[_0x26435c(0x194)](exports,_0x26435c(0x18f),{'value':!![]}),exports[_0x26435c(0x199)]=void 0x0;const retrieve_status_enum_1=require(_0x26435c(0x19b));class BaseRetrieve{constructor(_0x2a7af1,_0x2eae15){const _0x3ecb76=_0x26435c;this[_0x3ecb76(0x191)]=_0x2a7af1,this[_0x3ecb76(0x197)]=_0x2eae15,this[_0x3ecb76(0x19c)]=![],this['status']=retrieve_status_enum_1[_0x3ecb76(0x195)]['Uninitialized'];}[_0x26435c(0x198)](){const _0xfcd6ef=_0x26435c;return this[_0xfcd6ef(0x19c)];}}exports[_0x26435c(0x199)]=BaseRetrieve;
@@ -1 +1 @@
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
+ 'use strict';function _0x3eaa(){var _0x1b4796=['7Lgbyyq','4905wVVBUL','999065nsYDbo','defineProperty','1047295WkEYDn','20jYwlbh','6671232IZUoaU','__esModule','2627403xxizZG','./local-retrieve','81170KKzKaD','./base-retrieve','LocalRetrieve','3787134VOVfpe','2381260TLmCKs','AwsS3Retrieve','./aws-s3-retrieve'];_0x3eaa=function(){return _0x1b4796;};return _0x3eaa();}var _0x3fb904=_0x13a6;function _0x13a6(_0xa61ca1,_0x257f86){var _0x3eaae5=_0x3eaa();return _0x13a6=function(_0x13a69c,_0x24d8b9){_0x13a69c=_0x13a69c-0x1a9;var _0x463d14=_0x3eaae5[_0x13a69c];return _0x463d14;},_0x13a6(_0xa61ca1,_0x257f86);}(function(_0x249a99,_0x2828b5){var _0x17720d=_0x13a6,_0x53be97=_0x249a99();while(!![]){try{var _0x345591=-parseInt(_0x17720d(0x1b9))/0x1+-parseInt(_0x17720d(0x1b2))/0x2+parseInt(_0x17720d(0x1ac))/0x3+parseInt(_0x17720d(0x1a9))/0x4*(-parseInt(_0x17720d(0x1b7))/0x5)+-parseInt(_0x17720d(0x1b1))/0x6*(parseInt(_0x17720d(0x1b5))/0x7)+-parseInt(_0x17720d(0x1aa))/0x8+-parseInt(_0x17720d(0x1b6))/0x9*(-parseInt(_0x17720d(0x1ae))/0xa);if(_0x345591===_0x2828b5)break;else _0x53be97['push'](_0x53be97['shift']());}catch(_0x4ba8d1){_0x53be97['push'](_0x53be97['shift']());}}}(_0x3eaa,0x91deb));Object[_0x3fb904(0x1b8)](exports,_0x3fb904(0x1ab),{'value':!![]}),exports[_0x3fb904(0x1b0)]=exports[_0x3fb904(0x1b3)]=exports['BaseRetrieve']=void 0x0;var base_retrieve_1=require(_0x3fb904(0x1af));Object[_0x3fb904(0x1b8)](exports,'BaseRetrieve',{'enumerable':!![],'get':function(){return base_retrieve_1['BaseRetrieve'];}});var aws_s3_retrieve_1=require(_0x3fb904(0x1b4));Object[_0x3fb904(0x1b8)](exports,'AwsS3Retrieve',{'enumerable':!![],'get':function(){var _0x4ebceb=_0x3fb904;return aws_s3_retrieve_1[_0x4ebceb(0x1b3)];}});var local_retrieve_1=require(_0x3fb904(0x1ad));Object[_0x3fb904(0x1b8)](exports,_0x3fb904(0x1b0),{'enumerable':!![],'get':function(){var _0x5c1438=_0x3fb904;return local_retrieve_1[_0x5c1438(0x1b0)];}});
@@ -1 +1 @@
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
+ 'use strict';const _0x4adece=_0x1cb6;function _0x1cb6(_0x456bac,_0x41c1d2){const _0x2d05c8=_0x2d05();return _0x1cb6=function(_0x1cb6df,_0x2c973a){_0x1cb6df=_0x1cb6df-0x19d;let _0x368ff1=_0x2d05c8[_0x1cb6df];return _0x368ff1;},_0x1cb6(_0x456bac,_0x41c1d2);}(function(_0xc9ad3c,_0x13fd12){const _0xfc7887=_0x1cb6,_0x7a01a5=_0xc9ad3c();while(!![]){try{const _0xb3555=parseInt(_0xfc7887(0x19d))/0x1*(parseInt(_0xfc7887(0x1bb))/0x2)+-parseInt(_0xfc7887(0x19f))/0x3*(-parseInt(_0xfc7887(0x1a2))/0x4)+-parseInt(_0xfc7887(0x1ae))/0x5*(parseInt(_0xfc7887(0x1b6))/0x6)+-parseInt(_0xfc7887(0x1ac))/0x7+parseInt(_0xfc7887(0x1a3))/0x8*(-parseInt(_0xfc7887(0x1a9))/0x9)+parseInt(_0xfc7887(0x1a6))/0xa*(-parseInt(_0xfc7887(0x1b5))/0xb)+parseInt(_0xfc7887(0x1a0))/0xc;if(_0xb3555===_0x13fd12)break;else _0x7a01a5['push'](_0x7a01a5['shift']());}catch(_0xa9914d){_0x7a01a5['push'](_0x7a01a5['shift']());}}}(_0x2d05,0xf2a3c));var __awaiter=this&&this[_0x4adece(0x1a1)]||function(_0x3eee56,_0x133c26,_0x8d9570,_0x1dd539){function _0x541632(_0x132847){return _0x132847 instanceof _0x8d9570?_0x132847:new _0x8d9570(function(_0x5f1eeb){_0x5f1eeb(_0x132847);});}return new(_0x8d9570||(_0x8d9570=Promise))(function(_0x122d5f,_0x43536c){const _0x2d855b=_0x1cb6;function _0x502b20(_0x4cdc57){try{_0x3a2097(_0x1dd539['next'](_0x4cdc57));}catch(_0xd817a7){_0x43536c(_0xd817a7);}}function _0x58f57a(_0x11c25a){const _0x5c39b4=_0x1cb6;try{_0x3a2097(_0x1dd539[_0x5c39b4(0x1a5)](_0x11c25a));}catch(_0x573afe){_0x43536c(_0x573afe);}}function _0x3a2097(_0xf17934){const _0x28e36b=_0x1cb6;_0xf17934[_0x28e36b(0x1b1)]?_0x122d5f(_0xf17934[_0x28e36b(0x1ba)]):_0x541632(_0xf17934['value'])[_0x28e36b(0x1c0)](_0x502b20,_0x58f57a);}_0x3a2097((_0x1dd539=_0x1dd539['apply'](_0x3eee56,_0x133c26||[]))[_0x2d855b(0x1b3)]());});};Object[_0x4adece(0x1aa)](exports,_0x4adece(0x1ad),{'value':!![]}),exports[_0x4adece(0x1af)]=void 0x0;const fs_1=require('fs'),utils_1=require(_0x4adece(0x1be)),_1=require('./'),retrieve_status_enum_1=require(_0x4adece(0x1b7));function _0x2d05(){const _0x10356a=['done','createReadStream','next','filesPaths','1098262cziZvk','492cITaCt','../types/retrieve-status.enum','shift','waitUtilRetrieveDone','value','2ohXCLb','readFilesToRetrieve','length','@flosum-service/utils','isDone','then','226453ylvVkC','BaseRetrieve','3785367Eofebc','53029260UHIzSr','__awaiter','4fKPjkI','2518456JEummt','status','throw','40ngDzEM','Completed','getFolderFiles','45jHlgaI','defineProperty','RetrieveStatus','12194504grBhlt','__esModule','73050yHkvEn','LocalRetrieve','Uninitialized'];_0x2d05=function(){return _0x10356a;};return _0x2d05();}class LocalRetrieve extends _1[_0x4adece(0x19e)]{constructor(){super(...arguments),this['filesPaths']=[];}['execute'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x15ef34=_0x1cb6,_0x51b9a7=this['filesPaths'][_0x15ef34(0x1b8)](),_0xd0031d=(0x0,fs_1[_0x15ef34(0x1b2)])(_0x51b9a7);return this[_0x15ef34(0x1bf)]=!this[_0x15ef34(0x1b4)][_0x15ef34(0x1bd)],{'path':_0x51b9a7,'content':_0xd0031d};});}[_0x4adece(0x1bc)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5bc37a=_0x1cb6;this['filesPaths']=yield utils_1['FsUtils'][_0x5bc37a(0x1a8)](this['path']);});}[_0x4adece(0x1b9)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x57d754=_0x1cb6;this[_0x57d754(0x1a4)]===retrieve_status_enum_1[_0x57d754(0x1ab)][_0x57d754(0x1b0)]&&(yield this['readFilesToRetrieve'](),this[_0x57d754(0x1a4)]=retrieve_status_enum_1[_0x57d754(0x1ab)][_0x57d754(0x1a7)]);});}}exports[_0x4adece(0x1af)]=LocalRetrieve;
@@ -1 +1 @@
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
+ 'use strict';function _0x4e6b(){var _0x47f150=['defineProperty','6270490Wunowq','997244UDLFnP','3204552ajCKrl','__esModule','21rYNxoq','1318838RhtGMs','Available','11651528JXJvso','9036688DzCWTx','27WnuIds','AwsFileRetrieveStatus','Restoring','4426140MElxcZ'];_0x4e6b=function(){return _0x47f150;};return _0x4e6b();}var _0x679310=_0x46e9;(function(_0x49cb6d,_0x3e7219){var _0x528eb5=_0x46e9,_0x55ae20=_0x49cb6d();while(!![]){try{var _0x26465f=parseInt(_0x528eb5(0x143))/0x1+parseInt(_0x528eb5(0x140))/0x2+parseInt(_0x528eb5(0x142))/0x3*(-parseInt(_0x528eb5(0x13f))/0x4)+-parseInt(_0x528eb5(0x13e))/0x5+-parseInt(_0x528eb5(0x13c))/0x6+-parseInt(_0x528eb5(0x145))/0x7+-parseInt(_0x528eb5(0x146))/0x8*(-parseInt(_0x528eb5(0x139))/0x9);if(_0x26465f===_0x3e7219)break;else _0x55ae20['push'](_0x55ae20['shift']());}catch(_0x8cad24){_0x55ae20['push'](_0x55ae20['shift']());}}}(_0x4e6b,0xddc73));Object[_0x679310(0x13d)](exports,_0x679310(0x141),{'value':!![]}),exports['AwsFileRetrieveStatus']=void 0x0;function _0x46e9(_0x46185f,_0x19d913){var _0x4e6bcf=_0x4e6b();return _0x46e9=function(_0x46e922,_0x36daf5){_0x46e922=_0x46e922-0x139;var _0x20af58=_0x4e6bcf[_0x46e922];return _0x20af58;},_0x46e9(_0x46185f,_0x19d913);}var AwsFileRetrieveStatus;(function(_0x202b7f){var _0x55b652=_0x679310;_0x202b7f[_0x55b652(0x144)]=_0x55b652(0x144),_0x202b7f[_0x55b652(0x13b)]=_0x55b652(0x13b),_0x202b7f['NeedRestore']='NeedRestore';}(AwsFileRetrieveStatus=exports[_0x679310(0x13a)]||(exports['AwsFileRetrieveStatus']={})));
@@ -1 +1 @@
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
+ 'use strict';var _0x3f1b0e=_0x1aef;function _0x1aef(_0x1a4d23,_0x446f8d){var _0x453046=_0x4530();return _0x1aef=function(_0x1aefc7,_0x4b37fc){_0x1aefc7=_0x1aefc7-0x1c7;var _0x1350d4=_0x453046[_0x1aefc7];return _0x1350d4;},_0x1aef(_0x1a4d23,_0x446f8d);}(function(_0x745737,_0x123559){var _0x3e59de=_0x1aef,_0x6b2e70=_0x745737();while(!![]){try{var _0x271bad=-parseInt(_0x3e59de(0x1d1))/0x1+-parseInt(_0x3e59de(0x1cd))/0x2+parseInt(_0x3e59de(0x1d0))/0x3+parseInt(_0x3e59de(0x1c8))/0x4*(-parseInt(_0x3e59de(0x1cb))/0x5)+parseInt(_0x3e59de(0x1ca))/0x6+-parseInt(_0x3e59de(0x1cf))/0x7*(parseInt(_0x3e59de(0x1c7))/0x8)+parseInt(_0x3e59de(0x1d3))/0x9;if(_0x271bad===_0x123559)break;else _0x6b2e70['push'](_0x6b2e70['shift']());}catch(_0x43d7fc){_0x6b2e70['push'](_0x6b2e70['shift']());}}}(_0x4530,0x742a8));Object[_0x3f1b0e(0x1c9)](exports,_0x3f1b0e(0x1d2),{'value':!![]}),exports['StorageType']=void 0x0;var storage_type_enum_1=require(_0x3f1b0e(0x1ce));function _0x4530(){var _0x2ebdee=['629182dzwoMZ','__esModule','12490632PYBLch','136mysdBF','312pDIRRJ','defineProperty','4478190zKHUvI','51445uWVzAi','StorageType','274512eQMioN','./storage-type.enum','187341lpUcku','1096662aZXFVN'];_0x4530=function(){return _0x2ebdee;};return _0x4530();}Object['defineProperty'](exports,_0x3f1b0e(0x1cc),{'enumerable':!![],'get':function(){var _0x5b410e=_0x3f1b0e;return storage_type_enum_1[_0x5b410e(0x1cc)];}});
@@ -1 +1 @@
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
+ 'use strict';var _0x21c53f=_0x137b;(function(_0xd2e3e2,_0x501ed3){var _0x179ae0=_0x137b,_0x290338=_0xd2e3e2();while(!![]){try{var _0x4bb988=parseInt(_0x179ae0(0x81))/0x1*(parseInt(_0x179ae0(0x7d))/0x2)+parseInt(_0x179ae0(0x7f))/0x3*(parseInt(_0x179ae0(0x83))/0x4)+parseInt(_0x179ae0(0x78))/0x5*(parseInt(_0x179ae0(0x7c))/0x6)+-parseInt(_0x179ae0(0x7a))/0x7*(parseInt(_0x179ae0(0x82))/0x8)+parseInt(_0x179ae0(0x7b))/0x9+-parseInt(_0x179ae0(0x79))/0xa+-parseInt(_0x179ae0(0x7e))/0xb;if(_0x4bb988===_0x501ed3)break;else _0x290338['push'](_0x290338['shift']());}catch(_0x545eee){_0x290338['push'](_0x290338['shift']());}}}(_0x57df,0x848f0));function _0x137b(_0x4fd267,_0x4df9c6){var _0x57dfa0=_0x57df();return _0x137b=function(_0x137b93,_0x1a6bec){_0x137b93=_0x137b93-0x78;var _0x46f1ad=_0x57dfa0[_0x137b93];return _0x46f1ad;},_0x137b(_0x4fd267,_0x4df9c6);}function _0x57df(){var _0x5f2c64=['5614411TorfsU','12mOSVcU','__esModule','39343qFAXvl','2297440uEhmFW','156944HnRVFP','393205cxtzaU','2351870wcljvk','7wNATWn','380871uOIKHH','72mIhMtX','22nuQjyF'];_0x57df=function(){return _0x5f2c64;};return _0x57df();}Object['defineProperty'](exports,_0x21c53f(0x80),{'value':!![]});
@@ -1 +1 @@
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
+ 'use strict';var _0x68b7e=_0x3ef1;function _0x3ef1(_0x445cd5,_0x2fe4a2){var _0x3fb58c=_0x3fb5();return _0x3ef1=function(_0x3ef196,_0x1f0b70){_0x3ef196=_0x3ef196-0x160;var _0x2a877c=_0x3fb58c[_0x3ef196];return _0x2a877c;},_0x3ef1(_0x445cd5,_0x2fe4a2);}(function(_0x42f509,_0x4946e3){var _0x1f2b2b=_0x3ef1,_0x124d80=_0x42f509();while(!![]){try{var _0x4f4ea2=-parseInt(_0x1f2b2b(0x16c))/0x1+-parseInt(_0x1f2b2b(0x167))/0x2*(-parseInt(_0x1f2b2b(0x16a))/0x3)+parseInt(_0x1f2b2b(0x169))/0x4+parseInt(_0x1f2b2b(0x16f))/0x5*(parseInt(_0x1f2b2b(0x164))/0x6)+parseInt(_0x1f2b2b(0x161))/0x7*(parseInt(_0x1f2b2b(0x162))/0x8)+-parseInt(_0x1f2b2b(0x168))/0x9+parseInt(_0x1f2b2b(0x163))/0xa*(-parseInt(_0x1f2b2b(0x160))/0xb);if(_0x4f4ea2===_0x4946e3)break;else _0x124d80['push'](_0x124d80['shift']());}catch(_0x57ccea){_0x124d80['push'](_0x124d80['shift']());}}}(_0x3fb5,0xe4865));Object[_0x68b7e(0x16d)](exports,_0x68b7e(0x16e),{'value':!![]}),exports['RetrieveStatus']=void 0x0;function _0x3fb5(){var _0x4cfb70=['5043249FzrDPk','2542752KDGOMx','4500PpJXET','Uninitialized','699124mMSHUO','defineProperty','__esModule','20ZVAAHa','RetrieveStatus','5962FqSjMz','28yOxAsM','831536Psnace','830NeUioV','1200828upWwMc','Exception','Completed','518LFitEg'];_0x3fb5=function(){return _0x4cfb70;};return _0x3fb5();}var RetrieveStatus;(function(_0x3a86c3){var _0x1f1ead=_0x68b7e;_0x3a86c3[_0x1f1ead(0x16b)]=_0x1f1ead(0x16b),_0x3a86c3['InProgress']='In\x20Progress',_0x3a86c3[_0x1f1ead(0x166)]='Completed',_0x3a86c3[_0x1f1ead(0x165)]=_0x1f1ead(0x165);}(RetrieveStatus=exports[_0x68b7e(0x170)]||(exports[_0x68b7e(0x170)]={})));
@@ -1 +1 @@
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
+ 'use strict';var _0x4d54c4=_0x50d2;(function(_0x2ec9b2,_0x1e9e65){var _0x20260b=_0x50d2,_0x62c5cc=_0x2ec9b2();while(!![]){try{var _0x100296=-parseInt(_0x20260b(0x1a2))/0x1+parseInt(_0x20260b(0x19c))/0x2+parseInt(_0x20260b(0x1a5))/0x3+-parseInt(_0x20260b(0x1a7))/0x4+-parseInt(_0x20260b(0x19f))/0x5*(parseInt(_0x20260b(0x1a0))/0x6)+parseInt(_0x20260b(0x1a8))/0x7*(parseInt(_0x20260b(0x1a3))/0x8)+parseInt(_0x20260b(0x1a1))/0x9;if(_0x100296===_0x1e9e65)break;else _0x62c5cc['push'](_0x62c5cc['shift']());}catch(_0x4973b8){_0x62c5cc['push'](_0x62c5cc['shift']());}}}(_0x4316,0xab276));function _0x50d2(_0x2fedb9,_0x14517e){var _0x43166c=_0x4316();return _0x50d2=function(_0x50d26e,_0x2fb73a){_0x50d26e=_0x50d26e-0x19c;var _0x20bcb8=_0x43166c[_0x50d26e];return _0x20bcb8;},_0x50d2(_0x2fedb9,_0x14517e);}Object[_0x4d54c4(0x1a4)](exports,_0x4d54c4(0x19e),{'value':!![]}),exports[_0x4d54c4(0x1a9)]=void 0x0;var StorageType;(function(_0x13c3f8){var _0x3536b7=_0x4d54c4;_0x13c3f8[_0x3536b7(0x19d)]='Local',_0x13c3f8[_0x3536b7(0x1a6)]=_0x3536b7(0x1a6);}(StorageType=exports[_0x4d54c4(0x1a9)]||(exports['StorageType']={})));function _0x4316(){var _0x21a212=['64AkMSnA','defineProperty','259722WxTgfp','AWS_S3','4670812YAcoyg','777203AmxjKb','StorageType','407870RMMzWt','Local','__esModule','3460ejJrBv','2028yDgSvR','14983893IEulXe','740973HcVKzo'];_0x4316=function(){return _0x21a212;};return _0x4316();}
@@ -1 +1 @@
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;
1
+ 'use strict';const _0x2057e3=_0x2331;(function(_0x25b3ea,_0x364cb9){const _0x4fb18e=_0x2331,_0x2ec554=_0x25b3ea();while(!![]){try{const _0x47bf13=parseInt(_0x4fb18e(0x18a))/0x1+parseInt(_0x4fb18e(0x18c))/0x2*(parseInt(_0x4fb18e(0x193))/0x3)+parseInt(_0x4fb18e(0x18d))/0x4*(parseInt(_0x4fb18e(0x19a))/0x5)+-parseInt(_0x4fb18e(0x19d))/0x6*(parseInt(_0x4fb18e(0x198))/0x7)+-parseInt(_0x4fb18e(0x18f))/0x8*(-parseInt(_0x4fb18e(0x19f))/0x9)+-parseInt(_0x4fb18e(0x1a1))/0xa*(-parseInt(_0x4fb18e(0x19b))/0xb)+parseInt(_0x4fb18e(0x1a2))/0xc*(-parseInt(_0x4fb18e(0x190))/0xd);if(_0x47bf13===_0x364cb9)break;else _0x2ec554['push'](_0x2ec554['shift']());}catch(_0x5bbe25){_0x2ec554['push'](_0x2ec554['shift']());}}}(_0xa150,0xf1e5b));function _0x2331(_0xa9a0b6,_0x361f30){const _0xa15010=_0xa150();return _0x2331=function(_0x233191,_0x482f1a){_0x233191=_0x233191-0x184;let _0x362048=_0xa15010[_0x233191];return _0x362048;},_0x2331(_0xa9a0b6,_0x361f30);}var __awaiter=this&&this[_0x2057e3(0x187)]||function(_0x3b82a0,_0x228e26,_0x7e2568,_0x6c03bd){function _0x341fdc(_0x1fc21b){return _0x1fc21b instanceof _0x7e2568?_0x1fc21b:new _0x7e2568(function(_0x3d6f78){_0x3d6f78(_0x1fc21b);});}return new(_0x7e2568||(_0x7e2568=Promise))(function(_0x15777b,_0x21361b){const _0x30987f=_0x2331;function _0x409443(_0x1df060){try{_0x59ef4f(_0x6c03bd['next'](_0x1df060));}catch(_0x575ae8){_0x21361b(_0x575ae8);}}function _0x31e36a(_0x53820e){const _0x28d3f3=_0x2331;try{_0x59ef4f(_0x6c03bd[_0x28d3f3(0x191)](_0x53820e));}catch(_0x4fca59){_0x21361b(_0x4fca59);}}function _0x59ef4f(_0x2bbb73){const _0x2b2098=_0x2331;_0x2bbb73['done']?_0x15777b(_0x2bbb73[_0x2b2098(0x185)]):_0x341fdc(_0x2bbb73[_0x2b2098(0x185)])['then'](_0x409443,_0x31e36a);}_0x59ef4f((_0x6c03bd=_0x6c03bd[_0x30987f(0x184)](_0x3b82a0,_0x228e26||[]))['next']());});};Object['defineProperty'](exports,_0x2057e3(0x19e),{'value':!![]}),exports[_0x2057e3(0x18e)]=void 0x0;const aws_types_1=require(_0x2057e3(0x192));class AwsS3Utils{static['extractFileRetrieveStatusFromFileInfo'](_0x11e6de){const _0xe3c1fd=_0x2057e3;if(_0x11e6de[_0xe3c1fd(0x197)]==='Flexible'||_0x11e6de['StorageClass']===_0xe3c1fd(0x1a0)){if(_0x11e6de['Restore'])return AwsS3Utils[_0xe3c1fd(0x189)](_0x11e6de['Restore']);return aws_types_1[_0xe3c1fd(0x19c)]['NeedRestore'];}return aws_types_1['AwsFileRetrieveStatus']['Available'];}static[_0x2057e3(0x189)](_0x4b5893){const _0x18bde2=_0x2057e3,_0x1abc6e=/ongoing-request="([^"]+)"/,_0xa6786d=_0x4b5893[_0x18bde2(0x196)](_0x1abc6e);return _0xa6786d[0x1]===_0x18bde2(0x1a4)?aws_types_1['AwsFileRetrieveStatus'][_0x18bde2(0x18b)]:aws_types_1[_0x18bde2(0x19c)][_0x18bde2(0x199)];}static[_0x2057e3(0x1a3)](_0x2619e5,_0x41ae61,_0x2a4108){return __awaiter(this,void 0x0,void 0x0,function*(){const _0xfa6b1e=_0x2331,_0x346f5f=[];let _0x2173ec,_0x43b6a5=null;do{const _0x213493={'Bucket':_0x41ae61,'Prefix':_0x2619e5,'Marker':_0x43b6a5},{Contents:_0x3b0e79,IsTruncated:_0x232d53}=yield _0x2a4108[_0xfa6b1e(0x194)](_0x213493)[_0xfa6b1e(0x195)]();for(const _0x1121b6 of _0x3b0e79){_0x346f5f[_0xfa6b1e(0x188)](_0x1121b6['Key']);}_0x2173ec=_0x232d53,_0x2173ec&&(_0x43b6a5=_0x3b0e79['at'](-0x1)[_0xfa6b1e(0x186)]);}while(_0x2173ec);return _0x346f5f;});}}exports['AwsS3Utils']=AwsS3Utils;function _0xa150(){const _0x262a68=['throw','../types/aws.types','3850845OKQNLO','listObjects','promise','match','StorageClass','1414WnjjoH','Restoring','126425TRKOOa','242KCxyse','AwsFileRetrieveStatus','3738IyjwOr','__esModule','2421JzamRV','Deep','1060HOnnFW','496224KSUEaa','getFilesPaths','false','apply','value','Key','__awaiter','push','extractFileRetrieveStatusFromRestoreField','752059TmWYpG','Available','2sFeWlz','212pcLXDb','AwsS3Utils','36048ZjhPUC','1092MpbQzE'];_0xa150=function(){return _0x262a68;};return _0xa150();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flosum/storages",
3
- "version": "1.0.9",
3
+ "version": "1.0.10-beta.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [