@flosum/storages 1.3.3-beta.0 → 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 +3 -3
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';function _0x59d7(_0x1e1117,_0x1b75cc){const _0x2ec2b4=_0x2ec2();return _0x59d7=function(_0x59d77e,_0x338b8b){_0x59d77e=_0x59d77e-0x1d6;let _0x3623a3=_0x2ec2b4[_0x59d77e];return _0x3623a3;},_0x59d7(_0x1e1117,_0x1b75cc);}const _0x5ba486=_0x59d7;function _0x2ec2(){const _0x35c1b4=['27IGQvGq','AwsS3Credentials','11423592oJlDfh','value','region','credentials','HeadBucketCommand','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','next','882044biosJB','12zfgSdE','secretAccessKey','apply','throw','message','./base-credentials','4889003tmfdvy','@aws-sdk/client-s3','then','152038PAiFLF','5606325YifFmn','188BoNaaS','bucketName','6734790MAojUR','74330CLJEgo','../utils/aws-s3.utils','BaseCredentials','s3Client','accessKeyId','createS3Client','getCredentials','__awaiter'];_0x2ec2=function(){return _0x35c1b4;};return _0x2ec2();}(function(_0x2deb92,_0x3cd987){const _0x14481f=_0x59d7,_0x5aa734=_0x2deb92();while(!![]){try{const _0x1c8b9d=parseInt(_0x14481f(0x1ed))/0x1+parseInt(_0x14481f(0x1d7))/0x2*(parseInt(_0x14481f(0x1e4))/0x3)+-parseInt(_0x14481f(0x1d9))/0x4*(parseInt(_0x14481f(0x1dc))/0x5)+parseInt(_0x14481f(0x1ee))/0x6*(-parseInt(_0x14481f(0x1f4))/0x7)+parseInt(_0x14481f(0x1e6))/0x8+parseInt(_0x14481f(0x1d8))/0x9+-parseInt(_0x14481f(0x1db))/0xa;if(_0x1c8b9d===_0x3cd987)break;else _0x5aa734['push'](_0x5aa734['shift']());}catch(_0x2d9325){_0x5aa734['push'](_0x5aa734['shift']());}}}(_0x2ec2,0xcf0b2));var __awaiter=this&&this[_0x5ba486(0x1e3)]||function(_0x53eb6f,_0x4c9061,_0xf73d13,_0x585e2d){function _0x2f04df(_0x309c77){return _0x309c77 instanceof _0xf73d13?_0x309c77:new _0xf73d13(function(_0x2786cf){_0x2786cf(_0x309c77);});}return new(_0xf73d13||(_0xf73d13=Promise))(function(_0x3b63d0,_0x22500f){const _0x4d046c=_0x59d7;function _0x500d69(_0x5bf11d){const _0x22a5ce=_0x59d7;try{_0x4349a1(_0x585e2d[_0x22a5ce(0x1ec)](_0x5bf11d));}catch(_0x119ecb){_0x22500f(_0x119ecb);}}function _0x395b59(_0x3755c6){const _0xc462d=_0x59d7;try{_0x4349a1(_0x585e2d[_0xc462d(0x1f1)](_0x3755c6));}catch(_0x1cff47){_0x22500f(_0x1cff47);}}function _0x4349a1(_0x38c9eb){const _0x4b94b9=_0x59d7;_0x38c9eb['done']?_0x3b63d0(_0x38c9eb[_0x4b94b9(0x1e7)]):_0x2f04df(_0x38c9eb[_0x4b94b9(0x1e7)])[_0x4b94b9(0x1d6)](_0x500d69,_0x395b59);}_0x4349a1((_0x585e2d=_0x585e2d[_0x4d046c(0x1f0)](_0x53eb6f,_0x4c9061||[]))[_0x4d046c(0x1ec)]());});};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x5ba486(0x1e5)]=void 0x0;const base_credentials_1=require(_0x5ba486(0x1f3)),client_s3_1=require(_0x5ba486(0x1f5)),aws_s3_utils_1=require(_0x5ba486(0x1dd));class AwsS3Credentials extends base_credentials_1[_0x5ba486(0x1de)]{constructor(_0x45d1d5){const _0xce213d=_0x5ba486;super(_0x45d1d5),this[_0xce213d(0x1df)]=aws_s3_utils_1['AwsS3Utils'][_0xce213d(0x1e1)](this[_0xce213d(0x1e9)]);}get[_0x5ba486(0x1e0)](){const _0x457e65=_0x5ba486;return this[_0x457e65(0x1e9)][_0x457e65(0x1e0)];}get[_0x5ba486(0x1ef)](){return this['credentials']['secretAccessKey'];}get['bucketName'](){const _0x4f5812=_0x5ba486;return this[_0x4f5812(0x1e9)][_0x4f5812(0x1da)];}get[_0x5ba486(0x1e8)](){const _0x431063=_0x5ba486;return this[_0x431063(0x1e9)][_0x431063(0x1e8)];}['validate'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x477bfb=_0x59d7;try{const _0x199e9f=new client_s3_1[(_0x477bfb(0x1ea))]({'Bucket':this[_0x477bfb(0x1e9)][_0x477bfb(0x1da)]});yield this[_0x477bfb(0x1df)]['send'](_0x199e9f);}catch(_0x6430c8){throw new Error(_0x477bfb(0x1eb)+_0x6430c8[_0x477bfb(0x1f2)]);}});}[_0x5ba486(0x1e2)](_0x5196c6=![]){const _0x3d643f=_0x5ba486;if(_0x5196c6)return{'bucketName':this[_0x3d643f(0x1e9)]['bucketName']};return this[_0x3d643f(0x1e9)];}}exports['AwsS3Credentials']=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 _0x523a7b=_0x1fd3;(function(_0x1788c8,_0x3ebcae){const _0x3fa5e5=_0x1fd3,_0x3d4602=_0x1788c8();while(!![]){try{const _0x3d0b94=-parseInt(_0x3fa5e5(0xad))/0x1+parseInt(_0x3fa5e5(0xb3))/0x2*(-parseInt(_0x3fa5e5(0xb2))/0x3)+-parseInt(_0x3fa5e5(0xb1))/0x4+parseInt(_0x3fa5e5(0xa7))/0x5+parseInt(_0x3fa5e5(0xb4))/0x6+parseInt(_0x3fa5e5(0xb7))/0x7+-parseInt(_0x3fa5e5(0xb5))/0x8;if(_0x3d0b94===_0x3ebcae)break;else _0x3d4602['push'](_0x3d4602['shift']());}catch(_0x59c2b2){_0x3d4602['push'](_0x3d4602['shift']());}}}(_0x2456,0x2bd50));function _0x1fd3(_0x50b101,_0x4503f1){const _0x2456e5=_0x2456();return _0x1fd3=function(_0x1fd313,_0x5aecdf){_0x1fd313=_0x1fd313-0xa3;let _0xab3de6=_0x2456e5[_0x1fd313];return _0xab3de6;},_0x1fd3(_0x50b101,_0x4503f1);}var __awaiter=this&&this[_0x523a7b(0xbc)]||function(_0x49761c,_0xe6e1c2,_0x427c48,_0x4ccbd6){function _0x4dc05f(_0x245f7f){return _0x245f7f instanceof _0x427c48?_0x245f7f:new _0x427c48(function(_0x2a0e43){_0x2a0e43(_0x245f7f);});}return new(_0x427c48||(_0x427c48=Promise))(function(_0x14141c,_0x3187a7){const _0x308e5c=_0x1fd3;function _0x1267eb(_0xabee76){try{_0x17e592(_0x4ccbd6['next'](_0xabee76));}catch(_0x4a2448){_0x3187a7(_0x4a2448);}}function _0x1c4318(_0x359989){const _0x4ec5dd=_0x1fd3;try{_0x17e592(_0x4ccbd6[_0x4ec5dd(0xb0)](_0x359989));}catch(_0x29e1d1){_0x3187a7(_0x29e1d1);}}function _0x17e592(_0x2eebb0){const _0x106fa7=_0x1fd3;_0x2eebb0[_0x106fa7(0xa9)]?_0x14141c(_0x2eebb0[_0x106fa7(0xbb)]):_0x4dc05f(_0x2eebb0['value'])['then'](_0x1267eb,_0x1c4318);}_0x17e592((_0x4ccbd6=_0x4ccbd6[_0x308e5c(0xa5)](_0x49761c,_0xe6e1c2||[]))[_0x308e5c(0xba)]());});};Object[_0x523a7b(0xaf)](exports,'__esModule',{'value':!![]}),exports['AzureCredentials']=void 0x0;const base_credentials_1=require(_0x523a7b(0xb8)),azure_utils_1=require('../utils/azure.utils');class AzureCredentials extends base_credentials_1[_0x523a7b(0xa8)]{constructor(_0x3cf477){const _0x3126e9=_0x523a7b;super(_0x3cf477),this[_0x3126e9(0xa3)]=azure_utils_1['AzureUtils']['createAzureBlobServiceClient'](this['credentials']);}get['accountKey'](){const _0x2d2a28=_0x523a7b;return this[_0x2d2a28(0xab)]['accountKey'];}get[_0x523a7b(0xac)](){const _0x3623f4=_0x523a7b;return this['credentials'][_0x3623f4(0xac)];}get['containerName'](){const _0x5d6117=_0x523a7b;return this['credentials'][_0x5d6117(0xb9)];}[_0x523a7b(0xaa)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5f57c0=_0x1fd3;try{const _0x4b52d4=this[_0x5f57c0(0xa3)][_0x5f57c0(0xb6)](this[_0x5f57c0(0xab)][_0x5f57c0(0xb9)]);yield _0x4b52d4['exists']();}catch(_0xcdde7c){throw new Error(_0x5f57c0(0xae)+_0xcdde7c['message']);}});}[_0x523a7b(0xa6)](_0x2a5d1d=![]){const _0x3732f4=_0x523a7b;if(_0x2a5d1d)return{'accountName':this[_0x3732f4(0xab)][_0x3732f4(0xac)]};return this[_0x3732f4(0xab)];}}function _0x2456(){const _0x993b53=['__awaiter','blobServiceClient','AzureCredentials','apply','getCredentials','950425ncYBjo','BaseCredentials','done','validate','credentials','accountName','92612PtVDRA','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','defineProperty','throw','215536SIQiXa','9084FrXzcf','134FjMiOF','1659096IKwDnn','121104eYASNH','getContainerClient','542115jAlvAb','./base-credentials','containerName','next','value'];_0x2456=function(){return _0x993b53;};return _0x2456();}exports[_0x523a7b(0xa4)]=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 _0x213316=_0x3b2b;(function(_0x2c0017,_0x4db4a4){var _0xff3287=_0x3b2b,_0x30a5bb=_0x2c0017();while(!![]){try{var _0x15ef64=-parseInt(_0xff3287(0x1da))/0x1+-parseInt(_0xff3287(0x1d1))/0x2+parseInt(_0xff3287(0x1cf))/0x3+-parseInt(_0xff3287(0x1d7))/0x4+-parseInt(_0xff3287(0x1d9))/0x5*(-parseInt(_0xff3287(0x1d3))/0x6)+parseInt(_0xff3287(0x1d5))/0x7*(-parseInt(_0xff3287(0x1d2))/0x8)+parseInt(_0xff3287(0x1d8))/0x9;if(_0x15ef64===_0x4db4a4)break;else _0x30a5bb['push'](_0x30a5bb['shift']());}catch(_0x4e88b2){_0x30a5bb['push'](_0x30a5bb['shift']());}}}(_0x41d0,0x24335));Object[_0x213316(0x1d6)](exports,'__esModule',{'value':!![]}),exports[_0x213316(0x1d0)]=void 0x0;function _0x41d0(){var _0x2f4038=['BaseCredentials','584902lsITEs','594680ZcSVfL','186PEFQff','rawCredentials','14qQVZOR','defineProperty','1020316UKCtad','5870547YtHhKC','41780OWJwZM','211222kEVGOG','433140MhOipC'];_0x41d0=function(){return _0x2f4038;};return _0x41d0();}function _0x3b2b(_0x50d16f,_0x4f7a64){var _0x41d08c=_0x41d0();return _0x3b2b=function(_0x3b2b1c,_0x5c3836){_0x3b2b1c=_0x3b2b1c-0x1cf;var _0x1fa371=_0x41d08c[_0x3b2b1c];return _0x1fa371;},_0x3b2b(_0x50d16f,_0x4f7a64);}class BaseCredentials{constructor(_0x119c8d){var _0x5b353c=_0x213316;this[_0x5b353c(0x1d4)]=_0x119c8d,this['credentials']=this[_0x5b353c(0x1d4)]?this[_0x5b353c(0x1d4)]:null;}}exports[_0x213316(0x1d0)]=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 _0x443ac1=_0x5bff;(function(_0x15c243,_0x5cbc1a){var _0x195a37=_0x5bff,_0x3bc88=_0x15c243();while(!![]){try{var _0x2f6ea1=parseInt(_0x195a37(0x179))/0x1+parseInt(_0x195a37(0x173))/0x2+-parseInt(_0x195a37(0x175))/0x3+-parseInt(_0x195a37(0x16f))/0x4*(-parseInt(_0x195a37(0x174))/0x5)+parseInt(_0x195a37(0x167))/0x6*(-parseInt(_0x195a37(0x172))/0x7)+-parseInt(_0x195a37(0x177))/0x8*(parseInt(_0x195a37(0x16a))/0x9)+parseInt(_0x195a37(0x16e))/0xa;if(_0x2f6ea1===_0x5cbc1a)break;else _0x3bc88['push'](_0x3bc88['shift']());}catch(_0x480b00){_0x3bc88['push'](_0x3bc88['shift']());}}}(_0xcced,0xba631));Object[_0x443ac1(0x178)](exports,'__esModule',{'value':!![]}),exports[_0x443ac1(0x169)]=exports['LocalCredentials']=exports[_0x443ac1(0x168)]=exports['BaseCredentials']=void 0x0;function _0x5bff(_0x2e40d1,_0x103649){var _0xccedce=_0xcced();return _0x5bff=function(_0x5bff2b,_0x3d1a77){_0x5bff2b=_0x5bff2b-0x167;var _0x32d1b9=_0xccedce[_0x5bff2b];return _0x32d1b9;},_0x5bff(_0x2e40d1,_0x103649);}var base_credentials_1=require(_0x443ac1(0x16d));Object['defineProperty'](exports,_0x443ac1(0x176),{'enumerable':!![],'get':function(){var _0x34890c=_0x443ac1;return base_credentials_1[_0x34890c(0x176)];}});function _0xcced(){var _0x384765=['./aws-s3-credentials','LocalCredentials','469pxrxHC','1889470tzUGiK','1635TbDIRR','3330897VydSqd','BaseCredentials','15304RlaxVE','defineProperty','248681UepkYF','32412FPFSUV','AwsS3Credentials','AzureCredentials','5139lHQBen','./local-credentials','./azure-credentials','./base-credentials','10996260hghypF','12660DLATud'];_0xcced=function(){return _0x384765;};return _0xcced();}var aws_s3_credentials_1=require(_0x443ac1(0x170));Object[_0x443ac1(0x178)](exports,_0x443ac1(0x168),{'enumerable':!![],'get':function(){return aws_s3_credentials_1['AwsS3Credentials'];}});var local_credentials_1=require(_0x443ac1(0x16b));Object['defineProperty'](exports,_0x443ac1(0x171),{'enumerable':!![],'get':function(){return local_credentials_1['LocalCredentials'];}});var azure_credentials_1=require(_0x443ac1(0x16c));Object['defineProperty'](exports,_0x443ac1(0x169),{'enumerable':!![],'get':function(){var _0x4b99ac=_0x443ac1;return azure_credentials_1[_0x4b99ac(0x169)];}});
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';function _0x404a(){const _0xe6f8fd=['1PlATim','73029KZPOkP','319892zBbTvT','LocalCredentials','88IrmzxV','resolve','154683SsUOKN','4805240iEgJEL','6DSWuzo','validate','2510UdWZSH','__esModule','106852UOixmO','defineProperty','2650984yeubqg','getCredentials','BaseCredentials','4775430hqikYC','./base-credentials'];_0x404a=function(){return _0xe6f8fd;};return _0x404a();}const _0x5c3f58=_0x46c0;(function(_0xf825e1,_0x12d63b){const _0x3c83a0=_0x46c0,_0x4d2b5c=_0xf825e1();while(!![]){try{const _0x34f37d=parseInt(_0x3c83a0(0xb8))/0x1*(parseInt(_0x3c83a0(0xb1))/0x2)+parseInt(_0x3c83a0(0xad))/0x3*(parseInt(_0x3c83a0(0xa7))/0x4)+parseInt(_0x3c83a0(0xac))/0x5+parseInt(_0x3c83a0(0xb6))/0x6+parseInt(_0x3c83a0(0xb3))/0x7+parseInt(_0x3c83a0(0xa9))/0x8*(-parseInt(_0x3c83a0(0xab))/0x9)+parseInt(_0x3c83a0(0xaf))/0xa*(-parseInt(_0x3c83a0(0xa6))/0xb);if(_0x34f37d===_0x12d63b)break;else _0x4d2b5c['push'](_0x4d2b5c['shift']());}catch(_0x53e002){_0x4d2b5c['push'](_0x4d2b5c['shift']());}}}(_0x404a,0x78817));Object[_0x5c3f58(0xb2)](exports,_0x5c3f58(0xb0),{'value':!![]}),exports['LocalCredentials']=void 0x0;const base_credentials_1=require(_0x5c3f58(0xb7));function _0x46c0(_0x13c756,_0x44d77b){const _0x404a50=_0x404a();return _0x46c0=function(_0x46c003,_0x1467f0){_0x46c003=_0x46c003-0xa6;let _0x4f231f=_0x404a50[_0x46c003];return _0x4f231f;},_0x46c0(_0x13c756,_0x44d77b);}class LocalCredentials extends base_credentials_1[_0x5c3f58(0xb5)]{[_0x5c3f58(0xb4)](){return null;}[_0x5c3f58(0xae)](){const _0x38094d=_0x5c3f58;return Promise[_0x38094d(0xaa)](undefined);}}exports[_0x5c3f58(0xa8)]=LocalCredentials;
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';const _0x437b92=_0x7ea5;(function(_0x522e12,_0x495a1a){const _0x13fe1c=_0x7ea5,_0x4e304f=_0x522e12();while(!![]){try{const _0x375f01=-parseInt(_0x13fe1c(0x184))/0x1+parseInt(_0x13fe1c(0x189))/0x2*(parseInt(_0x13fe1c(0x18c))/0x3)+parseInt(_0x13fe1c(0x171))/0x4*(parseInt(_0x13fe1c(0x16f))/0x5)+parseInt(_0x13fe1c(0x179))/0x6+parseInt(_0x13fe1c(0x18a))/0x7+-parseInt(_0x13fe1c(0x17b))/0x8*(parseInt(_0x13fe1c(0x16e))/0x9)+-parseInt(_0x13fe1c(0x18f))/0xa;if(_0x375f01===_0x495a1a)break;else _0x4e304f['push'](_0x4e304f['shift']());}catch(_0x555ded){_0x4e304f['push'](_0x4e304f['shift']());}}}(_0x1ab8,0x866b9));var __awaiter=this&&this[_0x437b92(0x17d)]||function(_0x515e4c,_0x118223,_0x4cfea3,_0x23f181){function _0x4a0dc1(_0x40fca1){return _0x40fca1 instanceof _0x4cfea3?_0x40fca1:new _0x4cfea3(function(_0x2f0d11){_0x2f0d11(_0x40fca1);});}return new(_0x4cfea3||(_0x4cfea3=Promise))(function(_0x400e8f,_0x3ca7c5){const _0x16e8fc=_0x7ea5;function _0x366f40(_0x30b29c){const _0x43a29d=_0x7ea5;try{_0x1f65ed(_0x23f181[_0x43a29d(0x172)](_0x30b29c));}catch(_0x335c84){_0x3ca7c5(_0x335c84);}}function _0x57e1cd(_0x4c9420){const _0x65f860=_0x7ea5;try{_0x1f65ed(_0x23f181[_0x65f860(0x187)](_0x4c9420));}catch(_0x23a54e){_0x3ca7c5(_0x23a54e);}}function _0x1f65ed(_0x36430f){const _0x599952=_0x7ea5;_0x36430f['done']?_0x400e8f(_0x36430f['value']):_0x4a0dc1(_0x36430f[_0x599952(0x186)])[_0x599952(0x185)](_0x366f40,_0x57e1cd);}_0x1f65ed((_0x23f181=_0x23f181['apply'](_0x515e4c,_0x118223||[]))[_0x16e8fc(0x172)]());});},__importDefault=this&&this[_0x437b92(0x177)]||function(_0x5316a4){return _0x5316a4&&_0x5316a4['__esModule']?_0x5316a4:{'default':_0x5316a4};};Object[_0x437b92(0x182)](exports,_0x437b92(0x188),{'value':!![]}),exports[_0x437b92(0x183)]=void 0x0;function _0x1ab8(){const _0x59e77d=['4988874oKSJwT','@flosum/utils','40nNGfqZ','splitOnChunks','__awaiter','bucketName','split','send','execute','defineProperty','AwsS3Delete','210653ChTCbk','then','value','throw','__esModule','2quRPSx','5256377zUAitL','DeleteObjectsCommand','2981787SvTHNh','OBJECTS_PER_CHUNK','default','19135950smemon','getFilesPaths','AwsS3Utils','58689EadGDP','95BZZgHZ','createS3Client','27604TRsDJO','next','credentials','s3Client','BaseDelete','sep','__importDefault','join'];_0x1ab8=function(){return _0x59e77d;};return _0x1ab8();}function _0x7ea5(_0x510a58,_0x4e198f){const _0x1ab84d=_0x1ab8();return _0x7ea5=function(_0x7ea562,_0x56e3af){_0x7ea562=_0x7ea562-0x16c;let _0x16c14c=_0x1ab84d[_0x7ea562];return _0x16c14c;},_0x7ea5(_0x510a58,_0x4e198f);}const path_1=__importDefault(require('path')),utils_1=require(_0x437b92(0x17a)),aws_s3_utils_1=require('../utils/aws-s3.utils'),_1=require('./'),client_s3_1=require('@aws-sdk/client-s3');class AwsS3Delete extends _1[_0x437b92(0x175)]{constructor(_0x59cc16,_0x3bb813){const _0x41aaaa=_0x437b92;super(_0x59cc16),this[_0x41aaaa(0x173)]=_0x59cc16,this['OBJECTS_PER_CHUNK']=0x3e8,this[_0x41aaaa(0x174)]=aws_s3_utils_1['AwsS3Utils'][_0x41aaaa(0x170)](_0x59cc16,_0x3bb813);}[_0x437b92(0x181)](_0x582e1d){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x46db38=_0x7ea5,_0x363339=_0x582e1d[_0x46db38(0x17f)](path_1[_0x46db38(0x18e)]['sep'])[_0x46db38(0x178)](path_1[_0x46db38(0x18e)]['posix'][_0x46db38(0x176)]),_0x2f4aa5=yield aws_s3_utils_1[_0x46db38(0x16d)][_0x46db38(0x16c)](_0x363339,this[_0x46db38(0x173)][_0x46db38(0x17e)],this[_0x46db38(0x174)]),_0x35d2db=utils_1['ArrayUtils'][_0x46db38(0x17c)](_0x2f4aa5,this[_0x46db38(0x18d)]);for(const _0x309db6 of _0x35d2db){const _0x563061=_0x309db6['map'](_0x2c958b=>({'Key':_0x2c958b})),_0x226ef8=new client_s3_1[(_0x46db38(0x18b))]({'Bucket':this[_0x46db38(0x173)]['bucketName'],'Delete':{'Objects':_0x563061}});yield this[_0x46db38(0x174)][_0x46db38(0x180)](_0x226ef8);}});}}exports[_0x437b92(0x183)]=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 _0xf3d8a7=_0x1bd9;(function(_0x4c3eaa,_0x32a4e0){const _0x10abd5=_0x1bd9,_0x3e7057=_0x4c3eaa();while(!![]){try{const _0x2fa56a=-parseInt(_0x10abd5(0x17c))/0x1*(parseInt(_0x10abd5(0x183))/0x2)+parseInt(_0x10abd5(0x17a))/0x3+parseInt(_0x10abd5(0x187))/0x4+parseInt(_0x10abd5(0x17e))/0x5+-parseInt(_0x10abd5(0x17f))/0x6+-parseInt(_0x10abd5(0x179))/0x7+-parseInt(_0x10abd5(0x172))/0x8*(-parseInt(_0x10abd5(0x16c))/0x9);if(_0x2fa56a===_0x32a4e0)break;else _0x3e7057['push'](_0x3e7057['shift']());}catch(_0x1e1cc9){_0x3e7057['push'](_0x3e7057['shift']());}}}(_0xdb0c,0x26b38));var __awaiter=this&&this[_0xf3d8a7(0x182)]||function(_0x75ea9e,_0x587bf2,_0x36eb16,_0x7027e4){function _0x30cb97(_0x380be1){return _0x380be1 instanceof _0x36eb16?_0x380be1:new _0x36eb16(function(_0x35530){_0x35530(_0x380be1);});}return new(_0x36eb16||(_0x36eb16=Promise))(function(_0x57cee7,_0x6d2d9){const _0x2f02da=_0x1bd9;function _0xa9dcb1(_0x420c2e){const _0x4a47d0=_0x1bd9;try{_0x197f25(_0x7027e4[_0x4a47d0(0x185)](_0x420c2e));}catch(_0x2c2839){_0x6d2d9(_0x2c2839);}}function _0x561d3b(_0x4e9c61){const _0x165423=_0x1bd9;try{_0x197f25(_0x7027e4[_0x165423(0x186)](_0x4e9c61));}catch(_0x18026d){_0x6d2d9(_0x18026d);}}function _0x197f25(_0x1f6ecd){const _0x2f9743=_0x1bd9;_0x1f6ecd[_0x2f9743(0x16d)]?_0x57cee7(_0x1f6ecd[_0x2f9743(0x189)]):_0x30cb97(_0x1f6ecd[_0x2f9743(0x189)])[_0x2f9743(0x184)](_0xa9dcb1,_0x561d3b);}_0x197f25((_0x7027e4=_0x7027e4[_0x2f02da(0x17b)](_0x75ea9e,_0x587bf2||[]))[_0x2f02da(0x185)]());});},__importDefault=this&&this[_0xf3d8a7(0x176)]||function(_0x47e0a5){const _0x528b4d=_0xf3d8a7;return _0x47e0a5&&_0x47e0a5[_0x528b4d(0x17d)]?_0x47e0a5:{'default':_0x47e0a5};};function _0xdb0c(){const _0x447dff=['path','credentials','170170PLnvzl','503733vcsiTX','apply','4rICuHb','__esModule','627565UyTmSt','1145802MXjJIQ','deleteBlob','defineProperty','__awaiter','141674iGQySy','then','next','throw','1178036vIywVS','BaseDelete','value','AzureUtils','join','sep','createAzureBlobContainerClient','155727EUfgnk','done','getAzureBlobsPaths','posix','AzureDelete','execute','32nOaPqy','containerClient','split','default','__importDefault'];_0xdb0c=function(){return _0x447dff;};return _0xdb0c();}Object[_0xf3d8a7(0x181)](exports,'__esModule',{'value':!![]}),exports[_0xf3d8a7(0x170)]=void 0x0;function _0x1bd9(_0x250c5d,_0x211814){const _0xdb0cb7=_0xdb0c();return _0x1bd9=function(_0x1bd922,_0x1a4cf0){_0x1bd922=_0x1bd922-0x169;let _0x29dc93=_0xdb0cb7[_0x1bd922];return _0x29dc93;},_0x1bd9(_0x250c5d,_0x211814);}const path_1=__importDefault(require(_0xf3d8a7(0x177))),_1=require('./'),azure_utils_1=require('../utils/azure.utils');class AzureDelete extends _1[_0xf3d8a7(0x188)]{constructor(_0x247016){const _0x32335f=_0xf3d8a7;super(_0x247016),this[_0x32335f(0x178)]=_0x247016,this[_0x32335f(0x173)]=azure_utils_1[_0x32335f(0x18a)][_0x32335f(0x16b)](_0x247016);}[_0xf3d8a7(0x171)](_0x4185f1){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5beac5=_0x1bd9,_0x1f432d=_0x4185f1[_0x5beac5(0x174)](path_1[_0x5beac5(0x175)][_0x5beac5(0x16a)])[_0x5beac5(0x169)](path_1[_0x5beac5(0x175)][_0x5beac5(0x16f)][_0x5beac5(0x16a)]),_0x59f610=yield azure_utils_1[_0x5beac5(0x18a)][_0x5beac5(0x16e)](_0x1f432d,this[_0x5beac5(0x173)]);for(const _0x26057c of _0x59f610){yield this[_0x5beac5(0x173)][_0x5beac5(0x180)](_0x26057c);}});}}exports[_0xf3d8a7(0x170)]=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';function _0x3cc8(){var _0x53cf4d=['5401MPqHtM','__esModule','credentials','18tYEhjQ','2122920zJvgGo','15uTPcHb','306292uSBSXu','8113390UGWDlO','54960LzBsWv','BaseDelete','1450VcDicH','418076seLQLa','5672696CRlJQM','defineProperty','1465OgwGtm'];_0x3cc8=function(){return _0x53cf4d;};return _0x3cc8();}var _0x5126e0=_0x2cfc;(function(_0x112f07,_0x322690){var _0x4b4367=_0x2cfc,_0x5e0926=_0x112f07();while(!![]){try{var _0x2fe30f=-parseInt(_0x4b4367(0x97))/0x1*(parseInt(_0x4b4367(0x93))/0x2)+-parseInt(_0x4b4367(0x9d))/0x3*(parseInt(_0x4b4367(0x94))/0x4)+parseInt(_0x4b4367(0x9f))/0x5+-parseInt(_0x4b4367(0x9c))/0x6+-parseInt(_0x4b4367(0x9e))/0x7+-parseInt(_0x4b4367(0x95))/0x8*(parseInt(_0x4b4367(0x9b))/0x9)+parseInt(_0x4b4367(0x91))/0xa*(parseInt(_0x4b4367(0x98))/0xb);if(_0x2fe30f===_0x322690)break;else _0x5e0926['push'](_0x5e0926['shift']());}catch(_0x1b7664){_0x5e0926['push'](_0x5e0926['shift']());}}}(_0x3cc8,0xe0ca8));Object[_0x5126e0(0x96)](exports,_0x5126e0(0x99),{'value':!![]}),exports[_0x5126e0(0x92)]=void 0x0;class BaseDelete{constructor(_0x42a7ed){var _0x90c958=_0x5126e0;this[_0x90c958(0x9a)]=_0x42a7ed;}}function _0x2cfc(_0x376038,_0x4e25a6){var _0x3cc888=_0x3cc8();return _0x2cfc=function(_0x2cfcfe,_0x3f5d82){_0x2cfcfe=_0x2cfcfe-0x91;var _0x132cf1=_0x3cc888[_0x2cfcfe];return _0x132cf1;},_0x2cfc(_0x376038,_0x4e25a6);}exports[_0x5126e0(0x92)]=BaseDelete;
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 _0x4581ac=_0x50fd;function _0x5c32(){var _0x52005b=['./local-delete','./azure-delete','./aws-s3-delete','4216806CuIsiV','8795780hpEcci','BaseDelete','663906mfVqjp','4CQemdc','AzureDelete','LocalDelete','39OEeQsQ','./base-delete','231748CqSONT','89631YSDtIV','136bFZFoP','defineProperty','5422525OuUFKC','__esModule','AwsS3Delete','49rtiuvn','667486RPJAnZ'];_0x5c32=function(){return _0x52005b;};return _0x5c32();}(function(_0x4aa900,_0x10d638){var _0x2dbe0d=_0x50fd,_0x317298=_0x4aa900();while(!![]){try{var _0x22e23c=parseInt(_0x2dbe0d(0x14b))/0x1*(parseInt(_0x2dbe0d(0x13e))/0x2)+-parseInt(_0x2dbe0d(0x141))/0x3*(-parseInt(_0x2dbe0d(0x143))/0x4)+parseInt(_0x2dbe0d(0x147))/0x5+parseInt(_0x2dbe0d(0x13d))/0x6*(-parseInt(_0x2dbe0d(0x14a))/0x7)+-parseInt(_0x2dbe0d(0x145))/0x8*(parseInt(_0x2dbe0d(0x144))/0x9)+-parseInt(_0x2dbe0d(0x13b))/0xa+-parseInt(_0x2dbe0d(0x13a))/0xb;if(_0x22e23c===_0x10d638)break;else _0x317298['push'](_0x317298['shift']());}catch(_0x199a37){_0x317298['push'](_0x317298['shift']());}}}(_0x5c32,0xebcf2));Object[_0x4581ac(0x146)](exports,_0x4581ac(0x148),{'value':!![]}),exports[_0x4581ac(0x13f)]=exports['LocalDelete']=exports['AwsS3Delete']=exports['BaseDelete']=void 0x0;function _0x50fd(_0x2f3d22,_0x230495){var _0x5c320e=_0x5c32();return _0x50fd=function(_0x50fd3a,_0x2d2c7e){_0x50fd3a=_0x50fd3a-0x139;var _0x4884a2=_0x5c320e[_0x50fd3a];return _0x4884a2;},_0x50fd(_0x2f3d22,_0x230495);}var base_delete_1=require(_0x4581ac(0x142));Object[_0x4581ac(0x146)](exports,_0x4581ac(0x13c),{'enumerable':!![],'get':function(){var _0x3c482e=_0x4581ac;return base_delete_1[_0x3c482e(0x13c)];}});var aws_s3_delete_1=require(_0x4581ac(0x139));Object[_0x4581ac(0x146)](exports,_0x4581ac(0x149),{'enumerable':!![],'get':function(){var _0x214a9d=_0x4581ac;return aws_s3_delete_1[_0x214a9d(0x149)];}});var local_delete_1=require(_0x4581ac(0x14c));Object['defineProperty'](exports,'LocalDelete',{'enumerable':!![],'get':function(){var _0x5d2757=_0x4581ac;return local_delete_1[_0x5d2757(0x140)];}});var azure_delete_1=require(_0x4581ac(0x14d));Object[_0x4581ac(0x146)](exports,_0x4581ac(0x13f),{'enumerable':!![],'get':function(){var _0x1dd55d=_0x4581ac;return azure_delete_1[_0x1dd55d(0x13f)];}});
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 _0x4b8828=_0x271e;(function(_0x342ee3,_0x362d4c){const _0x4eb972=_0x271e,_0x286ca1=_0x342ee3();while(!![]){try{const _0x8414c8=-parseInt(_0x4eb972(0x79))/0x1*(-parseInt(_0x4eb972(0x76))/0x2)+parseInt(_0x4eb972(0x77))/0x3+-parseInt(_0x4eb972(0x7e))/0x4+-parseInt(_0x4eb972(0x74))/0x5+parseInt(_0x4eb972(0x7f))/0x6+parseInt(_0x4eb972(0x6b))/0x7*(-parseInt(_0x4eb972(0x6d))/0x8)+parseInt(_0x4eb972(0x6f))/0x9*(parseInt(_0x4eb972(0x70))/0xa);if(_0x8414c8===_0x362d4c)break;else _0x286ca1['push'](_0x286ca1['shift']());}catch(_0x2c0f42){_0x286ca1['push'](_0x286ca1['shift']());}}}(_0x34f6,0x1d298));function _0x271e(_0x840a7c,_0x468ab8){const _0x34f6b9=_0x34f6();return _0x271e=function(_0x271e28,_0x39930e){_0x271e28=_0x271e28-0x69;let _0x3125cb=_0x34f6b9[_0x271e28];return _0x3125cb;},_0x271e(_0x840a7c,_0x468ab8);}var __awaiter=this&&this[_0x4b8828(0x78)]||function(_0x30c948,_0x3023e6,_0x2dd2cd,_0x5f4f32){function _0x1c1ceb(_0x1312b3){return _0x1312b3 instanceof _0x2dd2cd?_0x1312b3:new _0x2dd2cd(function(_0x568912){_0x568912(_0x1312b3);});}return new(_0x2dd2cd||(_0x2dd2cd=Promise))(function(_0x14c6c1,_0xaba226){const _0x42c526=_0x271e;function _0x219093(_0x93103c){try{_0x2be8b4(_0x5f4f32['next'](_0x93103c));}catch(_0x4bdd5e){_0xaba226(_0x4bdd5e);}}function _0x311195(_0x1ddf59){const _0x2ab8ca=_0x271e;try{_0x2be8b4(_0x5f4f32[_0x2ab8ca(0x7d)](_0x1ddf59));}catch(_0x695b7){_0xaba226(_0x695b7);}}function _0x2be8b4(_0x147391){const _0x2e692a=_0x271e;_0x147391[_0x2e692a(0x75)]?_0x14c6c1(_0x147391[_0x2e692a(0x7b)]):_0x1c1ceb(_0x147391[_0x2e692a(0x7b)])['then'](_0x219093,_0x311195);}_0x2be8b4((_0x5f4f32=_0x5f4f32[_0x42c526(0x7a)](_0x30c948,_0x3023e6||[]))[_0x42c526(0x69)]());});};Object[_0x4b8828(0x6e)](exports,_0x4b8828(0x6a),{'value':!![]}),exports[_0x4b8828(0x72)]=void 0x0;const promises_1=require(_0x4b8828(0x7c)),utils_1=require(_0x4b8828(0x71)),_1=require('./');class LocalDelete extends _1[_0x4b8828(0x81)]{[_0x4b8828(0x80)](_0x216bed){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3fe33a=_0x271e;if(yield utils_1[_0x3fe33a(0x73)][_0x3fe33a(0x6c)](_0x216bed))yield(0x0,promises_1['rm'])(_0x216bed,{'recursive':!![]});});}}exports[_0x4b8828(0x72)]=LocalDelete;function _0x34f6(){const _0x31671a=['BaseDelete','next','__esModule','153769IleZoa','isExistsPath','8sfPxTa','defineProperty','324SugGGu','19130TCpmYR','@flosum/utils','LocalDelete','FsUtils','668470HydAQf','done','136zpLfdn','112362auXGPs','__awaiter','1061xbciyF','apply','value','fs/promises','throw','221632BOClwW','912282LMJGgS','execute'];_0x34f6=function(){return _0x31671a;};return _0x34f6();}
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';const _0x40106e=_0x40b1;(function(_0xed8147,_0x481ce8){const _0x1e50d1=_0x40b1,_0x4b0e8b=_0xed8147();while(!![]){try{const _0x2cf3bf=-parseInt(_0x1e50d1(0x12e))/0x1+-parseInt(_0x1e50d1(0x136))/0x2+parseInt(_0x1e50d1(0x145))/0x3*(-parseInt(_0x1e50d1(0x12d))/0x4)+-parseInt(_0x1e50d1(0x129))/0x5+parseInt(_0x1e50d1(0x13f))/0x6+parseInt(_0x1e50d1(0x140))/0x7*(parseInt(_0x1e50d1(0x130))/0x8)+-parseInt(_0x1e50d1(0x135))/0x9*(-parseInt(_0x1e50d1(0x131))/0xa);if(_0x2cf3bf===_0x481ce8)break;else _0x4b0e8b['push'](_0x4b0e8b['shift']());}catch(_0x3cf6b5){_0x4b0e8b['push'](_0x4b0e8b['shift']());}}}(_0x14ef,0x867a6));var __awaiter=this&&this['__awaiter']||function(_0x4ef8dc,_0x4619ea,_0x1e5092,_0x49fad6){function _0x521d5c(_0x50042f){return _0x50042f instanceof _0x1e5092?_0x50042f:new _0x1e5092(function(_0x1042fc){_0x1042fc(_0x50042f);});}return new(_0x1e5092||(_0x1e5092=Promise))(function(_0x67f493,_0x38c0f9){const _0x4012d5=_0x40b1;function _0x4e3ed8(_0x2eb7ed){const _0x2803cc=_0x40b1;try{_0x3017b4(_0x49fad6[_0x2803cc(0x138)](_0x2eb7ed));}catch(_0x2ec231){_0x38c0f9(_0x2ec231);}}function _0x21aefe(_0x20ad7b){const _0x2e8756=_0x40b1;try{_0x3017b4(_0x49fad6[_0x2e8756(0x12f)](_0x20ad7b));}catch(_0xcff223){_0x38c0f9(_0xcff223);}}function _0x3017b4(_0x1d11d5){const _0x13501f=_0x40b1;_0x1d11d5[_0x13501f(0x137)]?_0x67f493(_0x1d11d5[_0x13501f(0x13d)]):_0x521d5c(_0x1d11d5[_0x13501f(0x13d)])[_0x13501f(0x133)](_0x4e3ed8,_0x21aefe);}_0x3017b4((_0x49fad6=_0x49fad6[_0x4012d5(0x144)](_0x4ef8dc,_0x4619ea||[]))[_0x4012d5(0x138)]());});},__importDefault=this&&this['__importDefault']||function(_0x2a3593){return _0x2a3593&&_0x2a3593['__esModule']?_0x2a3593:{'default':_0x2a3593};};Object[_0x40106e(0x141)](exports,_0x40106e(0x13c),{'value':!![]}),exports[_0x40106e(0x134)]=void 0x0;const path_1=__importDefault(require(_0x40106e(0x12c))),_1=require('./'),lib_storage_1=require(_0x40106e(0x127)),aws_s3_utils_1=require(_0x40106e(0x12b));function _0x40b1(_0x16f0a1,_0x2320ef){const _0x14ef06=_0x14ef();return _0x40b1=function(_0x40b115,_0x9a4d71){_0x40b115=_0x40b115-0x126;let _0x3a2b31=_0x14ef06[_0x40b115];return _0x3a2b31;},_0x40b1(_0x16f0a1,_0x2320ef);}function _0x14ef(){const _0x55fe47=['createS3Client','bucketName','__esModule','value','join','3743766hETLNr','16429EefMAr','defineProperty','split','storageClass','apply','13557XPcVaH','Upload','sep','execute','@aws-sdk/lib-storage','credentials','3100070bQwfKD','s3Client','../utils/aws-s3.utils','path','36VsNHpj','1076892tKAasQ','throw','1376qYUHBa','17060790UhasPD','default','then','AwsS3Deploy','9EVKOKp','890650XjzKIY','done','next','upload'];_0x14ef=function(){return _0x55fe47;};return _0x14ef();}class AwsS3Deploy extends _1['BaseDeploy']{constructor(_0x119317,_0x59e1b9,_0x568b0d){const _0x3284c4=_0x40106e;super(_0x119317),this['credentials']=_0x119317,this[_0x3284c4(0x143)]=_0x59e1b9,this[_0x3284c4(0x12a)]=aws_s3_utils_1['AwsS3Utils'][_0x3284c4(0x13a)](_0x119317,_0x568b0d);}[_0x40106e(0x139)](_0x4b57e8,_0x5d685c){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x44a2e7=_0x40b1,_0x4e50aa=new lib_storage_1[(_0x44a2e7(0x146))]({'client':this[_0x44a2e7(0x12a)],'params':{'Bucket':this[_0x44a2e7(0x128)][_0x44a2e7(0x13b)],'Key':_0x5d685c,'Body':_0x4b57e8,'StorageClass':this[_0x44a2e7(0x143)]}});yield _0x4e50aa['done']();});}[_0x40106e(0x126)](_0x4b2551,_0x2a585e){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3c61a1=_0x40b1;try{const _0x5a27ee=_0x2a585e[_0x3c61a1(0x142)](path_1[_0x3c61a1(0x132)][_0x3c61a1(0x147)])[_0x3c61a1(0x13e)](path_1[_0x3c61a1(0x132)]['posix']['sep']);yield this[_0x3c61a1(0x139)](_0x4b2551,_0x5a27ee);}catch(_0x3f7bea){throw _0x3f7bea;}});}}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 _0x4f8b53=_0x40b0;(function(_0xd4feb6,_0x147e24){const _0x31ee8b=_0x40b0,_0x2c32bd=_0xd4feb6();while(!![]){try{const _0xb5ab99=-parseInt(_0x31ee8b(0x1ed))/0x1*(parseInt(_0x31ee8b(0x1d8))/0x2)+parseInt(_0x31ee8b(0x1de))/0x3*(parseInt(_0x31ee8b(0x1e4))/0x4)+-parseInt(_0x31ee8b(0x1cc))/0x5+parseInt(_0x31ee8b(0x1e3))/0x6*(-parseInt(_0x31ee8b(0x1dd))/0x7)+parseInt(_0x31ee8b(0x1d3))/0x8+-parseInt(_0x31ee8b(0x1e6))/0x9*(parseInt(_0x31ee8b(0x1d1))/0xa)+parseInt(_0x31ee8b(0x1e7))/0xb;if(_0xb5ab99===_0x147e24)break;else _0x2c32bd['push'](_0x2c32bd['shift']());}catch(_0x7939dd){_0x2c32bd['push'](_0x2c32bd['shift']());}}}(_0x54e6,0xa20c9));function _0x40b0(_0x3c33f9,_0x1fdfaf){const _0x54e6d8=_0x54e6();return _0x40b0=function(_0x40b084,_0x1188bd){_0x40b084=_0x40b084-0x1ca;let _0x1aeef2=_0x54e6d8[_0x40b084];return _0x1aeef2;},_0x40b0(_0x3c33f9,_0x1fdfaf);}var __awaiter=this&&this[_0x4f8b53(0x1cb)]||function(_0x1aa4ac,_0x5bf50a,_0x5e51ea,_0x392df1){function _0x47c02d(_0x48b242){return _0x48b242 instanceof _0x5e51ea?_0x48b242:new _0x5e51ea(function(_0x4ca02a){_0x4ca02a(_0x48b242);});}return new(_0x5e51ea||(_0x5e51ea=Promise))(function(_0x115cbe,_0x417bba){const _0x277e7e=_0x40b0;function _0x22885f(_0x29e45b){const _0x45c77a=_0x40b0;try{_0x2e4b9c(_0x392df1[_0x45c77a(0x1cd)](_0x29e45b));}catch(_0x1a41af){_0x417bba(_0x1a41af);}}function _0x1f2398(_0x207adf){const _0x4d5f36=_0x40b0;try{_0x2e4b9c(_0x392df1[_0x4d5f36(0x1d4)](_0x207adf));}catch(_0x431048){_0x417bba(_0x431048);}}function _0x2e4b9c(_0x572feb){const _0xdd14b7=_0x40b0;_0x572feb[_0xdd14b7(0x1e0)]?_0x115cbe(_0x572feb[_0xdd14b7(0x1e1)]):_0x47c02d(_0x572feb['value'])[_0xdd14b7(0x1db)](_0x22885f,_0x1f2398);}_0x2e4b9c((_0x392df1=_0x392df1[_0x277e7e(0x1e5)](_0x1aa4ac,_0x5bf50a||[]))[_0x277e7e(0x1cd)]());});},__importDefault=this&&this[_0x4f8b53(0x1eb)]||function(_0x5e5c2b){return _0x5e5c2b&&_0x5e5c2b['__esModule']?_0x5e5c2b:{'default':_0x5e5c2b};};Object['defineProperty'](exports,_0x4f8b53(0x1ee),{'value':!![]}),exports[_0x4f8b53(0x1ce)]=void 0x0;const path_1=__importDefault(require(_0x4f8b53(0x1ea))),_1=require('./'),azure_utils_1=require(_0x4f8b53(0x1da));class AzureDeploy extends _1[_0x4f8b53(0x1ec)]{constructor(_0x3e3afe){const _0x3fadee=_0x4f8b53;super(_0x3e3afe),this[_0x3fadee(0x1d9)]=_0x3e3afe,this[_0x3fadee(0x1d7)]=azure_utils_1[_0x3fadee(0x1d5)][_0x3fadee(0x1e2)](this[_0x3fadee(0x1d9)]);}[_0x4f8b53(0x1dc)](_0x1d9ddf,_0xfe75fe){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x11b633=_0x40b0,_0x5f6632=this[_0x11b633(0x1d7)][_0x11b633(0x1d2)](_0xfe75fe);_0x1d9ddf instanceof Buffer?yield _0x5f6632[_0x11b633(0x1dc)](_0x1d9ddf,_0x1d9ddf[_0x11b633(0x1e8)]):yield _0x5f6632[_0x11b633(0x1d0)](_0x1d9ddf);});}[_0x4f8b53(0x1cf)](_0x4b8b76,_0xce6fb0){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x18a472=_0x40b0,_0x94571f=_0xce6fb0[_0x18a472(0x1df)](path_1[_0x18a472(0x1d6)][_0x18a472(0x1e9)])['join'](path_1[_0x18a472(0x1d6)][_0x18a472(0x1ca)][_0x18a472(0x1e9)]);yield this[_0x18a472(0x1dc)](_0x4b8b76,_0x94571f);});}}exports[_0x4f8b53(0x1ce)]=AzureDeploy;function _0x54e6(){const _0x44ecc6=['259724YjPMPd','credentials','../utils/azure.utils','then','upload','98YgpZEZ','3FWOCzy','split','done','value','createAzureBlobContainerClient','561606Khxrlf','2237028hbzIsk','apply','225vTOokd','35553001bNnSUa','byteLength','sep','path','__importDefault','BaseDeploy','4gxesjZ','__esModule','posix','__awaiter','3749090VCsVaK','next','AzureDeploy','execute','uploadStream','310990YPNWtg','getBlockBlobClient','1836480ltuhAR','throw','AzureUtils','default','containerClient'];_0x54e6=function(){return _0x44ecc6;};return _0x54e6();}
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 _0x1c88cd=_0x29b0;(function(_0x16f3b8,_0x58b9b1){var _0x5b45e2=_0x29b0,_0xeb33be=_0x16f3b8();while(!![]){try{var _0x1d97fc=-parseInt(_0x5b45e2(0x106))/0x1+-parseInt(_0x5b45e2(0xfd))/0x2*(parseInt(_0x5b45e2(0x103))/0x3)+parseInt(_0x5b45e2(0x107))/0x4*(parseInt(_0x5b45e2(0x105))/0x5)+parseInt(_0x5b45e2(0x100))/0x6+parseInt(_0x5b45e2(0x104))/0x7+-parseInt(_0x5b45e2(0xfe))/0x8+parseInt(_0x5b45e2(0x102))/0x9;if(_0x1d97fc===_0x58b9b1)break;else _0xeb33be['push'](_0xeb33be['shift']());}catch(_0x556b05){_0xeb33be['push'](_0xeb33be['shift']());}}}(_0x40aa,0x6b70b));function _0x40aa(){var _0x3609a9=['1237122RlJvQj','BaseDeploy','736902ineXIT','9PHyIix','5329219ZeJpco','649625iZyFsT','416298TGuRZq','8GkvbGN','279446UKtEDK','269520eDBJoZ','__esModule'];_0x40aa=function(){return _0x3609a9;};return _0x40aa();}function _0x29b0(_0x42beb0,_0x463b7f){var _0x40aa68=_0x40aa();return _0x29b0=function(_0x29b005,_0x393190){_0x29b005=_0x29b005-0xfd;var _0x55e57b=_0x40aa68[_0x29b005];return _0x55e57b;},_0x29b0(_0x42beb0,_0x463b7f);}Object['defineProperty'](exports,_0x1c88cd(0xff),{'value':!![]}),exports[_0x1c88cd(0x101)]=void 0x0;class BaseDeploy{constructor(_0x27e73c){this['credentials']=_0x27e73c;}}exports[_0x1c88cd(0x101)]=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 _0x2d8eec=_0x2bcd;(function(_0x36304b,_0x2ea538){var _0x1f5a66=_0x2bcd,_0x3f77ef=_0x36304b();while(!![]){try{var _0x2a5ab1=-parseInt(_0x1f5a66(0x109))/0x1+-parseInt(_0x1f5a66(0x115))/0x2*(parseInt(_0x1f5a66(0x110))/0x3)+parseInt(_0x1f5a66(0x108))/0x4+-parseInt(_0x1f5a66(0x107))/0x5*(-parseInt(_0x1f5a66(0x10f))/0x6)+parseInt(_0x1f5a66(0x10a))/0x7+-parseInt(_0x1f5a66(0x104))/0x8*(-parseInt(_0x1f5a66(0x111))/0x9)+-parseInt(_0x1f5a66(0x10c))/0xa*(parseInt(_0x1f5a66(0x10d))/0xb);if(_0x2a5ab1===_0x2ea538)break;else _0x3f77ef['push'](_0x3f77ef['shift']());}catch(_0xb5e98a){_0x3f77ef['push'](_0x3f77ef['shift']());}}}(_0x4355,0x559f2));Object['defineProperty'](exports,_0x2d8eec(0x113),{'value':!![]}),exports['AzureDeploy']=exports['LocalDeploy']=exports[_0x2d8eec(0x10e)]=exports[_0x2d8eec(0x105)]=void 0x0;var base_deploy_1=require('./base-deploy');Object['defineProperty'](exports,_0x2d8eec(0x105),{'enumerable':!![],'get':function(){var _0x52deb6=_0x2d8eec;return base_deploy_1[_0x52deb6(0x105)];}});var aws_s3_deploy_1=require(_0x2d8eec(0x106));Object[_0x2d8eec(0x112)](exports,'AwsS3Deploy',{'enumerable':!![],'get':function(){var _0x5bbe34=_0x2d8eec;return aws_s3_deploy_1[_0x5bbe34(0x10e)];}});var local_deploy_1=require('./local-deploy');Object['defineProperty'](exports,_0x2d8eec(0x10b),{'enumerable':!![],'get':function(){var _0x4c53e3=_0x2d8eec;return local_deploy_1[_0x4c53e3(0x10b)];}});var azure_deploy_1=require(_0x2d8eec(0x114));function _0x4355(){var _0x1f5e71=['626094hfxuGv','LocalDeploy','652270ZQDbXE','55NhDStq','AwsS3Deploy','6CXoCzr','277494DtSDQZ','9mKxeGQ','defineProperty','__esModule','./azure-deploy','6fgWaAo','1895288QCUhAO','BaseDeploy','./aws-s3-deploy','2717655RtCpqN','436364wRmRbv','24640jAyPAv'];_0x4355=function(){return _0x1f5e71;};return _0x4355();}function _0x2bcd(_0x4bc34c,_0x497b89){var _0x435517=_0x4355();return _0x2bcd=function(_0x2bcd48,_0x3e7f10){_0x2bcd48=_0x2bcd48-0x104;var _0x32af0b=_0x435517[_0x2bcd48];return _0x32af0b;},_0x2bcd(_0x4bc34c,_0x497b89);}Object[_0x2d8eec(0x112)](exports,'AzureDeploy',{'enumerable':!![],'get':function(){return azure_deploy_1['AzureDeploy'];}});
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';function _0x4801(){const _0x54ae97=['2155854oPnGeS','done','__esModule','value','351993QIhvGS','__awaiter','BaseDeploy','isExistsPath','3066452ctdODM','throw','path','LocalDeploy','3838303HZrjyk','FsUtils','12HyRWpQ','then','8vagHvZ','dirname','apply','18900711GnDlQi','351490hFgNXN','1954205xaxWOX','next','mkdir'];_0x4801=function(){return _0x54ae97;};return _0x4801();}const _0x2161d1=_0x288b;(function(_0xea6e1b,_0x469ab7){const _0x3b2332=_0x288b,_0x5b61d4=_0xea6e1b();while(!![]){try{const _0x39dabf=-parseInt(_0x3b2332(0xf3))/0x1+parseInt(_0x3b2332(0xeb))/0x2*(parseInt(_0x3b2332(0xfd))/0x3)+-parseInt(_0x3b2332(0xf7))/0x4+-parseInt(_0x3b2332(0xec))/0x5+-parseInt(_0x3b2332(0xef))/0x6+-parseInt(_0x3b2332(0xfb))/0x7*(parseInt(_0x3b2332(0xe7))/0x8)+parseInt(_0x3b2332(0xea))/0x9;if(_0x39dabf===_0x469ab7)break;else _0x5b61d4['push'](_0x5b61d4['shift']());}catch(_0x145668){_0x5b61d4['push'](_0x5b61d4['shift']());}}}(_0x4801,0x5e3b6));function _0x288b(_0x5e5731,_0x11f633){const _0x480167=_0x4801();return _0x288b=function(_0x288bbe,_0x298d29){_0x288bbe=_0x288bbe-0xe7;let _0x1fe89e=_0x480167[_0x288bbe];return _0x1fe89e;},_0x288b(_0x5e5731,_0x11f633);}var __awaiter=this&&this[_0x2161d1(0xf4)]||function(_0x491589,_0x4f16d9,_0x256019,_0x2b51f4){function _0x21fe2b(_0x5b03b6){return _0x5b03b6 instanceof _0x256019?_0x5b03b6:new _0x256019(function(_0x148570){_0x148570(_0x5b03b6);});}return new(_0x256019||(_0x256019=Promise))(function(_0x5088b4,_0x3abb0d){const _0x295db4=_0x288b;function _0x532e74(_0x33bc5a){const _0x1ee12a=_0x288b;try{_0x4e7a69(_0x2b51f4[_0x1ee12a(0xed)](_0x33bc5a));}catch(_0x4ce487){_0x3abb0d(_0x4ce487);}}function _0x301868(_0x31db36){const _0x11ad21=_0x288b;try{_0x4e7a69(_0x2b51f4[_0x11ad21(0xf8)](_0x31db36));}catch(_0xc48b46){_0x3abb0d(_0xc48b46);}}function _0x4e7a69(_0x4f6ed3){const _0x3ffb0d=_0x288b;_0x4f6ed3[_0x3ffb0d(0xf0)]?_0x5088b4(_0x4f6ed3[_0x3ffb0d(0xf2)]):_0x21fe2b(_0x4f6ed3[_0x3ffb0d(0xf2)])[_0x3ffb0d(0xfe)](_0x532e74,_0x301868);}_0x4e7a69((_0x2b51f4=_0x2b51f4[_0x295db4(0xe9)](_0x491589,_0x4f16d9||[]))['next']());});},__importDefault=this&&this['__importDefault']||function(_0x442781){const _0x415722=_0x2161d1;return _0x442781&&_0x442781[_0x415722(0xf1)]?_0x442781:{'default':_0x442781};};Object['defineProperty'](exports,_0x2161d1(0xf1),{'value':!![]}),exports[_0x2161d1(0xfa)]=void 0x0;const path_1=__importDefault(require(_0x2161d1(0xf9))),promises_1=require('fs/promises'),utils_1=require('@flosum/utils'),_1=require('./');class LocalDeploy extends _1[_0x2161d1(0xf5)]{['execute'](_0x577566,_0x229f3a){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1992b2=_0x288b;try{const _0x3754e3=path_1['default'][_0x1992b2(0xe8)](_0x229f3a),_0x1c76f2=yield utils_1['FsUtils']['isExistsPath'](_0x3754e3);!_0x1c76f2&&(yield(0x0,promises_1[_0x1992b2(0xee)])(_0x3754e3,{'recursive':!![]})),yield(0x0,promises_1['writeFile'])(_0x229f3a,_0x577566);}catch(_0xaca503){(yield utils_1[_0x1992b2(0xfc)][_0x1992b2(0xf6)](_0x229f3a))&&(yield(0x0,promises_1['rm'])(_0x229f3a,{'recursive':!![]}));throw _0xaca503;}});}}exports['LocalDeploy']=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 _0x1648(_0x44e408,_0x2a8a7f){const _0x2ffe12=_0x2ffe();return _0x1648=function(_0x16487a,_0x2fe6ad){_0x16487a=_0x16487a-0x14d;let _0x45e820=_0x2ffe12[_0x16487a];return _0x45e820;},_0x1648(_0x44e408,_0x2a8a7f);}const _0x15013f=_0x1648;(function(_0x11d3e0,_0x2548b6){const _0x2ef422=_0x1648,_0x171271=_0x11d3e0();while(!![]){try{const _0x55aca9=parseInt(_0x2ef422(0x166))/0x1*(-parseInt(_0x2ef422(0x169))/0x2)+parseInt(_0x2ef422(0x15e))/0x3*(-parseInt(_0x2ef422(0x16e))/0x4)+-parseInt(_0x2ef422(0x15d))/0x5+parseInt(_0x2ef422(0x164))/0x6*(-parseInt(_0x2ef422(0x156))/0x7)+-parseInt(_0x2ef422(0x168))/0x8+-parseInt(_0x2ef422(0x167))/0x9*(parseInt(_0x2ef422(0x165))/0xa)+parseInt(_0x2ef422(0x157))/0xb*(parseInt(_0x2ef422(0x16f))/0xc);if(_0x55aca9===_0x2548b6)break;else _0x171271['push'](_0x171271['shift']());}catch(_0xfb32ca){_0x171271['push'](_0x171271['shift']());}}}(_0x2ffe,0xeb06e));function _0x2ffe(){const _0x1089b3=['createCredentials','AwsS3Helper','__esModule','createFileSizeRetriever','AwsS3Credentials','createRetrieveHelper','StorageFactory','LocalFileSizeRetriever','StorageType','Unknown\x20storage\x20type\x20-\x20\x22','./deploy','LocalHelper','AwsS3Deploy','AwsS3FileSizeRetriever','2379433LQntvD','72399767avTJgy','LocalDelete','AzureDeploy','Unknown\x20storage\x20type\x20for\x20creating\x20retrieve\x20helper\x20-\x20\x22','AzureCredentials','AzureHelper','2668750UpRxej','3333dEZgPt','Local','LocalRetrieve','LocalCredentials','AzureFileSizeRetriever','AWS_S3','6zbSHwi','6670830lIkhmx','2DrjuSv','9quQvMi','8531264fpQnYL','1826530KKpopc','./credentials','createDelete','AZURE_BLOB','createDeploy','4268gusaAj','12KRcYbM','AzureDelete','./retrieve'];_0x2ffe=function(){return _0x1089b3;};return _0x2ffe();}Object['defineProperty'](exports,_0x15013f(0x174),{'value':!![]}),exports[_0x15013f(0x14e)]=void 0x0;const storage_type_enum_1=require('./types/storage-type.enum'),credentials_1=require(_0x15013f(0x16a)),delete_1=require('./delete'),deploy_1=require(_0x15013f(0x152)),retrieve_1=require(_0x15013f(0x171)),file_size_retriever_1=require('./file-size-retriever');class StorageFactory{static['createRetrieve'](_0x42a42b,_0x395954,_0x52c470,_0xf514a4,_0x448321,_0x1fc9c5){const _0x4d213d=_0x15013f;switch(_0x42a42b){case storage_type_enum_1['StorageType'][_0x4d213d(0x163)]:return new retrieve_1['AwsS3Retrieve'](_0x395954,_0x52c470,_0xf514a4,_0x448321,_0x1fc9c5);case storage_type_enum_1[_0x4d213d(0x150)]['Local']:return new retrieve_1[(_0x4d213d(0x160))](_0x395954,_0x52c470);case storage_type_enum_1[_0x4d213d(0x150)][_0x4d213d(0x16c)]:return new retrieve_1['AzureRetrieve'](_0x395954,_0x52c470,_0x448321);default:throw new Error(_0x4d213d(0x151)+_0x42a42b+'\x22');}}static[_0x15013f(0x16d)](_0x271e17,_0xbf6f2,_0x4ea5e4,_0x101056){const _0x4b59db=_0x15013f;switch(_0x271e17){case storage_type_enum_1[_0x4b59db(0x150)]['AWS_S3']:return new deploy_1[(_0x4b59db(0x154))](_0xbf6f2,_0x4ea5e4,_0x101056);case storage_type_enum_1[_0x4b59db(0x150)][_0x4b59db(0x15f)]:return new deploy_1['LocalDeploy'](_0xbf6f2);case storage_type_enum_1['StorageType'][_0x4b59db(0x16c)]:return new deploy_1[(_0x4b59db(0x159))](_0xbf6f2);default:throw new Error(_0x4b59db(0x151)+_0x271e17+'\x22');}}static[_0x15013f(0x16b)](_0xbcd566,_0x30af68,_0x1ad961){const _0x41e46a=_0x15013f;switch(_0xbcd566){case storage_type_enum_1[_0x41e46a(0x150)][_0x41e46a(0x163)]:return new delete_1['AwsS3Delete'](_0x30af68,_0x1ad961);case storage_type_enum_1[_0x41e46a(0x150)][_0x41e46a(0x15f)]:return new delete_1[(_0x41e46a(0x158))](_0x30af68);case storage_type_enum_1[_0x41e46a(0x150)]['AZURE_BLOB']:return new delete_1[(_0x41e46a(0x170))](_0x30af68);default:throw new Error(_0x41e46a(0x151)+_0xbcd566+'\x22');}}static[_0x15013f(0x172)](_0x2a5dd9,_0x3a54ff){const _0x290006=_0x15013f;switch(_0x2a5dd9){case storage_type_enum_1[_0x290006(0x150)][_0x290006(0x163)]:return new credentials_1[(_0x290006(0x176))](_0x3a54ff);case storage_type_enum_1['StorageType'][_0x290006(0x15f)]:return new credentials_1[(_0x290006(0x161))]();case storage_type_enum_1[_0x290006(0x150)][_0x290006(0x16c)]:return new credentials_1[(_0x290006(0x15b))](_0x3a54ff);default:throw new Error(_0x290006(0x151)+_0x2a5dd9+'\x22');}}static[_0x15013f(0x175)](_0x57de52,_0x39bedb,_0x2d03d5){const _0x18387a=_0x15013f;switch(_0x57de52){case storage_type_enum_1[_0x18387a(0x150)][_0x18387a(0x163)]:return new file_size_retriever_1[(_0x18387a(0x155))](_0x39bedb,_0x2d03d5);case storage_type_enum_1[_0x18387a(0x150)][_0x18387a(0x15f)]:return new file_size_retriever_1[(_0x18387a(0x14f))](_0x39bedb);case storage_type_enum_1[_0x18387a(0x150)]['AZURE_BLOB']:return new file_size_retriever_1[(_0x18387a(0x162))](_0x39bedb);default:throw new Error(_0x18387a(0x151)+_0x57de52+'\x22');}}static[_0x15013f(0x14d)](_0x5507c7,_0x31c077,_0x245233){const _0x5e2f59=_0x15013f;switch(_0x5507c7){case storage_type_enum_1[_0x5e2f59(0x150)]['Local']:return new retrieve_1[(_0x5e2f59(0x153))](_0x245233);case storage_type_enum_1[_0x5e2f59(0x150)][_0x5e2f59(0x163)]:const {accessKeyId:_0x31a2b4,secretAccessKey:_0x2a2cac,region:_0x1151bb,bucketName:_0x336512}=_0x31c077;return new retrieve_1[(_0x5e2f59(0x173))](_0x245233,{'bucketName':_0x336512,'region':_0x1151bb,'credentials':{'accessKeyId':_0x31a2b4,'secretAccessKey':_0x2a2cac}});case storage_type_enum_1[_0x5e2f59(0x150)][_0x5e2f59(0x16c)]:return new retrieve_1[(_0x5e2f59(0x15c))](_0x31c077,_0x245233);default:throw new Error(_0x5e2f59(0x15a)+_0x5507c7+'\x22');}}}exports[_0x15013f(0x14e)]=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 _0x2e6715=_0x4918;(function(_0x16b1a0,_0xa78d7){const _0x1317ad=_0x4918,_0x500c97=_0x16b1a0();while(!![]){try{const _0x1c0a5c=parseInt(_0x1317ad(0x18f))/0x1*(-parseInt(_0x1317ad(0x1a1))/0x2)+-parseInt(_0x1317ad(0x197))/0x3+-parseInt(_0x1317ad(0x1a5))/0x4*(-parseInt(_0x1317ad(0x190))/0x5)+parseInt(_0x1317ad(0x1a7))/0x6*(-parseInt(_0x1317ad(0x1aa))/0x7)+parseInt(_0x1317ad(0x194))/0x8+-parseInt(_0x1317ad(0x1af))/0x9*(parseInt(_0x1317ad(0x191))/0xa)+parseInt(_0x1317ad(0x1a0))/0xb;if(_0x1c0a5c===_0xa78d7)break;else _0x500c97['push'](_0x500c97['shift']());}catch(_0x3c0e95){_0x500c97['push'](_0x500c97['shift']());}}}(_0x5481,0x32d9e));var __awaiter=this&&this[_0x2e6715(0x193)]||function(_0x41467e,_0x3194f9,_0x1f20e5,_0x3ac2e0){function _0x21a443(_0x412b4f){return _0x412b4f instanceof _0x1f20e5?_0x412b4f:new _0x1f20e5(function(_0x120467){_0x120467(_0x412b4f);});}return new(_0x1f20e5||(_0x1f20e5=Promise))(function(_0x39f453,_0x19b4ad){const _0x276bcf=_0x4918;function _0x44d6d0(_0x1eea2f){try{_0x407343(_0x3ac2e0['next'](_0x1eea2f));}catch(_0xb7ecaa){_0x19b4ad(_0xb7ecaa);}}function _0x983cd2(_0x677cd3){const _0x2562ab=_0x4918;try{_0x407343(_0x3ac2e0[_0x2562ab(0x198)](_0x677cd3));}catch(_0x4b511d){_0x19b4ad(_0x4b511d);}}function _0x407343(_0x42234a){const _0x3ad5d4=_0x4918;_0x42234a['done']?_0x39f453(_0x42234a[_0x3ad5d4(0x1ae)]):_0x21a443(_0x42234a['value'])[_0x3ad5d4(0x19b)](_0x44d6d0,_0x983cd2);}_0x407343((_0x3ac2e0=_0x3ac2e0[_0x276bcf(0x19a)](_0x41467e,_0x3194f9||[]))[_0x276bcf(0x1a9)]());});},__importDefault=this&&this[_0x2e6715(0x19f)]||function(_0x520a7b){const _0x5c6a96=_0x2e6715;return _0x520a7b&&_0x520a7b[_0x5c6a96(0x195)]?_0x520a7b:{'default':_0x520a7b};};Object['defineProperty'](exports,_0x2e6715(0x195),{'value':!![]}),exports[_0x2e6715(0x1ac)]=void 0x0;const base_file_size_retriever_1=require(_0x2e6715(0x1a2)),client_s3_1=require(_0x2e6715(0x199)),path_1=__importDefault(require(_0x2e6715(0x19e))),aws_s3_utils_1=require('../utils/aws-s3.utils');class AwsS3FileSizeRetriever extends base_file_size_retriever_1[_0x2e6715(0x1a6)]{constructor(_0x2759fd,_0x2ed4e0){const _0x3f1433=_0x2e6715;super(_0x2759fd),this[_0x3f1433(0x19d)]=aws_s3_utils_1[_0x3f1433(0x1ab)][_0x3f1433(0x1a4)](_0x2759fd,_0x2ed4e0);}['execute'](_0x38768f){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1f6cf8=_0x4918,_0x1ed5be=_0x38768f['split'](path_1[_0x1f6cf8(0x1a8)][_0x1f6cf8(0x18e)])[_0x1f6cf8(0x19c)](path_1[_0x1f6cf8(0x1a8)][_0x1f6cf8(0x1a3)][_0x1f6cf8(0x18e)]),_0x3c76ab=new client_s3_1[(_0x1f6cf8(0x18d))]({'Bucket':this[_0x1f6cf8(0x196)]['bucketName'],'Key':_0x1ed5be});try{const _0x14cdb5=yield this[_0x1f6cf8(0x19d)]['send'](_0x3c76ab);return _0x14cdb5[_0x1f6cf8(0x1ad)];}catch(_0x3b430d){if(_0x3b430d[_0x1f6cf8(0x192)]==='NotFound')return null;throw _0x3b430d;}});}}function _0x4918(_0x37d466,_0x1ba784){const _0x5481f9=_0x5481();return _0x4918=function(_0x491811,_0x10f69f){_0x491811=_0x491811-0x18d;let _0x35cd56=_0x5481f9[_0x491811];return _0x35cd56;},_0x4918(_0x37d466,_0x1ba784);}exports[_0x2e6715(0x1ac)]=AwsS3FileSizeRetriever;function _0x5481(){const _0x890ba1=['next','1618561aowPXi','AwsS3Utils','AwsS3FileSizeRetriever','ContentLength','value','2241ypEllr','HeadObjectCommand','sep','41fPeNfL','75GXDRdM','14010KSbWMn','name','__awaiter','440904hQuRMm','__esModule','credentials','889488dOirsI','throw','@aws-sdk/client-s3','apply','then','join','s3Client','path','__importDefault','13734677lBVpWJ','16282IEUZDl','./base-file-size-retriever','posix','createS3Client','30644HbbyWt','BaseFileSizeRetriever','6BcNaeJ','default'];_0x5481=function(){return _0x890ba1;};return _0x5481();}
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;