@flosum/storages 1.3.5 → 1.3.6-dev.0

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.
Files changed (57) hide show
  1. package/dist/copy/aws-s3-copy.js +1 -1
  2. package/dist/copy/base-copy.js +1 -1
  3. package/dist/copy/index.js +1 -1
  4. package/dist/copy/local-copy.js +1 -1
  5. package/dist/credentials/aws-s3-credentials.js +1 -1
  6. package/dist/credentials/azure-credentials.js +1 -1
  7. package/dist/credentials/base-credentials.js +1 -1
  8. package/dist/credentials/index.js +1 -1
  9. package/dist/credentials/local-credentials.js +1 -1
  10. package/dist/delete/aws-s3-delete.js +1 -1
  11. package/dist/delete/azure-delete.js +1 -1
  12. package/dist/delete/base-delete.js +1 -1
  13. package/dist/delete/index.js +1 -1
  14. package/dist/delete/local-delete.js +1 -1
  15. package/dist/deploy/aws-s3-deploy.js +1 -1
  16. package/dist/deploy/azure-deploy.js +1 -1
  17. package/dist/deploy/base-deploy.js +1 -1
  18. package/dist/deploy/index.js +1 -1
  19. package/dist/deploy/local-deploy.js +1 -1
  20. package/dist/factory.d.ts +1 -1
  21. package/dist/factory.js +1 -1
  22. package/dist/file-size-retriever/aws-s3-file-size-retriever.js +1 -1
  23. package/dist/file-size-retriever/azure-file-size-retriever.js +1 -1
  24. package/dist/file-size-retriever/base-file-size-retriever.js +1 -1
  25. package/dist/file-size-retriever/index.js +1 -1
  26. package/dist/file-size-retriever/local-size-retriever.js +1 -1
  27. package/dist/index.js +1 -1
  28. package/dist/init.js +1 -1
  29. package/dist/instances/aws-s3.storage-instance.js +1 -1
  30. package/dist/instances/base.storage-instance.d.ts +4 -4
  31. package/dist/instances/base.storage-instance.js +1 -1
  32. package/dist/instances/index.js +1 -1
  33. package/dist/instances/local.storage-instance.js +1 -1
  34. package/dist/retrieve/aws-s3-import-helper.d.ts +1 -1
  35. package/dist/retrieve/aws-s3-import-helper.js +1 -1
  36. package/dist/retrieve/aws-s3-retrieve.js +1 -1
  37. package/dist/retrieve/azure-retrieve.js +1 -1
  38. package/dist/retrieve/base-retrieve.js +1 -1
  39. package/dist/retrieve/helpers/aws-s3-helper.js +1 -1
  40. package/dist/retrieve/helpers/azure-helper.js +1 -1
  41. package/dist/retrieve/helpers/base-helper.js +1 -1
  42. package/dist/retrieve/helpers/local-helper.js +1 -1
  43. package/dist/retrieve/index.js +1 -1
  44. package/dist/retrieve/local-retrieve.js +1 -1
  45. package/dist/types/aws.types.d.ts +4 -4
  46. package/dist/types/aws.types.js +1 -1
  47. package/dist/types/azure.types.d.ts +1 -1
  48. package/dist/types/azure.types.js +1 -1
  49. package/dist/types/index.js +1 -1
  50. package/dist/types/internal.types.d.ts +1 -1
  51. package/dist/types/internal.types.js +1 -1
  52. package/dist/types/retrieve-status.enum.js +1 -1
  53. package/dist/types/storage-type.enum.js +1 -1
  54. package/dist/utils/aws-s3.utils.js +1 -1
  55. package/dist/utils/azure.utils.js +1 -1
  56. package/dist/utils/cache.utils.js +1 -1
  57. package/package.json +9 -11
@@ -1 +1 @@
1
- 'use strict';const _0x177595=_0x63a3;function _0x56c5(){const _0x4d305c=['108aoIMhz','2107150GmEuvn','60993mbajRC','apply','posix','value','59857APpHic','default','path','join','credentials','1664840olLIAL','sep','6OtzWZo','containerClient','./base-file-size-retriever','createAzureBlobContainerClient','112rqqraK','name','done','19IuQjau','NotFound','getBlockBlobClient','22yXCrMw','contentLength','BaseFileSizeRetriever','then','getProperties','39726giHnjS','execute','next','../utils/azure.utils','__awaiter','__importDefault','AzureUtils','4832832OpkLSg','23799ReXnSX','__esModule','AzureFileSizeRetriever','split'];_0x56c5=function(){return _0x4d305c;};return _0x56c5();}(function(_0x1d857e,_0xd6a8ff){const _0x3d9b7d=_0x63a3,_0x2ce5d4=_0x1d857e();while(!![]){try{const _0x216d89=parseInt(_0x3d9b7d(0xe6))/0x1*(parseInt(_0x3d9b7d(0xc6))/0x2)+-parseInt(_0x3d9b7d(0xce))/0x3*(-parseInt(_0x3d9b7d(0xd2))/0x4)+parseInt(_0x3d9b7d(0xdd))/0x5*(parseInt(_0x3d9b7d(0xdf))/0x6)+-parseInt(_0x3d9b7d(0xd8))/0x7+-parseInt(_0x3d9b7d(0xe3))/0x8*(parseInt(_0x3d9b7d(0xd4))/0x9)+parseInt(_0x3d9b7d(0xd3))/0xa+-parseInt(_0x3d9b7d(0xc1))/0xb*(parseInt(_0x3d9b7d(0xcd))/0xc);if(_0x216d89===_0xd6a8ff)break;else _0x2ce5d4['push'](_0x2ce5d4['shift']());}catch(_0x1aadc7){_0x2ce5d4['push'](_0x2ce5d4['shift']());}}}(_0x56c5,0x37442));var __awaiter=this&&this[_0x177595(0xca)]||function(_0x73a589,_0x3a8681,_0x5c2af,_0x2e8aba){function _0x377505(_0x3f4ba1){return _0x3f4ba1 instanceof _0x5c2af?_0x3f4ba1:new _0x5c2af(function(_0x30bebe){_0x30bebe(_0x3f4ba1);});}return new(_0x5c2af||(_0x5c2af=Promise))(function(_0x45e296,_0x2c4026){const _0x59db96=_0x63a3;function _0x592742(_0x84fe9e){try{_0x1693cd(_0x2e8aba['next'](_0x84fe9e));}catch(_0xa8661){_0x2c4026(_0xa8661);}}function _0x21c5b1(_0x6176d){try{_0x1693cd(_0x2e8aba['throw'](_0x6176d));}catch(_0x232322){_0x2c4026(_0x232322);}}function _0x1693cd(_0x6dbd5a){const _0x219a6e=_0x63a3;_0x6dbd5a[_0x219a6e(0xe5)]?_0x45e296(_0x6dbd5a[_0x219a6e(0xd7)]):_0x377505(_0x6dbd5a[_0x219a6e(0xd7)])[_0x219a6e(0xc4)](_0x592742,_0x21c5b1);}_0x1693cd((_0x2e8aba=_0x2e8aba[_0x59db96(0xd5)](_0x73a589,_0x3a8681||[]))[_0x59db96(0xc8)]());});},__importDefault=this&&this[_0x177595(0xcb)]||function(_0x35ecbc){const _0x3e1c19=_0x177595;return _0x35ecbc&&_0x35ecbc[_0x3e1c19(0xcf)]?_0x35ecbc:{'default':_0x35ecbc};};function _0x63a3(_0x18ba09,_0x491819){const _0x56c591=_0x56c5();return _0x63a3=function(_0x63a36,_0x277ec8){_0x63a36=_0x63a36-0xc0;let _0x419492=_0x56c591[_0x63a36];return _0x419492;},_0x63a3(_0x18ba09,_0x491819);}Object['defineProperty'](exports,_0x177595(0xcf),{'value':!![]}),exports[_0x177595(0xd0)]=void 0x0;const base_file_size_retriever_1=require(_0x177595(0xe1)),path_1=__importDefault(require(_0x177595(0xda))),azure_utils_1=require(_0x177595(0xc9));class AzureFileSizeRetriever extends base_file_size_retriever_1[_0x177595(0xc3)]{constructor(_0x28412){const _0x1bb396=_0x177595;super(_0x28412),this[_0x1bb396(0xe0)]=azure_utils_1[_0x1bb396(0xcc)][_0x1bb396(0xe2)](this[_0x1bb396(0xdc)]);}[_0x177595(0xc7)](_0x3c7f4f){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2f286b=_0x63a3,_0x51cf22=_0x3c7f4f[_0x2f286b(0xd1)](path_1[_0x2f286b(0xd9)][_0x2f286b(0xde)])[_0x2f286b(0xdb)](path_1[_0x2f286b(0xd9)][_0x2f286b(0xd6)]['sep']),_0x3af67d=this[_0x2f286b(0xe0)][_0x2f286b(0xc0)](_0x51cf22);try{const _0x499875=yield _0x3af67d[_0x2f286b(0xc5)]();return _0x499875[_0x2f286b(0xc2)];}catch(_0x569652){if(_0x569652[_0x2f286b(0xe4)]===_0x2f286b(0xe7))return null;throw _0x569652;}});}}exports[_0x177595(0xd0)]=AzureFileSizeRetriever;
1
+ 'use strict';const _0x62cc26=_0x181d;(function(_0x12dc1d,_0x4a1036){const _0x174deb=_0x181d,_0x15a390=_0x12dc1d();while(!![]){try{const _0xa9c0d1=-parseInt(_0x174deb(0xea))/0x1+parseInt(_0x174deb(0xd9))/0x2+-parseInt(_0x174deb(0xde))/0x3*(parseInt(_0x174deb(0xdb))/0x4)+parseInt(_0x174deb(0xf0))/0x5*(parseInt(_0x174deb(0xdc))/0x6)+parseInt(_0x174deb(0xf6))/0x7*(-parseInt(_0x174deb(0xed))/0x8)+-parseInt(_0x174deb(0xeb))/0x9+-parseInt(_0x174deb(0xf1))/0xa*(-parseInt(_0x174deb(0xec))/0xb);if(_0xa9c0d1===_0x4a1036)break;else _0x15a390['push'](_0x15a390['shift']());}catch(_0x5976e1){_0x15a390['push'](_0x15a390['shift']());}}}(_0x5766,0x47124));function _0x181d(_0x1f1c4d,_0x18785a){_0x1f1c4d=_0x1f1c4d-0xd8;const _0x57666f=_0x5766();let _0x181d18=_0x57666f[_0x1f1c4d];return _0x181d18;}var __awaiter=this&&this[_0x62cc26(0xf4)]||function(_0x4641d8,_0x29a3ba,_0x3a972f,_0x3c7889){function _0x379975(_0x1a1fde){return _0x1a1fde instanceof _0x3a972f?_0x1a1fde:new _0x3a972f(function(_0x21ddf2){_0x21ddf2(_0x1a1fde);});}return new(_0x3a972f||(_0x3a972f=Promise))(function(_0x3aa0bb,_0x6bc269){const _0x700cf5=_0x181d;function _0x1ad59e(_0x459c59){try{_0x25c829(_0x3c7889['next'](_0x459c59));}catch(_0x394ae2){_0x6bc269(_0x394ae2);}}function _0x39b119(_0x314edf){const _0x41d107=_0x181d;try{_0x25c829(_0x3c7889[_0x41d107(0xe1)](_0x314edf));}catch(_0x327e1f){_0x6bc269(_0x327e1f);}}function _0x25c829(_0x5f186d){const _0x9420bf=_0x181d;_0x5f186d[_0x9420bf(0xe3)]?_0x3aa0bb(_0x5f186d[_0x9420bf(0xe9)]):_0x379975(_0x5f186d['value'])[_0x9420bf(0xe4)](_0x1ad59e,_0x39b119);}_0x25c829((_0x3c7889=_0x3c7889['apply'](_0x4641d8,_0x29a3ba||[]))[_0x700cf5(0xdf)]());});},__importDefault=this&&this['__importDefault']||function(_0x3386b7){const _0x43cabf=_0x62cc26;return _0x3386b7&&_0x3386b7[_0x43cabf(0xf3)]?_0x3386b7:{'default':_0x3386b7};};Object[_0x62cc26(0xf7)](exports,'__esModule',{'value':!![]}),exports['AzureFileSizeRetriever']=void 0x0;const base_file_size_retriever_1=require(_0x62cc26(0xda)),path_1=__importDefault(require(_0x62cc26(0xef))),azure_utils_1=require(_0x62cc26(0xf5));class AzureFileSizeRetriever extends base_file_size_retriever_1[_0x62cc26(0xd8)]{constructor(_0x40b46a){const _0x40ff04=_0x62cc26;super(_0x40b46a),this[_0x40ff04(0xe6)]=azure_utils_1[_0x40ff04(0xee)]['createAzureBlobContainerClient'](this[_0x40ff04(0xe2)]);}['execute'](_0x5e838e){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1d0ed2=_0x181d,_0x3392fe=_0x5e838e['split'](path_1[_0x1d0ed2(0xf8)][_0x1d0ed2(0xe8)])[_0x1d0ed2(0xf2)](path_1[_0x1d0ed2(0xf8)]['posix']['sep']),_0x2b5e72=this[_0x1d0ed2(0xe6)][_0x1d0ed2(0xe7)](_0x3392fe);try{const _0x385250=yield _0x2b5e72[_0x1d0ed2(0xdd)]();return _0x385250[_0x1d0ed2(0xe5)];}catch(_0x585a44){if(_0x585a44[_0x1d0ed2(0xe0)]==='NotFound')return null;throw _0x585a44;}});}}function _0x5766(){const _0x5f5032=['1250757dXdVCa','1507kvEdMU','2122184JPSkMv','AzureUtils','path','2060895LuVUrJ','81640ytLGlX','join','__esModule','__awaiter','../utils/azure.utils','14iQVuYm','defineProperty','default','BaseFileSizeRetriever','311596PsuaEw','./base-file-size-retriever','4QTKhuB','6EnSkmI','getProperties','1272333ikbMwV','next','name','throw','credentials','done','then','contentLength','containerClient','getBlockBlobClient','sep','value','301707nsudsL'];_0x5766=function(){return _0x5f5032;};return _0x5766();}exports['AzureFileSizeRetriever']=AzureFileSizeRetriever;
@@ -1 +1 @@
1
- 'use strict';function _0x33a3(){var _0x3465c7=['1529336mbMPii','1338336CQACyW','42NelNTj','127510tsOlIm','10432xZomKI','__esModule','defineProperty','225325kxOiFs','727800CXGDjw','2366750BKDShV','4Yhexnv','11fXizbE','1127beZUJY','BaseFileSizeRetriever'];_0x33a3=function(){return _0x3465c7;};return _0x33a3();}var _0x20238c=_0x5c49;(function(_0x555231,_0x4bfcf9){var _0x3af683=_0x5c49,_0x4601b6=_0x555231();while(!![]){try{var _0x20077e=-parseInt(_0x3af683(0x16d))/0x1*(-parseInt(_0x3af683(0x166))/0x2)+-parseInt(_0x3af683(0x16b))/0x3+parseInt(_0x3af683(0x163))/0x4+-parseInt(_0x3af683(0x16a))/0x5*(parseInt(_0x3af683(0x165))/0x6)+parseInt(_0x3af683(0x161))/0x7*(parseInt(_0x3af683(0x167))/0x8)+parseInt(_0x3af683(0x164))/0x9+-parseInt(_0x3af683(0x16c))/0xa*(parseInt(_0x3af683(0x16e))/0xb);if(_0x20077e===_0x4bfcf9)break;else _0x4601b6['push'](_0x4601b6['shift']());}catch(_0x26801a){_0x4601b6['push'](_0x4601b6['shift']());}}}(_0x33a3,0x31238));Object[_0x20238c(0x169)](exports,_0x20238c(0x168),{'value':!![]}),exports[_0x20238c(0x162)]=void 0x0;function _0x5c49(_0xa23c9b,_0x3047c7){var _0x33a3d2=_0x33a3();return _0x5c49=function(_0x5c498a,_0x2a8faf){_0x5c498a=_0x5c498a-0x161;var _0x43688c=_0x33a3d2[_0x5c498a];return _0x43688c;},_0x5c49(_0xa23c9b,_0x3047c7);}class BaseFileSizeRetriever{constructor(_0x5c68d2){this['credentials']=_0x5c68d2;}}exports[_0x20238c(0x162)]=BaseFileSizeRetriever;
1
+ 'use strict';function _0x4a6c(){var _0xe4864f=['2SHnJiT','2237128gJArRa','1480739KXoONt','11509817DcuTBo','5678393RcKRaz','2726660VeOmbs','270356hoCoqR','6tuzdcJ','defineProperty','20HhHQco','9319689vBaFId','54xffvYj','credentials','BaseFileSizeRetriever'];_0x4a6c=function(){return _0xe4864f;};return _0x4a6c();}var _0x1051c5=_0x4dd6;(function(_0x59b6e2,_0x7d7f26){var _0x62d35c=_0x4dd6,_0xc6a35b=_0x59b6e2();while(!![]){try{var _0x48174b=-parseInt(_0x62d35c(0x105))/0x1*(-parseInt(_0x62d35c(0x103))/0x2)+-parseInt(_0x62d35c(0x10e))/0x3*(parseInt(_0x62d35c(0x109))/0x4)+-parseInt(_0x62d35c(0x108))/0x5*(-parseInt(_0x62d35c(0x10a))/0x6)+parseInt(_0x62d35c(0x107))/0x7+parseInt(_0x62d35c(0x104))/0x8+parseInt(_0x62d35c(0x10d))/0x9+-parseInt(_0x62d35c(0x10c))/0xa*(parseInt(_0x62d35c(0x106))/0xb);if(_0x48174b===_0x7d7f26)break;else _0xc6a35b['push'](_0xc6a35b['shift']());}catch(_0x174cbc){_0xc6a35b['push'](_0xc6a35b['shift']());}}}(_0x4a6c,0xcdd80));Object[_0x1051c5(0x10b)](exports,'__esModule',{'value':!![]}),exports[_0x1051c5(0x110)]=void 0x0;class BaseFileSizeRetriever{constructor(_0x1bea23){var _0x9520ac=_0x1051c5;this[_0x9520ac(0x10f)]=_0x1bea23;}}function _0x4dd6(_0x2a63ff,_0x2c232a){_0x2a63ff=_0x2a63ff-0x103;var _0x4a6ca8=_0x4a6c();var _0x4dd625=_0x4a6ca8[_0x2a63ff];return _0x4dd625;}exports[_0x1051c5(0x110)]=BaseFileSizeRetriever;
@@ -1 +1 @@
1
- 'use strict';var _0x1fd297=_0x46c2;function _0x46c2(_0xb2c645,_0x2d1372){var _0x2017a1=_0x2017();return _0x46c2=function(_0x46c248,_0x3b57bf){_0x46c248=_0x46c248-0x19e;var _0x4994ea=_0x2017a1[_0x46c248];return _0x4994ea;},_0x46c2(_0xb2c645,_0x2d1372);}(function(_0x4f6be9,_0x4f4d50){var _0x3d9199=_0x46c2,_0x2184a4=_0x4f6be9();while(!![]){try{var _0x1759c=-parseInt(_0x3d9199(0x1ab))/0x1*(parseInt(_0x3d9199(0x19e))/0x2)+parseInt(_0x3d9199(0x1aa))/0x3+parseInt(_0x3d9199(0x1ae))/0x4+parseInt(_0x3d9199(0x1b1))/0x5+-parseInt(_0x3d9199(0x1a4))/0x6*(-parseInt(_0x3d9199(0x1ad))/0x7)+parseInt(_0x3d9199(0x1a7))/0x8*(parseInt(_0x3d9199(0x1b2))/0x9)+-parseInt(_0x3d9199(0x1b5))/0xa;if(_0x1759c===_0x4f4d50)break;else _0x2184a4['push'](_0x2184a4['shift']());}catch(_0x332533){_0x2184a4['push'](_0x2184a4['shift']());}}}(_0x2017,0x9756b));function _0x2017(){var _0x996ab4=['32MZQXyD','__esModule','hasOwnProperty','1908288uCvWDw','40MlddmY','__createBinding','14HhRYKl','4336040yPCrvl','writable','call','1661995kWlqEf','76851nhiivX','configurable','prototype','12849200RVVeev','9790kNArlt','create','defineProperty','get','./azure-file-size-retriever','./aws-s3-file-size-retriever','41826BoFOfn','default','__exportStar'];_0x2017=function(){return _0x996ab4;};return _0x2017();}var __createBinding=this&&this[_0x1fd297(0x1ac)]||(Object[_0x1fd297(0x19f)]?function(_0xfac262,_0x210275,_0x5e4006,_0x520970){var _0x31d5b9=_0x1fd297;if(_0x520970===undefined)_0x520970=_0x5e4006;var _0x388fd9=Object['getOwnPropertyDescriptor'](_0x210275,_0x5e4006);(!_0x388fd9||(_0x31d5b9(0x1a1)in _0x388fd9?!_0x210275[_0x31d5b9(0x1a8)]:_0x388fd9[_0x31d5b9(0x1af)]||_0x388fd9[_0x31d5b9(0x1b3)]))&&(_0x388fd9={'enumerable':!![],'get':function(){return _0x210275[_0x5e4006];}}),Object[_0x31d5b9(0x1a0)](_0xfac262,_0x520970,_0x388fd9);}:function(_0x1d7a29,_0x476bf5,_0x55daaa,_0x5932c0){if(_0x5932c0===undefined)_0x5932c0=_0x55daaa;_0x1d7a29[_0x5932c0]=_0x476bf5[_0x55daaa];}),__exportStar=this&&this[_0x1fd297(0x1a6)]||function(_0x14eb6b,_0x518a46){var _0x7096e8=_0x1fd297;for(var _0x5e7255 in _0x14eb6b)if(_0x5e7255!==_0x7096e8(0x1a5)&&!Object[_0x7096e8(0x1b4)][_0x7096e8(0x1a9)][_0x7096e8(0x1b0)](_0x518a46,_0x5e7255))__createBinding(_0x518a46,_0x14eb6b,_0x5e7255);};Object[_0x1fd297(0x1a0)](exports,_0x1fd297(0x1a8),{'value':!![]}),__exportStar(require('./base-file-size-retriever'),exports),__exportStar(require(_0x1fd297(0x1a3)),exports),__exportStar(require('./local-size-retriever'),exports),__exportStar(require(_0x1fd297(0x1a2)),exports);
1
+ 'use strict';function _0x3f07(_0x103c59,_0x5acb0a){_0x103c59=_0x103c59-0xf1;var _0x3cd445=_0x3cd4();var _0x3f07fe=_0x3cd445[_0x103c59];return _0x3f07fe;}var _0x5dcf28=_0x3f07;function _0x3cd4(){var _0x536c1d=['320KzOYat','6iYjUWC','./azure-file-size-retriever','58wWTEPY','configurable','977466GhUMrb','72417ubINlR','default','__esModule','1023664gyuBcR','258797ySVogN','./base-file-size-retriever','hasOwnProperty','__createBinding','get','__exportStar','./local-size-retriever','899320PGytCr','1726956kNyXVk','writable','defineProperty','8423iLWclh','44KSgnzf','./aws-s3-file-size-retriever'];_0x3cd4=function(){return _0x536c1d;};return _0x3cd4();}(function(_0x56b67d,_0x14ee0e){var _0x7d310d=_0x3f07,_0x512889=_0x56b67d();while(!![]){try{var _0x159836=parseInt(_0x7d310d(0xff))/0x1*(parseInt(_0x7d310d(0x105))/0x2)+parseInt(_0x7d310d(0x108))/0x3*(parseInt(_0x7d310d(0x100))/0x4)+parseInt(_0x7d310d(0xfb))/0x5*(parseInt(_0x7d310d(0x103))/0x6)+parseInt(_0x7d310d(0x107))/0x7+-parseInt(_0x7d310d(0xf3))/0x8+parseInt(_0x7d310d(0xfc))/0x9+parseInt(_0x7d310d(0x102))/0xa*(-parseInt(_0x7d310d(0xf4))/0xb);if(_0x159836===_0x14ee0e)break;else _0x512889['push'](_0x512889['shift']());}catch(_0x1fccf0){_0x512889['push'](_0x512889['shift']());}}}(_0x3cd4,0x22448));var __createBinding=this&&this[_0x5dcf28(0xf7)]||(Object['create']?function(_0x3bcc9f,_0x52fc78,_0x525b57,_0x211731){var _0x4c07b2=_0x5dcf28;if(_0x211731===undefined)_0x211731=_0x525b57;var _0x3ef975=Object['getOwnPropertyDescriptor'](_0x52fc78,_0x525b57);(!_0x3ef975||(_0x4c07b2(0xf8)in _0x3ef975?!_0x52fc78['__esModule']:_0x3ef975[_0x4c07b2(0xfd)]||_0x3ef975[_0x4c07b2(0x106)]))&&(_0x3ef975={'enumerable':!![],'get':function(){return _0x52fc78[_0x525b57];}}),Object['defineProperty'](_0x3bcc9f,_0x211731,_0x3ef975);}:function(_0x2577d7,_0x1dda0e,_0xbce602,_0xa90f1f){if(_0xa90f1f===undefined)_0xa90f1f=_0xbce602;_0x2577d7[_0xa90f1f]=_0x1dda0e[_0xbce602];}),__exportStar=this&&this[_0x5dcf28(0xf9)]||function(_0x357939,_0x300020){var _0x9545c3=_0x5dcf28;for(var _0x17e2bc in _0x357939)if(_0x17e2bc!==_0x9545c3(0xf1)&&!Object['prototype'][_0x9545c3(0xf6)]['call'](_0x300020,_0x17e2bc))__createBinding(_0x300020,_0x357939,_0x17e2bc);};Object[_0x5dcf28(0xfe)](exports,_0x5dcf28(0xf2),{'value':!![]}),__exportStar(require(_0x5dcf28(0xf5)),exports),__exportStar(require(_0x5dcf28(0x101)),exports),__exportStar(require(_0x5dcf28(0xfa)),exports),__exportStar(require(_0x5dcf28(0x104)),exports);
@@ -1 +1 @@
1
- 'use strict';const _0x18e928=_0x1951;(function(_0x1c811c,_0x3f17c2){const _0x297437=_0x1951,_0x662e8d=_0x1c811c();while(!![]){try{const _0x215ef6=parseInt(_0x297437(0xa5))/0x1*(parseInt(_0x297437(0xab))/0x2)+parseInt(_0x297437(0xa2))/0x3*(-parseInt(_0x297437(0x99))/0x4)+parseInt(_0x297437(0xac))/0x5+parseInt(_0x297437(0xad))/0x6+-parseInt(_0x297437(0x98))/0x7*(parseInt(_0x297437(0x9a))/0x8)+-parseInt(_0x297437(0xa6))/0x9+-parseInt(_0x297437(0xaa))/0xa*(-parseInt(_0x297437(0xa7))/0xb);if(_0x215ef6===_0x3f17c2)break;else _0x662e8d['push'](_0x662e8d['shift']());}catch(_0x261219){_0x662e8d['push'](_0x662e8d['shift']());}}}(_0x3871,0xbee69));function _0x1951(_0xf3083d,_0xd614f8){const _0x3871d3=_0x3871();return _0x1951=function(_0x1951ce,_0x5e4776){_0x1951ce=_0x1951ce-0x97;let _0x5c58ff=_0x3871d3[_0x1951ce];return _0x5c58ff;},_0x1951(_0xf3083d,_0xd614f8);}var __awaiter=this&&this[_0x18e928(0x9c)]||function(_0x23731f,_0x3c68b3,_0x10c2ff,_0x7fada){function _0x5c54d8(_0x11595f){return _0x11595f instanceof _0x10c2ff?_0x11595f:new _0x10c2ff(function(_0xe849e4){_0xe849e4(_0x11595f);});}return new(_0x10c2ff||(_0x10c2ff=Promise))(function(_0x554d26,_0x3d51ee){const _0x340a5f=_0x1951;function _0x42d7eb(_0x3eae98){const _0x2e23b5=_0x1951;try{_0x14cd7b(_0x7fada[_0x2e23b5(0xa1)](_0x3eae98));}catch(_0x596c58){_0x3d51ee(_0x596c58);}}function _0x5c7f74(_0x20250d){const _0x4a300b=_0x1951;try{_0x14cd7b(_0x7fada[_0x4a300b(0xa0)](_0x20250d));}catch(_0x5598e2){_0x3d51ee(_0x5598e2);}}function _0x14cd7b(_0x5d8f67){const _0x55a7f1=_0x1951;_0x5d8f67[_0x55a7f1(0x9e)]?_0x554d26(_0x5d8f67[_0x55a7f1(0xaf)]):_0x5c54d8(_0x5d8f67[_0x55a7f1(0xaf)])['then'](_0x42d7eb,_0x5c7f74);}_0x14cd7b((_0x7fada=_0x7fada[_0x340a5f(0x9f)](_0x23731f,_0x3c68b3||[]))[_0x340a5f(0xa1)]());});};Object[_0x18e928(0x9d)](exports,_0x18e928(0xa3),{'value':!![]}),exports[_0x18e928(0xa4)]=void 0x0;function _0x3871(){const _0xac778e=['432516XCAlFN','execute','value','fs/promises','28HTqfDn','270404OcUyWI','2695736fgtWIM','size','__awaiter','defineProperty','done','apply','throw','next','9LDMKLU','__esModule','LocalFileSizeRetriever','126728uIjqlN','4008294KdNvcz','861663XSXlXb','stat','catch','190iWIjkY','6QxhuCv','4186845IuTAvR'];_0x3871=function(){return _0xac778e;};return _0x3871();}const _1=require('./'),promises_1=require(_0x18e928(0x97));class LocalFileSizeRetriever extends _1['BaseFileSizeRetriever']{[_0x18e928(0xae)](_0x37f5cf){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5c4436=_0x1951;return(0x0,promises_1[_0x5c4436(0xa8)])(_0x37f5cf)['then'](_0x10074d=>_0x10074d[_0x5c4436(0x9b)])[_0x5c4436(0xa9)](()=>null);});}}exports[_0x18e928(0xa4)]=LocalFileSizeRetriever;
1
+ 'use strict';const _0x47cc5e=_0x60ac;(function(_0x333e4e,_0x25bc25){const _0x5af398=_0x60ac,_0x508368=_0x333e4e();while(!![]){try{const _0xf69953=-parseInt(_0x5af398(0x200))/0x1*(parseInt(_0x5af398(0x1fc))/0x2)+-parseInt(_0x5af398(0x1fa))/0x3*(-parseInt(_0x5af398(0x208))/0x4)+-parseInt(_0x5af398(0x1ff))/0x5+-parseInt(_0x5af398(0x1f7))/0x6+parseInt(_0x5af398(0x1f4))/0x7*(parseInt(_0x5af398(0x1fe))/0x8)+-parseInt(_0x5af398(0x1f2))/0x9+parseInt(_0x5af398(0x1f3))/0xa*(parseInt(_0x5af398(0x1f9))/0xb);if(_0xf69953===_0x25bc25)break;else _0x508368['push'](_0x508368['shift']());}catch(_0x3a5813){_0x508368['push'](_0x508368['shift']());}}}(_0x151f,0xaeeff));var __awaiter=this&&this['__awaiter']||function(_0x5c6133,_0x2c05df,_0x2aa6f9,_0x55602a){function _0xbecb1c(_0x31cacb){return _0x31cacb instanceof _0x2aa6f9?_0x31cacb:new _0x2aa6f9(function(_0x139268){_0x139268(_0x31cacb);});}return new(_0x2aa6f9||(_0x2aa6f9=Promise))(function(_0x1ab539,_0x369c53){const _0x12fb29=_0x60ac;function _0x5bf2e8(_0x550a39){try{_0x24ba09(_0x55602a['next'](_0x550a39));}catch(_0x31ab96){_0x369c53(_0x31ab96);}}function _0x1aece1(_0x3e61d2){const _0xd01ee8=_0x60ac;try{_0x24ba09(_0x55602a[_0xd01ee8(0x203)](_0x3e61d2));}catch(_0x567d07){_0x369c53(_0x567d07);}}function _0x24ba09(_0x1053be){const _0x528520=_0x60ac;_0x1053be[_0x528520(0x1f5)]?_0x1ab539(_0x1053be['value']):_0xbecb1c(_0x1053be[_0x528520(0x1fd)])[_0x528520(0x205)](_0x5bf2e8,_0x1aece1);}_0x24ba09((_0x55602a=_0x55602a[_0x12fb29(0x1fb)](_0x5c6133,_0x2c05df||[]))[_0x12fb29(0x209)]());});};Object[_0x47cc5e(0x206)](exports,_0x47cc5e(0x204),{'value':!![]}),exports['LocalFileSizeRetriever']=void 0x0;const _1=require('./'),promises_1=require(_0x47cc5e(0x202));function _0x60ac(_0x39c490,_0x359851){_0x39c490=_0x39c490-0x1f2;const _0x151f6d=_0x151f();let _0x60ac65=_0x151f6d[_0x39c490];return _0x60ac65;}class LocalFileSizeRetriever extends _1[_0x47cc5e(0x1f8)]{[_0x47cc5e(0x20a)](_0xbd2ebf){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x183e6d=_0x60ac;return(0x0,promises_1[_0x183e6d(0x1f6)])(_0xbd2ebf)[_0x183e6d(0x205)](_0x36ced6=>_0x36ced6[_0x183e6d(0x207)])[_0x183e6d(0x201)](()=>null);});}}function _0x151f(){const _0x47240b=['execute','1845711rmNIuq','50zPFXRy','53851ZPXUhx','done','stat','6740022loaaEE','BaseFileSizeRetriever','9233653fFNpNd','21TjCNag','apply','62YenHWy','value','192WFzOoz','5439040GZKDvA','45665kztNEH','catch','fs/promises','throw','__esModule','then','defineProperty','size','95220LFsQwY','next'];_0x151f=function(){return _0x47240b;};return _0x151f();}exports['LocalFileSizeRetriever']=LocalFileSizeRetriever;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x28a3c1=_0x1c3d;(function(_0x391bd5,_0x3b03a1){var _0x43c6bb=_0x1c3d,_0x177af6=_0x391bd5();while(!![]){try{var _0x357a8d=-parseInt(_0x43c6bb(0x1ea))/0x1+parseInt(_0x43c6bb(0x1e3))/0x2*(-parseInt(_0x43c6bb(0x1f2))/0x3)+parseInt(_0x43c6bb(0x1f8))/0x4+-parseInt(_0x43c6bb(0x1f3))/0x5+parseInt(_0x43c6bb(0x1f0))/0x6*(-parseInt(_0x43c6bb(0x1e9))/0x7)+-parseInt(_0x43c6bb(0x1f1))/0x8+parseInt(_0x43c6bb(0x1ed))/0x9;if(_0x357a8d===_0x3b03a1)break;else _0x177af6['push'](_0x177af6['shift']());}catch(_0x3762e5){_0x177af6['push'](_0x177af6['shift']());}}}(_0x373c,0xb4c3a));function _0x1c3d(_0x1f24ea,_0xbadd1d){var _0x373c0a=_0x373c();return _0x1c3d=function(_0x1c3ddf,_0xb5a950){_0x1c3ddf=_0x1c3ddf-0x1e2;var _0x497867=_0x373c0a[_0x1c3ddf];return _0x497867;},_0x1c3d(_0x1f24ea,_0xbadd1d);}function _0x373c(){var _0x583a9b=['./retrieve','StorageFactory','49862556HLKwIu','./types','call','120SSARAu','3284688DlJmpd','15468UWdjGo','6018885SOwCoP','./copy','getOwnPropertyDescriptor','__esModule','./init','1571192Rawazw','writable','get','defineProperty','hasOwnProperty','default','./delete','./credentials','458rrywAc','./deploy','./instances','./factory','./file-size-retriever','__exportStar','380632eUzOcP','1310065WUXptl'];_0x373c=function(){return _0x583a9b;};return _0x373c();}var __createBinding=this&&this['__createBinding']||(Object['create']?function(_0x10aba8,_0x37376e,_0x7f19b9,_0x1df4b2){var _0x3561dc=_0x1c3d;if(_0x1df4b2===undefined)_0x1df4b2=_0x7f19b9;var _0x2383a6=Object[_0x3561dc(0x1f5)](_0x37376e,_0x7f19b9);(!_0x2383a6||(_0x3561dc(0x1fa)in _0x2383a6?!_0x37376e[_0x3561dc(0x1f6)]:_0x2383a6[_0x3561dc(0x1f9)]||_0x2383a6['configurable']))&&(_0x2383a6={'enumerable':!![],'get':function(){return _0x37376e[_0x7f19b9];}}),Object[_0x3561dc(0x1fb)](_0x10aba8,_0x1df4b2,_0x2383a6);}:function(_0x19b732,_0x940033,_0x58fd53,_0x402870){if(_0x402870===undefined)_0x402870=_0x58fd53;_0x19b732[_0x402870]=_0x940033[_0x58fd53];}),__exportStar=this&&this[_0x28a3c1(0x1e8)]||function(_0x2d08df,_0x85785e){var _0x499bcf=_0x28a3c1;for(var _0x4971d3 in _0x2d08df)if(_0x4971d3!==_0x499bcf(0x1fd)&&!Object['prototype'][_0x499bcf(0x1fc)][_0x499bcf(0x1ef)](_0x85785e,_0x4971d3))__createBinding(_0x85785e,_0x2d08df,_0x4971d3);};Object[_0x28a3c1(0x1fb)](exports,'__esModule',{'value':!![]}),exports['StorageFactory']=void 0x0,require(_0x28a3c1(0x1f7)),__exportStar(require(_0x28a3c1(0x1e2)),exports),__exportStar(require(_0x28a3c1(0x1fe)),exports),__exportStar(require(_0x28a3c1(0x1e4)),exports),__exportStar(require(_0x28a3c1(0x1eb)),exports);var factory_1=require(_0x28a3c1(0x1e6));Object[_0x28a3c1(0x1fb)](exports,_0x28a3c1(0x1ec),{'enumerable':!![],'get':function(){return factory_1['StorageFactory'];}}),__exportStar(require(_0x28a3c1(0x1ee)),exports),__exportStar(require(_0x28a3c1(0x1e7)),exports),__exportStar(require(_0x28a3c1(0x1f4)),exports),__exportStar(require(_0x28a3c1(0x1e5)),exports);
1
+ 'use strict';var _0x1f37bc=_0x3245;(function(_0x23d0b5,_0x4f220b){var _0x274203=_0x3245,_0x258762=_0x23d0b5();while(!![]){try{var _0x17da4c=parseInt(_0x274203(0x16a))/0x1+-parseInt(_0x274203(0x174))/0x2+-parseInt(_0x274203(0x177))/0x3+parseInt(_0x274203(0x17a))/0x4+parseInt(_0x274203(0x17b))/0x5*(parseInt(_0x274203(0x167))/0x6)+-parseInt(_0x274203(0x178))/0x7+parseInt(_0x274203(0x175))/0x8;if(_0x17da4c===_0x4f220b)break;else _0x258762['push'](_0x258762['shift']());}catch(_0xfbcd60){_0x258762['push'](_0x258762['shift']());}}}(_0xae56,0x6056e));function _0xae56(){var _0x1be004=['2197551fZAAAX','3962021sVKImd','configurable','2654652EmRARp','7865LiAxvm','./credentials','./retrieve','./deploy','__exportStar','1266QKUsLh','__esModule','./instances','221512MtlXaq','StorageFactory','./init','./factory','./copy','defineProperty','create','default','get','call','1359500APNVvJ','9246384rIloHG','hasOwnProperty'];_0xae56=function(){return _0x1be004;};return _0xae56();}var __createBinding=this&&this['__createBinding']||(Object[_0x1f37bc(0x170)]?function(_0x38b1b8,_0x2af6db,_0x25afc4,_0x14556e){var _0x12ae2e=_0x1f37bc;if(_0x14556e===undefined)_0x14556e=_0x25afc4;var _0x2a4b6f=Object['getOwnPropertyDescriptor'](_0x2af6db,_0x25afc4);(!_0x2a4b6f||(_0x12ae2e(0x172)in _0x2a4b6f?!_0x2af6db['__esModule']:_0x2a4b6f['writable']||_0x2a4b6f[_0x12ae2e(0x179)]))&&(_0x2a4b6f={'enumerable':!![],'get':function(){return _0x2af6db[_0x25afc4];}}),Object[_0x12ae2e(0x16f)](_0x38b1b8,_0x14556e,_0x2a4b6f);}:function(_0x360f0e,_0x3a2da0,_0x2cec18,_0x961f76){if(_0x961f76===undefined)_0x961f76=_0x2cec18;_0x360f0e[_0x961f76]=_0x3a2da0[_0x2cec18];}),__exportStar=this&&this[_0x1f37bc(0x17f)]||function(_0x5b7da9,_0x2c8b6a){var _0x10517d=_0x1f37bc;for(var _0x269c9b in _0x5b7da9)if(_0x269c9b!==_0x10517d(0x171)&&!Object['prototype'][_0x10517d(0x176)][_0x10517d(0x173)](_0x2c8b6a,_0x269c9b))__createBinding(_0x2c8b6a,_0x5b7da9,_0x269c9b);};Object[_0x1f37bc(0x16f)](exports,_0x1f37bc(0x168),{'value':!![]}),exports[_0x1f37bc(0x16b)]=void 0x0,require(_0x1f37bc(0x16c)),__exportStar(require(_0x1f37bc(0x17c)),exports),__exportStar(require('./delete'),exports),__exportStar(require(_0x1f37bc(0x17e)),exports),__exportStar(require(_0x1f37bc(0x17d)),exports);var factory_1=require(_0x1f37bc(0x16d));function _0x3245(_0x5c2e0d,_0x42eb8e){_0x5c2e0d=_0x5c2e0d-0x167;var _0xae5657=_0xae56();var _0x3245b4=_0xae5657[_0x5c2e0d];return _0x3245b4;}Object[_0x1f37bc(0x16f)](exports,_0x1f37bc(0x16b),{'enumerable':!![],'get':function(){return factory_1['StorageFactory'];}}),__exportStar(require('./types'),exports),__exportStar(require('./file-size-retriever'),exports),__exportStar(require(_0x1f37bc(0x16e)),exports),__exportStar(require(_0x1f37bc(0x169)),exports);
package/dist/init.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1817a2=_0x3e7c;(function(_0x380ccc,_0x28f712){const _0x1ba36d=_0x3e7c,_0x3e831c=_0x380ccc();while(!![]){try{const _0x106e06=parseInt(_0x1ba36d(0x1f6))/0x1*(parseInt(_0x1ba36d(0x1e9))/0x2)+-parseInt(_0x1ba36d(0x1eb))/0x3+parseInt(_0x1ba36d(0x1f7))/0x4+-parseInt(_0x1ba36d(0x1ee))/0x5*(parseInt(_0x1ba36d(0x1e8))/0x6)+-parseInt(_0x1ba36d(0x1f5))/0x7+-parseInt(_0x1ba36d(0x1ef))/0x8+-parseInt(_0x1ba36d(0x1f8))/0x9;if(_0x106e06===_0x28f712)break;else _0x3e831c['push'](_0x3e831c['shift']());}catch(_0x38930e){_0x3e831c['push'](_0x3e831c['shift']());}}}(_0x58e0,0x676e7));Object[_0x1817a2(0x1f3)](exports,_0x1817a2(0x1f2),{'value':!![]}),exports[_0x1817a2(0x1ec)]=void 0x0;function _0x3e7c(_0x13430b,_0x452689){const _0x58e08a=_0x58e0();return _0x3e7c=function(_0x3e7c53,_0x1c92f0){_0x3e7c53=_0x3e7c53-0x1e8;let _0x2f8200=_0x58e08a[_0x3e7c53];return _0x2f8200;},_0x3e7c(_0x13430b,_0x452689);}function _0x58e0(){const _0xf05711=['2152448pdcwlo','@smithy/node-http-handler','HttpsProxyAgent','__esModule','defineProperty','https-proxy-agent','2195172HMJmnM','5cQbEUJ','2196636xDVwFU','1463823pBOljh','HTTP_PROXY','606pVebmm','327244BpIsJF','env','200742LQZKGm','HttpHandler','HTTPS_PROXY','6505irJcrw'];_0x58e0=function(){return _0xf05711;};return _0x58e0();}const https_proxy_agent_1=require(_0x1817a2(0x1f4)),node_http_handler_1=require(_0x1817a2(0x1f0));class HttpHandler extends node_http_handler_1['NodeHttpHandler']{constructor(){const _0x5de392=_0x1817a2;if(process['env']['HTTP_PROXY']||process[_0x5de392(0x1ea)][_0x5de392(0x1ed)]){const _0x182df2=new https_proxy_agent_1[(_0x5de392(0x1f1))](process[_0x5de392(0x1ea)][_0x5de392(0x1f9)]||process[_0x5de392(0x1ea)][_0x5de392(0x1ed)]);super({'httpAgent':_0x182df2,'httpsAgent':_0x182df2});}else super({});}}exports[_0x1817a2(0x1ec)]=HttpHandler;
1
+ 'use strict';const _0x10f14d=_0x4890;(function(_0x23bc8f,_0x2ec5ff){const _0x48d325=_0x4890,_0x24745d=_0x23bc8f();while(!![]){try{const _0x13053d=-parseInt(_0x48d325(0x17d))/0x1+parseInt(_0x48d325(0x183))/0x2*(parseInt(_0x48d325(0x180))/0x3)+parseInt(_0x48d325(0x188))/0x4+-parseInt(_0x48d325(0x18a))/0x5*(parseInt(_0x48d325(0x186))/0x6)+-parseInt(_0x48d325(0x181))/0x7*(-parseInt(_0x48d325(0x17f))/0x8)+parseInt(_0x48d325(0x184))/0x9+parseInt(_0x48d325(0x185))/0xa;if(_0x13053d===_0x2ec5ff)break;else _0x24745d['push'](_0x24745d['shift']());}catch(_0x5abfe1){_0x24745d['push'](_0x24745d['shift']());}}}(_0x1e4a,0x605b3));Object[_0x10f14d(0x17e)](exports,'__esModule',{'value':!![]}),exports[_0x10f14d(0x182)]=void 0x0;const https_proxy_agent_1=require(_0x10f14d(0x187)),node_http_handler_1=require('@smithy/node-http-handler');function _0x1e4a(){const _0x1600d6=['HttpHandler','1459422HDQlkx','242820GbDQGm','1415870lPqZMp','4398822dvBtDk','https-proxy-agent','1516016LXkAoP','NodeHttpHandler','5KSrqsB','HttpsProxyAgent','714175JtzLxP','defineProperty','100392uEnjRs','3FGkoDJ','315XgvUTa'];_0x1e4a=function(){return _0x1600d6;};return _0x1e4a();}function _0x4890(_0x17d516,_0x1a9911){_0x17d516=_0x17d516-0x17d;const _0x1e4ae2=_0x1e4a();let _0x489027=_0x1e4ae2[_0x17d516];return _0x489027;}class HttpHandler extends node_http_handler_1[_0x10f14d(0x189)]{constructor(){const _0xe9610f=_0x10f14d;if(process.env.HTTP_PROXY||process.env.HTTPS_PROXY){const _0x10716b=new https_proxy_agent_1[(_0xe9610f(0x18b))](process.env.HTTP_PROXY||process.env.HTTPS_PROXY);super({'httpAgent':_0x10716b,'httpsAgent':_0x10716b});}else super({});}}exports[_0x10f14d(0x182)]=HttpHandler;
@@ -1 +1 @@
1
- 'use strict';function _0x4b31(){const _0x56d3da=['apply','3931270ogbvHf','throw','./base.storage-instance','value','copy','406894xcKxjU','AwsS3Utils','done','../retrieve','../deploy','AwsS3Delete','2571717sPTRoQ','AwsS3Retrieve','../copy','763TMLUEf','__esModule','retrieve','next','39668840ErcwwU','1731078PQiPVI','AwsS3StorageInstance','createS3Client','4554VsZtAR','AwsS3Deploy','then','4DwSjnx','BaseStorageInstance','../utils/aws-s3.utils','delete','credentials','54606XOKLBm','s3Client','AwsS3Copy','deploy','../delete','17216YJdyEX','execute'];_0x4b31=function(){return _0x56d3da;};return _0x4b31();}const _0x3ff55d=_0x1a45;(function(_0x373d18,_0x3bddd1){const _0x8e24b8=_0x1a45,_0x53b7ae=_0x373d18();while(!![]){try{const _0x40f187=-parseInt(_0x8e24b8(0xc6))/0x1+parseInt(_0x8e24b8(0xb8))/0x2+-parseInt(_0x8e24b8(0xbe))/0x3*(parseInt(_0x8e24b8(0xcc))/0x4)+-parseInt(_0x8e24b8(0xb3))/0x5+parseInt(_0x8e24b8(0xab))/0x6*(-parseInt(_0x8e24b8(0xc1))/0x7)+parseInt(_0x8e24b8(0xb0))/0x8*(parseInt(_0x8e24b8(0xc9))/0x9)+parseInt(_0x8e24b8(0xc5))/0xa;if(_0x40f187===_0x3bddd1)break;else _0x53b7ae['push'](_0x53b7ae['shift']());}catch(_0x41b3a2){_0x53b7ae['push'](_0x53b7ae['shift']());}}}(_0x4b31,0xd9ef7));function _0x1a45(_0x8861e1,_0x107fed){const _0x4b3174=_0x4b31();return _0x1a45=function(_0x1a45b8,_0x594be5){_0x1a45b8=_0x1a45b8-0xaa;let _0x4f939a=_0x4b3174[_0x1a45b8];return _0x4f939a;},_0x1a45(_0x8861e1,_0x107fed);}var __awaiter=this&&this['__awaiter']||function(_0x30c391,_0x14351f,_0x512fc3,_0x219bf4){function _0x285e4e(_0x17dce8){return _0x17dce8 instanceof _0x512fc3?_0x17dce8:new _0x512fc3(function(_0x268ae0){_0x268ae0(_0x17dce8);});}return new(_0x512fc3||(_0x512fc3=Promise))(function(_0x369253,_0x3f1fa6){const _0x33c5a7=_0x1a45;function _0x979511(_0xf01cfe){const _0x4d9dd1=_0x1a45;try{_0x112a37(_0x219bf4[_0x4d9dd1(0xc4)](_0xf01cfe));}catch(_0x2ac818){_0x3f1fa6(_0x2ac818);}}function _0x387fb0(_0x2d9647){const _0x47ae81=_0x1a45;try{_0x112a37(_0x219bf4[_0x47ae81(0xb4)](_0x2d9647));}catch(_0x511a5c){_0x3f1fa6(_0x511a5c);}}function _0x112a37(_0x2033be){const _0x4a3144=_0x1a45;_0x2033be[_0x4a3144(0xba)]?_0x369253(_0x2033be[_0x4a3144(0xb6)]):_0x285e4e(_0x2033be[_0x4a3144(0xb6)])[_0x4a3144(0xcb)](_0x979511,_0x387fb0);}_0x112a37((_0x219bf4=_0x219bf4[_0x33c5a7(0xb2)](_0x30c391,_0x14351f||[]))[_0x33c5a7(0xc4)]());});};Object['defineProperty'](exports,_0x3ff55d(0xc2),{'value':!![]}),exports[_0x3ff55d(0xc7)]=void 0x0;const base_storage_instance_1=require(_0x3ff55d(0xb5)),aws_s3_utils_1=require(_0x3ff55d(0xce)),retrieve_1=require(_0x3ff55d(0xbb)),deploy_1=require(_0x3ff55d(0xbc)),copy_1=require(_0x3ff55d(0xc0)),delete_1=require(_0x3ff55d(0xaf));class AwsS3StorageInstance extends base_storage_instance_1[_0x3ff55d(0xcd)]{constructor({credentials:_0x46c807,middlewareStack:_0x9a4417}){const _0x36e97f=_0x3ff55d;super({'credentials':_0x46c807}),this[_0x36e97f(0xac)]=aws_s3_utils_1[_0x36e97f(0xb9)][_0x36e97f(0xc8)](_0x46c807,_0x9a4417);}[_0x3ff55d(0xc3)]({path:_0x9e1daa,restoreType:_0x1c9cc0,cachePath:_0x2e5e23}){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x34b9e1=_0x1a45,_0x6cad85=new retrieve_1[(_0x34b9e1(0xbf))](this[_0x34b9e1(0xaa)],_0x9e1daa,_0x1c9cc0,_0x2e5e23,undefined,this['s3Client']);return yield _0x6cad85['waitUntilRetrieveDone'](),_0x6cad85[_0x34b9e1(0xb1)]();});}[_0x3ff55d(0xae)]({filePath:_0x4f2e09,file:_0x349deb,storageClass:_0x2c4d38}){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x45a48d=_0x1a45,_0x1ed4fb=new deploy_1[(_0x45a48d(0xca))](this[_0x45a48d(0xaa)],_0x2c4d38,undefined,this[_0x45a48d(0xac)]);yield _0x1ed4fb['execute'](_0x349deb,_0x4f2e09);});}[_0x3ff55d(0xb7)]({sourcePath:_0x2d1fec,destinationPath:_0x1f2b01}){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x921715=_0x1a45,_0x37fdd5=new copy_1[(_0x921715(0xad))](this[_0x921715(0xaa)],this['s3Client']);yield _0x37fdd5[_0x921715(0xb1)](_0x2d1fec,_0x1f2b01);});}[_0x3ff55d(0xcf)]({path:_0x4495c7}){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x528456=_0x1a45,_0x74fb90=new delete_1[(_0x528456(0xbd))](this[_0x528456(0xaa)],undefined,this[_0x528456(0xac)]);yield _0x74fb90['execute'](_0x4495c7);});}}exports[_0x3ff55d(0xc7)]=AwsS3StorageInstance;
1
+ 'use strict';const _0x23e06b=_0x50c6;function _0x50c6(_0x139305,_0x2e5735){_0x139305=_0x139305-0x17b;const _0x4ca6bb=_0x4ca6();let _0x50c6e7=_0x4ca6bb[_0x139305];return _0x50c6e7;}(function(_0x18f83b,_0x2381c3){const _0x4f4c1b=_0x50c6,_0x10ddc3=_0x18f83b();while(!![]){try{const _0x28b8ce=parseInt(_0x4f4c1b(0x18f))/0x1+-parseInt(_0x4f4c1b(0x1a0))/0x2+-parseInt(_0x4f4c1b(0x18a))/0x3*(-parseInt(_0x4f4c1b(0x192))/0x4)+parseInt(_0x4f4c1b(0x186))/0x5*(parseInt(_0x4f4c1b(0x19b))/0x6)+-parseInt(_0x4f4c1b(0x19f))/0x7*(parseInt(_0x4f4c1b(0x181))/0x8)+-parseInt(_0x4f4c1b(0x183))/0x9*(parseInt(_0x4f4c1b(0x19a))/0xa)+parseInt(_0x4f4c1b(0x196))/0xb;if(_0x28b8ce===_0x2381c3)break;else _0x10ddc3['push'](_0x10ddc3['shift']());}catch(_0x1ebe94){_0x10ddc3['push'](_0x10ddc3['shift']());}}}(_0x4ca6,0xc1eaf));var __awaiter=this&&this[_0x23e06b(0x17e)]||function(_0x2d7613,_0x4c955c,_0x4ff9f5,_0x162ecf){function _0x2045c8(_0x43d95c){return _0x43d95c instanceof _0x4ff9f5?_0x43d95c:new _0x4ff9f5(function(_0x14c0b2){_0x14c0b2(_0x43d95c);});}return new(_0x4ff9f5||(_0x4ff9f5=Promise))(function(_0x68755a,_0x4b3a1f){const _0x5de5fc=_0x50c6;function _0x13c196(_0x5bcba4){const _0x3b8113=_0x50c6;try{_0x2915b8(_0x162ecf[_0x3b8113(0x18b)](_0x5bcba4));}catch(_0x3cf20c){_0x4b3a1f(_0x3cf20c);}}function _0x4cc795(_0x37ed96){const _0x447558=_0x50c6;try{_0x2915b8(_0x162ecf[_0x447558(0x185)](_0x37ed96));}catch(_0x2697ad){_0x4b3a1f(_0x2697ad);}}function _0x2915b8(_0xb94786){const _0x40b117=_0x50c6;_0xb94786[_0x40b117(0x198)]?_0x68755a(_0xb94786[_0x40b117(0x19d)]):_0x2045c8(_0xb94786[_0x40b117(0x19d)])[_0x40b117(0x18e)](_0x13c196,_0x4cc795);}_0x2915b8((_0x162ecf=_0x162ecf[_0x5de5fc(0x187)](_0x2d7613,_0x4c955c||[]))[_0x5de5fc(0x18b)]());});};Object[_0x23e06b(0x182)](exports,_0x23e06b(0x1a1),{'value':!![]}),exports[_0x23e06b(0x184)]=void 0x0;const base_storage_instance_1=require(_0x23e06b(0x19e)),aws_s3_utils_1=require('../utils/aws-s3.utils'),retrieve_1=require(_0x23e06b(0x1a2)),deploy_1=require(_0x23e06b(0x188)),copy_1=require(_0x23e06b(0x17c)),delete_1=require(_0x23e06b(0x180));function _0x4ca6(){const _0x3ba94d=['__esModule','../retrieve','AwsS3Deploy','../copy','AwsS3Utils','__awaiter','execute','../delete','2984BYcSZR','defineProperty','9pHhVwH','AwsS3StorageInstance','throw','83625KZDNCX','apply','../deploy','copy','1137IGJNNG','next','s3Client','retrieve','then','364170EGtagf','createS3Client','AwsS3Retrieve','9400KrArxP','deploy','AwsS3Copy','AwsS3Delete','5638017JArSrv','BaseStorageInstance','done','waitUntilRetrieveDone','10697110yhEdGM','468sJwAao','credentials','value','./base.storage-instance','18515UTcWRt','442668PsbQbJ'];_0x4ca6=function(){return _0x3ba94d;};return _0x4ca6();}class AwsS3StorageInstance extends base_storage_instance_1[_0x23e06b(0x197)]{constructor({credentials:_0x5b542f,middlewareStack:_0x37fb5b}){const _0x427774=_0x23e06b;super({'credentials':_0x5b542f}),this['s3Client']=aws_s3_utils_1[_0x427774(0x17d)][_0x427774(0x190)](_0x5b542f,_0x37fb5b);}[_0x23e06b(0x18d)]({path:_0x828c42,restoreType:_0x2717ac,cachePath:_0x494c5d}){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1ec3ec=_0x50c6,_0x56b70a=new retrieve_1[(_0x1ec3ec(0x191))](this['credentials'],_0x828c42,_0x2717ac,_0x494c5d,undefined,this[_0x1ec3ec(0x18c)]);return yield _0x56b70a[_0x1ec3ec(0x199)](),_0x56b70a[_0x1ec3ec(0x17f)]();});}[_0x23e06b(0x193)]({filePath:_0x2ac0f7,file:_0x10c595,storageClass:_0x2d6e99}){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x51f966=_0x50c6,_0x5b3d74=new deploy_1[(_0x51f966(0x17b))](this[_0x51f966(0x19c)],_0x2d6e99,undefined,this['s3Client']);yield _0x5b3d74[_0x51f966(0x17f)](_0x10c595,_0x2ac0f7);});}[_0x23e06b(0x189)]({sourcePath:_0x269ef1,destinationPath:_0x1dff93}){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5c1852=_0x50c6,_0x1c125b=new copy_1[(_0x5c1852(0x194))](this[_0x5c1852(0x19c)],this[_0x5c1852(0x18c)]);yield _0x1c125b[_0x5c1852(0x17f)](_0x269ef1,_0x1dff93);});}['delete']({path:_0x5ec284}){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3c5a56=_0x50c6,_0x3d8a08=new delete_1[(_0x3c5a56(0x195))](this['credentials'],undefined,this['s3Client']);yield _0x3d8a08[_0x3c5a56(0x17f)](_0x5ec284);});}}exports[_0x23e06b(0x184)]=AwsS3StorageInstance;
@@ -7,21 +7,21 @@ import { Readable } from 'stream';
7
7
  export interface BaseStorageInstanceCreationOptions<T extends BaseCredentials = BaseCredentials> {
8
8
  credentials: T;
9
9
  }
10
- export declare type RetrieveOptions = {
10
+ export type RetrieveOptions = {
11
11
  path: string;
12
12
  restoreType?: Tier;
13
13
  cachePath?: string;
14
14
  };
15
- export declare type DeployOptions = {
15
+ export type DeployOptions = {
16
16
  filePath: string;
17
17
  file: Buffer | Readable;
18
18
  storageClass?: StorageClass;
19
19
  };
20
- export declare type CopyOptions = {
20
+ export type CopyOptions = {
21
21
  sourcePath: string;
22
22
  destinationPath: string;
23
23
  };
24
- export declare type DeleteOptions = {
24
+ export type DeleteOptions = {
25
25
  path: string;
26
26
  };
27
27
  export declare abstract class BaseStorageInstance<T extends BaseCredentials = BaseCredentials> {
@@ -1 +1 @@
1
- 'use strict';function _0x9cfb(_0x3563ab,_0x22a2e8){var _0xc41d78=_0xc41d();return _0x9cfb=function(_0x9cfb63,_0x1afc81){_0x9cfb63=_0x9cfb63-0x68;var _0x476ce9=_0xc41d78[_0x9cfb63];return _0x476ce9;},_0x9cfb(_0x3563ab,_0x22a2e8);}var _0xd09211=_0x9cfb;(function(_0x65cc87,_0x47a967){var _0x4162aa=_0x9cfb,_0x1aaa94=_0x65cc87();while(!![]){try{var _0x18a632=-parseInt(_0x4162aa(0x72))/0x1*(parseInt(_0x4162aa(0x69))/0x2)+parseInt(_0x4162aa(0x6c))/0x3*(parseInt(_0x4162aa(0x6b))/0x4)+-parseInt(_0x4162aa(0x6f))/0x5+-parseInt(_0x4162aa(0x71))/0x6+parseInt(_0x4162aa(0x70))/0x7+-parseInt(_0x4162aa(0x76))/0x8*(parseInt(_0x4162aa(0x6a))/0x9)+-parseInt(_0x4162aa(0x75))/0xa*(-parseInt(_0x4162aa(0x6e))/0xb);if(_0x18a632===_0x47a967)break;else _0x1aaa94['push'](_0x1aaa94['shift']());}catch(_0x1a46b5){_0x1aaa94['push'](_0x1aaa94['shift']());}}}(_0xc41d,0xadc1c));function _0xc41d(){var _0x4f9b25=['564074wprgMF','BaseStorageInstance','__esModule','1180JhUKOq','4424UbrndG','credentials','2vdxaQm','22671rIUeKS','328ADAQmq','36657cbmLUp','defineProperty','264495ubVLLV','5347545gcTLYR','9181928hnLFHg','8476044uRsbJe'];_0xc41d=function(){return _0x4f9b25;};return _0xc41d();}Object[_0xd09211(0x6d)](exports,_0xd09211(0x74),{'value':!![]}),exports[_0xd09211(0x73)]=void 0x0;class BaseStorageInstance{constructor({credentials:_0x41569d}){var _0x2adf69=_0xd09211;this[_0x2adf69(0x68)]=_0x41569d;}}exports[_0xd09211(0x73)]=BaseStorageInstance;
1
+ 'use strict';var _0x4a88eb=_0x24d9;(function(_0x1456ab,_0x33b59c){var _0x13d338=_0x24d9,_0x407b58=_0x1456ab();while(!![]){try{var _0x4bb82b=-parseInt(_0x13d338(0x190))/0x1*(-parseInt(_0x13d338(0x194))/0x2)+parseInt(_0x13d338(0x198))/0x3*(parseInt(_0x13d338(0x199))/0x4)+-parseInt(_0x13d338(0x193))/0x5+parseInt(_0x13d338(0x19a))/0x6+parseInt(_0x13d338(0x192))/0x7+-parseInt(_0x13d338(0x197))/0x8*(parseInt(_0x13d338(0x19b))/0x9)+parseInt(_0x13d338(0x196))/0xa*(-parseInt(_0x13d338(0x195))/0xb);if(_0x4bb82b===_0x33b59c)break;else _0x407b58['push'](_0x407b58['shift']());}catch(_0x563ae3){_0x407b58['push'](_0x407b58['shift']());}}}(_0x3a88,0x888e5));function _0x3a88(){var _0x1c97ea=['204200sWduek','5814042ALNTsV','423UuUXSM','credentials','defineProperty','41vJQojY','BaseStorageInstance','6251308PNiaRi','3414770brglYs','15104MneCRe','11OqpWmc','17185530lZcZrY','48152WpMQRk','63axWOqn'];_0x3a88=function(){return _0x1c97ea;};return _0x3a88();}Object[_0x4a88eb(0x19d)](exports,'__esModule',{'value':!![]}),exports[_0x4a88eb(0x191)]=void 0x0;function _0x24d9(_0x49cf4b,_0x29efac){_0x49cf4b=_0x49cf4b-0x190;var _0x3a886e=_0x3a88();var _0x24d9c1=_0x3a886e[_0x49cf4b];return _0x24d9c1;}class BaseStorageInstance{constructor({credentials:_0x572b64}){var _0x5a821f=_0x4a88eb;this[_0x5a821f(0x19c)]=_0x572b64;}}exports['BaseStorageInstance']=BaseStorageInstance;
@@ -1 +1 @@
1
- 'use strict';var _0x531dee=_0xb11d;(function(_0x25f0da,_0x3626ea){var _0x1c09d1=_0xb11d,_0x1cd5d1=_0x25f0da();while(!![]){try{var _0x3ea21d=parseInt(_0x1c09d1(0xb1))/0x1+parseInt(_0x1c09d1(0xac))/0x2*(-parseInt(_0x1c09d1(0xa9))/0x3)+parseInt(_0x1c09d1(0xab))/0x4+-parseInt(_0x1c09d1(0xa3))/0x5*(-parseInt(_0x1c09d1(0xa6))/0x6)+-parseInt(_0x1c09d1(0xae))/0x7+parseInt(_0x1c09d1(0xa2))/0x8*(parseInt(_0x1c09d1(0xa7))/0x9)+-parseInt(_0x1c09d1(0xa4))/0xa*(parseInt(_0x1c09d1(0xa0))/0xb);if(_0x3ea21d===_0x3626ea)break;else _0x1cd5d1['push'](_0x1cd5d1['shift']());}catch(_0x2e8890){_0x1cd5d1['push'](_0x1cd5d1['shift']());}}}(_0x57c6,0xe803d));Object[_0x531dee(0xad)](exports,_0x531dee(0xa5),{'value':!![]}),exports[_0x531dee(0xb0)]=exports['AwsS3StorageInstance']=exports[_0x531dee(0xaa)]=void 0x0;var base_storage_instance_1=require('./base.storage-instance');Object[_0x531dee(0xad)](exports,_0x531dee(0xaa),{'enumerable':!![],'get':function(){var _0x2a9f3b=_0x531dee;return base_storage_instance_1[_0x2a9f3b(0xaa)];}});function _0xb11d(_0x3519db,_0x3dbd1e){var _0x57c65c=_0x57c6();return _0xb11d=function(_0xb11d0,_0x260453){_0xb11d0=_0xb11d0-0xa0;var _0x1753b1=_0x57c65c[_0xb11d0];return _0x1753b1;},_0xb11d(_0x3519db,_0x3dbd1e);}function _0x57c6(){var _0x5d39e8=['1317700TFnvng','589606OZFJhH','defineProperty','9294068qcslbb','./aws-s3.storage-instance','LocalStorageInstance','1575254jIlogp','1397484AfpQFx','AwsS3StorageInstance','8yvccdq','5VzZpAa','30RmeiDq','__esModule','2649030WcUhFv','5470272DGwCcP','./local.storage-instance','3XnzdzL','BaseStorageInstance'];_0x57c6=function(){return _0x5d39e8;};return _0x57c6();}var aws_s3_storage_instance_1=require(_0x531dee(0xaf));Object[_0x531dee(0xad)](exports,'AwsS3StorageInstance',{'enumerable':!![],'get':function(){var _0x56fade=_0x531dee;return aws_s3_storage_instance_1[_0x56fade(0xa1)];}});var local_storage_instance_1=require(_0x531dee(0xa8));Object[_0x531dee(0xad)](exports,'LocalStorageInstance',{'enumerable':!![],'get':function(){return local_storage_instance_1['LocalStorageInstance'];}});
1
+ 'use strict';function _0x5c6f(){var _0x727476=['1694090UFluGU','defineProperty','405801oFSgrd','1099956rKyDuu','47677RQVUxH','__esModule','243UqvfxI','2209668WFhKPC','5TKLXlR','3NauYwQ','216XscBan','BaseStorageInstance','1084758lKreEC','AwsS3StorageInstance','616EcRMem','385510LExXHT','LocalStorageInstance','./aws-s3.storage-instance','./base.storage-instance'];_0x5c6f=function(){return _0x727476;};return _0x5c6f();}var _0x42dcdb=_0x2579;(function(_0x5b625e,_0x37be4d){var _0x44d30=_0x2579,_0x38ac40=_0x5b625e();while(!![]){try{var _0x440de8=-parseInt(_0x44d30(0x173))/0x1+parseInt(_0x44d30(0x17a))/0x2*(parseInt(_0x44d30(0x170))/0x3)+parseInt(_0x44d30(0x16e))/0x4+parseInt(_0x44d30(0x16f))/0x5*(parseInt(_0x44d30(0x17d))/0x6)+-parseInt(_0x44d30(0x17e))/0x7*(-parseInt(_0x44d30(0x175))/0x8)+-parseInt(_0x44d30(0x16d))/0x9*(parseInt(_0x44d30(0x176))/0xa)+parseInt(_0x44d30(0x17c))/0xb*(parseInt(_0x44d30(0x171))/0xc);if(_0x440de8===_0x37be4d)break;else _0x38ac40['push'](_0x38ac40['shift']());}catch(_0x7c0eea){_0x38ac40['push'](_0x38ac40['shift']());}}}(_0x5c6f,0x9da06));function _0x2579(_0x319683,_0x2e913b){_0x319683=_0x319683-0x16d;var _0x5c6faf=_0x5c6f();var _0x257927=_0x5c6faf[_0x319683];return _0x257927;}Object[_0x42dcdb(0x17b)](exports,_0x42dcdb(0x17f),{'value':!![]}),exports['LocalStorageInstance']=exports['AwsS3StorageInstance']=exports[_0x42dcdb(0x172)]=void 0x0;var base_storage_instance_1=require(_0x42dcdb(0x179));Object[_0x42dcdb(0x17b)](exports,'BaseStorageInstance',{'enumerable':!![],'get':function(){var _0x37949c=_0x42dcdb;return base_storage_instance_1[_0x37949c(0x172)];}});var aws_s3_storage_instance_1=require(_0x42dcdb(0x178));Object[_0x42dcdb(0x17b)](exports,_0x42dcdb(0x174),{'enumerable':!![],'get':function(){var _0x3f06f0=_0x42dcdb;return aws_s3_storage_instance_1[_0x3f06f0(0x174)];}});var local_storage_instance_1=require('./local.storage-instance');Object['defineProperty'](exports,_0x42dcdb(0x177),{'enumerable':!![],'get':function(){return local_storage_instance_1['LocalStorageInstance'];}});
@@ -1 +1 @@
1
- 'use strict';const _0x4299d0=_0x5a80;(function(_0x243533,_0x4bc52c){const _0x6b4495=_0x5a80,_0x32b5f2=_0x243533();while(!![]){try{const _0x26801c=parseInt(_0x6b4495(0x1f4))/0x1+-parseInt(_0x6b4495(0x1fd))/0x2*(parseInt(_0x6b4495(0x1f5))/0x3)+parseInt(_0x6b4495(0x1f3))/0x4+-parseInt(_0x6b4495(0x1e3))/0x5+-parseInt(_0x6b4495(0x1ed))/0x6+parseInt(_0x6b4495(0x1e7))/0x7+parseInt(_0x6b4495(0x1fc))/0x8;if(_0x26801c===_0x4bc52c)break;else _0x32b5f2['push'](_0x32b5f2['shift']());}catch(_0x4dea5e){_0x32b5f2['push'](_0x32b5f2['shift']());}}}(_0x1b63,0x6138c));var __awaiter=this&&this[_0x4299d0(0x1fb)]||function(_0x17147c,_0x14aaf3,_0x451010,_0x3db51f){function _0x6b4069(_0x41de5d){return _0x41de5d instanceof _0x451010?_0x41de5d:new _0x451010(function(_0x41bbcf){_0x41bbcf(_0x41de5d);});}return new(_0x451010||(_0x451010=Promise))(function(_0x1874d5,_0x153b5d){function _0x542ac4(_0x7f07b3){const _0x1c3534=_0x5a80;try{_0x43ce32(_0x3db51f[_0x1c3534(0x1f2)](_0x7f07b3));}catch(_0x169515){_0x153b5d(_0x169515);}}function _0xf39378(_0x2dc64c){const _0x1b031a=_0x5a80;try{_0x43ce32(_0x3db51f[_0x1b031a(0x1f0)](_0x2dc64c));}catch(_0x4abc5c){_0x153b5d(_0x4abc5c);}}function _0x43ce32(_0x51488a){const _0x34e1ef=_0x5a80;_0x51488a[_0x34e1ef(0x1f6)]?_0x1874d5(_0x51488a[_0x34e1ef(0x1ea)]):_0x6b4069(_0x51488a[_0x34e1ef(0x1ea)])['then'](_0x542ac4,_0xf39378);}_0x43ce32((_0x3db51f=_0x3db51f['apply'](_0x17147c,_0x14aaf3||[]))['next']());});};function _0x5a80(_0x104fc4,_0x5a2b97){const _0x1b63d6=_0x1b63();return _0x5a80=function(_0x5a8038,_0x825a8a){_0x5a8038=_0x5a8038-0x1e0;let _0x1be714=_0x1b63d6[_0x5a8038];return _0x1be714;},_0x5a80(_0x104fc4,_0x5a2b97);}Object[_0x4299d0(0x1eb)](exports,_0x4299d0(0x1ef),{'value':!![]}),exports[_0x4299d0(0x1f8)]=void 0x0;const base_storage_instance_1=require(_0x4299d0(0x1e9)),retrieve_1=require(_0x4299d0(0x1fa)),deploy_1=require(_0x4299d0(0x1f9)),copy_1=require('../copy'),delete_1=require(_0x4299d0(0x1f1));class LocalStorageInstance extends base_storage_instance_1[_0x4299d0(0x1e8)]{[_0x4299d0(0x1e1)]({path:_0x5336d4}){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1f266a=_0x5a80,_0x218fc5=new retrieve_1['LocalRetrieve'](this[_0x1f266a(0x1f7)],_0x5336d4);return yield _0x218fc5[_0x1f266a(0x1ec)](),_0x218fc5[_0x1f266a(0x1e0)]();});}['deploy']({filePath:_0x1a5e0a,file:_0x50e5de}){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x524ba8=_0x5a80,_0x3cfec9=new deploy_1[(_0x524ba8(0x1e4))](this[_0x524ba8(0x1f7)]);yield _0x3cfec9[_0x524ba8(0x1e0)](_0x50e5de,_0x1a5e0a);});}[_0x4299d0(0x1e5)]({sourcePath:_0x39214f,destinationPath:_0x10b6a1}){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x47467b=_0x5a80,_0x4e625c=new copy_1[(_0x47467b(0x1e2))](this[_0x47467b(0x1f7)]);yield _0x4e625c[_0x47467b(0x1e0)](_0x39214f,_0x10b6a1);});}[_0x4299d0(0x1ee)]({path:_0x401e8b}){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1ec6e5=_0x5a80,_0x4400ea=new delete_1[(_0x1ec6e5(0x1e6))](this[_0x1ec6e5(0x1f7)]);yield _0x4400ea[_0x1ec6e5(0x1e0)](_0x401e8b);});}}exports[_0x4299d0(0x1f8)]=LocalStorageInstance;function _0x1b63(){const _0x3e9673=['2854355lZWmvx','LocalDeploy','copy','LocalDelete','2323769fXKYGh','BaseStorageInstance','./base.storage-instance','value','defineProperty','waitUntilRetrieveDone','4054890jVqbEv','delete','__esModule','throw','../delete','next','400cxtjlp','271671jlmhRA','501nHmCCn','done','credentials','LocalStorageInstance','../deploy','../retrieve','__awaiter','10388120iKFzMM','3082dzVsmr','execute','retrieve','LocalCopy'];_0x1b63=function(){return _0x3e9673;};return _0x1b63();}
1
+ 'use strict';const _0x4fea4d=_0x1603;(function(_0x5a53d,_0x4d7d53){const _0x561854=_0x1603,_0x203f00=_0x5a53d();while(!![]){try{const _0x50c6ab=-parseInt(_0x561854(0x161))/0x1+-parseInt(_0x561854(0x157))/0x2*(parseInt(_0x561854(0x167))/0x3)+-parseInt(_0x561854(0x14b))/0x4+-parseInt(_0x561854(0x151))/0x5+parseInt(_0x561854(0x156))/0x6*(-parseInt(_0x561854(0x15c))/0x7)+parseInt(_0x561854(0x147))/0x8+parseInt(_0x561854(0x165))/0x9*(parseInt(_0x561854(0x15b))/0xa);if(_0x50c6ab===_0x4d7d53)break;else _0x203f00['push'](_0x203f00['shift']());}catch(_0x5963ab){_0x203f00['push'](_0x203f00['shift']());}}}(_0x51cd,0x32377));function _0x51cd(){const _0x26ac65=['execute','next','done','value','1531525vSakTo','retrieve','../delete','LocalRetrieve','./base.storage-instance','1578vjhTzg','192kVEpPM','LocalStorageInstance','LocalDeploy','__awaiter','9775720jWEVCM','1813VkXmPV','credentials','../deploy','waitUntilRetrieveDone','../copy','317771jcbBRD','__esModule','copy','then','9uElYMh','LocalCopy','771pabCpE','throw','apply','../retrieve','2801528QwOfws','defineProperty','LocalDelete','delete','1620844uWJibR','BaseStorageInstance'];_0x51cd=function(){return _0x26ac65;};return _0x51cd();}var __awaiter=this&&this[_0x4fea4d(0x15a)]||function(_0x28916c,_0xc73801,_0x202eda,_0x425ea0){function _0x9b32a2(_0x350dc8){return _0x350dc8 instanceof _0x202eda?_0x350dc8:new _0x202eda(function(_0x4395f7){_0x4395f7(_0x350dc8);});}return new(_0x202eda||(_0x202eda=Promise))(function(_0x1aa776,_0x55744c){const _0x21b419=_0x1603;function _0x1982b1(_0x1f5e03){const _0x4cf6f7=_0x1603;try{_0x4edd11(_0x425ea0[_0x4cf6f7(0x14e)](_0x1f5e03));}catch(_0x32c489){_0x55744c(_0x32c489);}}function _0x2abcd8(_0x131e1b){const _0x500016=_0x1603;try{_0x4edd11(_0x425ea0[_0x500016(0x168)](_0x131e1b));}catch(_0x373282){_0x55744c(_0x373282);}}function _0x4edd11(_0x5d8b59){const _0x405768=_0x1603;_0x5d8b59[_0x405768(0x14f)]?_0x1aa776(_0x5d8b59[_0x405768(0x150)]):_0x9b32a2(_0x5d8b59[_0x405768(0x150)])[_0x405768(0x164)](_0x1982b1,_0x2abcd8);}_0x4edd11((_0x425ea0=_0x425ea0[_0x21b419(0x169)](_0x28916c,_0xc73801||[]))[_0x21b419(0x14e)]());});};Object[_0x4fea4d(0x148)](exports,_0x4fea4d(0x162),{'value':!![]}),exports[_0x4fea4d(0x158)]=void 0x0;const base_storage_instance_1=require(_0x4fea4d(0x155)),retrieve_1=require(_0x4fea4d(0x146)),deploy_1=require(_0x4fea4d(0x15e)),copy_1=require(_0x4fea4d(0x160)),delete_1=require(_0x4fea4d(0x153));function _0x1603(_0x3e9fe1,_0x3a98f0){_0x3e9fe1=_0x3e9fe1-0x146;const _0x51cd91=_0x51cd();let _0x16036c=_0x51cd91[_0x3e9fe1];return _0x16036c;}class LocalStorageInstance extends base_storage_instance_1[_0x4fea4d(0x14c)]{[_0x4fea4d(0x152)]({path:_0x257bd9}){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1defab=_0x1603,_0x30f03d=new retrieve_1[(_0x1defab(0x154))](this[_0x1defab(0x15d)],_0x257bd9);return yield _0x30f03d[_0x1defab(0x15f)](),_0x30f03d[_0x1defab(0x14d)]();});}['deploy']({filePath:_0x318bcb,file:_0x3597f0}){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x25378e=_0x1603,_0x3c580b=new deploy_1[(_0x25378e(0x159))](this[_0x25378e(0x15d)]);yield _0x3c580b['execute'](_0x3597f0,_0x318bcb);});}[_0x4fea4d(0x163)]({sourcePath:_0x451d5f,destinationPath:_0x1547f5}){return __awaiter(this,void 0x0,void 0x0,function*(){const _0xcc3ae9=_0x1603,_0x488644=new copy_1[(_0xcc3ae9(0x166))](this[_0xcc3ae9(0x15d)]);yield _0x488644['execute'](_0x451d5f,_0x1547f5);});}[_0x4fea4d(0x14a)]({path:_0x38d9a5}){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4bf57e=_0x1603,_0x72b42b=new delete_1[(_0x4bf57e(0x149))](this[_0x4bf57e(0x15d)]);yield _0x72b42b[_0x4bf57e(0x14d)](_0x38d9a5);});}}exports['LocalStorageInstance']=LocalStorageInstance;
@@ -2,7 +2,7 @@
2
2
  import { ListObjectsCommandOutput } from '@aws-sdk/client-s3';
3
3
  import { Readable } from 'stream';
4
4
  import { CentralDirectory } from 'unzipper';
5
- export declare type AwsS3ImportHelperOptions = {
5
+ export type AwsS3ImportHelperOptions = {
6
6
  basePrefix?: string;
7
7
  bucketName: string;
8
8
  region: string;
@@ -1 +1 @@
1
- 'use strict';const _0x14f00a=_0x4a4c;(function(_0x543e36,_0x254950){const _0x552f6f=_0x4a4c,_0x2e7eac=_0x543e36();while(!![]){try{const _0x319368=-parseInt(_0x552f6f(0x140))/0x1*(-parseInt(_0x552f6f(0x130))/0x2)+-parseInt(_0x552f6f(0x12a))/0x3*(-parseInt(_0x552f6f(0x119))/0x4)+parseInt(_0x552f6f(0x13f))/0x5*(-parseInt(_0x552f6f(0x114))/0x6)+parseInt(_0x552f6f(0x110))/0x7+-parseInt(_0x552f6f(0x128))/0x8*(-parseInt(_0x552f6f(0x12e))/0x9)+-parseInt(_0x552f6f(0x13c))/0xa*(-parseInt(_0x552f6f(0x137))/0xb)+-parseInt(_0x552f6f(0x129))/0xc*(parseInt(_0x552f6f(0x11e))/0xd);if(_0x319368===_0x254950)break;else _0x2e7eac['push'](_0x2e7eac['shift']());}catch(_0x14eec6){_0x2e7eac['push'](_0x2e7eac['shift']());}}}(_0x11cf,0xa3b12));function _0x4a4c(_0x435a50,_0x39bc49){const _0x11cf43=_0x11cf();return _0x4a4c=function(_0x4a4c74,_0x1cae78){_0x4a4c74=_0x4a4c74-0x110;let _0x282446=_0x11cf43[_0x4a4c74];return _0x282446;},_0x4a4c(_0x435a50,_0x39bc49);}var __awaiter=this&&this[_0x14f00a(0x127)]||function(_0x27cb6a,_0x97b4a6,_0x10a84b,_0xe44312){function _0x5e47c3(_0x56324a){return _0x56324a instanceof _0x10a84b?_0x56324a:new _0x10a84b(function(_0x1d8d87){_0x1d8d87(_0x56324a);});}return new(_0x10a84b||(_0x10a84b=Promise))(function(_0x475884,_0x42d436){const _0x48927a=_0x4a4c;function _0x187d60(_0x3b53d8){const _0x1617ff=_0x4a4c;try{_0x145bfd(_0xe44312[_0x1617ff(0x11f)](_0x3b53d8));}catch(_0x1faf91){_0x42d436(_0x1faf91);}}function _0x562ae4(_0x14455d){try{_0x145bfd(_0xe44312['throw'](_0x14455d));}catch(_0xe7a3d0){_0x42d436(_0xe7a3d0);}}function _0x145bfd(_0x10a15a){const _0x93ed3c=_0x4a4c;_0x10a15a[_0x93ed3c(0x13b)]?_0x475884(_0x10a15a[_0x93ed3c(0x135)]):_0x5e47c3(_0x10a15a['value'])[_0x93ed3c(0x139)](_0x187d60,_0x562ae4);}_0x145bfd((_0xe44312=_0xe44312[_0x48927a(0x11c)](_0x27cb6a,_0x97b4a6||[]))[_0x48927a(0x11f)]());});},__importDefault=this&&this[_0x14f00a(0x138)]||function(_0x15f49c){const _0x493726=_0x14f00a;return _0x15f49c&&_0x15f49c[_0x493726(0x133)]?_0x15f49c:{'default':_0x15f49c};};function _0x11cf(){const _0x2660d7=['@aws-sdk/client-s3','__esModule','NextContinuationToken','value','default','165tzFHqG','__importDefault','then','S3Client','done','187490LvuXWc','\x27\x20from\x20S3:\x0a','s3Client','443065bxMsTW','6Bdvtmg','filter','Readable','AwsS3ImportHelper','getOutput','6047566joZWdR','validateAccess','HeadBucketCommand','GetObjectCommand','18SWfzRR','Error\x20retrieving\x20a\x20file\x20with\x20key\x20\x27','HttpHandler','Contents','defineProperty','3228644oCfnon','join','Key','apply','message','2377882myLISa','next','send','Cannot\x20get\x20stream\x20for\x20a\x20file:\x20','path','map','ListObjectsCommand','Open','unzipper','__awaiter','10400408gIASrX','228MRJVAV','3xshhyf','ListObjectsV2Command','Body','bucketName','9arWitj','stream','386434SqnqXW','basePrefix'];_0x11cf=function(){return _0x2660d7;};return _0x11cf();}Object[_0x14f00a(0x118)](exports,_0x14f00a(0x133),{'value':!![]}),exports[_0x14f00a(0x143)]=void 0x0;const init_1=require('../init'),client_s3_1=require(_0x14f00a(0x132)),path_1=__importDefault(require(_0x14f00a(0x122))),stream_1=require(_0x14f00a(0x12f)),unzipper_1=__importDefault(require(_0x14f00a(0x126)));class AwsS3ImportHelper{constructor({basePrefix:_0x5788f9,bucketName:_0xbddd7c,region:_0x527fac,credentials:_0xa653c2}){const _0x4b0e61=_0x14f00a;this['basePrefix']=_0x5788f9!==null&&_0x5788f9!==void 0x0?_0x5788f9:'',this[_0x4b0e61(0x12d)]=_0xbddd7c,this['s3Client']=new client_s3_1[(_0x4b0e61(0x13a))]({'region':_0x527fac,'credentials':_0xa653c2,'requestHandler':new init_1[(_0x4b0e61(0x116))]()});}[_0x14f00a(0x144)](_0x174758){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3fe640=_0x4a4c;try{const _0x122f66=new client_s3_1[(_0x3fe640(0x113))]({'Bucket':this[_0x3fe640(0x12d)],'Key':_0x174758});return yield this[_0x3fe640(0x13e)][_0x3fe640(0x120)](_0x122f66);}catch(_0x30abbb){throw new Error(_0x3fe640(0x115)+_0x174758+_0x3fe640(0x13d)+_0x30abbb[_0x3fe640(0x11d)]);}});}['ls'](_0x556256){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x309bff=_0x4a4c,{prefix:_0x3fc218,delimiter:_0x5ac5dd}=_0x556256!==null&&_0x556256!==void 0x0?_0x556256:{},_0x8b2166=path_1[_0x309bff(0x136)][_0x309bff(0x11a)](this[_0x309bff(0x131)],_0x3fc218!==null&&_0x3fc218!==void 0x0?_0x3fc218:''),_0x160b4b=new client_s3_1[(_0x309bff(0x124))]({'Prefix':_0x8b2166,'Bucket':this[_0x309bff(0x12d)],'Delimiter':_0x5ac5dd});return this['s3Client'][_0x309bff(0x120)](_0x160b4b);});}['fetchKeys'](_0x37db6e){var _0x9353de,_0x209127;return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3a6230=_0x4a4c,{prefix:_0x18e608,delimiter:_0x572a0d}=_0x37db6e!==null&&_0x37db6e!==void 0x0?_0x37db6e:{},_0x235083=path_1[_0x3a6230(0x136)][_0x3a6230(0x11a)](this[_0x3a6230(0x131)],_0x18e608!==null&&_0x18e608!==void 0x0?_0x18e608:''),_0x4313df=[];let _0xd3cd8c;do{const _0x2fd074={'Bucket':this[_0x3a6230(0x12d)],'Prefix':_0x235083,'Delimiter':_0x572a0d,'ContinuationToken':_0xd3cd8c},_0x4b8257=yield this['s3Client'][_0x3a6230(0x120)](new client_s3_1[(_0x3a6230(0x12b))](_0x2fd074)),_0x13abc0=(_0x209127=(_0x9353de=_0x4b8257[_0x3a6230(0x117)])===null||_0x9353de===void 0x0?void 0x0:_0x9353de[_0x3a6230(0x123)](_0x3bfe08=>_0x3bfe08[_0x3a6230(0x11b)])[_0x3a6230(0x141)](Boolean))!==null&&_0x209127!==void 0x0?_0x209127:[];_0x4313df['push'](..._0x13abc0),_0xd3cd8c=_0x4b8257[_0x3a6230(0x134)];}while(_0xd3cd8c);return _0x4313df;});}[_0x14f00a(0x12f)](_0x214718){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x499fec=_0x4a4c,_0x14a00b=yield this[_0x499fec(0x144)](_0x214718);if(_0x14a00b['Body']instanceof stream_1[_0x499fec(0x142)])return _0x14a00b[_0x499fec(0x12c)];throw new Error(_0x499fec(0x121)+_0x214718);});}['getZipFileMeta'](_0x13bb55){const _0x4e1604=_0x14f00a;return unzipper_1[_0x4e1604(0x136)][_0x4e1604(0x125)]['s3_v3'](this[_0x4e1604(0x13e)],{'Bucket':this[_0x4e1604(0x12d)],'Key':_0x13bb55});}[_0x14f00a(0x111)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3479c7=_0x4a4c;try{const _0x57685e=new client_s3_1[(_0x3479c7(0x112))]({'Bucket':this[_0x3479c7(0x12d)]});yield this[_0x3479c7(0x13e)][_0x3479c7(0x120)](_0x57685e);}catch(_0x59ee4f){throw new Error('Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20'+_0x59ee4f[_0x3479c7(0x11d)]);}});}}exports[_0x14f00a(0x143)]=AwsS3ImportHelper;
1
+ 'use strict';const _0x555927=_0x33b0;(function(_0x24b011,_0x391e0b){const _0x52516d=_0x33b0,_0x51f782=_0x24b011();while(!![]){try{const _0x376485=parseInt(_0x52516d(0x112))/0x1+parseInt(_0x52516d(0x116))/0x2+parseInt(_0x52516d(0x123))/0x3+-parseInt(_0x52516d(0x11f))/0x4+-parseInt(_0x52516d(0x10a))/0x5*(-parseInt(_0x52516d(0x10c))/0x6)+parseInt(_0x52516d(0x10f))/0x7*(-parseInt(_0x52516d(0x106))/0x8)+parseInt(_0x52516d(0xfe))/0x9;if(_0x376485===_0x391e0b)break;else _0x51f782['push'](_0x51f782['shift']());}catch(_0x2c510f){_0x51f782['push'](_0x51f782['shift']());}}}(_0x46c7,0x865c5));var __awaiter=this&&this['__awaiter']||function(_0x1e3a2b,_0x4b9cba,_0x1e378b,_0x399428){function _0x2de186(_0x4f44fd){return _0x4f44fd instanceof _0x1e378b?_0x4f44fd:new _0x1e378b(function(_0x92384){_0x92384(_0x4f44fd);});}return new(_0x1e378b||(_0x1e378b=Promise))(function(_0x3d5c91,_0x2070aa){const _0x51a7e2=_0x33b0;function _0x51a1d7(_0x436481){const _0x1e7286=_0x33b0;try{_0x540e19(_0x399428[_0x1e7286(0x113)](_0x436481));}catch(_0x33bd31){_0x2070aa(_0x33bd31);}}function _0x4985d4(_0x510e74){const _0x1236e1=_0x33b0;try{_0x540e19(_0x399428[_0x1236e1(0x120)](_0x510e74));}catch(_0x4570f6){_0x2070aa(_0x4570f6);}}function _0x540e19(_0x248654){const _0x1dba5c=_0x33b0;_0x248654[_0x1dba5c(0x114)]?_0x3d5c91(_0x248654['value']):_0x2de186(_0x248654[_0x1dba5c(0x117)])[_0x1dba5c(0x108)](_0x51a1d7,_0x4985d4);}_0x540e19((_0x399428=_0x399428[_0x51a7e2(0x11b)](_0x1e3a2b,_0x4b9cba||[]))[_0x51a7e2(0x113)]());});},__importDefault=this&&this['__importDefault']||function(_0x23c813){const _0x3afc80=_0x33b0;return _0x23c813&&_0x23c813[_0x3afc80(0x125)]?_0x23c813:{'default':_0x23c813};};Object[_0x555927(0x119)](exports,'__esModule',{'value':!![]}),exports[_0x555927(0x124)]=void 0x0;function _0x33b0(_0x3b11c5,_0x4b489b){_0x3b11c5=_0x3b11c5-0xfe;const _0x46c7a0=_0x46c7();let _0x2ebb8f=_0x46c7a0[_0x3b11c5];return _0x2ebb8f;}const init_1=require(_0x555927(0x109)),client_s3_1=require('@aws-sdk/client-s3'),path_1=__importDefault(require(_0x555927(0x111))),stream_1=require('stream'),unzipper_1=__importDefault(require(_0x555927(0x12b)));function _0x46c7(){const _0x36e75d=['HeadBucketCommand','421905YCjGDj','AwsS3ImportHelper','__esModule','Readable','getZipFileMeta','bucketName','Body','stream','unzipper','join','7708077DdeVlb','Error\x20retrieving\x20a\x20file\x20with\x20key\x20\x27','Open','Key','send','filter','s3_v3','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','3450256QvPqLT','NextContinuationToken','then','../init','1224865KFdafs','ListObjectsV2Command','6dxjSLc','Contents','GetObjectCommand','14qOJiSt','message','path','73192oMzlAa','next','done','ListObjectsCommand','1028546EpfnZq','value','push','defineProperty','basePrefix','apply','map','s3Client','S3Client','1666484KXYLWK','throw','default'];_0x46c7=function(){return _0x36e75d;};return _0x46c7();}class AwsS3ImportHelper{constructor({basePrefix:_0x19cde6,bucketName:_0x28b27b,region:_0x49971e,credentials:_0x26d323}){const _0x17b517=_0x555927;this[_0x17b517(0x11a)]=_0x19cde6!==null&&_0x19cde6!==void 0x0?_0x19cde6:'',this[_0x17b517(0x128)]=_0x28b27b,this[_0x17b517(0x11d)]=new client_s3_1[(_0x17b517(0x11e))]({'region':_0x49971e,'credentials':_0x26d323,'requestHandler':new init_1['HttpHandler']()});}['getOutput'](_0x3e6eed){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5c5652=_0x33b0;try{const _0x454e2e=new client_s3_1[(_0x5c5652(0x10e))]({'Bucket':this[_0x5c5652(0x128)],'Key':_0x3e6eed});return yield this[_0x5c5652(0x11d)]['send'](_0x454e2e);}catch(_0x262a64){throw new Error(_0x5c5652(0xff)+_0x3e6eed+'\x27\x20from\x20S3:\x0a'+_0x262a64['message']);}});}['ls'](_0x1da5a1){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x223d73=_0x33b0,{prefix:_0x488a3e,delimiter:_0x5b24b1}=_0x1da5a1!==null&&_0x1da5a1!==void 0x0?_0x1da5a1:{},_0xc5b03b=path_1[_0x223d73(0x121)][_0x223d73(0x12c)](this[_0x223d73(0x11a)],_0x488a3e!==null&&_0x488a3e!==void 0x0?_0x488a3e:''),_0x532e8e=new client_s3_1[(_0x223d73(0x115))]({'Prefix':_0xc5b03b,'Bucket':this[_0x223d73(0x128)],'Delimiter':_0x5b24b1});return this[_0x223d73(0x11d)][_0x223d73(0x102)](_0x532e8e);});}['fetchKeys'](_0x182ed2){var _0x440e5f,_0x5cc0a4;return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4beb0a=_0x33b0,{prefix:_0x43d5e4,delimiter:_0x21b9a7}=_0x182ed2!==null&&_0x182ed2!==void 0x0?_0x182ed2:{},_0x562959=path_1[_0x4beb0a(0x121)][_0x4beb0a(0x12c)](this[_0x4beb0a(0x11a)],_0x43d5e4!==null&&_0x43d5e4!==void 0x0?_0x43d5e4:''),_0x584bb7=[];let _0xaafd5;do{const _0x2a6e85={'Bucket':this[_0x4beb0a(0x128)],'Prefix':_0x562959,'Delimiter':_0x21b9a7,'ContinuationToken':_0xaafd5},_0x4626d8=yield this[_0x4beb0a(0x11d)][_0x4beb0a(0x102)](new client_s3_1[(_0x4beb0a(0x10b))](_0x2a6e85)),_0x28eb42=(_0x5cc0a4=(_0x440e5f=_0x4626d8[_0x4beb0a(0x10d)])===null||_0x440e5f===void 0x0?void 0x0:_0x440e5f[_0x4beb0a(0x11c)](_0x42eef6=>_0x42eef6[_0x4beb0a(0x101)])[_0x4beb0a(0x103)](Boolean))!==null&&_0x5cc0a4!==void 0x0?_0x5cc0a4:[];_0x584bb7[_0x4beb0a(0x118)](..._0x28eb42),_0xaafd5=_0x4626d8[_0x4beb0a(0x107)];}while(_0xaafd5);return _0x584bb7;});}[_0x555927(0x12a)](_0x414bc2){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1dba48=_0x33b0,_0x170e78=yield this['getOutput'](_0x414bc2);if(_0x170e78[_0x1dba48(0x129)]instanceof stream_1[_0x1dba48(0x126)])return _0x170e78[_0x1dba48(0x129)];throw new Error('Cannot\x20get\x20stream\x20for\x20a\x20file:\x20'+_0x414bc2);});}[_0x555927(0x127)](_0x3cb8a5){const _0x53d0ff=_0x555927;return unzipper_1[_0x53d0ff(0x121)][_0x53d0ff(0x100)][_0x53d0ff(0x104)](this['s3Client'],{'Bucket':this[_0x53d0ff(0x128)],'Key':_0x3cb8a5});}['validateAccess'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1e5b9d=_0x33b0;try{const _0x1a131b=new client_s3_1[(_0x1e5b9d(0x122))]({'Bucket':this[_0x1e5b9d(0x128)]});yield this[_0x1e5b9d(0x11d)][_0x1e5b9d(0x102)](_0x1a131b);}catch(_0x41ee5b){throw new Error(_0x1e5b9d(0x105)+_0x41ee5b[_0x1e5b9d(0x110)]);}});}}exports[_0x555927(0x124)]=AwsS3ImportHelper;
@@ -1 +1 @@
1
- 'use strict';function _0x3ecd(){const _0xcf98ed=['fetchFileBody','createS3Client','RetrieveStatus','s3Client','88aIWDWy','sep','defineProperty','Completed','../types/aws.types','errorMessage','Body\x20is\x20not\x20supported\x20type','throw','2994026Xzctlk','next','399663gBGRWB','join','updateFilesRetrieveStatus','Exception','StorageClass','6846810usoHyA','waitUntilRetrieveDone','NeedRestore','AwsS3Retrieve','BaseRetrieve','catch','tryRestoreFilesFromCloud','RETRIEVE_STATUS_CHECK_TIMEOUT','Restoring','AwsFileRetrieveStatus','send','../utils/cache.utils','../types/retrieve-status.enum','runRestoreFiles','default','some','RestoreObjectCommand','checkFilesRetrieveStatus','extractFileRetrieveStatusFromFileInfo','timers/promises','path','HeadObjectCommand','Uninitialized','credentials','CHECK_RESTORED_TIMEOUT','isDone','filter','apply','bucketName','No\x20files\x20left\x20to\x20execute.','files','init','createCacheFileStream','4196640jIfCSm','stream','InProgress','message','length','done','AwsS3Utils','status','execute','2030972LZwOSZ','../utils/aws-s3.utils','6BidDXq','posix','setTimeout','cachePath','value','restoreFile','49178MdkDJS','CacheUtils','shift','1661361aCgphm','split','34tlyMii','then'];_0x3ecd=function(){return _0xcf98ed;};return _0x3ecd();}const _0xf531a6=_0x13ba;function _0x13ba(_0x3f3e06,_0xd31381){const _0x3ecd12=_0x3ecd();return _0x13ba=function(_0x13ba44,_0x12185c){_0x13ba44=_0x13ba44-0xa3;let _0x567b73=_0x3ecd12[_0x13ba44];return _0x567b73;},_0x13ba(_0x3f3e06,_0xd31381);}(function(_0x17cc75,_0x2034ac){const _0x4a1002=_0x13ba,_0x1e033c=_0x17cc75();while(!![]){try{const _0x46c254=-parseInt(_0x4a1002(0xc1))/0x1*(-parseInt(_0x4a1002(0xbc))/0x2)+-parseInt(_0x4a1002(0xbf))/0x3+parseInt(_0x4a1002(0xb4))/0x4+-parseInt(_0x4a1002(0xab))/0x5+-parseInt(_0x4a1002(0xb6))/0x6*(-parseInt(_0x4a1002(0xcf))/0x7)+-parseInt(_0x4a1002(0xc7))/0x8*(parseInt(_0x4a1002(0xd1))/0x9)+parseInt(_0x4a1002(0xd6))/0xa;if(_0x46c254===_0x2034ac)break;else _0x1e033c['push'](_0x1e033c['shift']());}catch(_0x3e5f20){_0x1e033c['push'](_0x1e033c['shift']());}}}(_0x3ecd,0x8c470));var __awaiter=this&&this['__awaiter']||function(_0x1ea54a,_0x2133dc,_0x496e4d,_0x2a9a19){function _0x373d30(_0x45384f){return _0x45384f instanceof _0x496e4d?_0x45384f:new _0x496e4d(function(_0x1452b9){_0x1452b9(_0x45384f);});}return new(_0x496e4d||(_0x496e4d=Promise))(function(_0x4864d8,_0x43c79f){const _0x38ee03=_0x13ba;function _0x206eff(_0xce75fe){const _0x5837c5=_0x13ba;try{_0x5e09da(_0x2a9a19[_0x5837c5(0xd0)](_0xce75fe));}catch(_0x3baf25){_0x43c79f(_0x3baf25);}}function _0x4fb50c(_0x2c718f){const _0x5c82c2=_0x13ba;try{_0x5e09da(_0x2a9a19[_0x5c82c2(0xce)](_0x2c718f));}catch(_0xcf241c){_0x43c79f(_0xcf241c);}}function _0x5e09da(_0x5e5228){const _0xf6dfe5=_0x13ba;_0x5e5228[_0xf6dfe5(0xb0)]?_0x4864d8(_0x5e5228['value']):_0x373d30(_0x5e5228[_0xf6dfe5(0xba)])[_0xf6dfe5(0xc2)](_0x206eff,_0x4fb50c);}_0x5e09da((_0x2a9a19=_0x2a9a19[_0x38ee03(0xa5)](_0x1ea54a,_0x2133dc||[]))['next']());});},__importDefault=this&&this['__importDefault']||function(_0x4a4911){return _0x4a4911&&_0x4a4911['__esModule']?_0x4a4911:{'default':_0x4a4911};};Object[_0xf531a6(0xc9)](exports,'__esModule',{'value':!![]}),exports[_0xf531a6(0xd9)]=void 0x0;const path_1=__importDefault(require('path')),promises_1=require(_0xf531a6(0xe9)),aws_s3_utils_1=require(_0xf531a6(0xb5)),_1=require('./'),aws_types_1=require(_0xf531a6(0xcb)),retrieve_status_enum_1=require(_0xf531a6(0xe2)),stream_1=require('stream'),client_s3_1=require('@aws-sdk/client-s3'),cache_utils_1=require(_0xf531a6(0xe1));class AwsS3Retrieve extends _1[_0xf531a6(0xda)]{constructor(_0x1b9bb0,_0x2070ef,_0x2049e6,_0x22060f,_0x3bd402,_0x385c40){const _0x4eb6a2=_0xf531a6,_0x528ec2=_0x2070ef[_0x4eb6a2(0xc0)](path_1[_0x4eb6a2(0xe4)][_0x4eb6a2(0xc8)])[_0x4eb6a2(0xd2)](path_1[_0x4eb6a2(0xe4)]['posix'][_0x4eb6a2(0xc8)]);super(_0x1b9bb0,_0x528ec2),this['restoreType']=_0x2049e6,this[_0x4eb6a2(0xb9)]=_0x22060f,this[_0x4eb6a2(0xee)]=0x7530,this['RETRIEVE_STATUS_CHECK_TIMEOUT']=0x3e8,this[_0x4eb6a2(0xa8)]=[],this[_0x4eb6a2(0xc6)]=_0x385c40||aws_s3_utils_1[_0x4eb6a2(0xb1)][_0x4eb6a2(0xc4)](_0x1b9bb0,_0x3bd402);}[_0xf531a6(0xd7)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1e2275=_0x13ba;this['status']===retrieve_status_enum_1[_0x1e2275(0xc5)][_0x1e2275(0xec)]&&(yield this[_0x1e2275(0xa9)](),yield this[_0x1e2275(0xd7)]());switch(this[_0x1e2275(0xb2)]){case retrieve_status_enum_1[_0x1e2275(0xc5)][_0x1e2275(0xad)]:yield(0x0,promises_1[_0x1e2275(0xb8)])(this[_0x1e2275(0xdd)]),yield this['waitUntilRetrieveDone']();break;case retrieve_status_enum_1[_0x1e2275(0xc5)][_0x1e2275(0xd4)]:throw new Error(this['errorMessage']);}});}[_0xf531a6(0xb3)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4b381=_0x13ba;if(this[_0x4b381(0xb2)]===retrieve_status_enum_1[_0x4b381(0xc5)]['InProgress'])throw new Error('Cannot\x20execute\x20when\x20retrieve\x20in\x20progress.');if(this[_0x4b381(0xa3)]||!this[_0x4b381(0xa8)][_0x4b381(0xaf)])throw new Error(_0x4b381(0xa7));const _0x55d0fb=this[_0x4b381(0xa8)][_0x4b381(0xbe)]();let _0x5618a7;return!this[_0x4b381(0xb9)]?_0x5618a7=yield this[_0x4b381(0xc3)](_0x55d0fb[_0x4b381(0xea)]):_0x5618a7=yield cache_utils_1[_0x4b381(0xbd)][_0x4b381(0xaa)](yield this[_0x4b381(0xc3)](_0x55d0fb[_0x4b381(0xea)]),this[_0x4b381(0xb9)]),this[_0x4b381(0xa3)]=!this[_0x4b381(0xa8)][_0x4b381(0xaf)],{'path':this[_0x4b381(0xea)][_0x4b381(0xc0)](path_1[_0x4b381(0xe4)][_0x4b381(0xb7)]['sep'])['join'](path_1[_0x4b381(0xe4)][_0x4b381(0xc8)]),'content':_0x5618a7};});}['fetchFileInfo'](_0xaa0566){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3eee8a=_0x13ba,_0xb652c=new client_s3_1[(_0x3eee8a(0xeb))]({'Bucket':this[_0x3eee8a(0xed)][_0x3eee8a(0xa6)],'Key':_0xaa0566}),{StorageClass:_0x303bfa,Restore:_0x38c27b}=yield this[_0x3eee8a(0xc6)][_0x3eee8a(0xe0)](_0xb652c);return{'StorageClass':_0x303bfa,'Restore':_0x38c27b};});}[_0xf531a6(0xbb)](_0xaaad4c){return __awaiter(this,void 0x0,void 0x0,function*(){const _0xc5fcd7=_0x13ba,_0x48a720=new client_s3_1[(_0xc5fcd7(0xe6))]({'Bucket':this[_0xc5fcd7(0xed)]['bucketName'],'Key':_0xaaad4c,'RestoreRequest':{'Days':0x1,'GlacierJobParameters':{'Tier':this['restoreType']}}});yield this[_0xc5fcd7(0xc6)][_0xc5fcd7(0xe0)](_0x48a720);});}[_0xf531a6(0xc3)](_0x78e512){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x43f5f3=_0x13ba,_0x5679ad=new client_s3_1['GetObjectCommand']({'Bucket':this[_0x43f5f3(0xed)][_0x43f5f3(0xa6)],'Key':_0x78e512,'ResponseContentType':_0x43f5f3(0xac)}),{Body:_0xf1f3cd}=yield this[_0x43f5f3(0xc6)]['send'](_0x5679ad);if(_0xf1f3cd instanceof stream_1['Readable'])return _0xf1f3cd;throw new Error(_0x43f5f3(0xcd));});}[_0xf531a6(0xa9)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1af053=_0x13ba;yield this['tryRestoreFilesFromCloud'](),yield this['runRestoreFiles'](),this[_0x1af053(0xb2)]=retrieve_status_enum_1[_0x1af053(0xc5)][_0x1af053(0xad)],this[_0x1af053(0xe7)]()[_0x1af053(0xdb)](_0x4f7e96=>{const _0x539d90=_0x1af053;this[_0x539d90(0xb2)]=retrieve_status_enum_1[_0x539d90(0xc5)]['Exception'],this[_0x539d90(0xcc)]=_0x4f7e96[_0x539d90(0xae)];});});}[_0xf531a6(0xdc)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0xd20f47=_0x13ba,_0x103130=yield aws_s3_utils_1[_0xd20f47(0xb1)]['getFilesPaths'](this[_0xd20f47(0xea)],this['credentials'][_0xd20f47(0xa6)],this[_0xd20f47(0xc6)]);for(const _0x433c3c of _0x103130){const _0x10264a=yield this['fetchFileInfo'](_0x433c3c);this[_0xd20f47(0xa8)]['push']({'path':_0x433c3c,'class':_0x10264a[_0xd20f47(0xd5)]||'STANDARD','status':aws_s3_utils_1[_0xd20f47(0xb1)][_0xd20f47(0xe8)](_0x10264a)});}});}[_0xf531a6(0xe3)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3a24f4=_0x13ba,_0x19ddfc=this[_0x3a24f4(0xa8)][_0x3a24f4(0xa4)](_0x14cc1f=>_0x14cc1f[_0x3a24f4(0xb2)]===aws_types_1[_0x3a24f4(0xdf)][_0x3a24f4(0xd8)]);for(const _0x333e0d of _0x19ddfc){yield this[_0x3a24f4(0xbb)](_0x333e0d[_0x3a24f4(0xea)]),_0x333e0d[_0x3a24f4(0xb2)]=aws_types_1['AwsFileRetrieveStatus'][_0x3a24f4(0xde)];}});}[_0xf531a6(0xd3)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x486c2a=_0x13ba,_0x2a575e=this[_0x486c2a(0xa8)][_0x486c2a(0xa4)](_0x10753d=>_0x10753d[_0x486c2a(0xb2)]===aws_types_1[_0x486c2a(0xdf)]['Restoring']);for(const _0x1c2802 of _0x2a575e){const _0x452b8f=yield this['fetchFileInfo'](_0x1c2802[_0x486c2a(0xea)]);_0x1c2802[_0x486c2a(0xb2)]=aws_s3_utils_1[_0x486c2a(0xb1)]['extractFileRetrieveStatusFromFileInfo'](_0x452b8f);}});}[_0xf531a6(0xe7)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3307fb=_0x13ba,_0xfa3cc1=this[_0x3307fb(0xa8)][_0x3307fb(0xe5)](_0x4f5158=>_0x4f5158[_0x3307fb(0xb2)]===aws_types_1[_0x3307fb(0xdf)][_0x3307fb(0xde)]);this[_0x3307fb(0xb2)]=_0xfa3cc1?retrieve_status_enum_1[_0x3307fb(0xc5)][_0x3307fb(0xad)]:retrieve_status_enum_1[_0x3307fb(0xc5)][_0x3307fb(0xca)],_0xfa3cc1&&(yield(0x0,promises_1['setTimeout'])(this[_0x3307fb(0xee)]),yield this['updateFilesRetrieveStatus'](),yield this[_0x3307fb(0xe7)]());});}}exports[_0xf531a6(0xd9)]=AwsS3Retrieve;
1
+ 'use strict';const _0x387ed6=_0xe449;(function(_0x121fa,_0x1c061d){const _0x6ea426=_0xe449,_0x331ef2=_0x121fa();while(!![]){try{const _0x44a0fb=parseInt(_0x6ea426(0xb8))/0x1+parseInt(_0x6ea426(0xcf))/0x2*(parseInt(_0x6ea426(0x90))/0x3)+-parseInt(_0x6ea426(0xa9))/0x4+-parseInt(_0x6ea426(0xd5))/0x5*(-parseInt(_0x6ea426(0xbb))/0x6)+parseInt(_0x6ea426(0xbd))/0x7*(parseInt(_0x6ea426(0xd6))/0x8)+-parseInt(_0x6ea426(0xb2))/0x9*(-parseInt(_0x6ea426(0x9a))/0xa)+-parseInt(_0x6ea426(0xcc))/0xb*(parseInt(_0x6ea426(0x99))/0xc);if(_0x44a0fb===_0x1c061d)break;else _0x331ef2['push'](_0x331ef2['shift']());}catch(_0x2f0530){_0x331ef2['push'](_0x331ef2['shift']());}}}(_0x5f2a,0x8fb2e));var __awaiter=this&&this[_0x387ed6(0xd2)]||function(_0x48e378,_0x12d49e,_0x5e6474,_0x30a3f4){function _0x572064(_0x4c1856){return _0x4c1856 instanceof _0x5e6474?_0x4c1856:new _0x5e6474(function(_0x2537f1){_0x2537f1(_0x4c1856);});}return new(_0x5e6474||(_0x5e6474=Promise))(function(_0x310eaf,_0x4112ab){const _0x486e74=_0xe449;function _0x612aa0(_0x3592cc){try{_0x3db625(_0x30a3f4['next'](_0x3592cc));}catch(_0x16daee){_0x4112ab(_0x16daee);}}function _0x1cc5b6(_0xa4a68a){const _0xb3e97d=_0xe449;try{_0x3db625(_0x30a3f4[_0xb3e97d(0xaa)](_0xa4a68a));}catch(_0x3dd79b){_0x4112ab(_0x3dd79b);}}function _0x3db625(_0x20ee3d){const _0x32b305=_0xe449;_0x20ee3d[_0x32b305(0xb9)]?_0x310eaf(_0x20ee3d[_0x32b305(0xae)]):_0x572064(_0x20ee3d[_0x32b305(0xae)])['then'](_0x612aa0,_0x1cc5b6);}_0x3db625((_0x30a3f4=_0x30a3f4[_0x486e74(0xa7)](_0x48e378,_0x12d49e||[]))[_0x486e74(0xa3)]());});},__importDefault=this&&this[_0x387ed6(0xc9)]||function(_0x5e5467){const _0x1b09db=_0x387ed6;return _0x5e5467&&_0x5e5467[_0x1b09db(0x9f)]?_0x5e5467:{'default':_0x5e5467};};function _0xe449(_0x1b3b03,_0x21b9d6){_0x1b3b03=_0x1b3b03-0x8d;const _0x5f2a46=_0x5f2a();let _0xe44967=_0x5f2a46[_0x1b3b03];return _0xe44967;}Object[_0x387ed6(0xb3)](exports,'__esModule',{'value':!![]}),exports[_0x387ed6(0xb0)]=void 0x0;const path_1=__importDefault(require(_0x387ed6(0xc7))),promises_1=require(_0x387ed6(0xa0)),aws_s3_utils_1=require(_0x387ed6(0xa2)),_1=require('./'),aws_types_1=require(_0x387ed6(0xc4)),retrieve_status_enum_1=require('../types/retrieve-status.enum'),stream_1=require('stream'),client_s3_1=require(_0x387ed6(0xce)),cache_utils_1=require(_0x387ed6(0xc6));function _0x5f2a(){const _0x3edf8b=['extractFileRetrieveStatusFromFileInfo','bucketName','message','AwsS3Utils','1115902qRaPnf','done','CHECK_RESTORED_TIMEOUT','906fdBuVh','isDone','6975479pRIDcs','restoreType','errorMessage','cachePath','Completed','send','checkFilesRetrieveStatus','../types/aws.types','Cannot\x20execute\x20when\x20retrieve\x20in\x20progress.','../utils/cache.utils','path','createS3Client','__importDefault','some','posix','1721236KVRAdf','split','@aws-sdk/client-s3','1506072TZEgbr','NeedRestore','execute','__awaiter','updateFilesRetrieveStatus','RETRIEVE_STATUS_CHECK_TIMEOUT','10755gDRlHA','8wiNcZB','filter','waitUntilRetrieveDone','Restoring','AwsFileRetrieveStatus','Uninitialized','default','fetchFileInfo','runRestoreFiles','setTimeout','init','3BneCcu','No\x20files\x20left\x20to\x20execute.','sep','status','fetchFileBody','CacheUtils','BaseRetrieve','createCacheFileStream','restoreFile','204BqGHaD','9000nJCAWa','Body\x20is\x20not\x20supported\x20type','RestoreObjectCommand','StorageClass','RetrieveStatus','__esModule','timers/promises','files','../utils/aws-s3.utils','next','Readable','InProgress','join','apply','Exception','1379016DDfALC','throw','catch','credentials','tryRestoreFilesFromCloud','value','shift','AwsS3Retrieve','STANDARD','4032TFXDSF','defineProperty'];_0x5f2a=function(){return _0x3edf8b;};return _0x5f2a();}class AwsS3Retrieve extends _1[_0x387ed6(0x96)]{constructor(_0x2ac768,_0x44c813,_0x45ad07,_0xa4206b,_0x2320f9,_0x40cb98){const _0x599fc7=_0x387ed6,_0x5ce868=_0x44c813[_0x599fc7(0xcd)](path_1[_0x599fc7(0xdc)][_0x599fc7(0x92)])[_0x599fc7(0xa6)](path_1[_0x599fc7(0xdc)][_0x599fc7(0xcb)][_0x599fc7(0x92)]);super(_0x2ac768,_0x5ce868),this[_0x599fc7(0xbe)]=_0x45ad07,this[_0x599fc7(0xc0)]=_0xa4206b,this[_0x599fc7(0xba)]=0x7530,this['RETRIEVE_STATUS_CHECK_TIMEOUT']=0x3e8,this['files']=[],this['s3Client']=_0x40cb98||aws_s3_utils_1[_0x599fc7(0xb7)][_0x599fc7(0xc8)](_0x2ac768,_0x2320f9);}['waitUntilRetrieveDone'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2ef43b=_0xe449;this['status']===retrieve_status_enum_1['RetrieveStatus'][_0x2ef43b(0xdb)]&&(yield this[_0x2ef43b(0x8f)](),yield this[_0x2ef43b(0xd8)]());switch(this[_0x2ef43b(0x93)]){case retrieve_status_enum_1[_0x2ef43b(0x9e)][_0x2ef43b(0xa5)]:yield(0x0,promises_1[_0x2ef43b(0x8e)])(this[_0x2ef43b(0xd4)]),yield this[_0x2ef43b(0xd8)]();break;case retrieve_status_enum_1[_0x2ef43b(0x9e)][_0x2ef43b(0xa8)]:throw new Error(this['errorMessage']);}});}[_0x387ed6(0xd1)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x50467c=_0xe449;if(this[_0x50467c(0x93)]===retrieve_status_enum_1[_0x50467c(0x9e)][_0x50467c(0xa5)])throw new Error(_0x50467c(0xc5));if(this[_0x50467c(0xbc)]||!this['files']['length'])throw new Error(_0x50467c(0x91));const _0x564ff6=this['files'][_0x50467c(0xaf)]();let _0x5e9c66;return!this[_0x50467c(0xc0)]?_0x5e9c66=yield this[_0x50467c(0x94)](_0x564ff6[_0x50467c(0xc7)]):_0x5e9c66=yield cache_utils_1[_0x50467c(0x95)][_0x50467c(0x97)](yield this[_0x50467c(0x94)](_0x564ff6[_0x50467c(0xc7)]),this[_0x50467c(0xc0)]),this[_0x50467c(0xbc)]=!this['files']['length'],{'path':this[_0x50467c(0xc7)]['split'](path_1[_0x50467c(0xdc)]['posix'][_0x50467c(0x92)])['join'](path_1[_0x50467c(0xdc)][_0x50467c(0x92)]),'content':_0x5e9c66};});}[_0x387ed6(0xdd)](_0x3fb931){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4458d8=_0xe449,_0x4a3432=new client_s3_1['HeadObjectCommand']({'Bucket':this['credentials']['bucketName'],'Key':_0x3fb931}),{StorageClass:_0x1b2373,Restore:_0x5b7ad9}=yield this['s3Client'][_0x4458d8(0xc2)](_0x4a3432);return{'StorageClass':_0x1b2373,'Restore':_0x5b7ad9};});}[_0x387ed6(0x98)](_0x39909e){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x31fb65=_0xe449,_0x190973=new client_s3_1[(_0x31fb65(0x9c))]({'Bucket':this[_0x31fb65(0xac)]['bucketName'],'Key':_0x39909e,'RestoreRequest':{'Days':0x1,'GlacierJobParameters':{'Tier':this[_0x31fb65(0xbe)]}}});yield this['s3Client'][_0x31fb65(0xc2)](_0x190973);});}[_0x387ed6(0x94)](_0x2e0928){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3b6a95=_0xe449,_0x852b88=new client_s3_1['GetObjectCommand']({'Bucket':this[_0x3b6a95(0xac)]['bucketName'],'Key':_0x2e0928,'ResponseContentType':'stream'}),{Body:_0x1e9690}=yield this['s3Client'][_0x3b6a95(0xc2)](_0x852b88);if(_0x1e9690 instanceof stream_1[_0x3b6a95(0xa4)])return _0x1e9690;throw new Error(_0x3b6a95(0x9b));});}[_0x387ed6(0x8f)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1d671e=_0xe449;yield this['tryRestoreFilesFromCloud'](),yield this[_0x1d671e(0x8d)](),this[_0x1d671e(0x93)]=retrieve_status_enum_1['RetrieveStatus'][_0x1d671e(0xa5)],this['checkFilesRetrieveStatus']()[_0x1d671e(0xab)](_0x5e154a=>{const _0x4bd9b8=_0x1d671e;this[_0x4bd9b8(0x93)]=retrieve_status_enum_1[_0x4bd9b8(0x9e)][_0x4bd9b8(0xa8)],this[_0x4bd9b8(0xbf)]=_0x5e154a[_0x4bd9b8(0xb6)];});});}[_0x387ed6(0xad)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x529bff=_0xe449,_0x392d5c=yield aws_s3_utils_1[_0x529bff(0xb7)]['getFilesPaths'](this['path'],this[_0x529bff(0xac)][_0x529bff(0xb5)],this['s3Client']);for(const _0x59cdb3 of _0x392d5c){const _0x49d629=yield this[_0x529bff(0xdd)](_0x59cdb3);this[_0x529bff(0xa1)]['push']({'path':_0x59cdb3,'class':_0x49d629[_0x529bff(0x9d)]||_0x529bff(0xb1),'status':aws_s3_utils_1['AwsS3Utils'][_0x529bff(0xb4)](_0x49d629)});}});}['runRestoreFiles'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2833eb=_0xe449,_0x4e11a9=this['files']['filter'](_0xb1cfb4=>_0xb1cfb4[_0x2833eb(0x93)]===aws_types_1[_0x2833eb(0xda)][_0x2833eb(0xd0)]);for(const _0x327d48 of _0x4e11a9){yield this[_0x2833eb(0x98)](_0x327d48[_0x2833eb(0xc7)]),_0x327d48['status']=aws_types_1[_0x2833eb(0xda)][_0x2833eb(0xd9)];}});}[_0x387ed6(0xd3)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x774039=_0xe449,_0x122d97=this[_0x774039(0xa1)][_0x774039(0xd7)](_0x28f844=>_0x28f844[_0x774039(0x93)]===aws_types_1[_0x774039(0xda)]['Restoring']);for(const _0x1a72c0 of _0x122d97){const _0x3bd727=yield this[_0x774039(0xdd)](_0x1a72c0[_0x774039(0xc7)]);_0x1a72c0[_0x774039(0x93)]=aws_s3_utils_1[_0x774039(0xb7)]['extractFileRetrieveStatusFromFileInfo'](_0x3bd727);}});}[_0x387ed6(0xc3)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5d401e=_0xe449,_0xded449=this[_0x5d401e(0xa1)][_0x5d401e(0xca)](_0x4f02a3=>_0x4f02a3[_0x5d401e(0x93)]===aws_types_1[_0x5d401e(0xda)][_0x5d401e(0xd9)]);this[_0x5d401e(0x93)]=_0xded449?retrieve_status_enum_1[_0x5d401e(0x9e)]['InProgress']:retrieve_status_enum_1[_0x5d401e(0x9e)][_0x5d401e(0xc1)],_0xded449&&(yield(0x0,promises_1[_0x5d401e(0x8e)])(this[_0x5d401e(0xba)]),yield this[_0x5d401e(0xd3)](),yield this[_0x5d401e(0xc3)]());});}}exports[_0x387ed6(0xb0)]=AwsS3Retrieve;
@@ -1 +1 @@
1
- 'use strict';function _0x4ef8(){const _0x470922=['cachePath','split','__awaiter','next','10eNZioD','Uninitialized','54xPSYrG','apply','503451KzZqkb','Cannot\x20execute\x20when\x20retrieve\x20in\x20progress.','AzureUtils','throw','getAzureBlobsPaths','1259336idLdZS','21UllngD','CacheUtils','value','join','download','status','containerClient','29901zYOEtB','path','17695zRpXnv','../utils/cache.utils','1116jAiaUE','25476qvoCSY','Blob\x20type\x20is\x20not\x20supported','timers/promises','RETRIEVE_STATUS_CHECK_TIMEOUT','stream','2021373NTSWiX','waitUntilRetrieveDone','InProgress','../types/retrieve-status.enum','errorMessage','AzureRetrieve','fetchBlobBody','No\x20files\x20left\x20to\x20execute.','blobsPaths','isDone','createCacheFileStream','__esModule','default','BaseRetrieve','1897384nKssWZ','length','56TWZniw','getBlobClient','setTimeout','Completed','RetrieveStatus','credentials','sep'];_0x4ef8=function(){return _0x470922;};return _0x4ef8();}const _0x84ce7f=_0x3a51;function _0x3a51(_0xe1db83,_0x17d618){const _0x4ef80f=_0x4ef8();return _0x3a51=function(_0x3a51e0,_0x3fe628){_0x3a51e0=_0x3a51e0-0x169;let _0xe936dd=_0x4ef80f[_0x3a51e0];return _0xe936dd;},_0x3a51(_0xe1db83,_0x17d618);}(function(_0x5ad31b,_0x545e72){const _0x2bbfca=_0x3a51,_0x3852ec=_0x5ad31b();while(!![]){try{const _0x5c9feb=parseInt(_0x2bbfca(0x178))/0x1+-parseInt(_0x2bbfca(0x169))/0x2*(-parseInt(_0x2bbfca(0x185))/0x3)+-parseInt(_0x2bbfca(0x19d))/0x4+parseInt(_0x2bbfca(0x187))/0x5*(parseInt(_0x2bbfca(0x176))/0x6)+-parseInt(_0x2bbfca(0x17e))/0x7*(parseInt(_0x2bbfca(0x17d))/0x8)+-parseInt(_0x2bbfca(0x18f))/0x9*(-parseInt(_0x2bbfca(0x174))/0xa)+-parseInt(_0x2bbfca(0x18a))/0xb*(-parseInt(_0x2bbfca(0x189))/0xc);if(_0x5c9feb===_0x545e72)break;else _0x3852ec['push'](_0x3852ec['shift']());}catch(_0x203cdc){_0x3852ec['push'](_0x3852ec['shift']());}}}(_0x4ef8,0x4b236));var __awaiter=this&&this[_0x84ce7f(0x172)]||function(_0x4469b8,_0x236079,_0x1075e9,_0x137fc8){function _0x3511ea(_0x67aa47){return _0x67aa47 instanceof _0x1075e9?_0x67aa47:new _0x1075e9(function(_0x5203bb){_0x5203bb(_0x67aa47);});}return new(_0x1075e9||(_0x1075e9=Promise))(function(_0x472469,_0x29896f){const _0x103078=_0x3a51;function _0x4aebc7(_0x333dac){const _0x31f123=_0x3a51;try{_0x4e0c9b(_0x137fc8[_0x31f123(0x173)](_0x333dac));}catch(_0x13dca0){_0x29896f(_0x13dca0);}}function _0x231798(_0x32c327){const _0x1d1363=_0x3a51;try{_0x4e0c9b(_0x137fc8[_0x1d1363(0x17b)](_0x32c327));}catch(_0x36aa61){_0x29896f(_0x36aa61);}}function _0x4e0c9b(_0x24d2ab){const _0x4f98f0=_0x3a51;_0x24d2ab['done']?_0x472469(_0x24d2ab[_0x4f98f0(0x180)]):_0x3511ea(_0x24d2ab[_0x4f98f0(0x180)])['then'](_0x4aebc7,_0x231798);}_0x4e0c9b((_0x137fc8=_0x137fc8[_0x103078(0x177)](_0x4469b8,_0x236079||[]))[_0x103078(0x173)]());});},__importDefault=this&&this['__importDefault']||function(_0x285e1d){const _0x14c2c7=_0x84ce7f;return _0x285e1d&&_0x285e1d[_0x14c2c7(0x19a)]?_0x285e1d:{'default':_0x285e1d};};Object['defineProperty'](exports,_0x84ce7f(0x19a),{'value':!![]}),exports[_0x84ce7f(0x194)]=void 0x0;const path_1=__importDefault(require(_0x84ce7f(0x186))),promises_1=require(_0x84ce7f(0x18c)),_1=require('./'),retrieve_status_enum_1=require(_0x84ce7f(0x192)),stream_1=require(_0x84ce7f(0x18e)),azure_utils_1=require('../utils/azure.utils'),cache_utils_1=require(_0x84ce7f(0x188));class AzureRetrieve extends _1[_0x84ce7f(0x19c)]{constructor(_0x1a5741,_0xf6d8e8,_0x510b70){const _0x4af71f=_0x84ce7f,_0x17d8fd=_0xf6d8e8[_0x4af71f(0x171)](path_1[_0x4af71f(0x19b)]['sep'])[_0x4af71f(0x181)](path_1[_0x4af71f(0x19b)]['posix']['sep']);super(_0x1a5741,_0x17d8fd),this['cachePath']=_0x510b70,this['RETRIEVE_STATUS_CHECK_TIMEOUT']=0x3e8,this[_0x4af71f(0x197)]=[],this[_0x4af71f(0x184)]=azure_utils_1[_0x4af71f(0x17a)]['createAzureBlobContainerClient'](this[_0x4af71f(0x16e)]);}[_0x84ce7f(0x190)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x16c759=_0x3a51;this[_0x16c759(0x183)]===retrieve_status_enum_1['RetrieveStatus'][_0x16c759(0x175)]&&(this[_0x16c759(0x197)]=yield azure_utils_1[_0x16c759(0x17a)][_0x16c759(0x17c)](this['path'],this[_0x16c759(0x184)]),this['status']=retrieve_status_enum_1[_0x16c759(0x16d)][_0x16c759(0x16c)],yield this[_0x16c759(0x190)]());switch(this[_0x16c759(0x183)]){case retrieve_status_enum_1[_0x16c759(0x16d)]['InProgress']:yield(0x0,promises_1[_0x16c759(0x16b)])(this[_0x16c759(0x18d)]),yield this[_0x16c759(0x190)]();break;case retrieve_status_enum_1[_0x16c759(0x16d)]['Exception']:throw new Error(this[_0x16c759(0x193)]);}});}['execute'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1f4467=_0x3a51;if(this[_0x1f4467(0x183)]===retrieve_status_enum_1[_0x1f4467(0x16d)][_0x1f4467(0x191)])throw new Error(_0x1f4467(0x179));if(this['isDone']||!this[_0x1f4467(0x197)][_0x1f4467(0x19e)])throw new Error(_0x1f4467(0x196));const _0x231263=this[_0x1f4467(0x197)]['pop']();let _0xcd7906;return!this[_0x1f4467(0x170)]?_0xcd7906=yield this[_0x1f4467(0x195)](_0x231263):_0xcd7906=yield cache_utils_1[_0x1f4467(0x17f)][_0x1f4467(0x199)](yield this[_0x1f4467(0x195)](_0x231263),this[_0x1f4467(0x170)]),this[_0x1f4467(0x198)]=!this[_0x1f4467(0x197)][_0x1f4467(0x19e)],{'path':this[_0x1f4467(0x186)][_0x1f4467(0x171)](path_1['default']['posix'][_0x1f4467(0x16f)])[_0x1f4467(0x181)](path_1[_0x1f4467(0x19b)]['sep']),'content':_0xcd7906};});}[_0x84ce7f(0x195)](_0x1d9c3f){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x39efc6=_0x3a51,_0x379d85=this[_0x39efc6(0x184)][_0x39efc6(0x16a)](_0x1d9c3f),{readableStreamBody:_0x5597fc}=yield _0x379d85[_0x39efc6(0x182)]();if(_0x5597fc instanceof stream_1['Readable'])return _0x5597fc;throw new Error(_0x39efc6(0x18b));});}}exports[_0x84ce7f(0x194)]=AzureRetrieve;
1
+ 'use strict';const _0x46e431=_0x2d3f;(function(_0x192b26,_0x4db110){const _0x5b28eb=_0x2d3f,_0x3f0e54=_0x192b26();while(!![]){try{const _0x8266e9=-parseInt(_0x5b28eb(0x1be))/0x1+-parseInt(_0x5b28eb(0x1c0))/0x2+-parseInt(_0x5b28eb(0x1cc))/0x3+-parseInt(_0x5b28eb(0x1d7))/0x4+-parseInt(_0x5b28eb(0x1bc))/0x5+-parseInt(_0x5b28eb(0x1ba))/0x6+parseInt(_0x5b28eb(0x1b6))/0x7;if(_0x8266e9===_0x4db110)break;else _0x3f0e54['push'](_0x3f0e54['shift']());}catch(_0x7af3c2){_0x3f0e54['push'](_0x3f0e54['shift']());}}}(_0x3016,0x73d91));var __awaiter=this&&this[_0x46e431(0x1b4)]||function(_0x4e0abc,_0x52d3bc,_0x56b274,_0x5c6c39){function _0x3e1c3a(_0x4049c5){return _0x4049c5 instanceof _0x56b274?_0x4049c5:new _0x56b274(function(_0x616d96){_0x616d96(_0x4049c5);});}return new(_0x56b274||(_0x56b274=Promise))(function(_0x22d031,_0x47312b){const _0x107d59=_0x2d3f;function _0x5474c2(_0x4e1266){try{_0x4d0320(_0x5c6c39['next'](_0x4e1266));}catch(_0x4d819f){_0x47312b(_0x4d819f);}}function _0x28608b(_0x5c0893){const _0x213ebf=_0x2d3f;try{_0x4d0320(_0x5c6c39[_0x213ebf(0x1d6)](_0x5c0893));}catch(_0x14792c){_0x47312b(_0x14792c);}}function _0x4d0320(_0x1883bf){const _0xc1d73=_0x2d3f;_0x1883bf[_0xc1d73(0x1cf)]?_0x22d031(_0x1883bf['value']):_0x3e1c3a(_0x1883bf[_0xc1d73(0x1d4)])['then'](_0x5474c2,_0x28608b);}_0x4d0320((_0x5c6c39=_0x5c6c39[_0x107d59(0x1c7)](_0x4e0abc,_0x52d3bc||[]))[_0x107d59(0x1d3)]());});},__importDefault=this&&this['__importDefault']||function(_0x569985){const _0x140aa4=_0x46e431;return _0x569985&&_0x569985[_0x140aa4(0x1b1)]?_0x569985:{'default':_0x569985};};function _0x3016(){const _0x3a2a69=['blobsPaths','getAzureBlobsPaths','No\x20files\x20left\x20to\x20execute.','posix','../utils/azure.utils','download','length','__esModule','Readable','cachePath','__awaiter','fetchBlobBody','23403338RfRBgp','stream','../types/retrieve-status.enum','setTimeout','2483802chQVcW','timers/promises','672765wLPPji','getBlobClient','270544DelcUG','credentials','919906xsRFJA','InProgress','RETRIEVE_STATUS_CHECK_TIMEOUT','status','waitUntilRetrieveDone','BaseRetrieve','path','apply','Uninitialized','Cannot\x20execute\x20when\x20retrieve\x20in\x20progress.','isDone','join','2695761PkEbQp','default','CacheUtils','done','Exception','pop','RetrieveStatus','next','value','createAzureBlobContainerClient','throw','2764868UNjJXo','Completed','containerClient','AzureRetrieve','defineProperty','sep'];_0x3016=function(){return _0x3a2a69;};return _0x3016();}Object[_0x46e431(0x1a8)](exports,'__esModule',{'value':!![]}),exports['AzureRetrieve']=void 0x0;const path_1=__importDefault(require('path')),promises_1=require(_0x46e431(0x1bb)),_1=require('./'),retrieve_status_enum_1=require(_0x46e431(0x1b8)),stream_1=require(_0x46e431(0x1b7)),azure_utils_1=require(_0x46e431(0x1ae)),cache_utils_1=require('../utils/cache.utils');class AzureRetrieve extends _1[_0x46e431(0x1c5)]{constructor(_0x199ca3,_0x5516b0,_0x438c49){const _0x46acd6=_0x46e431,_0x553ec6=_0x5516b0['split'](path_1[_0x46acd6(0x1cd)][_0x46acd6(0x1a9)])[_0x46acd6(0x1cb)](path_1[_0x46acd6(0x1cd)]['posix']['sep']);super(_0x199ca3,_0x553ec6),this[_0x46acd6(0x1b3)]=_0x438c49,this[_0x46acd6(0x1c2)]=0x3e8,this[_0x46acd6(0x1aa)]=[],this['containerClient']=azure_utils_1['AzureUtils'][_0x46acd6(0x1d5)](this[_0x46acd6(0x1bf)]);}['waitUntilRetrieveDone'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x996156=_0x2d3f;this[_0x996156(0x1c3)]===retrieve_status_enum_1[_0x996156(0x1d2)][_0x996156(0x1c8)]&&(this['blobsPaths']=yield azure_utils_1['AzureUtils'][_0x996156(0x1ab)](this['path'],this['containerClient']),this[_0x996156(0x1c3)]=retrieve_status_enum_1[_0x996156(0x1d2)][_0x996156(0x1d8)],yield this[_0x996156(0x1c4)]());switch(this[_0x996156(0x1c3)]){case retrieve_status_enum_1[_0x996156(0x1d2)][_0x996156(0x1c1)]:yield(0x0,promises_1[_0x996156(0x1b9)])(this[_0x996156(0x1c2)]),yield this[_0x996156(0x1c4)]();break;case retrieve_status_enum_1[_0x996156(0x1d2)][_0x996156(0x1d0)]:throw new Error(this['errorMessage']);}});}['execute'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0xc5d711=_0x2d3f;if(this[_0xc5d711(0x1c3)]===retrieve_status_enum_1[_0xc5d711(0x1d2)][_0xc5d711(0x1c1)])throw new Error(_0xc5d711(0x1c9));if(this['isDone']||!this['blobsPaths'][_0xc5d711(0x1b0)])throw new Error(_0xc5d711(0x1ac));const _0x2abe89=this['blobsPaths'][_0xc5d711(0x1d1)]();let _0x1efa30;return!this[_0xc5d711(0x1b3)]?_0x1efa30=yield this[_0xc5d711(0x1b5)](_0x2abe89):_0x1efa30=yield cache_utils_1[_0xc5d711(0x1ce)]['createCacheFileStream'](yield this[_0xc5d711(0x1b5)](_0x2abe89),this[_0xc5d711(0x1b3)]),this[_0xc5d711(0x1ca)]=!this[_0xc5d711(0x1aa)]['length'],{'path':this[_0xc5d711(0x1c6)]['split'](path_1[_0xc5d711(0x1cd)][_0xc5d711(0x1ad)][_0xc5d711(0x1a9)])['join'](path_1[_0xc5d711(0x1cd)][_0xc5d711(0x1a9)]),'content':_0x1efa30};});}[_0x46e431(0x1b5)](_0x272def){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x48c321=_0x2d3f,_0x534e60=this[_0x48c321(0x1a6)][_0x48c321(0x1bd)](_0x272def),{readableStreamBody:_0x27fb1e}=yield _0x534e60[_0x48c321(0x1af)]();if(_0x27fb1e instanceof stream_1[_0x48c321(0x1b2)])return _0x27fb1e;throw new Error('Blob\x20type\x20is\x20not\x20supported');});}}function _0x2d3f(_0x3f2eb5,_0x48a1a3){_0x3f2eb5=_0x3f2eb5-0x1a6;const _0x3016a4=_0x3016();let _0x2d3ff7=_0x3016a4[_0x3f2eb5];return _0x2d3ff7;}exports[_0x46e431(0x1a7)]=AzureRetrieve;
@@ -1 +1 @@
1
- 'use strict';const _0x4c65b3=_0x17aa;(function(_0x4e247f,_0x191401){const _0x283996=_0x17aa,_0x57a41f=_0x4e247f();while(!![]){try{const _0x54ce24=parseInt(_0x283996(0x1a7))/0x1*(-parseInt(_0x283996(0x1ab))/0x2)+-parseInt(_0x283996(0x1a3))/0x3*(parseInt(_0x283996(0x1a6))/0x4)+parseInt(_0x283996(0x1ac))/0x5*(parseInt(_0x283996(0x1b1))/0x6)+-parseInt(_0x283996(0x1ad))/0x7+-parseInt(_0x283996(0x1a8))/0x8+parseInt(_0x283996(0x1b2))/0x9*(-parseInt(_0x283996(0x1a1))/0xa)+-parseInt(_0x283996(0x1a5))/0xb*(-parseInt(_0x283996(0x19e))/0xc);if(_0x54ce24===_0x191401)break;else _0x57a41f['push'](_0x57a41f['shift']());}catch(_0x977336){_0x57a41f['push'](_0x57a41f['shift']());}}}(_0x44b2,0xae931));function _0x44b2(){const _0x287682=['RetrieveStatus','getIsDone','499578ohkfLN','1120239WNsEaJ','9773364NFwOYW','__esModule','defineProperty','40bFnRrf','isDone','33DeMsHc','BaseRetrieve','33aTeFQN','61868pnNVSJ','1861DCugqZ','2725880RejWMc','Uninitialized','../types/retrieve-status.enum','1236BgbfSm','30aVVmTQ','483056hXWClk','path'];_0x44b2=function(){return _0x287682;};return _0x44b2();}function _0x17aa(_0x2d8d2b,_0x5d5254){const _0x44b23c=_0x44b2();return _0x17aa=function(_0x17aaa8,_0x725488){_0x17aaa8=_0x17aaa8-0x19e;let _0x2f8335=_0x44b23c[_0x17aaa8];return _0x2f8335;},_0x17aa(_0x2d8d2b,_0x5d5254);}Object[_0x4c65b3(0x1a0)](exports,_0x4c65b3(0x19f),{'value':!![]}),exports['BaseRetrieve']=void 0x0;const retrieve_status_enum_1=require(_0x4c65b3(0x1aa));class BaseRetrieve{constructor(_0x382030,_0x45d559){const _0x4efa90=_0x4c65b3;this['credentials']=_0x382030,this[_0x4efa90(0x1ae)]=_0x45d559,this['isDone']=![],this['status']=retrieve_status_enum_1[_0x4efa90(0x1af)][_0x4efa90(0x1a9)];}[_0x4c65b3(0x1b0)](){const _0x1519f9=_0x4c65b3;return this[_0x1519f9(0x1a2)];}}exports[_0x4c65b3(0x1a4)]=BaseRetrieve;
1
+ 'use strict';const _0x20aefe=_0x4215;(function(_0x357542,_0x45bd4f){const _0x5d951b=_0x4215,_0xc7d29c=_0x357542();while(!![]){try{const _0x2b8c8c=parseInt(_0x5d951b(0x7c))/0x1*(parseInt(_0x5d951b(0x73))/0x2)+parseInt(_0x5d951b(0x6f))/0x3+parseInt(_0x5d951b(0x6b))/0x4*(parseInt(_0x5d951b(0x72))/0x5)+-parseInt(_0x5d951b(0x6d))/0x6+parseInt(_0x5d951b(0x76))/0x7+parseInt(_0x5d951b(0x78))/0x8+parseInt(_0x5d951b(0x7a))/0x9*(-parseInt(_0x5d951b(0x70))/0xa);if(_0x2b8c8c===_0x45bd4f)break;else _0xc7d29c['push'](_0xc7d29c['shift']());}catch(_0x33632b){_0xc7d29c['push'](_0xc7d29c['shift']());}}}(_0x1587,0xccb45));Object['defineProperty'](exports,_0x20aefe(0x71),{'value':!![]}),exports[_0x20aefe(0x6a)]=void 0x0;const retrieve_status_enum_1=require(_0x20aefe(0x77));function _0x4215(_0x1c0ea4,_0x2086cc){_0x1c0ea4=_0x1c0ea4-0x6a;const _0x158796=_0x1587();let _0x421568=_0x158796[_0x1c0ea4];return _0x421568;}class BaseRetrieve{[_0x20aefe(0x6c)](){const _0x4fd3df=_0x20aefe;return this[_0x4fd3df(0x75)];}constructor(_0x1963c3,_0x4c844c){const _0x4958b8=_0x20aefe;this['credentials']=_0x1963c3,this[_0x4958b8(0x7b)]=_0x4c844c,this[_0x4958b8(0x75)]=![],this[_0x4958b8(0x6e)]=retrieve_status_enum_1[_0x4958b8(0x79)][_0x4958b8(0x74)];}}exports[_0x20aefe(0x6a)]=BaseRetrieve;function _0x1587(){const _0x24955e=['6450472mGfFYQ','../types/retrieve-status.enum','10887112QQQPJL','RetrieveStatus','909801cMuJzg','path','3tqeMjd','BaseRetrieve','104nEdbLx','getIsDone','1328046RcYhCR','status','3078537fShaez','460SuKGob','__esModule','280790QpLKIN','627488SWNDfX','Uninitialized','isDone'];_0x1587=function(){return _0x24955e;};return _0x1587();}
@@ -1 +1 @@
1
- 'use strict';const _0x31d99b=_0x224a;(function(_0x15eec1,_0x4e4399){const _0x4f2fd0=_0x224a,_0x4f5418=_0x15eec1();while(!![]){try{const _0x396245=-parseInt(_0x4f2fd0(0xd7))/0x1*(parseInt(_0x4f2fd0(0xd5))/0x2)+parseInt(_0x4f2fd0(0xd2))/0x3*(parseInt(_0x4f2fd0(0xcd))/0x4)+parseInt(_0x4f2fd0(0xce))/0x5*(-parseInt(_0x4f2fd0(0xe3))/0x6)+-parseInt(_0x4f2fd0(0xe4))/0x7*(-parseInt(_0x4f2fd0(0xdd))/0x8)+-parseInt(_0x4f2fd0(0xe2))/0x9*(-parseInt(_0x4f2fd0(0xe8))/0xa)+-parseInt(_0x4f2fd0(0xd6))/0xb+-parseInt(_0x4f2fd0(0xd0))/0xc*(-parseInt(_0x4f2fd0(0xe6))/0xd);if(_0x396245===_0x4e4399)break;else _0x4f5418['push'](_0x4f5418['shift']());}catch(_0x4a2112){_0x4f5418['push'](_0x4f5418['shift']());}}}(_0x28b8,0x967e0));function _0x224a(_0x4d6356,_0xd08198){const _0x28b8bc=_0x28b8();return _0x224a=function(_0x224a4f,_0x363cdc){_0x224a4f=_0x224a4f-0xc3;let _0x1502ba=_0x28b8bc[_0x224a4f];return _0x1502ba;},_0x224a(_0x4d6356,_0xd08198);}var __awaiter=this&&this['__awaiter']||function(_0x2f710f,_0x14c812,_0xe6ceee,_0xf04719){function _0x3548eb(_0x13ce5d){return _0x13ce5d instanceof _0xe6ceee?_0x13ce5d:new _0xe6ceee(function(_0x34e6fe){_0x34e6fe(_0x13ce5d);});}return new(_0xe6ceee||(_0xe6ceee=Promise))(function(_0x53dc32,_0x4a95a4){const _0x1fc98a=_0x224a;function _0xf5949a(_0x3524d3){const _0x29028b=_0x224a;try{_0x25a277(_0xf04719[_0x29028b(0xde)](_0x3524d3));}catch(_0x2b6682){_0x4a95a4(_0x2b6682);}}function _0x2e5824(_0x857015){const _0x436a88=_0x224a;try{_0x25a277(_0xf04719[_0x436a88(0xdf)](_0x857015));}catch(_0x35d6b5){_0x4a95a4(_0x35d6b5);}}function _0x25a277(_0x2ee5e8){const _0x13f1ea=_0x224a;_0x2ee5e8[_0x13f1ea(0xea)]?_0x53dc32(_0x2ee5e8[_0x13f1ea(0xc7)]):_0x3548eb(_0x2ee5e8[_0x13f1ea(0xc7)])[_0x13f1ea(0xe9)](_0xf5949a,_0x2e5824);}_0x25a277((_0xf04719=_0xf04719['apply'](_0x2f710f,_0x14c812||[]))[_0x1fc98a(0xde)]());});},__importDefault=this&&this[_0x31d99b(0xda)]||function(_0x53a7c5){const _0x49ca58=_0x31d99b;return _0x53a7c5&&_0x53a7c5[_0x49ca58(0xdc)]?_0x53a7c5:{'default':_0x53a7c5};};Object[_0x31d99b(0xd1)](exports,_0x31d99b(0xdc),{'value':!![]}),exports[_0x31d99b(0xe0)]=void 0x0;const base_helper_1=require(_0x31d99b(0xc6)),path_1=__importDefault(require(_0x31d99b(0xdb))),client_s3_1=require(_0x31d99b(0xc5)),unzipper_1=__importDefault(require(_0x31d99b(0xcf))),aws_s3_utils_1=require(_0x31d99b(0xc3));function _0x28b8(){const _0x273fc6=['join','createS3Client','__importDefault','path','__esModule','159496FrFQIZ','next','throw','AwsS3Helper','sourcePath','8732187oYnZmR','4224vtiRfC','413qEsSec','endsWith','13cVjaOT','BaseHelper','10lGhiLz','then','done','.zip','../../utils/aws-s3.utils','length','@aws-sdk/client-s3','./base-helper','value','ListObjectsCommand','Open','s3_v3','bucketName','push','33428iPbcVO','7935OwKbjd','unzipper','4206708luCxHJ','defineProperty','9sbYbnV','getZipFileMeta','s3Client','6talnvV','4520065MLkVQs','125859QfWVXU'];_0x28b8=function(){return _0x273fc6;};return _0x28b8();}class AwsS3Helper extends base_helper_1[_0x31d99b(0xe7)]{constructor(_0x44b214,_0x43ec28){const _0x373a50=_0x31d99b;super(_0x44b214),this[_0x373a50(0xcb)]=_0x43ec28[_0x373a50(0xcb)],this[_0x373a50(0xd4)]=aws_s3_utils_1['AwsS3Utils'][_0x373a50(0xd9)](_0x43ec28);}[_0x31d99b(0xd3)](_0x16b7ac){const _0x2a4a9b=_0x31d99b;return unzipper_1['default'][_0x2a4a9b(0xc9)][_0x2a4a9b(0xca)](this[_0x2a4a9b(0xd4)],{'Bucket':this[_0x2a4a9b(0xcb)],'Key':_0x16b7ac});}['ls'](_0x277c36){var _0xc5604a;return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4b3fea=_0x224a,{prefix:_0x3b6081,delimiter:_0x2a49f4}=_0x277c36!==null&&_0x277c36!==void 0x0?_0x277c36:{},_0x379ea0=path_1['default'][_0x4b3fea(0xd8)](this[_0x4b3fea(0xe1)],_0x3b6081!==null&&_0x3b6081!==void 0x0?_0x3b6081:''),_0x1b1fab=new client_s3_1[(_0x4b3fea(0xc8))]({'Prefix':_0x379ea0,'Bucket':this[_0x4b3fea(0xcb)],'Delimiter':_0x2a49f4}),_0x32fdc6=yield this[_0x4b3fea(0xd4)]['send'](_0x1b1fab);if(!((_0xc5604a=_0x32fdc6['Contents'])===null||_0xc5604a===void 0x0?void 0x0:_0xc5604a[_0x4b3fea(0xc4)]))return[];const _0x91f6d6=[];for(const {Key:_0x1a6f5b}of _0x32fdc6['Contents']){_0x1a6f5b[_0x4b3fea(0xe5)](_0x4b3fea(0xeb))&&_0x91f6d6[_0x4b3fea(0xcc)](_0x1a6f5b);}return _0x91f6d6;});}}exports[_0x31d99b(0xe0)]=AwsS3Helper;
1
+ 'use strict';const _0x25c5d8=_0xe6cc;(function(_0xc23c6e,_0x14c358){const _0x2df1bc=_0xe6cc,_0x225ac5=_0xc23c6e();while(!![]){try{const _0x12dd98=parseInt(_0x2df1bc(0x14f))/0x1*(parseInt(_0x2df1bc(0x153))/0x2)+parseInt(_0x2df1bc(0x157))/0x3*(-parseInt(_0x2df1bc(0x168))/0x4)+parseInt(_0x2df1bc(0x16f))/0x5+parseInt(_0x2df1bc(0x162))/0x6*(-parseInt(_0x2df1bc(0x16b))/0x7)+parseInt(_0x2df1bc(0x155))/0x8+-parseInt(_0x2df1bc(0x167))/0x9+-parseInt(_0x2df1bc(0x159))/0xa;if(_0x12dd98===_0x14c358)break;else _0x225ac5['push'](_0x225ac5['shift']());}catch(_0x2dca34){_0x225ac5['push'](_0x225ac5['shift']());}}}(_0x32c5,0x56418));function _0xe6cc(_0x54ab57,_0x22be02){_0x54ab57=_0x54ab57-0x14f;const _0x32c528=_0x32c5();let _0xe6cc1d=_0x32c528[_0x54ab57];return _0xe6cc1d;}var __awaiter=this&&this[_0x25c5d8(0x16e)]||function(_0x35e978,_0x48673a,_0x3fb8bf,_0x144ccf){function _0x1584be(_0x34ddca){return _0x34ddca instanceof _0x3fb8bf?_0x34ddca:new _0x3fb8bf(function(_0x3a3ab3){_0x3a3ab3(_0x34ddca);});}return new(_0x3fb8bf||(_0x3fb8bf=Promise))(function(_0x3b4918,_0x3f4f64){const _0x134cf7=_0xe6cc;function _0x17b236(_0x2b3e74){try{_0x26a93d(_0x144ccf['next'](_0x2b3e74));}catch(_0x1cec2a){_0x3f4f64(_0x1cec2a);}}function _0x3451ed(_0x390bcd){const _0x218267=_0xe6cc;try{_0x26a93d(_0x144ccf[_0x218267(0x163)](_0x390bcd));}catch(_0x193ba6){_0x3f4f64(_0x193ba6);}}function _0x26a93d(_0x4e3b8b){const _0x29dffe=_0xe6cc;_0x4e3b8b[_0x29dffe(0x16c)]?_0x3b4918(_0x4e3b8b['value']):_0x1584be(_0x4e3b8b[_0x29dffe(0x15e)])[_0x29dffe(0x171)](_0x17b236,_0x3451ed);}_0x26a93d((_0x144ccf=_0x144ccf[_0x134cf7(0x151)](_0x35e978,_0x48673a||[]))['next']());});},__importDefault=this&&this[_0x25c5d8(0x166)]||function(_0x34ef76){const _0x332109=_0x25c5d8;return _0x34ef76&&_0x34ef76[_0x332109(0x165)]?_0x34ef76:{'default':_0x34ef76};};Object['defineProperty'](exports,_0x25c5d8(0x165),{'value':!![]}),exports['AwsS3Helper']=void 0x0;const base_helper_1=require('./base-helper'),path_1=__importDefault(require(_0x25c5d8(0x156))),client_s3_1=require(_0x25c5d8(0x161)),unzipper_1=__importDefault(require(_0x25c5d8(0x172))),aws_s3_utils_1=require(_0x25c5d8(0x15c));class AwsS3Helper extends base_helper_1[_0x25c5d8(0x15a)]{constructor(_0x38158b,_0x4eedf3){const _0x5005f7=_0x25c5d8;super(_0x38158b),this[_0x5005f7(0x15f)]=_0x4eedf3[_0x5005f7(0x15f)],this['s3Client']=aws_s3_utils_1[_0x5005f7(0x154)][_0x5005f7(0x160)](_0x4eedf3);}[_0x25c5d8(0x152)](_0x41921e){const _0x35cf27=_0x25c5d8;return unzipper_1[_0x35cf27(0x169)][_0x35cf27(0x16a)][_0x35cf27(0x173)](this[_0x35cf27(0x158)],{'Bucket':this[_0x35cf27(0x15f)],'Key':_0x41921e});}['ls'](_0xce730f){var _0x24d279;return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1dd913=_0xe6cc,{prefix:_0x277268,delimiter:_0x8c3131}=_0xce730f!==null&&_0xce730f!==void 0x0?_0xce730f:{},_0x5a004a=path_1['default']['join'](this[_0x1dd913(0x174)],_0x277268!==null&&_0x277268!==void 0x0?_0x277268:''),_0x1f24b2=new client_s3_1[(_0x1dd913(0x15b))]({'Prefix':_0x5a004a,'Bucket':this[_0x1dd913(0x15f)],'Delimiter':_0x8c3131}),_0x2b6945=yield this[_0x1dd913(0x158)][_0x1dd913(0x164)](_0x1f24b2);if(!((_0x24d279=_0x2b6945[_0x1dd913(0x16d)])===null||_0x24d279===void 0x0?void 0x0:_0x24d279['length']))return[];const _0xcf1965=[];for(const {Key:_0x59125a}of _0x2b6945[_0x1dd913(0x16d)]){_0x59125a['endsWith'](_0x1dd913(0x150))&&_0xcf1965[_0x1dd913(0x170)](_0x59125a);}return _0xcf1965;});}}exports[_0x25c5d8(0x15d)]=AwsS3Helper;function _0x32c5(){const _0xc04711=['__importDefault','5121522avjvfj','4pxLbzH','default','Open','1351NqDBCs','done','Contents','__awaiter','3217195GUTGvP','push','then','unzipper','s3_v3','sourcePath','51HvHLLg','.zip','apply','getZipFileMeta','27406ILuxNW','AwsS3Utils','3731184RkggPy','path','2021145ClhokQ','s3Client','510720NSoqyH','BaseHelper','ListObjectsCommand','../../utils/aws-s3.utils','AwsS3Helper','value','bucketName','createS3Client','@aws-sdk/client-s3','5022nNQdSj','throw','send','__esModule'];_0x32c5=function(){return _0xc04711;};return _0x32c5();}
@@ -1 +1 @@
1
- 'use strict';const _0x1c2c56=_0x46b5;(function(_0x2b57c3,_0x1c8b0f){const _0x395ed5=_0x46b5,_0x2351ba=_0x2b57c3();while(!![]){try{const _0x2b7a33=parseInt(_0x395ed5(0x193))/0x1*(-parseInt(_0x395ed5(0x18d))/0x2)+parseInt(_0x395ed5(0x191))/0x3*(-parseInt(_0x395ed5(0x190))/0x4)+parseInt(_0x395ed5(0x17d))/0x5*(parseInt(_0x395ed5(0x180))/0x6)+-parseInt(_0x395ed5(0x18a))/0x7+-parseInt(_0x395ed5(0x183))/0x8*(parseInt(_0x395ed5(0x178))/0x9)+parseInt(_0x395ed5(0x17c))/0xa*(-parseInt(_0x395ed5(0x17f))/0xb)+parseInt(_0x395ed5(0x18e))/0xc;if(_0x2b7a33===_0x1c8b0f)break;else _0x2351ba['push'](_0x2351ba['shift']());}catch(_0xfdb3f){_0x2351ba['push'](_0x2351ba['shift']());}}}(_0x23b4,0xf3341));var __awaiter=this&&this[_0x1c2c56(0x184)]||function(_0x1b37e9,_0x1d48a2,_0x477188,_0x3c91fc){function _0x56b0b7(_0x52ab2a){return _0x52ab2a instanceof _0x477188?_0x52ab2a:new _0x477188(function(_0x5ab6b7){_0x5ab6b7(_0x52ab2a);});}return new(_0x477188||(_0x477188=Promise))(function(_0x3796c5,_0x4b47fc){const _0x3ebc94=_0x46b5;function _0x1dfefc(_0x487cdb){const _0x56bb3e=_0x46b5;try{_0x2a80b4(_0x3c91fc[_0x56bb3e(0x181)](_0x487cdb));}catch(_0x291010){_0x4b47fc(_0x291010);}}function _0x5bc88b(_0x5de329){try{_0x2a80b4(_0x3c91fc['throw'](_0x5de329));}catch(_0x444a21){_0x4b47fc(_0x444a21);}}function _0x2a80b4(_0x39bb7a){const _0x4c7720=_0x46b5;_0x39bb7a[_0x4c7720(0x17b)]?_0x3796c5(_0x39bb7a[_0x4c7720(0x17a)]):_0x56b0b7(_0x39bb7a[_0x4c7720(0x17a)])[_0x4c7720(0x187)](_0x1dfefc,_0x5bc88b);}_0x2a80b4((_0x3c91fc=_0x3c91fc['apply'](_0x1b37e9,_0x1d48a2||[]))[_0x3ebc94(0x181)]());});},__importDefault=this&&this['__importDefault']||function(_0x4353b3){const _0x72754e=_0x1c2c56;return _0x4353b3&&_0x4353b3[_0x72754e(0x185)]?_0x4353b3:{'default':_0x4353b3};};function _0x23b4(){const _0x225ea4=['default','32639WQsRIU','Open','request','BlobSASPermissions','getBlockBlobClient','defineProperty','@azure/storage-blob','9RuenYS','parse','value','done','4224690IlpkCI','50IWQAIL','now','11TvkayA','620076NyndrH','next','BaseHelper','8063096TwSCSt','__awaiter','__esModule','credentials','then','getAzureBlobsPaths','generateSasUrl','5188183BSRVHa','containerClient','../../utils/azure.utils','6BBsUDC','45788400LHQvOV','AzureHelper','332dKjczo','57237xfewFx'];_0x23b4=function(){return _0x225ea4;};return _0x23b4();}Object[_0x1c2c56(0x198)](exports,'__esModule',{'value':!![]}),exports[_0x1c2c56(0x18f)]=void 0x0;function _0x46b5(_0x4e76d6,_0x1cfd9f){const _0x23b4b5=_0x23b4();return _0x46b5=function(_0x46b518,_0x5ec733){_0x46b518=_0x46b518-0x178;let _0x1e943d=_0x23b4b5[_0x46b518];return _0x1e943d;},_0x46b5(_0x4e76d6,_0x1cfd9f);}const base_helper_1=require('./base-helper'),unzipper_1=require('unzipper'),storage_blob_1=require(_0x1c2c56(0x199)),azure_utils_1=require(_0x1c2c56(0x18c)),request_1=__importDefault(require(_0x1c2c56(0x195)));class AzureHelper extends base_helper_1[_0x1c2c56(0x182)]{constructor(_0x58afe8,_0x145337){const _0x1042ec=_0x1c2c56;super(_0x145337),this[_0x1042ec(0x186)]=_0x58afe8,this[_0x1042ec(0x18b)]=azure_utils_1['AzureUtils']['createAzureBlobContainerClient'](this[_0x1042ec(0x186)]);}['getZipFileMeta'](_0x72e351){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x239127=_0x46b5,_0x4a767b=this[_0x239127(0x18b)][_0x239127(0x197)](_0x72e351),_0x4ee1a0=yield _0x4a767b[_0x239127(0x189)]({'permissions':storage_blob_1[_0x239127(0x196)][_0x239127(0x179)]('r'),'expiresOn':new Date(Date[_0x239127(0x17e)]()+0x258*0x3e8)});return unzipper_1[_0x239127(0x194)]['url'](request_1[_0x239127(0x192)],_0x4ee1a0);});}['ls'](){const _0x2518bb=_0x1c2c56;return azure_utils_1['AzureUtils'][_0x2518bb(0x188)](this['sourcePath'],this[_0x2518bb(0x18b)]);}}exports[_0x1c2c56(0x18f)]=AzureHelper;
1
+ 'use strict';const _0x593e09=_0x5880;(function(_0x2bb689,_0x39c946){const _0x58b9d0=_0x5880,_0xc6333f=_0x2bb689();while(!![]){try{const _0x463de1=parseInt(_0x58b9d0(0x110))/0x1+parseInt(_0x58b9d0(0x111))/0x2*(parseInt(_0x58b9d0(0x117))/0x3)+parseInt(_0x58b9d0(0xf9))/0x4+-parseInt(_0x58b9d0(0x109))/0x5+parseInt(_0x58b9d0(0x103))/0x6+parseInt(_0x58b9d0(0xf3))/0x7+-parseInt(_0x58b9d0(0x119))/0x8;if(_0x463de1===_0x39c946)break;else _0xc6333f['push'](_0xc6333f['shift']());}catch(_0x3ffaa0){_0xc6333f['push'](_0xc6333f['shift']());}}}(_0x2dde,0x5f30b));var __awaiter=this&&this['__awaiter']||function(_0x3de095,_0x4e762f,_0x697c08,_0x217409){function _0x34ee32(_0x3ff209){return _0x3ff209 instanceof _0x697c08?_0x3ff209:new _0x697c08(function(_0x4c5631){_0x4c5631(_0x3ff209);});}return new(_0x697c08||(_0x697c08=Promise))(function(_0x1ff485,_0x5c4850){const _0xcb72a6=_0x5880;function _0x28e6d3(_0x33ddff){try{_0x28dcd1(_0x217409['next'](_0x33ddff));}catch(_0x2bd383){_0x5c4850(_0x2bd383);}}function _0x1e50f5(_0x523c2e){const _0x1a8af5=_0x5880;try{_0x28dcd1(_0x217409[_0x1a8af5(0xfb)](_0x523c2e));}catch(_0x2d2244){_0x5c4850(_0x2d2244);}}function _0x28dcd1(_0x2f6490){const _0x415924=_0x5880;_0x2f6490['done']?_0x1ff485(_0x2f6490[_0x415924(0x115)]):_0x34ee32(_0x2f6490[_0x415924(0x115)])['then'](_0x28e6d3,_0x1e50f5);}_0x28dcd1((_0x217409=_0x217409[_0xcb72a6(0x104)](_0x3de095,_0x4e762f||[]))[_0xcb72a6(0x10f)]());});},__importDefault=this&&this['__importDefault']||function(_0x1a5c21){const _0x3b1de8=_0x5880;return _0x1a5c21&&_0x1a5c21[_0x3b1de8(0xf6)]?_0x1a5c21:{'default':_0x1a5c21};};Object[_0x593e09(0xf4)](exports,_0x593e09(0xf6),{'value':!![]}),exports[_0x593e09(0x100)]=void 0x0;const base_helper_1=require(_0x593e09(0x10d)),unzipper_1=require(_0x593e09(0x11c)),storage_blob_1=require(_0x593e09(0x11a)),azure_utils_1=require(_0x593e09(0x108)),stream_1=require(_0x593e09(0x10b)),https_1=__importDefault(require(_0x593e09(0xf2))),https_proxy_agent_1=require(_0x593e09(0x10a));function httpsRequest({url:_0x31ef28,headers:headers={}}){const _0x38533c=_0x593e09,_0x2d935b=new stream_1['PassThrough'](),_0x10ae1f=process.env.HTTPS_PROXY||process.env.HTTP_PROXY,_0x191e99=_0x10ae1f?new https_proxy_agent_1[(_0x38533c(0x106))](_0x10ae1f):undefined,_0x33e7ff=https_1['default'][_0x38533c(0x10c)](_0x31ef28,{'headers':headers,'agent':_0x191e99},_0x5b8048=>{const _0x1b2aef=_0x38533c;if(_0x5b8048[_0x1b2aef(0x10e)]>=0x12c&&_0x5b8048[_0x1b2aef(0x10e)]<0x190&&_0x5b8048[_0x1b2aef(0x105)][_0x1b2aef(0x112)])return httpsRequest({'url':_0x5b8048['headers']['location'],'headers':headers})['pipe'](_0x2d935b);if(_0x5b8048['statusCode']>=0x190){_0x2d935b[_0x1b2aef(0x101)]('error',new Error(_0x1b2aef(0xfd)+_0x5b8048['statusCode']+':\x20'+_0x5b8048['statusMessage']));return;}_0x2d935b[_0x1b2aef(0x101)]('response',_0x5b8048),_0x5b8048[_0x1b2aef(0x118)](_0x2d935b);})['on'](_0x38533c(0x116),_0x5a2b3d=>_0x2d935b[_0x38533c(0x101)](_0x38533c(0x116),_0x5a2b3d));return _0x2d935b[_0x38533c(0x114)]=()=>{const _0x4c671d=_0x38533c;_0x33e7ff[_0x4c671d(0xfc)](),_0x2d935b[_0x4c671d(0xfc)]();},_0x2d935b;}class AzureHelper extends base_helper_1['BaseHelper']{constructor(_0xfd3cf6,_0x318ffd){const _0x44d81f=_0x593e09;super(_0x318ffd),this[_0x44d81f(0xf5)]=_0xfd3cf6,this[_0x44d81f(0xf7)]=azure_utils_1[_0x44d81f(0x102)][_0x44d81f(0x107)](this['credentials']);}['getZipFileMeta'](_0xf3a3cf){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x234fd7=_0x5880,_0x44fd7f=this['containerClient'][_0x234fd7(0xff)](_0xf3a3cf),_0x1e0230=yield _0x44fd7f['generateSasUrl']({'permissions':storage_blob_1[_0x234fd7(0xf8)]['parse']('r'),'expiresOn':new Date(Date[_0x234fd7(0xfa)]()+0x258*0x3e8)});return unzipper_1[_0x234fd7(0x113)][_0x234fd7(0xfe)](httpsRequest,_0x1e0230);});}['ls'](){const _0x310eec=_0x593e09;return azure_utils_1[_0x310eec(0x102)][_0x310eec(0x11b)](this[_0x310eec(0xf1)],this['containerClient']);}}function _0x5880(_0x210338,_0x7eca2d){_0x210338=_0x210338-0xf1;const _0x2dde1b=_0x2dde();let _0x588086=_0x2dde1b[_0x210338];return _0x588086;}exports[_0x593e09(0x100)]=AzureHelper;function _0x2dde(){const _0x30fb77=['3558528GIQInM','apply','headers','HttpsProxyAgent','createAzureBlobContainerClient','../../utils/azure.utils','592740SqaKBh','https-proxy-agent','stream','get','./base-helper','statusCode','next','249412zSZzPX','832318ZlXkSw','location','Open','abort','value','error','3XVCeaf','pipe','15364016ThObRb','@azure/storage-blob','getAzureBlobsPaths','unzipper','sourcePath','https','4813291yFOjuL','defineProperty','credentials','__esModule','containerClient','BlobSASPermissions','1930708YGtowF','now','throw','destroy','HTTP\x20','url','getBlockBlobClient','AzureHelper','emit','AzureUtils'];_0x2dde=function(){return _0x30fb77;};return _0x2dde();}
@@ -1 +1 @@
1
- 'use strict';var _0x4af63a=_0x10a7;function _0x3b57(){var _0x196ae3=['56600lWDtov','747nGclDC','2519835hpqtNt','3015078evyjjh','BaseHelper','119850mNAxll','539xhAlXg','6971WKjGNR','42ASEbWF','1283766KHCLrc','sourcePath','defineProperty','300hlXoRU','6285172HkmJjC'];_0x3b57=function(){return _0x196ae3;};return _0x3b57();}(function(_0x324d30,_0x38260c){var _0x5a5f77=_0x10a7,_0x477e14=_0x324d30();while(!![]){try{var _0x84382c=-parseInt(_0x5a5f77(0x1f3))/0x1*(-parseInt(_0x5a5f77(0x1f4))/0x2)+parseInt(_0x5a5f77(0x1fd))/0x3+parseInt(_0x5a5f77(0x1f9))/0x4+-parseInt(_0x5a5f77(0x1fc))/0x5+-parseInt(_0x5a5f77(0x1f1))/0x6*(-parseInt(_0x5a5f77(0x1f2))/0x7)+parseInt(_0x5a5f77(0x1fa))/0x8*(parseInt(_0x5a5f77(0x1fb))/0x9)+parseInt(_0x5a5f77(0x1f8))/0xa*(-parseInt(_0x5a5f77(0x1f5))/0xb);if(_0x84382c===_0x38260c)break;else _0x477e14['push'](_0x477e14['shift']());}catch(_0x5d54f5){_0x477e14['push'](_0x477e14['shift']());}}}(_0x3b57,0xcdc6f));function _0x10a7(_0x19a644,_0xc3fd75){var _0x3b5723=_0x3b57();return _0x10a7=function(_0x10a7f4,_0x374ad0){_0x10a7f4=_0x10a7f4-0x1f1;var _0x1fb3dd=_0x3b5723[_0x10a7f4];return _0x1fb3dd;},_0x10a7(_0x19a644,_0xc3fd75);}Object[_0x4af63a(0x1f7)](exports,'__esModule',{'value':!![]}),exports[_0x4af63a(0x1fe)]=void 0x0;class BaseHelper{constructor(_0x446838){var _0x5a6352=_0x4af63a;this[_0x5a6352(0x1f6)]=_0x446838;}}exports[_0x4af63a(0x1fe)]=BaseHelper;
1
+ 'use strict';var _0x3c8e66=_0x215b;function _0x215b(_0x552974,_0x3aeffa){_0x552974=_0x552974-0x14a;var _0x47018c=_0x4701();var _0x215be2=_0x47018c[_0x552974];return _0x215be2;}(function(_0x29e097,_0x371724){var _0x171eba=_0x215b,_0x1a3326=_0x29e097();while(!![]){try{var _0x56e57f=-parseInt(_0x171eba(0x14f))/0x1+-parseInt(_0x171eba(0x153))/0x2*(parseInt(_0x171eba(0x14c))/0x3)+-parseInt(_0x171eba(0x151))/0x4*(-parseInt(_0x171eba(0x14b))/0x5)+parseInt(_0x171eba(0x150))/0x6*(-parseInt(_0x171eba(0x14a))/0x7)+parseInt(_0x171eba(0x155))/0x8+-parseInt(_0x171eba(0x152))/0x9+parseInt(_0x171eba(0x14d))/0xa;if(_0x56e57f===_0x371724)break;else _0x1a3326['push'](_0x1a3326['shift']());}catch(_0x130574){_0x1a3326['push'](_0x1a3326['shift']());}}}(_0x4701,0xba21c));Object[_0x3c8e66(0x154)](exports,'__esModule',{'value':!![]}),exports[_0x3c8e66(0x14e)]=void 0x0;function _0x4701(){var _0x27550a=['8057840kKAjiH','BaseHelper','1018186cCxGpj','13638EGtJIR','1867064bvuijl','11201850ApKNop','36daXYoN','defineProperty','11522440XGUyrS','721DhpEaj','15bVoYRW','64506gssMUC'];_0x4701=function(){return _0x27550a;};return _0x4701();}class BaseHelper{constructor(_0x470425){this['sourcePath']=_0x470425;}}exports[_0x3c8e66(0x14e)]=BaseHelper;