@flosum/storages 1.3.1 → 1.3.2

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 (47) hide show
  1. package/dist/credentials/aws-s3-credentials.js +1 -1
  2. package/dist/credentials/azure-credentials.js +1 -1
  3. package/dist/credentials/base-credentials.js +1 -1
  4. package/dist/credentials/index.js +1 -1
  5. package/dist/credentials/local-credentials.js +1 -1
  6. package/dist/delete/aws-s3-delete.d.ts +2 -1
  7. package/dist/delete/aws-s3-delete.js +1 -1
  8. package/dist/delete/azure-delete.js +1 -1
  9. package/dist/delete/base-delete.js +1 -1
  10. package/dist/delete/index.js +1 -1
  11. package/dist/delete/local-delete.js +1 -1
  12. package/dist/deploy/aws-s3-deploy.d.ts +2 -1
  13. package/dist/deploy/aws-s3-deploy.js +1 -1
  14. package/dist/deploy/azure-deploy.js +1 -1
  15. package/dist/deploy/base-deploy.js +1 -1
  16. package/dist/deploy/index.js +1 -1
  17. package/dist/deploy/local-deploy.js +1 -1
  18. package/dist/factory.d.ts +5 -4
  19. package/dist/factory.js +1 -1
  20. package/dist/file-size-retriever/aws-s3-file-size-retriever.d.ts +2 -1
  21. package/dist/file-size-retriever/aws-s3-file-size-retriever.js +1 -1
  22. package/dist/file-size-retriever/azure-file-size-retriever.js +1 -1
  23. package/dist/file-size-retriever/base-file-size-retriever.js +1 -1
  24. package/dist/file-size-retriever/index.js +1 -1
  25. package/dist/file-size-retriever/local-size-retriever.js +1 -1
  26. package/dist/index.js +1 -1
  27. package/dist/init.js +1 -1
  28. package/dist/retrieve/aws-s3-import-helper.js +1 -1
  29. package/dist/retrieve/aws-s3-retrieve.d.ts +2 -1
  30. package/dist/retrieve/aws-s3-retrieve.js +1 -1
  31. package/dist/retrieve/azure-retrieve.js +1 -1
  32. package/dist/retrieve/base-retrieve.js +1 -1
  33. package/dist/retrieve/index.js +1 -1
  34. package/dist/retrieve/local-retrieve.js +1 -1
  35. package/dist/types/aws.types.d.ts +6 -1
  36. package/dist/types/aws.types.js +1 -1
  37. package/dist/types/azure.types.js +1 -1
  38. package/dist/types/index.d.ts +1 -1
  39. package/dist/types/index.js +1 -1
  40. package/dist/types/internal.types.js +1 -1
  41. package/dist/types/retrieve-status.enum.js +1 -1
  42. package/dist/types/storage-type.enum.js +1 -1
  43. package/dist/utils/aws-s3.utils.d.ts +3 -2
  44. package/dist/utils/aws-s3.utils.js +1 -1
  45. package/dist/utils/azure.utils.js +1 -1
  46. package/dist/utils/cache.utils.js +1 -1
  47. package/package.json +1 -1
@@ -1 +1 @@
1
- 'use strict';const _0xc77fe2=_0x1a81;function _0x33b0(){const _0x2224f0=['33817KQcdcm','2115657ggXgDv','11709JGRiIV','done','55388EsQXfg','apply','size','execute','77305PnhnCn','3823120aeQcLf','LocalFileSizeRetriever','34sRTLYP','catch','BaseFileSizeRetriever','115wBmkdx','__esModule','defineProperty','1818ewwGCQ','value','fs/promises','throw','stat','8030vKDiHG','__awaiter','68388qdUwNH','4780reWLYN','next','then'];_0x33b0=function(){return _0x2224f0;};return _0x33b0();}(function(_0x408e82,_0x1ef25f){const _0x246989=_0x1a81,_0x3a13f1=_0x408e82();while(!![]){try{const _0xe68db7=-parseInt(_0x246989(0x103))/0x1*(parseInt(_0x246989(0x106))/0x2)+-parseInt(_0x246989(0xfc))/0x3+parseInt(_0x246989(0xff))/0x4*(parseInt(_0x246989(0x109))/0x5)+-parseInt(_0x246989(0x10c))/0x6*(parseInt(_0x246989(0xfb))/0x7)+parseInt(_0x246989(0x104))/0x8+parseInt(_0x246989(0xfd))/0x9*(-parseInt(_0x246989(0xf8))/0xa)+-parseInt(_0x246989(0x111))/0xb*(-parseInt(_0x246989(0xf7))/0xc);if(_0xe68db7===_0x1ef25f)break;else _0x3a13f1['push'](_0x3a13f1['shift']());}catch(_0x235fba){_0x3a13f1['push'](_0x3a13f1['shift']());}}}(_0x33b0,0xcfe6e));function _0x1a81(_0x176d49,_0x1975aa){const _0x33b09c=_0x33b0();return _0x1a81=function(_0x1a819d,_0x5dc034){_0x1a819d=_0x1a819d-0xf7;let _0x54142d=_0x33b09c[_0x1a819d];return _0x54142d;},_0x1a81(_0x176d49,_0x1975aa);}var __awaiter=this&&this[_0xc77fe2(0x112)]||function(_0x28ae77,_0x1a0f5d,_0x44e1c7,_0x2527f9){function _0x52827c(_0x437485){return _0x437485 instanceof _0x44e1c7?_0x437485:new _0x44e1c7(function(_0x16c30b){_0x16c30b(_0x437485);});}return new(_0x44e1c7||(_0x44e1c7=Promise))(function(_0xcdafbe,_0x25a1fd){const _0x3e2530=_0x1a81;function _0x6272e3(_0x1307b5){const _0x377bd0=_0x1a81;try{_0x450253(_0x2527f9[_0x377bd0(0xf9)](_0x1307b5));}catch(_0x1f42f1){_0x25a1fd(_0x1f42f1);}}function _0x87dd99(_0x5c764c){const _0x3e2f53=_0x1a81;try{_0x450253(_0x2527f9[_0x3e2f53(0x10f)](_0x5c764c));}catch(_0x3f8c8d){_0x25a1fd(_0x3f8c8d);}}function _0x450253(_0x2112e1){const _0x1eb7f6=_0x1a81;_0x2112e1[_0x1eb7f6(0xfe)]?_0xcdafbe(_0x2112e1[_0x1eb7f6(0x10d)]):_0x52827c(_0x2112e1['value'])[_0x1eb7f6(0xfa)](_0x6272e3,_0x87dd99);}_0x450253((_0x2527f9=_0x2527f9[_0x3e2530(0x100)](_0x28ae77,_0x1a0f5d||[]))[_0x3e2530(0xf9)]());});};Object[_0xc77fe2(0x10b)](exports,_0xc77fe2(0x10a),{'value':!![]}),exports['LocalFileSizeRetriever']=void 0x0;const _1=require('./'),promises_1=require(_0xc77fe2(0x10e));class LocalFileSizeRetriever extends _1[_0xc77fe2(0x108)]{[_0xc77fe2(0x102)](_0x45a2aa){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x68e066=_0x1a81;return(0x0,promises_1[_0x68e066(0x110)])(_0x45a2aa)[_0x68e066(0xfa)](_0x4df963=>_0x4df963[_0x68e066(0x101)])[_0x68e066(0x107)](()=>null);});}}exports[_0xc77fe2(0x105)]=LocalFileSizeRetriever;
1
+ 'use strict';const _0x16208a=_0x2361;function _0x2361(_0x21d60a,_0x1d50a4){const _0x510f54=_0x510f();return _0x2361=function(_0x2361e7,_0x518a17){_0x2361e7=_0x2361e7-0x6c;let _0x1c1b83=_0x510f54[_0x2361e7];return _0x1c1b83;},_0x2361(_0x21d60a,_0x1d50a4);}(function(_0x35688a,_0x272604){const _0x3630ef=_0x2361,_0x9e621e=_0x35688a();while(!![]){try{const _0x5b4e5f=-parseInt(_0x3630ef(0x76))/0x1*(-parseInt(_0x3630ef(0x7b))/0x2)+-parseInt(_0x3630ef(0x77))/0x3+parseInt(_0x3630ef(0x7d))/0x4+-parseInt(_0x3630ef(0x79))/0x5*(parseInt(_0x3630ef(0x6d))/0x6)+-parseInt(_0x3630ef(0x7a))/0x7*(parseInt(_0x3630ef(0x73))/0x8)+-parseInt(_0x3630ef(0x7f))/0x9*(parseInt(_0x3630ef(0x6f))/0xa)+-parseInt(_0x3630ef(0x74))/0xb*(-parseInt(_0x3630ef(0x6c))/0xc);if(_0x5b4e5f===_0x272604)break;else _0x9e621e['push'](_0x9e621e['shift']());}catch(_0x505613){_0x9e621e['push'](_0x9e621e['shift']());}}}(_0x510f,0x9e3a5));function _0x510f(){const _0x4fe6f6=['then','63331jBNdXH','3526653booGvI','execute','355UqOKBi','14RbbQtd','36RxRrQC','__esModule','2434500HyfGkT','throw','63BsiMow','BaseFileSizeRetriever','188988RwRTFR','75606ArjXvj','stat','1434490TsHOWB','next','defineProperty','value','3758728BmrOUF','2035GgDikb'];_0x510f=function(){return _0x4fe6f6;};return _0x510f();}var __awaiter=this&&this['__awaiter']||function(_0x35e710,_0x5e0fda,_0x1a31a1,_0x1ee967){function _0x2cf7aa(_0x76b6ae){return _0x76b6ae instanceof _0x1a31a1?_0x76b6ae:new _0x1a31a1(function(_0x2b270d){_0x2b270d(_0x76b6ae);});}return new(_0x1a31a1||(_0x1a31a1=Promise))(function(_0x370cfa,_0x24febc){const _0x5c5509=_0x2361;function _0x1a7628(_0x256469){try{_0x9b8f95(_0x1ee967['next'](_0x256469));}catch(_0x20a5c8){_0x24febc(_0x20a5c8);}}function _0x34b55b(_0x24f484){const _0x46f09f=_0x2361;try{_0x9b8f95(_0x1ee967[_0x46f09f(0x7e)](_0x24f484));}catch(_0xb6626d){_0x24febc(_0xb6626d);}}function _0x9b8f95(_0x42d8e4){const _0x2fa7c8=_0x2361;_0x42d8e4['done']?_0x370cfa(_0x42d8e4[_0x2fa7c8(0x72)]):_0x2cf7aa(_0x42d8e4[_0x2fa7c8(0x72)])['then'](_0x1a7628,_0x34b55b);}_0x9b8f95((_0x1ee967=_0x1ee967['apply'](_0x35e710,_0x5e0fda||[]))[_0x5c5509(0x70)]());});};Object[_0x16208a(0x71)](exports,_0x16208a(0x7c),{'value':!![]}),exports['LocalFileSizeRetriever']=void 0x0;const _1=require('./'),promises_1=require('fs/promises');class LocalFileSizeRetriever extends _1[_0x16208a(0x80)]{[_0x16208a(0x78)](_0x2f45a1){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4a7370=_0x2361;return(0x0,promises_1[_0x4a7370(0x6e)])(_0x2f45a1)[_0x4a7370(0x75)](_0x5c5866=>_0x5c5866['size'])['catch'](()=>null);});}}exports['LocalFileSizeRetriever']=LocalFileSizeRetriever;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x463550=_0xfd51;(function(_0x5f590d,_0x43d3e9){var _0x11ef2a=_0xfd51,_0x4f4fbf=_0x5f590d();while(!![]){try{var _0x3ce0ce=parseInt(_0x11ef2a(0x16c))/0x1*(parseInt(_0x11ef2a(0x165))/0x2)+-parseInt(_0x11ef2a(0x16f))/0x3+-parseInt(_0x11ef2a(0x16b))/0x4*(parseInt(_0x11ef2a(0x16e))/0x5)+-parseInt(_0x11ef2a(0x15a))/0x6*(-parseInt(_0x11ef2a(0x168))/0x7)+parseInt(_0x11ef2a(0x15f))/0x8+-parseInt(_0x11ef2a(0x16d))/0x9+parseInt(_0x11ef2a(0x162))/0xa;if(_0x3ce0ce===_0x43d3e9)break;else _0x4f4fbf['push'](_0x4f4fbf['shift']());}catch(_0x2feca0){_0x4f4fbf['push'](_0x4f4fbf['shift']());}}}(_0x4675,0x8d030));var __createBinding=this&&this[_0x463550(0x163)]||(Object['create']?function(_0x5a5223,_0x2d5892,_0x433492,_0x2891e3){var _0xf53d37=_0x463550;if(_0x2891e3===undefined)_0x2891e3=_0x433492;var _0x1f264d=Object[_0xf53d37(0x161)](_0x2d5892,_0x433492);(!_0x1f264d||(_0xf53d37(0x15b)in _0x1f264d?!_0x2d5892[_0xf53d37(0x167)]:_0x1f264d[_0xf53d37(0x15c)]||_0x1f264d[_0xf53d37(0x164)]))&&(_0x1f264d={'enumerable':!![],'get':function(){return _0x2d5892[_0x433492];}}),Object['defineProperty'](_0x5a5223,_0x2891e3,_0x1f264d);}:function(_0x5ee155,_0xe86326,_0x4a2ede,_0x174ceb){if(_0x174ceb===undefined)_0x174ceb=_0x4a2ede;_0x5ee155[_0x174ceb]=_0xe86326[_0x4a2ede];}),__exportStar=this&&this['__exportStar']||function(_0x5237a3,_0x221fd5){var _0x2927de=_0x463550;for(var _0x1a96f4 in _0x5237a3)if(_0x1a96f4!==_0x2927de(0x170)&&!Object[_0x2927de(0x159)][_0x2927de(0x166)][_0x2927de(0x16a)](_0x221fd5,_0x1a96f4))__createBinding(_0x221fd5,_0x5237a3,_0x1a96f4);};Object[_0x463550(0x169)](exports,_0x463550(0x167),{'value':!![]}),exports[_0x463550(0x158)]=void 0x0,require('./init'),__exportStar(require(_0x463550(0x15d)),exports),__exportStar(require(_0x463550(0x160)),exports),__exportStar(require('./deploy'),exports),__exportStar(require(_0x463550(0x15e)),exports);function _0xfd51(_0x275064,_0x101177){var _0x4675b1=_0x4675();return _0xfd51=function(_0xfd51f3,_0x1a494a){_0xfd51f3=_0xfd51f3-0x158;var _0x1ed341=_0x4675b1[_0xfd51f3];return _0x1ed341;},_0xfd51(_0x275064,_0x101177);}function _0x4675(){var _0x2f3891=['241434iKzagj','get','writable','./credentials','./retrieve','1617624xHFsdD','./delete','getOwnPropertyDescriptor','12447230eeIJFy','__createBinding','configurable','26ZPnFnp','hasOwnProperty','__esModule','56ZGqqFo','defineProperty','call','3545276XRLEZu','69323EobLHP','1280565pIsmdP','5dlqbiM','3191547WKHTRi','default','StorageFactory','prototype'];_0x4675=function(){return _0x2f3891;};return _0x4675();}var factory_1=require('./factory');Object['defineProperty'](exports,_0x463550(0x158),{'enumerable':!![],'get':function(){return factory_1['StorageFactory'];}}),__exportStar(require('./types'),exports),__exportStar(require('./file-size-retriever'),exports);
1
+ 'use strict';function _0x3420(){var _0x4dd172=['call','./file-size-retriever','./factory','./delete','5173336QlYOeF','522685pCpgxt','prototype','./types','writable','./credentials','693931PujnEM','50PeskUC','1079608uobgSe','defineProperty','./retrieve','3366792vEWPWo','./init','__createBinding','339229YhtHBZ','StorageFactory','3pyeQnh','3177755icMxnb','2DMEEIs','__esModule','hasOwnProperty','create','6sXeaRQ','./deploy','__exportStar'];_0x3420=function(){return _0x4dd172;};return _0x3420();}function _0x15e2(_0x1f5d9a,_0x11cc3f){var _0x34200d=_0x3420();return _0x15e2=function(_0x15e24f,_0x239f55){_0x15e24f=_0x15e24f-0x1f3;var _0x3a6694=_0x34200d[_0x15e24f];return _0x3a6694;},_0x15e2(_0x1f5d9a,_0x11cc3f);}var _0x3f0268=_0x15e2;(function(_0x1a38e1,_0x3c9007){var _0x359fef=_0x15e2,_0x28af92=_0x1a38e1();while(!![]){try{var _0x14dabb=-parseInt(_0x359fef(0x201))/0x1*(parseInt(_0x359fef(0x1f5))/0x2)+-parseInt(_0x359fef(0x1f3))/0x3*(-parseInt(_0x359fef(0x208))/0x4)+-parseInt(_0x359fef(0x1f4))/0x5*(-parseInt(_0x359fef(0x1f9))/0x6)+parseInt(_0x359fef(0x206))/0x7+-parseInt(_0x359fef(0x200))/0x8+parseInt(_0x359fef(0x20b))/0x9+parseInt(_0x359fef(0x207))/0xa*(parseInt(_0x359fef(0x20e))/0xb);if(_0x14dabb===_0x3c9007)break;else _0x28af92['push'](_0x28af92['shift']());}catch(_0x386f3b){_0x28af92['push'](_0x28af92['shift']());}}}(_0x3420,0x58bfd));var __createBinding=this&&this[_0x3f0268(0x20d)]||(Object[_0x3f0268(0x1f8)]?function(_0x1869ec,_0x139733,_0x53eeb9,_0x3163c7){var _0x16888d=_0x3f0268;if(_0x3163c7===undefined)_0x3163c7=_0x53eeb9;var _0x1192c4=Object['getOwnPropertyDescriptor'](_0x139733,_0x53eeb9);(!_0x1192c4||('get'in _0x1192c4?!_0x139733[_0x16888d(0x1f6)]:_0x1192c4[_0x16888d(0x204)]||_0x1192c4['configurable']))&&(_0x1192c4={'enumerable':!![],'get':function(){return _0x139733[_0x53eeb9];}}),Object['defineProperty'](_0x1869ec,_0x3163c7,_0x1192c4);}:function(_0x5d1ac8,_0x37945f,_0x1aa159,_0x561c77){if(_0x561c77===undefined)_0x561c77=_0x1aa159;_0x5d1ac8[_0x561c77]=_0x37945f[_0x1aa159];}),__exportStar=this&&this[_0x3f0268(0x1fb)]||function(_0x54003f,_0x36877c){var _0x4c93ff=_0x3f0268;for(var _0x36da52 in _0x54003f)if(_0x36da52!=='default'&&!Object[_0x4c93ff(0x202)][_0x4c93ff(0x1f7)][_0x4c93ff(0x1fc)](_0x36877c,_0x36da52))__createBinding(_0x36877c,_0x54003f,_0x36da52);};Object[_0x3f0268(0x209)](exports,_0x3f0268(0x1f6),{'value':!![]}),exports[_0x3f0268(0x20f)]=void 0x0,require(_0x3f0268(0x20c)),__exportStar(require(_0x3f0268(0x205)),exports),__exportStar(require(_0x3f0268(0x1ff)),exports),__exportStar(require(_0x3f0268(0x1fa)),exports),__exportStar(require(_0x3f0268(0x20a)),exports);var factory_1=require(_0x3f0268(0x1fe));Object['defineProperty'](exports,_0x3f0268(0x20f),{'enumerable':!![],'get':function(){var _0x584a3d=_0x3f0268;return factory_1[_0x584a3d(0x20f)];}}),__exportStar(require(_0x3f0268(0x203)),exports),__exportStar(require(_0x3f0268(0x1fd)),exports);
package/dist/init.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x4470(){const _0x2f13cf=['2548790wXOTaT','env','NodeHttpHandler','1440042YrmqfD','HttpsProxyAgent','https-proxy-agent','7JADdZW','3407010SsXcmV','2825872heBFUx','15BZiVzg','1205636ScTRjd','656366DdIBMC','HTTPS_PROXY','191050NRiqvg','defineProperty','HTTP_PROXY','HttpHandler','1359luHdjg'];_0x4470=function(){return _0x2f13cf;};return _0x4470();}function _0x5cde(_0x273bee,_0x100f31){const _0x44702b=_0x4470();return _0x5cde=function(_0x5cdec1,_0x130aa0){_0x5cdec1=_0x5cdec1-0x198;let _0x2311ed=_0x44702b[_0x5cdec1];return _0x2311ed;},_0x5cde(_0x273bee,_0x100f31);}const _0x2b6f20=_0x5cde;(function(_0x2b5203,_0x3f94fe){const _0x170097=_0x5cde,_0x8ef258=_0x2b5203();while(!![]){try{const _0x10aa6c=-parseInt(_0x170097(0x1a8))/0x1+-parseInt(_0x170097(0x19d))/0x2+-parseInt(_0x170097(0x1a4))/0x3+-parseInt(_0x170097(0x1a7))/0x4*(-parseInt(_0x170097(0x1a6))/0x5)+-parseInt(_0x170097(0x1a0))/0x6*(parseInt(_0x170097(0x1a3))/0x7)+parseInt(_0x170097(0x1a5))/0x8+-parseInt(_0x170097(0x19c))/0x9*(-parseInt(_0x170097(0x198))/0xa);if(_0x10aa6c===_0x3f94fe)break;else _0x8ef258['push'](_0x8ef258['shift']());}catch(_0x4e0cc0){_0x8ef258['push'](_0x8ef258['shift']());}}}(_0x4470,0xcc126));Object[_0x2b6f20(0x199)](exports,'__esModule',{'value':!![]}),exports[_0x2b6f20(0x19b)]=void 0x0;const https_proxy_agent_1=require(_0x2b6f20(0x1a2)),node_http_handler_1=require('@smithy/node-http-handler');class HttpHandler extends node_http_handler_1[_0x2b6f20(0x19f)]{constructor(){const _0xa834db=_0x2b6f20;if(process[_0xa834db(0x19e)][_0xa834db(0x19a)]||process['env'][_0xa834db(0x1a9)]){const _0x41b08c=new https_proxy_agent_1[(_0xa834db(0x1a1))](process[_0xa834db(0x19e)][_0xa834db(0x19a)]||process['env'][_0xa834db(0x1a9)]);super({'httpAgent':_0x41b08c,'httpsAgent':_0x41b08c});}else super({});}}exports[_0x2b6f20(0x19b)]=HttpHandler;
1
+ 'use strict';const _0x36be61=_0x49a8;(function(_0x425270,_0x2a76ec){const _0xc29966=_0x49a8,_0x49398b=_0x425270();while(!![]){try{const _0x59d0c7=-parseInt(_0xc29966(0xaf))/0x1+parseInt(_0xc29966(0xad))/0x2+-parseInt(_0xc29966(0xae))/0x3+parseInt(_0xc29966(0xb4))/0x4*(-parseInt(_0xc29966(0xb0))/0x5)+parseInt(_0xc29966(0xb3))/0x6*(-parseInt(_0xc29966(0xbb))/0x7)+-parseInt(_0xc29966(0xba))/0x8+parseInt(_0xc29966(0xb5))/0x9;if(_0x59d0c7===_0x2a76ec)break;else _0x49398b['push'](_0x49398b['shift']());}catch(_0x126383){_0x49398b['push'](_0x49398b['shift']());}}}(_0x4040,0x60d47));Object['defineProperty'](exports,_0x36be61(0xb8),{'value':!![]}),exports[_0x36be61(0xb1)]=void 0x0;function _0x4040(){const _0x4fef83=['976557zkPnWm','190479QzkAsX','683695qdumKP','HttpHandler','@smithy/node-http-handler','12bimJxK','20PyEplh','19877301vGCfOJ','HTTP_PROXY','HttpsProxyAgent','__esModule','NodeHttpHandler','1485720lRumAU','1693412PKSquR','HTTPS_PROXY','env','114532BLZjXT'];_0x4040=function(){return _0x4fef83;};return _0x4040();}function _0x49a8(_0x4ee3c1,_0x50dc64){const _0x4040dd=_0x4040();return _0x49a8=function(_0x49a83c,_0x5b8e28){_0x49a83c=_0x49a83c-0xab;let _0x36f68d=_0x4040dd[_0x49a83c];return _0x36f68d;},_0x49a8(_0x4ee3c1,_0x50dc64);}const https_proxy_agent_1=require('https-proxy-agent'),node_http_handler_1=require(_0x36be61(0xb2));class HttpHandler extends node_http_handler_1[_0x36be61(0xb9)]{constructor(){const _0x35a176=_0x36be61;if(process[_0x35a176(0xac)]['HTTP_PROXY']||process['env'][_0x35a176(0xab)]){const _0x5b3daf=new https_proxy_agent_1[(_0x35a176(0xb7))](process['env'][_0x35a176(0xb6)]||process[_0x35a176(0xac)][_0x35a176(0xab)]);super({'httpAgent':_0x5b3daf,'httpsAgent':_0x5b3daf});}else super({});}}exports[_0x36be61(0xb1)]=HttpHandler;
@@ -1 +1 @@
1
- 'use strict';const _0x2e838c=_0x37ba;(function(_0x1460b4,_0x13986a){const _0x385fe1=_0x37ba,_0x1a11e3=_0x1460b4();while(!![]){try{const _0x2b6bc5=-parseInt(_0x385fe1(0x1ca))/0x1*(parseInt(_0x385fe1(0x1b2))/0x2)+-parseInt(_0x385fe1(0x1af))/0x3+parseInt(_0x385fe1(0x1aa))/0x4*(-parseInt(_0x385fe1(0x1a9))/0x5)+-parseInt(_0x385fe1(0x1b5))/0x6+parseInt(_0x385fe1(0x1c1))/0x7*(parseInt(_0x385fe1(0x1b4))/0x8)+parseInt(_0x385fe1(0x1cd))/0x9*(parseInt(_0x385fe1(0x1bf))/0xa)+parseInt(_0x385fe1(0x1a3))/0xb;if(_0x2b6bc5===_0x13986a)break;else _0x1a11e3['push'](_0x1a11e3['shift']());}catch(_0x448225){_0x1a11e3['push'](_0x1a11e3['shift']());}}}(_0x3a92,0xd7007));function _0x3a92(){const _0x212a98=['next','Body','throw','@aws-sdk/client-s3','done','1535OWZBvx','18356LOJyEH','defineProperty','apply','\x27\x20from\x20S3:\x0a','default','3977190PlpkOT','AwsS3ImportHelper','then','1462ZoKPyB','bucketName','121648okSwSq','10019238YBtvYW','__esModule','getOutput','unzipper','Cannot\x20get\x20stream\x20for\x20a\x20file:\x20','Readable','Error\x20retrieving\x20a\x20file\x20with\x20key\x20\x27','s3_v3','HeadBucketCommand','message','416210MlxESB','S3Client','154wIYMwF','s3Client','stream','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','path','../init','basePrefix','send','GetObjectCommand','2092jUvcBV','__awaiter','value','99ZFohFH','validateAccess','getZipFileMeta','__importDefault','66241582fYrKHv'];_0x3a92=function(){return _0x212a98;};return _0x3a92();}function _0x37ba(_0x35f7ad,_0x3724ce){const _0x3a9269=_0x3a92();return _0x37ba=function(_0x37bafa,_0x533132){_0x37bafa=_0x37bafa-0x1a3;let _0x2208a8=_0x3a9269[_0x37bafa];return _0x2208a8;},_0x37ba(_0x35f7ad,_0x3724ce);}var __awaiter=this&&this[_0x2e838c(0x1cb)]||function(_0x2e652c,_0x413501,_0x56e0ee,_0x3692c2){function _0x5acd84(_0x3f481e){return _0x3f481e instanceof _0x56e0ee?_0x3f481e:new _0x56e0ee(function(_0x5d65f4){_0x5d65f4(_0x3f481e);});}return new(_0x56e0ee||(_0x56e0ee=Promise))(function(_0x218eb5,_0xd6617e){const _0x3fe4d4=_0x37ba;function _0x1f9d78(_0x2ad936){const _0x577de4=_0x37ba;try{_0x3df63a(_0x3692c2[_0x577de4(0x1a4)](_0x2ad936));}catch(_0x6770){_0xd6617e(_0x6770);}}function _0xa460fd(_0x48c414){const _0xfc753=_0x37ba;try{_0x3df63a(_0x3692c2[_0xfc753(0x1a6)](_0x48c414));}catch(_0x2a6692){_0xd6617e(_0x2a6692);}}function _0x3df63a(_0x36896b){const _0x24f1a9=_0x37ba;_0x36896b[_0x24f1a9(0x1a8)]?_0x218eb5(_0x36896b[_0x24f1a9(0x1cc)]):_0x5acd84(_0x36896b[_0x24f1a9(0x1cc)])[_0x24f1a9(0x1b1)](_0x1f9d78,_0xa460fd);}_0x3df63a((_0x3692c2=_0x3692c2[_0x3fe4d4(0x1ac)](_0x2e652c,_0x413501||[]))[_0x3fe4d4(0x1a4)]());});},__importDefault=this&&this[_0x2e838c(0x1d0)]||function(_0xa7c929){return _0xa7c929&&_0xa7c929['__esModule']?_0xa7c929:{'default':_0xa7c929};};Object[_0x2e838c(0x1ab)](exports,_0x2e838c(0x1b6),{'value':!![]}),exports[_0x2e838c(0x1b0)]=void 0x0;const init_1=require(_0x2e838c(0x1c6)),client_s3_1=require(_0x2e838c(0x1a7)),path_1=__importDefault(require(_0x2e838c(0x1c5))),stream_1=require(_0x2e838c(0x1c3)),unzipper_1=__importDefault(require(_0x2e838c(0x1b8)));class AwsS3ImportHelper{constructor({basePrefix:_0x5316f3,bucketName:_0x118c7c,region:_0x3e2ec5,credentials:_0x5aeb8f}){const _0x394257=_0x2e838c;this[_0x394257(0x1c7)]=_0x5316f3!==null&&_0x5316f3!==void 0x0?_0x5316f3:'',this[_0x394257(0x1b3)]=_0x118c7c,this[_0x394257(0x1c2)]=new client_s3_1[(_0x394257(0x1c0))]({'region':_0x3e2ec5,'credentials':_0x5aeb8f,'requestHandler':new init_1['HttpHandler']()});}['getOutput'](_0x5b2e0b){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4b0dc7=_0x37ba;try{const _0xc8befa=new client_s3_1[(_0x4b0dc7(0x1c9))]({'Bucket':this['bucketName'],'Key':_0x5b2e0b});return yield this['s3Client']['send'](_0xc8befa);}catch(_0x169e1d){throw new Error(_0x4b0dc7(0x1bb)+_0x5b2e0b+_0x4b0dc7(0x1ad)+_0x169e1d[_0x4b0dc7(0x1be)]);}});}['ls'](_0x232cfa){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x18cdee=_0x37ba,{prefix:_0x53cc27,delimiter:_0x217639}=_0x232cfa!==null&&_0x232cfa!==void 0x0?_0x232cfa:{},_0x420dbe=path_1[_0x18cdee(0x1ae)]['join'](this['basePrefix'],_0x53cc27!==null&&_0x53cc27!==void 0x0?_0x53cc27:''),_0x901eab=new client_s3_1['ListObjectsCommand']({'Prefix':_0x420dbe,'Bucket':this[_0x18cdee(0x1b3)],'Delimiter':_0x217639});return this[_0x18cdee(0x1c2)][_0x18cdee(0x1c8)](_0x901eab);});}[_0x2e838c(0x1c3)](_0x3b3711){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2a65a8=_0x37ba,_0x3121ca=yield this[_0x2a65a8(0x1b7)](_0x3b3711);if(_0x3121ca[_0x2a65a8(0x1a5)]instanceof stream_1[_0x2a65a8(0x1ba)])return _0x3121ca[_0x2a65a8(0x1a5)];throw new Error(_0x2a65a8(0x1b9)+_0x3b3711);});}[_0x2e838c(0x1cf)](_0x3f9ce7){const _0x2452aa=_0x2e838c;return unzipper_1[_0x2452aa(0x1ae)]['Open'][_0x2452aa(0x1bc)](this['s3Client'],{'Bucket':this['bucketName'],'Key':_0x3f9ce7});}[_0x2e838c(0x1ce)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x29b628=_0x37ba;try{const _0x547059=new client_s3_1[(_0x29b628(0x1bd))]({'Bucket':this[_0x29b628(0x1b3)]});yield this[_0x29b628(0x1c2)]['send'](_0x547059);}catch(_0x123bca){throw new Error(_0x29b628(0x1c4)+_0x123bca[_0x29b628(0x1be)]);}});}}exports[_0x2e838c(0x1b0)]=AwsS3ImportHelper;
1
+ 'use strict';const _0x4eefcb=_0x2842;(function(_0x5e32c8,_0x406ebf){const _0x22185e=_0x2842,_0x235796=_0x5e32c8();while(!![]){try{const _0x725396=-parseInt(_0x22185e(0x1ce))/0x1+parseInt(_0x22185e(0x1e6))/0x2+parseInt(_0x22185e(0x1d2))/0x3+parseInt(_0x22185e(0x1d9))/0x4*(parseInt(_0x22185e(0x1da))/0x5)+parseInt(_0x22185e(0x1db))/0x6*(-parseInt(_0x22185e(0x1e3))/0x7)+parseInt(_0x22185e(0x1dd))/0x8*(-parseInt(_0x22185e(0x1c8))/0x9)+parseInt(_0x22185e(0x1d0))/0xa;if(_0x725396===_0x406ebf)break;else _0x235796['push'](_0x235796['shift']());}catch(_0x3b3aec){_0x235796['push'](_0x235796['shift']());}}}(_0x595f,0x423a6));var __awaiter=this&&this[_0x4eefcb(0x1c7)]||function(_0x34821d,_0x292338,_0x53974b,_0x501bd6){function _0x29b5b5(_0x5e1d9a){return _0x5e1d9a instanceof _0x53974b?_0x5e1d9a:new _0x53974b(function(_0x50f82a){_0x50f82a(_0x5e1d9a);});}return new(_0x53974b||(_0x53974b=Promise))(function(_0x3d8779,_0x1ca775){const _0x5b1cb2=_0x2842;function _0x76db5b(_0x3ec694){try{_0x3e9e53(_0x501bd6['next'](_0x3ec694));}catch(_0x2f1a84){_0x1ca775(_0x2f1a84);}}function _0x6d57d8(_0x65367d){try{_0x3e9e53(_0x501bd6['throw'](_0x65367d));}catch(_0x28eeed){_0x1ca775(_0x28eeed);}}function _0x3e9e53(_0x536ad9){const _0x144782=_0x2842;_0x536ad9['done']?_0x3d8779(_0x536ad9['value']):_0x29b5b5(_0x536ad9[_0x144782(0x1e7)])[_0x144782(0x1cf)](_0x76db5b,_0x6d57d8);}_0x3e9e53((_0x501bd6=_0x501bd6['apply'](_0x34821d,_0x292338||[]))[_0x5b1cb2(0x1ca)]());});},__importDefault=this&&this[_0x4eefcb(0x1e5)]||function(_0x23455c){const _0x1b6e05=_0x4eefcb;return _0x23455c&&_0x23455c[_0x1b6e05(0x1cd)]?_0x23455c:{'default':_0x23455c};};Object[_0x4eefcb(0x1c6)](exports,_0x4eefcb(0x1cd),{'value':!![]}),exports['AwsS3ImportHelper']=void 0x0;function _0x2842(_0x34811f,_0xbe140c){const _0x595fed=_0x595f();return _0x2842=function(_0x2842cf,_0x24f187){_0x2842cf=_0x2842cf-0x1c5;let _0x571864=_0x595fed[_0x2842cf];return _0x571864;},_0x2842(_0x34811f,_0xbe140c);}function _0x595f(){const _0x31fbc4=['stream','90923LmFOvo','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','__importDefault','206402ZURwQN','value','bucketName','join','defineProperty','__awaiter','156438unAXQd','message','next','@aws-sdk/client-s3','Body','__esModule','91041ZVYzWw','then','3925050ijTAVG','getOutput','1156212WSPWuc','../init','GetObjectCommand','getZipFileMeta','\x27\x20from\x20S3:\x0a','HttpHandler','basePrefix','717416isinfm','5ECbAYU','186wppQmT','path','136kCtgeN','s3Client','send','S3Client','Open'];_0x595f=function(){return _0x31fbc4;};return _0x595f();}const init_1=require(_0x4eefcb(0x1d3)),client_s3_1=require(_0x4eefcb(0x1cb)),path_1=__importDefault(require(_0x4eefcb(0x1dc))),stream_1=require('stream'),unzipper_1=__importDefault(require('unzipper'));class AwsS3ImportHelper{constructor({basePrefix:_0x197355,bucketName:_0x16b30c,region:_0x493332,credentials:_0x130d45}){const _0x8aab57=_0x4eefcb;this[_0x8aab57(0x1d8)]=_0x197355!==null&&_0x197355!==void 0x0?_0x197355:'',this[_0x8aab57(0x1e8)]=_0x16b30c,this[_0x8aab57(0x1de)]=new client_s3_1[(_0x8aab57(0x1e0))]({'region':_0x493332,'credentials':_0x130d45,'requestHandler':new init_1[(_0x8aab57(0x1d7))]()});}['getOutput'](_0x4c6050){return __awaiter(this,void 0x0,void 0x0,function*(){const _0xf9edae=_0x2842;try{const _0x59b374=new client_s3_1[(_0xf9edae(0x1d4))]({'Bucket':this[_0xf9edae(0x1e8)],'Key':_0x4c6050});return yield this[_0xf9edae(0x1de)][_0xf9edae(0x1df)](_0x59b374);}catch(_0x158af6){throw new Error('Error\x20retrieving\x20a\x20file\x20with\x20key\x20\x27'+_0x4c6050+_0xf9edae(0x1d6)+_0x158af6['message']);}});}['ls'](_0x1a0a1b){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5a22c5=_0x2842,{prefix:_0x14695b,delimiter:_0x1557fd}=_0x1a0a1b!==null&&_0x1a0a1b!==void 0x0?_0x1a0a1b:{},_0x4a5790=path_1['default'][_0x5a22c5(0x1c5)](this[_0x5a22c5(0x1d8)],_0x14695b!==null&&_0x14695b!==void 0x0?_0x14695b:''),_0x532dc6=new client_s3_1['ListObjectsCommand']({'Prefix':_0x4a5790,'Bucket':this[_0x5a22c5(0x1e8)],'Delimiter':_0x1557fd});return this['s3Client'][_0x5a22c5(0x1df)](_0x532dc6);});}[_0x4eefcb(0x1e2)](_0x21e5c7){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x57dcc3=_0x2842,_0x332551=yield this[_0x57dcc3(0x1d1)](_0x21e5c7);if(_0x332551['Body']instanceof stream_1['Readable'])return _0x332551[_0x57dcc3(0x1cc)];throw new Error('Cannot\x20get\x20stream\x20for\x20a\x20file:\x20'+_0x21e5c7);});}[_0x4eefcb(0x1d5)](_0x8580c0){const _0x3b2bc=_0x4eefcb;return unzipper_1['default'][_0x3b2bc(0x1e1)]['s3_v3'](this[_0x3b2bc(0x1de)],{'Bucket':this[_0x3b2bc(0x1e8)],'Key':_0x8580c0});}['validateAccess'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1300fa=_0x2842;try{const _0x18d3ce=new client_s3_1['HeadBucketCommand']({'Bucket':this['bucketName']});yield this[_0x1300fa(0x1de)][_0x1300fa(0x1df)](_0x18d3ce);}catch(_0x3d1135){throw new Error(_0x1300fa(0x1e4)+_0x3d1135[_0x1300fa(0x1c9)]);}});}}exports['AwsS3ImportHelper']=AwsS3ImportHelper;
@@ -1,6 +1,7 @@
1
1
  import { BaseRetrieve } from './';
2
2
  import { AwsS3Credentials } from '../credentials';
3
3
  import { FileInfo } from '../types/internal.types';
4
+ import { AwsBuildMiddleware } from '../types/aws.types';
4
5
  import { Tier } from '@aws-sdk/client-s3';
5
6
  export declare class AwsS3Retrieve extends BaseRetrieve<AwsS3Credentials> {
6
7
  private readonly restoreType;
@@ -9,7 +10,7 @@ export declare class AwsS3Retrieve extends BaseRetrieve<AwsS3Credentials> {
9
10
  private readonly RETRIEVE_STATUS_CHECK_TIMEOUT;
10
11
  private readonly s3Client;
11
12
  private files;
12
- constructor(credentials: AwsS3Credentials, path: string, restoreType: Tier, cachePath?: string | undefined);
13
+ constructor(credentials: AwsS3Credentials, path: string, restoreType: Tier, cachePath?: string | undefined, middlewareStack?: AwsBuildMiddleware[]);
13
14
  waitUntilRetrieveDone(): Promise<void>;
14
15
  execute(): Promise<FileInfo>;
15
16
  private fetchFileInfo;
@@ -1 +1 @@
1
- 'use strict';function _0x59d9(_0x244708,_0x27ab41){const _0x4f223a=_0x4f22();return _0x59d9=function(_0x59d9ef,_0x41bedf){_0x59d9ef=_0x59d9ef-0xcc;let _0x58f8ee=_0x4f223a[_0x59d9ef];return _0x58f8ee;},_0x59d9(_0x244708,_0x27ab41);}function _0x4f22(){const _0x1983cf=['@aws-sdk/client-s3','RETRIEVE_STATUS_CHECK_TIMEOUT','RestoreObjectCommand','RetrieveStatus','restoreFile','s3Client','AwsS3Retrieve','Uninitialized','errorMessage','isDone','extractFileRetrieveStatusFromFileInfo','Exception','getFilesPaths','cachePath','__awaiter','throw','shift','files','5421360JVPsQB','next','updateFilesRetrieveStatus','bucketName','apply','218802HmlxfP','AwsFileRetrieveStatus','join','value','push','No\x20files\x20left\x20to\x20execute.','CHECK_RESTORED_TIMEOUT','status','../types/aws.types','then','../utils/cache.utils','BaseRetrieve','GetObjectCommand','setTimeout','sep','Restoring','HeadObjectCommand','264052dQUrDr','4847690ISaKbA','tryRestoreFilesFromCloud','InProgress','Body\x20is\x20not\x20supported\x20type','filter','fetchFileBody','72QQYoTW','__esModule','message','Cannot\x20execute\x20when\x20retrieve\x20in\x20progress.','__importDefault','StorageClass','CacheUtils','stream','3977874aPHETv','fetchFileInfo','send','runRestoreFiles','split','NeedRestore','waitUntilRetrieveDone','40658688UJXAxd','checkFilesRetrieveStatus','path','init','../types/retrieve-status.enum','restoreType','catch','default','done','posix','timers/promises','some','AwsS3Utils','credentials','156443RQfGsA'];_0x4f22=function(){return _0x1983cf;};return _0x4f22();}const _0x16f189=_0x59d9;(function(_0x344a48,_0x7a5350){const _0x464836=_0x59d9,_0x4b4c67=_0x344a48();while(!![]){try{const _0x5f3fd1=-parseInt(_0x464836(0xfd))/0x1+-parseInt(_0x464836(0xec))/0x2+-parseInt(_0x464836(0x10c))/0x3+-parseInt(_0x464836(0xe7))/0x4+-parseInt(_0x464836(0xfe))/0x5+parseInt(_0x464836(0x104))/0x6*(-parseInt(_0x464836(0xd4))/0x7)+parseInt(_0x464836(0x113))/0x8;if(_0x5f3fd1===_0x7a5350)break;else _0x4b4c67['push'](_0x4b4c67['shift']());}catch(_0xead73a){_0x4b4c67['push'](_0x4b4c67['shift']());}}}(_0x4f22,0xc0d63));var __awaiter=this&&this[_0x16f189(0xe3)]||function(_0x46fe2b,_0x1b5976,_0x5a847e,_0x22c83f){function _0xd1e847(_0x163742){return _0x163742 instanceof _0x5a847e?_0x163742:new _0x5a847e(function(_0x32221c){_0x32221c(_0x163742);});}return new(_0x5a847e||(_0x5a847e=Promise))(function(_0x4b5472,_0xea5399){const _0x4db76c=_0x59d9;function _0x1ac15d(_0xa35d3f){const _0x46f7ff=_0x59d9;try{_0x136cec(_0x22c83f[_0x46f7ff(0xe8)](_0xa35d3f));}catch(_0x187ca3){_0xea5399(_0x187ca3);}}function _0x2858ec(_0x353be6){const _0x44176b=_0x59d9;try{_0x136cec(_0x22c83f[_0x44176b(0xe4)](_0x353be6));}catch(_0xfc37a){_0xea5399(_0xfc37a);}}function _0x136cec(_0x59bf45){const _0x4632af=_0x59d9;_0x59bf45[_0x4632af(0xce)]?_0x4b5472(_0x59bf45[_0x4632af(0xef)]):_0xd1e847(_0x59bf45['value'])[_0x4632af(0xf5)](_0x1ac15d,_0x2858ec);}_0x136cec((_0x22c83f=_0x22c83f[_0x4db76c(0xeb)](_0x46fe2b,_0x1b5976||[]))[_0x4db76c(0xe8)]());});},__importDefault=this&&this[_0x16f189(0x108)]||function(_0x58d15d){const _0x39b420=_0x16f189;return _0x58d15d&&_0x58d15d[_0x39b420(0x105)]?_0x58d15d:{'default':_0x58d15d};};Object['defineProperty'](exports,_0x16f189(0x105),{'value':!![]}),exports[_0x16f189(0xdb)]=void 0x0;const path_1=__importDefault(require(_0x16f189(0x115))),promises_1=require(_0x16f189(0xd0)),aws_s3_utils_1=require('../utils/aws-s3.utils'),_1=require('./'),aws_types_1=require(_0x16f189(0xf4)),retrieve_status_enum_1=require(_0x16f189(0x117)),stream_1=require('stream'),client_s3_1=require(_0x16f189(0xd5)),cache_utils_1=require(_0x16f189(0xf6));class AwsS3Retrieve extends _1[_0x16f189(0xf7)]{constructor(_0x4c4367,_0x2b23c3,_0x298f11,_0x25dfad){const _0x589488=_0x16f189,_0x27b20f=_0x2b23c3[_0x589488(0x110)](path_1['default']['sep'])[_0x589488(0xee)](path_1[_0x589488(0xcd)][_0x589488(0xcf)]['sep']);super(_0x4c4367,_0x27b20f),this[_0x589488(0x118)]=_0x298f11,this[_0x589488(0xe2)]=_0x25dfad,this[_0x589488(0xf2)]=0x7530,this[_0x589488(0xd6)]=0x3e8,this['files']=[],this[_0x589488(0xda)]=aws_s3_utils_1['AwsS3Utils']['createS3Client'](_0x4c4367);}[_0x16f189(0x112)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1c4827=_0x59d9;this[_0x1c4827(0xf3)]===retrieve_status_enum_1[_0x1c4827(0xd8)][_0x1c4827(0xdc)]&&(yield this[_0x1c4827(0x116)](),yield this[_0x1c4827(0x112)]());switch(this[_0x1c4827(0xf3)]){case retrieve_status_enum_1[_0x1c4827(0xd8)]['InProgress']:yield(0x0,promises_1['setTimeout'])(this[_0x1c4827(0xd6)]),yield this[_0x1c4827(0x112)]();break;case retrieve_status_enum_1['RetrieveStatus'][_0x1c4827(0xe0)]:throw new Error(this[_0x1c4827(0xdd)]);}});}['execute'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x31ac2a=_0x59d9;if(this[_0x31ac2a(0xf3)]===retrieve_status_enum_1[_0x31ac2a(0xd8)][_0x31ac2a(0x100)])throw new Error(_0x31ac2a(0x107));if(this[_0x31ac2a(0xde)]||!this[_0x31ac2a(0xe6)]['length'])throw new Error(_0x31ac2a(0xf1));const _0x11957d=this[_0x31ac2a(0xe6)][_0x31ac2a(0xe5)]();let _0x6f34eb;return!this['cachePath']?_0x6f34eb=yield this[_0x31ac2a(0x103)](_0x11957d[_0x31ac2a(0x115)]):_0x6f34eb=yield cache_utils_1[_0x31ac2a(0x10a)]['createCacheFileStream'](yield this[_0x31ac2a(0x103)](_0x11957d[_0x31ac2a(0x115)]),this[_0x31ac2a(0xe2)]),this[_0x31ac2a(0xde)]=!this[_0x31ac2a(0xe6)]['length'],{'path':this[_0x31ac2a(0x115)]['split'](path_1[_0x31ac2a(0xcd)][_0x31ac2a(0xcf)][_0x31ac2a(0xfa)])[_0x31ac2a(0xee)](path_1[_0x31ac2a(0xcd)][_0x31ac2a(0xfa)]),'content':_0x6f34eb};});}[_0x16f189(0x10d)](_0x46bbcd){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x552cf7=_0x59d9,_0x209f37=new client_s3_1[(_0x552cf7(0xfc))]({'Bucket':this[_0x552cf7(0xd3)][_0x552cf7(0xea)],'Key':_0x46bbcd}),{StorageClass:_0x31f30e,Restore:_0x90d52b}=yield this[_0x552cf7(0xda)][_0x552cf7(0x10e)](_0x209f37);return{'StorageClass':_0x31f30e,'Restore':_0x90d52b};});}[_0x16f189(0xd9)](_0x8dba95){return __awaiter(this,void 0x0,void 0x0,function*(){const _0xe4b5c5=_0x59d9,_0x2bbabe=new client_s3_1[(_0xe4b5c5(0xd7))]({'Bucket':this[_0xe4b5c5(0xd3)][_0xe4b5c5(0xea)],'Key':_0x8dba95,'RestoreRequest':{'Days':0x1,'GlacierJobParameters':{'Tier':this['restoreType']}}});yield this[_0xe4b5c5(0xda)][_0xe4b5c5(0x10e)](_0x2bbabe);});}[_0x16f189(0x103)](_0x1d644e){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x234fe6=_0x59d9,_0x1d6351=new client_s3_1[(_0x234fe6(0xf8))]({'Bucket':this[_0x234fe6(0xd3)][_0x234fe6(0xea)],'Key':_0x1d644e,'ResponseContentType':_0x234fe6(0x10b)}),{Body:_0x1db08e}=yield this[_0x234fe6(0xda)][_0x234fe6(0x10e)](_0x1d6351);if(_0x1db08e instanceof stream_1['Readable'])return _0x1db08e;throw new Error(_0x234fe6(0x101));});}[_0x16f189(0x116)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5cc02c=_0x59d9;yield this['tryRestoreFilesFromCloud'](),yield this['runRestoreFiles'](),this[_0x5cc02c(0xf3)]=retrieve_status_enum_1['RetrieveStatus'][_0x5cc02c(0x100)],this['checkFilesRetrieveStatus']()[_0x5cc02c(0xcc)](_0x58d807=>{const _0x5160a3=_0x5cc02c;this['status']=retrieve_status_enum_1['RetrieveStatus'][_0x5160a3(0xe0)],this[_0x5160a3(0xdd)]=_0x58d807[_0x5160a3(0x106)];});});}[_0x16f189(0xff)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x31fafc=_0x59d9,_0x49b213=yield aws_s3_utils_1[_0x31fafc(0xd2)][_0x31fafc(0xe1)](this[_0x31fafc(0x115)],this['credentials'][_0x31fafc(0xea)],this['s3Client']);for(const _0x237a2b of _0x49b213){const _0x3ee0d6=yield this[_0x31fafc(0x10d)](_0x237a2b);this[_0x31fafc(0xe6)][_0x31fafc(0xf0)]({'path':_0x237a2b,'class':_0x3ee0d6[_0x31fafc(0x109)]||'STANDARD','status':aws_s3_utils_1[_0x31fafc(0xd2)][_0x31fafc(0xdf)](_0x3ee0d6)});}});}[_0x16f189(0x10f)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2bfba5=_0x59d9,_0xaad351=this['files'][_0x2bfba5(0x102)](_0x28ed02=>_0x28ed02[_0x2bfba5(0xf3)]===aws_types_1[_0x2bfba5(0xed)][_0x2bfba5(0x111)]);for(const _0x2c8283 of _0xaad351){yield this[_0x2bfba5(0xd9)](_0x2c8283[_0x2bfba5(0x115)]),_0x2c8283['status']=aws_types_1[_0x2bfba5(0xed)][_0x2bfba5(0xfb)];}});}[_0x16f189(0xe9)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1b894c=_0x59d9,_0x1d08ee=this[_0x1b894c(0xe6)][_0x1b894c(0x102)](_0x2ae5e4=>_0x2ae5e4[_0x1b894c(0xf3)]===aws_types_1[_0x1b894c(0xed)]['Restoring']);for(const _0x1fde57 of _0x1d08ee){const _0x335d18=yield this[_0x1b894c(0x10d)](_0x1fde57[_0x1b894c(0x115)]);_0x1fde57[_0x1b894c(0xf3)]=aws_s3_utils_1[_0x1b894c(0xd2)]['extractFileRetrieveStatusFromFileInfo'](_0x335d18);}});}[_0x16f189(0x114)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1e981d=_0x59d9,_0x279981=this['files'][_0x1e981d(0xd1)](_0x283cc5=>_0x283cc5[_0x1e981d(0xf3)]===aws_types_1[_0x1e981d(0xed)][_0x1e981d(0xfb)]);this[_0x1e981d(0xf3)]=_0x279981?retrieve_status_enum_1[_0x1e981d(0xd8)][_0x1e981d(0x100)]:retrieve_status_enum_1[_0x1e981d(0xd8)]['Completed'],_0x279981&&(yield(0x0,promises_1[_0x1e981d(0xf9)])(this[_0x1e981d(0xf2)]),yield this[_0x1e981d(0xe9)](),yield this[_0x1e981d(0x114)]());});}}exports['AwsS3Retrieve']=AwsS3Retrieve;
1
+ 'use strict';function _0x2f4a(){const _0xd25104=['extractFileRetrieveStatusFromFileInfo','s3Client','__importDefault','waitUntilRetrieveDone','StorageClass','Exception','catch','Uninitialized','1971585SdNBCy','2488632vFddVY','CHECK_RESTORED_TIMEOUT','RETRIEVE_STATUS_CHECK_TIMEOUT','createS3Client','setTimeout','Completed','650669vigGCs','updateFilesRetrieveStatus','message','Restoring','join','3yPMokV','defineProperty','No\x20files\x20left\x20to\x20execute.','path','errorMessage','RestoreObjectCommand','credentials','some','../utils/aws-s3.utils','BaseRetrieve','7889430joKNUy','AwsS3Retrieve','2050904AKtHeF','../types/aws.types','split','default','sep','GetObjectCommand','next','timers/promises','InProgress','restoreType','runRestoreFiles','posix','getFilesPaths','NeedRestore','AwsS3Utils','restoreFile','2858128UmVTRF','files','filter','fetchFileBody','checkFilesRetrieveStatus','7HgQfAA','value','13170276uYwtQt','shift','../utils/cache.utils','status','RetrieveStatus','init','@aws-sdk/client-s3','isDone','fetchFileInfo','cachePath','stream','send','bucketName','AwsFileRetrieveStatus','CacheUtils','tryRestoreFilesFromCloud','length','execute'];_0x2f4a=function(){return _0xd25104;};return _0x2f4a();}const _0xa740d5=_0x3b3e;(function(_0x349977,_0x409170){const _0x7756=_0x3b3e,_0x45cf59=_0x349977();while(!![]){try{const _0x210f23=-parseInt(_0x7756(0x130))/0x1+parseInt(_0x7756(0x141))/0x2+-parseInt(_0x7756(0x135))/0x3*(-parseInt(_0x7756(0x12a))/0x4)+-parseInt(_0x7756(0x129))/0x5+parseInt(_0x7756(0x13f))/0x6*(parseInt(_0x7756(0x156))/0x7)+parseInt(_0x7756(0x151))/0x8+-parseInt(_0x7756(0x158))/0x9;if(_0x210f23===_0x409170)break;else _0x45cf59['push'](_0x45cf59['shift']());}catch(_0x595d74){_0x45cf59['push'](_0x45cf59['shift']());}}}(_0x2f4a,0xc61a7));function _0x3b3e(_0x1ab18c,_0x3c6d95){const _0x2f4a5e=_0x2f4a();return _0x3b3e=function(_0x3b3ede,_0xc32515){_0x3b3ede=_0x3b3ede-0x11c;let _0x5a8888=_0x2f4a5e[_0x3b3ede];return _0x5a8888;},_0x3b3e(_0x1ab18c,_0x3c6d95);}var __awaiter=this&&this['__awaiter']||function(_0x40e1e9,_0x11043a,_0xe466ca,_0x547865){function _0x5748d1(_0x2c5b53){return _0x2c5b53 instanceof _0xe466ca?_0x2c5b53:new _0xe466ca(function(_0x33d4e3){_0x33d4e3(_0x2c5b53);});}return new(_0xe466ca||(_0xe466ca=Promise))(function(_0x3a709b,_0x383d2a){const _0x36cbb4=_0x3b3e;function _0x52e671(_0x474812){try{_0x34736e(_0x547865['next'](_0x474812));}catch(_0x2a0105){_0x383d2a(_0x2a0105);}}function _0x13af62(_0x524bfa){try{_0x34736e(_0x547865['throw'](_0x524bfa));}catch(_0x59fd73){_0x383d2a(_0x59fd73);}}function _0x34736e(_0x234393){const _0x550a06=_0x3b3e;_0x234393['done']?_0x3a709b(_0x234393[_0x550a06(0x157)]):_0x5748d1(_0x234393[_0x550a06(0x157)])['then'](_0x52e671,_0x13af62);}_0x34736e((_0x547865=_0x547865['apply'](_0x40e1e9,_0x11043a||[]))[_0x36cbb4(0x147)]());});},__importDefault=this&&this[_0xa740d5(0x123)]||function(_0x10adeb){return _0x10adeb&&_0x10adeb['__esModule']?_0x10adeb:{'default':_0x10adeb};};Object[_0xa740d5(0x136)](exports,'__esModule',{'value':!![]}),exports[_0xa740d5(0x140)]=void 0x0;const path_1=__importDefault(require(_0xa740d5(0x138))),promises_1=require(_0xa740d5(0x148)),aws_s3_utils_1=require(_0xa740d5(0x13d)),_1=require('./'),aws_types_1=require(_0xa740d5(0x142)),retrieve_status_enum_1=require('../types/retrieve-status.enum'),stream_1=require('stream'),client_s3_1=require(_0xa740d5(0x15e)),cache_utils_1=require(_0xa740d5(0x15a));class AwsS3Retrieve extends _1[_0xa740d5(0x13e)]{constructor(_0x1e4763,_0x58579b,_0x30d436,_0x4610ef,_0x497f98){const _0x28033f=_0xa740d5,_0x51cf9b=_0x58579b[_0x28033f(0x143)](path_1[_0x28033f(0x144)]['sep'])[_0x28033f(0x134)](path_1[_0x28033f(0x144)][_0x28033f(0x14c)]['sep']);super(_0x1e4763,_0x51cf9b),this[_0x28033f(0x14a)]=_0x30d436,this[_0x28033f(0x161)]=_0x4610ef,this[_0x28033f(0x12b)]=0x7530,this[_0x28033f(0x12c)]=0x3e8,this[_0x28033f(0x152)]=[],this[_0x28033f(0x122)]=aws_s3_utils_1[_0x28033f(0x14f)][_0x28033f(0x12d)](_0x1e4763,_0x497f98);}[_0xa740d5(0x124)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4693ea=_0x3b3e;this[_0x4693ea(0x15b)]===retrieve_status_enum_1['RetrieveStatus'][_0x4693ea(0x128)]&&(yield this[_0x4693ea(0x15d)](),yield this[_0x4693ea(0x124)]());switch(this[_0x4693ea(0x15b)]){case retrieve_status_enum_1[_0x4693ea(0x15c)][_0x4693ea(0x149)]:yield(0x0,promises_1[_0x4693ea(0x12e)])(this[_0x4693ea(0x12c)]),yield this['waitUntilRetrieveDone']();break;case retrieve_status_enum_1[_0x4693ea(0x15c)]['Exception']:throw new Error(this['errorMessage']);}});}[_0xa740d5(0x120)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2d349f=_0x3b3e;if(this[_0x2d349f(0x15b)]===retrieve_status_enum_1['RetrieveStatus'][_0x2d349f(0x149)])throw new Error('Cannot\x20execute\x20when\x20retrieve\x20in\x20progress.');if(this[_0x2d349f(0x15f)]||!this[_0x2d349f(0x152)][_0x2d349f(0x11f)])throw new Error(_0x2d349f(0x137));const _0x3160ae=this[_0x2d349f(0x152)][_0x2d349f(0x159)]();let _0x20b9e5;return!this[_0x2d349f(0x161)]?_0x20b9e5=yield this['fetchFileBody'](_0x3160ae[_0x2d349f(0x138)]):_0x20b9e5=yield cache_utils_1[_0x2d349f(0x11d)]['createCacheFileStream'](yield this[_0x2d349f(0x154)](_0x3160ae[_0x2d349f(0x138)]),this[_0x2d349f(0x161)]),this[_0x2d349f(0x15f)]=!this[_0x2d349f(0x152)]['length'],{'path':this['path'][_0x2d349f(0x143)](path_1[_0x2d349f(0x144)][_0x2d349f(0x14c)]['sep'])[_0x2d349f(0x134)](path_1[_0x2d349f(0x144)][_0x2d349f(0x145)]),'content':_0x20b9e5};});}[_0xa740d5(0x160)](_0x4b8833){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x126e97=_0x3b3e,_0x25dc67=new client_s3_1['HeadObjectCommand']({'Bucket':this[_0x126e97(0x13b)][_0x126e97(0x164)],'Key':_0x4b8833}),{StorageClass:_0x66bb4f,Restore:_0x58a154}=yield this['s3Client']['send'](_0x25dc67);return{'StorageClass':_0x66bb4f,'Restore':_0x58a154};});}[_0xa740d5(0x150)](_0x1ae659){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x128d0e=_0x3b3e,_0xcd541d=new client_s3_1[(_0x128d0e(0x13a))]({'Bucket':this[_0x128d0e(0x13b)][_0x128d0e(0x164)],'Key':_0x1ae659,'RestoreRequest':{'Days':0x1,'GlacierJobParameters':{'Tier':this[_0x128d0e(0x14a)]}}});yield this[_0x128d0e(0x122)][_0x128d0e(0x163)](_0xcd541d);});}['fetchFileBody'](_0x55208f){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x44a2ca=_0x3b3e,_0x539582=new client_s3_1[(_0x44a2ca(0x146))]({'Bucket':this[_0x44a2ca(0x13b)][_0x44a2ca(0x164)],'Key':_0x55208f,'ResponseContentType':_0x44a2ca(0x162)}),{Body:_0x4d5644}=yield this[_0x44a2ca(0x122)][_0x44a2ca(0x163)](_0x539582);if(_0x4d5644 instanceof stream_1['Readable'])return _0x4d5644;throw new Error('Body\x20is\x20not\x20supported\x20type');});}[_0xa740d5(0x15d)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4ad355=_0x3b3e;yield this[_0x4ad355(0x11e)](),yield this[_0x4ad355(0x14b)](),this[_0x4ad355(0x15b)]=retrieve_status_enum_1[_0x4ad355(0x15c)][_0x4ad355(0x149)],this[_0x4ad355(0x155)]()[_0x4ad355(0x127)](_0x17361e=>{const _0x4f14d4=_0x4ad355;this[_0x4f14d4(0x15b)]=retrieve_status_enum_1[_0x4f14d4(0x15c)][_0x4f14d4(0x126)],this[_0x4f14d4(0x139)]=_0x17361e[_0x4f14d4(0x132)];});});}[_0xa740d5(0x11e)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4efe77=_0x3b3e,_0x4f86df=yield aws_s3_utils_1[_0x4efe77(0x14f)][_0x4efe77(0x14d)](this[_0x4efe77(0x138)],this['credentials'][_0x4efe77(0x164)],this['s3Client']);for(const _0x467044 of _0x4f86df){const _0x360207=yield this[_0x4efe77(0x160)](_0x467044);this['files']['push']({'path':_0x467044,'class':_0x360207[_0x4efe77(0x125)]||'STANDARD','status':aws_s3_utils_1[_0x4efe77(0x14f)][_0x4efe77(0x121)](_0x360207)});}});}['runRestoreFiles'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1d9af0=_0x3b3e,_0x1b06a3=this['files'][_0x1d9af0(0x153)](_0x3aa91b=>_0x3aa91b[_0x1d9af0(0x15b)]===aws_types_1[_0x1d9af0(0x11c)][_0x1d9af0(0x14e)]);for(const _0x434ca2 of _0x1b06a3){yield this[_0x1d9af0(0x150)](_0x434ca2['path']),_0x434ca2[_0x1d9af0(0x15b)]=aws_types_1[_0x1d9af0(0x11c)][_0x1d9af0(0x133)];}});}['updateFilesRetrieveStatus'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x146f5e=_0x3b3e,_0x45a401=this[_0x146f5e(0x152)]['filter'](_0x3160b6=>_0x3160b6[_0x146f5e(0x15b)]===aws_types_1[_0x146f5e(0x11c)][_0x146f5e(0x133)]);for(const _0x1d54b of _0x45a401){const _0x5f0624=yield this['fetchFileInfo'](_0x1d54b[_0x146f5e(0x138)]);_0x1d54b['status']=aws_s3_utils_1['AwsS3Utils'][_0x146f5e(0x121)](_0x5f0624);}});}['checkFilesRetrieveStatus'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3b1fb6=_0x3b3e,_0x50bd92=this['files'][_0x3b1fb6(0x13c)](_0x3a6624=>_0x3a6624[_0x3b1fb6(0x15b)]===aws_types_1[_0x3b1fb6(0x11c)]['Restoring']);this['status']=_0x50bd92?retrieve_status_enum_1[_0x3b1fb6(0x15c)][_0x3b1fb6(0x149)]:retrieve_status_enum_1['RetrieveStatus'][_0x3b1fb6(0x12f)],_0x50bd92&&(yield(0x0,promises_1[_0x3b1fb6(0x12e)])(this['CHECK_RESTORED_TIMEOUT']),yield this[_0x3b1fb6(0x131)](),yield this[_0x3b1fb6(0x155)]());});}}exports[_0xa740d5(0x140)]=AwsS3Retrieve;
@@ -1 +1 @@
1
- 'use strict';const _0x3d929b=_0x5dd3;(function(_0x1b6c3b,_0x4644c4){const _0x43e4bc=_0x5dd3,_0x284b51=_0x1b6c3b();while(!![]){try{const _0x21319c=-parseInt(_0x43e4bc(0x10f))/0x1+parseInt(_0x43e4bc(0x125))/0x2*(parseInt(_0x43e4bc(0x11a))/0x3)+-parseInt(_0x43e4bc(0x11e))/0x4+parseInt(_0x43e4bc(0x11f))/0x5+parseInt(_0x43e4bc(0x109))/0x6+parseInt(_0x43e4bc(0x111))/0x7+-parseInt(_0x43e4bc(0x113))/0x8;if(_0x21319c===_0x4644c4)break;else _0x284b51['push'](_0x284b51['shift']());}catch(_0x2dd43a){_0x284b51['push'](_0x284b51['shift']());}}}(_0x573b,0x2b7a1));function _0x573b(){const _0x1076c5=['cachePath','isDone','3MYocYu','__esModule','stream','AzureUtils','518200xnynWJ','474665kEZfrj','pop','InProgress','waitUntilRetrieveDone','value','path','602356RBWzlm','throw','apply','Completed','BaseRetrieve','join','../utils/cache.utils','split','timers/promises','status','fetchBlobBody','RETRIEVE_STATUS_CHECK_TIMEOUT','__awaiter','defineProperty','Exception','next','errorMessage','createAzureBlobContainerClient','blobsPaths','posix','CacheUtils','default','execute','sep','setTimeout','1478412sAuQlm','containerClient','Blob\x20type\x20is\x20not\x20supported','No\x20files\x20left\x20to\x20execute.','../utils/azure.utils','getAzureBlobsPaths','171781jSEifq','done','1531278NkZWeE','length','3054840kNWhKh','AzureRetrieve','getBlobClient','RetrieveStatus','Uninitialized'];_0x573b=function(){return _0x1076c5;};return _0x573b();}var __awaiter=this&&this[_0x3d929b(0xfc)]||function(_0x2325b8,_0x5868bc,_0x534bc5,_0x3817a4){function _0x1186f6(_0x230c14){return _0x230c14 instanceof _0x534bc5?_0x230c14:new _0x534bc5(function(_0x32715e){_0x32715e(_0x230c14);});}return new(_0x534bc5||(_0x534bc5=Promise))(function(_0x33be6b,_0x30649b){const _0xc346d7=_0x5dd3;function _0x2d7129(_0x5e1414){const _0x238a49=_0x5dd3;try{_0x39023e(_0x3817a4[_0x238a49(0xff)](_0x5e1414));}catch(_0x3f0ef4){_0x30649b(_0x3f0ef4);}}function _0x4f340e(_0x215d4d){const _0x41722a=_0x5dd3;try{_0x39023e(_0x3817a4[_0x41722a(0x126)](_0x215d4d));}catch(_0x34f3c4){_0x30649b(_0x34f3c4);}}function _0x39023e(_0x3a7509){const _0xeceb8=_0x5dd3;_0x3a7509[_0xeceb8(0x110)]?_0x33be6b(_0x3a7509['value']):_0x1186f6(_0x3a7509[_0xeceb8(0x123)])['then'](_0x2d7129,_0x4f340e);}_0x39023e((_0x3817a4=_0x3817a4[_0xc346d7(0x127)](_0x2325b8,_0x5868bc||[]))[_0xc346d7(0xff)]());});},__importDefault=this&&this['__importDefault']||function(_0x575a39){const _0x41f560=_0x3d929b;return _0x575a39&&_0x575a39[_0x41f560(0x11b)]?_0x575a39:{'default':_0x575a39};};Object[_0x3d929b(0xfd)](exports,_0x3d929b(0x11b),{'value':!![]}),exports['AzureRetrieve']=void 0x0;function _0x5dd3(_0x11159c,_0x21517b){const _0x573b5e=_0x573b();return _0x5dd3=function(_0x5dd31c,_0x56c1ad){_0x5dd31c=_0x5dd31c-0xf6;let _0x18776f=_0x573b5e[_0x5dd31c];return _0x18776f;},_0x5dd3(_0x11159c,_0x21517b);}const path_1=__importDefault(require(_0x3d929b(0x124))),promises_1=require(_0x3d929b(0xf8)),_1=require('./'),retrieve_status_enum_1=require('../types/retrieve-status.enum'),stream_1=require(_0x3d929b(0x11c)),azure_utils_1=require(_0x3d929b(0x10d)),cache_utils_1=require(_0x3d929b(0xf6));class AzureRetrieve extends _1[_0x3d929b(0x129)]{constructor(_0x22f356,_0x353588,_0x40c9c8){const _0x55d0c6=_0x3d929b,_0x5f0b16=_0x353588[_0x55d0c6(0xf7)](path_1[_0x55d0c6(0x105)][_0x55d0c6(0x107)])[_0x55d0c6(0x12a)](path_1[_0x55d0c6(0x105)]['posix'][_0x55d0c6(0x107)]);super(_0x22f356,_0x5f0b16),this['cachePath']=_0x40c9c8,this['RETRIEVE_STATUS_CHECK_TIMEOUT']=0x3e8,this[_0x55d0c6(0x102)]=[],this['containerClient']=azure_utils_1[_0x55d0c6(0x11d)][_0x55d0c6(0x101)](this['credentials']);}['waitUntilRetrieveDone'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x194367=_0x5dd3;this['status']===retrieve_status_enum_1[_0x194367(0x116)][_0x194367(0x117)]&&(this[_0x194367(0x102)]=yield azure_utils_1['AzureUtils'][_0x194367(0x10e)](this[_0x194367(0x124)],this['containerClient']),this[_0x194367(0xf9)]=retrieve_status_enum_1[_0x194367(0x116)][_0x194367(0x128)],yield this[_0x194367(0x122)]());switch(this[_0x194367(0xf9)]){case retrieve_status_enum_1[_0x194367(0x116)][_0x194367(0x121)]:yield(0x0,promises_1[_0x194367(0x108)])(this[_0x194367(0xfb)]),yield this[_0x194367(0x122)]();break;case retrieve_status_enum_1[_0x194367(0x116)][_0x194367(0xfe)]:throw new Error(this[_0x194367(0x100)]);}});}[_0x3d929b(0x106)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x218497=_0x5dd3;if(this[_0x218497(0xf9)]===retrieve_status_enum_1[_0x218497(0x116)][_0x218497(0x121)])throw new Error('Cannot\x20execute\x20when\x20retrieve\x20in\x20progress.');if(this['isDone']||!this[_0x218497(0x102)]['length'])throw new Error(_0x218497(0x10c));const _0x55f2a6=this[_0x218497(0x102)][_0x218497(0x120)]();let _0x4346c1;return!this[_0x218497(0x118)]?_0x4346c1=yield this[_0x218497(0xfa)](_0x55f2a6):_0x4346c1=yield cache_utils_1[_0x218497(0x104)]['createCacheFileStream'](yield this[_0x218497(0xfa)](_0x55f2a6),this['cachePath']),this[_0x218497(0x119)]=!this[_0x218497(0x102)][_0x218497(0x112)],{'path':this['path'][_0x218497(0xf7)](path_1['default'][_0x218497(0x103)][_0x218497(0x107)])[_0x218497(0x12a)](path_1[_0x218497(0x105)][_0x218497(0x107)]),'content':_0x4346c1};});}[_0x3d929b(0xfa)](_0x41af00){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x748508=_0x5dd3,_0x43a0f6=this[_0x748508(0x10a)][_0x748508(0x115)](_0x41af00),{readableStreamBody:_0x34306b}=yield _0x43a0f6['download']();if(_0x34306b instanceof stream_1['Readable'])return _0x34306b;throw new Error(_0x748508(0x10b));});}}exports[_0x3d929b(0x114)]=AzureRetrieve;
1
+ 'use strict';function _0x3181(_0x344d92,_0x5aeb05){const _0x42fd83=_0x42fd();return _0x3181=function(_0x318152,_0x872bd7){_0x318152=_0x318152-0x16a;let _0xddf38a=_0x42fd83[_0x318152];return _0xddf38a;},_0x3181(_0x344d92,_0x5aeb05);}const _0x35405f=_0x3181;(function(_0x357263,_0x513826){const _0x47a0e6=_0x3181,_0x5e0246=_0x357263();while(!![]){try{const _0x18312d=-parseInt(_0x47a0e6(0x17e))/0x1+parseInt(_0x47a0e6(0x16e))/0x2+-parseInt(_0x47a0e6(0x17a))/0x3*(-parseInt(_0x47a0e6(0x18c))/0x4)+parseInt(_0x47a0e6(0x176))/0x5*(parseInt(_0x47a0e6(0x19d))/0x6)+parseInt(_0x47a0e6(0x19c))/0x7+parseInt(_0x47a0e6(0x174))/0x8+-parseInt(_0x47a0e6(0x18a))/0x9*(parseInt(_0x47a0e6(0x179))/0xa);if(_0x18312d===_0x513826)break;else _0x5e0246['push'](_0x5e0246['shift']());}catch(_0x100319){_0x5e0246['push'](_0x5e0246['shift']());}}}(_0x42fd,0xe9a85));function _0x42fd(){const _0x3e6f68=['No\x20files\x20left\x20to\x20execute.','default','../utils/cache.utils','Uninitialized','done','Cannot\x20execute\x20when\x20retrieve\x20in\x20progress.','RETRIEVE_STATUS_CHECK_TIMEOUT','Completed','../utils/azure.utils','2896523nNnYNz','102atYZSc','../types/retrieve-status.enum','BaseRetrieve','setTimeout','fetchBlobBody','cachePath','3000880jDcRAV','AzureUtils','getBlobClient','stream','__esModule','createAzureBlobContainerClient','13764736YOwPsX','credentials','517385mcvwGC','sep','join','20bTnqhe','6951yNSTqD','Blob\x20type\x20is\x20not\x20supported','timers/promises','defineProperty','1006232OZHMnY','Exception','createCacheFileStream','RetrieveStatus','pop','AzureRetrieve','next','path','status','throw','blobsPaths','download','20056806hhcBSr','posix','1772pqqszM','isDone','waitUntilRetrieveDone','containerClient','value','split','apply'];_0x42fd=function(){return _0x3e6f68;};return _0x42fd();}var __awaiter=this&&this['__awaiter']||function(_0x241d95,_0x37b4f9,_0x5ad096,_0x579e68){function _0x1873a9(_0x3c441a){return _0x3c441a instanceof _0x5ad096?_0x3c441a:new _0x5ad096(function(_0x3b9778){_0x3b9778(_0x3c441a);});}return new(_0x5ad096||(_0x5ad096=Promise))(function(_0x32bf63,_0x516198){const _0x309f7c=_0x3181;function _0x18bacf(_0x5b0564){const _0x3e36e4=_0x3181;try{_0x101e66(_0x579e68[_0x3e36e4(0x184)](_0x5b0564));}catch(_0x2d4acf){_0x516198(_0x2d4acf);}}function _0x36ec03(_0x58f62e){const _0x24a101=_0x3181;try{_0x101e66(_0x579e68[_0x24a101(0x187)](_0x58f62e));}catch(_0x44d1ff){_0x516198(_0x44d1ff);}}function _0x101e66(_0x27c948){const _0x254dc0=_0x3181;_0x27c948[_0x254dc0(0x197)]?_0x32bf63(_0x27c948[_0x254dc0(0x190)]):_0x1873a9(_0x27c948[_0x254dc0(0x190)])['then'](_0x18bacf,_0x36ec03);}_0x101e66((_0x579e68=_0x579e68[_0x309f7c(0x192)](_0x241d95,_0x37b4f9||[]))[_0x309f7c(0x184)]());});},__importDefault=this&&this['__importDefault']||function(_0x4e60bd){const _0x145ba2=_0x3181;return _0x4e60bd&&_0x4e60bd[_0x145ba2(0x172)]?_0x4e60bd:{'default':_0x4e60bd};};Object[_0x35405f(0x17d)](exports,_0x35405f(0x172),{'value':!![]}),exports['AzureRetrieve']=void 0x0;const path_1=__importDefault(require(_0x35405f(0x185))),promises_1=require(_0x35405f(0x17c)),_1=require('./'),retrieve_status_enum_1=require(_0x35405f(0x19e)),stream_1=require(_0x35405f(0x171)),azure_utils_1=require(_0x35405f(0x19b)),cache_utils_1=require(_0x35405f(0x195));class AzureRetrieve extends _1[_0x35405f(0x16a)]{constructor(_0x22d32a,_0x5e9c7e,_0x8e4737){const _0x44c7cf=_0x35405f,_0x298d28=_0x5e9c7e[_0x44c7cf(0x191)](path_1[_0x44c7cf(0x194)]['sep'])[_0x44c7cf(0x178)](path_1['default'][_0x44c7cf(0x18b)][_0x44c7cf(0x177)]);super(_0x22d32a,_0x298d28),this[_0x44c7cf(0x16d)]=_0x8e4737,this[_0x44c7cf(0x199)]=0x3e8,this[_0x44c7cf(0x188)]=[],this[_0x44c7cf(0x18f)]=azure_utils_1[_0x44c7cf(0x16f)][_0x44c7cf(0x173)](this[_0x44c7cf(0x175)]);}[_0x35405f(0x18e)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5e4276=_0x3181;this['status']===retrieve_status_enum_1[_0x5e4276(0x181)][_0x5e4276(0x196)]&&(this[_0x5e4276(0x188)]=yield azure_utils_1[_0x5e4276(0x16f)]['getAzureBlobsPaths'](this[_0x5e4276(0x185)],this[_0x5e4276(0x18f)]),this[_0x5e4276(0x186)]=retrieve_status_enum_1['RetrieveStatus'][_0x5e4276(0x19a)],yield this[_0x5e4276(0x18e)]());switch(this[_0x5e4276(0x186)]){case retrieve_status_enum_1[_0x5e4276(0x181)]['InProgress']:yield(0x0,promises_1[_0x5e4276(0x16b)])(this[_0x5e4276(0x199)]),yield this[_0x5e4276(0x18e)]();break;case retrieve_status_enum_1['RetrieveStatus'][_0x5e4276(0x17f)]:throw new Error(this['errorMessage']);}});}['execute'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2f7532=_0x3181;if(this['status']===retrieve_status_enum_1['RetrieveStatus']['InProgress'])throw new Error(_0x2f7532(0x198));if(this[_0x2f7532(0x18d)]||!this['blobsPaths']['length'])throw new Error(_0x2f7532(0x193));const _0x5eebb4=this['blobsPaths'][_0x2f7532(0x182)]();let _0xd67938;return!this['cachePath']?_0xd67938=yield this[_0x2f7532(0x16c)](_0x5eebb4):_0xd67938=yield cache_utils_1['CacheUtils'][_0x2f7532(0x180)](yield this[_0x2f7532(0x16c)](_0x5eebb4),this[_0x2f7532(0x16d)]),this[_0x2f7532(0x18d)]=!this[_0x2f7532(0x188)]['length'],{'path':this['path'][_0x2f7532(0x191)](path_1[_0x2f7532(0x194)][_0x2f7532(0x18b)][_0x2f7532(0x177)])[_0x2f7532(0x178)](path_1[_0x2f7532(0x194)]['sep']),'content':_0xd67938};});}[_0x35405f(0x16c)](_0x5d03d3){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x51c3f1=_0x3181,_0x2396b5=this[_0x51c3f1(0x18f)][_0x51c3f1(0x170)](_0x5d03d3),{readableStreamBody:_0x2c5779}=yield _0x2396b5[_0x51c3f1(0x189)]();if(_0x2c5779 instanceof stream_1['Readable'])return _0x2c5779;throw new Error(_0x51c3f1(0x17b));});}}exports[_0x35405f(0x183)]=AzureRetrieve;
@@ -1 +1 @@
1
- 'use strict';const _0x4d549c=_0x1d65;(function(_0x2572f0,_0x3e10f1){const _0x4120c0=_0x1d65,_0x17e67f=_0x2572f0();while(!![]){try{const _0x5d8606=parseInt(_0x4120c0(0x1c4))/0x1+-parseInt(_0x4120c0(0x1c7))/0x2+parseInt(_0x4120c0(0x1c3))/0x3*(-parseInt(_0x4120c0(0x1c5))/0x4)+parseInt(_0x4120c0(0x1b7))/0x5*(parseInt(_0x4120c0(0x1be))/0x6)+parseInt(_0x4120c0(0x1ba))/0x7*(parseInt(_0x4120c0(0x1ca))/0x8)+parseInt(_0x4120c0(0x1bd))/0x9+parseInt(_0x4120c0(0x1c8))/0xa*(-parseInt(_0x4120c0(0x1c9))/0xb);if(_0x5d8606===_0x3e10f1)break;else _0x17e67f['push'](_0x17e67f['shift']());}catch(_0x45fa55){_0x17e67f['push'](_0x17e67f['shift']());}}}(_0x4c53,0x8b9de));function _0x1d65(_0x4591da,_0x18ba44){const _0x4c53e8=_0x4c53();return _0x1d65=function(_0x1d651a,_0x3ba2cf){_0x1d651a=_0x1d651a-0x1b7;let _0xd3896c=_0x4c53e8[_0x1d651a];return _0xd3896c;},_0x1d65(_0x4591da,_0x18ba44);}Object[_0x4d549c(0x1bf)](exports,'__esModule',{'value':!![]}),exports[_0x4d549c(0x1bb)]=void 0x0;const retrieve_status_enum_1=require(_0x4d549c(0x1c1));class BaseRetrieve{constructor(_0x3c2857,_0x49c4a6){const _0x5451e7=_0x4d549c;this[_0x5451e7(0x1c6)]=_0x3c2857,this[_0x5451e7(0x1b8)]=_0x49c4a6,this[_0x5451e7(0x1c2)]=![],this[_0x5451e7(0x1bc)]=retrieve_status_enum_1['RetrieveStatus'][_0x5451e7(0x1b9)];}[_0x4d549c(0x1c0)](){const _0x36ea0f=_0x4d549c;return this[_0x36ea0f(0x1c2)];}}function _0x4c53(){const _0x47535d=['176499VjINAp','214196ZTrfFs','credentials','1256678HJZyTd','1589290tYurbw','44ftzPEv','5912hazpNr','66425oKQofC','path','Uninitialized','10521GKNhDq','BaseRetrieve','status','5580378ypRyAa','258QhFZLu','defineProperty','getIsDone','../types/retrieve-status.enum','isDone','36RtUxpE'];_0x4c53=function(){return _0x47535d;};return _0x4c53();}exports[_0x4d549c(0x1bb)]=BaseRetrieve;
1
+ 'use strict';function _0x1302(_0x159880,_0x264042){const _0x4a0a9c=_0x4a0a();return _0x1302=function(_0x13023b,_0x56f233){_0x13023b=_0x13023b-0x9e;let _0x4134ac=_0x4a0a9c[_0x13023b];return _0x4134ac;},_0x1302(_0x159880,_0x264042);}const _0xc72d27=_0x1302;(function(_0x45d545,_0xd4f892){const _0x2a62ea=_0x1302,_0x31de2c=_0x45d545();while(!![]){try{const _0x5cadb3=parseInt(_0x2a62ea(0xab))/0x1+parseInt(_0x2a62ea(0xad))/0x2*(-parseInt(_0x2a62ea(0xa8))/0x3)+-parseInt(_0x2a62ea(0xa5))/0x4+-parseInt(_0x2a62ea(0xb1))/0x5*(-parseInt(_0x2a62ea(0xaa))/0x6)+-parseInt(_0x2a62ea(0xac))/0x7*(parseInt(_0x2a62ea(0x9e))/0x8)+parseInt(_0x2a62ea(0xa7))/0x9+parseInt(_0x2a62ea(0xb0))/0xa*(parseInt(_0x2a62ea(0xaf))/0xb);if(_0x5cadb3===_0xd4f892)break;else _0x31de2c['push'](_0x31de2c['shift']());}catch(_0x159148){_0x31de2c['push'](_0x31de2c['shift']());}}}(_0x4a0a,0x7549d));function _0x4a0a(){const _0x3c8d20=['getIsDone','422376ZAeYUH','902370AnSAAZ','77OJIkEP','25138dNCFcp','credentials','8241805rYJFNI','10zPdUxE','20jsWQeU','306616RiGpoV','defineProperty','RetrieveStatus','status','Uninitialized','__esModule','isDone','2984604zeoXdS','BaseRetrieve','4108707KWeacx','177TjhqOv'];_0x4a0a=function(){return _0x3c8d20;};return _0x4a0a();}Object[_0xc72d27(0x9f)](exports,_0xc72d27(0xa3),{'value':!![]}),exports[_0xc72d27(0xa6)]=void 0x0;const retrieve_status_enum_1=require('../types/retrieve-status.enum');class BaseRetrieve{constructor(_0x3b9185,_0x9147a4){const _0x1e8485=_0xc72d27;this[_0x1e8485(0xae)]=_0x3b9185,this['path']=_0x9147a4,this['isDone']=![],this[_0x1e8485(0xa1)]=retrieve_status_enum_1[_0x1e8485(0xa0)][_0x1e8485(0xa2)];}[_0xc72d27(0xa9)](){const _0x4f155a=_0xc72d27;return this[_0x4f155a(0xa4)];}}exports[_0xc72d27(0xa6)]=BaseRetrieve;
@@ -1 +1 @@
1
- 'use strict';var _0x36a26a=_0x2f02;(function(_0x3820c4,_0x3dad8e){var _0x14d7dc=_0x2f02,_0x36d3bf=_0x3820c4();while(!![]){try{var _0x15e73e=parseInt(_0x14d7dc(0x142))/0x1+-parseInt(_0x14d7dc(0x14a))/0x2+-parseInt(_0x14d7dc(0x13b))/0x3+parseInt(_0x14d7dc(0x13c))/0x4*(-parseInt(_0x14d7dc(0x147))/0x5)+parseInt(_0x14d7dc(0x138))/0x6*(-parseInt(_0x14d7dc(0x144))/0x7)+-parseInt(_0x14d7dc(0x137))/0x8+-parseInt(_0x14d7dc(0x145))/0x9*(-parseInt(_0x14d7dc(0x140))/0xa);if(_0x15e73e===_0x3dad8e)break;else _0x36d3bf['push'](_0x36d3bf['shift']());}catch(_0x306ad9){_0x36d3bf['push'](_0x36d3bf['shift']());}}}(_0x5484,0x4359a));Object[_0x36a26a(0x13f)](exports,'__esModule',{'value':!![]}),exports['AzureRetrieve']=exports[_0x36a26a(0x14b)]=exports[_0x36a26a(0x13e)]=exports['AwsS3Retrieve']=exports[_0x36a26a(0x148)]=void 0x0;var base_retrieve_1=require(_0x36a26a(0x13d));Object[_0x36a26a(0x13f)](exports,_0x36a26a(0x148),{'enumerable':!![],'get':function(){var _0x131cb2=_0x36a26a;return base_retrieve_1[_0x131cb2(0x148)];}});var aws_s3_retrieve_1=require(_0x36a26a(0x149));Object[_0x36a26a(0x13f)](exports,_0x36a26a(0x141),{'enumerable':!![],'get':function(){var _0x3ee77f=_0x36a26a;return aws_s3_retrieve_1[_0x3ee77f(0x141)];}});function _0x2f02(_0x4baeae,_0x10510b){var _0x54844e=_0x5484();return _0x2f02=function(_0x2f0265,_0x51721d){_0x2f0265=_0x2f0265-0x137;var _0x3d8398=_0x54844e[_0x2f0265];return _0x3d8398;},_0x2f02(_0x4baeae,_0x10510b);}var local_retrieve_1=require(_0x36a26a(0x143));Object[_0x36a26a(0x13f)](exports,_0x36a26a(0x13e),{'enumerable':!![],'get':function(){var _0x2e9bd0=_0x36a26a;return local_retrieve_1[_0x2e9bd0(0x13e)];}});function _0x5484(){var _0x57c8ba=['4qPxwci','./base-retrieve','LocalRetrieve','defineProperty','100oWUiZI','AwsS3Retrieve','162945AOrmxJ','./local-retrieve','7JRBWfk','1109898NsoElB','./azure-retrieve','1496785bvYzzD','BaseRetrieve','./aws-s3-retrieve','62730vhsHHJ','AwsS3ImportHelper','1672888cxzYCu','3185466bTuJYe','./aws-s3-import-helper','AzureRetrieve','148665IsJiuK'];_0x5484=function(){return _0x57c8ba;};return _0x5484();}var aws_s3_import_helper_1=require(_0x36a26a(0x139));Object[_0x36a26a(0x13f)](exports,_0x36a26a(0x14b),{'enumerable':!![],'get':function(){var _0x10751a=_0x36a26a;return aws_s3_import_helper_1[_0x10751a(0x14b)];}});var azure_retrieve_1=require(_0x36a26a(0x146));Object['defineProperty'](exports,'AzureRetrieve',{'enumerable':!![],'get':function(){var _0x55d902=_0x36a26a;return azure_retrieve_1[_0x55d902(0x13a)];}});
1
+ 'use strict';function _0xf36e(_0x27efec,_0x35c9ea){var _0x52b0d9=_0x52b0();return _0xf36e=function(_0xf36eb2,_0x43a36d){_0xf36eb2=_0xf36eb2-0xb7;var _0x298ac2=_0x52b0d9[_0xf36eb2];return _0x298ac2;},_0xf36e(_0x27efec,_0x35c9ea);}var _0x3aae61=_0xf36e;(function(_0x4980f6,_0x5e17ee){var _0x145ed3=_0xf36e,_0x11e6e2=_0x4980f6();while(!![]){try{var _0x464dff=parseInt(_0x145ed3(0xba))/0x1+parseInt(_0x145ed3(0xc8))/0x2+parseInt(_0x145ed3(0xbb))/0x3+-parseInt(_0x145ed3(0xc4))/0x4+-parseInt(_0x145ed3(0xbd))/0x5+-parseInt(_0x145ed3(0xbe))/0x6*(parseInt(_0x145ed3(0xb9))/0x7)+parseInt(_0x145ed3(0xc7))/0x8;if(_0x464dff===_0x5e17ee)break;else _0x11e6e2['push'](_0x11e6e2['shift']());}catch(_0x57e709){_0x11e6e2['push'](_0x11e6e2['shift']());}}}(_0x52b0,0x91664));Object[_0x3aae61(0xc6)](exports,'__esModule',{'value':!![]}),exports[_0x3aae61(0xc5)]=exports[_0x3aae61(0xc2)]=exports[_0x3aae61(0xb8)]=exports[_0x3aae61(0xbc)]=exports['BaseRetrieve']=void 0x0;var base_retrieve_1=require('./base-retrieve');Object[_0x3aae61(0xc6)](exports,_0x3aae61(0xc3),{'enumerable':!![],'get':function(){return base_retrieve_1['BaseRetrieve'];}});var aws_s3_retrieve_1=require(_0x3aae61(0xc1));Object[_0x3aae61(0xc6)](exports,_0x3aae61(0xbc),{'enumerable':!![],'get':function(){var _0x245bf9=_0x3aae61;return aws_s3_retrieve_1[_0x245bf9(0xbc)];}});var local_retrieve_1=require(_0x3aae61(0xb7));Object[_0x3aae61(0xc6)](exports,_0x3aae61(0xb8),{'enumerable':!![],'get':function(){var _0xe3d80f=_0x3aae61;return local_retrieve_1[_0xe3d80f(0xb8)];}});var aws_s3_import_helper_1=require(_0x3aae61(0xc0));function _0x52b0(){var _0x320cfc=['386510Bvpbyv','./local-retrieve','LocalRetrieve','11501SIhkNL','391880OXlhkx','1140573csXQkh','AwsS3Retrieve','160410jfTMcy','3558daNYBP','./azure-retrieve','./aws-s3-import-helper','./aws-s3-retrieve','AwsS3ImportHelper','BaseRetrieve','1357180ChnrdK','AzureRetrieve','defineProperty','7807248srQmTt'];_0x52b0=function(){return _0x320cfc;};return _0x52b0();}Object[_0x3aae61(0xc6)](exports,_0x3aae61(0xc2),{'enumerable':!![],'get':function(){var _0x380c4a=_0x3aae61;return aws_s3_import_helper_1[_0x380c4a(0xc2)];}});var azure_retrieve_1=require(_0x3aae61(0xbf));Object[_0x3aae61(0xc6)](exports,_0x3aae61(0xc5),{'enumerable':!![],'get':function(){var _0x1d5cc1=_0x3aae61;return azure_retrieve_1[_0x1d5cc1(0xc5)];}});
@@ -1 +1 @@
1
- 'use strict';const _0x257e37=_0x46ee;(function(_0x143435,_0x439608){const _0x49efb8=_0x46ee,_0x4bdafe=_0x143435();while(!![]){try{const _0x1091b6=parseInt(_0x49efb8(0x172))/0x1*(parseInt(_0x49efb8(0x18c))/0x2)+-parseInt(_0x49efb8(0x173))/0x3+parseInt(_0x49efb8(0x179))/0x4+parseInt(_0x49efb8(0x18d))/0x5*(-parseInt(_0x49efb8(0x17e))/0x6)+-parseInt(_0x49efb8(0x177))/0x7*(parseInt(_0x49efb8(0x178))/0x8)+parseInt(_0x49efb8(0x17f))/0x9*(-parseInt(_0x49efb8(0x186))/0xa)+-parseInt(_0x49efb8(0x171))/0xb*(-parseInt(_0x49efb8(0x187))/0xc);if(_0x1091b6===_0x439608)break;else _0x4bdafe['push'](_0x4bdafe['shift']());}catch(_0x16b832){_0x4bdafe['push'](_0x4bdafe['shift']());}}}(_0x4700,0xa118e));function _0x4700(){const _0x4113cb=['next','path','Completed','17090513zTMWlp','25981kLSNAd','908904IboOJv','defineProperty','createReadStream','length','175IUiXTE','296816VuYnIg','1127136wArzqc','isDone','../types/retrieve-status.enum','apply','Uninitialized','5489106vtaWbm','202320JgJLKq','FsUtils','throw','done','execute','@flosum/utils','filesPaths','410fcuOfu','24ojmLgB','__awaiter','waitUntilRetrieveDone','__esModule','then','26YKCxzW','5HZMEjo','status','LocalRetrieve','readFilesToRetrieve'];_0x4700=function(){return _0x4113cb;};return _0x4700();}var __awaiter=this&&this[_0x257e37(0x188)]||function(_0x5c7bc1,_0x6cfbc4,_0x4ebfd5,_0x4f2623){function _0x2cb3aa(_0x19bbfb){return _0x19bbfb instanceof _0x4ebfd5?_0x19bbfb:new _0x4ebfd5(function(_0x22d281){_0x22d281(_0x19bbfb);});}return new(_0x4ebfd5||(_0x4ebfd5=Promise))(function(_0x28e588,_0x389c9e){const _0x5c118d=_0x46ee;function _0x2ad3b0(_0x20c0fd){const _0x1460d5=_0x46ee;try{_0x25feed(_0x4f2623[_0x1460d5(0x16e)](_0x20c0fd));}catch(_0x40f267){_0x389c9e(_0x40f267);}}function _0x14e3ca(_0x1ecfd5){const _0x4751ed=_0x46ee;try{_0x25feed(_0x4f2623[_0x4751ed(0x181)](_0x1ecfd5));}catch(_0xac0707){_0x389c9e(_0xac0707);}}function _0x25feed(_0x500985){const _0xb1105e=_0x46ee;_0x500985[_0xb1105e(0x182)]?_0x28e588(_0x500985['value']):_0x2cb3aa(_0x500985['value'])[_0xb1105e(0x18b)](_0x2ad3b0,_0x14e3ca);}_0x25feed((_0x4f2623=_0x4f2623[_0x5c118d(0x17c)](_0x5c7bc1,_0x6cfbc4||[]))[_0x5c118d(0x16e)]());});};Object[_0x257e37(0x174)](exports,_0x257e37(0x18a),{'value':!![]}),exports[_0x257e37(0x16c)]=void 0x0;const fs_1=require('fs'),utils_1=require(_0x257e37(0x184)),_1=require('./'),retrieve_status_enum_1=require(_0x257e37(0x17b));class LocalRetrieve extends _1['BaseRetrieve']{constructor(){const _0x41f823=_0x257e37;super(...arguments),this[_0x41f823(0x185)]=[];}[_0x257e37(0x183)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5d0615=_0x46ee,_0xa15e74=this[_0x5d0615(0x185)]['shift'](),_0x44f25b=(0x0,fs_1[_0x5d0615(0x175)])(_0xa15e74);return this[_0x5d0615(0x17a)]=!this[_0x5d0615(0x185)][_0x5d0615(0x176)],{'path':_0xa15e74,'content':_0x44f25b};});}['readFilesToRetrieve'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1875ae=_0x46ee;this['filesPaths']=yield utils_1[_0x1875ae(0x180)]['getFolderFiles'](this[_0x1875ae(0x16f)]);});}[_0x257e37(0x189)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1aa5e2=_0x46ee;this[_0x1aa5e2(0x16b)]===retrieve_status_enum_1['RetrieveStatus'][_0x1aa5e2(0x17d)]&&(yield this[_0x1aa5e2(0x16d)](),this['status']=retrieve_status_enum_1['RetrieveStatus'][_0x1aa5e2(0x170)]);});}}function _0x46ee(_0xe59862,_0x3dc2ef){const _0x47002e=_0x4700();return _0x46ee=function(_0x46ee68,_0x27b27d){_0x46ee68=_0x46ee68-0x16b;let _0x2f4a58=_0x47002e[_0x46ee68];return _0x2f4a58;},_0x46ee(_0xe59862,_0x3dc2ef);}exports['LocalRetrieve']=LocalRetrieve;
1
+ 'use strict';function _0x2da7(_0x31fdda,_0x45c434){const _0x5e854b=_0x5e85();return _0x2da7=function(_0x2da7a7,_0x925a2e){_0x2da7a7=_0x2da7a7-0x18b;let _0x566319=_0x5e854b[_0x2da7a7];return _0x566319;},_0x2da7(_0x31fdda,_0x45c434);}function _0x5e85(){const _0x31d5dc=['624141Jfnaqn','__awaiter','isDone','waitUntilRetrieveDone','525440FedaVU','19584oQPuYT','368IGAeGi','then','250989IuvWYX','filesPaths','BaseRetrieve','createReadStream','567588kVrMiO','__esModule','1362361hYIUAP','FsUtils','21807nAPLzJ','defineProperty','Uninitialized','RetrieveStatus','done','apply','../types/retrieve-status.enum','@flosum/utils','Completed','45mKbZfz','shift','readFilesToRetrieve','next','path','value','length','LocalRetrieve','getFolderFiles'];_0x5e85=function(){return _0x31d5dc;};return _0x5e85();}const _0x3dd696=_0x2da7;(function(_0x4c810d,_0x2f7b78){const _0x409787=_0x2da7,_0x5cb692=_0x4c810d();while(!![]){try{const _0xef3de=-parseInt(_0x409787(0x190))/0x1+parseInt(_0x409787(0x18c))/0x2+parseInt(_0x409787(0x1aa))/0x3+-parseInt(_0x409787(0x194))/0x4+-parseInt(_0x409787(0x1a1))/0x5*(-parseInt(_0x409787(0x18d))/0x6)+parseInt(_0x409787(0x196))/0x7+-parseInt(_0x409787(0x18e))/0x8*(parseInt(_0x409787(0x198))/0x9);if(_0xef3de===_0x2f7b78)break;else _0x5cb692['push'](_0x5cb692['shift']());}catch(_0x1abdb6){_0x5cb692['push'](_0x5cb692['shift']());}}}(_0x5e85,0x2e7d6));var __awaiter=this&&this[_0x3dd696(0x1ab)]||function(_0x158fe5,_0x5f2b53,_0x3effa7,_0x52859a){function _0x5597d4(_0x3cb7e8){return _0x3cb7e8 instanceof _0x3effa7?_0x3cb7e8:new _0x3effa7(function(_0x3f43b7){_0x3f43b7(_0x3cb7e8);});}return new(_0x3effa7||(_0x3effa7=Promise))(function(_0x27fae5,_0x55e531){const _0x103335=_0x2da7;function _0x132b41(_0x57d673){const _0x4aea85=_0x2da7;try{_0x50d08f(_0x52859a[_0x4aea85(0x1a4)](_0x57d673));}catch(_0x69fa6d){_0x55e531(_0x69fa6d);}}function _0x2ff634(_0x3c8047){try{_0x50d08f(_0x52859a['throw'](_0x3c8047));}catch(_0x505ace){_0x55e531(_0x505ace);}}function _0x50d08f(_0x232b89){const _0x2124f4=_0x2da7;_0x232b89[_0x2124f4(0x19c)]?_0x27fae5(_0x232b89[_0x2124f4(0x1a6)]):_0x5597d4(_0x232b89[_0x2124f4(0x1a6)])[_0x2124f4(0x18f)](_0x132b41,_0x2ff634);}_0x50d08f((_0x52859a=_0x52859a[_0x103335(0x19d)](_0x158fe5,_0x5f2b53||[]))[_0x103335(0x1a4)]());});};Object[_0x3dd696(0x199)](exports,_0x3dd696(0x195),{'value':!![]}),exports[_0x3dd696(0x1a8)]=void 0x0;const fs_1=require('fs'),utils_1=require(_0x3dd696(0x19f)),_1=require('./'),retrieve_status_enum_1=require(_0x3dd696(0x19e));class LocalRetrieve extends _1[_0x3dd696(0x192)]{constructor(){const _0x4e558d=_0x3dd696;super(...arguments),this[_0x4e558d(0x191)]=[];}['execute'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x881095=_0x2da7,_0x1be57e=this[_0x881095(0x191)][_0x881095(0x1a2)](),_0x35e406=(0x0,fs_1[_0x881095(0x193)])(_0x1be57e);return this[_0x881095(0x1ac)]=!this[_0x881095(0x191)][_0x881095(0x1a7)],{'path':_0x1be57e,'content':_0x35e406};});}[_0x3dd696(0x1a3)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1ad430=_0x2da7;this['filesPaths']=yield utils_1[_0x1ad430(0x197)][_0x1ad430(0x1a9)](this[_0x1ad430(0x1a5)]);});}[_0x3dd696(0x18b)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x45c142=_0x2da7;this['status']===retrieve_status_enum_1[_0x45c142(0x19b)][_0x45c142(0x19a)]&&(yield this[_0x45c142(0x1a3)](),this['status']=retrieve_status_enum_1[_0x45c142(0x19b)][_0x45c142(0x1a0)]);});}}exports[_0x3dd696(0x1a8)]=LocalRetrieve;
@@ -1,4 +1,5 @@
1
- import { StorageClass } from '@aws-sdk/client-s3';
1
+ import { ServiceInputTypes, StorageClass } from '@aws-sdk/client-s3';
2
+ import { BuildHandler, BuildHandlerOptions, AwsHandlerExecutionContext, BuildHandlerArguments } from '@aws-sdk/types';
2
3
  export declare type AwsFile = {
3
4
  path: string;
4
5
  class: StorageClass;
@@ -19,3 +20,7 @@ export declare type AwsCredentials = {
19
20
  accessKeyId?: string;
20
21
  secretAccessKey?: string;
21
22
  };
23
+ export declare type AwsBuildMiddleware = {
24
+ handler: (next: BuildHandler<any, any>, context: AwsHandlerExecutionContext) => (args: BuildHandlerArguments<ServiceInputTypes>) => Promise<any>;
25
+ options: BuildHandlerOptions;
26
+ };
@@ -1 +1 @@
1
- 'use strict';var _0x27687f=_0x3482;function _0x3482(_0x152b51,_0x5306ba){var _0x531b3c=_0x531b();return _0x3482=function(_0x34829a,_0x3bebcc){_0x34829a=_0x34829a-0x1e5;var _0x7fd93=_0x531b3c[_0x34829a];return _0x7fd93;},_0x3482(_0x152b51,_0x5306ba);}(function(_0x50926d,_0xc28bf9){var _0x11f6ac=_0x3482,_0x4326ba=_0x50926d();while(!![]){try{var _0x4ef2e2=-parseInt(_0x11f6ac(0x1ef))/0x1*(-parseInt(_0x11f6ac(0x1ea))/0x2)+parseInt(_0x11f6ac(0x1f1))/0x3+parseInt(_0x11f6ac(0x1f2))/0x4+-parseInt(_0x11f6ac(0x1eb))/0x5+-parseInt(_0x11f6ac(0x1ec))/0x6*(parseInt(_0x11f6ac(0x1e8))/0x7)+parseInt(_0x11f6ac(0x1f0))/0x8+-parseInt(_0x11f6ac(0x1e5))/0x9*(parseInt(_0x11f6ac(0x1e7))/0xa);if(_0x4ef2e2===_0xc28bf9)break;else _0x4326ba['push'](_0x4326ba['shift']());}catch(_0xbf6e31){_0x4326ba['push'](_0x4326ba['shift']());}}}(_0x531b,0x58f75));function _0x531b(){var _0x29f060=['25152tgRTWR','Available','Restoring','40005KeQhOL','defineProperty','60wGakrB','3995432bpPERW','AwsFileRetrieveStatus','11768fGBjSo','856155NuNgDK','6AmlknJ','__esModule','NeedRestore','72anxxHz','2185032KrSEUT','1290051TTWavt'];_0x531b=function(){return _0x29f060;};return _0x531b();}Object[_0x27687f(0x1e6)](exports,_0x27687f(0x1ed),{'value':!![]}),exports[_0x27687f(0x1e9)]=void 0x0;var AwsFileRetrieveStatus;(function(_0x25a653){var _0x3f3273=_0x27687f;_0x25a653[_0x3f3273(0x1f3)]=_0x3f3273(0x1f3),_0x25a653[_0x3f3273(0x1f4)]=_0x3f3273(0x1f4),_0x25a653[_0x3f3273(0x1ee)]=_0x3f3273(0x1ee);}(AwsFileRetrieveStatus=exports[_0x27687f(0x1e9)]||(exports[_0x27687f(0x1e9)]={})));
1
+ 'use strict';var _0x207786=_0x2b1b;(function(_0x2076cd,_0x5cff43){var _0x3c86be=_0x2b1b,_0x966741=_0x2076cd();while(!![]){try{var _0x531464=-parseInt(_0x3c86be(0x7b))/0x1*(-parseInt(_0x3c86be(0x6f))/0x2)+parseInt(_0x3c86be(0x77))/0x3+parseInt(_0x3c86be(0x75))/0x4+-parseInt(_0x3c86be(0x79))/0x5*(-parseInt(_0x3c86be(0x74))/0x6)+parseInt(_0x3c86be(0x73))/0x7*(-parseInt(_0x3c86be(0x7a))/0x8)+-parseInt(_0x3c86be(0x70))/0x9*(parseInt(_0x3c86be(0x7e))/0xa)+-parseInt(_0x3c86be(0x71))/0xb*(parseInt(_0x3c86be(0x7c))/0xc);if(_0x531464===_0x5cff43)break;else _0x966741['push'](_0x966741['shift']());}catch(_0x14ced0){_0x966741['push'](_0x966741['shift']());}}}(_0x4f6e,0xa8ceb));Object[_0x207786(0x6e)](exports,_0x207786(0x7f),{'value':!![]}),exports['AwsFileRetrieveStatus']=void 0x0;function _0x4f6e(){var _0x96d00b=['36MKOJuv','Restoring','136010GbOQlq','__esModule','defineProperty','28cYMlSK','135xojGJS','2093113VZwukS','NeedRestore','1293243AYSwsb','6yxeszG','2113360CByPHZ','Available','108198LNlpTG','AwsFileRetrieveStatus','978620RUmuxv','8ZllSCT','63637oODEDR'];_0x4f6e=function(){return _0x96d00b;};return _0x4f6e();}function _0x2b1b(_0x23057f,_0x570375){var _0x4f6e2d=_0x4f6e();return _0x2b1b=function(_0x2b1b79,_0x2e64b5){_0x2b1b79=_0x2b1b79-0x6e;var _0xcb3c9a=_0x4f6e2d[_0x2b1b79];return _0xcb3c9a;},_0x2b1b(_0x23057f,_0x570375);}var AwsFileRetrieveStatus;(function(_0x49e297){var _0x198620=_0x207786;_0x49e297['Available']=_0x198620(0x76),_0x49e297['Restoring']=_0x198620(0x7d),_0x49e297[_0x198620(0x72)]='NeedRestore';}(AwsFileRetrieveStatus=exports[_0x207786(0x78)]||(exports['AwsFileRetrieveStatus']={})));
@@ -1 +1 @@
1
- 'use strict';var _0x2d1151=_0x7d5f;function _0x4442(){var _0x372720=['30QOQXZS','688QUNhjE','33JvSNTR','46052sSOipQ','164568Ntgtjy','29633jxGKzg','570184TAdWKp','8706190KAEQJf','defineProperty','671230efXtxV','23697vTHeUx','11ngpMtF'];_0x4442=function(){return _0x372720;};return _0x4442();}(function(_0x38b841,_0xe8e2b0){var _0x55b56b=_0x7d5f,_0x325f6c=_0x38b841();while(!![]){try{var _0x3c932a=-parseInt(_0x55b56b(0x1b6))/0x1+-parseInt(_0x55b56b(0x1b7))/0x2+parseInt(_0x55b56b(0x1b3))/0x3*(parseInt(_0x55b56b(0x1b4))/0x4)+-parseInt(_0x55b56b(0x1b1))/0x5*(parseInt(_0x55b56b(0x1b5))/0x6)+-parseInt(_0x55b56b(0x1ba))/0x7+-parseInt(_0x55b56b(0x1b2))/0x8*(parseInt(_0x55b56b(0x1bb))/0x9)+-parseInt(_0x55b56b(0x1b8))/0xa*(-parseInt(_0x55b56b(0x1b0))/0xb);if(_0x3c932a===_0xe8e2b0)break;else _0x325f6c['push'](_0x325f6c['shift']());}catch(_0x17fa1e){_0x325f6c['push'](_0x325f6c['shift']());}}}(_0x4442,0x2fc39));function _0x7d5f(_0x3b7ced,_0x20964b){var _0x4442d2=_0x4442();return _0x7d5f=function(_0x7d5f0e,_0x11f520){_0x7d5f0e=_0x7d5f0e-0x1b0;var _0x928bc2=_0x4442d2[_0x7d5f0e];return _0x928bc2;},_0x7d5f(_0x3b7ced,_0x20964b);}Object[_0x2d1151(0x1b9)](exports,'__esModule',{'value':!![]});
1
+ 'use strict';function _0x39fc(_0x3b1e13,_0x2c2e40){var _0x3b3427=_0x3b34();return _0x39fc=function(_0x39fc5d,_0x5887cf){_0x39fc5d=_0x39fc5d-0x179;var _0x3904e2=_0x3b3427[_0x39fc5d];return _0x3904e2;},_0x39fc(_0x3b1e13,_0x2c2e40);}(function(_0x29ffa9,_0x3dac79){var _0x1d41e7=_0x39fc,_0x2ff5f1=_0x29ffa9();while(!![]){try{var _0x4bdff4=parseInt(_0x1d41e7(0x181))/0x1*(parseInt(_0x1d41e7(0x183))/0x2)+-parseInt(_0x1d41e7(0x17c))/0x3+-parseInt(_0x1d41e7(0x180))/0x4*(parseInt(_0x1d41e7(0x182))/0x5)+-parseInt(_0x1d41e7(0x17b))/0x6*(parseInt(_0x1d41e7(0x17e))/0x7)+-parseInt(_0x1d41e7(0x17d))/0x8+-parseInt(_0x1d41e7(0x17f))/0x9*(-parseInt(_0x1d41e7(0x179))/0xa)+parseInt(_0x1d41e7(0x17a))/0xb;if(_0x4bdff4===_0x3dac79)break;else _0x2ff5f1['push'](_0x2ff5f1['shift']());}catch(_0x1bf200){_0x2ff5f1['push'](_0x2ff5f1['shift']());}}}(_0x3b34,0xdae7a));function _0x3b34(){var _0x274e2e=['15658973XPBPMG','9032022JmYLMT','597618LhGerM','10068104SQxrvW','7nasAPb','45YMhmGA','4NaIUYP','105249TImmnM','370495PvUPER','18Zbvujo','3126010VcwKrP'];_0x3b34=function(){return _0x274e2e;};return _0x3b34();}Object['defineProperty'](exports,'__esModule',{'value':!![]});
@@ -1,2 +1,2 @@
1
- export { AwsCredentials } from './aws.types';
1
+ export { AwsCredentials, AwsBuildMiddleware } from './aws.types';
2
2
  export { StorageType } from './storage-type.enum';
@@ -1 +1 @@
1
- 'use strict';var _0x5f445c=_0xd930;(function(_0x5355e9,_0x5a040a){var _0x28f19e=_0xd930,_0x47a5eb=_0x5355e9();while(!![]){try{var _0x1a4342=parseInt(_0x28f19e(0x161))/0x1+-parseInt(_0x28f19e(0x165))/0x2*(-parseInt(_0x28f19e(0x163))/0x3)+parseInt(_0x28f19e(0x164))/0x4+parseInt(_0x28f19e(0x167))/0x5+parseInt(_0x28f19e(0x162))/0x6+parseInt(_0x28f19e(0x16a))/0x7+parseInt(_0x28f19e(0x169))/0x8*(-parseInt(_0x28f19e(0x160))/0x9);if(_0x1a4342===_0x5a040a)break;else _0x47a5eb['push'](_0x47a5eb['shift']());}catch(_0x5c03a9){_0x47a5eb['push'](_0x47a5eb['shift']());}}}(_0x1580,0x784d9));function _0xd930(_0xb18b1c,_0x3cb395){var _0x1580a8=_0x1580();return _0xd930=function(_0xd93024,_0x1ce650){_0xd93024=_0xd93024-0x15f;var _0x631b0f=_0x1580a8[_0xd93024];return _0x631b0f;},_0xd930(_0xb18b1c,_0x3cb395);}Object[_0x5f445c(0x168)](exports,_0x5f445c(0x15f),{'value':!![]}),exports[_0x5f445c(0x166)]=void 0x0;var storage_type_enum_1=require('./storage-type.enum');function _0x1580(){var _0x8af452=['18FXvhzG','940558ZAqXrE','3431778XJIYap','433695kFUTUT','1926772OSvooH','2oGsnbX','StorageType','1533480oLAlAv','defineProperty','10665064okrDbi','4994864TdXZiG','__esModule'];_0x1580=function(){return _0x8af452;};return _0x1580();}Object['defineProperty'](exports,_0x5f445c(0x166),{'enumerable':!![],'get':function(){return storage_type_enum_1['StorageType'];}});
1
+ 'use strict';var _0x1dcc97=_0x4417;function _0x4417(_0x288319,_0x3cca28){var _0x463e4e=_0x463e();return _0x4417=function(_0x441740,_0x520516){_0x441740=_0x441740-0x120;var _0x2966a0=_0x463e4e[_0x441740];return _0x2966a0;},_0x4417(_0x288319,_0x3cca28);}function _0x463e(){var _0x26d657=['4764678occDsL','85616cNNjsT','19UaRCqo','4161429pruJOC','764xdxsqj','315cDOBdm','1527DLFaJl','5MRFGqz','defineProperty','StorageType','3190960pDXjdF','14639317fvgSMy','__esModule','69446ycrGdQ'];_0x463e=function(){return _0x26d657;};return _0x463e();}(function(_0x50f514,_0x5d6d4a){var _0x2b22d8=_0x4417,_0x33ed7d=_0x50f514();while(!![]){try{var _0x10378a=parseInt(_0x2b22d8(0x122))/0x1*(parseInt(_0x2b22d8(0x12d))/0x2)+parseInt(_0x2b22d8(0x126))/0x3*(parseInt(_0x2b22d8(0x124))/0x4)+parseInt(_0x2b22d8(0x127))/0x5*(parseInt(_0x2b22d8(0x120))/0x6)+-parseInt(_0x2b22d8(0x125))/0x7*(parseInt(_0x2b22d8(0x121))/0x8)+parseInt(_0x2b22d8(0x123))/0x9+parseInt(_0x2b22d8(0x12a))/0xa+-parseInt(_0x2b22d8(0x12b))/0xb;if(_0x10378a===_0x5d6d4a)break;else _0x33ed7d['push'](_0x33ed7d['shift']());}catch(_0x4e51d3){_0x33ed7d['push'](_0x33ed7d['shift']());}}}(_0x463e,0x7efad));Object[_0x1dcc97(0x128)](exports,_0x1dcc97(0x12c),{'value':!![]}),exports['StorageType']=void 0x0;var storage_type_enum_1=require('./storage-type.enum');Object[_0x1dcc97(0x128)](exports,_0x1dcc97(0x129),{'enumerable':!![],'get':function(){var _0x3a1340=_0x1dcc97;return storage_type_enum_1[_0x3a1340(0x129)];}});
@@ -1 +1 @@
1
- 'use strict';var _0x3fa93e=_0x85d4;(function(_0x143efe,_0x2d388f){var _0x1b163d=_0x85d4,_0xc70e93=_0x143efe();while(!![]){try{var _0x384932=parseInt(_0x1b163d(0xf3))/0x1+-parseInt(_0x1b163d(0xf4))/0x2*(parseInt(_0x1b163d(0xf9))/0x3)+parseInt(_0x1b163d(0xf8))/0x4+parseInt(_0x1b163d(0xfb))/0x5+-parseInt(_0x1b163d(0xf5))/0x6*(-parseInt(_0x1b163d(0xfc))/0x7)+parseInt(_0x1b163d(0xf2))/0x8*(parseInt(_0x1b163d(0xf6))/0x9)+-parseInt(_0x1b163d(0xfa))/0xa;if(_0x384932===_0x2d388f)break;else _0xc70e93['push'](_0xc70e93['shift']());}catch(_0x186264){_0xc70e93['push'](_0xc70e93['shift']());}}}(_0x3993,0xd1ecb));function _0x3993(){var _0x523c7a=['defineProperty','4159344TzNxgE','93RyuZIG','44085200XlWiOW','1443110ZsANWz','142765iSDRiI','__esModule','16KNONVw','1630644ueWhGy','3974AMJtDc','216VjcgIT','7364907KYmJLw'];_0x3993=function(){return _0x523c7a;};return _0x3993();}function _0x85d4(_0x2f3ce4,_0x25d9e5){var _0x399310=_0x3993();return _0x85d4=function(_0x85d49b,_0x5ea980){_0x85d49b=_0x85d49b-0xf2;var _0x3a48ef=_0x399310[_0x85d49b];return _0x3a48ef;},_0x85d4(_0x2f3ce4,_0x25d9e5);}Object[_0x3fa93e(0xf7)](exports,_0x3fa93e(0xfd),{'value':!![]});
1
+ 'use strict';function _0x43e0(){var _0x3d5124=['__esModule','3736701FKzoPc','4648910FCIQyv','defineProperty','692TYBmHs','2487892KykKGU','88iBXvti','1773815NUutag','869120lwEmwq','9066cCfwRo','8754744TByoUD'];_0x43e0=function(){return _0x3d5124;};return _0x43e0();}var _0x1c4563=_0x5d34;(function(_0x5e3e72,_0x1bb403){var _0x1a3cfe=_0x5d34,_0x237b24=_0x5e3e72();while(!![]){try{var _0x3ebc8b=parseInt(_0x1a3cfe(0x177))/0x1+parseInt(_0x1a3cfe(0x175))/0x2+parseInt(_0x1a3cfe(0x179))/0x3*(parseInt(_0x1a3cfe(0x174))/0x4)+-parseInt(_0x1a3cfe(0x178))/0x5+parseInt(_0x1a3cfe(0x16f))/0x6+parseInt(_0x1a3cfe(0x172))/0x7+parseInt(_0x1a3cfe(0x176))/0x8*(-parseInt(_0x1a3cfe(0x171))/0x9);if(_0x3ebc8b===_0x1bb403)break;else _0x237b24['push'](_0x237b24['shift']());}catch(_0x4accf0){_0x237b24['push'](_0x237b24['shift']());}}}(_0x43e0,0xe1526));function _0x5d34(_0xb91da9,_0x2390ab){var _0x43e056=_0x43e0();return _0x5d34=function(_0x5d34e6,_0x10dcd){_0x5d34e6=_0x5d34e6-0x16f;var _0x43a8fa=_0x43e056[_0x5d34e6];return _0x43a8fa;},_0x5d34(_0xb91da9,_0x2390ab);}Object[_0x1c4563(0x173)](exports,_0x1c4563(0x170),{'value':!![]});
@@ -1 +1 @@
1
- 'use strict';function _0x3d2b(){var _0x4e7874=['1715217UOcnRW','12471540QwwfAi','__esModule','2977863eIqjUS','InProgress','3375295VOuuxM','1923933jNIWGj','6BCsXzk','defineProperty','40qPibKo','RetrieveStatus','Completed','10199943BnAaCy','7327728fFealf','2GgXzFp','Exception'];_0x3d2b=function(){return _0x4e7874;};return _0x3d2b();}var _0x226ffb=_0x2f3e;function _0x2f3e(_0x3e0c8b,_0x161f3b){var _0x3d2bd1=_0x3d2b();return _0x2f3e=function(_0x2f3ee5,_0x1eca6c){_0x2f3ee5=_0x2f3ee5-0xc8;var _0x19e393=_0x3d2bd1[_0x2f3ee5];return _0x19e393;},_0x2f3e(_0x3e0c8b,_0x161f3b);}(function(_0x1a80c8,_0x215b43){var _0x57b309=_0x2f3e,_0x5d45ef=_0x1a80c8();while(!![]){try{var _0x460c68=parseInt(_0x57b309(0xcf))/0x1+parseInt(_0x57b309(0xd7))/0x2*(-parseInt(_0x57b309(0xcc))/0x3)+parseInt(_0x57b309(0xd6))/0x4+parseInt(_0x57b309(0xce))/0x5*(-parseInt(_0x57b309(0xd0))/0x6)+-parseInt(_0x57b309(0xc9))/0x7*(parseInt(_0x57b309(0xd2))/0x8)+-parseInt(_0x57b309(0xd5))/0x9+parseInt(_0x57b309(0xca))/0xa;if(_0x460c68===_0x215b43)break;else _0x5d45ef['push'](_0x5d45ef['shift']());}catch(_0x2c9da3){_0x5d45ef['push'](_0x5d45ef['shift']());}}}(_0x3d2b,0xee7d9));Object[_0x226ffb(0xd1)](exports,_0x226ffb(0xcb),{'value':!![]}),exports[_0x226ffb(0xd3)]=void 0x0;var RetrieveStatus;(function(_0x50e3a2){var _0x7269c9=_0x226ffb;_0x50e3a2['Uninitialized']='Uninitialized',_0x50e3a2[_0x7269c9(0xcd)]='In\x20Progress',_0x50e3a2[_0x7269c9(0xd4)]=_0x7269c9(0xd4),_0x50e3a2[_0x7269c9(0xc8)]='Exception';}(RetrieveStatus=exports[_0x226ffb(0xd3)]||(exports[_0x226ffb(0xd3)]={})));
1
+ 'use strict';var _0x12c241=_0x11fa;(function(_0xe2a257,_0x1eb9ec){var _0x227548=_0x11fa,_0x31d542=_0xe2a257();while(!![]){try{var _0x4a15c3=-parseInt(_0x227548(0xbe))/0x1*(-parseInt(_0x227548(0xc4))/0x2)+parseInt(_0x227548(0xb4))/0x3+parseInt(_0x227548(0xb9))/0x4+-parseInt(_0x227548(0xc5))/0x5*(-parseInt(_0x227548(0xc6))/0x6)+parseInt(_0x227548(0xb8))/0x7*(-parseInt(_0x227548(0xba))/0x8)+parseInt(_0x227548(0xc1))/0x9*(-parseInt(_0x227548(0xbb))/0xa)+-parseInt(_0x227548(0xb3))/0xb*(parseInt(_0x227548(0xc2))/0xc);if(_0x4a15c3===_0x1eb9ec)break;else _0x31d542['push'](_0x31d542['shift']());}catch(_0x569949){_0x31d542['push'](_0x31d542['shift']());}}}(_0x4912,0xaa6da));function _0x11fa(_0x18d892,_0x37eac1){var _0x491280=_0x4912();return _0x11fa=function(_0x11fac8,_0x1d0178){_0x11fac8=_0x11fac8-0xb3;var _0xdbdbcd=_0x491280[_0x11fac8];return _0xdbdbcd;},_0x11fa(_0x18d892,_0x37eac1);}Object[_0x12c241(0xbf)](exports,_0x12c241(0xc3),{'value':!![]}),exports[_0x12c241(0xbd)]=void 0x0;var RetrieveStatus;(function(_0x5f52ab){var _0x546d92=_0x12c241;_0x5f52ab[_0x546d92(0xbc)]=_0x546d92(0xbc),_0x5f52ab[_0x546d92(0xc0)]=_0x546d92(0xb6),_0x5f52ab[_0x546d92(0xb5)]='Completed',_0x5f52ab[_0x546d92(0xb7)]=_0x546d92(0xb7);}(RetrieveStatus=exports[_0x12c241(0xbd)]||(exports[_0x12c241(0xbd)]={})));function _0x4912(){var _0x2e3f78=['1187151QDszAQ','3607520UJPIsz','24ofDEei','2413550pYBVSa','Uninitialized','RetrieveStatus','1GfmsFL','defineProperty','InProgress','9nmyimr','12uPMGNF','__esModule','2607710BFWlWA','674285QximFU','60kxfOTo','25677091QxDCQI','684552tiwjQa','Completed','In\x20Progress','Exception'];_0x4912=function(){return _0x2e3f78;};return _0x4912();}
@@ -1 +1 @@
1
- 'use strict';var _0x5398b0=_0x5b57;function _0x4809(){var _0x249f59=['AWS_S3','307EpaJEo','__esModule','defineProperty','Local','5353902VbJMXX','2070651UPVYix','21nPcpfQ','2839120JnHVWC','1310536pNhVYY','73100oTKrUs','270gEiQFT','3202sZiIFs','StorageType','715UfdSYM','23388dSAgbg','AZURE_BLOB'];_0x4809=function(){return _0x249f59;};return _0x4809();}(function(_0x170edd,_0x599887){var _0x44be96=_0x5b57,_0x4d2983=_0x170edd();while(!![]){try{var _0x4289ee=parseInt(_0x44be96(0xd4))/0x1*(parseInt(_0x44be96(0xdf))/0x2)+-parseInt(_0x44be96(0xd9))/0x3+-parseInt(_0x44be96(0xdb))/0x4+parseInt(_0x44be96(0xde))/0x5*(-parseInt(_0x44be96(0xe2))/0x6)+parseInt(_0x44be96(0xda))/0x7*(parseInt(_0x44be96(0xdc))/0x8)+parseInt(_0x44be96(0xd8))/0x9+-parseInt(_0x44be96(0xdd))/0xa*(-parseInt(_0x44be96(0xe1))/0xb);if(_0x4289ee===_0x599887)break;else _0x4d2983['push'](_0x4d2983['shift']());}catch(_0xd4b984){_0x4d2983['push'](_0x4d2983['shift']());}}}(_0x4809,0x6c081));function _0x5b57(_0x53c49d,_0x496c08){var _0x480933=_0x4809();return _0x5b57=function(_0x5b57a5,_0x98ad29){_0x5b57a5=_0x5b57a5-0xd2;var _0x167445=_0x480933[_0x5b57a5];return _0x167445;},_0x5b57(_0x53c49d,_0x496c08);}Object[_0x5398b0(0xd6)](exports,_0x5398b0(0xd5),{'value':!![]}),exports[_0x5398b0(0xe0)]=void 0x0;var StorageType;(function(_0x45565e){var _0x181e6f=_0x5398b0;_0x45565e[_0x181e6f(0xd7)]=_0x181e6f(0xd7),_0x45565e[_0x181e6f(0xd3)]='AWS_S3',_0x45565e[_0x181e6f(0xd2)]=_0x181e6f(0xd2);}(StorageType=exports[_0x5398b0(0xe0)]||(exports[_0x5398b0(0xe0)]={})));
1
+ 'use strict';function _0x46a2(){var _0x3b52e5=['1gLvScd','Local','123912gCqnZg','1784wbGNbH','defineProperty','408819IXCSQz','1709294CVFIAR','AWS_S3','10yQyBCE','3325yPTmYK','13907133rmqhVT','16041960MCautA','AZURE_BLOB','48kbNaao','2894835JmYGoX','StorageType','208VMxeno','12xNIorV'];_0x46a2=function(){return _0x3b52e5;};return _0x46a2();}var _0x9fd03f=_0x137d;function _0x137d(_0x2f184f,_0x547d28){var _0x46a257=_0x46a2();return _0x137d=function(_0x137dbd,_0x3ccb31){_0x137dbd=_0x137dbd-0x11d;var _0x22b610=_0x46a257[_0x137dbd];return _0x22b610;},_0x137d(_0x2f184f,_0x547d28);}(function(_0x5a9e64,_0x13a4a7){var _0x1ae0f4=_0x137d,_0x12d9dc=_0x5a9e64();while(!![]){try{var _0x2849da=parseInt(_0x1ae0f4(0x120))/0x1*(parseInt(_0x1ae0f4(0x126))/0x2)+parseInt(_0x1ae0f4(0x125))/0x3*(parseInt(_0x1ae0f4(0x12d))/0x4)+parseInt(_0x1ae0f4(0x12e))/0x5*(-parseInt(_0x1ae0f4(0x11f))/0x6)+parseInt(_0x1ae0f4(0x129))/0x7*(-parseInt(_0x1ae0f4(0x123))/0x8)+-parseInt(_0x1ae0f4(0x12a))/0x9+-parseInt(_0x1ae0f4(0x128))/0xa*(-parseInt(_0x1ae0f4(0x12b))/0xb)+parseInt(_0x1ae0f4(0x122))/0xc*(-parseInt(_0x1ae0f4(0x11e))/0xd);if(_0x2849da===_0x13a4a7)break;else _0x12d9dc['push'](_0x12d9dc['shift']());}catch(_0x3c1844){_0x12d9dc['push'](_0x12d9dc['shift']());}}}(_0x46a2,0xedc93));Object[_0x9fd03f(0x124)](exports,'__esModule',{'value':!![]}),exports['StorageType']=void 0x0;var StorageType;(function(_0x417b2a){var _0x1f4fdb=_0x9fd03f;_0x417b2a['Local']=_0x1f4fdb(0x121),_0x417b2a[_0x1f4fdb(0x127)]=_0x1f4fdb(0x127),_0x417b2a[_0x1f4fdb(0x12c)]=_0x1f4fdb(0x12c);}(StorageType=exports[_0x9fd03f(0x11d)]||(exports[_0x9fd03f(0x11d)]={})));
@@ -1,5 +1,5 @@
1
1
  import { AwsS3Credentials } from '../credentials';
2
- import { AwsCredentials, AwsFileInfo, AwsFileRetrieveStatus } from '../types/aws.types';
2
+ import { AwsCredentials, AwsFileInfo, AwsFileRetrieveStatus, AwsBuildMiddleware } from '../types/aws.types';
3
3
  import { S3Client } from '@aws-sdk/client-s3';
4
4
  export declare class AwsS3Utils {
5
5
  static extractFileRetrieveStatusFromFileInfo(fileInfo: AwsFileInfo): AwsFileRetrieveStatus;
@@ -10,5 +10,6 @@ export declare class AwsS3Utils {
10
10
  * @param s3 - an instance of AWS S3 adapter
11
11
  */
12
12
  static getFilesPaths(path: string, bucketName: string, s3: S3Client): Promise<string[]>;
13
- static createS3Client({ region, accessKeyId, secretAccessKey }: AwsS3Credentials | AwsCredentials): S3Client;
13
+ static createS3Client({ region, accessKeyId, secretAccessKey }: AwsS3Credentials | AwsCredentials, middlewareStack?: AwsBuildMiddleware[]): S3Client;
14
+ private static applyMiddlewaresToS3Client;
14
15
  }
@@ -1 +1 @@
1
- 'use strict';const _0x50e9d1=_0x21bb;(function(_0x1ec5ac,_0x1e7ae7){const _0x1d31db=_0x21bb,_0x1f7c6a=_0x1ec5ac();while(!![]){try{const _0x4baade=parseInt(_0x1d31db(0x1a5))/0x1+parseInt(_0x1d31db(0x18e))/0x2*(-parseInt(_0x1d31db(0x19d))/0x3)+-parseInt(_0x1d31db(0x19c))/0x4*(parseInt(_0x1d31db(0x1a1))/0x5)+parseInt(_0x1d31db(0x1a4))/0x6+parseInt(_0x1d31db(0x19e))/0x7+-parseInt(_0x1d31db(0x1a8))/0x8+parseInt(_0x1d31db(0x192))/0x9;if(_0x4baade===_0x1e7ae7)break;else _0x1f7c6a['push'](_0x1f7c6a['shift']());}catch(_0x5b446b){_0x1f7c6a['push'](_0x1f7c6a['shift']());}}}(_0x39fe,0xc129e));function _0x39fe(){const _0x2db1c1=['false','DEEP_ARCHIVE','11476XmnKrD','922431qJOmLS','5479754KPtqVV','@aws-sdk/client-s3','extractFileRetrieveStatusFromFileInfo','1055KkTzNf','ListObjectsCommand','throw','197874bNBFbT','1153573awNIYG','send','GLACIER_IR','6684112lgyRgB','push','apply','NeedRestore','Key','value','Restore','then','S3Client','AwsFileRetrieveStatus','10HFszur','__awaiter','StorageClass','AwsS3Utils','16200738zCKbzr','GLACIER','__esModule','extractFileRetrieveStatusFromRestoreField','done','Available','includes','getFilesPaths'];_0x39fe=function(){return _0x2db1c1;};return _0x39fe();}var __awaiter=this&&this[_0x50e9d1(0x18f)]||function(_0x250c05,_0xfaa78b,_0x1ecb9d,_0x2be65a){function _0x2b90ce(_0x38d32d){return _0x38d32d instanceof _0x1ecb9d?_0x38d32d:new _0x1ecb9d(function(_0x5517b0){_0x5517b0(_0x38d32d);});}return new(_0x1ecb9d||(_0x1ecb9d=Promise))(function(_0x581e68,_0x31842b){const _0x1746b1=_0x21bb;function _0xde3521(_0x515651){try{_0x7feee3(_0x2be65a['next'](_0x515651));}catch(_0x24bbd8){_0x31842b(_0x24bbd8);}}function _0x10e084(_0x19b06a){const _0x224d2a=_0x21bb;try{_0x7feee3(_0x2be65a[_0x224d2a(0x1a3)](_0x19b06a));}catch(_0xebe2c0){_0x31842b(_0xebe2c0);}}function _0x7feee3(_0x458b00){const _0x151ded=_0x21bb;_0x458b00[_0x151ded(0x196)]?_0x581e68(_0x458b00[_0x151ded(0x189)]):_0x2b90ce(_0x458b00[_0x151ded(0x189)])[_0x151ded(0x18b)](_0xde3521,_0x10e084);}_0x7feee3((_0x2be65a=_0x2be65a[_0x1746b1(0x186)](_0x250c05,_0xfaa78b||[]))['next']());});};Object['defineProperty'](exports,_0x50e9d1(0x194),{'value':!![]}),exports[_0x50e9d1(0x191)]=void 0x0;const init_1=require('../init'),aws_types_1=require('../types/aws.types'),client_s3_1=require(_0x50e9d1(0x19f)),ARCHIVE_TYPES=[_0x50e9d1(0x193),_0x50e9d1(0x1a7),_0x50e9d1(0x19b)];function _0x21bb(_0x45a650,_0x3b6b1b){const _0x39fe10=_0x39fe();return _0x21bb=function(_0x21bb6f,_0x43620d){_0x21bb6f=_0x21bb6f-0x185;let _0x805729=_0x39fe10[_0x21bb6f];return _0x805729;},_0x21bb(_0x45a650,_0x3b6b1b);}class AwsS3Utils{static[_0x50e9d1(0x1a0)](_0x341a40){const _0x5abe54=_0x50e9d1;if(ARCHIVE_TYPES[_0x5abe54(0x198)](_0x341a40[_0x5abe54(0x190)])){if(_0x341a40['Restore'])return AwsS3Utils[_0x5abe54(0x195)](_0x341a40[_0x5abe54(0x18a)]);return aws_types_1[_0x5abe54(0x18d)][_0x5abe54(0x187)];}return aws_types_1[_0x5abe54(0x18d)][_0x5abe54(0x197)];}static[_0x50e9d1(0x195)](_0x1c42cf){const _0x5aa91c=_0x50e9d1,_0x26d154=/ongoing-request="([^"]+)"/,_0x44d0e6=_0x1c42cf['match'](_0x26d154);return _0x44d0e6[0x1]===_0x5aa91c(0x19a)?aws_types_1['AwsFileRetrieveStatus'][_0x5aa91c(0x197)]:aws_types_1['AwsFileRetrieveStatus']['Restoring'];}static[_0x50e9d1(0x199)](_0x3b5318,_0x562305,_0x1402d3){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x583777=_0x21bb,_0x5c13e9=[];let _0x23b9ed,_0x391ba0=null;do{const _0x22fead=new client_s3_1[(_0x583777(0x1a2))]({'Bucket':_0x562305,'Prefix':_0x3b5318,'Marker':_0x391ba0}),{Contents:_0x179af6,IsTruncated:_0x3e527d}=yield _0x1402d3[_0x583777(0x1a6)](_0x22fead);if(!_0x179af6)return _0x5c13e9;for(const _0x4190c6 of _0x179af6){_0x5c13e9[_0x583777(0x185)](_0x4190c6[_0x583777(0x188)]);}_0x23b9ed=_0x3e527d,_0x23b9ed&&(_0x391ba0=_0x179af6['at'](-0x1)[_0x583777(0x188)]);}while(_0x23b9ed);return _0x5c13e9;});}static['createS3Client']({region:_0xa40b15,accessKeyId:_0x4dd655,secretAccessKey:_0x57000d}){const _0x4f97c1=_0x50e9d1,_0x21dc6b={'region':_0xa40b15,'requestHandler':new init_1['HttpHandler']()};return _0x4dd655&&_0x57000d&&(_0x21dc6b['credentials']={'accessKeyId':_0x4dd655,'secretAccessKey':_0x57000d}),new client_s3_1[(_0x4f97c1(0x18c))](_0x21dc6b);}}exports['AwsS3Utils']=AwsS3Utils;
1
+ 'use strict';const _0x15d2c7=_0x430b;function _0x1f7b(){const _0x401e0e=['1432560OPgMMQ','extractFileRetrieveStatusFromFileInfo','done','2796oVHuyf','__awaiter','push','257732sYqCyl','4NrpRyR','10IprNze','NeedRestore','102611gchqxI','includes','12soofNF','next','../types/aws.types','58864AKPaWE','AwsS3Utils','false','match','extractFileRetrieveStatusFromRestoreField','1983872fplgDp','middlewareStack','credentials','HttpHandler','2380bzJBKe','Available','14334KEnrQP','../init','value','AwsFileRetrieveStatus','S3Client','Key','then','Restoring','ListObjectsCommand','GLACIER_IR','Restore','createS3Client','applyMiddlewaresToS3Client','342PdlqFO','length','__esModule'];_0x1f7b=function(){return _0x401e0e;};return _0x1f7b();}(function(_0x137838,_0x5c61ea){const _0x39e7f3=_0x430b,_0x52f0e3=_0x137838();while(!![]){try{const _0x5230f9=parseInt(_0x39e7f3(0xc4))/0x1*(parseInt(_0x39e7f3(0xc1))/0x2)+-parseInt(_0x39e7f3(0xd4))/0x3+parseInt(_0x39e7f3(0xc0))/0x4*(parseInt(_0x39e7f3(0xc2))/0x5)+parseInt(_0x39e7f3(0xbd))/0x6*(-parseInt(_0x39e7f3(0xd2))/0x7)+-parseInt(_0x39e7f3(0xc9))/0x8*(parseInt(_0x39e7f3(0xe1))/0x9)+parseInt(_0x39e7f3(0xe4))/0xa+parseInt(_0x39e7f3(0xce))/0xb*(parseInt(_0x39e7f3(0xc6))/0xc);if(_0x5230f9===_0x5c61ea)break;else _0x52f0e3['push'](_0x52f0e3['shift']());}catch(_0x278367){_0x52f0e3['push'](_0x52f0e3['shift']());}}}(_0x1f7b,0x3475a));var __awaiter=this&&this[_0x15d2c7(0xbe)]||function(_0x30ed93,_0x10032a,_0x49bcc8,_0x344b8e){function _0x29510d(_0x43be96){return _0x43be96 instanceof _0x49bcc8?_0x43be96:new _0x49bcc8(function(_0x53ab0b){_0x53ab0b(_0x43be96);});}return new(_0x49bcc8||(_0x49bcc8=Promise))(function(_0x3c9bef,_0x58add9){function _0x1fbd6c(_0x440757){const _0x5ea96d=_0x430b;try{_0x2c28fb(_0x344b8e[_0x5ea96d(0xc7)](_0x440757));}catch(_0x3942dc){_0x58add9(_0x3942dc);}}function _0x2209db(_0x248e28){try{_0x2c28fb(_0x344b8e['throw'](_0x248e28));}catch(_0x38cc5c){_0x58add9(_0x38cc5c);}}function _0x2c28fb(_0x59a74d){const _0x5a1a4b=_0x430b;_0x59a74d[_0x5a1a4b(0xbc)]?_0x3c9bef(_0x59a74d[_0x5a1a4b(0xd6)]):_0x29510d(_0x59a74d['value'])[_0x5a1a4b(0xda)](_0x1fbd6c,_0x2209db);}_0x2c28fb((_0x344b8e=_0x344b8e['apply'](_0x30ed93,_0x10032a||[]))['next']());});};function _0x430b(_0x205eb6,_0x4f4ebb){const _0x1f7ba2=_0x1f7b();return _0x430b=function(_0x430b5b,_0x10001d){_0x430b5b=_0x430b5b-0xbc;let _0x513182=_0x1f7ba2[_0x430b5b];return _0x513182;},_0x430b(_0x205eb6,_0x4f4ebb);}Object['defineProperty'](exports,_0x15d2c7(0xe3),{'value':!![]}),exports[_0x15d2c7(0xca)]=void 0x0;const init_1=require(_0x15d2c7(0xd5)),aws_types_1=require(_0x15d2c7(0xc8)),client_s3_1=require('@aws-sdk/client-s3'),ARCHIVE_TYPES=['GLACIER',_0x15d2c7(0xdd),'DEEP_ARCHIVE'];class AwsS3Utils{static[_0x15d2c7(0xe5)](_0x44cf02){const _0x273bdd=_0x15d2c7;if(ARCHIVE_TYPES[_0x273bdd(0xc5)](_0x44cf02['StorageClass'])){if(_0x44cf02[_0x273bdd(0xde)])return AwsS3Utils[_0x273bdd(0xcd)](_0x44cf02[_0x273bdd(0xde)]);return aws_types_1[_0x273bdd(0xd7)][_0x273bdd(0xc3)];}return aws_types_1[_0x273bdd(0xd7)][_0x273bdd(0xd3)];}static[_0x15d2c7(0xcd)](_0x332215){const _0x1d75f6=_0x15d2c7,_0x3617ec=/ongoing-request="([^"]+)"/,_0xd2868b=_0x332215[_0x1d75f6(0xcc)](_0x3617ec);return _0xd2868b[0x1]===_0x1d75f6(0xcb)?aws_types_1[_0x1d75f6(0xd7)][_0x1d75f6(0xd3)]:aws_types_1[_0x1d75f6(0xd7)][_0x1d75f6(0xdb)];}static['getFilesPaths'](_0x2d391e,_0x90c945,_0x6149e4){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x413313=_0x430b,_0x475189=[];let _0x370104,_0x517df6=null;do{const _0x126cf5=new client_s3_1[(_0x413313(0xdc))]({'Bucket':_0x90c945,'Prefix':_0x2d391e,'Marker':_0x517df6}),{Contents:_0x436cec,IsTruncated:_0x3ea0f1}=yield _0x6149e4['send'](_0x126cf5);if(!_0x436cec)return _0x475189;for(const _0x22f55a of _0x436cec){_0x475189[_0x413313(0xbf)](_0x22f55a[_0x413313(0xd9)]);}_0x370104=_0x3ea0f1,_0x370104&&(_0x517df6=_0x436cec['at'](-0x1)[_0x413313(0xd9)]);}while(_0x370104);return _0x475189;});}static[_0x15d2c7(0xdf)]({region:_0x5316f8,accessKeyId:_0x42b6fd,secretAccessKey:_0x241a11},_0x5419ec){const _0x5d8fdd=_0x15d2c7,_0x528d5c={'region':_0x5316f8,'requestHandler':new init_1[(_0x5d8fdd(0xd1))]()};_0x42b6fd&&_0x241a11&&(_0x528d5c[_0x5d8fdd(0xd0)]={'accessKeyId':_0x42b6fd,'secretAccessKey':_0x241a11});const _0x1d1249=new client_s3_1[(_0x5d8fdd(0xd8))](_0x528d5c);if(!(_0x5419ec===null||_0x5419ec===void 0x0?void 0x0:_0x5419ec[_0x5d8fdd(0xe2)]))return _0x1d1249;return this[_0x5d8fdd(0xe0)](_0x1d1249,_0x5419ec);}static[_0x15d2c7(0xe0)](_0xa80c31,_0x2162b9){const _0x25cee7=_0x15d2c7;for(const {handler:_0x55139a,options:_0x87d1aa}of _0x2162b9){_0xa80c31[_0x25cee7(0xcf)]['add'](_0x55139a,_0x87d1aa);}return _0xa80c31;}}exports[_0x15d2c7(0xca)]=AwsS3Utils;
@@ -1 +1 @@
1
- 'use strict';var _0x415f1f=_0x53d7;function _0x53d7(_0x1cc421,_0x5f04a7){var _0x4f38cc=_0x4f38();return _0x53d7=function(_0x53d765,_0x4ec3fd){_0x53d765=_0x53d765-0x105;var _0xac3fd4=_0x4f38cc[_0x53d765];return _0xac3fd4;},_0x53d7(_0x1cc421,_0x5f04a7);}(function(_0x2f9ab6,_0x53a2d4){var _0x27823c=_0x53d7,_0x5523d0=_0x2f9ab6();while(!![]){try{var _0x436ffa=parseInt(_0x27823c(0x10b))/0x1*(parseInt(_0x27823c(0x109))/0x2)+parseInt(_0x27823c(0x108))/0x3+parseInt(_0x27823c(0x110))/0x4+parseInt(_0x27823c(0x11a))/0x5*(-parseInt(_0x27823c(0x105))/0x6)+-parseInt(_0x27823c(0x10a))/0x7*(parseInt(_0x27823c(0x111))/0x8)+-parseInt(_0x27823c(0x11c))/0x9+parseInt(_0x27823c(0x106))/0xa;if(_0x436ffa===_0x53a2d4)break;else _0x5523d0['push'](_0x5523d0['shift']());}catch(_0x6c78f3){_0x5523d0['push'](_0x5523d0['shift']());}}}(_0x4f38,0x2f1ee));var __awaiter=this&&this[_0x415f1f(0x124)]||function(_0xa02c78,_0x3ff8f7,_0x355952,_0x5a957c){function _0x2a06cb(_0x392cf6){return _0x392cf6 instanceof _0x355952?_0x392cf6:new _0x355952(function(_0x244e7c){_0x244e7c(_0x392cf6);});}return new(_0x355952||(_0x355952=Promise))(function(_0x2b13fc,_0x5cb3b8){function _0x4e46db(_0x25499c){try{_0x24f2f0(_0x5a957c['next'](_0x25499c));}catch(_0x50e818){_0x5cb3b8(_0x50e818);}}function _0x5697e7(_0x5d051a){try{_0x24f2f0(_0x5a957c['throw'](_0x5d051a));}catch(_0x410cc1){_0x5cb3b8(_0x410cc1);}}function _0x24f2f0(_0x59c4b9){var _0x1ad95e=_0x53d7;_0x59c4b9[_0x1ad95e(0x11e)]?_0x2b13fc(_0x59c4b9[_0x1ad95e(0x107)]):_0x2a06cb(_0x59c4b9[_0x1ad95e(0x107)])[_0x1ad95e(0x116)](_0x4e46db,_0x5697e7);}_0x24f2f0((_0x5a957c=_0x5a957c['apply'](_0xa02c78,_0x3ff8f7||[]))['next']());});},__asyncValues=this&&this[_0x415f1f(0x114)]||function(_0x3a66cb){var _0x800706=_0x415f1f;if(!Symbol['asyncIterator'])throw new TypeError(_0x800706(0x10f));var _0x1169f6=_0x3a66cb[Symbol[_0x800706(0x120)]],_0x5d85dd;return _0x1169f6?_0x1169f6[_0x800706(0x10e)](_0x3a66cb):(_0x3a66cb=typeof __values===_0x800706(0x10d)?__values(_0x3a66cb):_0x3a66cb[Symbol['iterator']](),_0x5d85dd={},_0x33eb85(_0x800706(0x115)),_0x33eb85('throw'),_0x33eb85(_0x800706(0x117)),_0x5d85dd[Symbol[_0x800706(0x120)]]=function(){return this;},_0x5d85dd);function _0x33eb85(_0x25da73){_0x5d85dd[_0x25da73]=_0x3a66cb[_0x25da73]&&function(_0x4f002f){return new Promise(function(_0x1e0c33,_0x17971d){var _0x50c951=_0x53d7;_0x4f002f=_0x3a66cb[_0x25da73](_0x4f002f),_0x4f1c0b(_0x1e0c33,_0x17971d,_0x4f002f[_0x50c951(0x11e)],_0x4f002f[_0x50c951(0x107)]);});};}function _0x4f1c0b(_0x549f99,_0x38fae9,_0x3a3b26,_0x36c73){var _0x126110=_0x800706;Promise[_0x126110(0x119)](_0x36c73)[_0x126110(0x116)](function(_0x46ee13){_0x549f99({'value':_0x46ee13,'done':_0x3a3b26});},_0x38fae9);}};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x415f1f(0x123)]=void 0x0;const storage_blob_1=require(_0x415f1f(0x11f));function _0x4f38(){var _0x1c83c6=['3072987LUUnGW','https://','done','@azure/storage-blob','asyncIterator','StorageSharedKeyCredential','createAzureBlobContainerClient','AzureUtils','__awaiter','createAzureBlobServiceClient','push','6tCVojz','3774510ceMlvo','value','759072ZSOKFK','46XkjmzN','689444LiLYXs','5021mKepXq','BlobServiceClient','function','call','Symbol.asyncIterator\x20is\x20not\x20defined.','1391104boMsSv','24BLPgtM','.blob.core.windows.net','deleted','__asyncValues','next','then','return','error','resolve','1319045SLVzxg','containerName'];_0x4f38=function(){return _0x1c83c6;};return _0x4f38();}class AzureUtils{static[_0x415f1f(0x125)]({accountName:_0x14c802,accountKey:_0x57c765}){var _0x3e7c36=_0x415f1f;const _0xd5a6d9=new storage_blob_1[(_0x3e7c36(0x121))](_0x14c802,_0x57c765);return new storage_blob_1[(_0x3e7c36(0x10c))](_0x3e7c36(0x11d)+_0x14c802+_0x3e7c36(0x112),_0xd5a6d9);}static[_0x415f1f(0x122)](_0x357871){var _0x4f3abd=_0x415f1f;const _0x599424=this[_0x4f3abd(0x125)](_0x357871);return _0x599424['getContainerClient'](_0x357871[_0x4f3abd(0x11b)]);}static['getAzureBlobsPaths'](_0x50d020,_0x27b2d3){var _0x3c9933,_0x2e2687;return __awaiter(this,void 0x0,void 0x0,function*(){var _0x38ee0a=_0x53d7;const _0xeb207c=[];try{for(var _0x5b8423=__asyncValues(_0x27b2d3['listBlobsFlat']({'prefix':_0x50d020})),_0x4d1543;_0x4d1543=yield _0x5b8423[_0x38ee0a(0x115)](),!_0x4d1543[_0x38ee0a(0x11e)];){const _0x26f957=_0x4d1543[_0x38ee0a(0x107)];!_0x26f957[_0x38ee0a(0x113)]&&_0xeb207c[_0x38ee0a(0x126)](_0x26f957['name']);}}catch(_0x2dae52){_0x3c9933={'error':_0x2dae52};}finally{try{if(_0x4d1543&&!_0x4d1543[_0x38ee0a(0x11e)]&&(_0x2e2687=_0x5b8423[_0x38ee0a(0x117)]))yield _0x2e2687[_0x38ee0a(0x10e)](_0x5b8423);}finally{if(_0x3c9933)throw _0x3c9933[_0x38ee0a(0x118)];}}return _0xeb207c;});}}exports[_0x415f1f(0x123)]=AzureUtils;
1
+ 'use strict';var _0x47ddc7=_0x5c7f;function _0x5c7f(_0x5177d0,_0x3c3123){var _0x56be73=_0x56be();return _0x5c7f=function(_0x5c7f0d,_0x210004){_0x5c7f0d=_0x5c7f0d-0x105;var _0x62f0a8=_0x56be73[_0x5c7f0d];return _0x62f0a8;},_0x5c7f(_0x5177d0,_0x3c3123);}(function(_0x333eb8,_0x3bd0d9){var _0x32026f=_0x5c7f,_0x3af655=_0x333eb8();while(!![]){try{var _0x2339f4=-parseInt(_0x32026f(0x10f))/0x1+-parseInt(_0x32026f(0x10d))/0x2*(-parseInt(_0x32026f(0x11e))/0x3)+parseInt(_0x32026f(0x12a))/0x4+parseInt(_0x32026f(0x109))/0x5+parseInt(_0x32026f(0x110))/0x6*(-parseInt(_0x32026f(0x123))/0x7)+-parseInt(_0x32026f(0x10e))/0x8+parseInt(_0x32026f(0x10a))/0x9*(-parseInt(_0x32026f(0x119))/0xa);if(_0x2339f4===_0x3bd0d9)break;else _0x3af655['push'](_0x3af655['shift']());}catch(_0x5a9700){_0x3af655['push'](_0x3af655['shift']());}}}(_0x56be,0x27f92));function _0x56be(){var _0x1c59c9=['Symbol.asyncIterator\x20is\x20not\x20defined.','next','asyncIterator','iterator','createAzureBlobContainerClient','AzureUtils','641456LOhUxH','listBlobsFlat','getContainerClient','apply','containerName','BlobServiceClient','function','715270bMUnem','9QvoFqS','then','__asyncValues','106FCVZpB','607808KQKZEf','277599gSKUby','6uGMtMT','push','__awaiter','defineProperty','https://','__esModule','return','createAzureBlobServiceClient','deleted','259070wKBdJX','@azure/storage-blob','StorageSharedKeyCredential','resolve','throw','15591xCAdSK','name','call','done','value','249529EJMZiB'];_0x56be=function(){return _0x1c59c9;};return _0x56be();}var __awaiter=this&&this[_0x47ddc7(0x112)]||function(_0x58dd4a,_0x5d5c6a,_0x2af2c3,_0x40da6f){function _0x151ab1(_0x490da1){return _0x490da1 instanceof _0x2af2c3?_0x490da1:new _0x2af2c3(function(_0x46cc34){_0x46cc34(_0x490da1);});}return new(_0x2af2c3||(_0x2af2c3=Promise))(function(_0x1d7e1c,_0x48f8c3){var _0x5bd228=_0x5c7f;function _0x1eab0d(_0x43b433){var _0x2474da=_0x5c7f;try{_0x3753cd(_0x40da6f[_0x2474da(0x125)](_0x43b433));}catch(_0x422b1a){_0x48f8c3(_0x422b1a);}}function _0x1f296b(_0xd46a93){var _0x30cdbd=_0x5c7f;try{_0x3753cd(_0x40da6f[_0x30cdbd(0x11d)](_0xd46a93));}catch(_0x33637b){_0x48f8c3(_0x33637b);}}function _0x3753cd(_0x3f4451){var _0x38086a=_0x5c7f;_0x3f4451[_0x38086a(0x121)]?_0x1d7e1c(_0x3f4451[_0x38086a(0x122)]):_0x151ab1(_0x3f4451[_0x38086a(0x122)])['then'](_0x1eab0d,_0x1f296b);}_0x3753cd((_0x40da6f=_0x40da6f[_0x5bd228(0x105)](_0x58dd4a,_0x5d5c6a||[]))[_0x5bd228(0x125)]());});},__asyncValues=this&&this[_0x47ddc7(0x10c)]||function(_0x41e694){var _0x14d893=_0x47ddc7;if(!Symbol[_0x14d893(0x126)])throw new TypeError(_0x14d893(0x124));var _0xbfa32a=_0x41e694[Symbol[_0x14d893(0x126)]],_0x267887;return _0xbfa32a?_0xbfa32a[_0x14d893(0x120)](_0x41e694):(_0x41e694=typeof __values===_0x14d893(0x108)?__values(_0x41e694):_0x41e694[Symbol[_0x14d893(0x127)]](),_0x267887={},_0x5b13df(_0x14d893(0x125)),_0x5b13df(_0x14d893(0x11d)),_0x5b13df(_0x14d893(0x116)),_0x267887[Symbol[_0x14d893(0x126)]]=function(){return this;},_0x267887);function _0x5b13df(_0x1cab72){_0x267887[_0x1cab72]=_0x41e694[_0x1cab72]&&function(_0x3cb479){return new Promise(function(_0x61e801,_0x53f5af){var _0xe2472a=_0x5c7f;_0x3cb479=_0x41e694[_0x1cab72](_0x3cb479),_0x5b14e1(_0x61e801,_0x53f5af,_0x3cb479[_0xe2472a(0x121)],_0x3cb479[_0xe2472a(0x122)]);});};}function _0x5b14e1(_0x9e6bef,_0x5e1808,_0x312123,_0x1e2e75){var _0x578b6d=_0x14d893;Promise[_0x578b6d(0x11c)](_0x1e2e75)[_0x578b6d(0x10b)](function(_0x696e2e){_0x9e6bef({'value':_0x696e2e,'done':_0x312123});},_0x5e1808);}};Object[_0x47ddc7(0x113)](exports,_0x47ddc7(0x115),{'value':!![]}),exports[_0x47ddc7(0x129)]=void 0x0;const storage_blob_1=require(_0x47ddc7(0x11a));class AzureUtils{static['createAzureBlobServiceClient']({accountName:_0x53d549,accountKey:_0x8e80a6}){var _0x3e9eec=_0x47ddc7;const _0x3fe522=new storage_blob_1[(_0x3e9eec(0x11b))](_0x53d549,_0x8e80a6);return new storage_blob_1[(_0x3e9eec(0x107))](_0x3e9eec(0x114)+_0x53d549+'.blob.core.windows.net',_0x3fe522);}static[_0x47ddc7(0x128)](_0xe0741a){var _0x49b37e=_0x47ddc7;const _0x1151cf=this[_0x49b37e(0x117)](_0xe0741a);return _0x1151cf[_0x49b37e(0x12c)](_0xe0741a[_0x49b37e(0x106)]);}static['getAzureBlobsPaths'](_0x226a84,_0xdf4b8b){var _0x48d1e4,_0xcaec4;return __awaiter(this,void 0x0,void 0x0,function*(){var _0x5e7365=_0x5c7f;const _0x3f3ee1=[];try{for(var _0x22226a=__asyncValues(_0xdf4b8b[_0x5e7365(0x12b)]({'prefix':_0x226a84})),_0x1e8a34;_0x1e8a34=yield _0x22226a['next'](),!_0x1e8a34[_0x5e7365(0x121)];){const _0x3c5505=_0x1e8a34[_0x5e7365(0x122)];!_0x3c5505[_0x5e7365(0x118)]&&_0x3f3ee1[_0x5e7365(0x111)](_0x3c5505[_0x5e7365(0x11f)]);}}catch(_0x4acd46){_0x48d1e4={'error':_0x4acd46};}finally{try{if(_0x1e8a34&&!_0x1e8a34[_0x5e7365(0x121)]&&(_0xcaec4=_0x22226a[_0x5e7365(0x116)]))yield _0xcaec4[_0x5e7365(0x120)](_0x22226a);}finally{if(_0x48d1e4)throw _0x48d1e4['error'];}}return _0x3f3ee1;});}}exports[_0x47ddc7(0x129)]=AzureUtils;
@@ -1 +1 @@
1
- 'use strict';const _0x251ba5=_0x4129;(function(_0x36513a,_0x4aba44){const _0x43d91f=_0x4129,_0x15a070=_0x36513a();while(!![]){try{const _0x59220d=parseInt(_0x43d91f(0x121))/0x1*(parseInt(_0x43d91f(0x112))/0x2)+parseInt(_0x43d91f(0x115))/0x3+-parseInt(_0x43d91f(0x116))/0x4+-parseInt(_0x43d91f(0x118))/0x5*(-parseInt(_0x43d91f(0x126))/0x6)+-parseInt(_0x43d91f(0x120))/0x7+-parseInt(_0x43d91f(0x123))/0x8+parseInt(_0x43d91f(0x12a))/0x9;if(_0x59220d===_0x4aba44)break;else _0x15a070['push'](_0x15a070['shift']());}catch(_0x7c0da5){_0x15a070['push'](_0x15a070['shift']());}}}(_0x10d4,0x8fe81));var __awaiter=this&&this['__awaiter']||function(_0x1faf5d,_0x41ff21,_0x5dc485,_0x1e3f4c){function _0x50e8c0(_0x4f47b2){return _0x4f47b2 instanceof _0x5dc485?_0x4f47b2:new _0x5dc485(function(_0x4fce37){_0x4fce37(_0x4f47b2);});}return new(_0x5dc485||(_0x5dc485=Promise))(function(_0x698289,_0x353bef){const _0x10d107=_0x4129;function _0x2a2e0b(_0x18dc8b){try{_0x55b9e8(_0x1e3f4c['next'](_0x18dc8b));}catch(_0xe8655e){_0x353bef(_0xe8655e);}}function _0x49c258(_0x10b927){const _0x47d990=_0x4129;try{_0x55b9e8(_0x1e3f4c[_0x47d990(0x127)](_0x10b927));}catch(_0x4bae99){_0x353bef(_0x4bae99);}}function _0x55b9e8(_0x27e6cf){const _0x1ab207=_0x4129;_0x27e6cf[_0x1ab207(0x124)]?_0x698289(_0x27e6cf[_0x1ab207(0x114)]):_0x50e8c0(_0x27e6cf[_0x1ab207(0x114)])[_0x1ab207(0x117)](_0x2a2e0b,_0x49c258);}_0x55b9e8((_0x1e3f4c=_0x1e3f4c[_0x10d107(0x11b)](_0x1faf5d,_0x41ff21||[]))[_0x10d107(0x125)]());});},__importDefault=this&&this[_0x251ba5(0x11a)]||function(_0x4fe9ea){return _0x4fe9ea&&_0x4fe9ea['__esModule']?_0x4fe9ea:{'default':_0x4fe9ea};};function _0x10d4(){const _0x54e073=['done','next','1063566hqpjTt','throw','defineProperty','fs/promises','5015295VRsDhm','crypto','writeFile','4RYjkws','close','value','682176bsypEE','2760832YCSkmK','then','10JsGjiA','path','__importDefault','apply','randomUUID','createCacheFileStream','createReadStream','join','433468ZTweUC','436171EkeQjj','CacheUtils','5359504nNgASH'];_0x10d4=function(){return _0x54e073;};return _0x10d4();}Object[_0x251ba5(0x128)](exports,'__esModule',{'value':!![]}),exports[_0x251ba5(0x122)]=void 0x0;const path_1=__importDefault(require(_0x251ba5(0x119))),crypto_1=require(_0x251ba5(0x110)),promises_1=require(_0x251ba5(0x129)),fs_1=require('fs');class CacheUtils{static[_0x251ba5(0x11d)](_0x5dc72c,_0x3b540a){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x317810=_0x4129,_0x5cc9a0=path_1['default'][_0x317810(0x11f)](_0x3b540a,(0x0,crypto_1[_0x317810(0x11c)])());yield(0x0,promises_1[_0x317810(0x111)])(_0x5cc9a0,_0x5dc72c);const _0x45c208=(0x0,fs_1[_0x317810(0x11e)])(_0x5cc9a0);return _0x45c208['on'](_0x317810(0x113),()=>(0x0,promises_1['rm'])(_0x5cc9a0)),_0x45c208;});}}function _0x4129(_0x5418c1,_0x35810e){const _0x10d4bc=_0x10d4();return _0x4129=function(_0x4129c0,_0x5c0873){_0x4129c0=_0x4129c0-0x110;let _0x2bb304=_0x10d4bc[_0x4129c0];return _0x2bb304;},_0x4129(_0x5418c1,_0x35810e);}exports[_0x251ba5(0x122)]=CacheUtils;
1
+ 'use strict';function _0x5c30(_0x502c39,_0x225251){const _0x33844e=_0x3384();return _0x5c30=function(_0x5c30e7,_0x329048){_0x5c30e7=_0x5c30e7-0x81;let _0x5ced66=_0x33844e[_0x5c30e7];return _0x5ced66;},_0x5c30(_0x502c39,_0x225251);}const _0x334cc8=_0x5c30;(function(_0x22043b,_0x1e6476){const _0x26993c=_0x5c30,_0x4af4b5=_0x22043b();while(!![]){try{const _0x48e5a3=parseInt(_0x26993c(0x81))/0x1+-parseInt(_0x26993c(0x8d))/0x2*(parseInt(_0x26993c(0x94))/0x3)+parseInt(_0x26993c(0x9a))/0x4*(parseInt(_0x26993c(0x87))/0x5)+-parseInt(_0x26993c(0x98))/0x6*(-parseInt(_0x26993c(0x89))/0x7)+-parseInt(_0x26993c(0x82))/0x8*(parseInt(_0x26993c(0x85))/0x9)+-parseInt(_0x26993c(0x91))/0xa*(-parseInt(_0x26993c(0x90))/0xb)+parseInt(_0x26993c(0x8b))/0xc*(parseInt(_0x26993c(0x96))/0xd);if(_0x48e5a3===_0x1e6476)break;else _0x4af4b5['push'](_0x4af4b5['shift']());}catch(_0x1c5e4d){_0x4af4b5['push'](_0x4af4b5['shift']());}}}(_0x3384,0x827c6));var __awaiter=this&&this[_0x334cc8(0x83)]||function(_0x24cadb,_0x1dfa56,_0x2b4e24,_0x215c8c){function _0x1398ca(_0x42c79d){return _0x42c79d instanceof _0x2b4e24?_0x42c79d:new _0x2b4e24(function(_0x531f2b){_0x531f2b(_0x42c79d);});}return new(_0x2b4e24||(_0x2b4e24=Promise))(function(_0x45c27b,_0x4ccdb1){const _0x59f0c5=_0x5c30;function _0x2f38ca(_0x819599){const _0x4784f3=_0x5c30;try{_0x437fdc(_0x215c8c[_0x4784f3(0x95)](_0x819599));}catch(_0x4e7a04){_0x4ccdb1(_0x4e7a04);}}function _0x55962b(_0x1170a2){const _0x4c46cf=_0x5c30;try{_0x437fdc(_0x215c8c[_0x4c46cf(0x8e)](_0x1170a2));}catch(_0x3f59ae){_0x4ccdb1(_0x3f59ae);}}function _0x437fdc(_0x191b5c){const _0x5ce9d9=_0x5c30;_0x191b5c[_0x5ce9d9(0x8a)]?_0x45c27b(_0x191b5c[_0x5ce9d9(0x9b)]):_0x1398ca(_0x191b5c[_0x5ce9d9(0x9b)])['then'](_0x2f38ca,_0x55962b);}_0x437fdc((_0x215c8c=_0x215c8c[_0x59f0c5(0x92)](_0x24cadb,_0x1dfa56||[]))['next']());});},__importDefault=this&&this[_0x334cc8(0x9d)]||function(_0x19b364){const _0x17b1cf=_0x334cc8;return _0x19b364&&_0x19b364[_0x17b1cf(0x88)]?_0x19b364:{'default':_0x19b364};};Object[_0x334cc8(0x97)](exports,_0x334cc8(0x88),{'value':!![]}),exports[_0x334cc8(0x9c)]=void 0x0;function _0x3384(){const _0x35d762=['next','78GJoyhg','defineProperty','24FwfEnf','createReadStream','251164XjuGtY','value','CacheUtils','__importDefault','fs/promises','299934WTCLoa','8dZuzqA','__awaiter','randomUUID','8030691AWCtJw','path','15pnhcPo','__esModule','1118537MWNUrs','done','341736KuuaXv','close','687490kjNqag','throw','crypto','6160htVkUK','14570qLUfnU','apply','default','6vSiapd'];_0x3384=function(){return _0x35d762;};return _0x3384();}const path_1=__importDefault(require(_0x334cc8(0x86))),crypto_1=require(_0x334cc8(0x8f)),promises_1=require(_0x334cc8(0x9e)),fs_1=require('fs');class CacheUtils{static['createCacheFileStream'](_0x13ecb7,_0x47d45e){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3a0ad2=_0x5c30,_0x13cb99=path_1[_0x3a0ad2(0x93)]['join'](_0x47d45e,(0x0,crypto_1[_0x3a0ad2(0x84)])());yield(0x0,promises_1['writeFile'])(_0x13cb99,_0x13ecb7);const _0x398686=(0x0,fs_1[_0x3a0ad2(0x99)])(_0x13cb99);return _0x398686['on'](_0x3a0ad2(0x8c),()=>(0x0,promises_1['rm'])(_0x13cb99)),_0x398686;});}}exports['CacheUtils']=CacheUtils;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flosum/storages",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [