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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/README.md +25 -0
  2. package/dist/copy/aws-s3-copy.d.ts +7 -0
  3. package/dist/copy/aws-s3-copy.js +1 -0
  4. package/dist/copy/base-copy.d.ts +6 -0
  5. package/dist/copy/base-copy.js +1 -0
  6. package/dist/copy/index.d.ts +3 -0
  7. package/dist/copy/index.js +1 -0
  8. package/dist/copy/local-copy.d.ts +5 -0
  9. package/dist/copy/local-copy.js +1 -0
  10. package/dist/credentials/aws-s3-credentials.js +1 -1
  11. package/dist/credentials/azure-credentials.js +1 -1
  12. package/dist/credentials/base-credentials.js +1 -1
  13. package/dist/credentials/index.js +1 -1
  14. package/dist/credentials/local-credentials.js +1 -1
  15. package/dist/delete/aws-s3-delete.js +1 -1
  16. package/dist/delete/azure-delete.js +1 -1
  17. package/dist/delete/base-delete.js +1 -1
  18. package/dist/delete/index.js +1 -1
  19. package/dist/delete/local-delete.js +1 -1
  20. package/dist/deploy/aws-s3-deploy.js +1 -1
  21. package/dist/deploy/azure-deploy.js +1 -1
  22. package/dist/deploy/base-deploy.js +1 -1
  23. package/dist/deploy/index.js +1 -1
  24. package/dist/deploy/local-deploy.js +1 -1
  25. package/dist/factory.d.ts +2 -0
  26. package/dist/factory.js +1 -1
  27. package/dist/file-size-retriever/aws-s3-file-size-retriever.js +1 -1
  28. package/dist/file-size-retriever/azure-file-size-retriever.js +1 -1
  29. package/dist/file-size-retriever/base-file-size-retriever.js +1 -1
  30. package/dist/file-size-retriever/index.js +1 -1
  31. package/dist/file-size-retriever/local-size-retriever.js +1 -1
  32. package/dist/index.d.ts +1 -0
  33. package/dist/index.js +1 -1
  34. package/dist/init.js +1 -1
  35. package/dist/retrieve/aws-s3-import-helper.js +1 -1
  36. package/dist/retrieve/aws-s3-retrieve.js +1 -1
  37. package/dist/retrieve/azure-retrieve.js +1 -1
  38. package/dist/retrieve/base-retrieve.js +1 -1
  39. package/dist/retrieve/helpers/aws-s3-helper.js +1 -1
  40. package/dist/retrieve/helpers/azure-helper.js +1 -1
  41. package/dist/retrieve/helpers/base-helper.js +1 -1
  42. package/dist/retrieve/helpers/local-helper.js +1 -1
  43. package/dist/retrieve/index.js +1 -1
  44. package/dist/retrieve/local-retrieve.js +1 -1
  45. package/dist/types/aws.types.js +1 -1
  46. package/dist/types/azure.types.js +1 -1
  47. package/dist/types/index.js +1 -1
  48. package/dist/types/internal.types.js +1 -1
  49. package/dist/types/retrieve-status.enum.js +1 -1
  50. package/dist/types/storage-type.enum.js +1 -1
  51. package/dist/utils/aws-s3.utils.js +1 -1
  52. package/dist/utils/azure.utils.js +1 -1
  53. package/dist/utils/cache.utils.js +1 -1
  54. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # Flosum Storages
2
+
3
+ ## AWS IAM Policy Example for S3
4
+
5
+ ```json
6
+ {
7
+ "Version": "2012-10-17",
8
+ "Statement": [
9
+ {
10
+ "Effect": "Allow",
11
+ "Action": [
12
+ "s3:ListBucket",
13
+ "s3:GetObject",
14
+ "s3:HeadObject",
15
+ "s3:RestoreObject",
16
+ "s3:DeleteObject",
17
+ "s3:HeadBucket"
18
+ ],
19
+ "Resource": [
20
+ "arn:aws:s3:::your-bucket-name",
21
+ "arn:aws:s3:::your-bucket-name/*"
22
+ ]
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,7 @@
1
+ import { AwsS3Credentials } from '../credentials';
2
+ import { BaseCopy } from './base-copy';
3
+ export declare class AwsS3Copy extends BaseCopy<AwsS3Credentials> {
4
+ private readonly s3Client;
5
+ constructor(credentials: AwsS3Credentials);
6
+ execute(sourcePath: string, destinationPath: string): Promise<void>;
7
+ }
@@ -0,0 +1 @@
1
+ 'use strict';function _0x4ba4(){const _0x19ff4a=['bucketName','throw','./base-copy','50470jZOPFG','value','36027zsPBiU','apply','11RpSgCT','then','credentials','createS3Client','send','14706790DrKryn','3110115RLVMZJ','defineProperty','s3Client','AwsS3Copy','__awaiter','848895GHdopA','__esModule','next','3565792CLrQZo','824rleeFU','18bQkDtf','../utils/aws-s3.utils','@aws-sdk/client-s3','1090836kuatxM','82NyiJYR'];_0x4ba4=function(){return _0x19ff4a;};return _0x4ba4();}const _0x358bd3=_0x4acc;(function(_0x2f7512,_0x3839b5){const _0x51161f=_0x4acc,_0x4b6ea6=_0x2f7512();while(!![]){try{const _0xf9463b=parseInt(_0x51161f(0xcc))/0x1*(parseInt(_0x51161f(0xc6))/0x2)+-parseInt(_0x51161f(0xd4))/0x3+-parseInt(_0x51161f(0xdc))/0x4+-parseInt(_0x51161f(0xd9))/0x5*(-parseInt(_0x51161f(0xde))/0x6)+-parseInt(_0x51161f(0xca))/0x7*(parseInt(_0x51161f(0xdd))/0x8)+parseInt(_0x51161f(0xc5))/0x9+parseInt(_0x51161f(0xd3))/0xa*(parseInt(_0x51161f(0xce))/0xb);if(_0xf9463b===_0x3839b5)break;else _0x4b6ea6['push'](_0x4b6ea6['shift']());}catch(_0xe4fc5f){_0x4b6ea6['push'](_0x4b6ea6['shift']());}}}(_0x4ba4,0xdd918));var __awaiter=this&&this[_0x358bd3(0xd8)]||function(_0x3f31d5,_0x207d01,_0x82acc3,_0x2761a9){function _0x34a768(_0x23adfc){return _0x23adfc instanceof _0x82acc3?_0x23adfc:new _0x82acc3(function(_0x13f1b3){_0x13f1b3(_0x23adfc);});}return new(_0x82acc3||(_0x82acc3=Promise))(function(_0x20edc7,_0x687f89){const _0x2f2171=_0x4acc;function _0xed1249(_0x3c3200){const _0x2449ca=_0x4acc;try{_0x56d9c7(_0x2761a9[_0x2449ca(0xdb)](_0x3c3200));}catch(_0x315337){_0x687f89(_0x315337);}}function _0x1ca017(_0x5de710){const _0x2083a1=_0x4acc;try{_0x56d9c7(_0x2761a9[_0x2083a1(0xc8)](_0x5de710));}catch(_0x446bc1){_0x687f89(_0x446bc1);}}function _0x56d9c7(_0x4a366f){const _0x57b9b8=_0x4acc;_0x4a366f['done']?_0x20edc7(_0x4a366f[_0x57b9b8(0xcb)]):_0x34a768(_0x4a366f[_0x57b9b8(0xcb)])[_0x57b9b8(0xcf)](_0xed1249,_0x1ca017);}_0x56d9c7((_0x2761a9=_0x2761a9[_0x2f2171(0xcd)](_0x3f31d5,_0x207d01||[]))[_0x2f2171(0xdb)]());});};Object[_0x358bd3(0xd5)](exports,_0x358bd3(0xda),{'value':!![]}),exports[_0x358bd3(0xd7)]=void 0x0;function _0x4acc(_0x195938,_0x25b332){const _0x4ba45e=_0x4ba4();return _0x4acc=function(_0x4accc3,_0x45fb33){_0x4accc3=_0x4accc3-0xc4;let _0x2e553f=_0x4ba45e[_0x4accc3];return _0x2e553f;},_0x4acc(_0x195938,_0x25b332);}const base_copy_1=require(_0x358bd3(0xc9)),client_s3_1=require(_0x358bd3(0xc4)),aws_s3_utils_1=require(_0x358bd3(0xdf));class AwsS3Copy extends base_copy_1['BaseCopy']{constructor(_0x4a740b){const _0x303644=_0x358bd3;super(_0x4a740b),this[_0x303644(0xd6)]=aws_s3_utils_1['AwsS3Utils'][_0x303644(0xd1)](_0x4a740b);}['execute'](_0x125cde,_0x160753){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2c51ab=_0x4acc,_0x42dc7e=new client_s3_1['CopyObjectCommand']({'Bucket':this[_0x2c51ab(0xd0)][_0x2c51ab(0xc7)],'CopySource':_0x125cde,'Key':_0x160753});yield this[_0x2c51ab(0xd6)][_0x2c51ab(0xd2)](_0x42dc7e);});}}exports[_0x358bd3(0xd7)]=AwsS3Copy;
@@ -0,0 +1,6 @@
1
+ import { BaseCredentials } from '../credentials';
2
+ export declare abstract class BaseCopy<T extends BaseCredentials = BaseCredentials> {
3
+ protected readonly credentials: T;
4
+ constructor(credentials: T);
5
+ abstract execute(sourcePath: string, destinationPath: string): Promise<void>;
6
+ }
@@ -0,0 +1 @@
1
+ 'use strict';var _0x22c87e=_0xed96;(function(_0x2b9eb4,_0x2cf2f0){var _0x1782b7=_0xed96,_0x5cdb57=_0x2b9eb4();while(!![]){try{var _0x52221a=-parseInt(_0x1782b7(0x1d5))/0x1*(-parseInt(_0x1782b7(0x1d8))/0x2)+-parseInt(_0x1782b7(0x1da))/0x3+-parseInt(_0x1782b7(0x1d9))/0x4*(parseInt(_0x1782b7(0x1d1))/0x5)+parseInt(_0x1782b7(0x1cf))/0x6*(-parseInt(_0x1782b7(0x1d4))/0x7)+-parseInt(_0x1782b7(0x1d0))/0x8*(parseInt(_0x1782b7(0x1cd))/0x9)+-parseInt(_0x1782b7(0x1d3))/0xa*(-parseInt(_0x1782b7(0x1d7))/0xb)+parseInt(_0x1782b7(0x1ce))/0xc;if(_0x52221a===_0x2cf2f0)break;else _0x5cdb57['push'](_0x5cdb57['shift']());}catch(_0x35018c){_0x5cdb57['push'](_0x5cdb57['shift']());}}}(_0x3709,0x230bf));Object['defineProperty'](exports,_0x22c87e(0x1d2),{'value':!![]}),exports['BaseCopy']=void 0x0;function _0x3709(){var _0x154647=['114737NiKzkX','6437bQRQYZ','credentials','44DjXoOT','62sruuik','4kYXYDt','802923VNzJZl','9wjJhns','5227668rQHebU','36TBNSee','1222888KGqVKD','939115OVLGst','__esModule','537590DwqLZF'];_0x3709=function(){return _0x154647;};return _0x3709();}function _0xed96(_0x34b56e,_0x270e61){var _0x370983=_0x3709();return _0xed96=function(_0xed969d,_0x242823){_0xed969d=_0xed969d-0x1cd;var _0x4c446c=_0x370983[_0xed969d];return _0x4c446c;},_0xed96(_0x34b56e,_0x270e61);}class BaseCopy{constructor(_0x199140){var _0x45da44=_0x22c87e;this[_0x45da44(0x1d6)]=_0x199140;}}exports['BaseCopy']=BaseCopy;
@@ -0,0 +1,3 @@
1
+ export { BaseCopy } from './base-copy';
2
+ export { LocalCopy } from './local-copy';
3
+ export { AwsS3Copy } from './aws-s3-copy';
@@ -0,0 +1 @@
1
+ 'use strict';var _0x25ae91=_0x5491;(function(_0x18937f,_0x5e6da5){var _0x57d633=_0x5491,_0x8fd83e=_0x18937f();while(!![]){try{var _0x2ad54b=parseInt(_0x57d633(0x133))/0x1+-parseInt(_0x57d633(0x131))/0x2*(parseInt(_0x57d633(0x12c))/0x3)+parseInt(_0x57d633(0x130))/0x4*(-parseInt(_0x57d633(0x13b))/0x5)+-parseInt(_0x57d633(0x12e))/0x6+-parseInt(_0x57d633(0x135))/0x7+-parseInt(_0x57d633(0x13c))/0x8*(parseInt(_0x57d633(0x12b))/0x9)+-parseInt(_0x57d633(0x137))/0xa*(-parseInt(_0x57d633(0x12d))/0xb);if(_0x2ad54b===_0x5e6da5)break;else _0x8fd83e['push'](_0x8fd83e['shift']());}catch(_0x23e82b){_0x8fd83e['push'](_0x8fd83e['shift']());}}}(_0x36fa,0x7a3e6));Object['defineProperty'](exports,_0x25ae91(0x136),{'value':!![]}),exports[_0x25ae91(0x13d)]=exports[_0x25ae91(0x13a)]=exports[_0x25ae91(0x12f)]=void 0x0;var base_copy_1=require(_0x25ae91(0x134));Object['defineProperty'](exports,_0x25ae91(0x12f),{'enumerable':!![],'get':function(){var _0x5a7d58=_0x25ae91;return base_copy_1[_0x5a7d58(0x12f)];}});function _0x5491(_0xa3276e,_0x4f1773){var _0x36facb=_0x36fa();return _0x5491=function(_0x54919e,_0x3ededb){_0x54919e=_0x54919e-0x12b;var _0x38539d=_0x36facb[_0x54919e];return _0x38539d;},_0x5491(_0xa3276e,_0x4f1773);}function _0x36fa(){var _0x2717b8=['1098SFhBvV','defineProperty','638990CEFyiu','./base-copy','6454812nJzNae','__esModule','6310330IJsNfU','./aws-s3-copy','./local-copy','LocalCopy','4538965gLaeac','13424uGXGsg','AwsS3Copy','27bEhNuo','879WuLowB','44Fcctwv','3999672qssBSD','BaseCopy','4ecYDno'];_0x36fa=function(){return _0x2717b8;};return _0x36fa();}var local_copy_1=require(_0x25ae91(0x139));Object[_0x25ae91(0x132)](exports,_0x25ae91(0x13a),{'enumerable':!![],'get':function(){var _0x1f9115=_0x25ae91;return local_copy_1[_0x1f9115(0x13a)];}});var aws_s3_copy_1=require(_0x25ae91(0x138));Object[_0x25ae91(0x132)](exports,'AwsS3Copy',{'enumerable':!![],'get':function(){var _0x396f4b=_0x25ae91;return aws_s3_copy_1[_0x396f4b(0x13d)];}});
@@ -0,0 +1,5 @@
1
+ import { LocalCredentials } from '../credentials';
2
+ import { BaseCopy } from './base-copy';
3
+ export declare class LocalCopy extends BaseCopy<LocalCredentials> {
4
+ execute(sourcePath: string, destinationPath: string): Promise<void>;
5
+ }
@@ -0,0 +1 @@
1
+ 'use strict';const _0x418a8d=_0x413a;(function(_0x1e2079,_0x4bedc0){const _0xbbf208=_0x413a,_0x5cdf27=_0x1e2079();while(!![]){try{const _0x526c11=parseInt(_0xbbf208(0x11a))/0x1*(parseInt(_0xbbf208(0x121))/0x2)+parseInt(_0xbbf208(0x11e))/0x3*(parseInt(_0xbbf208(0x119))/0x4)+parseInt(_0xbbf208(0x123))/0x5*(-parseInt(_0xbbf208(0x116))/0x6)+parseInt(_0xbbf208(0x12a))/0x7+-parseInt(_0xbbf208(0x128))/0x8*(-parseInt(_0xbbf208(0x120))/0x9)+parseInt(_0xbbf208(0x115))/0xa+-parseInt(_0xbbf208(0x122))/0xb;if(_0x526c11===_0x4bedc0)break;else _0x5cdf27['push'](_0x5cdf27['shift']());}catch(_0x506d47){_0x5cdf27['push'](_0x5cdf27['shift']());}}}(_0x467c,0x4e58f));function _0x467c(){const _0x33b0be=['LocalCopy','done','288naBYNZ','defineProperty','85563fxDQjw','2xIZuiH','2211110pyIjrY','5IRwYYt','value','fs/promises','__awaiter','next','88ulqwyc','execute','46858EOeghP','3534510FqVaGX','3681660UVjHdp','apply','then','6852LDNKVA','506361QXPlmV','./base-copy'];_0x467c=function(){return _0x33b0be;};return _0x467c();}var __awaiter=this&&this[_0x418a8d(0x126)]||function(_0xa1a67b,_0x4e98fc,_0x1c2e2d,_0x39f555){function _0x549cc7(_0x1a70aa){return _0x1a70aa instanceof _0x1c2e2d?_0x1a70aa:new _0x1c2e2d(function(_0x27f682){_0x27f682(_0x1a70aa);});}return new(_0x1c2e2d||(_0x1c2e2d=Promise))(function(_0x5bee6c,_0x3a1349){const _0x3dce16=_0x413a;function _0x5e972a(_0x41e717){const _0x4735b7=_0x413a;try{_0x45ab27(_0x39f555[_0x4735b7(0x127)](_0x41e717));}catch(_0x4ce207){_0x3a1349(_0x4ce207);}}function _0x54b9e6(_0x4a806b){try{_0x45ab27(_0x39f555['throw'](_0x4a806b));}catch(_0x338fa7){_0x3a1349(_0x338fa7);}}function _0x45ab27(_0x50a8e3){const _0x1fa374=_0x413a;_0x50a8e3[_0x1fa374(0x11d)]?_0x5bee6c(_0x50a8e3['value']):_0x549cc7(_0x50a8e3[_0x1fa374(0x124)])[_0x1fa374(0x118)](_0x5e972a,_0x54b9e6);}_0x45ab27((_0x39f555=_0x39f555[_0x3dce16(0x117)](_0xa1a67b,_0x4e98fc||[]))['next']());});};Object[_0x418a8d(0x11f)](exports,'__esModule',{'value':!![]}),exports[_0x418a8d(0x11c)]=void 0x0;const base_copy_1=require(_0x418a8d(0x11b)),promises_1=require(_0x418a8d(0x125)),path_1=require('path');class LocalCopy extends base_copy_1['BaseCopy']{[_0x418a8d(0x129)](_0x906a65,_0x26adfc){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x538773=(0x0,path_1['dirname'])(_0x26adfc);yield(0x0,promises_1['mkdir'])(_0x538773,{'recursive':!![]}),yield(0x0,promises_1['copyFile'])(_0x906a65,_0x26adfc);});}}function _0x413a(_0x3074a5,_0x4df962){const _0x467c3c=_0x467c();return _0x413a=function(_0x413a3a,_0x1c2bb6){_0x413a3a=_0x413a3a-0x115;let _0x5ab137=_0x467c3c[_0x413a3a];return _0x5ab137;},_0x413a(_0x3074a5,_0x4df962);}exports[_0x418a8d(0x11c)]=LocalCopy;
@@ -1 +1 @@
1
- 'use strict';const _0x1d6ce4=_0x50eb;(function(_0xf4560b,_0x45c7cf){const _0x95ddc3=_0x50eb,_0x1561d7=_0xf4560b();while(!![]){try{const _0x45efa3=-parseInt(_0x95ddc3(0xef))/0x1+-parseInt(_0x95ddc3(0xeb))/0x2+parseInt(_0x95ddc3(0xf3))/0x3+-parseInt(_0x95ddc3(0xf8))/0x4*(parseInt(_0x95ddc3(0xe8))/0x5)+-parseInt(_0x95ddc3(0xec))/0x6*(parseInt(_0x95ddc3(0xf7))/0x7)+parseInt(_0x95ddc3(0xe3))/0x8*(-parseInt(_0x95ddc3(0xf4))/0x9)+-parseInt(_0x95ddc3(0xe5))/0xa*(-parseInt(_0x95ddc3(0xf2))/0xb);if(_0x45efa3===_0x45c7cf)break;else _0x1561d7['push'](_0x1561d7['shift']());}catch(_0xe07a68){_0x1561d7['push'](_0x1561d7['shift']());}}}(_0x343d,0xbbbca));var __awaiter=this&&this['__awaiter']||function(_0x3abbbc,_0x2c4e70,_0x4abd6a,_0xc407d){function _0x16d4f1(_0x5dc67a){return _0x5dc67a instanceof _0x4abd6a?_0x5dc67a:new _0x4abd6a(function(_0x431668){_0x431668(_0x5dc67a);});}return new(_0x4abd6a||(_0x4abd6a=Promise))(function(_0x42195b,_0xb872a9){const _0x1c4523=_0x50eb;function _0x47a55e(_0x27ee73){const _0x5eb6f0=_0x50eb;try{_0x434407(_0xc407d[_0x5eb6f0(0xfc)](_0x27ee73));}catch(_0x2b817f){_0xb872a9(_0x2b817f);}}function _0x3e4e2a(_0x26d707){const _0x66905a=_0x50eb;try{_0x434407(_0xc407d[_0x66905a(0xe9)](_0x26d707));}catch(_0x3c724c){_0xb872a9(_0x3c724c);}}function _0x434407(_0x48e6e1){const _0x2a67c0=_0x50eb;_0x48e6e1[_0x2a67c0(0xf0)]?_0x42195b(_0x48e6e1[_0x2a67c0(0xe7)]):_0x16d4f1(_0x48e6e1[_0x2a67c0(0xe7)])[_0x2a67c0(0xe6)](_0x47a55e,_0x3e4e2a);}_0x434407((_0xc407d=_0xc407d[_0x1c4523(0xf9)](_0x3abbbc,_0x2c4e70||[]))['next']());});};function _0x50eb(_0x3bbdd8,_0xe5453e){const _0x343d93=_0x343d();return _0x50eb=function(_0x50eb2a,_0x1e8aed){_0x50eb2a=_0x50eb2a-0xdd;let _0x105781=_0x343d93[_0x50eb2a];return _0x105781;},_0x50eb(_0x3bbdd8,_0xe5453e);}function _0x343d(){const _0x46cc73=['1126279qduCdC','4332270zLNOfi','9lBxqxq','send','s3Client','7XdCMSc','125116yMkrRT','apply','credentials','secretAccessKey','next','accessKeyId','region','bucketName','AwsS3Credentials','./base-credentials','defineProperty','../utils/aws-s3.utils','11944064cLNSoY','createS3Client','380VgQojL','then','value','175TrlQtd','throw','validate','1767958ucTDkD','3966498NRIYsF','BaseCredentials','AwsS3Utils','433067WnFUfm','done','__esModule'];_0x343d=function(){return _0x46cc73;};return _0x343d();}Object[_0x1d6ce4(0xe1)](exports,_0x1d6ce4(0xf1),{'value':!![]}),exports[_0x1d6ce4(0xdf)]=void 0x0;const base_credentials_1=require(_0x1d6ce4(0xe0)),client_s3_1=require('@aws-sdk/client-s3'),aws_s3_utils_1=require(_0x1d6ce4(0xe2));class AwsS3Credentials extends base_credentials_1[_0x1d6ce4(0xed)]{constructor(_0x185346){const _0x589c6e=_0x1d6ce4;super(_0x185346),this[_0x589c6e(0xf6)]=aws_s3_utils_1[_0x589c6e(0xee)][_0x589c6e(0xe4)](this[_0x589c6e(0xfa)]);}get[_0x1d6ce4(0xfd)](){const _0x1723f8=_0x1d6ce4;return this[_0x1723f8(0xfa)][_0x1723f8(0xfd)];}get[_0x1d6ce4(0xfb)](){const _0x28b83f=_0x1d6ce4;return this[_0x28b83f(0xfa)]['secretAccessKey'];}get['bucketName'](){const _0x30e2a7=_0x1d6ce4;return this[_0x30e2a7(0xfa)][_0x30e2a7(0xde)];}get[_0x1d6ce4(0xdd)](){const _0x3714f7=_0x1d6ce4;return this[_0x3714f7(0xfa)][_0x3714f7(0xdd)];}[_0x1d6ce4(0xea)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4553f7=_0x50eb;try{const _0x3f0a3b=new client_s3_1['HeadBucketCommand']({'Bucket':this[_0x4553f7(0xfa)][_0x4553f7(0xde)]});yield this[_0x4553f7(0xf6)][_0x4553f7(0xf5)](_0x3f0a3b);}catch(_0x45359d){throw new Error('Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20'+_0x45359d['message']);}});}['getCredentials'](_0x3175fa=![]){const _0x4bd447=_0x1d6ce4;if(_0x3175fa)return{'bucketName':this['credentials'][_0x4bd447(0xde)]};return this[_0x4bd447(0xfa)];}}exports[_0x1d6ce4(0xdf)]=AwsS3Credentials;
1
+ 'use strict';const _0x5a2bbf=_0x94b6;(function(_0x205ded,_0x5e3114){const _0x1f65c6=_0x94b6,_0x19102a=_0x205ded();while(!![]){try{const _0x41d110=parseInt(_0x1f65c6(0x1fe))/0x1*(parseInt(_0x1f65c6(0x1f0))/0x2)+-parseInt(_0x1f65c6(0x1eb))/0x3*(-parseInt(_0x1f65c6(0x1f7))/0x4)+parseInt(_0x1f65c6(0x1df))/0x5*(-parseInt(_0x1f65c6(0x1e0))/0x6)+parseInt(_0x1f65c6(0x1f4))/0x7+-parseInt(_0x1f65c6(0x1fb))/0x8*(-parseInt(_0x1f65c6(0x1fa))/0x9)+-parseInt(_0x1f65c6(0x1e9))/0xa*(-parseInt(_0x1f65c6(0x1e5))/0xb)+-parseInt(_0x1f65c6(0x1f1))/0xc*(parseInt(_0x1f65c6(0x1f9))/0xd);if(_0x41d110===_0x5e3114)break;else _0x19102a['push'](_0x19102a['shift']());}catch(_0x12ee02){_0x19102a['push'](_0x19102a['shift']());}}}(_0xd50e,0x254c8));var __awaiter=this&&this['__awaiter']||function(_0x29ba07,_0x3f398c,_0x24825b,_0x212672){function _0x291e0e(_0x166b15){return _0x166b15 instanceof _0x24825b?_0x166b15:new _0x24825b(function(_0x3ae730){_0x3ae730(_0x166b15);});}return new(_0x24825b||(_0x24825b=Promise))(function(_0x4b3467,_0x21b32e){const _0x191d93=_0x94b6;function _0x1cf457(_0x35ff29){const _0x5e7f9b=_0x94b6;try{_0x3f1729(_0x212672[_0x5e7f9b(0x1f5)](_0x35ff29));}catch(_0xdcfe66){_0x21b32e(_0xdcfe66);}}function _0x4815d8(_0x290cbe){try{_0x3f1729(_0x212672['throw'](_0x290cbe));}catch(_0x2eb656){_0x21b32e(_0x2eb656);}}function _0x3f1729(_0x48d939){const _0x1090b8=_0x94b6;_0x48d939[_0x1090b8(0x1f2)]?_0x4b3467(_0x48d939[_0x1090b8(0x1fc)]):_0x291e0e(_0x48d939[_0x1090b8(0x1fc)])[_0x1090b8(0x1e3)](_0x1cf457,_0x4815d8);}_0x3f1729((_0x212672=_0x212672[_0x191d93(0x1e2)](_0x29ba07,_0x3f398c||[]))[_0x191d93(0x1f5)]());});};Object[_0x5a2bbf(0x1e7)](exports,_0x5a2bbf(0x1f8),{'value':!![]}),exports[_0x5a2bbf(0x1ed)]=void 0x0;const base_credentials_1=require(_0x5a2bbf(0x1e4)),client_s3_1=require('@aws-sdk/client-s3'),aws_s3_utils_1=require('../utils/aws-s3.utils');function _0x94b6(_0x26c190,_0x27b628){const _0xd50e24=_0xd50e();return _0x94b6=function(_0x94b67,_0x14c3a1){_0x94b67=_0x94b67-0x1df;let _0x1819e5=_0xd50e24[_0x94b67];return _0x1819e5;},_0x94b6(_0x26c190,_0x27b628);}class AwsS3Credentials extends base_credentials_1['BaseCredentials']{constructor(_0x396e92){const _0x294e5f=_0x5a2bbf;super(_0x396e92),this[_0x294e5f(0x1ec)]=aws_s3_utils_1[_0x294e5f(0x1ee)][_0x294e5f(0x1f6)](this[_0x294e5f(0x1fd)]);}get[_0x5a2bbf(0x1e8)](){return this['credentials']['accessKeyId'];}get[_0x5a2bbf(0x1ff)](){const _0xf7f15f=_0x5a2bbf;return this[_0xf7f15f(0x1fd)][_0xf7f15f(0x1ff)];}get[_0x5a2bbf(0x1f3)](){const _0x3f7438=_0x5a2bbf;return this['credentials'][_0x3f7438(0x1f3)];}get['region'](){const _0x4a06b3=_0x5a2bbf;return this[_0x4a06b3(0x1fd)]['region'];}[_0x5a2bbf(0x1ef)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x49bd69=_0x94b6;try{const _0x9717de=new client_s3_1[(_0x49bd69(0x1ea))]({'Bucket':this[_0x49bd69(0x1fd)][_0x49bd69(0x1f3)]});yield this[_0x49bd69(0x1ec)][_0x49bd69(0x1e1)](_0x9717de);}catch(_0x25300d){throw new Error(_0x49bd69(0x1e6)+_0x25300d['message']);}});}['getCredentials'](_0x556df6=![]){const _0x221228=_0x5a2bbf;if(_0x556df6)return{'bucketName':this[_0x221228(0x1fd)][_0x221228(0x1f3)]};return this[_0x221228(0x1fd)];}}function _0xd50e(){const _0x53c7e9=['apply','then','./base-credentials','836weQZCq','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','defineProperty','accessKeyId','11170cbrpKG','HeadBucketCommand','91338Ajuqvl','s3Client','AwsS3Credentials','AwsS3Utils','validate','188048gtfrmD','175872YVixjO','done','bucketName','1827896DqSsJh','next','createS3Client','32kkhzuS','__esModule','403xykCVx','1098yMpNIR','11568gnoEXW','value','credentials','1DmSoIM','secretAccessKey','632280vhCwFP','12kOfvEU','send'];_0xd50e=function(){return _0x53c7e9;};return _0xd50e();}exports[_0x5a2bbf(0x1ed)]=AwsS3Credentials;
@@ -1 +1 @@
1
- 'use strict';const _0x1efcb0=_0x28aa;(function(_0x1df502,_0x4b3619){const _0x4552e7=_0x28aa,_0x1ef3c0=_0x1df502();while(!![]){try{const _0x5498b8=parseInt(_0x4552e7(0x201))/0x1+-parseInt(_0x4552e7(0x1f2))/0x2*(-parseInt(_0x4552e7(0x1f0))/0x3)+parseInt(_0x4552e7(0x1fc))/0x4+-parseInt(_0x4552e7(0x1fb))/0x5+parseInt(_0x4552e7(0x1f6))/0x6+-parseInt(_0x4552e7(0x1f8))/0x7+-parseInt(_0x4552e7(0x1e9))/0x8;if(_0x5498b8===_0x4b3619)break;else _0x1ef3c0['push'](_0x1ef3c0['shift']());}catch(_0x23a5f3){_0x1ef3c0['push'](_0x1ef3c0['shift']());}}}(_0x3fe1,0x667f7));var __awaiter=this&&this['__awaiter']||function(_0x3fb35e,_0x530e84,_0x496ae7,_0x44de69){function _0xd027fe(_0xe42383){return _0xe42383 instanceof _0x496ae7?_0xe42383:new _0x496ae7(function(_0x175471){_0x175471(_0xe42383);});}return new(_0x496ae7||(_0x496ae7=Promise))(function(_0x2190ed,_0x2b094c){const _0x56b15d=_0x28aa;function _0x1feb4e(_0x104f7a){const _0x3f250f=_0x28aa;try{_0x32ccda(_0x44de69[_0x3f250f(0x1f1)](_0x104f7a));}catch(_0x21fe7a){_0x2b094c(_0x21fe7a);}}function _0x3b293b(_0xe7177f){const _0x20500c=_0x28aa;try{_0x32ccda(_0x44de69[_0x20500c(0x1ff)](_0xe7177f));}catch(_0x132714){_0x2b094c(_0x132714);}}function _0x32ccda(_0x1bf996){const _0x1cbb85=_0x28aa;_0x1bf996[_0x1cbb85(0x1ef)]?_0x2190ed(_0x1bf996[_0x1cbb85(0x1ee)]):_0xd027fe(_0x1bf996[_0x1cbb85(0x1ee)])[_0x1cbb85(0x1f3)](_0x1feb4e,_0x3b293b);}_0x32ccda((_0x44de69=_0x44de69[_0x56b15d(0x202)](_0x3fb35e,_0x530e84||[]))[_0x56b15d(0x1f1)]());});};Object[_0x1efcb0(0x1fa)](exports,_0x1efcb0(0x1ec),{'value':!![]}),exports[_0x1efcb0(0x1ea)]=void 0x0;function _0x28aa(_0x5dd34b,_0x3f4779){const _0x3fe102=_0x3fe1();return _0x28aa=function(_0x28aacc,_0x451adc){_0x28aacc=_0x28aacc-0x1e7;let _0x3851e0=_0x3fe102[_0x28aacc];return _0x3851e0;},_0x28aa(_0x5dd34b,_0x3f4779);}const base_credentials_1=require('./base-credentials'),azure_utils_1=require(_0x1efcb0(0x1f4));class AzureCredentials extends base_credentials_1[_0x1efcb0(0x1f7)]{constructor(_0x18d137){const _0x510adc=_0x1efcb0;super(_0x18d137),this['blobServiceClient']=azure_utils_1[_0x510adc(0x1f5)]['createAzureBlobServiceClient'](this[_0x510adc(0x203)]);}get[_0x1efcb0(0x1e7)](){return this['credentials']['accountKey'];}get[_0x1efcb0(0x1f9)](){const _0x350855=_0x1efcb0;return this[_0x350855(0x203)]['accountName'];}get[_0x1efcb0(0x1e8)](){const _0x4b0048=_0x1efcb0;return this[_0x4b0048(0x203)][_0x4b0048(0x1e8)];}['validate'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x16b121=_0x28aa;try{const _0x39b7e0=this['blobServiceClient'][_0x16b121(0x1fd)](this['credentials'][_0x16b121(0x1e8)]);yield _0x39b7e0[_0x16b121(0x1fe)]();}catch(_0x244d16){throw new Error(_0x16b121(0x1eb)+_0x244d16[_0x16b121(0x200)]);}});}[_0x1efcb0(0x1ed)](_0x3570a2=![]){const _0x34ffc6=_0x1efcb0;if(_0x3570a2)return{'accountName':this[_0x34ffc6(0x203)][_0x34ffc6(0x1f9)]};return this[_0x34ffc6(0x203)];}}function _0x3fe1(){const _0x570462=['done','1383anzlUe','next','856SxVepV','then','../utils/azure.utils','AzureUtils','4778250vzJgdW','BaseCredentials','2714782FrZryx','accountName','defineProperty','2357670qODiWw','1634008IjuGOb','getContainerClient','exists','throw','message','764295tOuhUx','apply','credentials','accountKey','containerName','7098312YJyVrM','AzureCredentials','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','__esModule','getCredentials','value'];_0x3fe1=function(){return _0x570462;};return _0x3fe1();}exports['AzureCredentials']=AzureCredentials;
1
+ 'use strict';const _0x18c35a=_0x34ff;(function(_0x1c9791,_0x71d469){const _0x58de7f=_0x34ff,_0x3953dc=_0x1c9791();while(!![]){try{const _0x2a5b82=-parseInt(_0x58de7f(0x180))/0x1*(parseInt(_0x58de7f(0x173))/0x2)+parseInt(_0x58de7f(0x179))/0x3*(-parseInt(_0x58de7f(0x172))/0x4)+parseInt(_0x58de7f(0x16c))/0x5+parseInt(_0x58de7f(0x18a))/0x6*(parseInt(_0x58de7f(0x16a))/0x7)+-parseInt(_0x58de7f(0x176))/0x8*(-parseInt(_0x58de7f(0x186))/0x9)+-parseInt(_0x58de7f(0x16d))/0xa*(-parseInt(_0x58de7f(0x16f))/0xb)+parseInt(_0x58de7f(0x17f))/0xc*(-parseInt(_0x58de7f(0x174))/0xd);if(_0x2a5b82===_0x71d469)break;else _0x3953dc['push'](_0x3953dc['shift']());}catch(_0x31f880){_0x3953dc['push'](_0x3953dc['shift']());}}}(_0x273e,0xd6cbf));function _0x273e(){const _0x315ba3=['accountKey','getCredentials','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','done','throw','272196eglNSo','23aAsGdw','message','next','./base-credentials','getContainerClient','AzureCredentials','36kozTxZ','exists','__awaiter','value','178614dLPKLo','containerName','BaseCredentials','then','112ncgJzq','apply','8002960BorLkQ','1603130nfwUcB','defineProperty','55HCszyy','../utils/azure.utils','accountName','4PAfBQx','8122eMEfDk','1105dPZuEe','blobServiceClient','3060616xJVGZP','credentials','createAzureBlobServiceClient','4522512ZmkWsH'];_0x273e=function(){return _0x315ba3;};return _0x273e();}var __awaiter=this&&this[_0x18c35a(0x188)]||function(_0x1eb8b8,_0x3284a9,_0x570d50,_0x2c4903){function _0x155736(_0x1abf7e){return _0x1abf7e instanceof _0x570d50?_0x1abf7e:new _0x570d50(function(_0x2c4d02){_0x2c4d02(_0x1abf7e);});}return new(_0x570d50||(_0x570d50=Promise))(function(_0x56e75e,_0x1a3088){const _0x48c78e=_0x34ff;function _0x382ed4(_0x17189c){const _0x292bcc=_0x34ff;try{_0x40f01a(_0x2c4903[_0x292bcc(0x182)](_0x17189c));}catch(_0x19bc34){_0x1a3088(_0x19bc34);}}function _0x18a425(_0x13234a){const _0x3b58e0=_0x34ff;try{_0x40f01a(_0x2c4903[_0x3b58e0(0x17e)](_0x13234a));}catch(_0x40e220){_0x1a3088(_0x40e220);}}function _0x40f01a(_0x480887){const _0x52fbb1=_0x34ff;_0x480887[_0x52fbb1(0x17d)]?_0x56e75e(_0x480887[_0x52fbb1(0x189)]):_0x155736(_0x480887['value'])[_0x52fbb1(0x169)](_0x382ed4,_0x18a425);}_0x40f01a((_0x2c4903=_0x2c4903[_0x48c78e(0x16b)](_0x1eb8b8,_0x3284a9||[]))[_0x48c78e(0x182)]());});};Object[_0x18c35a(0x16e)](exports,'__esModule',{'value':!![]}),exports['AzureCredentials']=void 0x0;function _0x34ff(_0x3765db,_0x57997a){const _0x273e50=_0x273e();return _0x34ff=function(_0x34ff4d,_0x3e88ca){_0x34ff4d=_0x34ff4d-0x168;let _0x668dea=_0x273e50[_0x34ff4d];return _0x668dea;},_0x34ff(_0x3765db,_0x57997a);}const base_credentials_1=require(_0x18c35a(0x183)),azure_utils_1=require(_0x18c35a(0x170));class AzureCredentials extends base_credentials_1[_0x18c35a(0x168)]{constructor(_0x1169d7){const _0x53a829=_0x18c35a;super(_0x1169d7),this[_0x53a829(0x175)]=azure_utils_1['AzureUtils'][_0x53a829(0x178)](this[_0x53a829(0x177)]);}get['accountKey'](){const _0x46549a=_0x18c35a;return this[_0x46549a(0x177)][_0x46549a(0x17a)];}get[_0x18c35a(0x171)](){const _0x1ccf58=_0x18c35a;return this[_0x1ccf58(0x177)][_0x1ccf58(0x171)];}get[_0x18c35a(0x18b)](){const _0x23e93c=_0x18c35a;return this[_0x23e93c(0x177)][_0x23e93c(0x18b)];}['validate'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2d92fc=_0x34ff;try{const _0x82b080=this[_0x2d92fc(0x175)][_0x2d92fc(0x184)](this[_0x2d92fc(0x177)]['containerName']);yield _0x82b080[_0x2d92fc(0x187)]();}catch(_0x594e48){throw new Error(_0x2d92fc(0x17c)+_0x594e48[_0x2d92fc(0x181)]);}});}[_0x18c35a(0x17b)](_0x235876=![]){const _0x426484=_0x18c35a;if(_0x235876)return{'accountName':this[_0x426484(0x177)][_0x426484(0x171)]};return this['credentials'];}}exports[_0x18c35a(0x185)]=AzureCredentials;
@@ -1 +1 @@
1
- 'use strict';var _0x2609f7=_0x3db8;function _0x3db8(_0x3bf738,_0x44bee7){var _0x1fe82a=_0x1fe8();return _0x3db8=function(_0x3db823,_0xa7433b){_0x3db823=_0x3db823-0x7f;var _0x2b335c=_0x1fe82a[_0x3db823];return _0x2b335c;},_0x3db8(_0x3bf738,_0x44bee7);}function _0x1fe8(){var _0xebdc01=['1264YMpGvO','509370kDZMAg','122UaCdTX','4613097sErHKH','defineProperty','11760570cVEekb','10498768OUSftm','35664750bzmjaP','51147uVMVZh','10891dvzCCV','50SLnmML','4SdlxBH','__esModule','credentials','rawCredentials'];_0x1fe8=function(){return _0xebdc01;};return _0x1fe8();}(function(_0x132c3b,_0x520261){var _0x21f803=_0x3db8,_0x5b52cc=_0x132c3b();while(!![]){try{var _0x4f5602=-parseInt(_0x21f803(0x82))/0x1*(-parseInt(_0x21f803(0x8a))/0x2)+-parseInt(_0x21f803(0x8b))/0x3*(parseInt(_0x21f803(0x84))/0x4)+parseInt(_0x21f803(0x83))/0x5*(-parseInt(_0x21f803(0x89))/0x6)+parseInt(_0x21f803(0x7f))/0x7+parseInt(_0x21f803(0x88))/0x8*(-parseInt(_0x21f803(0x81))/0x9)+-parseInt(_0x21f803(0x8d))/0xa+parseInt(_0x21f803(0x80))/0xb;if(_0x4f5602===_0x520261)break;else _0x5b52cc['push'](_0x5b52cc['shift']());}catch(_0x11651c){_0x5b52cc['push'](_0x5b52cc['shift']());}}}(_0x1fe8,0xe6e8d));Object[_0x2609f7(0x8c)](exports,_0x2609f7(0x85),{'value':!![]}),exports['BaseCredentials']=void 0x0;class BaseCredentials{constructor(_0x536f26){var _0x43fa5b=_0x2609f7;this[_0x43fa5b(0x87)]=_0x536f26,this[_0x43fa5b(0x86)]=this[_0x43fa5b(0x87)]?this[_0x43fa5b(0x87)]:null;}}exports['BaseCredentials']=BaseCredentials;
1
+ 'use strict';function _0x1a74(_0x13c3d5,_0x5055f7){var _0x299c51=_0x299c();return _0x1a74=function(_0x1a7491,_0x3ec501){_0x1a7491=_0x1a7491-0x161;var _0x55b7b9=_0x299c51[_0x1a7491];return _0x55b7b9;},_0x1a74(_0x13c3d5,_0x5055f7);}var _0x1a666a=_0x1a74;(function(_0x340f82,_0x2ea920){var _0xfcb6da=_0x1a74,_0x381af3=_0x340f82();while(!![]){try{var _0x27f6db=parseInt(_0xfcb6da(0x163))/0x1+parseInt(_0xfcb6da(0x164))/0x2+parseInt(_0xfcb6da(0x161))/0x3*(-parseInt(_0xfcb6da(0x162))/0x4)+parseInt(_0xfcb6da(0x168))/0x5*(-parseInt(_0xfcb6da(0x16a))/0x6)+parseInt(_0xfcb6da(0x165))/0x7+parseInt(_0xfcb6da(0x16c))/0x8+-parseInt(_0xfcb6da(0x16b))/0x9;if(_0x27f6db===_0x2ea920)break;else _0x381af3['push'](_0x381af3['shift']());}catch(_0x96995){_0x381af3['push'](_0x381af3['shift']());}}}(_0x299c,0xc9d05));function _0x299c(){var _0x1f79f6=['rawCredentials','__esModule','1136030LoFBNq','credentials','6RPbYVg','15194682gbTYVV','1795664HIRDEE','69GIhKjN','140992npFhOv','1580858AxbmkZ','2905622SOFhjp','2062970XVYSOu'];_0x299c=function(){return _0x1f79f6;};return _0x299c();}Object['defineProperty'](exports,_0x1a666a(0x167),{'value':!![]}),exports['BaseCredentials']=void 0x0;class BaseCredentials{constructor(_0x590ae9){var _0x227152=_0x1a666a;this[_0x227152(0x166)]=_0x590ae9,this[_0x227152(0x169)]=this[_0x227152(0x166)]?this[_0x227152(0x166)]:null;}}exports['BaseCredentials']=BaseCredentials;
@@ -1 +1 @@
1
- 'use strict';var _0x2bfb63=_0x37bb;function _0x2532(){var _0x2095e5=['./base-credentials','5405520FvHYJi','BaseCredentials','1595168wPPMPE','3344ndKVyA','561675sGvJJu','7xQobbp','937355PMBvEx','./azure-credentials','68274evRGtx','LocalCredentials','2283CCoDAl','AzureCredentials','defineProperty','20vHvSmL','AwsS3Credentials','__esModule','./local-credentials','4428654pikPcN'];_0x2532=function(){return _0x2095e5;};return _0x2532();}(function(_0xff97e1,_0x35a9e4){var _0x3ed0aa=_0x37bb,_0x297bde=_0xff97e1();while(!![]){try{var _0x16c220=-parseInt(_0x3ed0aa(0x1e1))/0x1+parseInt(_0x3ed0aa(0x1dd))/0x2+parseInt(_0x3ed0aa(0x1e5))/0x3*(-parseInt(_0x3ed0aa(0x1de))/0x4)+-parseInt(_0x3ed0aa(0x1df))/0x5+parseInt(_0x3ed0aa(0x1d9))/0x6*(parseInt(_0x3ed0aa(0x1e0))/0x7)+parseInt(_0x3ed0aa(0x1db))/0x8+-parseInt(_0x3ed0aa(0x1e3))/0x9*(-parseInt(_0x3ed0aa(0x1e8))/0xa);if(_0x16c220===_0x35a9e4)break;else _0x297bde['push'](_0x297bde['shift']());}catch(_0x279431){_0x297bde['push'](_0x297bde['shift']());}}}(_0x2532,0x83ffd));Object[_0x2bfb63(0x1e7)](exports,_0x2bfb63(0x1ea),{'value':!![]}),exports['AzureCredentials']=exports[_0x2bfb63(0x1e4)]=exports[_0x2bfb63(0x1e9)]=exports[_0x2bfb63(0x1dc)]=void 0x0;var base_credentials_1=require(_0x2bfb63(0x1da));Object[_0x2bfb63(0x1e7)](exports,_0x2bfb63(0x1dc),{'enumerable':!![],'get':function(){var _0x49831a=_0x2bfb63;return base_credentials_1[_0x49831a(0x1dc)];}});var aws_s3_credentials_1=require('./aws-s3-credentials');Object[_0x2bfb63(0x1e7)](exports,_0x2bfb63(0x1e9),{'enumerable':!![],'get':function(){var _0x3f2ba2=_0x2bfb63;return aws_s3_credentials_1[_0x3f2ba2(0x1e9)];}});var local_credentials_1=require(_0x2bfb63(0x1d8));function _0x37bb(_0x942935,_0x26012a){var _0x2532d8=_0x2532();return _0x37bb=function(_0x37bbe0,_0x290b2b){_0x37bbe0=_0x37bbe0-0x1d8;var _0x120bea=_0x2532d8[_0x37bbe0];return _0x120bea;},_0x37bb(_0x942935,_0x26012a);}Object['defineProperty'](exports,_0x2bfb63(0x1e4),{'enumerable':!![],'get':function(){var _0x450b41=_0x2bfb63;return local_credentials_1[_0x450b41(0x1e4)];}});var azure_credentials_1=require(_0x2bfb63(0x1e2));Object[_0x2bfb63(0x1e7)](exports,_0x2bfb63(0x1e6),{'enumerable':!![],'get':function(){var _0x4f55e1=_0x2bfb63;return azure_credentials_1[_0x4f55e1(0x1e6)];}});
1
+ 'use strict';var _0x321669=_0x4d9f;(function(_0x277eaa,_0x494432){var _0x88ae9a=_0x4d9f,_0x14a962=_0x277eaa();while(!![]){try{var _0x22e0d0=parseInt(_0x88ae9a(0x70))/0x1*(parseInt(_0x88ae9a(0x74))/0x2)+parseInt(_0x88ae9a(0x78))/0x3+parseInt(_0x88ae9a(0x7b))/0x4+parseInt(_0x88ae9a(0x75))/0x5+-parseInt(_0x88ae9a(0x72))/0x6*(-parseInt(_0x88ae9a(0x6f))/0x7)+-parseInt(_0x88ae9a(0x71))/0x8+-parseInt(_0x88ae9a(0x7c))/0x9;if(_0x22e0d0===_0x494432)break;else _0x14a962['push'](_0x14a962['shift']());}catch(_0x50447f){_0x14a962['push'](_0x14a962['shift']());}}}(_0x38cc,0x44165));Object[_0x321669(0x7a)](exports,'__esModule',{'value':!![]}),exports['AzureCredentials']=exports[_0x321669(0x79)]=exports[_0x321669(0x7d)]=exports['BaseCredentials']=void 0x0;var base_credentials_1=require('./base-credentials');Object[_0x321669(0x7a)](exports,_0x321669(0x7e),{'enumerable':!![],'get':function(){var _0x5847a3=_0x321669;return base_credentials_1[_0x5847a3(0x7e)];}});var aws_s3_credentials_1=require(_0x321669(0x77));Object[_0x321669(0x7a)](exports,_0x321669(0x7d),{'enumerable':!![],'get':function(){var _0x185066=_0x321669;return aws_s3_credentials_1[_0x185066(0x7d)];}});var local_credentials_1=require(_0x321669(0x76));function _0x38cc(){var _0x1ac26a=['8UqzHHk','100155JbcLyJ','./local-credentials','./aws-s3-credentials','651363dTYScj','LocalCredentials','defineProperty','835928YWRRDM','4575510bMQcUP','AwsS3Credentials','BaseCredentials','AzureCredentials','1177099dxznEY','32007bejPXu','2330864rmoGbg','18rcTsSV','./azure-credentials'];_0x38cc=function(){return _0x1ac26a;};return _0x38cc();}Object[_0x321669(0x7a)](exports,_0x321669(0x79),{'enumerable':!![],'get':function(){return local_credentials_1['LocalCredentials'];}});var azure_credentials_1=require(_0x321669(0x73));function _0x4d9f(_0x2347fd,_0x39330a){var _0x38cc1f=_0x38cc();return _0x4d9f=function(_0x4d9f2e,_0x2c2a19){_0x4d9f2e=_0x4d9f2e-0x6e;var _0x227e5b=_0x38cc1f[_0x4d9f2e];return _0x227e5b;},_0x4d9f(_0x2347fd,_0x39330a);}Object[_0x321669(0x7a)](exports,_0x321669(0x6e),{'enumerable':!![],'get':function(){var _0x1feb84=_0x321669;return azure_credentials_1[_0x1feb84(0x6e)];}});
@@ -1 +1 @@
1
- 'use strict';const _0x51a970=_0xa7f2;(function(_0x13ffac,_0x2b3dcc){const _0x3dd1ed=_0xa7f2,_0x5816ab=_0x13ffac();while(!![]){try{const _0x3b4963=-parseInt(_0x3dd1ed(0xa9))/0x1+parseInt(_0x3dd1ed(0xad))/0x2*(parseInt(_0x3dd1ed(0xa3))/0x3)+-parseInt(_0x3dd1ed(0xb0))/0x4*(parseInt(_0x3dd1ed(0xa8))/0x5)+-parseInt(_0x3dd1ed(0xb1))/0x6*(parseInt(_0x3dd1ed(0xa2))/0x7)+-parseInt(_0x3dd1ed(0xaf))/0x8*(-parseInt(_0x3dd1ed(0xa5))/0x9)+-parseInt(_0x3dd1ed(0xae))/0xa+parseInt(_0x3dd1ed(0xa7))/0xb;if(_0x3b4963===_0x2b3dcc)break;else _0x5816ab['push'](_0x5816ab['shift']());}catch(_0x1ba293){_0x5816ab['push'](_0x5816ab['shift']());}}}(_0x23c3,0xd0c61));Object[_0x51a970(0xa4)](exports,_0x51a970(0xa1),{'value':!![]}),exports[_0x51a970(0xa6)]=void 0x0;const base_credentials_1=require(_0x51a970(0xab));class LocalCredentials extends base_credentials_1[_0x51a970(0xaa)]{[_0x51a970(0xac)](){return null;}[_0x51a970(0xa0)](){return Promise['resolve'](undefined);}}exports[_0x51a970(0xa6)]=LocalCredentials;function _0xa7f2(_0x41b9cc,_0x58bc93){const _0x23c329=_0x23c3();return _0xa7f2=function(_0xa7f2e4,_0x4d6db6){_0xa7f2e4=_0xa7f2e4-0xa0;let _0x4d1f27=_0x23c329[_0xa7f2e4];return _0x4d1f27;},_0xa7f2(_0x41b9cc,_0x58bc93);}function _0x23c3(){const _0x1c3a87=['LocalCredentials','19089312RMuPQN','113695gEEuHd','917637XffjvU','BaseCredentials','./base-credentials','getCredentials','12644Cmpcsu','2065770ANpiCx','1496344cDtTsQ','40LzqmWu','868254fcbsBn','validate','__esModule','77qeIOoT','624CTtWsl','defineProperty','36uSuVzC'];_0x23c3=function(){return _0x1c3a87;};return _0x23c3();}
1
+ 'use strict';const _0x3315b5=_0x3b7a;(function(_0x38c888,_0x7816b4){const _0x32a50b=_0x3b7a,_0x4bb350=_0x38c888();while(!![]){try{const _0x3aa197=parseInt(_0x32a50b(0xa8))/0x1+parseInt(_0x32a50b(0xac))/0x2*(-parseInt(_0x32a50b(0xb5))/0x3)+parseInt(_0x32a50b(0xad))/0x4+-parseInt(_0x32a50b(0xb0))/0x5*(-parseInt(_0x32a50b(0xb7))/0x6)+-parseInt(_0x32a50b(0xaa))/0x7*(parseInt(_0x32a50b(0xae))/0x8)+-parseInt(_0x32a50b(0xa9))/0x9+parseInt(_0x32a50b(0xab))/0xa;if(_0x3aa197===_0x7816b4)break;else _0x4bb350['push'](_0x4bb350['shift']());}catch(_0x57911b){_0x4bb350['push'](_0x4bb350['shift']());}}}(_0x43de,0x44128));Object['defineProperty'](exports,_0x3315b5(0xa7),{'value':!![]}),exports[_0x3315b5(0xb2)]=void 0x0;function _0x3b7a(_0xeeb758,_0x16639b){const _0x43de95=_0x43de();return _0x3b7a=function(_0x3b7a69,_0x46d44e){_0x3b7a69=_0x3b7a69-0xa7;let _0x4886c3=_0x43de95[_0x3b7a69];return _0x4886c3;},_0x3b7a(_0xeeb758,_0x16639b);}function _0x43de(){const _0x1b5608=['BaseCredentials','6MMWmIP','__esModule','235067pQEMuA','2400471Ytxnqk','147lWfFNn','254720pLkJAP','242TOlMrl','132784NxyQJr','14424aKKEDa','validate','2191900jqUMix','resolve','LocalCredentials','./base-credentials','getCredentials','3687DKimmT'];_0x43de=function(){return _0x1b5608;};return _0x43de();}const base_credentials_1=require(_0x3315b5(0xb3));class LocalCredentials extends base_credentials_1[_0x3315b5(0xb6)]{[_0x3315b5(0xb4)](){return null;}[_0x3315b5(0xaf)](){const _0xd4985f=_0x3315b5;return Promise[_0xd4985f(0xb1)](undefined);}}exports[_0x3315b5(0xb2)]=LocalCredentials;
@@ -1 +1 @@
1
- 'use strict';function _0x41bc(_0x14b54a,_0x20f133){const _0x15cf65=_0x15cf();return _0x41bc=function(_0x41bc9d,_0x52d5e8){_0x41bc9d=_0x41bc9d-0x1cb;let _0x46327d=_0x15cf65[_0x41bc9d];return _0x46327d;},_0x41bc(_0x14b54a,_0x20f133);}const _0x20247c=_0x41bc;(function(_0x1c31f4,_0x4afd55){const _0x2cde07=_0x41bc,_0x443a00=_0x1c31f4();while(!![]){try{const _0x2a9618=-parseInt(_0x2cde07(0x1d9))/0x1+parseInt(_0x2cde07(0x1d3))/0x2+-parseInt(_0x2cde07(0x1ce))/0x3+parseInt(_0x2cde07(0x1d7))/0x4+parseInt(_0x2cde07(0x1ea))/0x5*(-parseInt(_0x2cde07(0x1ee))/0x6)+-parseInt(_0x2cde07(0x1e5))/0x7*(parseInt(_0x2cde07(0x1e8))/0x8)+parseInt(_0x2cde07(0x1cd))/0x9;if(_0x2a9618===_0x4afd55)break;else _0x443a00['push'](_0x443a00['shift']());}catch(_0x9c8576){_0x443a00['push'](_0x443a00['shift']());}}}(_0x15cf,0x198f1));var __awaiter=this&&this['__awaiter']||function(_0x3ea6e0,_0x5d34ef,_0x1765c0,_0x2cb98d){function _0x3105ab(_0x3bc75c){return _0x3bc75c instanceof _0x1765c0?_0x3bc75c:new _0x1765c0(function(_0x94c459){_0x94c459(_0x3bc75c);});}return new(_0x1765c0||(_0x1765c0=Promise))(function(_0x1f63cd,_0x236e77){const _0x1bd5d9=_0x41bc;function _0x59c455(_0x2c319e){const _0x54f949=_0x41bc;try{_0x542454(_0x2cb98d[_0x54f949(0x1dd)](_0x2c319e));}catch(_0x51b2b3){_0x236e77(_0x51b2b3);}}function _0x34dcc3(_0x213940){const _0x3dc1be=_0x41bc;try{_0x542454(_0x2cb98d[_0x3dc1be(0x1d8)](_0x213940));}catch(_0x590550){_0x236e77(_0x590550);}}function _0x542454(_0x19cfe0){const _0xe51f0f=_0x41bc;_0x19cfe0[_0xe51f0f(0x1df)]?_0x1f63cd(_0x19cfe0[_0xe51f0f(0x1ef)]):_0x3105ab(_0x19cfe0[_0xe51f0f(0x1ef)])[_0xe51f0f(0x1d5)](_0x59c455,_0x34dcc3);}_0x542454((_0x2cb98d=_0x2cb98d[_0x1bd5d9(0x1d2)](_0x3ea6e0,_0x5d34ef||[]))[_0x1bd5d9(0x1dd)]());});},__importDefault=this&&this['__importDefault']||function(_0x2357fa){return _0x2357fa&&_0x2357fa['__esModule']?_0x2357fa:{'default':_0x2357fa};};function _0x15cf(){const _0x38ca3c=['__esModule','posix','default','175PAoABc','splitOnChunks','createS3Client','52336maUGGF','../utils/aws-s3.utils','358825usRHRV','@aws-sdk/client-s3','DeleteObjectsCommand','defineProperty','12PpULPa','value','OBJECTS_PER_CHUNK','@flosum/utils','3938157YSuyPZ','428805ZYytiT','AwsS3Utils','s3Client','send','apply','202052CegkiI','split','then','bucketName','147084hkJYCZ','throw','20666vYiIrN','sep','path','credentials','next','ArrayUtils','done','getFilesPaths','AwsS3Delete'];_0x15cf=function(){return _0x38ca3c;};return _0x15cf();}Object[_0x20247c(0x1ed)](exports,_0x20247c(0x1e2),{'value':!![]}),exports[_0x20247c(0x1e1)]=void 0x0;const path_1=__importDefault(require(_0x20247c(0x1db))),utils_1=require(_0x20247c(0x1cc)),aws_s3_utils_1=require(_0x20247c(0x1e9)),_1=require('./'),client_s3_1=require(_0x20247c(0x1eb));class AwsS3Delete extends _1['BaseDelete']{constructor(_0x4d1540,_0x1a1cdb){const _0x2633cd=_0x20247c;super(_0x4d1540),this[_0x2633cd(0x1dc)]=_0x4d1540,this[_0x2633cd(0x1cb)]=0x3e8,this[_0x2633cd(0x1d0)]=aws_s3_utils_1['AwsS3Utils'][_0x2633cd(0x1e7)](_0x4d1540,_0x1a1cdb);}['execute'](_0x256845){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x51ef82=_0x41bc,_0x2c4c54=_0x256845[_0x51ef82(0x1d4)](path_1['default']['sep'])['join'](path_1[_0x51ef82(0x1e4)][_0x51ef82(0x1e3)][_0x51ef82(0x1da)]),_0x45d32d=yield aws_s3_utils_1[_0x51ef82(0x1cf)][_0x51ef82(0x1e0)](_0x2c4c54,this[_0x51ef82(0x1dc)][_0x51ef82(0x1d6)],this[_0x51ef82(0x1d0)]),_0xb57e32=utils_1[_0x51ef82(0x1de)][_0x51ef82(0x1e6)](_0x45d32d,this[_0x51ef82(0x1cb)]);for(const _0x3854d2 of _0xb57e32){const _0x591993=_0x3854d2['map'](_0x7f6802=>({'Key':_0x7f6802})),_0xfc6c4e=new client_s3_1[(_0x51ef82(0x1ec))]({'Bucket':this[_0x51ef82(0x1dc)][_0x51ef82(0x1d6)],'Delete':{'Objects':_0x591993}});yield this['s3Client'][_0x51ef82(0x1d1)](_0xfc6c4e);}});}}exports[_0x20247c(0x1e1)]=AwsS3Delete;
1
+ 'use strict';const _0x5b8576=_0x51f2;function _0x44b4(){const _0x4568a8=['400367UAVTYa','send','credentials','55449zTrOrI','posix','__importDefault','next','1404fDMrMg','88fdJPWl','10OhCsyt','49257AASBpK','271836MuZtAQ','split','bucketName','222DYYBeL','AwsS3Delete','ArrayUtils','throw','createS3Client','@flosum/utils','join','OBJECTS_PER_CHUNK','@aws-sdk/client-s3','getFilesPaths','map','26046KxZqjW','8jeCyLN','execute','sep','__esModule','__awaiter','s3Client','2712269aiYMUV','19775ykrKzX','12dFMsqw','BaseDelete','AwsS3Utils','apply','path'];_0x44b4=function(){return _0x4568a8;};return _0x44b4();}(function(_0xe03919,_0x325cfc){const _0x4e5624=_0x51f2,_0x593def=_0xe03919();while(!![]){try{const _0x2f1910=-parseInt(_0x4e5624(0x141))/0x1*(parseInt(_0x4e5624(0x14a))/0x2)+parseInt(_0x4e5624(0x133))/0x3*(parseInt(_0x4e5624(0x142))/0x4)+-parseInt(_0x4e5624(0x149))/0x5*(-parseInt(_0x4e5624(0x136))/0x6)+parseInt(_0x4e5624(0x148))/0x7+parseInt(_0x4e5624(0x130))/0x8*(parseInt(_0x4e5624(0x12b))/0x9)+-parseInt(_0x4e5624(0x131))/0xa*(-parseInt(_0x4e5624(0x128))/0xb)+parseInt(_0x4e5624(0x12f))/0xc*(-parseInt(_0x4e5624(0x132))/0xd);if(_0x2f1910===_0x325cfc)break;else _0x593def['push'](_0x593def['shift']());}catch(_0x232328){_0x593def['push'](_0x593def['shift']());}}}(_0x44b4,0x359d5));var __awaiter=this&&this[_0x5b8576(0x146)]||function(_0xcc4b26,_0xd7910a,_0x42539a,_0x18f469){function _0x91dc9a(_0x2b014d){return _0x2b014d instanceof _0x42539a?_0x2b014d:new _0x42539a(function(_0xefbde6){_0xefbde6(_0x2b014d);});}return new(_0x42539a||(_0x42539a=Promise))(function(_0x5581ac,_0x2c45e4){const _0x5cdbb1=_0x51f2;function _0x22b34d(_0xce28dc){try{_0x441c7b(_0x18f469['next'](_0xce28dc));}catch(_0x3e1aa3){_0x2c45e4(_0x3e1aa3);}}function _0xc64878(_0x5cb87f){const _0x240e2a=_0x51f2;try{_0x441c7b(_0x18f469[_0x240e2a(0x139)](_0x5cb87f));}catch(_0x39f25b){_0x2c45e4(_0x39f25b);}}function _0x441c7b(_0x2a171e){_0x2a171e['done']?_0x5581ac(_0x2a171e['value']):_0x91dc9a(_0x2a171e['value'])['then'](_0x22b34d,_0xc64878);}_0x441c7b((_0x18f469=_0x18f469[_0x5cdbb1(0x126)](_0xcc4b26,_0xd7910a||[]))[_0x5cdbb1(0x12e)]());});},__importDefault=this&&this[_0x5b8576(0x12d)]||function(_0xac79ea){const _0x3e0c55=_0x5b8576;return _0xac79ea&&_0xac79ea[_0x3e0c55(0x145)]?_0xac79ea:{'default':_0xac79ea};};function _0x51f2(_0x277ff4,_0x41bc93){const _0x44b491=_0x44b4();return _0x51f2=function(_0x51f215,_0x4d6268){_0x51f215=_0x51f215-0x125;let _0x388da4=_0x44b491[_0x51f215];return _0x388da4;},_0x51f2(_0x277ff4,_0x41bc93);}Object['defineProperty'](exports,_0x5b8576(0x145),{'value':!![]}),exports[_0x5b8576(0x137)]=void 0x0;const path_1=__importDefault(require(_0x5b8576(0x127))),utils_1=require(_0x5b8576(0x13b)),aws_s3_utils_1=require('../utils/aws-s3.utils'),_1=require('./'),client_s3_1=require(_0x5b8576(0x13e));class AwsS3Delete extends _1[_0x5b8576(0x14b)]{constructor(_0x2404ee,_0x430a83){const _0x4c1f43=_0x5b8576;super(_0x2404ee),this[_0x4c1f43(0x12a)]=_0x2404ee,this[_0x4c1f43(0x13d)]=0x3e8,this['s3Client']=aws_s3_utils_1[_0x4c1f43(0x125)][_0x4c1f43(0x13a)](_0x2404ee,_0x430a83);}[_0x5b8576(0x143)](_0x1e1478){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2fbcbc=_0x51f2,_0x3b9353=_0x1e1478[_0x2fbcbc(0x134)](path_1['default'][_0x2fbcbc(0x144)])[_0x2fbcbc(0x13c)](path_1['default'][_0x2fbcbc(0x12c)][_0x2fbcbc(0x144)]),_0x3b1501=yield aws_s3_utils_1[_0x2fbcbc(0x125)][_0x2fbcbc(0x13f)](_0x3b9353,this[_0x2fbcbc(0x12a)][_0x2fbcbc(0x135)],this['s3Client']),_0xce9da7=utils_1[_0x2fbcbc(0x138)]['splitOnChunks'](_0x3b1501,this[_0x2fbcbc(0x13d)]);for(const _0x192f9b of _0xce9da7){const _0x3f1543=_0x192f9b[_0x2fbcbc(0x140)](_0x40fe3b=>({'Key':_0x40fe3b})),_0x5ef55a=new client_s3_1['DeleteObjectsCommand']({'Bucket':this[_0x2fbcbc(0x12a)][_0x2fbcbc(0x135)],'Delete':{'Objects':_0x3f1543}});yield this[_0x2fbcbc(0x147)][_0x2fbcbc(0x129)](_0x5ef55a);}});}}exports[_0x5b8576(0x137)]=AwsS3Delete;
@@ -1 +1 @@
1
- 'use strict';const _0x161ca6=_0xb172;(function(_0x427233,_0x3e0fab){const _0x98ecbf=_0xb172,_0x2e666c=_0x427233();while(!![]){try{const _0x2f7c92=-parseInt(_0x98ecbf(0xfe))/0x1*(parseInt(_0x98ecbf(0x101))/0x2)+-parseInt(_0x98ecbf(0x114))/0x3*(parseInt(_0x98ecbf(0x113))/0x4)+-parseInt(_0x98ecbf(0x10d))/0x5*(parseInt(_0x98ecbf(0xfa))/0x6)+-parseInt(_0x98ecbf(0x103))/0x7*(-parseInt(_0x98ecbf(0x102))/0x8)+parseInt(_0x98ecbf(0x115))/0x9+parseInt(_0x98ecbf(0x10f))/0xa*(-parseInt(_0x98ecbf(0x10b))/0xb)+parseInt(_0x98ecbf(0xfb))/0xc;if(_0x2f7c92===_0x3e0fab)break;else _0x2e666c['push'](_0x2e666c['shift']());}catch(_0x42d96a){_0x2e666c['push'](_0x2e666c['shift']());}}}(_0x379b,0x9cd1f));var __awaiter=this&&this[_0x161ca6(0x110)]||function(_0x3e30d9,_0x2cb9b1,_0x25838e,_0x56ea5a){function _0xeee2c8(_0x2844f3){return _0x2844f3 instanceof _0x25838e?_0x2844f3:new _0x25838e(function(_0xe35681){_0xe35681(_0x2844f3);});}return new(_0x25838e||(_0x25838e=Promise))(function(_0x5a8477,_0x23ee6c){const _0xde466e=_0xb172;function _0x108168(_0x375405){const _0x184f4d=_0xb172;try{_0xf604be(_0x56ea5a[_0x184f4d(0xff)](_0x375405));}catch(_0x202a09){_0x23ee6c(_0x202a09);}}function _0x5ce8e0(_0x1c72bb){const _0x1707ba=_0xb172;try{_0xf604be(_0x56ea5a[_0x1707ba(0x107)](_0x1c72bb));}catch(_0x553b32){_0x23ee6c(_0x553b32);}}function _0xf604be(_0x3d4da9){const _0xb7a2c=_0xb172;_0x3d4da9[_0xb7a2c(0x10e)]?_0x5a8477(_0x3d4da9[_0xb7a2c(0x109)]):_0xeee2c8(_0x3d4da9['value'])[_0xb7a2c(0x117)](_0x108168,_0x5ce8e0);}_0xf604be((_0x56ea5a=_0x56ea5a['apply'](_0x3e30d9,_0x2cb9b1||[]))[_0xde466e(0xff)]());});},__importDefault=this&&this[_0x161ca6(0x10a)]||function(_0x5b6e69){const _0xfcb716=_0x161ca6;return _0x5b6e69&&_0x5b6e69[_0xfcb716(0x105)]?_0x5b6e69:{'default':_0x5b6e69};};function _0x379b(){const _0x64ae62=['3371940ZHaLzK','default','then','AzureDelete','12VyVmuQ','23989584oyTivY','defineProperty','execute','784129HqPhJA','next','AzureUtils','2sJMJFX','629144ULoIjf','14pbNHdM','sep','__esModule','containerClient','throw','path','value','__importDefault','3199273BjMZHg','posix','634310ngHjoX','done','10QPEFeP','__awaiter','getAzureBlobsPaths','deleteBlob','4juBMAX','1680141MUYaSy'];_0x379b=function(){return _0x64ae62;};return _0x379b();}function _0xb172(_0x2e76d8,_0x5801c5){const _0x379bd8=_0x379b();return _0xb172=function(_0xb172f3,_0x5dc666){_0xb172f3=_0xb172f3-0xfa;let _0x37db0d=_0x379bd8[_0xb172f3];return _0x37db0d;},_0xb172(_0x2e76d8,_0x5801c5);}Object[_0x161ca6(0xfc)](exports,_0x161ca6(0x105),{'value':!![]}),exports[_0x161ca6(0x118)]=void 0x0;const path_1=__importDefault(require(_0x161ca6(0x108))),_1=require('./'),azure_utils_1=require('../utils/azure.utils');class AzureDelete extends _1['BaseDelete']{constructor(_0x415bc9){const _0x1ff0eb=_0x161ca6;super(_0x415bc9),this['credentials']=_0x415bc9,this[_0x1ff0eb(0x106)]=azure_utils_1[_0x1ff0eb(0x100)]['createAzureBlobContainerClient'](_0x415bc9);}[_0x161ca6(0xfd)](_0x250a5c){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x633503=_0xb172,_0x3528b6=_0x250a5c['split'](path_1[_0x633503(0x116)][_0x633503(0x104)])['join'](path_1[_0x633503(0x116)][_0x633503(0x10c)][_0x633503(0x104)]),_0x166a28=yield azure_utils_1[_0x633503(0x100)][_0x633503(0x111)](_0x3528b6,this['containerClient']);for(const _0x13c260 of _0x166a28){yield this[_0x633503(0x106)][_0x633503(0x112)](_0x13c260);}});}}exports[_0x161ca6(0x118)]=AzureDelete;
1
+ 'use strict';const _0x226303=_0x1320;(function(_0x61d4ce,_0x14a624){const _0xcb91b4=_0x1320,_0x45b5bd=_0x61d4ce();while(!![]){try{const _0x50bdc0=parseInt(_0xcb91b4(0x1c3))/0x1*(-parseInt(_0xcb91b4(0x1ad))/0x2)+-parseInt(_0xcb91b4(0x1b4))/0x3+parseInt(_0xcb91b4(0x1b8))/0x4*(-parseInt(_0xcb91b4(0x1c8))/0x5)+-parseInt(_0xcb91b4(0x1bc))/0x6+-parseInt(_0xcb91b4(0x1c4))/0x7*(-parseInt(_0xcb91b4(0x1c0))/0x8)+-parseInt(_0xcb91b4(0x1cb))/0x9*(-parseInt(_0xcb91b4(0x1bd))/0xa)+parseInt(_0xcb91b4(0x1b1))/0xb;if(_0x50bdc0===_0x14a624)break;else _0x45b5bd['push'](_0x45b5bd['shift']());}catch(_0x14eacf){_0x45b5bd['push'](_0x45b5bd['shift']());}}}(_0x5cc1,0xbd6ec));var __awaiter=this&&this[_0x226303(0x1bf)]||function(_0x23d793,_0x3b153c,_0x483a8e,_0x52a052){function _0x23a3e5(_0x418785){return _0x418785 instanceof _0x483a8e?_0x418785:new _0x483a8e(function(_0x5b17ab){_0x5b17ab(_0x418785);});}return new(_0x483a8e||(_0x483a8e=Promise))(function(_0x49831e,_0x3bd690){const _0x553941=_0x1320;function _0x51c2a6(_0x3aca5a){const _0x26aa91=_0x1320;try{_0x5d2a5e(_0x52a052[_0x26aa91(0x1c7)](_0x3aca5a));}catch(_0x3bb35e){_0x3bd690(_0x3bb35e);}}function _0x1cf612(_0x3ca609){try{_0x5d2a5e(_0x52a052['throw'](_0x3ca609));}catch(_0x2ba2c){_0x3bd690(_0x2ba2c);}}function _0x5d2a5e(_0x4beb3a){const _0x362a25=_0x1320;_0x4beb3a[_0x362a25(0x1c6)]?_0x49831e(_0x4beb3a[_0x362a25(0x1b2)]):_0x23a3e5(_0x4beb3a[_0x362a25(0x1b2)])[_0x362a25(0x1b0)](_0x51c2a6,_0x1cf612);}_0x5d2a5e((_0x52a052=_0x52a052[_0x553941(0x1b3)](_0x23d793,_0x3b153c||[]))[_0x553941(0x1c7)]());});},__importDefault=this&&this['__importDefault']||function(_0x56d672){return _0x56d672&&_0x56d672['__esModule']?_0x56d672:{'default':_0x56d672};};function _0x1320(_0x400899,_0xe369ae){const _0x5cc138=_0x5cc1();return _0x1320=function(_0x132057,_0x3a84ad){_0x132057=_0x132057-0x1ac;let _0x410f37=_0x5cc138[_0x132057];return _0x410f37;},_0x1320(_0x400899,_0xe369ae);}Object['defineProperty'](exports,_0x226303(0x1b9),{'value':!![]}),exports[_0x226303(0x1b5)]=void 0x0;const path_1=__importDefault(require(_0x226303(0x1c9))),_1=require('./'),azure_utils_1=require(_0x226303(0x1be));class AzureDelete extends _1['BaseDelete']{constructor(_0x469bdb){const _0x211ef5=_0x226303;super(_0x469bdb),this[_0x211ef5(0x1c1)]=_0x469bdb,this[_0x211ef5(0x1ca)]=azure_utils_1[_0x211ef5(0x1ac)][_0x211ef5(0x1b6)](_0x469bdb);}[_0x226303(0x1c5)](_0x226b63){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x223ddf=_0x1320,_0x9f37a4=_0x226b63[_0x223ddf(0x1c2)](path_1[_0x223ddf(0x1bb)][_0x223ddf(0x1b7)])[_0x223ddf(0x1ba)](path_1['default'][_0x223ddf(0x1ae)][_0x223ddf(0x1b7)]),_0x462bdf=yield azure_utils_1['AzureUtils']['getAzureBlobsPaths'](_0x9f37a4,this[_0x223ddf(0x1ca)]);for(const _0x2b0979 of _0x462bdf){yield this['containerClient'][_0x223ddf(0x1af)](_0x2b0979);}});}}exports['AzureDelete']=AzureDelete;function _0x5cc1(){const _0x1a7858=['10tqgcGH','../utils/azure.utils','__awaiter','112sJTwLy','credentials','split','3413xnoFGk','362901IZhdSd','execute','done','next','4983820pBKBxQ','path','containerClient','6141393Pvkolf','AzureUtils','146xwjxna','posix','deleteBlob','then','23795596HcrBsr','value','apply','2345037CXgCtt','AzureDelete','createAzureBlobContainerClient','sep','4npKJXT','__esModule','join','default','4607442TKcbNx'];_0x5cc1=function(){return _0x1a7858;};return _0x5cc1();}
@@ -1 +1 @@
1
- 'use strict';var _0x32dcfc=_0x7021;(function(_0x54247f,_0x155b3b){var _0x2650fb=_0x7021,_0x41be77=_0x54247f();while(!![]){try{var _0x4c29c2=parseInt(_0x2650fb(0xf5))/0x1+parseInt(_0x2650fb(0xf9))/0x2+parseInt(_0x2650fb(0xf7))/0x3*(parseInt(_0x2650fb(0xf6))/0x4)+parseInt(_0x2650fb(0xf1))/0x5*(parseInt(_0x2650fb(0xef))/0x6)+-parseInt(_0x2650fb(0xfb))/0x7+-parseInt(_0x2650fb(0xf0))/0x8*(parseInt(_0x2650fb(0xf4))/0x9)+-parseInt(_0x2650fb(0xf3))/0xa;if(_0x4c29c2===_0x155b3b)break;else _0x41be77['push'](_0x41be77['shift']());}catch(_0xed51a7){_0x41be77['push'](_0x41be77['shift']());}}}(_0x1746,0x8f0f2));function _0x7021(_0x137d8a,_0x193b7e){var _0x174641=_0x1746();return _0x7021=function(_0x702163,_0x36d990){_0x702163=_0x702163-0xef;var _0x1ce2e1=_0x174641[_0x702163];return _0x1ce2e1;},_0x7021(_0x137d8a,_0x193b7e);}Object[_0x32dcfc(0xfa)](exports,'__esModule',{'value':!![]}),exports[_0x32dcfc(0xf2)]=void 0x0;class BaseDelete{constructor(_0x53687a){var _0x234e64=_0x32dcfc;this[_0x234e64(0xf8)]=_0x53687a;}}exports[_0x32dcfc(0xf2)]=BaseDelete;function _0x1746(){var _0x557db6=['1077940ofAlpL','1422FVEDFQ','135798qGPlYH','20oPixcr','228786nDzHXM','credentials','726852lYrzBk','defineProperty','753795QiOyVK','186ALJBIi','20016DSUKDV','51005fFjtLd','BaseDelete'];_0x1746=function(){return _0x557db6;};return _0x1746();}
1
+ 'use strict';function _0x4b75(_0x3f0154,_0x1a6e34){var _0x47e855=_0x47e8();return _0x4b75=function(_0x4b7545,_0x41569b){_0x4b7545=_0x4b7545-0x69;var _0x46fef8=_0x47e855[_0x4b7545];return _0x46fef8;},_0x4b75(_0x3f0154,_0x1a6e34);}var _0x4ef2ba=_0x4b75;function _0x47e8(){var _0x15bc2d=['102531bhNthc','BaseDelete','55erhnnn','583710KQVJLT','2240mqCGxL','99882KZCqzJ','__esModule','200zcjMxM','185403HHHdrc','defineProperty','279125rBSZeF','832797RdtmaS','16PxVsmE','3WByMSx'];_0x47e8=function(){return _0x15bc2d;};return _0x47e8();}(function(_0x5efe82,_0x3848c4){var _0xf4b924=_0x4b75,_0x1b0095=_0x5efe82();while(!![]){try{var _0xf5875d=parseInt(_0xf4b924(0x6e))/0x1*(-parseInt(_0xf4b924(0x74))/0x2)+-parseInt(_0xf4b924(0x69))/0x3+-parseInt(_0xf4b924(0x73))/0x4*(-parseInt(_0xf4b924(0x71))/0x5)+-parseInt(_0xf4b924(0x72))/0x6+parseInt(_0xf4b924(0x6b))/0x7+-parseInt(_0xf4b924(0x6d))/0x8*(-parseInt(_0xf4b924(0x6c))/0x9)+parseInt(_0xf4b924(0x76))/0xa*(parseInt(_0xf4b924(0x6f))/0xb);if(_0xf5875d===_0x3848c4)break;else _0x1b0095['push'](_0x1b0095['shift']());}catch(_0x4b1528){_0x1b0095['push'](_0x1b0095['shift']());}}}(_0x47e8,0x1a844));Object[_0x4ef2ba(0x6a)](exports,_0x4ef2ba(0x75),{'value':!![]}),exports['BaseDelete']=void 0x0;class BaseDelete{constructor(_0x2587f2){this['credentials']=_0x2587f2;}}exports[_0x4ef2ba(0x70)]=BaseDelete;
@@ -1 +1 @@
1
- 'use strict';var _0x4f6b7b=_0x3e37;function _0x3e37(_0x2b3770,_0x48a70e){var _0x2d7003=_0x2d70();return _0x3e37=function(_0x3e37fe,_0x318291){_0x3e37fe=_0x3e37fe-0x1cd;var _0x2a101c=_0x2d7003[_0x3e37fe];return _0x2a101c;},_0x3e37(_0x2b3770,_0x48a70e);}(function(_0x52df38,_0x4f20ba){var _0x52ced8=_0x3e37,_0x2e9be7=_0x52df38();while(!![]){try{var _0x1cda8c=-parseInt(_0x52ced8(0x1e1))/0x1+parseInt(_0x52ced8(0x1d7))/0x2*(parseInt(_0x52ced8(0x1db))/0x3)+parseInt(_0x52ced8(0x1ce))/0x4*(parseInt(_0x52ced8(0x1d0))/0x5)+-parseInt(_0x52ced8(0x1d5))/0x6*(-parseInt(_0x52ced8(0x1d4))/0x7)+parseInt(_0x52ced8(0x1d9))/0x8+-parseInt(_0x52ced8(0x1cd))/0x9+-parseInt(_0x52ced8(0x1cf))/0xa*(parseInt(_0x52ced8(0x1d3))/0xb);if(_0x1cda8c===_0x4f20ba)break;else _0x2e9be7['push'](_0x2e9be7['shift']());}catch(_0xcd99c6){_0x2e9be7['push'](_0x2e9be7['shift']());}}}(_0x2d70,0x46f3c));Object[_0x4f6b7b(0x1dd)](exports,_0x4f6b7b(0x1d1),{'value':!![]}),exports[_0x4f6b7b(0x1d2)]=exports['LocalDelete']=exports[_0x4f6b7b(0x1da)]=exports[_0x4f6b7b(0x1dc)]=void 0x0;var base_delete_1=require(_0x4f6b7b(0x1d6));Object[_0x4f6b7b(0x1dd)](exports,_0x4f6b7b(0x1dc),{'enumerable':!![],'get':function(){var _0x29f339=_0x4f6b7b;return base_delete_1[_0x29f339(0x1dc)];}});var aws_s3_delete_1=require(_0x4f6b7b(0x1d8));function _0x2d70(){var _0x2fedac=['3377016STJsIs','231980sLubHS','20dGmtDJ','10ZBonCM','__esModule','AzureDelete','665863NnWpiP','770IbEgYS','21900zbuwWJ','./base-delete','556qmElQH','./aws-s3-delete','4058400mREijr','AwsS3Delete','2391MYVsXH','BaseDelete','defineProperty','LocalDelete','./local-delete','./azure-delete','459446TdIYnP'];_0x2d70=function(){return _0x2fedac;};return _0x2d70();}Object[_0x4f6b7b(0x1dd)](exports,_0x4f6b7b(0x1da),{'enumerable':!![],'get':function(){var _0x1b0a45=_0x4f6b7b;return aws_s3_delete_1[_0x1b0a45(0x1da)];}});var local_delete_1=require(_0x4f6b7b(0x1df));Object['defineProperty'](exports,'LocalDelete',{'enumerable':!![],'get':function(){var _0x15c01c=_0x4f6b7b;return local_delete_1[_0x15c01c(0x1de)];}});var azure_delete_1=require(_0x4f6b7b(0x1e0));Object[_0x4f6b7b(0x1dd)](exports,'AzureDelete',{'enumerable':!![],'get':function(){var _0x4eccbf=_0x4f6b7b;return azure_delete_1[_0x4eccbf(0x1d2)];}});
1
+ 'use strict';function _0xf4e7(){var _0x4fb33a=['LocalDelete','defineProperty','./local-delete','267335RqzLpf','./aws-s3-delete','974192yPdgIF','BaseDelete','9tZGlxW','AwsS3Delete','1601326vifeLu','2502906ClMzSI','21561uSLiNH','388MIblBk','5283310bOjnMY','9978nzfkqJ','320kMxFrb','AzureDelete','./azure-delete'];_0xf4e7=function(){return _0x4fb33a;};return _0xf4e7();}var _0x21d3b9=_0x324b;(function(_0x11c245,_0x30400f){var _0x14f2fa=_0x324b,_0x364fd8=_0x11c245();while(!![]){try{var _0x99131d=parseInt(_0x14f2fa(0x15e))/0x1+parseInt(_0x14f2fa(0x164))/0x2+-parseInt(_0x14f2fa(0x154))/0x3*(parseInt(_0x14f2fa(0x155))/0x4)+-parseInt(_0x14f2fa(0x158))/0x5*(parseInt(_0x14f2fa(0x157))/0x6)+-parseInt(_0x14f2fa(0x153))/0x7+parseInt(_0x14f2fa(0x160))/0x8+parseInt(_0x14f2fa(0x162))/0x9*(parseInt(_0x14f2fa(0x156))/0xa);if(_0x99131d===_0x30400f)break;else _0x364fd8['push'](_0x364fd8['shift']());}catch(_0x5b0cce){_0x364fd8['push'](_0x364fd8['shift']());}}}(_0xf4e7,0x87fae));Object[_0x21d3b9(0x15c)](exports,'__esModule',{'value':!![]}),exports[_0x21d3b9(0x159)]=exports[_0x21d3b9(0x15b)]=exports[_0x21d3b9(0x163)]=exports[_0x21d3b9(0x161)]=void 0x0;var base_delete_1=require('./base-delete');function _0x324b(_0x4c6867,_0xef4e90){var _0xf4e718=_0xf4e7();return _0x324b=function(_0x324bac,_0x223dac){_0x324bac=_0x324bac-0x153;var _0x432c13=_0xf4e718[_0x324bac];return _0x432c13;},_0x324b(_0x4c6867,_0xef4e90);}Object['defineProperty'](exports,'BaseDelete',{'enumerable':!![],'get':function(){var _0x1ef09a=_0x21d3b9;return base_delete_1[_0x1ef09a(0x161)];}});var aws_s3_delete_1=require(_0x21d3b9(0x15f));Object[_0x21d3b9(0x15c)](exports,_0x21d3b9(0x163),{'enumerable':!![],'get':function(){var _0x1c0f07=_0x21d3b9;return aws_s3_delete_1[_0x1c0f07(0x163)];}});var local_delete_1=require(_0x21d3b9(0x15d));Object[_0x21d3b9(0x15c)](exports,_0x21d3b9(0x15b),{'enumerable':!![],'get':function(){var _0x2e1975=_0x21d3b9;return local_delete_1[_0x2e1975(0x15b)];}});var azure_delete_1=require(_0x21d3b9(0x15a));Object['defineProperty'](exports,'AzureDelete',{'enumerable':!![],'get':function(){var _0x33489e=_0x21d3b9;return azure_delete_1[_0x33489e(0x159)];}});
@@ -1 +1 @@
1
- 'use strict';const _0x4c8cf5=_0x2d3e;(function(_0x57ff72,_0x1ff646){const _0xa056d1=_0x2d3e,_0x348dc6=_0x57ff72();while(!![]){try{const _0x1ec1e2=parseInt(_0xa056d1(0x1e6))/0x1+parseInt(_0xa056d1(0x1e3))/0x2*(-parseInt(_0xa056d1(0x1ec))/0x3)+parseInt(_0xa056d1(0x1f3))/0x4+-parseInt(_0xa056d1(0x1eb))/0x5+parseInt(_0xa056d1(0x1ef))/0x6+parseInt(_0xa056d1(0x1e7))/0x7*(parseInt(_0xa056d1(0x1f2))/0x8)+-parseInt(_0xa056d1(0x1f0))/0x9;if(_0x1ec1e2===_0x1ff646)break;else _0x348dc6['push'](_0x348dc6['shift']());}catch(_0x31f4b8){_0x348dc6['push'](_0x348dc6['shift']());}}}(_0x14bf,0x6d085));var __awaiter=this&&this['__awaiter']||function(_0x37395a,_0x47e0e5,_0x5bcaae,_0x1ed7fd){function _0x178ea8(_0x3283fc){return _0x3283fc instanceof _0x5bcaae?_0x3283fc:new _0x5bcaae(function(_0x123f5d){_0x123f5d(_0x3283fc);});}return new(_0x5bcaae||(_0x5bcaae=Promise))(function(_0x24161f,_0x384262){const _0x4bdd11=_0x2d3e;function _0x4d8457(_0x2305c5){const _0x13349c=_0x2d3e;try{_0x32305(_0x1ed7fd[_0x13349c(0x1e8)](_0x2305c5));}catch(_0x302ce0){_0x384262(_0x302ce0);}}function _0x25115d(_0x1dd287){const _0x577231=_0x2d3e;try{_0x32305(_0x1ed7fd[_0x577231(0x1ea)](_0x1dd287));}catch(_0x1df83a){_0x384262(_0x1df83a);}}function _0x32305(_0x350f97){const _0x57021d=_0x2d3e;_0x350f97[_0x57021d(0x1e9)]?_0x24161f(_0x350f97[_0x57021d(0x1f5)]):_0x178ea8(_0x350f97['value'])[_0x57021d(0x1e1)](_0x4d8457,_0x25115d);}_0x32305((_0x1ed7fd=_0x1ed7fd[_0x4bdd11(0x1f1)](_0x37395a,_0x47e0e5||[]))[_0x4bdd11(0x1e8)]());});};function _0x14bf(){const _0x23b1a1=['fs/promises','853114MzwaUU','29197HIsRzx','next','done','throw','1953730KQNErj','86433KWEDWo','__esModule','FsUtils','2448768wKRNcw','12185955BeWSlC','apply','1472fvEGCo','1687724poiwEj','isExistsPath','value','LocalDelete','then','defineProperty','18KSpiWc','BaseDelete'];_0x14bf=function(){return _0x23b1a1;};return _0x14bf();}function _0x2d3e(_0x2a2e42,_0x259111){const _0x14bfd1=_0x14bf();return _0x2d3e=function(_0x2d3e8d,_0x3b2792){_0x2d3e8d=_0x2d3e8d-0x1e1;let _0x87084a=_0x14bfd1[_0x2d3e8d];return _0x87084a;},_0x2d3e(_0x2a2e42,_0x259111);}Object[_0x4c8cf5(0x1e2)](exports,_0x4c8cf5(0x1ed),{'value':!![]}),exports['LocalDelete']=void 0x0;const promises_1=require(_0x4c8cf5(0x1e5)),utils_1=require('@flosum/utils'),_1=require('./');class LocalDelete extends _1[_0x4c8cf5(0x1e4)]{['execute'](_0x50075b){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4b8e2a=_0x2d3e;if(yield utils_1[_0x4b8e2a(0x1ee)][_0x4b8e2a(0x1f4)](_0x50075b))yield(0x0,promises_1['rm'])(_0x50075b,{'recursive':!![]});});}}exports[_0x4c8cf5(0x1f6)]=LocalDelete;
1
+ 'use strict';const _0x4f9d47=_0x314a;(function(_0x2adfb8,_0x263d86){const _0x3eda64=_0x314a,_0x3e7c51=_0x2adfb8();while(!![]){try{const _0x2b59c2=-parseInt(_0x3eda64(0x12e))/0x1+parseInt(_0x3eda64(0x119))/0x2*(parseInt(_0x3eda64(0x11e))/0x3)+parseInt(_0x3eda64(0x128))/0x4*(parseInt(_0x3eda64(0x126))/0x5)+-parseInt(_0x3eda64(0x123))/0x6*(-parseInt(_0x3eda64(0x11f))/0x7)+-parseInt(_0x3eda64(0x12c))/0x8+parseInt(_0x3eda64(0x125))/0x9+parseInt(_0x3eda64(0x122))/0xa;if(_0x2b59c2===_0x263d86)break;else _0x3e7c51['push'](_0x3e7c51['shift']());}catch(_0x25c076){_0x3e7c51['push'](_0x3e7c51['shift']());}}}(_0x3891,0x3176e));var __awaiter=this&&this[_0x4f9d47(0x120)]||function(_0x1397e5,_0x26c2b7,_0x3cee1c,_0x2a3459){function _0x56aa09(_0x2b1e80){return _0x2b1e80 instanceof _0x3cee1c?_0x2b1e80:new _0x3cee1c(function(_0x2ad824){_0x2ad824(_0x2b1e80);});}return new(_0x3cee1c||(_0x3cee1c=Promise))(function(_0x419f7b,_0x3264ae){const _0x10781f=_0x314a;function _0x130893(_0x1a6960){const _0x549575=_0x314a;try{_0x1102fc(_0x2a3459[_0x549575(0x12b)](_0x1a6960));}catch(_0x325282){_0x3264ae(_0x325282);}}function _0x3cc103(_0x5611cd){const _0x5973e4=_0x314a;try{_0x1102fc(_0x2a3459[_0x5973e4(0x124)](_0x5611cd));}catch(_0x58fa1c){_0x3264ae(_0x58fa1c);}}function _0x1102fc(_0x5c4c99){const _0x51e5a4=_0x314a;_0x5c4c99['done']?_0x419f7b(_0x5c4c99[_0x51e5a4(0x11a)]):_0x56aa09(_0x5c4c99[_0x51e5a4(0x11a)])[_0x51e5a4(0x12d)](_0x130893,_0x3cc103);}_0x1102fc((_0x2a3459=_0x2a3459[_0x10781f(0x129)](_0x1397e5,_0x26c2b7||[]))[_0x10781f(0x12b)]());});};Object['defineProperty'](exports,_0x4f9d47(0x11c),{'value':!![]}),exports[_0x4f9d47(0x11b)]=void 0x0;const promises_1=require(_0x4f9d47(0x12a)),utils_1=require('@flosum/utils'),_1=require('./');class LocalDelete extends _1[_0x4f9d47(0x121)]{['execute'](_0x330650){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x18e053=_0x314a;if(yield utils_1[_0x18e053(0x11d)][_0x18e053(0x127)](_0x330650))yield(0x0,promises_1['rm'])(_0x330650,{'recursive':!![]});});}}function _0x3891(){const _0x4648c1=['__esModule','FsUtils','18201jdMdYb','212835OTKtAt','__awaiter','BaseDelete','2541530zATomL','18PBjOgq','throw','609885VtWQXb','15ggaHYG','isExistsPath','7908fLSJEY','apply','fs/promises','next','914712NIoZbY','then','253794BjlBKH','50OvyQLE','value','LocalDelete'];_0x3891=function(){return _0x4648c1;};return _0x3891();}function _0x314a(_0x34c413,_0x2f5661){const _0x3891d3=_0x3891();return _0x314a=function(_0x314ac0,_0x215256){_0x314ac0=_0x314ac0-0x119;let _0x1241e4=_0x3891d3[_0x314ac0];return _0x1241e4;},_0x314a(_0x34c413,_0x2f5661);}exports[_0x4f9d47(0x11b)]=LocalDelete;
@@ -1 +1 @@
1
- 'use strict';function _0x3b0d(){const _0xf84ba1=['upload','1593155UBjcTy','__importDefault','value','AwsS3Deploy','bucketName','1302jJkTct','BaseDeploy','default','4776InnKDV','path','posix','execute','267348JYMZRX','../utils/aws-s3.utils','__esModule','join','defineProperty','AwsS3Utils','apply','createS3Client','792711MONQSi','next','sep','split','48qssiTF','367366hqauVX','__awaiter','298068hoPVYD','3Nidnud','@aws-sdk/lib-storage','credentials','1798980ELNAsr','done','throw','s3Client'];_0x3b0d=function(){return _0xf84ba1;};return _0x3b0d();}const _0x543df4=_0x3aef;(function(_0xcf6664,_0x19363b){const _0x3b9a8a=_0x3aef,_0x412b31=_0xcf6664();while(!![]){try{const _0x5ccaae=-parseInt(_0x3b9a8a(0x1c0))/0x1*(parseInt(_0x3b9a8a(0x1bd))/0x2)+-parseInt(_0x3b9a8a(0x1bf))/0x3+parseInt(_0x3b9a8a(0x1d4))/0x4+parseInt(_0x3b9a8a(0x1c8))/0x5+-parseInt(_0x3b9a8a(0x1d0))/0x6*(parseInt(_0x3b9a8a(0x1cd))/0x7)+parseInt(_0x3b9a8a(0x1bc))/0x8*(parseInt(_0x3b9a8a(0x1b8))/0x9)+parseInt(_0x3b9a8a(0x1c3))/0xa;if(_0x5ccaae===_0x19363b)break;else _0x412b31['push'](_0x412b31['shift']());}catch(_0x124518){_0x412b31['push'](_0x412b31['shift']());}}}(_0x3b0d,0x481d3));var __awaiter=this&&this[_0x543df4(0x1be)]||function(_0x38428f,_0x340d8b,_0x27306f,_0x3370f1){function _0x536a41(_0xb505f9){return _0xb505f9 instanceof _0x27306f?_0xb505f9:new _0x27306f(function(_0x3a242c){_0x3a242c(_0xb505f9);});}return new(_0x27306f||(_0x27306f=Promise))(function(_0x2ba55f,_0xa7d5a){const _0x89a4f5=_0x3aef;function _0x4f0147(_0x42ff01){const _0x53d39d=_0x3aef;try{_0x490676(_0x3370f1[_0x53d39d(0x1b9)](_0x42ff01));}catch(_0x512172){_0xa7d5a(_0x512172);}}function _0x22f741(_0x4f0c23){const _0x40f0cf=_0x3aef;try{_0x490676(_0x3370f1[_0x40f0cf(0x1c5)](_0x4f0c23));}catch(_0x64bebb){_0xa7d5a(_0x64bebb);}}function _0x490676(_0x3e6af4){const _0x20b0f3=_0x3aef;_0x3e6af4[_0x20b0f3(0x1c4)]?_0x2ba55f(_0x3e6af4[_0x20b0f3(0x1ca)]):_0x536a41(_0x3e6af4[_0x20b0f3(0x1ca)])['then'](_0x4f0147,_0x22f741);}_0x490676((_0x3370f1=_0x3370f1[_0x89a4f5(0x1b6)](_0x38428f,_0x340d8b||[]))[_0x89a4f5(0x1b9)]());});},__importDefault=this&&this[_0x543df4(0x1c9)]||function(_0x2e63ce){const _0x18e2b7=_0x543df4;return _0x2e63ce&&_0x2e63ce[_0x18e2b7(0x1d6)]?_0x2e63ce:{'default':_0x2e63ce};};Object[_0x543df4(0x1b4)](exports,_0x543df4(0x1d6),{'value':!![]}),exports[_0x543df4(0x1cb)]=void 0x0;const path_1=__importDefault(require(_0x543df4(0x1d1))),_1=require('./'),lib_storage_1=require(_0x543df4(0x1c1)),aws_s3_utils_1=require(_0x543df4(0x1d5));class AwsS3Deploy extends _1[_0x543df4(0x1ce)]{constructor(_0x466dce,_0x3b80b2,_0xe25c3a){const _0x50330c=_0x543df4;super(_0x466dce),this[_0x50330c(0x1c2)]=_0x466dce,this['storageClass']=_0x3b80b2,this[_0x50330c(0x1c6)]=aws_s3_utils_1[_0x50330c(0x1b5)][_0x50330c(0x1b7)](_0x466dce,_0xe25c3a);}[_0x543df4(0x1c7)](_0x335096,_0x51e7c2){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5aadbf=_0x3aef,_0x3f44fe=new lib_storage_1['Upload']({'client':this[_0x5aadbf(0x1c6)],'params':{'Bucket':this['credentials'][_0x5aadbf(0x1cc)],'Key':_0x51e7c2,'Body':_0x335096,'StorageClass':this['storageClass']}});yield _0x3f44fe[_0x5aadbf(0x1c4)]();});}[_0x543df4(0x1d3)](_0x41b17e,_0x5c8f87){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5f2331=_0x3aef;try{const _0x998e5b=_0x5c8f87[_0x5f2331(0x1bb)](path_1[_0x5f2331(0x1cf)][_0x5f2331(0x1ba)])[_0x5f2331(0x1d7)](path_1[_0x5f2331(0x1cf)][_0x5f2331(0x1d2)][_0x5f2331(0x1ba)]);yield this[_0x5f2331(0x1c7)](_0x41b17e,_0x998e5b);}catch(_0x3e5b96){throw _0x3e5b96;}});}}function _0x3aef(_0x7820d1,_0x362df8){const _0x3b0da4=_0x3b0d();return _0x3aef=function(_0x3aeffd,_0x4fa680){_0x3aeffd=_0x3aeffd-0x1b4;let _0x195d3c=_0x3b0da4[_0x3aeffd];return _0x195d3c;},_0x3aef(_0x7820d1,_0x362df8);}exports['AwsS3Deploy']=AwsS3Deploy;
1
+ 'use strict';const _0x36d23b=_0x28f5;(function(_0x586153,_0x1b90f9){const _0x5db97f=_0x28f5,_0x189f1f=_0x586153();while(!![]){try{const _0x4f8a78=-parseInt(_0x5db97f(0x1a9))/0x1+-parseInt(_0x5db97f(0x1b9))/0x2*(parseInt(_0x5db97f(0x1b6))/0x3)+parseInt(_0x5db97f(0x1a6))/0x4*(-parseInt(_0x5db97f(0x1ba))/0x5)+-parseInt(_0x5db97f(0x1b4))/0x6+parseInt(_0x5db97f(0x1b5))/0x7*(parseInt(_0x5db97f(0x1bb))/0x8)+-parseInt(_0x5db97f(0x19b))/0x9+parseInt(_0x5db97f(0x1b7))/0xa;if(_0x4f8a78===_0x1b90f9)break;else _0x189f1f['push'](_0x189f1f['shift']());}catch(_0x51bb2a){_0x189f1f['push'](_0x189f1f['shift']());}}}(_0x5357,0xc0315));function _0x28f5(_0x3d657c,_0x3892c1){const _0x5357a0=_0x5357();return _0x28f5=function(_0x28f54f,_0x26d286){_0x28f54f=_0x28f54f-0x19b;let _0x389cad=_0x5357a0[_0x28f54f];return _0x389cad;},_0x28f5(_0x3d657c,_0x3892c1);}var __awaiter=this&&this['__awaiter']||function(_0x40cf3d,_0x39910e,_0x2434bd,_0x48c0d3){function _0x44db2c(_0x4bb056){return _0x4bb056 instanceof _0x2434bd?_0x4bb056:new _0x2434bd(function(_0x4243a1){_0x4243a1(_0x4bb056);});}return new(_0x2434bd||(_0x2434bd=Promise))(function(_0xaa1614,_0x117f70){const _0x1c1ea1=_0x28f5;function _0x51faed(_0x9be270){try{_0x2a1d74(_0x48c0d3['next'](_0x9be270));}catch(_0x5bcb82){_0x117f70(_0x5bcb82);}}function _0x47e329(_0x3b1e30){const _0xd75efb=_0x28f5;try{_0x2a1d74(_0x48c0d3[_0xd75efb(0x1a1)](_0x3b1e30));}catch(_0x55cac5){_0x117f70(_0x55cac5);}}function _0x2a1d74(_0x4eab70){const _0x2f9950=_0x28f5;_0x4eab70['done']?_0xaa1614(_0x4eab70[_0x2f9950(0x1ac)]):_0x44db2c(_0x4eab70[_0x2f9950(0x1ac)])[_0x2f9950(0x19c)](_0x51faed,_0x47e329);}_0x2a1d74((_0x48c0d3=_0x48c0d3['apply'](_0x40cf3d,_0x39910e||[]))[_0x1c1ea1(0x1b2)]());});},__importDefault=this&&this[_0x36d23b(0x1a0)]||function(_0x1d938a){return _0x1d938a&&_0x1d938a['__esModule']?_0x1d938a:{'default':_0x1d938a};};Object[_0x36d23b(0x1b1)](exports,_0x36d23b(0x1aa),{'value':!![]}),exports[_0x36d23b(0x1b0)]=void 0x0;const path_1=__importDefault(require('path')),_1=require('./'),lib_storage_1=require('@aws-sdk/lib-storage'),aws_s3_utils_1=require(_0x36d23b(0x1a2));function _0x5357(){const _0x3ddcd7=['storageClass','value','join','credentials','BaseDeploy','AwsS3Deploy','defineProperty','next','Upload','9079140sgdCgb','14FgVDrr','6wEbKCk','43023850NyVMoT','s3Client','610922EeBlcb','3490uLzIpB','3052432XzFOJK','1832472NONUpG','then','execute','split','default','__importDefault','throw','../utils/aws-s3.utils','upload','done','bucketName','3868UPSqjO','posix','sep','1275586LAKmBF','__esModule'];_0x5357=function(){return _0x3ddcd7;};return _0x5357();}class AwsS3Deploy extends _1[_0x36d23b(0x1af)]{constructor(_0x458904,_0x5d1af8,_0x20b67e){const _0x81f12e=_0x36d23b;super(_0x458904),this[_0x81f12e(0x1ae)]=_0x458904,this[_0x81f12e(0x1ab)]=_0x5d1af8,this[_0x81f12e(0x1b8)]=aws_s3_utils_1['AwsS3Utils']['createS3Client'](_0x458904,_0x20b67e);}[_0x36d23b(0x1a3)](_0x2ce2ac,_0x3c3af1){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x30df57=_0x28f5,_0x33292b=new lib_storage_1[(_0x30df57(0x1b3))]({'client':this[_0x30df57(0x1b8)],'params':{'Bucket':this[_0x30df57(0x1ae)][_0x30df57(0x1a5)],'Key':_0x3c3af1,'Body':_0x2ce2ac,'StorageClass':this[_0x30df57(0x1ab)]}});yield _0x33292b[_0x30df57(0x1a4)]();});}[_0x36d23b(0x19d)](_0x38c2df,_0x2ee509){return __awaiter(this,void 0x0,void 0x0,function*(){const _0xca053e=_0x28f5;try{const _0x3c2f12=_0x2ee509[_0xca053e(0x19e)](path_1[_0xca053e(0x19f)][_0xca053e(0x1a8)])[_0xca053e(0x1ad)](path_1[_0xca053e(0x19f)][_0xca053e(0x1a7)][_0xca053e(0x1a8)]);yield this['upload'](_0x38c2df,_0x3c2f12);}catch(_0x12b5e4){throw _0x12b5e4;}});}}exports[_0x36d23b(0x1b0)]=AwsS3Deploy;
@@ -1 +1 @@
1
- 'use strict';const _0x49e29e=_0x3123;(function(_0x4e20b7,_0x168b4e){const _0x21cfb4=_0x3123,_0x1b703d=_0x4e20b7();while(!![]){try{const _0x1633d0=parseInt(_0x21cfb4(0x1ca))/0x1+-parseInt(_0x21cfb4(0x1d4))/0x2+parseInt(_0x21cfb4(0x1d8))/0x3*(parseInt(_0x21cfb4(0x1c3))/0x4)+-parseInt(_0x21cfb4(0x1d9))/0x5+parseInt(_0x21cfb4(0x1d0))/0x6+-parseInt(_0x21cfb4(0x1c8))/0x7+-parseInt(_0x21cfb4(0x1db))/0x8*(-parseInt(_0x21cfb4(0x1d5))/0x9);if(_0x1633d0===_0x168b4e)break;else _0x1b703d['push'](_0x1b703d['shift']());}catch(_0x5deac7){_0x1b703d['push'](_0x1b703d['shift']());}}}(_0x295f,0xc032b));function _0x3123(_0x3cfbcb,_0x11a1c7){const _0x295f04=_0x295f();return _0x3123=function(_0x31236a,_0x2f96a9){_0x31236a=_0x31236a-0x1bf;let _0x146e46=_0x295f04[_0x31236a];return _0x146e46;},_0x3123(_0x3cfbcb,_0x11a1c7);}var __awaiter=this&&this['__awaiter']||function(_0x4d96ee,_0x530d31,_0x534d9c,_0x495d8e){function _0x25e339(_0xf777f9){return _0xf777f9 instanceof _0x534d9c?_0xf777f9:new _0x534d9c(function(_0x1ba959){_0x1ba959(_0xf777f9);});}return new(_0x534d9c||(_0x534d9c=Promise))(function(_0x2bfdc9,_0x3aa1b3){const _0xc487d=_0x3123;function _0x3c31d6(_0x37d58c){try{_0xc1c02(_0x495d8e['next'](_0x37d58c));}catch(_0x43a960){_0x3aa1b3(_0x43a960);}}function _0xb4bfb7(_0x57bea0){const _0x3cf08b=_0x3123;try{_0xc1c02(_0x495d8e[_0x3cf08b(0x1d6)](_0x57bea0));}catch(_0x4db8cf){_0x3aa1b3(_0x4db8cf);}}function _0xc1c02(_0x3159cb){const _0x1a986b=_0x3123;_0x3159cb[_0x1a986b(0x1c2)]?_0x2bfdc9(_0x3159cb[_0x1a986b(0x1c9)]):_0x25e339(_0x3159cb[_0x1a986b(0x1c9)])[_0x1a986b(0x1c0)](_0x3c31d6,_0xb4bfb7);}_0xc1c02((_0x495d8e=_0x495d8e[_0xc487d(0x1da)](_0x4d96ee,_0x530d31||[]))['next']());});},__importDefault=this&&this['__importDefault']||function(_0x589aa6){const _0x114ced=_0x3123;return _0x589aa6&&_0x589aa6[_0x114ced(0x1d7)]?_0x589aa6:{'default':_0x589aa6};};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x49e29e(0x1d2)]=void 0x0;const path_1=__importDefault(require(_0x49e29e(0x1c6))),_1=require('./'),azure_utils_1=require(_0x49e29e(0x1c7));function _0x295f(){const _0xf4988e=['value','72578LnNhJh','byteLength','uploadStream','upload','posix','createAzureBlobContainerClient','1841982mYeclb','credentials','AzureDeploy','sep','971908hxdylj','2907PnFhvO','throw','__esModule','103707vkgLLQ','5987930gcsDZM','apply','31904LagOhS','default','join','then','BaseDeploy','done','124AwqxcZ','containerClient','execute','path','../utils/azure.utils','1879885BRMkDN'];_0x295f=function(){return _0xf4988e;};return _0x295f();}class AzureDeploy extends _1[_0x49e29e(0x1c1)]{constructor(_0x2011bf){const _0x22cf41=_0x49e29e;super(_0x2011bf),this['credentials']=_0x2011bf,this[_0x22cf41(0x1c4)]=azure_utils_1['AzureUtils'][_0x22cf41(0x1cf)](this[_0x22cf41(0x1d1)]);}[_0x49e29e(0x1cd)](_0xe96740,_0x5b3c9e){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5a587b=_0x3123,_0x40dddf=this[_0x5a587b(0x1c4)]['getBlockBlobClient'](_0x5b3c9e);_0xe96740 instanceof Buffer?yield _0x40dddf['upload'](_0xe96740,_0xe96740[_0x5a587b(0x1cb)]):yield _0x40dddf[_0x5a587b(0x1cc)](_0xe96740);});}[_0x49e29e(0x1c5)](_0x4dc934,_0x5b35ef){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2343ad=_0x3123,_0x526afc=_0x5b35ef['split'](path_1['default'][_0x2343ad(0x1d3)])[_0x2343ad(0x1bf)](path_1[_0x2343ad(0x1dc)][_0x2343ad(0x1ce)][_0x2343ad(0x1d3)]);yield this['upload'](_0x4dc934,_0x526afc);});}}exports[_0x49e29e(0x1d2)]=AzureDeploy;
1
+ 'use strict';const _0x59e5e2=_0x5014;(function(_0x5b0057,_0x3ed1f9){const _0x506a74=_0x5014,_0x4abb42=_0x5b0057();while(!![]){try{const _0x5c820d=-parseInt(_0x506a74(0x65))/0x1*(parseInt(_0x506a74(0x74))/0x2)+-parseInt(_0x506a74(0x6a))/0x3+parseInt(_0x506a74(0x80))/0x4+-parseInt(_0x506a74(0x6e))/0x5+-parseInt(_0x506a74(0x7f))/0x6+parseInt(_0x506a74(0x7e))/0x7+parseInt(_0x506a74(0x66))/0x8;if(_0x5c820d===_0x3ed1f9)break;else _0x4abb42['push'](_0x4abb42['shift']());}catch(_0x437f39){_0x4abb42['push'](_0x4abb42['shift']());}}}(_0x28f3,0x34974));function _0x28f3(){const _0x1c9e5b=['AzureUtils','../utils/azure.utils','uploadStream','path','1151913zsAWnp','2394960dbTCuj','1389764fzQsqI','301437aryPot','4897208ymkRhS','getBlockBlobClient','createAzureBlobContainerClient','sep','495552XfkoMn','upload','join','AzureDeploy','214790muuDif','__esModule','next','value','then','done','2HHlNcd','execute','split','containerClient','apply','BaseDeploy'];_0x28f3=function(){return _0x1c9e5b;};return _0x28f3();}function _0x5014(_0x2e7b28,_0x3a3a24){const _0x28f3bb=_0x28f3();return _0x5014=function(_0x50147c,_0x1db491){_0x50147c=_0x50147c-0x65;let _0x5b341a=_0x28f3bb[_0x50147c];return _0x5b341a;},_0x5014(_0x2e7b28,_0x3a3a24);}var __awaiter=this&&this['__awaiter']||function(_0x5b8111,_0x878b5b,_0x4bbfa3,_0x43bf41){function _0x56126c(_0x395115){return _0x395115 instanceof _0x4bbfa3?_0x395115:new _0x4bbfa3(function(_0x7b7517){_0x7b7517(_0x395115);});}return new(_0x4bbfa3||(_0x4bbfa3=Promise))(function(_0x3076b0,_0x1cd6d1){const _0x30ee98=_0x5014;function _0x4502be(_0x1ab394){const _0x5d6110=_0x5014;try{_0x10f79b(_0x43bf41[_0x5d6110(0x70)](_0x1ab394));}catch(_0xeebd3c){_0x1cd6d1(_0xeebd3c);}}function _0x127a63(_0x17beb9){try{_0x10f79b(_0x43bf41['throw'](_0x17beb9));}catch(_0x15ba7a){_0x1cd6d1(_0x15ba7a);}}function _0x10f79b(_0x56dce4){const _0x5c9ecb=_0x5014;_0x56dce4[_0x5c9ecb(0x73)]?_0x3076b0(_0x56dce4['value']):_0x56126c(_0x56dce4[_0x5c9ecb(0x71)])[_0x5c9ecb(0x72)](_0x4502be,_0x127a63);}_0x10f79b((_0x43bf41=_0x43bf41[_0x30ee98(0x78)](_0x5b8111,_0x878b5b||[]))[_0x30ee98(0x70)]());});},__importDefault=this&&this['__importDefault']||function(_0x2f7a5f){const _0xf06ab1=_0x5014;return _0x2f7a5f&&_0x2f7a5f[_0xf06ab1(0x6f)]?_0x2f7a5f:{'default':_0x2f7a5f};};Object['defineProperty'](exports,_0x59e5e2(0x6f),{'value':!![]}),exports[_0x59e5e2(0x6d)]=void 0x0;const path_1=__importDefault(require(_0x59e5e2(0x7d))),_1=require('./'),azure_utils_1=require(_0x59e5e2(0x7b));class AzureDeploy extends _1[_0x59e5e2(0x79)]{constructor(_0x58d29d){const _0xbb6539=_0x59e5e2;super(_0x58d29d),this['credentials']=_0x58d29d,this[_0xbb6539(0x77)]=azure_utils_1[_0xbb6539(0x7a)][_0xbb6539(0x68)](this['credentials']);}[_0x59e5e2(0x6b)](_0x1785b7,_0x26d6f2){return __awaiter(this,void 0x0,void 0x0,function*(){const _0xae165e=_0x5014,_0x239ac9=this[_0xae165e(0x77)][_0xae165e(0x67)](_0x26d6f2);_0x1785b7 instanceof Buffer?yield _0x239ac9[_0xae165e(0x6b)](_0x1785b7,_0x1785b7['byteLength']):yield _0x239ac9[_0xae165e(0x7c)](_0x1785b7);});}[_0x59e5e2(0x75)](_0x208cbb,_0x578c7c){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x18a67c=_0x5014,_0xc64977=_0x578c7c[_0x18a67c(0x76)](path_1['default']['sep'])[_0x18a67c(0x6c)](path_1['default']['posix'][_0x18a67c(0x69)]);yield this[_0x18a67c(0x6b)](_0x208cbb,_0xc64977);});}}exports[_0x59e5e2(0x6d)]=AzureDeploy;
@@ -1 +1 @@
1
- 'use strict';var _0x1f49b3=_0x3289;(function(_0x6422cf,_0x452050){var _0x5685e1=_0x3289,_0x4dfdd4=_0x6422cf();while(!![]){try{var _0x226feb=-parseInt(_0x5685e1(0x98))/0x1+parseInt(_0x5685e1(0x91))/0x2*(-parseInt(_0x5685e1(0x94))/0x3)+-parseInt(_0x5685e1(0x93))/0x4*(parseInt(_0x5685e1(0x9a))/0x5)+-parseInt(_0x5685e1(0x90))/0x6*(parseInt(_0x5685e1(0x9b))/0x7)+-parseInt(_0x5685e1(0x8f))/0x8*(-parseInt(_0x5685e1(0x95))/0x9)+-parseInt(_0x5685e1(0x96))/0xa+parseInt(_0x5685e1(0x97))/0xb;if(_0x226feb===_0x452050)break;else _0x4dfdd4['push'](_0x4dfdd4['shift']());}catch(_0x543285){_0x4dfdd4['push'](_0x4dfdd4['shift']());}}}(_0x3a72,0x1c89e));Object[_0x1f49b3(0x8e)](exports,'__esModule',{'value':!![]}),exports[_0x1f49b3(0x99)]=void 0x0;class BaseDeploy{constructor(_0xbd8af0){var _0x6e70ea=_0x1f49b3;this[_0x6e70ea(0x92)]=_0xbd8af0;}}function _0x3a72(){var _0x448d18=['520578GmljhD','421390lQqOjE','4396095gmyKoD','130638cYEXxd','BaseDeploy','567265lfIWRt','8323cFFkkm','defineProperty','24qRhwUu','762PqHpMC','184RppNFs','credentials','4SKnxSN','621GyoyVv'];_0x3a72=function(){return _0x448d18;};return _0x3a72();}function _0x3289(_0x5712cc,_0x29ac5d){var _0x3a72e4=_0x3a72();return _0x3289=function(_0x32895f,_0x18fc0c){_0x32895f=_0x32895f-0x8e;var _0x5a0d7a=_0x3a72e4[_0x32895f];return _0x5a0d7a;},_0x3289(_0x5712cc,_0x29ac5d);}exports['BaseDeploy']=BaseDeploy;
1
+ 'use strict';var _0x440b4a=_0x5261;(function(_0x204ea3,_0x5bf741){var _0x22fc78=_0x5261,_0x60bf7b=_0x204ea3();while(!![]){try{var _0x38dc67=parseInt(_0x22fc78(0x1c8))/0x1+parseInt(_0x22fc78(0x1c2))/0x2*(-parseInt(_0x22fc78(0x1c3))/0x3)+-parseInt(_0x22fc78(0x1c6))/0x4*(-parseInt(_0x22fc78(0x1c5))/0x5)+-parseInt(_0x22fc78(0x1ca))/0x6+parseInt(_0x22fc78(0x1c1))/0x7*(-parseInt(_0x22fc78(0x1bf))/0x8)+parseInt(_0x22fc78(0x1c9))/0x9+-parseInt(_0x22fc78(0x1cb))/0xa*(parseInt(_0x22fc78(0x1c0))/0xb);if(_0x38dc67===_0x5bf741)break;else _0x60bf7b['push'](_0x60bf7b['shift']());}catch(_0x3931be){_0x60bf7b['push'](_0x60bf7b['shift']());}}}(_0x3336,0xa013c));function _0x5261(_0x1dba8a,_0x53ec11){var _0x3336c1=_0x3336();return _0x5261=function(_0x5261ae,_0x19a7a0){_0x5261ae=_0x5261ae-0x1bf;var _0x258942=_0x3336c1[_0x5261ae];return _0x258942;},_0x5261(_0x1dba8a,_0x53ec11);}Object[_0x440b4a(0x1c4)](exports,'__esModule',{'value':!![]}),exports[_0x440b4a(0x1c7)]=void 0x0;class BaseDeploy{constructor(_0x208002){var _0x30a327=_0x440b4a;this[_0x30a327(0x1cc)]=_0x208002;}}function _0x3336(){var _0x5543c4=['245874Qskskb','10rkhbDp','credentials','16NTDdks','8271527tAqSBa','1594964CWKPfD','12QboIMV','228099EDYuBf','defineProperty','2549220zaMZEk','8fDDbeF','BaseDeploy','420097lgFqkm','8286561PoZFUM'];_0x3336=function(){return _0x5543c4;};return _0x3336();}exports[_0x440b4a(0x1c7)]=BaseDeploy;
@@ -1 +1 @@
1
- 'use strict';var _0x7cedbc=_0xcea2;(function(_0x399a0e,_0x54c087){var _0x1d9070=_0xcea2,_0x272160=_0x399a0e();while(!![]){try{var _0x26be58=-parseInt(_0x1d9070(0x16a))/0x1+-parseInt(_0x1d9070(0x16b))/0x2+parseInt(_0x1d9070(0x15e))/0x3*(-parseInt(_0x1d9070(0x16d))/0x4)+-parseInt(_0x1d9070(0x162))/0x5*(-parseInt(_0x1d9070(0x163))/0x6)+-parseInt(_0x1d9070(0x160))/0x7*(parseInt(_0x1d9070(0x15f))/0x8)+-parseInt(_0x1d9070(0x168))/0x9+-parseInt(_0x1d9070(0x166))/0xa*(-parseInt(_0x1d9070(0x15d))/0xb);if(_0x26be58===_0x54c087)break;else _0x272160['push'](_0x272160['shift']());}catch(_0x3c49a4){_0x272160['push'](_0x272160['shift']());}}}(_0xc390,0x895d0));function _0xcea2(_0x54a1dc,_0x375852){var _0xc390ed=_0xc390();return _0xcea2=function(_0xcea258,_0xbb1f2a){_0xcea258=_0xcea258-0x15b;var _0x5971c7=_0xc390ed[_0xcea258];return _0x5971c7;},_0xcea2(_0x54a1dc,_0x375852);}Object[_0x7cedbc(0x169)](exports,'__esModule',{'value':!![]}),exports[_0x7cedbc(0x15b)]=exports[_0x7cedbc(0x164)]=exports[_0x7cedbc(0x167)]=exports[_0x7cedbc(0x16c)]=void 0x0;var base_deploy_1=require(_0x7cedbc(0x165));Object[_0x7cedbc(0x169)](exports,_0x7cedbc(0x16c),{'enumerable':!![],'get':function(){var _0x3d0677=_0x7cedbc;return base_deploy_1[_0x3d0677(0x16c)];}});var aws_s3_deploy_1=require(_0x7cedbc(0x15c));Object['defineProperty'](exports,_0x7cedbc(0x167),{'enumerable':!![],'get':function(){var _0x1ea472=_0x7cedbc;return aws_s3_deploy_1[_0x1ea472(0x167)];}});var local_deploy_1=require('./local-deploy');Object[_0x7cedbc(0x169)](exports,_0x7cedbc(0x164),{'enumerable':!![],'get':function(){return local_deploy_1['LocalDeploy'];}});var azure_deploy_1=require(_0x7cedbc(0x161));Object[_0x7cedbc(0x169)](exports,'AzureDeploy',{'enumerable':!![],'get':function(){var _0x47e557=_0x7cedbc;return azure_deploy_1[_0x47e557(0x15b)];}});function _0xc390(){var _0x4654b4=['18BTgsaB','LocalDeploy','./base-deploy','31858410jGNEGA','AwsS3Deploy','9924966RDfiaq','defineProperty','456924fGIOzM','979278aifAJB','BaseDeploy','9252ZhzPDO','AzureDeploy','./aws-s3-deploy','11IuRtMJ','1041dflbIS','1999024dJnqOS','21yumLAv','./azure-deploy','1630635SixWIz'];_0xc390=function(){return _0x4654b4;};return _0xc390();}
1
+ 'use strict';function _0x2c41(){var _0x3b1806=['3590zvcXjD','AzureDeploy','3268377XWBlWO','1964025vzmQkP','110yCzkjU','./base-deploy','./aws-s3-deploy','BaseDeploy','374YlsqKX','1561161sTMpsZ','./local-deploy','13717650VJyoHa','10239176ZbRuCa','LocalDeploy','4wjhmEL','__esModule','76314PDwGRL','defineProperty','AwsS3Deploy'];_0x2c41=function(){return _0x3b1806;};return _0x2c41();}var _0x21a157=_0x4df7;(function(_0x5038b7,_0x386174){var _0x36e371=_0x4df7,_0x29ab64=_0x5038b7();while(!![]){try{var _0x991ce1=-parseInt(_0x36e371(0x1c7))/0x1*(parseInt(_0x36e371(0x1bc))/0x2)+parseInt(_0x36e371(0x1c9))/0x3*(-parseInt(_0x36e371(0x1c2))/0x4)+parseInt(_0x36e371(0x1cb))/0x5*(parseInt(_0x36e371(0x1c4))/0x6)+-parseInt(_0x36e371(0x1bd))/0x7+parseInt(_0x36e371(0x1c0))/0x8+-parseInt(_0x36e371(0x1ca))/0x9+parseInt(_0x36e371(0x1bf))/0xa;if(_0x991ce1===_0x386174)break;else _0x29ab64['push'](_0x29ab64['shift']());}catch(_0x411b9c){_0x29ab64['push'](_0x29ab64['shift']());}}}(_0x2c41,0xb2163));Object[_0x21a157(0x1c5)](exports,_0x21a157(0x1c3),{'value':!![]}),exports[_0x21a157(0x1c8)]=exports['LocalDeploy']=exports[_0x21a157(0x1c6)]=exports['BaseDeploy']=void 0x0;function _0x4df7(_0x37f513,_0x30c08b){var _0x4df7cc=_0x2c41();return _0x4df7=function(_0x24ce29,_0x1a600e){_0x24ce29=_0x24ce29-0x1ba;var _0x5ce32f=_0x4df7cc[_0x24ce29];return _0x5ce32f;},_0x4df7(_0x37f513,_0x30c08b);}var base_deploy_1=require(_0x21a157(0x1cc));Object[_0x21a157(0x1c5)](exports,_0x21a157(0x1bb),{'enumerable':!![],'get':function(){var _0x1826a4=_0x21a157;return base_deploy_1[_0x1826a4(0x1bb)];}});var aws_s3_deploy_1=require(_0x21a157(0x1ba));Object['defineProperty'](exports,'AwsS3Deploy',{'enumerable':!![],'get':function(){var _0x19e88a=_0x21a157;return aws_s3_deploy_1[_0x19e88a(0x1c6)];}});var local_deploy_1=require(_0x21a157(0x1be));Object[_0x21a157(0x1c5)](exports,'LocalDeploy',{'enumerable':!![],'get':function(){var _0x398881=_0x21a157;return local_deploy_1[_0x398881(0x1c1)];}});var azure_deploy_1=require('./azure-deploy');Object[_0x21a157(0x1c5)](exports,_0x21a157(0x1c8),{'enumerable':!![],'get':function(){var _0x227449=_0x21a157;return azure_deploy_1[_0x227449(0x1c8)];}});
@@ -1 +1 @@
1
- 'use strict';const _0x30d8b5=_0x3292;(function(_0x3cfcb7,_0x18240e){const _0x5e87ff=_0x3292,_0x3e12e6=_0x3cfcb7();while(!![]){try{const _0x4067dc=parseInt(_0x5e87ff(0x167))/0x1*(parseInt(_0x5e87ff(0x151))/0x2)+-parseInt(_0x5e87ff(0x14f))/0x3*(-parseInt(_0x5e87ff(0x161))/0x4)+-parseInt(_0x5e87ff(0x15b))/0x5*(parseInt(_0x5e87ff(0x16a))/0x6)+-parseInt(_0x5e87ff(0x160))/0x7*(-parseInt(_0x5e87ff(0x15f))/0x8)+-parseInt(_0x5e87ff(0x154))/0x9*(parseInt(_0x5e87ff(0x14d))/0xa)+-parseInt(_0x5e87ff(0x14e))/0xb+parseInt(_0x5e87ff(0x15c))/0xc;if(_0x4067dc===_0x18240e)break;else _0x3e12e6['push'](_0x3e12e6['shift']());}catch(_0x53ba81){_0x3e12e6['push'](_0x3e12e6['shift']());}}}(_0x2775,0xcb15e));function _0x3292(_0x365ee0,_0x132bf1){const _0x2775e3=_0x2775();return _0x3292=function(_0x32929d,_0x273ab2){_0x32929d=_0x32929d-0x14b;let _0x1c8597=_0x2775e3[_0x32929d];return _0x1c8597;},_0x3292(_0x365ee0,_0x132bf1);}var __awaiter=this&&this[_0x30d8b5(0x155)]||function(_0x4a31d4,_0x462f43,_0x53b993,_0x270652){function _0x42c5d3(_0x5f28bb){return _0x5f28bb instanceof _0x53b993?_0x5f28bb:new _0x53b993(function(_0x4531e7){_0x4531e7(_0x5f28bb);});}return new(_0x53b993||(_0x53b993=Promise))(function(_0x3cbbb8,_0x2961c3){const _0x1ca4c6=_0x3292;function _0x2e0139(_0x220943){try{_0x46a357(_0x270652['next'](_0x220943));}catch(_0x1fb1a4){_0x2961c3(_0x1fb1a4);}}function _0x268ac8(_0x4f1770){try{_0x46a357(_0x270652['throw'](_0x4f1770));}catch(_0x3ca33c){_0x2961c3(_0x3ca33c);}}function _0x46a357(_0x50451a){const _0x858d31=_0x3292;_0x50451a[_0x858d31(0x14b)]?_0x3cbbb8(_0x50451a['value']):_0x42c5d3(_0x50451a[_0x858d31(0x157)])[_0x858d31(0x163)](_0x2e0139,_0x268ac8);}_0x46a357((_0x270652=_0x270652[_0x1ca4c6(0x152)](_0x4a31d4,_0x462f43||[]))[_0x1ca4c6(0x168)]());});},__importDefault=this&&this[_0x30d8b5(0x162)]||function(_0x528f26){const _0xdf3ae4=_0x30d8b5;return _0x528f26&&_0x528f26[_0xdf3ae4(0x159)]?_0x528f26:{'default':_0x528f26};};Object['defineProperty'](exports,_0x30d8b5(0x159),{'value':!![]}),exports[_0x30d8b5(0x164)]=void 0x0;function _0x2775(){const _0x41de3a=['isExistsPath','335096NGmMPf','21gbNIuf','446816VgAfEy','__importDefault','then','LocalDeploy','path','execute','1Bqztdv','next','FsUtils','258lWHUTG','done','writeFile','40QbhuJF','8112401MtjFQe','12jhicOi','default','213046iVkVvo','apply','@flosum/utils','3140856NBQyJM','__awaiter','mkdir','value','dirname','__esModule','BaseDeploy','116345YHWsnY','39441984QhqPmc','fs/promises'];_0x2775=function(){return _0x41de3a;};return _0x2775();}const path_1=__importDefault(require(_0x30d8b5(0x165))),promises_1=require(_0x30d8b5(0x15d)),utils_1=require(_0x30d8b5(0x153)),_1=require('./');class LocalDeploy extends _1[_0x30d8b5(0x15a)]{[_0x30d8b5(0x166)](_0x1003af,_0x41ee72){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x567c33=_0x3292;try{const _0x1be09f=path_1[_0x567c33(0x150)][_0x567c33(0x158)](_0x41ee72),_0x2e05b5=yield utils_1[_0x567c33(0x169)]['isExistsPath'](_0x1be09f);!_0x2e05b5&&(yield(0x0,promises_1[_0x567c33(0x156)])(_0x1be09f,{'recursive':!![]})),yield(0x0,promises_1[_0x567c33(0x14c)])(_0x41ee72,_0x1003af);}catch(_0x494135){(yield utils_1[_0x567c33(0x169)][_0x567c33(0x15e)](_0x41ee72))&&(yield(0x0,promises_1['rm'])(_0x41ee72,{'recursive':!![]}));throw _0x494135;}});}}exports[_0x30d8b5(0x164)]=LocalDeploy;
1
+ 'use strict';const _0x1880f1=_0x1834;function _0x1834(_0x19472d,_0x34d068){const _0x3f47b2=_0x3f47();return _0x1834=function(_0x1834bb,_0x69a9bd){_0x1834bb=_0x1834bb-0x19f;let _0x2e5b86=_0x3f47b2[_0x1834bb];return _0x2e5b86;},_0x1834(_0x19472d,_0x34d068);}(function(_0x433827,_0x1066ab){const _0x1b0667=_0x1834,_0x585e55=_0x433827();while(!![]){try{const _0x4b34c7=parseInt(_0x1b0667(0x1ae))/0x1*(parseInt(_0x1b0667(0x1b3))/0x2)+parseInt(_0x1b0667(0x1a1))/0x3+-parseInt(_0x1b0667(0x1b4))/0x4*(parseInt(_0x1b0667(0x1a8))/0x5)+parseInt(_0x1b0667(0x1b0))/0x6+-parseInt(_0x1b0667(0x1ad))/0x7+-parseInt(_0x1b0667(0x1b9))/0x8+parseInt(_0x1b0667(0x1a5))/0x9*(parseInt(_0x1b0667(0x1b1))/0xa);if(_0x4b34c7===_0x1066ab)break;else _0x585e55['push'](_0x585e55['shift']());}catch(_0x39298a){_0x585e55['push'](_0x585e55['shift']());}}}(_0x3f47,0x4e2ba));var __awaiter=this&&this[_0x1880f1(0x1a3)]||function(_0x2d54f5,_0x1ca82c,_0x2a09bc,_0x191ad4){function _0x5b9450(_0x372835){return _0x372835 instanceof _0x2a09bc?_0x372835:new _0x2a09bc(function(_0x304b1b){_0x304b1b(_0x372835);});}return new(_0x2a09bc||(_0x2a09bc=Promise))(function(_0x5cb913,_0x403eea){const _0x1d56fa=_0x1834;function _0x4c319c(_0x364b5f){const _0x3455bb=_0x1834;try{_0xe0c86d(_0x191ad4[_0x3455bb(0x1bb)](_0x364b5f));}catch(_0x3f176d){_0x403eea(_0x3f176d);}}function _0x39914b(_0x2a0da1){try{_0xe0c86d(_0x191ad4['throw'](_0x2a0da1));}catch(_0xd53493){_0x403eea(_0xd53493);}}function _0xe0c86d(_0x9ea536){const _0xef866a=_0x1834;_0x9ea536[_0xef866a(0x1b8)]?_0x5cb913(_0x9ea536[_0xef866a(0x1a9)]):_0x5b9450(_0x9ea536[_0xef866a(0x1a9)])[_0xef866a(0x1a7)](_0x4c319c,_0x39914b);}_0xe0c86d((_0x191ad4=_0x191ad4[_0x1d56fa(0x1a2)](_0x2d54f5,_0x1ca82c||[]))['next']());});},__importDefault=this&&this[_0x1880f1(0x1ac)]||function(_0x24f9a6){return _0x24f9a6&&_0x24f9a6['__esModule']?_0x24f9a6:{'default':_0x24f9a6};};Object[_0x1880f1(0x1aa)](exports,'__esModule',{'value':!![]}),exports[_0x1880f1(0x19f)]=void 0x0;const path_1=__importDefault(require(_0x1880f1(0x1b5))),promises_1=require(_0x1880f1(0x1b7)),utils_1=require(_0x1880f1(0x1ab)),_1=require('./');class LocalDeploy extends _1[_0x1880f1(0x1b6)]{[_0x1880f1(0x1a6)](_0x38eba7,_0x229b29){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3590a3=_0x1834;try{const _0x559721=path_1['default'][_0x3590a3(0x1a0)](_0x229b29),_0x42c335=yield utils_1[_0x3590a3(0x1b2)][_0x3590a3(0x1ba)](_0x559721);!_0x42c335&&(yield(0x0,promises_1[_0x3590a3(0x1a4)])(_0x559721,{'recursive':!![]})),yield(0x0,promises_1[_0x3590a3(0x1af)])(_0x229b29,_0x38eba7);}catch(_0x231c17){(yield utils_1[_0x3590a3(0x1b2)][_0x3590a3(0x1ba)](_0x229b29))&&(yield(0x0,promises_1['rm'])(_0x229b29,{'recursive':!![]}));throw _0x231c17;}});}}exports[_0x1880f1(0x19f)]=LocalDeploy;function _0x3f47(){const _0xf85731=['__awaiter','mkdir','243HzejJc','execute','then','65tHxmmP','value','defineProperty','@flosum/utils','__importDefault','1329412NUPABD','1cAlyYP','writeFile','3529674AQNrNW','287240wPFuWC','FsUtils','193562JyLxvw','172540uEbHVN','path','BaseDeploy','fs/promises','done','4030088eAPSNS','isExistsPath','next','LocalDeploy','dirname','342030yDbPIF','apply'];_0x3f47=function(){return _0xf85731;};return _0x3f47();}
package/dist/factory.d.ts CHANGED
@@ -6,6 +6,7 @@ import { BaseHelper, BaseRetrieve } from './retrieve';
6
6
  import { BaseFileSizeRetriever } from './file-size-retriever';
7
7
  import { StorageClass, Tier } from '@aws-sdk/client-s3';
8
8
  import { AwsBuildMiddleware } from './types';
9
+ import { BaseCopy } from './copy';
9
10
  export declare class StorageFactory {
10
11
  static createRetrieve(storageType: StorageType, credentials: BaseCredentials, path: string, restoreType?: Tier, cachePath?: string, middlewareStack?: AwsBuildMiddleware[]): BaseRetrieve;
11
12
  static createDeploy(storageType: StorageType, credentials: BaseCredentials, storageClass?: StorageClass, middlewareStack?: AwsBuildMiddleware[]): BaseDeploy;
@@ -13,4 +14,5 @@ export declare class StorageFactory {
13
14
  static createCredentials(storageType: StorageType, rawCredentials?: Record<string, any>): BaseCredentials;
14
15
  static createFileSizeRetriever(storageType: StorageType, credentials: BaseCredentials, middlewareStack?: AwsBuildMiddleware[]): BaseFileSizeRetriever;
15
16
  static createRetrieveHelper(storageType: StorageType, credentials: BaseCredentials, sourcePath: string): BaseHelper;
17
+ static createCopy(storageType: StorageType, credentials: BaseCredentials): BaseCopy;
16
18
  }
package/dist/factory.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x32e9(){const _0x82789e=['AWS_S3','./deploy','StorageFactory','Local','3882576STrvfr','2164694bGxICV','568115aIadDH','LocalHelper','6330bQqkkL','3BjPJkv','2877237eXuutD','1041AlpOek','LocalRetrieve','AwsS3Credentials','AwsS3Deploy','AwsS3FileSizeRetriever','createRetrieve','Unknown\x20storage\x20type\x20-\x20\x22','LocalFileSizeRetriever','12avhWEk','./retrieve','__esModule','AzureFileSizeRetriever','973380nwkNKl','StorageType','LocalDelete','LocalDeploy','defineProperty','LocalCredentials','./types/storage-type.enum','createRetrieveHelper','createDelete','./delete','3597ndpDkU','AzureHelper','AzureDelete','AwsS3Delete','AZURE_BLOB','./credentials','282hMGlbG'];_0x32e9=function(){return _0x82789e;};return _0x32e9();}function _0x3bd6(_0x3361d5,_0x223ff2){const _0x32e951=_0x32e9();return _0x3bd6=function(_0x3bd6d3,_0x27d415){_0x3bd6d3=_0x3bd6d3-0x10b;let _0x5c39cb=_0x32e951[_0x3bd6d3];return _0x5c39cb;},_0x3bd6(_0x3361d5,_0x223ff2);}const _0x5b28b4=_0x3bd6;(function(_0x570060,_0x14e000){const _0x3150ef=_0x3bd6,_0x20b91f=_0x570060();while(!![]){try{const _0x25bd2c=parseInt(_0x3150ef(0x12e))/0x1*(-parseInt(_0x3150ef(0x122))/0x2)+parseInt(_0x3150ef(0x12c))/0x3*(-parseInt(_0x3150ef(0x112))/0x4)+-parseInt(_0x3150ef(0x129))/0x5*(parseInt(_0x3150ef(0x10e))/0x6)+parseInt(_0x3150ef(0x128))/0x7+parseInt(_0x3150ef(0x127))/0x8+parseInt(_0x3150ef(0x12d))/0x9+parseInt(_0x3150ef(0x12b))/0xa*(-parseInt(_0x3150ef(0x11c))/0xb);if(_0x25bd2c===_0x14e000)break;else _0x20b91f['push'](_0x20b91f['shift']());}catch(_0x346747){_0x20b91f['push'](_0x20b91f['shift']());}}}(_0x32e9,0x46c66));Object[_0x5b28b4(0x116)](exports,_0x5b28b4(0x110),{'value':!![]}),exports[_0x5b28b4(0x125)]=void 0x0;const storage_type_enum_1=require(_0x5b28b4(0x118)),credentials_1=require(_0x5b28b4(0x121)),delete_1=require(_0x5b28b4(0x11b)),deploy_1=require(_0x5b28b4(0x124)),retrieve_1=require(_0x5b28b4(0x10f)),file_size_retriever_1=require('./file-size-retriever');class StorageFactory{static[_0x5b28b4(0x10b)](_0x4d1ae1,_0x39c418,_0x2c62ec,_0x347ea6,_0x38d630,_0x26de8b){const _0x50bbf0=_0x5b28b4;switch(_0x4d1ae1){case storage_type_enum_1[_0x50bbf0(0x113)]['AWS_S3']:return new retrieve_1['AwsS3Retrieve'](_0x39c418,_0x2c62ec,_0x347ea6,_0x38d630,_0x26de8b);case storage_type_enum_1[_0x50bbf0(0x113)][_0x50bbf0(0x126)]:return new retrieve_1[(_0x50bbf0(0x12f))](_0x39c418,_0x2c62ec);case storage_type_enum_1[_0x50bbf0(0x113)]['AZURE_BLOB']:return new retrieve_1['AzureRetrieve'](_0x39c418,_0x2c62ec,_0x38d630);default:throw new Error('Unknown\x20storage\x20type\x20-\x20\x22'+_0x4d1ae1+'\x22');}}static['createDeploy'](_0x2f1ed9,_0x10a50f,_0x24bfc8,_0x443476){const _0x1fb561=_0x5b28b4;switch(_0x2f1ed9){case storage_type_enum_1[_0x1fb561(0x113)][_0x1fb561(0x123)]:return new deploy_1[(_0x1fb561(0x131))](_0x10a50f,_0x24bfc8,_0x443476);case storage_type_enum_1['StorageType']['Local']:return new deploy_1[(_0x1fb561(0x115))](_0x10a50f);case storage_type_enum_1[_0x1fb561(0x113)][_0x1fb561(0x120)]:return new deploy_1['AzureDeploy'](_0x10a50f);default:throw new Error(_0x1fb561(0x10c)+_0x2f1ed9+'\x22');}}static[_0x5b28b4(0x11a)](_0x15c3c6,_0x4e471e,_0x3c051a){const _0x1e1377=_0x5b28b4;switch(_0x15c3c6){case storage_type_enum_1[_0x1e1377(0x113)][_0x1e1377(0x123)]:return new delete_1[(_0x1e1377(0x11f))](_0x4e471e,_0x3c051a);case storage_type_enum_1[_0x1e1377(0x113)][_0x1e1377(0x126)]:return new delete_1[(_0x1e1377(0x114))](_0x4e471e);case storage_type_enum_1[_0x1e1377(0x113)]['AZURE_BLOB']:return new delete_1[(_0x1e1377(0x11e))](_0x4e471e);default:throw new Error(_0x1e1377(0x10c)+_0x15c3c6+'\x22');}}static['createCredentials'](_0x1cb54f,_0xdb8feb){const _0x2c2525=_0x5b28b4;switch(_0x1cb54f){case storage_type_enum_1[_0x2c2525(0x113)]['AWS_S3']:return new credentials_1[(_0x2c2525(0x130))](_0xdb8feb);case storage_type_enum_1[_0x2c2525(0x113)]['Local']:return new credentials_1[(_0x2c2525(0x117))]();case storage_type_enum_1[_0x2c2525(0x113)]['AZURE_BLOB']:return new credentials_1['AzureCredentials'](_0xdb8feb);default:throw new Error('Unknown\x20storage\x20type\x20-\x20\x22'+_0x1cb54f+'\x22');}}static['createFileSizeRetriever'](_0x1b4d62,_0x48c7ee,_0x59b3da){const _0x631ab4=_0x5b28b4;switch(_0x1b4d62){case storage_type_enum_1['StorageType'][_0x631ab4(0x123)]:return new file_size_retriever_1[(_0x631ab4(0x132))](_0x48c7ee,_0x59b3da);case storage_type_enum_1[_0x631ab4(0x113)][_0x631ab4(0x126)]:return new file_size_retriever_1[(_0x631ab4(0x10d))](_0x48c7ee);case storage_type_enum_1[_0x631ab4(0x113)]['AZURE_BLOB']:return new file_size_retriever_1[(_0x631ab4(0x111))](_0x48c7ee);default:throw new Error(_0x631ab4(0x10c)+_0x1b4d62+'\x22');}}static[_0x5b28b4(0x119)](_0x50ec5c,_0x34b40c,_0x5c566d){const _0x1e0fad=_0x5b28b4;switch(_0x50ec5c){case storage_type_enum_1[_0x1e0fad(0x113)][_0x1e0fad(0x126)]:return new retrieve_1[(_0x1e0fad(0x12a))](_0x5c566d);case storage_type_enum_1['StorageType'][_0x1e0fad(0x123)]:const {accessKeyId:_0x4c829a,secretAccessKey:_0x54add7,region:_0x1ffd85,bucketName:_0x580d1a}=_0x34b40c;return new retrieve_1['AwsS3Helper'](_0x5c566d,{'bucketName':_0x580d1a,'region':_0x1ffd85,'credentials':{'accessKeyId':_0x4c829a,'secretAccessKey':_0x54add7}});case storage_type_enum_1[_0x1e0fad(0x113)][_0x1e0fad(0x120)]:return new retrieve_1[(_0x1e0fad(0x11d))](_0x34b40c,_0x5c566d);default:throw new Error('Unknown\x20storage\x20type\x20for\x20creating\x20retrieve\x20helper\x20-\x20\x22'+_0x50ec5c+'\x22');}}}exports[_0x5b28b4(0x125)]=StorageFactory;
1
+ 'use strict';const _0x1b2713=_0x4871;(function(_0x5df6fa,_0x2d784c){const _0x100a5a=_0x4871,_0x29213c=_0x5df6fa();while(!![]){try{const _0x314bbf=-parseInt(_0x100a5a(0xe8))/0x1+parseInt(_0x100a5a(0x10a))/0x2*(parseInt(_0x100a5a(0x105))/0x3)+-parseInt(_0x100a5a(0xf6))/0x4+parseInt(_0x100a5a(0xfe))/0x5+parseInt(_0x100a5a(0x103))/0x6+parseInt(_0x100a5a(0xe7))/0x7*(parseInt(_0x100a5a(0xfc))/0x8)+parseInt(_0x100a5a(0x104))/0x9*(-parseInt(_0x100a5a(0xf7))/0xa);if(_0x314bbf===_0x2d784c)break;else _0x29213c['push'](_0x29213c['shift']());}catch(_0x141ccd){_0x29213c['push'](_0x29213c['shift']());}}}(_0x5685,0x94343));function _0x5685(){const _0x4e6ded=['./delete','AzureRetrieve','createRetrieveHelper','./retrieve','LocalHelper','AzureCredentials','Unknown\x20storage\x20type\x20-\x20\x22','AwsS3Copy','./copy','./credentials','AwsS3Deploy','1406904pJCkbl','21460gAFAhh','AZURE_BLOB','StorageFactory','LocalDelete','./file-size-retriever','32qvhdKX','AwsS3Delete','4052240tzQJKP','AwsS3Retrieve','Unknown\x20storage\x20type\x20for\x20creating\x20retrieve\x20helper\x20-\x20\x22','createFileSizeRetriever','Local','3713814hYGKri','5697lMLsRE','3JclQzR','AzureDelete','StorageType','AzureFileSizeRetriever','LocalCredentials','56512xWJCoQ','__esModule','createDeploy','createCopy','createRetrieve','AzureDeploy','1839467HkYOVi','191610hrcbWM','AWS_S3','./types/storage-type.enum'];_0x5685=function(){return _0x4e6ded;};return _0x5685();}Object['defineProperty'](exports,_0x1b2713(0x10b),{'value':!![]}),exports[_0x1b2713(0xf9)]=void 0x0;const storage_type_enum_1=require(_0x1b2713(0xea)),credentials_1=require(_0x1b2713(0xf4)),delete_1=require(_0x1b2713(0xeb)),deploy_1=require('./deploy'),retrieve_1=require(_0x1b2713(0xee)),file_size_retriever_1=require(_0x1b2713(0xfb)),copy_1=require(_0x1b2713(0xf3));function _0x4871(_0x42cd2c,_0x1fc0b7){const _0x568590=_0x5685();return _0x4871=function(_0x487109,_0x1e1132){_0x487109=_0x487109-0xe4;let _0x26bd7d=_0x568590[_0x487109];return _0x26bd7d;},_0x4871(_0x42cd2c,_0x1fc0b7);}class StorageFactory{static[_0x1b2713(0xe5)](_0x4d28e0,_0x18e4ad,_0x50bf94,_0x3eaf16,_0x4ada0f,_0x503192){const _0x32dadc=_0x1b2713;switch(_0x4d28e0){case storage_type_enum_1[_0x32dadc(0x107)]['AWS_S3']:return new retrieve_1[(_0x32dadc(0xff))](_0x18e4ad,_0x50bf94,_0x3eaf16,_0x4ada0f,_0x503192);case storage_type_enum_1['StorageType']['Local']:return new retrieve_1['LocalRetrieve'](_0x18e4ad,_0x50bf94);case storage_type_enum_1[_0x32dadc(0x107)][_0x32dadc(0xf8)]:return new retrieve_1[(_0x32dadc(0xec))](_0x18e4ad,_0x50bf94,_0x4ada0f);default:throw new Error('Unknown\x20storage\x20type\x20-\x20\x22'+_0x4d28e0+'\x22');}}static[_0x1b2713(0x10c)](_0x5c2cc1,_0xf2cf14,_0x4c280f,_0x388ad9){const _0x1a2993=_0x1b2713;switch(_0x5c2cc1){case storage_type_enum_1[_0x1a2993(0x107)][_0x1a2993(0xe9)]:return new deploy_1[(_0x1a2993(0xf5))](_0xf2cf14,_0x4c280f,_0x388ad9);case storage_type_enum_1[_0x1a2993(0x107)][_0x1a2993(0x102)]:return new deploy_1['LocalDeploy'](_0xf2cf14);case storage_type_enum_1['StorageType']['AZURE_BLOB']:return new deploy_1[(_0x1a2993(0xe6))](_0xf2cf14);default:throw new Error(_0x1a2993(0xf1)+_0x5c2cc1+'\x22');}}static['createDelete'](_0x4b385d,_0x2b8e9c,_0x41e44c){const _0x57d626=_0x1b2713;switch(_0x4b385d){case storage_type_enum_1['StorageType'][_0x57d626(0xe9)]:return new delete_1[(_0x57d626(0xfd))](_0x2b8e9c,_0x41e44c);case storage_type_enum_1['StorageType'][_0x57d626(0x102)]:return new delete_1[(_0x57d626(0xfa))](_0x2b8e9c);case storage_type_enum_1[_0x57d626(0x107)][_0x57d626(0xf8)]:return new delete_1[(_0x57d626(0x106))](_0x2b8e9c);default:throw new Error(_0x57d626(0xf1)+_0x4b385d+'\x22');}}static['createCredentials'](_0xe4343a,_0x170233){const _0x4a6f52=_0x1b2713;switch(_0xe4343a){case storage_type_enum_1[_0x4a6f52(0x107)][_0x4a6f52(0xe9)]:return new credentials_1['AwsS3Credentials'](_0x170233);case storage_type_enum_1[_0x4a6f52(0x107)]['Local']:return new credentials_1[(_0x4a6f52(0x109))]();case storage_type_enum_1['StorageType'][_0x4a6f52(0xf8)]:return new credentials_1[(_0x4a6f52(0xf0))](_0x170233);default:throw new Error(_0x4a6f52(0xf1)+_0xe4343a+'\x22');}}static[_0x1b2713(0x101)](_0x571853,_0x94d40c,_0x3f365a){const _0x306574=_0x1b2713;switch(_0x571853){case storage_type_enum_1[_0x306574(0x107)][_0x306574(0xe9)]:return new file_size_retriever_1['AwsS3FileSizeRetriever'](_0x94d40c,_0x3f365a);case storage_type_enum_1[_0x306574(0x107)][_0x306574(0x102)]:return new file_size_retriever_1['LocalFileSizeRetriever'](_0x94d40c);case storage_type_enum_1[_0x306574(0x107)]['AZURE_BLOB']:return new file_size_retriever_1[(_0x306574(0x108))](_0x94d40c);default:throw new Error(_0x306574(0xf1)+_0x571853+'\x22');}}static[_0x1b2713(0xed)](_0x2e50b1,_0x1af7a8,_0x5d9634){const _0x446124=_0x1b2713;switch(_0x2e50b1){case storage_type_enum_1[_0x446124(0x107)][_0x446124(0x102)]:return new retrieve_1[(_0x446124(0xef))](_0x5d9634);case storage_type_enum_1[_0x446124(0x107)][_0x446124(0xe9)]:const {accessKeyId:_0x9c3876,secretAccessKey:_0x2b248d,region:_0x21b258,bucketName:_0x2d6f5e}=_0x1af7a8;return new retrieve_1['AwsS3Helper'](_0x5d9634,{'bucketName':_0x2d6f5e,'region':_0x21b258,'credentials':{'accessKeyId':_0x9c3876,'secretAccessKey':_0x2b248d}});case storage_type_enum_1[_0x446124(0x107)][_0x446124(0xf8)]:return new retrieve_1['AzureHelper'](_0x1af7a8,_0x5d9634);default:throw new Error(_0x446124(0x100)+_0x2e50b1+'\x22');}}static[_0x1b2713(0xe4)](_0x2a5773,_0x5d2e6a){const _0x108d53=_0x1b2713;switch(_0x2a5773){case storage_type_enum_1['StorageType'][_0x108d53(0x102)]:return new copy_1['LocalCopy'](_0x5d2e6a);case storage_type_enum_1['StorageType'][_0x108d53(0xe9)]:return new copy_1[(_0x108d53(0xf2))](_0x5d2e6a);default:throw new Error(_0x108d53(0xf1)+_0x2a5773+'\x22');}}}exports[_0x1b2713(0xf9)]=StorageFactory;
@@ -1 +1 @@
1
- 'use strict';const _0x44b6a1=_0x3fb3;(function(_0xfbea1a,_0x23c6c9){const _0x2caae9=_0x3fb3,_0x4cfb5b=_0xfbea1a();while(!![]){try{const _0x5b397f=parseInt(_0x2caae9(0x1f8))/0x1*(parseInt(_0x2caae9(0x1de))/0x2)+-parseInt(_0x2caae9(0x1ea))/0x3*(-parseInt(_0x2caae9(0x1f4))/0x4)+parseInt(_0x2caae9(0x1f0))/0x5+-parseInt(_0x2caae9(0x1f2))/0x6+-parseInt(_0x2caae9(0x1e4))/0x7+-parseInt(_0x2caae9(0x1ee))/0x8+parseInt(_0x2caae9(0x1ec))/0x9;if(_0x5b397f===_0x23c6c9)break;else _0x4cfb5b['push'](_0x4cfb5b['shift']());}catch(_0x42f055){_0x4cfb5b['push'](_0x4cfb5b['shift']());}}}(_0x29f9,0xc12e8));function _0x3fb3(_0x151ce8,_0x49c06a){const _0x29f9d6=_0x29f9();return _0x3fb3=function(_0x3fb3f2,_0x2d766c){_0x3fb3f2=_0x3fb3f2-0x1db;let _0x1c85bc=_0x29f9d6[_0x3fb3f2];return _0x1c85bc;},_0x3fb3(_0x151ce8,_0x49c06a);}var __awaiter=this&&this[_0x44b6a1(0x1f9)]||function(_0x2f10da,_0x17c694,_0x32cc12,_0xd86ed4){function _0xd37560(_0x5a6d7f){return _0x5a6d7f instanceof _0x32cc12?_0x5a6d7f:new _0x32cc12(function(_0x3ab967){_0x3ab967(_0x5a6d7f);});}return new(_0x32cc12||(_0x32cc12=Promise))(function(_0x559466,_0x4edb12){const _0x306226=_0x3fb3;function _0x425685(_0x31b6a2){const _0xf72112=_0x3fb3;try{_0x5575f8(_0xd86ed4[_0xf72112(0x1db)](_0x31b6a2));}catch(_0xea77e5){_0x4edb12(_0xea77e5);}}function _0x418cab(_0x373dd5){const _0x42fb84=_0x3fb3;try{_0x5575f8(_0xd86ed4[_0x42fb84(0x1eb)](_0x373dd5));}catch(_0x50bd3d){_0x4edb12(_0x50bd3d);}}function _0x5575f8(_0x25319){const _0x2563ca=_0x3fb3;_0x25319['done']?_0x559466(_0x25319[_0x2563ca(0x1e2)]):_0xd37560(_0x25319[_0x2563ca(0x1e2)])['then'](_0x425685,_0x418cab);}_0x5575f8((_0xd86ed4=_0xd86ed4[_0x306226(0x1e5)](_0x2f10da,_0x17c694||[]))[_0x306226(0x1db)]());});},__importDefault=this&&this[_0x44b6a1(0x1f3)]||function(_0x4aa91d){const _0x5d87e0=_0x44b6a1;return _0x4aa91d&&_0x4aa91d[_0x5d87e0(0x1ef)]?_0x4aa91d:{'default':_0x4aa91d};};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x44b6a1(0x1e1)]=void 0x0;const base_file_size_retriever_1=require('./base-file-size-retriever'),client_s3_1=require('@aws-sdk/client-s3'),path_1=__importDefault(require(_0x44b6a1(0x1fa))),aws_s3_utils_1=require(_0x44b6a1(0x1e3));class AwsS3FileSizeRetriever extends base_file_size_retriever_1[_0x44b6a1(0x1e9)]{constructor(_0x149cfc,_0x4ad252){const _0x1f9e4b=_0x44b6a1;super(_0x149cfc),this[_0x1f9e4b(0x1ed)]=aws_s3_utils_1[_0x1f9e4b(0x1df)]['createS3Client'](_0x149cfc,_0x4ad252);}['execute'](_0x2f0d8b){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x354e02=_0x3fb3,_0x6d2275=_0x2f0d8b[_0x354e02(0x1fb)](path_1[_0x354e02(0x1e8)][_0x354e02(0x1e0)])[_0x354e02(0x1f6)](path_1[_0x354e02(0x1e8)][_0x354e02(0x1e6)][_0x354e02(0x1e0)]),_0x477db4=new client_s3_1[(_0x354e02(0x1fc))]({'Bucket':this[_0x354e02(0x1f5)][_0x354e02(0x1dd)],'Key':_0x6d2275});try{const _0x35344d=yield this[_0x354e02(0x1ed)][_0x354e02(0x1dc)](_0x477db4);return _0x35344d[_0x354e02(0x1e7)];}catch(_0x3be56c){if(_0x3be56c[_0x354e02(0x1f1)]===_0x354e02(0x1f7))return null;throw _0x3be56c;}});}}exports[_0x44b6a1(0x1e1)]=AwsS3FileSizeRetriever;function _0x29f9(){const _0x35ee47=['AwsS3FileSizeRetriever','value','../utils/aws-s3.utils','6835899zpEncm','apply','posix','ContentLength','default','BaseFileSizeRetriever','21KTvOEI','throw','5418801FdtbzS','s3Client','4827624lNGMBv','__esModule','2779690raytYv','name','3176454nwoQEe','__importDefault','605188yzmXoH','credentials','join','NotFound','97655RVXtFh','__awaiter','path','split','HeadObjectCommand','next','send','bucketName','14JkhbVK','AwsS3Utils','sep'];_0x29f9=function(){return _0x35ee47;};return _0x29f9();}
1
+ 'use strict';const _0x400e26=_0x1f01;(function(_0x52deeb,_0x3cf84d){const _0x26dffb=_0x1f01,_0x307548=_0x52deeb();while(!![]){try{const _0x1f4708=parseInt(_0x26dffb(0xa4))/0x1*(parseInt(_0x26dffb(0xa5))/0x2)+parseInt(_0x26dffb(0x98))/0x3+-parseInt(_0x26dffb(0xac))/0x4*(-parseInt(_0x26dffb(0x96))/0x5)+parseInt(_0x26dffb(0xaf))/0x6+parseInt(_0x26dffb(0x95))/0x7*(-parseInt(_0x26dffb(0xb1))/0x8)+-parseInt(_0x26dffb(0xaa))/0x9+parseInt(_0x26dffb(0x9c))/0xa*(-parseInt(_0x26dffb(0x9a))/0xb);if(_0x1f4708===_0x3cf84d)break;else _0x307548['push'](_0x307548['shift']());}catch(_0x2aa79c){_0x307548['push'](_0x307548['shift']());}}}(_0x136c,0xc8be1));function _0x136c(){const _0x189513=['ContentLength','NotFound','1153418uAXlEX','10170lAusTt','join','4524528ucOSxN','posix','1926859lIBBJk','next','200iyyqxq','defineProperty','credentials','AwsS3FileSizeRetriever','HeadObjectCommand','throw','path','then','337411JWYqFI','8jJxGYM','BaseFileSizeRetriever','s3Client','default','bucketName','5105844LBaNvS','createS3Client','2296ygGjxy','__esModule','execute','9160182jueITz','value','32ykcwAt','__awaiter','@aws-sdk/client-s3','split','send'];_0x136c=function(){return _0x189513;};return _0x136c();}var __awaiter=this&&this[_0x400e26(0xb2)]||function(_0x70bb0,_0xde94f2,_0xa8e679,_0x394dea){function _0x536572(_0x16f110){return _0x16f110 instanceof _0xa8e679?_0x16f110:new _0xa8e679(function(_0x540b72){_0x540b72(_0x16f110);});}return new(_0xa8e679||(_0xa8e679=Promise))(function(_0xfe19e9,_0x437988){const _0x587d59=_0x1f01;function _0x6fc275(_0x1e9e67){const _0x21c7fb=_0x1f01;try{_0x2b4f9e(_0x394dea[_0x21c7fb(0x9b)](_0x1e9e67));}catch(_0x56bf4d){_0x437988(_0x56bf4d);}}function _0x2a127e(_0x2a8250){const _0x540fa8=_0x1f01;try{_0x2b4f9e(_0x394dea[_0x540fa8(0xa1)](_0x2a8250));}catch(_0x57575f){_0x437988(_0x57575f);}}function _0x2b4f9e(_0x30209e){const _0x204f97=_0x1f01;_0x30209e['done']?_0xfe19e9(_0x30209e[_0x204f97(0xb0)]):_0x536572(_0x30209e[_0x204f97(0xb0)])[_0x204f97(0xa3)](_0x6fc275,_0x2a127e);}_0x2b4f9e((_0x394dea=_0x394dea['apply'](_0x70bb0,_0xde94f2||[]))[_0x587d59(0x9b)]());});},__importDefault=this&&this['__importDefault']||function(_0x1e7b95){const _0x418762=_0x400e26;return _0x1e7b95&&_0x1e7b95[_0x418762(0xad)]?_0x1e7b95:{'default':_0x1e7b95};};Object[_0x400e26(0x9d)](exports,_0x400e26(0xad),{'value':!![]}),exports['AwsS3FileSizeRetriever']=void 0x0;const base_file_size_retriever_1=require('./base-file-size-retriever'),client_s3_1=require(_0x400e26(0xb3)),path_1=__importDefault(require(_0x400e26(0xa2))),aws_s3_utils_1=require('../utils/aws-s3.utils');class AwsS3FileSizeRetriever extends base_file_size_retriever_1[_0x400e26(0xa6)]{constructor(_0x24f58a,_0xc63184){const _0x4cdc99=_0x400e26;super(_0x24f58a),this[_0x4cdc99(0xa7)]=aws_s3_utils_1['AwsS3Utils'][_0x4cdc99(0xab)](_0x24f58a,_0xc63184);}[_0x400e26(0xae)](_0x1487db){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2b6403=_0x1f01,_0x27954a=_0x1487db[_0x2b6403(0xb4)](path_1[_0x2b6403(0xa8)]['sep'])[_0x2b6403(0x97)](path_1[_0x2b6403(0xa8)][_0x2b6403(0x99)]['sep']),_0x500da0=new client_s3_1[(_0x2b6403(0xa0))]({'Bucket':this[_0x2b6403(0x9e)][_0x2b6403(0xa9)],'Key':_0x27954a});try{const _0x42f60c=yield this[_0x2b6403(0xa7)][_0x2b6403(0xb5)](_0x500da0);return _0x42f60c[_0x2b6403(0xb6)];}catch(_0x1fc82d){if(_0x1fc82d['name']===_0x2b6403(0xb7))return null;throw _0x1fc82d;}});}}function _0x1f01(_0x3adf6f,_0x489cc7){const _0x136c7c=_0x136c();return _0x1f01=function(_0x1f0124,_0x5eb9c3){_0x1f0124=_0x1f0124-0x95;let _0xe266d1=_0x136c7c[_0x1f0124];return _0xe266d1;},_0x1f01(_0x3adf6f,_0x489cc7);}exports[_0x400e26(0x9f)]=AwsS3FileSizeRetriever;