@stacksjs/storage 0.70.16 → 0.70.18
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.
- package/dist/index.js +1037 -517
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -170809,10 +170809,13 @@ var init_checkUrl = __esm(() => {
|
|
|
170809
170809
|
init_dist_es14();
|
|
170810
170810
|
});
|
|
170811
170811
|
|
|
170812
|
+
// ../../../../node_modules/@smithy/is-array-buffer/dist-es/index.js
|
|
170813
|
+
var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|
|
170814
|
+
|
|
170812
170815
|
// ../../../../node_modules/@smithy/util-buffer-from/dist-es/index.js
|
|
170813
170816
|
import { Buffer as Buffer3 } from "node:buffer";
|
|
170814
|
-
var
|
|
170815
|
-
if (!
|
|
170817
|
+
var fromArrayBuffer = (input, offset2 = 0, length = input.byteLength - offset2) => {
|
|
170818
|
+
if (!isArrayBuffer(input)) {
|
|
170816
170819
|
throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`);
|
|
170817
170820
|
}
|
|
170818
170821
|
return Buffer3.from(input, offset2, length);
|
|
@@ -170822,9 +170825,7 @@ var import_is_array_buffer, fromArrayBuffer = (input, offset2 = 0, length = inpu
|
|
|
170822
170825
|
}
|
|
170823
170826
|
return encoding ? Buffer3.from(input, encoding) : Buffer3.from(input);
|
|
170824
170827
|
};
|
|
170825
|
-
var init_dist_es30 =
|
|
170826
|
-
import_is_array_buffer = __toESM(require_dist_cjs5(), 1);
|
|
170827
|
-
});
|
|
170828
|
+
var init_dist_es30 = () => {};
|
|
170828
170829
|
|
|
170829
170830
|
// ../../../../node_modules/@smithy/util-base64/dist-es/fromBase64.js
|
|
170830
170831
|
var BASE64_REGEX, fromBase642 = (input) => {
|
|
@@ -276684,6 +276685,15 @@ var init_WaitlistProduct = __esm(() => {
|
|
|
276684
276685
|
init_base();
|
|
276685
276686
|
});
|
|
276686
276687
|
|
|
276688
|
+
// ../../orm/src/models/WaitlistRestaurant.ts
|
|
276689
|
+
var init_WaitlistRestaurant = __esm(() => {
|
|
276690
|
+
init_src21();
|
|
276691
|
+
init_src4();
|
|
276692
|
+
init_src13();
|
|
276693
|
+
init_src18();
|
|
276694
|
+
init_base();
|
|
276695
|
+
});
|
|
276696
|
+
|
|
276687
276697
|
// ../../orm/src/index.ts
|
|
276688
276698
|
var init_src16 = __esm(() => {
|
|
276689
276699
|
init_AccessToken();
|
|
@@ -276728,6 +276738,7 @@ var init_src16 = __esm(() => {
|
|
|
276728
276738
|
init_Transaction();
|
|
276729
276739
|
init_User();
|
|
276730
276740
|
init_WaitlistProduct();
|
|
276741
|
+
init_WaitlistRestaurant();
|
|
276731
276742
|
});
|
|
276732
276743
|
// ../orm/src/db.ts
|
|
276733
276744
|
class DB {
|
|
@@ -279282,6 +279293,11 @@ var init_routes = __esm(() => {
|
|
|
279282
279293
|
route.get("license-keys/{id}", "LicenseKeyShowOrmAction");
|
|
279283
279294
|
route.patch("license-keys/{id}", "LicenseKeyUpdateOrmAction");
|
|
279284
279295
|
route.delete("license-keys/{id}", "LicenseKeyDestroyOrmAction");
|
|
279296
|
+
route.get("waitlist-restaurants", "WaitlistRestaurantIndexOrmAction");
|
|
279297
|
+
route.post("waitlist-restaurants", "WaitlistRestaurantStoreOrmAction");
|
|
279298
|
+
route.get("waitlist-restaurants/{id}", "WaitlistRestaurantShowOrmAction");
|
|
279299
|
+
route.patch("waitlist-restaurants/{id}", "WaitlistRestaurantUpdateOrmAction");
|
|
279300
|
+
route.delete("waitlist-restaurants/{id}", "WaitlistRestaurantDestroyOrmAction");
|
|
279285
279301
|
route.get("product-reviews", "ReviewIndexOrmAction");
|
|
279286
279302
|
route.post("product-reviews", "ReviewStoreOrmAction");
|
|
279287
279303
|
route.get("product-reviews/{id}", "ReviewShowOrmAction");
|
|
@@ -289319,7 +289335,7 @@ var init_base2 = __esm(() => {
|
|
|
289319
289335
|
});
|
|
289320
289336
|
|
|
289321
289337
|
// ../../../../node_modules/@stripe/stripe-js/dist/index.mjs
|
|
289322
|
-
var ORIGIN = "https://js.stripe.com", STRIPE_JS_URL, V3_URL_REGEX, STRIPE_JS_URL_REGEX, EXISTING_SCRIPT_MESSAGE = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used", isStripeJSURL = function isStripeJSURL2(url2) {
|
|
289338
|
+
var RELEASE_TRAIN = "acacia", ORIGIN = "https://js.stripe.com", STRIPE_JS_URL, V3_URL_REGEX, STRIPE_JS_URL_REGEX, EXISTING_SCRIPT_MESSAGE = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used", isStripeJSURL = function isStripeJSURL2(url2) {
|
|
289323
289339
|
return V3_URL_REGEX.test(url2) || STRIPE_JS_URL_REGEX.test(url2);
|
|
289324
289340
|
}, findScript = function findScript2() {
|
|
289325
289341
|
var scripts = document.querySelectorAll('script[src^="'.concat(ORIGIN, '"]'));
|
|
@@ -289408,7 +289424,7 @@ var ORIGIN = "https://js.stripe.com", STRIPE_JS_URL, V3_URL_REGEX, STRIPE_JS_URL
|
|
|
289408
289424
|
return stripePromise;
|
|
289409
289425
|
};
|
|
289410
289426
|
var init_dist13 = __esm(() => {
|
|
289411
|
-
STRIPE_JS_URL = "".concat(ORIGIN, "/
|
|
289427
|
+
STRIPE_JS_URL = "".concat(ORIGIN, "/").concat(RELEASE_TRAIN, "/stripe.js");
|
|
289412
289428
|
V3_URL_REGEX = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;
|
|
289413
289429
|
STRIPE_JS_URL_REGEX = /^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/;
|
|
289414
289430
|
Promise.resolve().then(function() {
|
|
@@ -295689,10 +295705,8 @@ var hasHeaderWithPrefix = (headerPrefix, headers) => {
|
|
|
295689
295705
|
};
|
|
295690
295706
|
|
|
295691
295707
|
// ../../../../node_modules/@flystorage/aws-s3/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/isStreaming.js
|
|
295692
|
-
var
|
|
295693
|
-
var init_isStreaming =
|
|
295694
|
-
import_is_array_buffer2 = __toESM(require_dist_cjs5(), 1);
|
|
295695
|
-
});
|
|
295708
|
+
var isStreaming = (body) => body !== undefined && typeof body !== "string" && !ArrayBuffer.isView(body) && !isArrayBuffer(body);
|
|
295709
|
+
var init_isStreaming = () => {};
|
|
295696
295710
|
|
|
295697
295711
|
// ../../../../node_modules/tslib/modules/index.js
|
|
295698
295712
|
var import_tslib, __extends, __assign, __rest, __decorate8, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __awaiter3, __generator, __exportStar, __createBinding, __values2, __read, __spread, __spreadArrays, __spreadArray, __await2, __asyncGenerator2, __asyncDelegator2, __asyncValues2, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __addDisposableResource, __disposeResources, __rewriteRelativeImportExtension;
|
|
@@ -298467,7 +298481,7 @@ var init_getCanonicalQuery2 = __esm(() => {
|
|
|
298467
298481
|
});
|
|
298468
298482
|
|
|
298469
298483
|
// ../../../../node_modules/@flystorage/aws-s3/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js
|
|
298470
|
-
var
|
|
298484
|
+
var import_util_hex_encoding3, getPayloadHash = async ({ headers, body }, hashConstructor) => {
|
|
298471
298485
|
for (const headerName of Object.keys(headers)) {
|
|
298472
298486
|
if (headerName.toLowerCase() === SHA256_HEADER) {
|
|
298473
298487
|
return headers[headerName];
|
|
@@ -298475,7 +298489,7 @@ var import_is_array_buffer4, import_util_hex_encoding3, getPayloadHash = async (
|
|
|
298475
298489
|
}
|
|
298476
298490
|
if (body == undefined) {
|
|
298477
298491
|
return "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
|
|
298478
|
-
} else if (typeof body === "string" || ArrayBuffer.isView(body) ||
|
|
298492
|
+
} else if (typeof body === "string" || ArrayBuffer.isView(body) || isArrayBuffer(body)) {
|
|
298479
298493
|
const hashCtor = new hashConstructor;
|
|
298480
298494
|
hashCtor.update(toUint8Array(body));
|
|
298481
298495
|
return import_util_hex_encoding3.toHex(await hashCtor.digest());
|
|
@@ -298483,7 +298497,6 @@ var import_is_array_buffer4, import_util_hex_encoding3, getPayloadHash = async (
|
|
|
298483
298497
|
return UNSIGNED_PAYLOAD;
|
|
298484
298498
|
};
|
|
298485
298499
|
var init_getPayloadHash2 = __esm(() => {
|
|
298486
|
-
import_is_array_buffer4 = __toESM(require_dist_cjs5(), 1);
|
|
298487
298500
|
import_util_hex_encoding3 = __toESM(require_dist_cjs13(), 1);
|
|
298488
298501
|
init_dist_es31();
|
|
298489
298502
|
init_constants9();
|
|
@@ -325121,10 +325134,8 @@ var hasHeaderWithPrefix2 = (headerPrefix, headers) => {
|
|
|
325121
325134
|
};
|
|
325122
325135
|
|
|
325123
325136
|
// ../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/isStreaming.js
|
|
325124
|
-
var
|
|
325125
|
-
var init_isStreaming2 =
|
|
325126
|
-
import_is_array_buffer5 = __toESM(require_dist_cjs5(), 1);
|
|
325127
|
-
});
|
|
325137
|
+
var isStreaming2 = (body) => body !== undefined && typeof body !== "string" && !ArrayBuffer.isView(body) && !isArrayBuffer(body);
|
|
325138
|
+
var init_isStreaming2 = () => {};
|
|
325128
325139
|
|
|
325129
325140
|
// ../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.js
|
|
325130
325141
|
import * as zlib2 from "node:zlib";
|
|
@@ -325759,9 +325770,519 @@ class S3ExpressIdentityProviderImpl2 {
|
|
|
325759
325770
|
}
|
|
325760
325771
|
var init_S3ExpressIdentityProviderImpl2 = () => {};
|
|
325761
325772
|
|
|
325773
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/constants.js
|
|
325774
|
+
var ALGORITHM_QUERY_PARAM2 = "X-Amz-Algorithm", CREDENTIAL_QUERY_PARAM2 = "X-Amz-Credential", AMZ_DATE_QUERY_PARAM3 = "X-Amz-Date", SIGNED_HEADERS_QUERY_PARAM2 = "X-Amz-SignedHeaders", EXPIRES_QUERY_PARAM2 = "X-Amz-Expires", SIGNATURE_QUERY_PARAM3 = "X-Amz-Signature", TOKEN_QUERY_PARAM3 = "X-Amz-Security-Token", AUTH_HEADER2 = "authorization", AMZ_DATE_HEADER3, DATE_HEADER2 = "date", GENERATED_HEADERS2, SIGNATURE_HEADER3, SHA256_HEADER2 = "x-amz-content-sha256", TOKEN_HEADER3, ALWAYS_UNSIGNABLE_HEADERS2, PROXY_HEADER_PATTERN2, SEC_HEADER_PATTERN2, ALGORITHM_IDENTIFIER2 = "AWS4-HMAC-SHA256", EVENT_ALGORITHM_IDENTIFIER2 = "AWS4-HMAC-SHA256-PAYLOAD", UNSIGNED_PAYLOAD2 = "UNSIGNED-PAYLOAD", MAX_CACHE_SIZE2 = 50, KEY_TYPE_IDENTIFIER2 = "aws4_request", MAX_PRESIGNED_TTL3;
|
|
325775
|
+
var init_constants19 = __esm(() => {
|
|
325776
|
+
AMZ_DATE_HEADER3 = AMZ_DATE_QUERY_PARAM3.toLowerCase();
|
|
325777
|
+
GENERATED_HEADERS2 = [AUTH_HEADER2, AMZ_DATE_HEADER3, DATE_HEADER2];
|
|
325778
|
+
SIGNATURE_HEADER3 = SIGNATURE_QUERY_PARAM3.toLowerCase();
|
|
325779
|
+
TOKEN_HEADER3 = TOKEN_QUERY_PARAM3.toLowerCase();
|
|
325780
|
+
ALWAYS_UNSIGNABLE_HEADERS2 = {
|
|
325781
|
+
authorization: true,
|
|
325782
|
+
"cache-control": true,
|
|
325783
|
+
connection: true,
|
|
325784
|
+
expect: true,
|
|
325785
|
+
from: true,
|
|
325786
|
+
"keep-alive": true,
|
|
325787
|
+
"max-forwards": true,
|
|
325788
|
+
pragma: true,
|
|
325789
|
+
referer: true,
|
|
325790
|
+
te: true,
|
|
325791
|
+
trailer: true,
|
|
325792
|
+
"transfer-encoding": true,
|
|
325793
|
+
upgrade: true,
|
|
325794
|
+
"user-agent": true,
|
|
325795
|
+
"x-amzn-trace-id": true
|
|
325796
|
+
};
|
|
325797
|
+
PROXY_HEADER_PATTERN2 = /^proxy-/;
|
|
325798
|
+
SEC_HEADER_PATTERN2 = /^sec-/;
|
|
325799
|
+
MAX_PRESIGNED_TTL3 = 60 * 60 * 24 * 7;
|
|
325800
|
+
});
|
|
325801
|
+
|
|
325802
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/credentialDerivation.js
|
|
325803
|
+
var import_util_hex_encoding8, signingKeyCache2, cacheQueue2, createScope2 = (shortDate, region, service) => `${shortDate}/${region}/${service}/${KEY_TYPE_IDENTIFIER2}`, getSigningKey2 = async (sha256Constructor, credentials, shortDate, region, service) => {
|
|
325804
|
+
const credsHash = await hmac2(sha256Constructor, credentials.secretAccessKey, credentials.accessKeyId);
|
|
325805
|
+
const cacheKey = `${shortDate}:${region}:${service}:${import_util_hex_encoding8.toHex(credsHash)}:${credentials.sessionToken}`;
|
|
325806
|
+
if (cacheKey in signingKeyCache2) {
|
|
325807
|
+
return signingKeyCache2[cacheKey];
|
|
325808
|
+
}
|
|
325809
|
+
cacheQueue2.push(cacheKey);
|
|
325810
|
+
while (cacheQueue2.length > MAX_CACHE_SIZE2) {
|
|
325811
|
+
delete signingKeyCache2[cacheQueue2.shift()];
|
|
325812
|
+
}
|
|
325813
|
+
let key2 = `AWS4${credentials.secretAccessKey}`;
|
|
325814
|
+
for (const signable of [shortDate, region, service, KEY_TYPE_IDENTIFIER2]) {
|
|
325815
|
+
key2 = await hmac2(sha256Constructor, key2, signable);
|
|
325816
|
+
}
|
|
325817
|
+
return signingKeyCache2[cacheKey] = key2;
|
|
325818
|
+
}, hmac2 = (ctor, secret, data3) => {
|
|
325819
|
+
const hash5 = new ctor(secret);
|
|
325820
|
+
hash5.update(toUint8Array(data3));
|
|
325821
|
+
return hash5.digest();
|
|
325822
|
+
};
|
|
325823
|
+
var init_credentialDerivation3 = __esm(() => {
|
|
325824
|
+
import_util_hex_encoding8 = __toESM(require_dist_cjs13(), 1);
|
|
325825
|
+
init_dist_es31();
|
|
325826
|
+
init_constants19();
|
|
325827
|
+
signingKeyCache2 = {};
|
|
325828
|
+
cacheQueue2 = [];
|
|
325829
|
+
});
|
|
325830
|
+
|
|
325831
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js
|
|
325832
|
+
var getCanonicalHeaders2 = ({ headers }, unsignableHeaders, signableHeaders) => {
|
|
325833
|
+
const canonical = {};
|
|
325834
|
+
for (const headerName of Object.keys(headers).sort()) {
|
|
325835
|
+
if (headers[headerName] == undefined) {
|
|
325836
|
+
continue;
|
|
325837
|
+
}
|
|
325838
|
+
const canonicalHeaderName = headerName.toLowerCase();
|
|
325839
|
+
if (canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS2 || unsignableHeaders?.has(canonicalHeaderName) || PROXY_HEADER_PATTERN2.test(canonicalHeaderName) || SEC_HEADER_PATTERN2.test(canonicalHeaderName)) {
|
|
325840
|
+
if (!signableHeaders || signableHeaders && !signableHeaders.has(canonicalHeaderName)) {
|
|
325841
|
+
continue;
|
|
325842
|
+
}
|
|
325843
|
+
}
|
|
325844
|
+
canonical[canonicalHeaderName] = headers[headerName].trim().replace(/\s+/g, " ");
|
|
325845
|
+
}
|
|
325846
|
+
return canonical;
|
|
325847
|
+
};
|
|
325848
|
+
var init_getCanonicalHeaders3 = __esm(() => {
|
|
325849
|
+
init_constants19();
|
|
325850
|
+
});
|
|
325851
|
+
|
|
325852
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js
|
|
325853
|
+
var getCanonicalQuery2 = ({ query: query2 = {} }) => {
|
|
325854
|
+
const keys2 = [];
|
|
325855
|
+
const serialized = {};
|
|
325856
|
+
for (const key2 of Object.keys(query2)) {
|
|
325857
|
+
if (key2.toLowerCase() === SIGNATURE_HEADER3) {
|
|
325858
|
+
continue;
|
|
325859
|
+
}
|
|
325860
|
+
const encodedKey = escapeUri(key2);
|
|
325861
|
+
keys2.push(encodedKey);
|
|
325862
|
+
const value2 = query2[key2];
|
|
325863
|
+
if (typeof value2 === "string") {
|
|
325864
|
+
serialized[encodedKey] = `${encodedKey}=${escapeUri(value2)}`;
|
|
325865
|
+
} else if (Array.isArray(value2)) {
|
|
325866
|
+
serialized[encodedKey] = value2.slice(0).reduce((encoded, value3) => encoded.concat([`${encodedKey}=${escapeUri(value3)}`]), []).sort().join("&");
|
|
325867
|
+
}
|
|
325868
|
+
}
|
|
325869
|
+
return keys2.sort().map((key2) => serialized[key2]).filter((serialized2) => serialized2).join("&");
|
|
325870
|
+
};
|
|
325871
|
+
var init_getCanonicalQuery3 = __esm(() => {
|
|
325872
|
+
init_dist_es27();
|
|
325873
|
+
init_constants19();
|
|
325874
|
+
});
|
|
325875
|
+
|
|
325876
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js
|
|
325877
|
+
var import_util_hex_encoding9, getPayloadHash2 = async ({ headers, body }, hashConstructor) => {
|
|
325878
|
+
for (const headerName of Object.keys(headers)) {
|
|
325879
|
+
if (headerName.toLowerCase() === SHA256_HEADER2) {
|
|
325880
|
+
return headers[headerName];
|
|
325881
|
+
}
|
|
325882
|
+
}
|
|
325883
|
+
if (body == undefined) {
|
|
325884
|
+
return "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
|
|
325885
|
+
} else if (typeof body === "string" || ArrayBuffer.isView(body) || isArrayBuffer(body)) {
|
|
325886
|
+
const hashCtor = new hashConstructor;
|
|
325887
|
+
hashCtor.update(toUint8Array(body));
|
|
325888
|
+
return import_util_hex_encoding9.toHex(await hashCtor.digest());
|
|
325889
|
+
}
|
|
325890
|
+
return UNSIGNED_PAYLOAD2;
|
|
325891
|
+
};
|
|
325892
|
+
var init_getPayloadHash3 = __esm(() => {
|
|
325893
|
+
import_util_hex_encoding9 = __toESM(require_dist_cjs13(), 1);
|
|
325894
|
+
init_dist_es31();
|
|
325895
|
+
init_constants19();
|
|
325896
|
+
});
|
|
325897
|
+
|
|
325898
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js
|
|
325899
|
+
class HeaderFormatter2 {
|
|
325900
|
+
format(headers) {
|
|
325901
|
+
const chunks = [];
|
|
325902
|
+
for (const headerName of Object.keys(headers)) {
|
|
325903
|
+
const bytes3 = fromUtf8(headerName);
|
|
325904
|
+
chunks.push(Uint8Array.from([bytes3.byteLength]), bytes3, this.formatHeaderValue(headers[headerName]));
|
|
325905
|
+
}
|
|
325906
|
+
const out = new Uint8Array(chunks.reduce((carry, bytes3) => carry + bytes3.byteLength, 0));
|
|
325907
|
+
let position = 0;
|
|
325908
|
+
for (const chunk of chunks) {
|
|
325909
|
+
out.set(chunk, position);
|
|
325910
|
+
position += chunk.byteLength;
|
|
325911
|
+
}
|
|
325912
|
+
return out;
|
|
325913
|
+
}
|
|
325914
|
+
formatHeaderValue(header) {
|
|
325915
|
+
switch (header.type) {
|
|
325916
|
+
case "boolean":
|
|
325917
|
+
return Uint8Array.from([header.value ? 0 : 1]);
|
|
325918
|
+
case "byte":
|
|
325919
|
+
return Uint8Array.from([2, header.value]);
|
|
325920
|
+
case "short":
|
|
325921
|
+
const shortView = new DataView(new ArrayBuffer(3));
|
|
325922
|
+
shortView.setUint8(0, 3);
|
|
325923
|
+
shortView.setInt16(1, header.value, false);
|
|
325924
|
+
return new Uint8Array(shortView.buffer);
|
|
325925
|
+
case "integer":
|
|
325926
|
+
const intView = new DataView(new ArrayBuffer(5));
|
|
325927
|
+
intView.setUint8(0, 4);
|
|
325928
|
+
intView.setInt32(1, header.value, false);
|
|
325929
|
+
return new Uint8Array(intView.buffer);
|
|
325930
|
+
case "long":
|
|
325931
|
+
const longBytes = new Uint8Array(9);
|
|
325932
|
+
longBytes[0] = 5;
|
|
325933
|
+
longBytes.set(header.value.bytes, 1);
|
|
325934
|
+
return longBytes;
|
|
325935
|
+
case "binary":
|
|
325936
|
+
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
325937
|
+
binView.setUint8(0, 6);
|
|
325938
|
+
binView.setUint16(1, header.value.byteLength, false);
|
|
325939
|
+
const binBytes = new Uint8Array(binView.buffer);
|
|
325940
|
+
binBytes.set(header.value, 3);
|
|
325941
|
+
return binBytes;
|
|
325942
|
+
case "string":
|
|
325943
|
+
const utf8Bytes = fromUtf8(header.value);
|
|
325944
|
+
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
325945
|
+
strView.setUint8(0, 7);
|
|
325946
|
+
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
325947
|
+
const strBytes = new Uint8Array(strView.buffer);
|
|
325948
|
+
strBytes.set(utf8Bytes, 3);
|
|
325949
|
+
return strBytes;
|
|
325950
|
+
case "timestamp":
|
|
325951
|
+
const tsBytes = new Uint8Array(9);
|
|
325952
|
+
tsBytes[0] = 8;
|
|
325953
|
+
tsBytes.set(Int644.fromNumber(header.value.valueOf()).bytes, 1);
|
|
325954
|
+
return tsBytes;
|
|
325955
|
+
case "uuid":
|
|
325956
|
+
if (!UUID_PATTERN3.test(header.value)) {
|
|
325957
|
+
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
325958
|
+
}
|
|
325959
|
+
const uuidBytes = new Uint8Array(17);
|
|
325960
|
+
uuidBytes[0] = 9;
|
|
325961
|
+
uuidBytes.set(import_util_hex_encoding10.fromHex(header.value.replace(/\-/g, "")), 1);
|
|
325962
|
+
return uuidBytes;
|
|
325963
|
+
}
|
|
325964
|
+
}
|
|
325965
|
+
}
|
|
325966
|
+
|
|
325967
|
+
class Int644 {
|
|
325968
|
+
constructor(bytes3) {
|
|
325969
|
+
this.bytes = bytes3;
|
|
325970
|
+
if (bytes3.byteLength !== 8) {
|
|
325971
|
+
throw new Error("Int64 buffers must be exactly 8 bytes");
|
|
325972
|
+
}
|
|
325973
|
+
}
|
|
325974
|
+
static fromNumber(number2) {
|
|
325975
|
+
if (number2 > 9223372036854776000 || number2 < -9223372036854776000) {
|
|
325976
|
+
throw new Error(`${number2} is too large (or, if negative, too small) to represent as an Int64`);
|
|
325977
|
+
}
|
|
325978
|
+
const bytes3 = new Uint8Array(8);
|
|
325979
|
+
for (let i9 = 7, remaining = Math.abs(Math.round(number2));i9 > -1 && remaining > 0; i9--, remaining /= 256) {
|
|
325980
|
+
bytes3[i9] = remaining;
|
|
325981
|
+
}
|
|
325982
|
+
if (number2 < 0) {
|
|
325983
|
+
negate3(bytes3);
|
|
325984
|
+
}
|
|
325985
|
+
return new Int644(bytes3);
|
|
325986
|
+
}
|
|
325987
|
+
valueOf() {
|
|
325988
|
+
const bytes3 = this.bytes.slice(0);
|
|
325989
|
+
const negative = bytes3[0] & 128;
|
|
325990
|
+
if (negative) {
|
|
325991
|
+
negate3(bytes3);
|
|
325992
|
+
}
|
|
325993
|
+
return parseInt(import_util_hex_encoding10.toHex(bytes3), 16) * (negative ? -1 : 1);
|
|
325994
|
+
}
|
|
325995
|
+
toString() {
|
|
325996
|
+
return String(this.valueOf());
|
|
325997
|
+
}
|
|
325998
|
+
}
|
|
325999
|
+
function negate3(bytes3) {
|
|
326000
|
+
for (let i9 = 0;i9 < 8; i9++) {
|
|
326001
|
+
bytes3[i9] ^= 255;
|
|
326002
|
+
}
|
|
326003
|
+
for (let i9 = 7;i9 > -1; i9--) {
|
|
326004
|
+
bytes3[i9]++;
|
|
326005
|
+
if (bytes3[i9] !== 0)
|
|
326006
|
+
break;
|
|
326007
|
+
}
|
|
326008
|
+
}
|
|
326009
|
+
var import_util_hex_encoding10, HEADER_VALUE_TYPE4, UUID_PATTERN3;
|
|
326010
|
+
var init_HeaderFormatter3 = __esm(() => {
|
|
326011
|
+
import_util_hex_encoding10 = __toESM(require_dist_cjs13(), 1);
|
|
326012
|
+
init_dist_es31();
|
|
326013
|
+
(function(HEADER_VALUE_TYPE5) {
|
|
326014
|
+
HEADER_VALUE_TYPE5[HEADER_VALUE_TYPE5["boolTrue"] = 0] = "boolTrue";
|
|
326015
|
+
HEADER_VALUE_TYPE5[HEADER_VALUE_TYPE5["boolFalse"] = 1] = "boolFalse";
|
|
326016
|
+
HEADER_VALUE_TYPE5[HEADER_VALUE_TYPE5["byte"] = 2] = "byte";
|
|
326017
|
+
HEADER_VALUE_TYPE5[HEADER_VALUE_TYPE5["short"] = 3] = "short";
|
|
326018
|
+
HEADER_VALUE_TYPE5[HEADER_VALUE_TYPE5["integer"] = 4] = "integer";
|
|
326019
|
+
HEADER_VALUE_TYPE5[HEADER_VALUE_TYPE5["long"] = 5] = "long";
|
|
326020
|
+
HEADER_VALUE_TYPE5[HEADER_VALUE_TYPE5["byteArray"] = 6] = "byteArray";
|
|
326021
|
+
HEADER_VALUE_TYPE5[HEADER_VALUE_TYPE5["string"] = 7] = "string";
|
|
326022
|
+
HEADER_VALUE_TYPE5[HEADER_VALUE_TYPE5["timestamp"] = 8] = "timestamp";
|
|
326023
|
+
HEADER_VALUE_TYPE5[HEADER_VALUE_TYPE5["uuid"] = 9] = "uuid";
|
|
326024
|
+
})(HEADER_VALUE_TYPE4 || (HEADER_VALUE_TYPE4 = {}));
|
|
326025
|
+
UUID_PATTERN3 = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
326026
|
+
});
|
|
326027
|
+
|
|
326028
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/headerUtil.js
|
|
326029
|
+
var hasHeader4 = (soughtHeader, headers) => {
|
|
326030
|
+
soughtHeader = soughtHeader.toLowerCase();
|
|
326031
|
+
for (const headerName of Object.keys(headers)) {
|
|
326032
|
+
if (soughtHeader === headerName.toLowerCase()) {
|
|
326033
|
+
return true;
|
|
326034
|
+
}
|
|
326035
|
+
}
|
|
326036
|
+
return false;
|
|
326037
|
+
};
|
|
326038
|
+
|
|
326039
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js
|
|
326040
|
+
var moveHeadersToQuery2 = (request7, options2 = {}) => {
|
|
326041
|
+
const { headers, query: query2 = {} } = HttpRequest.clone(request7);
|
|
326042
|
+
for (const name2 of Object.keys(headers)) {
|
|
326043
|
+
const lname = name2.toLowerCase();
|
|
326044
|
+
if (lname.slice(0, 6) === "x-amz-" && !options2.unhoistableHeaders?.has(lname) || options2.hoistableHeaders?.has(lname)) {
|
|
326045
|
+
query2[name2] = headers[name2];
|
|
326046
|
+
delete headers[name2];
|
|
326047
|
+
}
|
|
326048
|
+
}
|
|
326049
|
+
return {
|
|
326050
|
+
...request7,
|
|
326051
|
+
headers,
|
|
326052
|
+
query: query2
|
|
326053
|
+
};
|
|
326054
|
+
};
|
|
326055
|
+
var init_moveHeadersToQuery3 = __esm(() => {
|
|
326056
|
+
init_dist_es();
|
|
326057
|
+
});
|
|
326058
|
+
|
|
326059
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/prepareRequest.js
|
|
326060
|
+
var prepareRequest2 = (request7) => {
|
|
326061
|
+
request7 = HttpRequest.clone(request7);
|
|
326062
|
+
for (const headerName of Object.keys(request7.headers)) {
|
|
326063
|
+
if (GENERATED_HEADERS2.indexOf(headerName.toLowerCase()) > -1) {
|
|
326064
|
+
delete request7.headers[headerName];
|
|
326065
|
+
}
|
|
326066
|
+
}
|
|
326067
|
+
return request7;
|
|
326068
|
+
};
|
|
326069
|
+
var init_prepareRequest3 = __esm(() => {
|
|
326070
|
+
init_dist_es();
|
|
326071
|
+
init_constants19();
|
|
326072
|
+
});
|
|
326073
|
+
|
|
326074
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/utilDate.js
|
|
326075
|
+
var iso86013 = (time) => toDate2(time).toISOString().replace(/\.\d{3}Z$/, "Z"), toDate2 = (time) => {
|
|
326076
|
+
if (typeof time === "number") {
|
|
326077
|
+
return new Date(time * 1000);
|
|
326078
|
+
}
|
|
326079
|
+
if (typeof time === "string") {
|
|
326080
|
+
if (Number(time)) {
|
|
326081
|
+
return new Date(Number(time) * 1000);
|
|
326082
|
+
}
|
|
326083
|
+
return new Date(time);
|
|
326084
|
+
}
|
|
326085
|
+
return time;
|
|
326086
|
+
};
|
|
326087
|
+
|
|
326088
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/SignatureV4.js
|
|
326089
|
+
class SignatureV43 {
|
|
326090
|
+
constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true }) {
|
|
326091
|
+
this.headerFormatter = new HeaderFormatter2;
|
|
326092
|
+
this.service = service;
|
|
326093
|
+
this.sha256 = sha256;
|
|
326094
|
+
this.uriEscapePath = uriEscapePath;
|
|
326095
|
+
this.applyChecksum = typeof applyChecksum === "boolean" ? applyChecksum : true;
|
|
326096
|
+
this.regionProvider = normalizeProvider2(region);
|
|
326097
|
+
this.credentialProvider = normalizeProvider2(credentials);
|
|
326098
|
+
}
|
|
326099
|
+
async presign(originalRequest, options2 = {}) {
|
|
326100
|
+
const { signingDate = new Date, expiresIn = 3600, unsignableHeaders, unhoistableHeaders, signableHeaders, hoistableHeaders, signingRegion, signingService } = options2;
|
|
326101
|
+
const credentials = await this.credentialProvider();
|
|
326102
|
+
this.validateResolvedCredentials(credentials);
|
|
326103
|
+
const region = signingRegion ?? await this.regionProvider();
|
|
326104
|
+
const { longDate, shortDate } = formatDate2(signingDate);
|
|
326105
|
+
if (expiresIn > MAX_PRESIGNED_TTL3) {
|
|
326106
|
+
return Promise.reject("Signature version 4 presigned URLs" + " must have an expiration date less than one week in" + " the future");
|
|
326107
|
+
}
|
|
326108
|
+
const scope = createScope2(shortDate, region, signingService ?? this.service);
|
|
326109
|
+
const request7 = moveHeadersToQuery2(prepareRequest2(originalRequest), { unhoistableHeaders, hoistableHeaders });
|
|
326110
|
+
if (credentials.sessionToken) {
|
|
326111
|
+
request7.query[TOKEN_QUERY_PARAM3] = credentials.sessionToken;
|
|
326112
|
+
}
|
|
326113
|
+
request7.query[ALGORITHM_QUERY_PARAM2] = ALGORITHM_IDENTIFIER2;
|
|
326114
|
+
request7.query[CREDENTIAL_QUERY_PARAM2] = `${credentials.accessKeyId}/${scope}`;
|
|
326115
|
+
request7.query[AMZ_DATE_QUERY_PARAM3] = longDate;
|
|
326116
|
+
request7.query[EXPIRES_QUERY_PARAM2] = expiresIn.toString(10);
|
|
326117
|
+
const canonicalHeaders = getCanonicalHeaders2(request7, unsignableHeaders, signableHeaders);
|
|
326118
|
+
request7.query[SIGNED_HEADERS_QUERY_PARAM2] = getCanonicalHeaderList2(canonicalHeaders);
|
|
326119
|
+
request7.query[SIGNATURE_QUERY_PARAM3] = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request7, canonicalHeaders, await getPayloadHash2(originalRequest, this.sha256)));
|
|
326120
|
+
return request7;
|
|
326121
|
+
}
|
|
326122
|
+
async sign(toSign, options2) {
|
|
326123
|
+
if (typeof toSign === "string") {
|
|
326124
|
+
return this.signString(toSign, options2);
|
|
326125
|
+
} else if (toSign.headers && toSign.payload) {
|
|
326126
|
+
return this.signEvent(toSign, options2);
|
|
326127
|
+
} else if (toSign.message) {
|
|
326128
|
+
return this.signMessage(toSign, options2);
|
|
326129
|
+
} else {
|
|
326130
|
+
return this.signRequest(toSign, options2);
|
|
326131
|
+
}
|
|
326132
|
+
}
|
|
326133
|
+
async signEvent({ headers, payload }, { signingDate = new Date, priorSignature, signingRegion, signingService }) {
|
|
326134
|
+
const region = signingRegion ?? await this.regionProvider();
|
|
326135
|
+
const { shortDate, longDate } = formatDate2(signingDate);
|
|
326136
|
+
const scope = createScope2(shortDate, region, signingService ?? this.service);
|
|
326137
|
+
const hashedPayload = await getPayloadHash2({ headers: {}, body: payload }, this.sha256);
|
|
326138
|
+
const hash5 = new this.sha256;
|
|
326139
|
+
hash5.update(headers);
|
|
326140
|
+
const hashedHeaders = import_util_hex_encoding11.toHex(await hash5.digest());
|
|
326141
|
+
const stringToSign = [
|
|
326142
|
+
EVENT_ALGORITHM_IDENTIFIER2,
|
|
326143
|
+
longDate,
|
|
326144
|
+
scope,
|
|
326145
|
+
priorSignature,
|
|
326146
|
+
hashedHeaders,
|
|
326147
|
+
hashedPayload
|
|
326148
|
+
].join(`
|
|
326149
|
+
`);
|
|
326150
|
+
return this.signString(stringToSign, { signingDate, signingRegion: region, signingService });
|
|
326151
|
+
}
|
|
326152
|
+
async signMessage(signableMessage, { signingDate = new Date, signingRegion, signingService }) {
|
|
326153
|
+
const promise3 = this.signEvent({
|
|
326154
|
+
headers: this.headerFormatter.format(signableMessage.message.headers),
|
|
326155
|
+
payload: signableMessage.message.body
|
|
326156
|
+
}, {
|
|
326157
|
+
signingDate,
|
|
326158
|
+
signingRegion,
|
|
326159
|
+
signingService,
|
|
326160
|
+
priorSignature: signableMessage.priorSignature
|
|
326161
|
+
});
|
|
326162
|
+
return promise3.then((signature) => {
|
|
326163
|
+
return { message: signableMessage.message, signature };
|
|
326164
|
+
});
|
|
326165
|
+
}
|
|
326166
|
+
async signString(stringToSign, { signingDate = new Date, signingRegion, signingService } = {}) {
|
|
326167
|
+
const credentials = await this.credentialProvider();
|
|
326168
|
+
this.validateResolvedCredentials(credentials);
|
|
326169
|
+
const region = signingRegion ?? await this.regionProvider();
|
|
326170
|
+
const { shortDate } = formatDate2(signingDate);
|
|
326171
|
+
const hash5 = new this.sha256(await this.getSigningKey(credentials, region, shortDate, signingService));
|
|
326172
|
+
hash5.update(toUint8Array(stringToSign));
|
|
326173
|
+
return import_util_hex_encoding11.toHex(await hash5.digest());
|
|
326174
|
+
}
|
|
326175
|
+
async signRequest(requestToSign, { signingDate = new Date, signableHeaders, unsignableHeaders, signingRegion, signingService } = {}) {
|
|
326176
|
+
const credentials = await this.credentialProvider();
|
|
326177
|
+
this.validateResolvedCredentials(credentials);
|
|
326178
|
+
const region = signingRegion ?? await this.regionProvider();
|
|
326179
|
+
const request7 = prepareRequest2(requestToSign);
|
|
326180
|
+
const { longDate, shortDate } = formatDate2(signingDate);
|
|
326181
|
+
const scope = createScope2(shortDate, region, signingService ?? this.service);
|
|
326182
|
+
request7.headers[AMZ_DATE_HEADER3] = longDate;
|
|
326183
|
+
if (credentials.sessionToken) {
|
|
326184
|
+
request7.headers[TOKEN_HEADER3] = credentials.sessionToken;
|
|
326185
|
+
}
|
|
326186
|
+
const payloadHash = await getPayloadHash2(request7, this.sha256);
|
|
326187
|
+
if (!hasHeader4(SHA256_HEADER2, request7.headers) && this.applyChecksum) {
|
|
326188
|
+
request7.headers[SHA256_HEADER2] = payloadHash;
|
|
326189
|
+
}
|
|
326190
|
+
const canonicalHeaders = getCanonicalHeaders2(request7, unsignableHeaders, signableHeaders);
|
|
326191
|
+
const signature = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request7, canonicalHeaders, payloadHash));
|
|
326192
|
+
request7.headers[AUTH_HEADER2] = `${ALGORITHM_IDENTIFIER2} ` + `Credential=${credentials.accessKeyId}/${scope}, ` + `SignedHeaders=${getCanonicalHeaderList2(canonicalHeaders)}, ` + `Signature=${signature}`;
|
|
326193
|
+
return request7;
|
|
326194
|
+
}
|
|
326195
|
+
createCanonicalRequest(request7, canonicalHeaders, payloadHash) {
|
|
326196
|
+
const sortedHeaders = Object.keys(canonicalHeaders).sort();
|
|
326197
|
+
return `${request7.method}
|
|
326198
|
+
${this.getCanonicalPath(request7)}
|
|
326199
|
+
${getCanonicalQuery2(request7)}
|
|
326200
|
+
${sortedHeaders.map((name2) => `${name2}:${canonicalHeaders[name2]}`).join(`
|
|
326201
|
+
`)}
|
|
326202
|
+
|
|
326203
|
+
${sortedHeaders.join(";")}
|
|
326204
|
+
${payloadHash}`;
|
|
326205
|
+
}
|
|
326206
|
+
async createStringToSign(longDate, credentialScope, canonicalRequest) {
|
|
326207
|
+
const hash5 = new this.sha256;
|
|
326208
|
+
hash5.update(toUint8Array(canonicalRequest));
|
|
326209
|
+
const hashedRequest = await hash5.digest();
|
|
326210
|
+
return `${ALGORITHM_IDENTIFIER2}
|
|
326211
|
+
${longDate}
|
|
326212
|
+
${credentialScope}
|
|
326213
|
+
${import_util_hex_encoding11.toHex(hashedRequest)}`;
|
|
326214
|
+
}
|
|
326215
|
+
getCanonicalPath({ path: path13 }) {
|
|
326216
|
+
if (this.uriEscapePath) {
|
|
326217
|
+
const normalizedPathSegments = [];
|
|
326218
|
+
for (const pathSegment of path13.split("/")) {
|
|
326219
|
+
if (pathSegment?.length === 0)
|
|
326220
|
+
continue;
|
|
326221
|
+
if (pathSegment === ".")
|
|
326222
|
+
continue;
|
|
326223
|
+
if (pathSegment === "..") {
|
|
326224
|
+
normalizedPathSegments.pop();
|
|
326225
|
+
} else {
|
|
326226
|
+
normalizedPathSegments.push(pathSegment);
|
|
326227
|
+
}
|
|
326228
|
+
}
|
|
326229
|
+
const normalizedPath = `${path13?.startsWith("/") ? "/" : ""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length > 0 && path13?.endsWith("/") ? "/" : ""}`;
|
|
326230
|
+
const doubleEncoded = escapeUri(normalizedPath);
|
|
326231
|
+
return doubleEncoded.replace(/%2F/g, "/");
|
|
326232
|
+
}
|
|
326233
|
+
return path13;
|
|
326234
|
+
}
|
|
326235
|
+
async getSignature(longDate, credentialScope, keyPromise, canonicalRequest) {
|
|
326236
|
+
const stringToSign = await this.createStringToSign(longDate, credentialScope, canonicalRequest);
|
|
326237
|
+
const hash5 = new this.sha256(await keyPromise);
|
|
326238
|
+
hash5.update(toUint8Array(stringToSign));
|
|
326239
|
+
return import_util_hex_encoding11.toHex(await hash5.digest());
|
|
326240
|
+
}
|
|
326241
|
+
getSigningKey(credentials, region, shortDate, service) {
|
|
326242
|
+
return getSigningKey2(this.sha256, credentials, shortDate, region, service || this.service);
|
|
326243
|
+
}
|
|
326244
|
+
validateResolvedCredentials(credentials) {
|
|
326245
|
+
if (typeof credentials !== "object" || typeof credentials.accessKeyId !== "string" || typeof credentials.secretAccessKey !== "string") {
|
|
326246
|
+
throw new Error("Resolved credential object is not valid");
|
|
326247
|
+
}
|
|
326248
|
+
}
|
|
326249
|
+
}
|
|
326250
|
+
var import_util_hex_encoding11, formatDate2 = (now2) => {
|
|
326251
|
+
const longDate = iso86013(now2).replace(/[\-:]/g, "");
|
|
326252
|
+
return {
|
|
326253
|
+
longDate,
|
|
326254
|
+
shortDate: longDate.slice(0, 8)
|
|
326255
|
+
};
|
|
326256
|
+
}, getCanonicalHeaderList2 = (headers) => Object.keys(headers).sort().join(";");
|
|
326257
|
+
var init_SignatureV43 = __esm(() => {
|
|
326258
|
+
import_util_hex_encoding11 = __toESM(require_dist_cjs13(), 1);
|
|
326259
|
+
init_dist_es11();
|
|
326260
|
+
init_dist_es27();
|
|
326261
|
+
init_dist_es31();
|
|
326262
|
+
init_constants19();
|
|
326263
|
+
init_credentialDerivation3();
|
|
326264
|
+
init_getCanonicalHeaders3();
|
|
326265
|
+
init_getCanonicalQuery3();
|
|
326266
|
+
init_getPayloadHash3();
|
|
326267
|
+
init_HeaderFormatter3();
|
|
326268
|
+
init_moveHeadersToQuery3();
|
|
326269
|
+
init_prepareRequest3();
|
|
326270
|
+
});
|
|
326271
|
+
|
|
326272
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/index.js
|
|
326273
|
+
var init_dist_es129 = __esm(() => {
|
|
326274
|
+
init_SignatureV43();
|
|
326275
|
+
init_getCanonicalHeaders3();
|
|
326276
|
+
init_getCanonicalQuery3();
|
|
326277
|
+
init_getPayloadHash3();
|
|
326278
|
+
init_moveHeadersToQuery3();
|
|
326279
|
+
init_prepareRequest3();
|
|
326280
|
+
init_credentialDerivation3();
|
|
326281
|
+
});
|
|
326282
|
+
|
|
325762
326283
|
// ../../../../node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/constants.js
|
|
325763
326284
|
var S3_EXPRESS_BUCKET_TYPE2 = "Directory", S3_EXPRESS_BACKEND2 = "S3Express", S3_EXPRESS_AUTH_SCHEME2 = "sigv4-s3express", SESSION_TOKEN_QUERY_PARAM2 = "X-Amz-S3session-Token", SESSION_TOKEN_HEADER2, NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_ENV_NAME2 = "AWS_S3_DISABLE_EXPRESS_SESSION_AUTH", NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_INI_NAME2 = "s3_disable_express_session_auth", NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS2;
|
|
325764
|
-
var
|
|
326285
|
+
var init_constants20 = __esm(() => {
|
|
325765
326286
|
init_dist_es10();
|
|
325766
326287
|
SESSION_TOKEN_HEADER2 = SESSION_TOKEN_QUERY_PARAM2.toLowerCase();
|
|
325767
326288
|
NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS2 = {
|
|
@@ -325792,11 +326313,11 @@ function setSingleOverride2(privateAccess, credentialsWithoutSessionToken) {
|
|
|
325792
326313
|
};
|
|
325793
326314
|
privateAccess.credentialProvider = overrideCredentialsProviderOnce;
|
|
325794
326315
|
}
|
|
325795
|
-
var
|
|
326316
|
+
var SignatureV4S3Express2;
|
|
325796
326317
|
var init_SignatureV4S3Express2 = __esm(() => {
|
|
325797
|
-
|
|
325798
|
-
|
|
325799
|
-
SignatureV4S3Express2 = class SignatureV4S3Express2 extends
|
|
326318
|
+
init_dist_es129();
|
|
326319
|
+
init_constants20();
|
|
326320
|
+
SignatureV4S3Express2 = class SignatureV4S3Express2 extends SignatureV43 {
|
|
325800
326321
|
async signWithCredentials(requestToSign, credentials, options2) {
|
|
325801
326322
|
const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken2(credentials);
|
|
325802
326323
|
requestToSign.headers[SESSION_TOKEN_HEADER2] = credentials.sessionToken;
|
|
@@ -325851,7 +326372,7 @@ var import_core55, s3ExpressMiddleware2 = (options2) => {
|
|
|
325851
326372
|
var init_s3ExpressMiddleware2 = __esm(() => {
|
|
325852
326373
|
import_core55 = __toESM(require_dist_cjs20(), 1);
|
|
325853
326374
|
init_dist_es();
|
|
325854
|
-
|
|
326375
|
+
init_constants20();
|
|
325855
326376
|
s3ExpressMiddlewareOptions2 = {
|
|
325856
326377
|
name: "s3ExpressMiddleware",
|
|
325857
326378
|
step: "build",
|
|
@@ -325910,7 +326431,7 @@ var init_s3ExpressHttpSigningMiddleware2 = __esm(() => {
|
|
|
325910
326431
|
var init_s3_express2 = __esm(() => {
|
|
325911
326432
|
init_S3ExpressIdentityProviderImpl2();
|
|
325912
326433
|
init_SignatureV4S3Express2();
|
|
325913
|
-
|
|
326434
|
+
init_constants20();
|
|
325914
326435
|
init_s3ExpressMiddleware2();
|
|
325915
326436
|
init_s3ExpressHttpSigningMiddleware2();
|
|
325916
326437
|
});
|
|
@@ -326068,7 +326589,7 @@ var init_validate_bucket_name2 = __esm(() => {
|
|
|
326068
326589
|
});
|
|
326069
326590
|
|
|
326070
326591
|
// ../../../../node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js
|
|
326071
|
-
var
|
|
326592
|
+
var init_dist_es130 = __esm(() => {
|
|
326072
326593
|
init_check_content_length_header2();
|
|
326073
326594
|
init_region_redirect_endpoint_middleware2();
|
|
326074
326595
|
init_region_redirect_middleware2();
|
|
@@ -326085,7 +326606,7 @@ var resolveEventStreamSerdeConfig2 = (input) => Object.assign(input, {
|
|
|
326085
326606
|
});
|
|
326086
326607
|
|
|
326087
326608
|
// ../../../../node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js
|
|
326088
|
-
var
|
|
326609
|
+
var init_dist_es131 = () => {};
|
|
326089
326610
|
|
|
326090
326611
|
// ../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-es/signature-v4-crt-container.js
|
|
326091
326612
|
var signatureV4CrtContainer2;
|
|
@@ -326157,12 +326678,12 @@ class SignatureV4MultiRegion3 {
|
|
|
326157
326678
|
}
|
|
326158
326679
|
}
|
|
326159
326680
|
var init_SignatureV4MultiRegion2 = __esm(() => {
|
|
326160
|
-
|
|
326681
|
+
init_dist_es130();
|
|
326161
326682
|
init_signature_v4_crt_container2();
|
|
326162
326683
|
});
|
|
326163
326684
|
|
|
326164
326685
|
// ../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-es/index.js
|
|
326165
|
-
var
|
|
326686
|
+
var init_dist_es133 = __esm(() => {
|
|
326166
326687
|
init_SignatureV4MultiRegion2();
|
|
326167
326688
|
init_signature_v4_crt_container2();
|
|
326168
326689
|
});
|
|
@@ -326432,7 +326953,7 @@ var import_core57, createEndpointRuleSetHttpAuthSchemeParametersProvider2 = (def
|
|
|
326432
326953
|
};
|
|
326433
326954
|
var init_httpAuthSchemeProvider5 = __esm(() => {
|
|
326434
326955
|
import_core57 = __toESM(require_dist_cjs20(), 1);
|
|
326435
|
-
|
|
326956
|
+
init_dist_es133();
|
|
326436
326957
|
init_dist_es19();
|
|
326437
326958
|
init_dist_es11();
|
|
326438
326959
|
init_endpointResolver5();
|
|
@@ -326835,7 +327356,7 @@ var init_XmlNode2 = __esm(() => {
|
|
|
326835
327356
|
});
|
|
326836
327357
|
|
|
326837
327358
|
// ../../../../node_modules/@aws-sdk/xml-builder/dist-es/index.js
|
|
326838
|
-
var
|
|
327359
|
+
var init_dist_es135 = __esm(() => {
|
|
326839
327360
|
init_XmlNode2();
|
|
326840
327361
|
init_XmlText2();
|
|
326841
327362
|
});
|
|
@@ -333307,7 +333828,7 @@ var import_core58, import_core59, se_AbortMultipartUploadCommand2 = async (input
|
|
|
333307
333828
|
}), collectBodyString3 = (streamBody, context) => import_protocols.collectBody(streamBody, context).then((body) => context.utf8Encoder(body)), _A2 = "And", _AAO2 = "AnalyticsAndOperator", _AC2 = "AnalyticsConfiguration", _ACL2 = "ACL", _ACLc2 = "AccessControlList", _ACLn2 = "AnalyticsConfigurationList", _ACP2 = "AccessControlPolicy", _ACT2 = "AccessControlTranslation", _ACc2 = "AccelerateConfiguration", _AD2 = "AbortDate", _AED2 = "AnalyticsExportDestination", _AF2 = "AnalyticsFilter", _AH2 = "AllowedHeader", _AHl2 = "AllowedHeaders", _AI2 = "AnalyticsId", _AIMU2 = "AbortIncompleteMultipartUpload", _AIc2 = "AccountId", _AKI2 = "AccessKeyId", _AM2 = "AllowedMethod", _AMl2 = "AllowedMethods", _AO2 = "AllowedOrigin", _AOl2 = "AllowedOrigins", _APA2 = "AccessPointAlias", _APAc2 = "AccessPointArn", _AQRD2 = "AllowQuotedRecordDelimiter", _AR2 = "AcceptRanges", _ARI2 = "AbortRuleId", _AS2 = "ArchiveStatus", _ASBD2 = "AnalyticsS3BucketDestination", _ASEFF2 = "AnalyticsS3ExportFileFormat", _ASSEBD2 = "ApplyServerSideEncryptionByDefault", _AT2 = "AccessTier", _Ac2 = "Account", _B2 = "Bucket", _BAI2 = "BucketAccountId", _BAS2 = "BucketAccelerateStatus", _BGR2 = "BypassGovernanceRetention", _BI2 = "BucketInfo", _BKE2 = "BucketKeyEnabled", _BLC2 = "BucketLifecycleConfiguration", _BLCu2 = "BucketLocationConstraint", _BLN2 = "BucketLocationName", _BLP2 = "BucketLogsPermission", _BLS2 = "BucketLoggingStatus", _BLT2 = "BucketLocationType", _BN2 = "BucketName", _BP2 = "BytesProcessed", _BPA2 = "BlockPublicAcls", _BPP2 = "BlockPublicPolicy", _BR2 = "BucketRegion", _BRy2 = "BytesReturned", _BS2 = "BytesScanned", _BT2 = "BucketType", _BVS2 = "BucketVersioningStatus", _Bu2 = "Buckets", _C2 = "Credentials", _CA2 = "ChecksumAlgorithm", _CACL2 = "CannedACL", _CBC2 = "CreateBucketConfiguration", _CC2 = "CacheControl", _CCRC2 = "ChecksumCRC32", _CCRCC2 = "ChecksumCRC32C", _CCRCNVME2 = "ChecksumCRC64NVME", _CD2 = "ContentDisposition", _CDr2 = "CreationDate", _CE2 = "ContentEncoding", _CF2 = "CloudFunction", _CFC2 = "CloudFunctionConfiguration", _CL2 = "ContentLanguage", _CLo2 = "ContentLength", _CM2 = "ChecksumMode", _CMD2 = "ContentMD5", _CMU2 = "CompletedMultipartUpload", _CORSC2 = "CORSConfiguration", _CORSR2 = "CORSRule", _CORSRu2 = "CORSRules", _CP2 = "CommonPrefixes", _CPo2 = "CompletedPart", _CR2 = "ContentRange", _CRSBA2 = "ConfirmRemoveSelfBucketAccess", _CS2 = "CopySource", _CSHA2 = "ChecksumSHA1", _CSHAh2 = "ChecksumSHA256", _CSIM2 = "CopySourceIfMatch", _CSIMS2 = "CopySourceIfModifiedSince", _CSINM2 = "CopySourceIfNoneMatch", _CSIUS2 = "CopySourceIfUnmodifiedSince", _CSR2 = "CopySourceRange", _CSSSECA2 = "CopySourceSSECustomerAlgorithm", _CSSSECK2 = "CopySourceSSECustomerKey", _CSSSECKMD2 = "CopySourceSSECustomerKeyMD5", _CSV2 = "CSV", _CSVI2 = "CopySourceVersionId", _CSVIn2 = "CSVInput", _CSVO2 = "CSVOutput", _CT2 = "ChecksumType", _CTo2 = "ContentType", _CTom2 = "CompressionType", _CTon2 = "ContinuationToken", _Ch2 = "Checksum", _Co2 = "Contents", _Cod2 = "Code", _Com2 = "Comments", _Con2 = "Condition", _D2 = "Delimiter", _DAI2 = "DaysAfterInitiation", _DE2 = "DataExport", _DM2 = "DeleteMarker", _DMR2 = "DeleteMarkerReplication", _DMRS2 = "DeleteMarkerReplicationStatus", _DMVI2 = "DeleteMarkerVersionId", _DMe2 = "DeleteMarkers", _DN2 = "DisplayName", _DR2 = "DataRedundancy", _DRe2 = "DefaultRetention", _Da2 = "Days", _Dat2 = "Date", _De2 = "Deleted", _Del2 = "Delete", _Des2 = "Destination", _Desc2 = "Description", _E2 = "Expires", _EA2 = "EmailAddress", _EBC2 = "EventBridgeConfiguration", _EBO2 = "ExpectedBucketOwner", _EC2 = "ErrorCode", _ECn2 = "EncryptionConfiguration", _ED2 = "ErrorDocument", _EH2 = "ExposeHeaders", _EHx2 = "ExposeHeader", _EM2 = "ErrorMessage", _EODM2 = "ExpiredObjectDeleteMarker", _EOR2 = "ExistingObjectReplication", _EORS2 = "ExistingObjectReplicationStatus", _ERP2 = "EnableRequestProgress", _ES2 = "ExpiresString", _ESBO2 = "ExpectedSourceBucketOwner", _ESx2 = "ExpirationStatus", _ET2 = "EncodingType", _ETa2 = "ETag", _ETn2 = "EncryptionType", _ETv2 = "EventThreshold", _ETx2 = "ExpressionType", _En2 = "Encryption", _Ena2 = "Enabled", _End2 = "End", _Er2 = "Error", _Err2 = "Errors", _Ev2 = "Event", _Eve2 = "Events", _Ex2 = "Expression", _Exp2 = "Expiration", _F2 = "Filter", _FD2 = "FieldDelimiter", _FHI2 = "FileHeaderInfo", _FO2 = "FetchOwner", _FR2 = "FilterRule", _FRN2 = "FilterRuleName", _FRV2 = "FilterRuleValue", _FRi2 = "FilterRules", _Fi2 = "Field", _Fo2 = "Format", _Fr2 = "Frequency", _G2 = "Grant", _GFC2 = "GrantFullControl", _GJP2 = "GlacierJobParameters", _GR2 = "GrantRead", _GRACP2 = "GrantReadACP", _GW2 = "GrantWrite", _GWACP2 = "GrantWriteACP", _Gr2 = "Grants", _Gra2 = "Grantee", _HECRE2 = "HttpErrorCodeReturnedEquals", _HN2 = "HostName", _HRC2 = "HttpRedirectCode", _I2 = "Id", _IC2 = "InventoryConfiguration", _ICL2 = "InventoryConfigurationList", _ID2 = "IndexDocument", _ID_2 = "ID", _IDn2 = "InventoryDestination", _IE2 = "IsEnabled", _IEn2 = "InventoryEncryption", _IF2 = "InventoryFilter", _IFn2 = "InventoryFormat", _IFnv2 = "InventoryFrequency", _II2 = "InventoryId", _IIOV2 = "InventoryIncludedObjectVersions", _IL2 = "IsLatest", _IM2 = "IfMatch", _IMIT2 = "IfMatchInitiatedTime", _IMLMT2 = "IfMatchLastModifiedTime", _IMS2 = "IfMatchSize", _IMSf2 = "IfModifiedSince", _INM2 = "IfNoneMatch", _IOF2 = "InventoryOptionalField", _IOV2 = "IncludedObjectVersions", _IP2 = "IsPublic", _IPA2 = "IgnorePublicAcls", _IRIP2 = "IsRestoreInProgress", _IS2 = "InputSerialization", _ISBD2 = "InventoryS3BucketDestination", _ISn2 = "InventorySchedule", _IT2 = "IsTruncated", _ITAO2 = "IntelligentTieringAndOperator", _ITAT2 = "IntelligentTieringAccessTier", _ITC2 = "IntelligentTieringConfiguration", _ITCL2 = "IntelligentTieringConfigurationList", _ITD2 = "IntelligentTieringDays", _ITF2 = "IntelligentTieringFilter", _ITI2 = "IntelligentTieringId", _ITS2 = "IntelligentTieringStatus", _IUS2 = "IfUnmodifiedSince", _In2 = "Initiator", _Ini2 = "Initiated", _JSON2 = "JSON", _JSONI2 = "JSONInput", _JSONO2 = "JSONOutput", _JSONT2 = "JSONType", _K2 = "Key", _KC2 = "KeyCount", _KI2 = "KeyId", _KM2 = "KeyMarker", _KMSC2 = "KMSContext", _KMSKI2 = "KMSKeyId", _KMSMKID2 = "KMSMasterKeyID", _KPE2 = "KeyPrefixEquals", _L2 = "Location", _LC2 = "LocationConstraint", _LE2 = "LoggingEnabled", _LEi2 = "LifecycleExpiration", _LFA2 = "LambdaFunctionArn", _LFC2 = "LambdaFunctionConfigurations", _LFCa2 = "LambdaFunctionConfiguration", _LI2 = "LocationInfo", _LM2 = "LastModified", _LMT2 = "LastModifiedTime", _LNAS2 = "LocationNameAsString", _LP2 = "LocationPrefix", _LR2 = "LifecycleRule", _LRAO2 = "LifecycleRuleAndOperator", _LRF2 = "LifecycleRuleFilter", _LT2 = "LocationType", _M2 = "Marker", _MAO2 = "MetricsAndOperator", _MAS2 = "MaxAgeSeconds", _MB2 = "MaxBuckets", _MC2 = "MetricsConfiguration", _MCL2 = "MetricsConfigurationList", _MD2 = "MetadataDirective", _MDB2 = "MaxDirectoryBuckets", _MDf2 = "MfaDelete", _ME2 = "MetadataEntry", _MF2 = "MetricsFilter", _MFA2 = "MFA", _MFAD2 = "MFADelete", _MI2 = "MetricsId", _MK2 = "MaxKeys", _MKe2 = "MetadataKey", _MM2 = "MissingMeta", _MOS2 = "MpuObjectSize", _MP2 = "MaxParts", _MS2 = "MetricsStatus", _MTC2 = "MetadataTableConfiguration", _MTCR2 = "MetadataTableConfigurationResult", _MU2 = "MaxUploads", _MV2 = "MetadataValue", _Me2 = "Metrics", _Mes2 = "Message", _Mi2 = "Minutes", _Mo2 = "Mode", _N2 = "Name", _NC2 = "NotificationConfiguration", _NCF2 = "NotificationConfigurationFilter", _NCT2 = "NextContinuationToken", _ND2 = "NoncurrentDays", _NI2 = "NotificationId", _NKM2 = "NextKeyMarker", _NM2 = "NextMarker", _NNV2 = "NewerNoncurrentVersions", _NPNM2 = "NextPartNumberMarker", _NUIM2 = "NextUploadIdMarker", _NVE2 = "NoncurrentVersionExpiration", _NVIM2 = "NextVersionIdMarker", _NVT2 = "NoncurrentVersionTransitions", _NVTo2 = "NoncurrentVersionTransition", _O2 = "Owner", _OA2 = "ObjectAttributes", _OC2 = "OwnershipControls", _OCACL2 = "ObjectCannedACL", _OCR2 = "OwnershipControlsRule", _OF2 = "OptionalFields", _OI2 = "ObjectIdentifier", _OK2 = "ObjectKey", _OL2 = "OutputLocation", _OLC2 = "ObjectLockConfiguration", _OLE2 = "ObjectLockEnabled", _OLEFB2 = "ObjectLockEnabledForBucket", _OLLH2 = "ObjectLockLegalHold", _OLLHS2 = "ObjectLockLegalHoldStatus", _OLM2 = "ObjectLockMode", _OLR2 = "ObjectLockRetention", _OLRM2 = "ObjectLockRetentionMode", _OLRUD2 = "ObjectLockRetainUntilDate", _OLRb2 = "ObjectLockRule", _OO2 = "ObjectOwnership", _OOA2 = "OptionalObjectAttributes", _OOw2 = "OwnerOverride", _OP2 = "ObjectParts", _OS2 = "OutputSerialization", _OSGT2 = "ObjectSizeGreaterThan", _OSGTB2 = "ObjectSizeGreaterThanBytes", _OSLT2 = "ObjectSizeLessThan", _OSLTB2 = "ObjectSizeLessThanBytes", _OSV2 = "OutputSchemaVersion", _OSb2 = "ObjectSize", _OVI2 = "ObjectVersionId", _Ob2 = "Objects", _P2 = "Prefix", _PABC2 = "PublicAccessBlockConfiguration", _PC2 = "PartsCount", _PDS2 = "PartitionDateSource", _PI2 = "ParquetInput", _PN2 = "PartNumber", _PNM2 = "PartNumberMarker", _PP2 = "PartitionedPrefix", _Pa2 = "Payer", _Par2 = "Part", _Parq2 = "Parquet", _Part2 = "Parts", _Pe2 = "Permission", _Pr2 = "Protocol", _Pri2 = "Priority", _Q2 = "Quiet", _QA2 = "QueueArn", _QC2 = "QueueConfiguration", _QCu2 = "QueueConfigurations", _QCuo2 = "QuoteCharacter", _QEC2 = "QuoteEscapeCharacter", _QF2 = "QuoteFields", _Qu2 = "Queue", _R2 = "Range", _RART2 = "RedirectAllRequestsTo", _RC2 = "RequestCharged", _RCC2 = "ResponseCacheControl", _RCD2 = "ResponseContentDisposition", _RCE2 = "ResponseContentEncoding", _RCL2 = "ResponseContentLanguage", _RCT2 = "ResponseContentType", _RCe2 = "ReplicationConfiguration", _RD2 = "RecordDelimiter", _RE2 = "ResponseExpires", _RED2 = "RestoreExpiryDate", _RKKID2 = "ReplicaKmsKeyID", _RKPW2 = "ReplaceKeyPrefixWith", _RKW2 = "ReplaceKeyWith", _RM2 = "ReplicaModifications", _RMS2 = "ReplicaModificationsStatus", _ROP2 = "RestoreOutputPath", _RP2 = "RequestPayer", _RPB2 = "RestrictPublicBuckets", _RPC2 = "RequestPaymentConfiguration", _RPe2 = "RequestProgress", _RR2 = "RequestRoute", _RRAO2 = "ReplicationRuleAndOperator", _RRF2 = "ReplicationRuleFilter", _RRS2 = "ReplicationRuleStatus", _RRT2 = "RestoreRequestType", _RRe2 = "ReplicationRule", _RRes2 = "RestoreRequest", _RRo2 = "RoutingRules", _RRou2 = "RoutingRule", _RS2 = "ReplicationStatus", _RSe2 = "RestoreStatus", _RT2 = "RequestToken", _RTS2 = "ReplicationTimeStatus", _RTV2 = "ReplicationTimeValue", _RTe2 = "ReplicationTime", _RUD2 = "RetainUntilDate", _Re2 = "Restore", _Red2 = "Redirect", _Ro2 = "Role", _Ru2 = "Rule", _Rul2 = "Rules", _S2 = "Status", _SA2 = "StartAfter", _SAK2 = "SecretAccessKey", _SBD2 = "S3BucketDestination", _SC2 = "StorageClass", _SCA2 = "StorageClassAnalysis", _SCADE2 = "StorageClassAnalysisDataExport", _SCASV2 = "StorageClassAnalysisSchemaVersion", _SCt2 = "StatusCode", _SDV2 = "SkipDestinationValidation", _SK2 = "SSE-KMS", _SKEO2 = "SseKmsEncryptedObjects", _SKEOS2 = "SseKmsEncryptedObjectsStatus", _SKF2 = "S3KeyFilter", _SKe2 = "S3Key", _SL2 = "S3Location", _SM2 = "SessionMode", _SOCR2 = "SelectObjectContentRequest", _SP2 = "SelectParameters", _SPi2 = "SimplePrefix", _SR2 = "ScanRange", _SS2 = "SSE-S3", _SSC2 = "SourceSelectionCriteria", _SSE2 = "ServerSideEncryption", _SSEA2 = "SSEAlgorithm", _SSEBD2 = "ServerSideEncryptionByDefault", _SSEC2 = "ServerSideEncryptionConfiguration", _SSECA2 = "SSECustomerAlgorithm", _SSECK2 = "SSECustomerKey", _SSECKMD2 = "SSECustomerKeyMD5", _SSEKMS2 = "SSEKMS", _SSEKMSEC2 = "SSEKMSEncryptionContext", _SSEKMSKI2 = "SSEKMSKeyId", _SSER2 = "ServerSideEncryptionRule", _SSES2 = "SSES3", _ST2 = "SessionToken", _STBA2 = "S3TablesBucketArn", _STD2 = "S3TablesDestination", _STDR2 = "S3TablesDestinationResult", _STN2 = "S3TablesName", _S_2 = "S3", _Sc2 = "Schedule", _Se2 = "Setting", _Si2 = "Size", _St2 = "Start", _Su2 = "Suffix", _T2 = "Tagging", _TA2 = "TopicArn", _TAa2 = "TableArn", _TB2 = "TargetBucket", _TBA2 = "TableBucketArn", _TC2 = "TagCount", _TCo2 = "TopicConfiguration", _TCop2 = "TopicConfigurations", _TD2 = "TaggingDirective", _TDMOS2 = "TransitionDefaultMinimumObjectSize", _TG2 = "TargetGrants", _TGa2 = "TargetGrant", _TN2 = "TableName", _TNa2 = "TableNamespace", _TOKF2 = "TargetObjectKeyFormat", _TP2 = "TargetPrefix", _TPC2 = "TotalPartsCount", _TS2 = "TagSet", _TSC2 = "TransitionStorageClass", _Ta2 = "Tag", _Tag2 = "Tags", _Ti2 = "Tier", _Tie2 = "Tierings", _Tier2 = "Tiering", _Tim2 = "Time", _To2 = "Token", _Top2 = "Topic", _Tr2 = "Transitions", _Tra2 = "Transition", _Ty2 = "Type", _U2 = "Upload", _UI2 = "UploadId", _UIM2 = "UploadIdMarker", _UM2 = "UserMetadata", _URI2 = "URI", _Up2 = "Uploads", _V2 = "Version", _VC2 = "VersionCount", _VCe2 = "VersioningConfiguration", _VI2 = "VersionId", _VIM2 = "VersionIdMarker", _Va2 = "Value", _Ve2 = "Versions", _WC2 = "WebsiteConfiguration", _WOB2 = "WriteOffsetBytes", _WRL2 = "WebsiteRedirectLocation", _Y2 = "Years", _a2 = "analytics", _ac2 = "accelerate", _acl2 = "acl", _ar2 = "accept-ranges", _at2 = "attributes", _br2 = "bucket-region", _c2 = "cors", _cc2 = "cache-control", _cd2 = "content-disposition", _ce2 = "content-encoding", _cl2 = "content-language", _cl_2 = "content-length", _cm2 = "content-md5", _cr2 = "content-range", _ct2 = "content-type", _ct_2 = "continuation-token", _d2 = "delete", _de2 = "delimiter", _e3 = "expires", _en2 = "encryption", _et2 = "encoding-type", _eta2 = "etag", _ex2 = "expiresstring", _fo2 = "fetch-owner", _i3 = "id", _im2 = "if-match", _ims2 = "if-modified-since", _in2 = "inventory", _inm2 = "if-none-match", _it2 = "intelligent-tiering", _ius2 = "if-unmodified-since", _km2 = "key-marker", _l2 = "lifecycle", _lh2 = "legal-hold", _lm2 = "last-modified", _lo2 = "location", _log2 = "logging", _lt2 = "list-type", _m2 = "metrics", _mT2 = "metadataTable", _ma2 = "marker", _mb2 = "max-buckets", _mdb2 = "max-directory-buckets", _me2 = "member", _mk2 = "max-keys", _mp2 = "max-parts", _mu2 = "max-uploads", _n3 = "notification", _oC2 = "ownershipControls", _ol2 = "object-lock", _p2 = "policy", _pAB2 = "publicAccessBlock", _pN2 = "partNumber", _pS2 = "policyStatus", _pnm2 = "part-number-marker", _pr2 = "prefix", _r2 = "replication", _rP2 = "requestPayment", _ra2 = "range", _rcc2 = "response-cache-control", _rcd2 = "response-content-disposition", _rce2 = "response-content-encoding", _rcl2 = "response-content-language", _rct2 = "response-content-type", _re2 = "response-expires", _res2 = "restore", _ret2 = "retention", _s2 = "session", _sa2 = "start-after", _se2 = "select", _st2 = "select-type", _t2 = "tagging", _to2 = "torrent", _u2 = "uploads", _uI2 = "uploadId", _uim2 = "upload-id-marker", _v2 = "versioning", _vI2 = "versionId", _ve2 = '<?xml version="1.0" encoding="UTF-8"?>', _ver2 = "versions", _vim2 = "version-id-marker", _w2 = "website", _x2 = "xsi:type", _xaa2 = "x-amz-acl", _xaad2 = "x-amz-abort-date", _xaapa2 = "x-amz-access-point-alias", _xaari2 = "x-amz-abort-rule-id", _xaas2 = "x-amz-archive-status", _xabgr2 = "x-amz-bypass-governance-retention", _xabln2 = "x-amz-bucket-location-name", _xablt2 = "x-amz-bucket-location-type", _xabole2 = "x-amz-bucket-object-lock-enabled", _xabolt2 = "x-amz-bucket-object-lock-token", _xabr2 = "x-amz-bucket-region", _xaca2 = "x-amz-checksum-algorithm", _xacc2 = "x-amz-checksum-crc32", _xacc_2 = "x-amz-checksum-crc32c", _xacc__2 = "x-amz-checksum-crc64nvme", _xacm2 = "x-amz-checksum-mode", _xacrsba2 = "x-amz-confirm-remove-self-bucket-access", _xacs2 = "x-amz-checksum-sha1", _xacs_2 = "x-amz-checksum-sha256", _xacs__2 = "x-amz-copy-source", _xacsim2 = "x-amz-copy-source-if-match", _xacsims2 = "x-amz-copy-source-if-modified-since", _xacsinm2 = "x-amz-copy-source-if-none-match", _xacsius2 = "x-amz-copy-source-if-unmodified-since", _xacsm2 = "x-amz-create-session-mode", _xacsr2 = "x-amz-copy-source-range", _xacssseca2 = "x-amz-copy-source-server-side-encryption-customer-algorithm", _xacssseck2 = "x-amz-copy-source-server-side-encryption-customer-key", _xacssseckm2 = "x-amz-copy-source-server-side-encryption-customer-key-md5", _xacsvi2 = "x-amz-copy-source-version-id", _xact2 = "x-amz-checksum-type", _xadm2 = "x-amz-delete-marker", _xae2 = "x-amz-expiration", _xaebo2 = "x-amz-expected-bucket-owner", _xafec2 = "x-amz-fwd-error-code", _xafem2 = "x-amz-fwd-error-message", _xafhar2 = "x-amz-fwd-header-accept-ranges", _xafhcc2 = "x-amz-fwd-header-cache-control", _xafhcd2 = "x-amz-fwd-header-content-disposition", _xafhce2 = "x-amz-fwd-header-content-encoding", _xafhcl2 = "x-amz-fwd-header-content-language", _xafhcr2 = "x-amz-fwd-header-content-range", _xafhct2 = "x-amz-fwd-header-content-type", _xafhe2 = "x-amz-fwd-header-etag", _xafhe_2 = "x-amz-fwd-header-expires", _xafhlm2 = "x-amz-fwd-header-last-modified", _xafhxacc2 = "x-amz-fwd-header-x-amz-checksum-crc32", _xafhxacc_2 = "x-amz-fwd-header-x-amz-checksum-crc32c", _xafhxacc__2 = "x-amz-fwd-header-x-amz-checksum-crc64nvme", _xafhxacs2 = "x-amz-fwd-header-x-amz-checksum-sha1", _xafhxacs_2 = "x-amz-fwd-header-x-amz-checksum-sha256", _xafhxadm2 = "x-amz-fwd-header-x-amz-delete-marker", _xafhxae2 = "x-amz-fwd-header-x-amz-expiration", _xafhxamm2 = "x-amz-fwd-header-x-amz-missing-meta", _xafhxampc2 = "x-amz-fwd-header-x-amz-mp-parts-count", _xafhxaollh2 = "x-amz-fwd-header-x-amz-object-lock-legal-hold", _xafhxaolm2 = "x-amz-fwd-header-x-amz-object-lock-mode", _xafhxaolrud2 = "x-amz-fwd-header-x-amz-object-lock-retain-until-date", _xafhxar2 = "x-amz-fwd-header-x-amz-restore", _xafhxarc2 = "x-amz-fwd-header-x-amz-request-charged", _xafhxars2 = "x-amz-fwd-header-x-amz-replication-status", _xafhxasc2 = "x-amz-fwd-header-x-amz-storage-class", _xafhxasse2 = "x-amz-fwd-header-x-amz-server-side-encryption", _xafhxasseakki2 = "x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id", _xafhxassebke2 = "x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled", _xafhxasseca2 = "x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm", _xafhxasseckm2 = "x-amz-fwd-header-x-amz-server-side-encryption-customer-key-md5", _xafhxatc2 = "x-amz-fwd-header-x-amz-tagging-count", _xafhxavi2 = "x-amz-fwd-header-x-amz-version-id", _xafs2 = "x-amz-fwd-status", _xagfc2 = "x-amz-grant-full-control", _xagr2 = "x-amz-grant-read", _xagra2 = "x-amz-grant-read-acp", _xagw2 = "x-amz-grant-write", _xagwa2 = "x-amz-grant-write-acp", _xaimit2 = "x-amz-if-match-initiated-time", _xaimlmt2 = "x-amz-if-match-last-modified-time", _xaims2 = "x-amz-if-match-size", _xam2 = "x-amz-mfa", _xamd2 = "x-amz-metadata-directive", _xamm2 = "x-amz-missing-meta", _xamos2 = "x-amz-mp-object-size", _xamp2 = "x-amz-max-parts", _xampc2 = "x-amz-mp-parts-count", _xaoa2 = "x-amz-object-attributes", _xaollh2 = "x-amz-object-lock-legal-hold", _xaolm2 = "x-amz-object-lock-mode", _xaolrud2 = "x-amz-object-lock-retain-until-date", _xaoo2 = "x-amz-object-ownership", _xaooa2 = "x-amz-optional-object-attributes", _xaos2 = "x-amz-object-size", _xapnm2 = "x-amz-part-number-marker", _xar2 = "x-amz-restore", _xarc2 = "x-amz-request-charged", _xarop2 = "x-amz-restore-output-path", _xarp2 = "x-amz-request-payer", _xarr2 = "x-amz-request-route", _xars2 = "x-amz-replication-status", _xart2 = "x-amz-request-token", _xasc2 = "x-amz-storage-class", _xasca2 = "x-amz-sdk-checksum-algorithm", _xasdv2 = "x-amz-skip-destination-validation", _xasebo2 = "x-amz-source-expected-bucket-owner", _xasse2 = "x-amz-server-side-encryption", _xasseakki2 = "x-amz-server-side-encryption-aws-kms-key-id", _xassebke2 = "x-amz-server-side-encryption-bucket-key-enabled", _xassec2 = "x-amz-server-side-encryption-context", _xasseca2 = "x-amz-server-side-encryption-customer-algorithm", _xasseck2 = "x-amz-server-side-encryption-customer-key", _xasseckm2 = "x-amz-server-side-encryption-customer-key-md5", _xat2 = "x-amz-tagging", _xatc2 = "x-amz-tagging-count", _xatd2 = "x-amz-tagging-directive", _xatdmos2 = "x-amz-transition-default-minimum-object-size", _xavi2 = "x-amz-version-id", _xawob2 = "x-amz-write-offset-bytes", _xawrl2 = "x-amz-website-redirect-location", _xi2 = "x-id";
|
|
333308
333829
|
var init_Aws_restXml2 = __esm(() => {
|
|
333309
333830
|
import_core58 = __toESM(require_dist_cjs20(), 1);
|
|
333310
|
-
|
|
333831
|
+
init_dist_es135();
|
|
333311
333832
|
import_core59 = __toESM(require_dist_cjs15(), 1);
|
|
333312
333833
|
init_dist_es();
|
|
333313
333834
|
init_dist_es23();
|
|
@@ -333320,7 +333841,7 @@ var init_Aws_restXml2 = __esm(() => {
|
|
|
333320
333841
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js
|
|
333321
333842
|
var CreateSessionCommand3;
|
|
333322
333843
|
var init_CreateSessionCommand2 = __esm(() => {
|
|
333323
|
-
|
|
333844
|
+
init_dist_es130();
|
|
333324
333845
|
init_dist_es19();
|
|
333325
333846
|
init_dist_es18();
|
|
333326
333847
|
init_dist_es23();
|
|
@@ -333499,7 +334020,7 @@ var init_bucketEndpointMiddleware2 = __esm(() => {
|
|
|
333499
334020
|
init_bucketHostname2();
|
|
333500
334021
|
});
|
|
333501
334022
|
// ../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/index.js
|
|
333502
|
-
var
|
|
334023
|
+
var init_dist_es136 = __esm(() => {
|
|
333503
334024
|
init_NodeDisableMultiregionAccessPointConfigOptions2();
|
|
333504
334025
|
init_NodeUseArnRegionConfigOptions2();
|
|
333505
334026
|
init_bucketEndpointMiddleware2();
|
|
@@ -333508,7 +334029,7 @@ var init_dist_es135 = __esm(() => {
|
|
|
333508
334029
|
});
|
|
333509
334030
|
|
|
333510
334031
|
// ../../../../node_modules/@smithy/eventstream-codec/dist-es/Int64.js
|
|
333511
|
-
class
|
|
334032
|
+
class Int645 {
|
|
333512
334033
|
constructor(bytes3) {
|
|
333513
334034
|
this.bytes = bytes3;
|
|
333514
334035
|
if (bytes3.byteLength !== 8) {
|
|
@@ -333524,23 +334045,23 @@ class Int644 {
|
|
|
333524
334045
|
bytes3[i10] = remaining;
|
|
333525
334046
|
}
|
|
333526
334047
|
if (number2 < 0) {
|
|
333527
|
-
|
|
334048
|
+
negate4(bytes3);
|
|
333528
334049
|
}
|
|
333529
|
-
return new
|
|
334050
|
+
return new Int645(bytes3);
|
|
333530
334051
|
}
|
|
333531
334052
|
valueOf() {
|
|
333532
334053
|
const bytes3 = this.bytes.slice(0);
|
|
333533
334054
|
const negative = bytes3[0] & 128;
|
|
333534
334055
|
if (negative) {
|
|
333535
|
-
|
|
334056
|
+
negate4(bytes3);
|
|
333536
334057
|
}
|
|
333537
|
-
return parseInt(
|
|
334058
|
+
return parseInt(import_util_hex_encoding12.toHex(bytes3), 16) * (negative ? -1 : 1);
|
|
333538
334059
|
}
|
|
333539
334060
|
toString() {
|
|
333540
334061
|
return String(this.valueOf());
|
|
333541
334062
|
}
|
|
333542
334063
|
}
|
|
333543
|
-
function
|
|
334064
|
+
function negate4(bytes3) {
|
|
333544
334065
|
for (let i10 = 0;i10 < 8; i10++) {
|
|
333545
334066
|
bytes3[i10] ^= 255;
|
|
333546
334067
|
}
|
|
@@ -333550,9 +334071,9 @@ function negate3(bytes3) {
|
|
|
333550
334071
|
break;
|
|
333551
334072
|
}
|
|
333552
334073
|
}
|
|
333553
|
-
var
|
|
334074
|
+
var import_util_hex_encoding12;
|
|
333554
334075
|
var init_Int642 = __esm(() => {
|
|
333555
|
-
|
|
334076
|
+
import_util_hex_encoding12 = __toESM(require_dist_cjs13(), 1);
|
|
333556
334077
|
});
|
|
333557
334078
|
|
|
333558
334079
|
// ../../../../node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js
|
|
@@ -333614,15 +334135,15 @@ class HeaderMarshaller3 {
|
|
|
333614
334135
|
case "timestamp":
|
|
333615
334136
|
const tsBytes = new Uint8Array(9);
|
|
333616
334137
|
tsBytes[0] = 8;
|
|
333617
|
-
tsBytes.set(
|
|
334138
|
+
tsBytes.set(Int645.fromNumber(header.value.valueOf()).bytes, 1);
|
|
333618
334139
|
return tsBytes;
|
|
333619
334140
|
case "uuid":
|
|
333620
|
-
if (!
|
|
334141
|
+
if (!UUID_PATTERN4.test(header.value)) {
|
|
333621
334142
|
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
333622
334143
|
}
|
|
333623
334144
|
const uuidBytes = new Uint8Array(17);
|
|
333624
334145
|
uuidBytes[0] = 9;
|
|
333625
|
-
uuidBytes.set(
|
|
334146
|
+
uuidBytes.set(import_util_hex_encoding13.fromHex(header.value.replace(/\-/g, "")), 1);
|
|
333626
334147
|
return uuidBytes;
|
|
333627
334148
|
}
|
|
333628
334149
|
}
|
|
@@ -333669,7 +334190,7 @@ class HeaderMarshaller3 {
|
|
|
333669
334190
|
case 5:
|
|
333670
334191
|
out[name2] = {
|
|
333671
334192
|
type: LONG_TAG2,
|
|
333672
|
-
value: new
|
|
334193
|
+
value: new Int645(new Uint8Array(headers.buffer, headers.byteOffset + position, 8))
|
|
333673
334194
|
};
|
|
333674
334195
|
position += 8;
|
|
333675
334196
|
break;
|
|
@@ -333694,7 +334215,7 @@ class HeaderMarshaller3 {
|
|
|
333694
334215
|
case 8:
|
|
333695
334216
|
out[name2] = {
|
|
333696
334217
|
type: TIMESTAMP_TAG2,
|
|
333697
|
-
value: new Date(new
|
|
334218
|
+
value: new Date(new Int645(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf())
|
|
333698
334219
|
};
|
|
333699
334220
|
position += 8;
|
|
333700
334221
|
break;
|
|
@@ -333703,7 +334224,7 @@ class HeaderMarshaller3 {
|
|
|
333703
334224
|
position += 16;
|
|
333704
334225
|
out[name2] = {
|
|
333705
334226
|
type: UUID_TAG2,
|
|
333706
|
-
value: `${
|
|
334227
|
+
value: `${import_util_hex_encoding13.toHex(uuidBytes.subarray(0, 4))}-${import_util_hex_encoding13.toHex(uuidBytes.subarray(4, 6))}-${import_util_hex_encoding13.toHex(uuidBytes.subarray(6, 8))}-${import_util_hex_encoding13.toHex(uuidBytes.subarray(8, 10))}-${import_util_hex_encoding13.toHex(uuidBytes.subarray(10))}`
|
|
333707
334228
|
};
|
|
333708
334229
|
break;
|
|
333709
334230
|
default:
|
|
@@ -333713,23 +334234,23 @@ class HeaderMarshaller3 {
|
|
|
333713
334234
|
return out;
|
|
333714
334235
|
}
|
|
333715
334236
|
}
|
|
333716
|
-
var
|
|
334237
|
+
var import_util_hex_encoding13, HEADER_VALUE_TYPE5, BOOLEAN_TAG2 = "boolean", BYTE_TAG2 = "byte", SHORT_TAG2 = "short", INT_TAG2 = "integer", LONG_TAG2 = "long", BINARY_TAG2 = "binary", STRING_TAG2 = "string", TIMESTAMP_TAG2 = "timestamp", UUID_TAG2 = "uuid", UUID_PATTERN4;
|
|
333717
334238
|
var init_HeaderMarshaller2 = __esm(() => {
|
|
333718
|
-
|
|
334239
|
+
import_util_hex_encoding13 = __toESM(require_dist_cjs13(), 1);
|
|
333719
334240
|
init_Int642();
|
|
333720
|
-
(function(
|
|
333721
|
-
|
|
333722
|
-
|
|
333723
|
-
|
|
333724
|
-
|
|
333725
|
-
|
|
333726
|
-
|
|
333727
|
-
|
|
333728
|
-
|
|
333729
|
-
|
|
333730
|
-
|
|
333731
|
-
})(
|
|
333732
|
-
|
|
334241
|
+
(function(HEADER_VALUE_TYPE6) {
|
|
334242
|
+
HEADER_VALUE_TYPE6[HEADER_VALUE_TYPE6["boolTrue"] = 0] = "boolTrue";
|
|
334243
|
+
HEADER_VALUE_TYPE6[HEADER_VALUE_TYPE6["boolFalse"] = 1] = "boolFalse";
|
|
334244
|
+
HEADER_VALUE_TYPE6[HEADER_VALUE_TYPE6["byte"] = 2] = "byte";
|
|
334245
|
+
HEADER_VALUE_TYPE6[HEADER_VALUE_TYPE6["short"] = 3] = "short";
|
|
334246
|
+
HEADER_VALUE_TYPE6[HEADER_VALUE_TYPE6["integer"] = 4] = "integer";
|
|
334247
|
+
HEADER_VALUE_TYPE6[HEADER_VALUE_TYPE6["long"] = 5] = "long";
|
|
334248
|
+
HEADER_VALUE_TYPE6[HEADER_VALUE_TYPE6["byteArray"] = 6] = "byteArray";
|
|
334249
|
+
HEADER_VALUE_TYPE6[HEADER_VALUE_TYPE6["string"] = 7] = "string";
|
|
334250
|
+
HEADER_VALUE_TYPE6[HEADER_VALUE_TYPE6["timestamp"] = 8] = "timestamp";
|
|
334251
|
+
HEADER_VALUE_TYPE6[HEADER_VALUE_TYPE6["uuid"] = 9] = "uuid";
|
|
334252
|
+
})(HEADER_VALUE_TYPE5 || (HEADER_VALUE_TYPE5 = {}));
|
|
334253
|
+
UUID_PATTERN4 = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
333733
334254
|
});
|
|
333734
334255
|
|
|
333735
334256
|
// ../../../../node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js
|
|
@@ -333916,7 +334437,7 @@ var init_SmithyMessageEncoderStream2 = __esm(() => {
|
|
|
333916
334437
|
});
|
|
333917
334438
|
|
|
333918
334439
|
// ../../../../node_modules/@smithy/eventstream-codec/dist-es/index.js
|
|
333919
|
-
var
|
|
334440
|
+
var init_dist_es137 = __esm(() => {
|
|
333920
334441
|
init_EventStreamCodec2();
|
|
333921
334442
|
init_HeaderMarshaller2();
|
|
333922
334443
|
init_Int642();
|
|
@@ -334047,7 +334568,7 @@ class EventStreamMarshaller5 {
|
|
|
334047
334568
|
}
|
|
334048
334569
|
}
|
|
334049
334570
|
var init_EventStreamMarshaller3 = __esm(() => {
|
|
334050
|
-
|
|
334571
|
+
init_dist_es137();
|
|
334051
334572
|
});
|
|
334052
334573
|
|
|
334053
334574
|
// ../../../../node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js
|
|
@@ -334056,7 +334577,7 @@ var init_provider3 = __esm(() => {
|
|
|
334056
334577
|
});
|
|
334057
334578
|
|
|
334058
334579
|
// ../../../../node_modules/@smithy/eventstream-serde-universal/dist-es/index.js
|
|
334059
|
-
var
|
|
334580
|
+
var init_dist_es138 = __esm(() => {
|
|
334060
334581
|
init_EventStreamMarshaller3();
|
|
334061
334582
|
init_provider3();
|
|
334062
334583
|
});
|
|
@@ -334108,7 +334629,7 @@ class EventStreamMarshaller7 {
|
|
|
334108
334629
|
}
|
|
334109
334630
|
}
|
|
334110
334631
|
var init_EventStreamMarshaller4 = __esm(() => {
|
|
334111
|
-
|
|
334632
|
+
init_dist_es138();
|
|
334112
334633
|
});
|
|
334113
334634
|
|
|
334114
334635
|
// ../../../../node_modules/@smithy/eventstream-serde-node/dist-es/provider.js
|
|
@@ -334118,7 +334639,7 @@ var init_provider4 = __esm(() => {
|
|
|
334118
334639
|
});
|
|
334119
334640
|
|
|
334120
334641
|
// ../../../../node_modules/@smithy/eventstream-serde-node/dist-es/index.js
|
|
334121
|
-
var
|
|
334642
|
+
var init_dist_es139 = __esm(() => {
|
|
334122
334643
|
init_EventStreamMarshaller4();
|
|
334123
334644
|
init_provider4();
|
|
334124
334645
|
});
|
|
@@ -334173,7 +334694,7 @@ var init_readableStreamHasher2 = __esm(() => {
|
|
|
334173
334694
|
});
|
|
334174
334695
|
|
|
334175
334696
|
// ../../../../node_modules/@smithy/hash-stream-node/dist-es/index.js
|
|
334176
|
-
var
|
|
334697
|
+
var init_dist_es140 = __esm(() => {
|
|
334177
334698
|
init_fileStreamHasher2();
|
|
334178
334699
|
init_readableStreamHasher2();
|
|
334179
334700
|
});
|
|
@@ -334214,7 +334735,7 @@ var import_core60, getRuntimeConfig9 = (config11) => {
|
|
|
334214
334735
|
};
|
|
334215
334736
|
var init_runtimeConfig_shared5 = __esm(() => {
|
|
334216
334737
|
import_core60 = __toESM(require_dist_cjs20(), 1);
|
|
334217
|
-
|
|
334738
|
+
init_dist_es133();
|
|
334218
334739
|
init_dist_es23();
|
|
334219
334740
|
init_dist_es17();
|
|
334220
334741
|
init_dist_es32();
|
|
@@ -334267,14 +334788,14 @@ var init_runtimeConfig5 = __esm(() => {
|
|
|
334267
334788
|
init_package7();
|
|
334268
334789
|
import_core61 = __toESM(require_dist_cjs20(), 1);
|
|
334269
334790
|
init_dist_es46();
|
|
334270
|
-
|
|
334791
|
+
init_dist_es136();
|
|
334271
334792
|
init_dist_es128();
|
|
334272
|
-
|
|
334793
|
+
init_dist_es130();
|
|
334273
334794
|
init_dist_es36();
|
|
334274
334795
|
init_dist_es12();
|
|
334275
|
-
init_dist_es138();
|
|
334276
|
-
init_dist_es37();
|
|
334277
334796
|
init_dist_es139();
|
|
334797
|
+
init_dist_es37();
|
|
334798
|
+
init_dist_es140();
|
|
334278
334799
|
init_dist_es24();
|
|
334279
334800
|
init_dist_es16();
|
|
334280
334801
|
init_dist_es29();
|
|
@@ -334344,11 +334865,11 @@ var init_S3Client2 = __esm(() => {
|
|
|
334344
334865
|
init_dist_es4();
|
|
334345
334866
|
init_dist_es5();
|
|
334346
334867
|
init_dist_es6();
|
|
334347
|
-
|
|
334868
|
+
init_dist_es130();
|
|
334348
334869
|
init_dist_es9();
|
|
334349
334870
|
init_dist_es12();
|
|
334350
334871
|
import_core62 = __toESM(require_dist_cjs15(), 1);
|
|
334351
|
-
|
|
334872
|
+
init_dist_es131();
|
|
334352
334873
|
init_dist_es13();
|
|
334353
334874
|
init_dist_es19();
|
|
334354
334875
|
init_dist_es24();
|
|
@@ -334405,7 +334926,7 @@ var init_S3Client2 = __esm(() => {
|
|
|
334405
334926
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js
|
|
334406
334927
|
var AbortMultipartUploadCommand3;
|
|
334407
334928
|
var init_AbortMultipartUploadCommand2 = __esm(() => {
|
|
334408
|
-
|
|
334929
|
+
init_dist_es130();
|
|
334409
334930
|
init_dist_es19();
|
|
334410
334931
|
init_dist_es18();
|
|
334411
334932
|
init_dist_es23();
|
|
@@ -334481,7 +335002,7 @@ var ssecMiddlewareOptions2, getSsecPlugin2 = (config11) => ({
|
|
|
334481
335002
|
clientStack.add(ssecMiddleware2(config11), ssecMiddlewareOptions2);
|
|
334482
335003
|
}
|
|
334483
335004
|
});
|
|
334484
|
-
var
|
|
335005
|
+
var init_dist_es141 = __esm(() => {
|
|
334485
335006
|
ssecMiddlewareOptions2 = {
|
|
334486
335007
|
name: "ssecMiddleware",
|
|
334487
335008
|
step: "initialize",
|
|
@@ -334493,8 +335014,8 @@ var init_dist_es140 = __esm(() => {
|
|
|
334493
335014
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js
|
|
334494
335015
|
var CompleteMultipartUploadCommand3;
|
|
334495
335016
|
var init_CompleteMultipartUploadCommand2 = __esm(() => {
|
|
334496
|
-
|
|
334497
|
-
|
|
335017
|
+
init_dist_es130();
|
|
335018
|
+
init_dist_es141();
|
|
334498
335019
|
init_dist_es19();
|
|
334499
335020
|
init_dist_es18();
|
|
334500
335021
|
init_dist_es23();
|
|
@@ -334519,8 +335040,8 @@ var init_CompleteMultipartUploadCommand2 = __esm(() => {
|
|
|
334519
335040
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js
|
|
334520
335041
|
var CopyObjectCommand3;
|
|
334521
335042
|
var init_CopyObjectCommand2 = __esm(() => {
|
|
334522
|
-
|
|
334523
|
-
|
|
335043
|
+
init_dist_es130();
|
|
335044
|
+
init_dist_es141();
|
|
334524
335045
|
init_dist_es19();
|
|
334525
335046
|
init_dist_es18();
|
|
334526
335047
|
init_dist_es23();
|
|
@@ -334566,7 +335087,7 @@ var locationConstraintMiddlewareOptions2, getLocationConstraintPlugin2 = (config
|
|
|
334566
335087
|
clientStack.add(locationConstraintMiddleware2(config11), locationConstraintMiddlewareOptions2);
|
|
334567
335088
|
}
|
|
334568
335089
|
});
|
|
334569
|
-
var
|
|
335090
|
+
var init_dist_es143 = __esm(() => {
|
|
334570
335091
|
locationConstraintMiddlewareOptions2 = {
|
|
334571
335092
|
step: "initialize",
|
|
334572
335093
|
tags: ["LOCATION_CONSTRAINT", "CREATE_BUCKET_CONFIGURATION"],
|
|
@@ -334578,8 +335099,8 @@ var init_dist_es141 = __esm(() => {
|
|
|
334578
335099
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js
|
|
334579
335100
|
var CreateBucketCommand3;
|
|
334580
335101
|
var init_CreateBucketCommand2 = __esm(() => {
|
|
334581
|
-
|
|
334582
|
-
|
|
335102
|
+
init_dist_es143();
|
|
335103
|
+
init_dist_es130();
|
|
334583
335104
|
init_dist_es19();
|
|
334584
335105
|
init_dist_es18();
|
|
334585
335106
|
init_dist_es23();
|
|
@@ -334630,8 +335151,8 @@ var init_CreateBucketMetadataTableConfigurationCommand2 = __esm(() => {
|
|
|
334630
335151
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js
|
|
334631
335152
|
var CreateMultipartUploadCommand3;
|
|
334632
335153
|
var init_CreateMultipartUploadCommand2 = __esm(() => {
|
|
334633
|
-
|
|
334634
|
-
|
|
335154
|
+
init_dist_es130();
|
|
335155
|
+
init_dist_es141();
|
|
334635
335156
|
init_dist_es19();
|
|
334636
335157
|
init_dist_es18();
|
|
334637
335158
|
init_dist_es23();
|
|
@@ -334950,7 +335471,7 @@ var init_DeleteBucketWebsiteCommand2 = __esm(() => {
|
|
|
334950
335471
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js
|
|
334951
335472
|
var DeleteObjectCommand3;
|
|
334952
335473
|
var init_DeleteObjectCommand2 = __esm(() => {
|
|
334953
|
-
|
|
335474
|
+
init_dist_es130();
|
|
334954
335475
|
init_dist_es19();
|
|
334955
335476
|
init_dist_es18();
|
|
334956
335477
|
init_dist_es23();
|
|
@@ -334974,7 +335495,7 @@ var init_DeleteObjectCommand2 = __esm(() => {
|
|
|
334974
335495
|
var DeleteObjectsCommand3;
|
|
334975
335496
|
var init_DeleteObjectsCommand2 = __esm(() => {
|
|
334976
335497
|
init_dist_es128();
|
|
334977
|
-
|
|
335498
|
+
init_dist_es130();
|
|
334978
335499
|
init_dist_es19();
|
|
334979
335500
|
init_dist_es18();
|
|
334980
335501
|
init_dist_es23();
|
|
@@ -335000,7 +335521,7 @@ var init_DeleteObjectsCommand2 = __esm(() => {
|
|
|
335000
335521
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js
|
|
335001
335522
|
var DeleteObjectTaggingCommand3;
|
|
335002
335523
|
var init_DeleteObjectTaggingCommand2 = __esm(() => {
|
|
335003
|
-
|
|
335524
|
+
init_dist_es130();
|
|
335004
335525
|
init_dist_es19();
|
|
335005
335526
|
init_dist_es18();
|
|
335006
335527
|
init_dist_es23();
|
|
@@ -335043,7 +335564,7 @@ var init_DeletePublicAccessBlockCommand2 = __esm(() => {
|
|
|
335043
335564
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js
|
|
335044
335565
|
var GetBucketAccelerateConfigurationCommand3;
|
|
335045
335566
|
var init_GetBucketAccelerateConfigurationCommand2 = __esm(() => {
|
|
335046
|
-
|
|
335567
|
+
init_dist_es130();
|
|
335047
335568
|
init_dist_es19();
|
|
335048
335569
|
init_dist_es18();
|
|
335049
335570
|
init_dist_es23();
|
|
@@ -335066,7 +335587,7 @@ var init_GetBucketAccelerateConfigurationCommand2 = __esm(() => {
|
|
|
335066
335587
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js
|
|
335067
335588
|
var GetBucketAclCommand3;
|
|
335068
335589
|
var init_GetBucketAclCommand2 = __esm(() => {
|
|
335069
|
-
|
|
335590
|
+
init_dist_es130();
|
|
335070
335591
|
init_dist_es19();
|
|
335071
335592
|
init_dist_es18();
|
|
335072
335593
|
init_dist_es23();
|
|
@@ -335089,7 +335610,7 @@ var init_GetBucketAclCommand2 = __esm(() => {
|
|
|
335089
335610
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js
|
|
335090
335611
|
var GetBucketAnalyticsConfigurationCommand3;
|
|
335091
335612
|
var init_GetBucketAnalyticsConfigurationCommand2 = __esm(() => {
|
|
335092
|
-
|
|
335613
|
+
init_dist_es130();
|
|
335093
335614
|
init_dist_es19();
|
|
335094
335615
|
init_dist_es18();
|
|
335095
335616
|
init_dist_es23();
|
|
@@ -335112,7 +335633,7 @@ var init_GetBucketAnalyticsConfigurationCommand2 = __esm(() => {
|
|
|
335112
335633
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js
|
|
335113
335634
|
var GetBucketCorsCommand3;
|
|
335114
335635
|
var init_GetBucketCorsCommand2 = __esm(() => {
|
|
335115
|
-
|
|
335636
|
+
init_dist_es130();
|
|
335116
335637
|
init_dist_es19();
|
|
335117
335638
|
init_dist_es18();
|
|
335118
335639
|
init_dist_es23();
|
|
@@ -335135,7 +335656,7 @@ var init_GetBucketCorsCommand2 = __esm(() => {
|
|
|
335135
335656
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js
|
|
335136
335657
|
var GetBucketEncryptionCommand3;
|
|
335137
335658
|
var init_GetBucketEncryptionCommand2 = __esm(() => {
|
|
335138
|
-
|
|
335659
|
+
init_dist_es130();
|
|
335139
335660
|
init_dist_es19();
|
|
335140
335661
|
init_dist_es18();
|
|
335141
335662
|
init_dist_es23();
|
|
@@ -335159,7 +335680,7 @@ var init_GetBucketEncryptionCommand2 = __esm(() => {
|
|
|
335159
335680
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js
|
|
335160
335681
|
var GetBucketIntelligentTieringConfigurationCommand3;
|
|
335161
335682
|
var init_GetBucketIntelligentTieringConfigurationCommand2 = __esm(() => {
|
|
335162
|
-
|
|
335683
|
+
init_dist_es130();
|
|
335163
335684
|
init_dist_es19();
|
|
335164
335685
|
init_dist_es18();
|
|
335165
335686
|
init_dist_es23();
|
|
@@ -335182,7 +335703,7 @@ var init_GetBucketIntelligentTieringConfigurationCommand2 = __esm(() => {
|
|
|
335182
335703
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js
|
|
335183
335704
|
var GetBucketInventoryConfigurationCommand3;
|
|
335184
335705
|
var init_GetBucketInventoryConfigurationCommand2 = __esm(() => {
|
|
335185
|
-
|
|
335706
|
+
init_dist_es130();
|
|
335186
335707
|
init_dist_es19();
|
|
335187
335708
|
init_dist_es18();
|
|
335188
335709
|
init_dist_es23();
|
|
@@ -335206,7 +335727,7 @@ var init_GetBucketInventoryConfigurationCommand2 = __esm(() => {
|
|
|
335206
335727
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js
|
|
335207
335728
|
var GetBucketLifecycleConfigurationCommand3;
|
|
335208
335729
|
var init_GetBucketLifecycleConfigurationCommand2 = __esm(() => {
|
|
335209
|
-
|
|
335730
|
+
init_dist_es130();
|
|
335210
335731
|
init_dist_es19();
|
|
335211
335732
|
init_dist_es18();
|
|
335212
335733
|
init_dist_es23();
|
|
@@ -335229,7 +335750,7 @@ var init_GetBucketLifecycleConfigurationCommand2 = __esm(() => {
|
|
|
335229
335750
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js
|
|
335230
335751
|
var GetBucketLocationCommand3;
|
|
335231
335752
|
var init_GetBucketLocationCommand2 = __esm(() => {
|
|
335232
|
-
|
|
335753
|
+
init_dist_es130();
|
|
335233
335754
|
init_dist_es19();
|
|
335234
335755
|
init_dist_es18();
|
|
335235
335756
|
init_dist_es23();
|
|
@@ -335252,7 +335773,7 @@ var init_GetBucketLocationCommand2 = __esm(() => {
|
|
|
335252
335773
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js
|
|
335253
335774
|
var GetBucketLoggingCommand3;
|
|
335254
335775
|
var init_GetBucketLoggingCommand2 = __esm(() => {
|
|
335255
|
-
|
|
335776
|
+
init_dist_es130();
|
|
335256
335777
|
init_dist_es19();
|
|
335257
335778
|
init_dist_es18();
|
|
335258
335779
|
init_dist_es23();
|
|
@@ -335275,7 +335796,7 @@ var init_GetBucketLoggingCommand2 = __esm(() => {
|
|
|
335275
335796
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js
|
|
335276
335797
|
var GetBucketMetadataTableConfigurationCommand3;
|
|
335277
335798
|
var init_GetBucketMetadataTableConfigurationCommand2 = __esm(() => {
|
|
335278
|
-
|
|
335799
|
+
init_dist_es130();
|
|
335279
335800
|
init_dist_es19();
|
|
335280
335801
|
init_dist_es18();
|
|
335281
335802
|
init_dist_es23();
|
|
@@ -335298,7 +335819,7 @@ var init_GetBucketMetadataTableConfigurationCommand2 = __esm(() => {
|
|
|
335298
335819
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js
|
|
335299
335820
|
var GetBucketMetricsConfigurationCommand3;
|
|
335300
335821
|
var init_GetBucketMetricsConfigurationCommand2 = __esm(() => {
|
|
335301
|
-
|
|
335822
|
+
init_dist_es130();
|
|
335302
335823
|
init_dist_es19();
|
|
335303
335824
|
init_dist_es18();
|
|
335304
335825
|
init_dist_es23();
|
|
@@ -335321,7 +335842,7 @@ var init_GetBucketMetricsConfigurationCommand2 = __esm(() => {
|
|
|
335321
335842
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js
|
|
335322
335843
|
var GetBucketNotificationConfigurationCommand3;
|
|
335323
335844
|
var init_GetBucketNotificationConfigurationCommand2 = __esm(() => {
|
|
335324
|
-
|
|
335845
|
+
init_dist_es130();
|
|
335325
335846
|
init_dist_es19();
|
|
335326
335847
|
init_dist_es18();
|
|
335327
335848
|
init_dist_es23();
|
|
@@ -335344,7 +335865,7 @@ var init_GetBucketNotificationConfigurationCommand2 = __esm(() => {
|
|
|
335344
335865
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js
|
|
335345
335866
|
var GetBucketOwnershipControlsCommand3;
|
|
335346
335867
|
var init_GetBucketOwnershipControlsCommand2 = __esm(() => {
|
|
335347
|
-
|
|
335868
|
+
init_dist_es130();
|
|
335348
335869
|
init_dist_es19();
|
|
335349
335870
|
init_dist_es18();
|
|
335350
335871
|
init_dist_es23();
|
|
@@ -335367,7 +335888,7 @@ var init_GetBucketOwnershipControlsCommand2 = __esm(() => {
|
|
|
335367
335888
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js
|
|
335368
335889
|
var GetBucketPolicyCommand3;
|
|
335369
335890
|
var init_GetBucketPolicyCommand2 = __esm(() => {
|
|
335370
|
-
|
|
335891
|
+
init_dist_es130();
|
|
335371
335892
|
init_dist_es19();
|
|
335372
335893
|
init_dist_es18();
|
|
335373
335894
|
init_dist_es23();
|
|
@@ -335390,7 +335911,7 @@ var init_GetBucketPolicyCommand2 = __esm(() => {
|
|
|
335390
335911
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js
|
|
335391
335912
|
var GetBucketPolicyStatusCommand3;
|
|
335392
335913
|
var init_GetBucketPolicyStatusCommand2 = __esm(() => {
|
|
335393
|
-
|
|
335914
|
+
init_dist_es130();
|
|
335394
335915
|
init_dist_es19();
|
|
335395
335916
|
init_dist_es18();
|
|
335396
335917
|
init_dist_es23();
|
|
@@ -335413,7 +335934,7 @@ var init_GetBucketPolicyStatusCommand2 = __esm(() => {
|
|
|
335413
335934
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js
|
|
335414
335935
|
var GetBucketReplicationCommand3;
|
|
335415
335936
|
var init_GetBucketReplicationCommand2 = __esm(() => {
|
|
335416
|
-
|
|
335937
|
+
init_dist_es130();
|
|
335417
335938
|
init_dist_es19();
|
|
335418
335939
|
init_dist_es18();
|
|
335419
335940
|
init_dist_es23();
|
|
@@ -335436,7 +335957,7 @@ var init_GetBucketReplicationCommand2 = __esm(() => {
|
|
|
335436
335957
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js
|
|
335437
335958
|
var GetBucketRequestPaymentCommand3;
|
|
335438
335959
|
var init_GetBucketRequestPaymentCommand2 = __esm(() => {
|
|
335439
|
-
|
|
335960
|
+
init_dist_es130();
|
|
335440
335961
|
init_dist_es19();
|
|
335441
335962
|
init_dist_es18();
|
|
335442
335963
|
init_dist_es23();
|
|
@@ -335459,7 +335980,7 @@ var init_GetBucketRequestPaymentCommand2 = __esm(() => {
|
|
|
335459
335980
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js
|
|
335460
335981
|
var GetBucketTaggingCommand3;
|
|
335461
335982
|
var init_GetBucketTaggingCommand2 = __esm(() => {
|
|
335462
|
-
|
|
335983
|
+
init_dist_es130();
|
|
335463
335984
|
init_dist_es19();
|
|
335464
335985
|
init_dist_es18();
|
|
335465
335986
|
init_dist_es23();
|
|
@@ -335482,7 +336003,7 @@ var init_GetBucketTaggingCommand2 = __esm(() => {
|
|
|
335482
336003
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js
|
|
335483
336004
|
var GetBucketVersioningCommand3;
|
|
335484
336005
|
var init_GetBucketVersioningCommand2 = __esm(() => {
|
|
335485
|
-
|
|
336006
|
+
init_dist_es130();
|
|
335486
336007
|
init_dist_es19();
|
|
335487
336008
|
init_dist_es18();
|
|
335488
336009
|
init_dist_es23();
|
|
@@ -335505,7 +336026,7 @@ var init_GetBucketVersioningCommand2 = __esm(() => {
|
|
|
335505
336026
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js
|
|
335506
336027
|
var GetBucketWebsiteCommand3;
|
|
335507
336028
|
var init_GetBucketWebsiteCommand2 = __esm(() => {
|
|
335508
|
-
|
|
336029
|
+
init_dist_es130();
|
|
335509
336030
|
init_dist_es19();
|
|
335510
336031
|
init_dist_es18();
|
|
335511
336032
|
init_dist_es23();
|
|
@@ -335528,7 +336049,7 @@ var init_GetBucketWebsiteCommand2 = __esm(() => {
|
|
|
335528
336049
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js
|
|
335529
336050
|
var GetObjectAclCommand3;
|
|
335530
336051
|
var init_GetObjectAclCommand2 = __esm(() => {
|
|
335531
|
-
|
|
336052
|
+
init_dist_es130();
|
|
335532
336053
|
init_dist_es19();
|
|
335533
336054
|
init_dist_es18();
|
|
335534
336055
|
init_dist_es23();
|
|
@@ -335551,8 +336072,8 @@ var init_GetObjectAclCommand2 = __esm(() => {
|
|
|
335551
336072
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js
|
|
335552
336073
|
var GetObjectAttributesCommand3;
|
|
335553
336074
|
var init_GetObjectAttributesCommand2 = __esm(() => {
|
|
335554
|
-
|
|
335555
|
-
|
|
336075
|
+
init_dist_es130();
|
|
336076
|
+
init_dist_es141();
|
|
335556
336077
|
init_dist_es19();
|
|
335557
336078
|
init_dist_es18();
|
|
335558
336079
|
init_dist_es23();
|
|
@@ -335577,8 +336098,8 @@ var init_GetObjectAttributesCommand2 = __esm(() => {
|
|
|
335577
336098
|
var GetObjectCommand3;
|
|
335578
336099
|
var init_GetObjectCommand2 = __esm(() => {
|
|
335579
336100
|
init_dist_es128();
|
|
335580
|
-
|
|
335581
|
-
|
|
336101
|
+
init_dist_es130();
|
|
336102
|
+
init_dist_es141();
|
|
335582
336103
|
init_dist_es19();
|
|
335583
336104
|
init_dist_es18();
|
|
335584
336105
|
init_dist_es23();
|
|
@@ -335608,7 +336129,7 @@ var init_GetObjectCommand2 = __esm(() => {
|
|
|
335608
336129
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js
|
|
335609
336130
|
var GetObjectLegalHoldCommand3;
|
|
335610
336131
|
var init_GetObjectLegalHoldCommand2 = __esm(() => {
|
|
335611
|
-
|
|
336132
|
+
init_dist_es130();
|
|
335612
336133
|
init_dist_es19();
|
|
335613
336134
|
init_dist_es18();
|
|
335614
336135
|
init_dist_es23();
|
|
@@ -335630,7 +336151,7 @@ var init_GetObjectLegalHoldCommand2 = __esm(() => {
|
|
|
335630
336151
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js
|
|
335631
336152
|
var GetObjectLockConfigurationCommand3;
|
|
335632
336153
|
var init_GetObjectLockConfigurationCommand2 = __esm(() => {
|
|
335633
|
-
|
|
336154
|
+
init_dist_es130();
|
|
335634
336155
|
init_dist_es19();
|
|
335635
336156
|
init_dist_es18();
|
|
335636
336157
|
init_dist_es23();
|
|
@@ -335652,7 +336173,7 @@ var init_GetObjectLockConfigurationCommand2 = __esm(() => {
|
|
|
335652
336173
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js
|
|
335653
336174
|
var GetObjectRetentionCommand3;
|
|
335654
336175
|
var init_GetObjectRetentionCommand2 = __esm(() => {
|
|
335655
|
-
|
|
336176
|
+
init_dist_es130();
|
|
335656
336177
|
init_dist_es19();
|
|
335657
336178
|
init_dist_es18();
|
|
335658
336179
|
init_dist_es23();
|
|
@@ -335674,7 +336195,7 @@ var init_GetObjectRetentionCommand2 = __esm(() => {
|
|
|
335674
336195
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js
|
|
335675
336196
|
var GetObjectTaggingCommand3;
|
|
335676
336197
|
var init_GetObjectTaggingCommand2 = __esm(() => {
|
|
335677
|
-
|
|
336198
|
+
init_dist_es130();
|
|
335678
336199
|
init_dist_es19();
|
|
335679
336200
|
init_dist_es18();
|
|
335680
336201
|
init_dist_es23();
|
|
@@ -335717,7 +336238,7 @@ var init_GetObjectTorrentCommand2 = __esm(() => {
|
|
|
335717
336238
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js
|
|
335718
336239
|
var GetPublicAccessBlockCommand3;
|
|
335719
336240
|
var init_GetPublicAccessBlockCommand2 = __esm(() => {
|
|
335720
|
-
|
|
336241
|
+
init_dist_es130();
|
|
335721
336242
|
init_dist_es19();
|
|
335722
336243
|
init_dist_es18();
|
|
335723
336244
|
init_dist_es23();
|
|
@@ -335740,7 +336261,7 @@ var init_GetPublicAccessBlockCommand2 = __esm(() => {
|
|
|
335740
336261
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js
|
|
335741
336262
|
var HeadBucketCommand3;
|
|
335742
336263
|
var init_HeadBucketCommand2 = __esm(() => {
|
|
335743
|
-
|
|
336264
|
+
init_dist_es130();
|
|
335744
336265
|
init_dist_es19();
|
|
335745
336266
|
init_dist_es18();
|
|
335746
336267
|
init_dist_es23();
|
|
@@ -335762,8 +336283,8 @@ var init_HeadBucketCommand2 = __esm(() => {
|
|
|
335762
336283
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js
|
|
335763
336284
|
var HeadObjectCommand3;
|
|
335764
336285
|
var init_HeadObjectCommand2 = __esm(() => {
|
|
335765
|
-
|
|
335766
|
-
|
|
336286
|
+
init_dist_es130();
|
|
336287
|
+
init_dist_es141();
|
|
335767
336288
|
init_dist_es19();
|
|
335768
336289
|
init_dist_es18();
|
|
335769
336290
|
init_dist_es23();
|
|
@@ -335789,7 +336310,7 @@ var init_HeadObjectCommand2 = __esm(() => {
|
|
|
335789
336310
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js
|
|
335790
336311
|
var ListBucketAnalyticsConfigurationsCommand3;
|
|
335791
336312
|
var init_ListBucketAnalyticsConfigurationsCommand2 = __esm(() => {
|
|
335792
|
-
|
|
336313
|
+
init_dist_es130();
|
|
335793
336314
|
init_dist_es19();
|
|
335794
336315
|
init_dist_es18();
|
|
335795
336316
|
init_dist_es23();
|
|
@@ -335812,7 +336333,7 @@ var init_ListBucketAnalyticsConfigurationsCommand2 = __esm(() => {
|
|
|
335812
336333
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js
|
|
335813
336334
|
var ListBucketIntelligentTieringConfigurationsCommand3;
|
|
335814
336335
|
var init_ListBucketIntelligentTieringConfigurationsCommand2 = __esm(() => {
|
|
335815
|
-
|
|
336336
|
+
init_dist_es130();
|
|
335816
336337
|
init_dist_es19();
|
|
335817
336338
|
init_dist_es18();
|
|
335818
336339
|
init_dist_es23();
|
|
@@ -335835,7 +336356,7 @@ var init_ListBucketIntelligentTieringConfigurationsCommand2 = __esm(() => {
|
|
|
335835
336356
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js
|
|
335836
336357
|
var ListBucketInventoryConfigurationsCommand3;
|
|
335837
336358
|
var init_ListBucketInventoryConfigurationsCommand2 = __esm(() => {
|
|
335838
|
-
|
|
336359
|
+
init_dist_es130();
|
|
335839
336360
|
init_dist_es19();
|
|
335840
336361
|
init_dist_es18();
|
|
335841
336362
|
init_dist_es23();
|
|
@@ -335859,7 +336380,7 @@ var init_ListBucketInventoryConfigurationsCommand2 = __esm(() => {
|
|
|
335859
336380
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js
|
|
335860
336381
|
var ListBucketMetricsConfigurationsCommand3;
|
|
335861
336382
|
var init_ListBucketMetricsConfigurationsCommand2 = __esm(() => {
|
|
335862
|
-
|
|
336383
|
+
init_dist_es130();
|
|
335863
336384
|
init_dist_es19();
|
|
335864
336385
|
init_dist_es18();
|
|
335865
336386
|
init_dist_es23();
|
|
@@ -335881,7 +336402,7 @@ var init_ListBucketMetricsConfigurationsCommand2 = __esm(() => {
|
|
|
335881
336402
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js
|
|
335882
336403
|
var ListBucketsCommand3;
|
|
335883
336404
|
var init_ListBucketsCommand2 = __esm(() => {
|
|
335884
|
-
|
|
336405
|
+
init_dist_es130();
|
|
335885
336406
|
init_dist_es19();
|
|
335886
336407
|
init_dist_es18();
|
|
335887
336408
|
init_dist_es23();
|
|
@@ -335900,7 +336421,7 @@ var init_ListBucketsCommand2 = __esm(() => {
|
|
|
335900
336421
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js
|
|
335901
336422
|
var ListDirectoryBucketsCommand3;
|
|
335902
336423
|
var init_ListDirectoryBucketsCommand2 = __esm(() => {
|
|
335903
|
-
|
|
336424
|
+
init_dist_es130();
|
|
335904
336425
|
init_dist_es19();
|
|
335905
336426
|
init_dist_es18();
|
|
335906
336427
|
init_dist_es23();
|
|
@@ -335922,7 +336443,7 @@ var init_ListDirectoryBucketsCommand2 = __esm(() => {
|
|
|
335922
336443
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js
|
|
335923
336444
|
var ListMultipartUploadsCommand3;
|
|
335924
336445
|
var init_ListMultipartUploadsCommand2 = __esm(() => {
|
|
335925
|
-
|
|
336446
|
+
init_dist_es130();
|
|
335926
336447
|
init_dist_es19();
|
|
335927
336448
|
init_dist_es18();
|
|
335928
336449
|
init_dist_es23();
|
|
@@ -335945,7 +336466,7 @@ var init_ListMultipartUploadsCommand2 = __esm(() => {
|
|
|
335945
336466
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js
|
|
335946
336467
|
var ListObjectsCommand3;
|
|
335947
336468
|
var init_ListObjectsCommand2 = __esm(() => {
|
|
335948
|
-
|
|
336469
|
+
init_dist_es130();
|
|
335949
336470
|
init_dist_es19();
|
|
335950
336471
|
init_dist_es18();
|
|
335951
336472
|
init_dist_es23();
|
|
@@ -335968,7 +336489,7 @@ var init_ListObjectsCommand2 = __esm(() => {
|
|
|
335968
336489
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js
|
|
335969
336490
|
var ListObjectsV2Command3;
|
|
335970
336491
|
var init_ListObjectsV2Command2 = __esm(() => {
|
|
335971
|
-
|
|
336492
|
+
init_dist_es130();
|
|
335972
336493
|
init_dist_es19();
|
|
335973
336494
|
init_dist_es18();
|
|
335974
336495
|
init_dist_es23();
|
|
@@ -335991,7 +336512,7 @@ var init_ListObjectsV2Command2 = __esm(() => {
|
|
|
335991
336512
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js
|
|
335992
336513
|
var ListObjectVersionsCommand3;
|
|
335993
336514
|
var init_ListObjectVersionsCommand2 = __esm(() => {
|
|
335994
|
-
|
|
336515
|
+
init_dist_es130();
|
|
335995
336516
|
init_dist_es19();
|
|
335996
336517
|
init_dist_es18();
|
|
335997
336518
|
init_dist_es23();
|
|
@@ -336014,8 +336535,8 @@ var init_ListObjectVersionsCommand2 = __esm(() => {
|
|
|
336014
336535
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js
|
|
336015
336536
|
var ListPartsCommand3;
|
|
336016
336537
|
var init_ListPartsCommand2 = __esm(() => {
|
|
336017
|
-
|
|
336018
|
-
|
|
336538
|
+
init_dist_es130();
|
|
336539
|
+
init_dist_es141();
|
|
336019
336540
|
init_dist_es19();
|
|
336020
336541
|
init_dist_es18();
|
|
336021
336542
|
init_dist_es23();
|
|
@@ -336210,7 +336731,7 @@ var init_PutBucketInventoryConfigurationCommand2 = __esm(() => {
|
|
|
336210
336731
|
var PutBucketLifecycleConfigurationCommand3;
|
|
336211
336732
|
var init_PutBucketLifecycleConfigurationCommand2 = __esm(() => {
|
|
336212
336733
|
init_dist_es128();
|
|
336213
|
-
|
|
336734
|
+
init_dist_es130();
|
|
336214
336735
|
init_dist_es19();
|
|
336215
336736
|
init_dist_es18();
|
|
336216
336737
|
init_dist_es23();
|
|
@@ -336487,7 +337008,7 @@ var init_PutBucketWebsiteCommand2 = __esm(() => {
|
|
|
336487
337008
|
var PutObjectAclCommand3;
|
|
336488
337009
|
var init_PutObjectAclCommand2 = __esm(() => {
|
|
336489
337010
|
init_dist_es128();
|
|
336490
|
-
|
|
337011
|
+
init_dist_es130();
|
|
336491
337012
|
init_dist_es19();
|
|
336492
337013
|
init_dist_es18();
|
|
336493
337014
|
init_dist_es23();
|
|
@@ -336515,8 +337036,8 @@ var init_PutObjectAclCommand2 = __esm(() => {
|
|
|
336515
337036
|
var PutObjectCommand3;
|
|
336516
337037
|
var init_PutObjectCommand2 = __esm(() => {
|
|
336517
337038
|
init_dist_es128();
|
|
336518
|
-
|
|
336519
|
-
|
|
337039
|
+
init_dist_es130();
|
|
337040
|
+
init_dist_es141();
|
|
336520
337041
|
init_dist_es19();
|
|
336521
337042
|
init_dist_es18();
|
|
336522
337043
|
init_dist_es23();
|
|
@@ -336547,7 +337068,7 @@ var init_PutObjectCommand2 = __esm(() => {
|
|
|
336547
337068
|
var PutObjectLegalHoldCommand3;
|
|
336548
337069
|
var init_PutObjectLegalHoldCommand2 = __esm(() => {
|
|
336549
337070
|
init_dist_es128();
|
|
336550
|
-
|
|
337071
|
+
init_dist_es130();
|
|
336551
337072
|
init_dist_es19();
|
|
336552
337073
|
init_dist_es18();
|
|
336553
337074
|
init_dist_es23();
|
|
@@ -336574,7 +337095,7 @@ var init_PutObjectLegalHoldCommand2 = __esm(() => {
|
|
|
336574
337095
|
var PutObjectLockConfigurationCommand3;
|
|
336575
337096
|
var init_PutObjectLockConfigurationCommand2 = __esm(() => {
|
|
336576
337097
|
init_dist_es128();
|
|
336577
|
-
|
|
337098
|
+
init_dist_es130();
|
|
336578
337099
|
init_dist_es19();
|
|
336579
337100
|
init_dist_es18();
|
|
336580
337101
|
init_dist_es23();
|
|
@@ -336601,7 +337122,7 @@ var init_PutObjectLockConfigurationCommand2 = __esm(() => {
|
|
|
336601
337122
|
var PutObjectRetentionCommand3;
|
|
336602
337123
|
var init_PutObjectRetentionCommand2 = __esm(() => {
|
|
336603
337124
|
init_dist_es128();
|
|
336604
|
-
|
|
337125
|
+
init_dist_es130();
|
|
336605
337126
|
init_dist_es19();
|
|
336606
337127
|
init_dist_es18();
|
|
336607
337128
|
init_dist_es23();
|
|
@@ -336628,7 +337149,7 @@ var init_PutObjectRetentionCommand2 = __esm(() => {
|
|
|
336628
337149
|
var PutObjectTaggingCommand3;
|
|
336629
337150
|
var init_PutObjectTaggingCommand2 = __esm(() => {
|
|
336630
337151
|
init_dist_es128();
|
|
336631
|
-
|
|
337152
|
+
init_dist_es130();
|
|
336632
337153
|
init_dist_es19();
|
|
336633
337154
|
init_dist_es18();
|
|
336634
337155
|
init_dist_es23();
|
|
@@ -336681,7 +337202,7 @@ var init_PutPublicAccessBlockCommand2 = __esm(() => {
|
|
|
336681
337202
|
var RestoreObjectCommand3;
|
|
336682
337203
|
var init_RestoreObjectCommand2 = __esm(() => {
|
|
336683
337204
|
init_dist_es128();
|
|
336684
|
-
|
|
337205
|
+
init_dist_es130();
|
|
336685
337206
|
init_dist_es19();
|
|
336686
337207
|
init_dist_es18();
|
|
336687
337208
|
init_dist_es23();
|
|
@@ -336708,8 +337229,8 @@ var init_RestoreObjectCommand2 = __esm(() => {
|
|
|
336708
337229
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js
|
|
336709
337230
|
var SelectObjectContentCommand3;
|
|
336710
337231
|
var init_SelectObjectContentCommand2 = __esm(() => {
|
|
336711
|
-
|
|
336712
|
-
|
|
337232
|
+
init_dist_es130();
|
|
337233
|
+
init_dist_es141();
|
|
336713
337234
|
init_dist_es19();
|
|
336714
337235
|
init_dist_es18();
|
|
336715
337236
|
init_dist_es23();
|
|
@@ -336738,8 +337259,8 @@ var init_SelectObjectContentCommand2 = __esm(() => {
|
|
|
336738
337259
|
var UploadPartCommand3;
|
|
336739
337260
|
var init_UploadPartCommand2 = __esm(() => {
|
|
336740
337261
|
init_dist_es128();
|
|
336741
|
-
|
|
336742
|
-
|
|
337262
|
+
init_dist_es130();
|
|
337263
|
+
init_dist_es141();
|
|
336743
337264
|
init_dist_es19();
|
|
336744
337265
|
init_dist_es18();
|
|
336745
337266
|
init_dist_es23();
|
|
@@ -336768,8 +337289,8 @@ var init_UploadPartCommand2 = __esm(() => {
|
|
|
336768
337289
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js
|
|
336769
337290
|
var UploadPartCopyCommand3;
|
|
336770
337291
|
var init_UploadPartCopyCommand2 = __esm(() => {
|
|
336771
|
-
|
|
336772
|
-
|
|
337292
|
+
init_dist_es130();
|
|
337293
|
+
init_dist_es141();
|
|
336773
337294
|
init_dist_es19();
|
|
336774
337295
|
init_dist_es18();
|
|
336775
337296
|
init_dist_es23();
|
|
@@ -337205,7 +337726,7 @@ var init_models5 = __esm(() => {
|
|
|
337205
337726
|
});
|
|
337206
337727
|
|
|
337207
337728
|
// ../../../../node_modules/@aws-sdk/client-s3/dist-es/index.js
|
|
337208
|
-
var
|
|
337729
|
+
var init_dist_es145 = __esm(() => {
|
|
337209
337730
|
init_S3Client2();
|
|
337210
337731
|
init_S32();
|
|
337211
337732
|
init_commands5();
|
|
@@ -337248,7 +337769,7 @@ class AbortController2 {
|
|
|
337248
337769
|
var init_AbortController = () => {};
|
|
337249
337770
|
|
|
337250
337771
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/abort-controller/dist-es/index.js
|
|
337251
|
-
var
|
|
337772
|
+
var init_dist_es146 = __esm(() => {
|
|
337252
337773
|
init_AbortController();
|
|
337253
337774
|
});
|
|
337254
337775
|
|
|
@@ -337449,7 +337970,7 @@ var memoize11 = (provider5, isExpired, requiresRefresh) => {
|
|
|
337449
337970
|
};
|
|
337450
337971
|
|
|
337451
337972
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js
|
|
337452
|
-
var
|
|
337973
|
+
var init_dist_es147 = __esm(() => {
|
|
337453
337974
|
init_CredentialsProviderError6();
|
|
337454
337975
|
init_ProviderError6();
|
|
337455
337976
|
init_TokenProviderError6();
|
|
@@ -337482,7 +338003,7 @@ var fromEnv8 = (envVarSelector, logger4) => async () => {
|
|
|
337482
338003
|
}
|
|
337483
338004
|
};
|
|
337484
338005
|
var init_fromEnv6 = __esm(() => {
|
|
337485
|
-
|
|
338006
|
+
init_dist_es147();
|
|
337486
338007
|
});
|
|
337487
338008
|
|
|
337488
338009
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js
|
|
@@ -337800,7 +338321,7 @@ var init_parseKnownFiles6 = __esm(() => {
|
|
|
337800
338321
|
var init_types29 = () => {};
|
|
337801
338322
|
|
|
337802
338323
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js
|
|
337803
|
-
var
|
|
338324
|
+
var init_dist_es148 = __esm(() => {
|
|
337804
338325
|
init_getHomeDir6();
|
|
337805
338326
|
init_getSSOTokenFilepath6();
|
|
337806
338327
|
init_getSSOTokenFromFile6();
|
|
@@ -337829,27 +338350,27 @@ var fromSharedConfigFiles4 = (configSelector, { preferredFile = "config", ...ini
|
|
|
337829
338350
|
}
|
|
337830
338351
|
};
|
|
337831
338352
|
var init_fromSharedConfigFiles4 = __esm(() => {
|
|
337832
|
-
init_dist_es146();
|
|
337833
338353
|
init_dist_es147();
|
|
338354
|
+
init_dist_es148();
|
|
337834
338355
|
});
|
|
337835
338356
|
|
|
337836
338357
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/node-config-provider/dist-es/fromStatic.js
|
|
337837
338358
|
var isFunction6 = (func) => typeof func === "function", fromStatic14 = (defaultValue) => isFunction6(defaultValue) ? async () => await defaultValue() : fromStatic12(defaultValue);
|
|
337838
338359
|
var init_fromStatic6 = __esm(() => {
|
|
337839
|
-
|
|
338360
|
+
init_dist_es147();
|
|
337840
338361
|
});
|
|
337841
338362
|
|
|
337842
338363
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/node-config-provider/dist-es/configLoader.js
|
|
337843
338364
|
var loadConfig6 = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => memoize11(chain9(fromEnv8(environmentVariableSelector), fromSharedConfigFiles4(configFileSelector, configuration), fromStatic14(defaultValue)));
|
|
337844
338365
|
var init_configLoader4 = __esm(() => {
|
|
337845
|
-
|
|
338366
|
+
init_dist_es147();
|
|
337846
338367
|
init_fromEnv6();
|
|
337847
338368
|
init_fromSharedConfigFiles4();
|
|
337848
338369
|
init_fromStatic6();
|
|
337849
338370
|
});
|
|
337850
338371
|
|
|
337851
338372
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/node-config-provider/dist-es/index.js
|
|
337852
|
-
var
|
|
338373
|
+
var init_dist_es149 = __esm(() => {
|
|
337853
338374
|
init_configLoader4();
|
|
337854
338375
|
});
|
|
337855
338376
|
|
|
@@ -337883,13 +338404,13 @@ var ENV_ENDPOINT_URL4 = "AWS_ENDPOINT_URL", CONFIG_ENDPOINT_URL4 = "endpoint_url
|
|
|
337883
338404
|
default: undefined
|
|
337884
338405
|
});
|
|
337885
338406
|
var init_getEndpointUrlConfig4 = __esm(() => {
|
|
337886
|
-
|
|
338407
|
+
init_dist_es148();
|
|
337887
338408
|
});
|
|
337888
338409
|
|
|
337889
338410
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js
|
|
337890
338411
|
var getEndpointFromConfig4 = async (serviceId) => loadConfig6(getEndpointUrlConfig4(serviceId ?? ""))();
|
|
337891
338412
|
var init_getEndpointFromConfig4 = __esm(() => {
|
|
337892
|
-
|
|
338413
|
+
init_dist_es149();
|
|
337893
338414
|
init_getEndpointUrlConfig4();
|
|
337894
338415
|
});
|
|
337895
338416
|
|
|
@@ -337934,7 +338455,7 @@ var parseUrl4 = (url2) => {
|
|
|
337934
338455
|
query: query2
|
|
337935
338456
|
};
|
|
337936
338457
|
};
|
|
337937
|
-
var
|
|
338458
|
+
var init_dist_es150 = () => {};
|
|
337938
338459
|
|
|
337939
338460
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js
|
|
337940
338461
|
var toEndpointV16 = (endpoint) => {
|
|
@@ -337947,7 +338468,7 @@ var toEndpointV16 = (endpoint) => {
|
|
|
337947
338468
|
return parseUrl4(endpoint);
|
|
337948
338469
|
};
|
|
337949
338470
|
var init_toEndpointV14 = __esm(() => {
|
|
337950
|
-
|
|
338471
|
+
init_dist_es150();
|
|
337951
338472
|
});
|
|
337952
338473
|
|
|
337953
338474
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js
|
|
@@ -338804,20 +339325,20 @@ var require_dist_cjs88 = __commonJS((exports, module) => {
|
|
|
338804
339325
|
buildQueryString: () => buildQueryString3
|
|
338805
339326
|
});
|
|
338806
339327
|
module.exports = __toCommonJS3(src_exports);
|
|
338807
|
-
var
|
|
339328
|
+
var import_util_uri_escape7 = require_dist_cjs9();
|
|
338808
339329
|
function buildQueryString3(query2) {
|
|
338809
339330
|
const parts2 = [];
|
|
338810
339331
|
for (let key2 of Object.keys(query2).sort()) {
|
|
338811
339332
|
const value2 = query2[key2];
|
|
338812
|
-
key2 = (0,
|
|
339333
|
+
key2 = (0, import_util_uri_escape7.escapeUri)(key2);
|
|
338813
339334
|
if (Array.isArray(value2)) {
|
|
338814
339335
|
for (let i10 = 0, iLen = value2.length;i10 < iLen; i10++) {
|
|
338815
|
-
parts2.push(`${key2}=${(0,
|
|
339336
|
+
parts2.push(`${key2}=${(0, import_util_uri_escape7.escapeUri)(value2[i10])}`);
|
|
338816
339337
|
}
|
|
338817
339338
|
} else {
|
|
338818
339339
|
let qsEntry = key2;
|
|
338819
339340
|
if (value2 || typeof value2 === "string") {
|
|
338820
|
-
qsEntry += `=${(0,
|
|
339341
|
+
qsEntry += `=${(0, import_util_uri_escape7.escapeUri)(value2)}`;
|
|
338821
339342
|
}
|
|
338822
339343
|
parts2.push(qsEntry);
|
|
338823
339344
|
}
|
|
@@ -338858,7 +339379,7 @@ var require_dist_cjs89 = __commonJS((exports, module) => {
|
|
|
338858
339379
|
streamCollector: () => streamCollector4
|
|
338859
339380
|
});
|
|
338860
339381
|
module.exports = __toCommonJS3(src_exports);
|
|
338861
|
-
var
|
|
339382
|
+
var import_protocol_http52 = require_dist_cjs87();
|
|
338862
339383
|
var import_querystring_builder5 = require_dist_cjs88();
|
|
338863
339384
|
var import_http6 = __require("node:http");
|
|
338864
339385
|
var import_https3 = __require("node:https");
|
|
@@ -339139,7 +339660,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
339139
339660
|
};
|
|
339140
339661
|
const requestFunc = isSSL ? import_https3.request : import_http6.request;
|
|
339141
339662
|
const req = requestFunc(nodeHttpsOptions, (res) => {
|
|
339142
|
-
const httpResponse3 = new
|
|
339663
|
+
const httpResponse3 = new import_protocol_http52.HttpResponse({
|
|
339143
339664
|
statusCode: res.statusCode || -1,
|
|
339144
339665
|
reason: res.statusMessage,
|
|
339145
339666
|
headers: getTransformedHeaders3(res.headers),
|
|
@@ -339406,7 +339927,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
339406
339927
|
});
|
|
339407
339928
|
session.ref();
|
|
339408
339929
|
req.on("response", (headers) => {
|
|
339409
|
-
const httpResponse3 = new
|
|
339930
|
+
const httpResponse3 = new import_protocol_http52.HttpResponse({
|
|
339410
339931
|
statusCode: headers[":status"] || -1,
|
|
339411
339932
|
headers: getTransformedHeaders3(headers),
|
|
339412
339933
|
body: req
|
|
@@ -339559,20 +340080,20 @@ var require_dist_cjs90 = __commonJS((exports, module) => {
|
|
|
339559
340080
|
buildQueryString: () => buildQueryString3
|
|
339560
340081
|
});
|
|
339561
340082
|
module.exports = __toCommonJS3(src_exports);
|
|
339562
|
-
var
|
|
340083
|
+
var import_util_uri_escape7 = require_dist_cjs9();
|
|
339563
340084
|
function buildQueryString3(query2) {
|
|
339564
340085
|
const parts2 = [];
|
|
339565
340086
|
for (let key2 of Object.keys(query2).sort()) {
|
|
339566
340087
|
const value2 = query2[key2];
|
|
339567
|
-
key2 = (0,
|
|
340088
|
+
key2 = (0, import_util_uri_escape7.escapeUri)(key2);
|
|
339568
340089
|
if (Array.isArray(value2)) {
|
|
339569
340090
|
for (let i10 = 0, iLen = value2.length;i10 < iLen; i10++) {
|
|
339570
|
-
parts2.push(`${key2}=${(0,
|
|
340091
|
+
parts2.push(`${key2}=${(0, import_util_uri_escape7.escapeUri)(value2[i10])}`);
|
|
339571
340092
|
}
|
|
339572
340093
|
} else {
|
|
339573
340094
|
let qsEntry = key2;
|
|
339574
340095
|
if (value2 || typeof value2 === "string") {
|
|
339575
|
-
qsEntry += `=${(0,
|
|
340096
|
+
qsEntry += `=${(0, import_util_uri_escape7.escapeUri)(value2)}`;
|
|
339576
340097
|
}
|
|
339577
340098
|
parts2.push(qsEntry);
|
|
339578
340099
|
}
|
|
@@ -339609,7 +340130,7 @@ var require_dist_cjs91 = __commonJS((exports, module) => {
|
|
|
339609
340130
|
streamCollector: () => streamCollector4
|
|
339610
340131
|
});
|
|
339611
340132
|
module.exports = __toCommonJS3(src_exports);
|
|
339612
|
-
var
|
|
340133
|
+
var import_protocol_http52 = require_dist_cjs87();
|
|
339613
340134
|
var import_querystring_builder5 = require_dist_cjs90();
|
|
339614
340135
|
function createRequest(url2, requestOptions) {
|
|
339615
340136
|
return new Request(url2, requestOptions);
|
|
@@ -339714,7 +340235,7 @@ var require_dist_cjs91 = __commonJS((exports, module) => {
|
|
|
339714
340235
|
const hasReadableStream = response4.body != null;
|
|
339715
340236
|
if (!hasReadableStream) {
|
|
339716
340237
|
return response4.blob().then((body2) => ({
|
|
339717
|
-
response: new
|
|
340238
|
+
response: new import_protocol_http52.HttpResponse({
|
|
339718
340239
|
headers: transformedHeaders,
|
|
339719
340240
|
reason: response4.statusText,
|
|
339720
340241
|
statusCode: response4.status,
|
|
@@ -339723,7 +340244,7 @@ var require_dist_cjs91 = __commonJS((exports, module) => {
|
|
|
339723
340244
|
}));
|
|
339724
340245
|
}
|
|
339725
340246
|
return {
|
|
339726
|
-
response: new
|
|
340247
|
+
response: new import_protocol_http52.HttpResponse({
|
|
339727
340248
|
headers: transformedHeaders,
|
|
339728
340249
|
reason: response4.statusText,
|
|
339729
340250
|
statusCode: response4.status,
|
|
@@ -340003,19 +340524,19 @@ var require_dist_cjs92 = __commonJS((exports, module) => {
|
|
|
340003
340524
|
});
|
|
340004
340525
|
module.exports = __toCommonJS3(src_exports);
|
|
340005
340526
|
var import_util_base6410 = require_dist_cjs8();
|
|
340006
|
-
var
|
|
340527
|
+
var import_util_utf824 = require_dist_cjs7();
|
|
340007
340528
|
function transformToString3(payload, encoding = "utf-8") {
|
|
340008
340529
|
if (encoding === "base64") {
|
|
340009
340530
|
return (0, import_util_base6410.toBase64)(payload);
|
|
340010
340531
|
}
|
|
340011
|
-
return (0,
|
|
340532
|
+
return (0, import_util_utf824.toUtf8)(payload);
|
|
340012
340533
|
}
|
|
340013
340534
|
__name(transformToString3, "transformToString");
|
|
340014
340535
|
function transformFromString3(str2, encoding) {
|
|
340015
340536
|
if (encoding === "base64") {
|
|
340016
340537
|
return Uint8ArrayBlobAdapter4.mutate((0, import_util_base6410.fromBase64)(str2));
|
|
340017
340538
|
}
|
|
340018
|
-
return Uint8ArrayBlobAdapter4.mutate((0,
|
|
340539
|
+
return Uint8ArrayBlobAdapter4.mutate((0, import_util_utf824.fromUtf8)(str2));
|
|
340019
340540
|
}
|
|
340020
340541
|
__name(transformFromString3, "transformFromString");
|
|
340021
340542
|
var Uint8ArrayBlobAdapter4 = class _Uint8ArrayBlobAdapter extends Uint8Array {
|
|
@@ -340092,7 +340613,7 @@ var require_protocols5 = __commonJS((exports, module) => {
|
|
|
340092
340613
|
return "%" + c9.charCodeAt(0).toString(16).toUpperCase();
|
|
340093
340614
|
});
|
|
340094
340615
|
}
|
|
340095
|
-
var
|
|
340616
|
+
var import_protocol_http52 = require_dist_cjs87();
|
|
340096
340617
|
var resolvedPath4 = (resolvedPath22, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {
|
|
340097
340618
|
if (input != null && input[memberName] !== undefined) {
|
|
340098
340619
|
const labelValue = labelValueProvider();
|
|
@@ -340126,7 +340647,7 @@ var require_protocols5 = __commonJS((exports, module) => {
|
|
|
340126
340647
|
for (const resolvePath2 of this.resolvePathStack) {
|
|
340127
340648
|
resolvePath2(this.path);
|
|
340128
340649
|
}
|
|
340129
|
-
return new
|
|
340650
|
+
return new import_protocol_http52.HttpRequest({
|
|
340130
340651
|
protocol,
|
|
340131
340652
|
hostname: this.hostname || hostname,
|
|
340132
340653
|
port,
|
|
@@ -340220,7 +340741,7 @@ var require_dist_cjs93 = __commonJS((exports, module) => {
|
|
|
340220
340741
|
module.exports = __toCommonJS3(src_exports);
|
|
340221
340742
|
var import_types59 = require_dist_cjs84();
|
|
340222
340743
|
var getSmithyContext6 = /* @__PURE__ */ __name((context) => context[import_types59.SMITHY_CONTEXT_KEY] || (context[import_types59.SMITHY_CONTEXT_KEY] = {}), "getSmithyContext");
|
|
340223
|
-
var
|
|
340744
|
+
var import_util_middleware22 = require_dist_cjs85();
|
|
340224
340745
|
function convertHttpAuthSchemesToMap(httpAuthSchemes) {
|
|
340225
340746
|
const map4 = /* @__PURE__ */ new Map;
|
|
340226
340747
|
for (const scheme of httpAuthSchemes) {
|
|
@@ -340232,7 +340753,7 @@ var require_dist_cjs93 = __commonJS((exports, module) => {
|
|
|
340232
340753
|
var httpAuthSchemeMiddleware = /* @__PURE__ */ __name((config11, mwOptions) => (next, context) => async (args) => {
|
|
340233
340754
|
const options2 = config11.httpAuthSchemeProvider(await mwOptions.httpAuthSchemeParametersProvider(config11, context, args.input));
|
|
340234
340755
|
const authSchemes = convertHttpAuthSchemesToMap(config11.httpAuthSchemes);
|
|
340235
|
-
const smithyContext = (0,
|
|
340756
|
+
const smithyContext = (0, import_util_middleware22.getSmithyContext)(context);
|
|
340236
340757
|
const failureReasons = [];
|
|
340237
340758
|
for (const option of options2) {
|
|
340238
340759
|
const scheme = authSchemes.get(option.schemeId);
|
|
@@ -340300,16 +340821,16 @@ var require_dist_cjs93 = __commonJS((exports, module) => {
|
|
|
340300
340821
|
}), httpAuthSchemeMiddlewareOptions2);
|
|
340301
340822
|
}
|
|
340302
340823
|
}), "getHttpAuthSchemePlugin");
|
|
340303
|
-
var
|
|
340824
|
+
var import_protocol_http52 = require_dist_cjs87();
|
|
340304
340825
|
var defaultErrorHandler3 = /* @__PURE__ */ __name((signingProperties) => (error) => {
|
|
340305
340826
|
throw error;
|
|
340306
340827
|
}, "defaultErrorHandler");
|
|
340307
340828
|
var defaultSuccessHandler3 = /* @__PURE__ */ __name((httpResponse3, signingProperties) => {}, "defaultSuccessHandler");
|
|
340308
340829
|
var httpSigningMiddleware = /* @__PURE__ */ __name((config11) => (next, context) => async (args) => {
|
|
340309
|
-
if (!
|
|
340830
|
+
if (!import_protocol_http52.HttpRequest.isInstance(args.request)) {
|
|
340310
340831
|
return next(args);
|
|
340311
340832
|
}
|
|
340312
|
-
const smithyContext = (0,
|
|
340833
|
+
const smithyContext = (0, import_util_middleware22.getSmithyContext)(context);
|
|
340313
340834
|
const scheme = smithyContext.selectedHttpAuthScheme;
|
|
340314
340835
|
if (!scheme) {
|
|
340315
340836
|
throw new Error(`No HttpAuthScheme was selected: unable to sign request`);
|
|
@@ -340432,7 +340953,7 @@ var require_dist_cjs93 = __commonJS((exports, module) => {
|
|
|
340432
340953
|
if (!identity3.apiKey) {
|
|
340433
340954
|
throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined");
|
|
340434
340955
|
}
|
|
340435
|
-
const clonedRequest =
|
|
340956
|
+
const clonedRequest = import_protocol_http52.HttpRequest.clone(httpRequest6);
|
|
340436
340957
|
if (signingProperties.in === import_types59.HttpApiKeyAuthLocation.QUERY) {
|
|
340437
340958
|
clonedRequest.query[signingProperties.name] = identity3.apiKey;
|
|
340438
340959
|
} else if (signingProperties.in === import_types59.HttpApiKeyAuthLocation.HEADER) {
|
|
@@ -340448,7 +340969,7 @@ var require_dist_cjs93 = __commonJS((exports, module) => {
|
|
|
340448
340969
|
__name(this, "HttpBearerAuthSigner");
|
|
340449
340970
|
}
|
|
340450
340971
|
async sign(httpRequest6, identity3, signingProperties) {
|
|
340451
|
-
const clonedRequest =
|
|
340972
|
+
const clonedRequest = import_protocol_http52.HttpRequest.clone(httpRequest6);
|
|
340452
340973
|
if (!identity3.token) {
|
|
340453
340974
|
throw new Error("request could not be signed with `token` since the `token` is not defined");
|
|
340454
340975
|
}
|
|
@@ -340524,7 +341045,7 @@ var init_getSmithyContext4 = __esm(() => {
|
|
|
340524
341045
|
import_types59 = __toESM(require_dist_cjs84(), 1);
|
|
340525
341046
|
});
|
|
340526
341047
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/util-middleware/dist-es/index.js
|
|
340527
|
-
var
|
|
341048
|
+
var init_dist_es151 = __esm(() => {
|
|
340528
341049
|
init_getSmithyContext4();
|
|
340529
341050
|
});
|
|
340530
341051
|
|
|
@@ -340532,7 +341053,7 @@ var init_dist_es150 = __esm(() => {
|
|
|
340532
341053
|
var import_core67;
|
|
340533
341054
|
var init_endpointMiddleware4 = __esm(() => {
|
|
340534
341055
|
import_core67 = __toESM(require_dist_cjs93(), 1);
|
|
340535
|
-
|
|
341056
|
+
init_dist_es151();
|
|
340536
341057
|
init_getEndpointFromInstructions4();
|
|
340537
341058
|
});
|
|
340538
341059
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js
|
|
@@ -340547,14 +341068,14 @@ var init_serdePlugin4 = __esm(() => {
|
|
|
340547
341068
|
});
|
|
340548
341069
|
|
|
340549
341070
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/middleware-serde/dist-es/index.js
|
|
340550
|
-
var
|
|
341071
|
+
var init_dist_es153 = __esm(() => {
|
|
340551
341072
|
init_serdePlugin4();
|
|
340552
341073
|
});
|
|
340553
341074
|
|
|
340554
341075
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js
|
|
340555
341076
|
var endpointMiddlewareOptions4;
|
|
340556
341077
|
var init_getEndpointPlugin4 = __esm(() => {
|
|
340557
|
-
|
|
341078
|
+
init_dist_es153();
|
|
340558
341079
|
init_endpointMiddleware4();
|
|
340559
341080
|
endpointMiddlewareOptions4 = {
|
|
340560
341081
|
step: "serialize",
|
|
@@ -340568,7 +341089,7 @@ var init_getEndpointPlugin4 = __esm(() => {
|
|
|
340568
341089
|
|
|
340569
341090
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js
|
|
340570
341091
|
var init_resolveEndpointConfig4 = __esm(() => {
|
|
340571
|
-
|
|
341092
|
+
init_dist_es151();
|
|
340572
341093
|
init_getEndpointFromConfig4();
|
|
340573
341094
|
init_toEndpointV14();
|
|
340574
341095
|
});
|
|
@@ -340577,7 +341098,7 @@ var init_resolveEndpointConfig4 = __esm(() => {
|
|
|
340577
341098
|
var init_types30 = () => {};
|
|
340578
341099
|
|
|
340579
341100
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint/dist-es/index.js
|
|
340580
|
-
var
|
|
341101
|
+
var init_dist_es155 = __esm(() => {
|
|
340581
341102
|
init_adaptors4();
|
|
340582
341103
|
init_endpointMiddleware4();
|
|
340583
341104
|
init_getEndpointPlugin4();
|
|
@@ -340589,13 +341110,13 @@ var init_dist_es153 = __esm(() => {
|
|
|
340589
341110
|
var init_MiddlewareStack4 = () => {};
|
|
340590
341111
|
|
|
340591
341112
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/smithy-client/node_modules/@smithy/middleware-stack/dist-es/index.js
|
|
340592
|
-
var
|
|
341113
|
+
var init_dist_es156 = __esm(() => {
|
|
340593
341114
|
init_MiddlewareStack4();
|
|
340594
341115
|
});
|
|
340595
341116
|
|
|
340596
341117
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/smithy-client/dist-es/client.js
|
|
340597
341118
|
var init_client6 = __esm(() => {
|
|
340598
|
-
|
|
341119
|
+
init_dist_es156();
|
|
340599
341120
|
});
|
|
340600
341121
|
|
|
340601
341122
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/smithy-client/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js
|
|
@@ -341377,20 +341898,20 @@ var require_dist_cjs96 = __commonJS((exports, module) => {
|
|
|
341377
341898
|
buildQueryString: () => buildQueryString3
|
|
341378
341899
|
});
|
|
341379
341900
|
module.exports = __toCommonJS3(src_exports);
|
|
341380
|
-
var
|
|
341901
|
+
var import_util_uri_escape7 = require_dist_cjs9();
|
|
341381
341902
|
function buildQueryString3(query2) {
|
|
341382
341903
|
const parts2 = [];
|
|
341383
341904
|
for (let key2 of Object.keys(query2).sort()) {
|
|
341384
341905
|
const value2 = query2[key2];
|
|
341385
|
-
key2 = (0,
|
|
341906
|
+
key2 = (0, import_util_uri_escape7.escapeUri)(key2);
|
|
341386
341907
|
if (Array.isArray(value2)) {
|
|
341387
341908
|
for (let i10 = 0, iLen = value2.length;i10 < iLen; i10++) {
|
|
341388
|
-
parts2.push(`${key2}=${(0,
|
|
341909
|
+
parts2.push(`${key2}=${(0, import_util_uri_escape7.escapeUri)(value2[i10])}`);
|
|
341389
341910
|
}
|
|
341390
341911
|
} else {
|
|
341391
341912
|
let qsEntry = key2;
|
|
341392
341913
|
if (value2 || typeof value2 === "string") {
|
|
341393
|
-
qsEntry += `=${(0,
|
|
341914
|
+
qsEntry += `=${(0, import_util_uri_escape7.escapeUri)(value2)}`;
|
|
341394
341915
|
}
|
|
341395
341916
|
parts2.push(qsEntry);
|
|
341396
341917
|
}
|
|
@@ -341431,7 +341952,7 @@ var require_dist_cjs97 = __commonJS((exports, module) => {
|
|
|
341431
341952
|
streamCollector: () => streamCollector4
|
|
341432
341953
|
});
|
|
341433
341954
|
module.exports = __toCommonJS3(src_exports);
|
|
341434
|
-
var
|
|
341955
|
+
var import_protocol_http52 = require_dist_cjs95();
|
|
341435
341956
|
var import_querystring_builder5 = require_dist_cjs96();
|
|
341436
341957
|
var import_http6 = __require("node:http");
|
|
341437
341958
|
var import_https3 = __require("node:https");
|
|
@@ -341712,7 +342233,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
341712
342233
|
};
|
|
341713
342234
|
const requestFunc = isSSL ? import_https3.request : import_http6.request;
|
|
341714
342235
|
const req = requestFunc(nodeHttpsOptions, (res) => {
|
|
341715
|
-
const httpResponse3 = new
|
|
342236
|
+
const httpResponse3 = new import_protocol_http52.HttpResponse({
|
|
341716
342237
|
statusCode: res.statusCode || -1,
|
|
341717
342238
|
reason: res.statusMessage,
|
|
341718
342239
|
headers: getTransformedHeaders3(res.headers),
|
|
@@ -341979,7 +342500,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
341979
342500
|
});
|
|
341980
342501
|
session.ref();
|
|
341981
342502
|
req.on("response", (headers) => {
|
|
341982
|
-
const httpResponse3 = new
|
|
342503
|
+
const httpResponse3 = new import_protocol_http52.HttpResponse({
|
|
341983
342504
|
statusCode: headers[":status"] || -1,
|
|
341984
342505
|
headers: getTransformedHeaders3(headers),
|
|
341985
342506
|
body: req
|
|
@@ -342132,20 +342653,20 @@ var require_dist_cjs98 = __commonJS((exports, module) => {
|
|
|
342132
342653
|
buildQueryString: () => buildQueryString3
|
|
342133
342654
|
});
|
|
342134
342655
|
module.exports = __toCommonJS3(src_exports);
|
|
342135
|
-
var
|
|
342656
|
+
var import_util_uri_escape7 = require_dist_cjs9();
|
|
342136
342657
|
function buildQueryString3(query2) {
|
|
342137
342658
|
const parts2 = [];
|
|
342138
342659
|
for (let key2 of Object.keys(query2).sort()) {
|
|
342139
342660
|
const value2 = query2[key2];
|
|
342140
|
-
key2 = (0,
|
|
342661
|
+
key2 = (0, import_util_uri_escape7.escapeUri)(key2);
|
|
342141
342662
|
if (Array.isArray(value2)) {
|
|
342142
342663
|
for (let i10 = 0, iLen = value2.length;i10 < iLen; i10++) {
|
|
342143
|
-
parts2.push(`${key2}=${(0,
|
|
342664
|
+
parts2.push(`${key2}=${(0, import_util_uri_escape7.escapeUri)(value2[i10])}`);
|
|
342144
342665
|
}
|
|
342145
342666
|
} else {
|
|
342146
342667
|
let qsEntry = key2;
|
|
342147
342668
|
if (value2 || typeof value2 === "string") {
|
|
342148
|
-
qsEntry += `=${(0,
|
|
342669
|
+
qsEntry += `=${(0, import_util_uri_escape7.escapeUri)(value2)}`;
|
|
342149
342670
|
}
|
|
342150
342671
|
parts2.push(qsEntry);
|
|
342151
342672
|
}
|
|
@@ -342182,7 +342703,7 @@ var require_dist_cjs99 = __commonJS((exports, module) => {
|
|
|
342182
342703
|
streamCollector: () => streamCollector4
|
|
342183
342704
|
});
|
|
342184
342705
|
module.exports = __toCommonJS3(src_exports);
|
|
342185
|
-
var
|
|
342706
|
+
var import_protocol_http52 = require_dist_cjs95();
|
|
342186
342707
|
var import_querystring_builder5 = require_dist_cjs98();
|
|
342187
342708
|
function createRequest(url2, requestOptions) {
|
|
342188
342709
|
return new Request(url2, requestOptions);
|
|
@@ -342287,7 +342808,7 @@ var require_dist_cjs99 = __commonJS((exports, module) => {
|
|
|
342287
342808
|
const hasReadableStream = response4.body != null;
|
|
342288
342809
|
if (!hasReadableStream) {
|
|
342289
342810
|
return response4.blob().then((body2) => ({
|
|
342290
|
-
response: new
|
|
342811
|
+
response: new import_protocol_http52.HttpResponse({
|
|
342291
342812
|
headers: transformedHeaders,
|
|
342292
342813
|
reason: response4.statusText,
|
|
342293
342814
|
statusCode: response4.status,
|
|
@@ -342296,7 +342817,7 @@ var require_dist_cjs99 = __commonJS((exports, module) => {
|
|
|
342296
342817
|
}));
|
|
342297
342818
|
}
|
|
342298
342819
|
return {
|
|
342299
|
-
response: new
|
|
342820
|
+
response: new import_protocol_http52.HttpResponse({
|
|
342300
342821
|
headers: transformedHeaders,
|
|
342301
342822
|
reason: response4.statusText,
|
|
342302
342823
|
statusCode: response4.status,
|
|
@@ -342576,19 +343097,19 @@ var require_dist_cjs100 = __commonJS((exports, module) => {
|
|
|
342576
343097
|
});
|
|
342577
343098
|
module.exports = __toCommonJS3(src_exports);
|
|
342578
343099
|
var import_util_base6410 = require_dist_cjs8();
|
|
342579
|
-
var
|
|
343100
|
+
var import_util_utf824 = require_dist_cjs7();
|
|
342580
343101
|
function transformToString3(payload, encoding = "utf-8") {
|
|
342581
343102
|
if (encoding === "base64") {
|
|
342582
343103
|
return (0, import_util_base6410.toBase64)(payload);
|
|
342583
343104
|
}
|
|
342584
|
-
return (0,
|
|
343105
|
+
return (0, import_util_utf824.toUtf8)(payload);
|
|
342585
343106
|
}
|
|
342586
343107
|
__name(transformToString3, "transformToString");
|
|
342587
343108
|
function transformFromString3(str2, encoding) {
|
|
342588
343109
|
if (encoding === "base64") {
|
|
342589
343110
|
return Uint8ArrayBlobAdapter4.mutate((0, import_util_base6410.fromBase64)(str2));
|
|
342590
343111
|
}
|
|
342591
|
-
return Uint8ArrayBlobAdapter4.mutate((0,
|
|
343112
|
+
return Uint8ArrayBlobAdapter4.mutate((0, import_util_utf824.fromUtf8)(str2));
|
|
342592
343113
|
}
|
|
342593
343114
|
__name(transformFromString3, "transformFromString");
|
|
342594
343115
|
var Uint8ArrayBlobAdapter4 = class _Uint8ArrayBlobAdapter extends Uint8Array {
|
|
@@ -342665,7 +343186,7 @@ var require_protocols6 = __commonJS((exports, module) => {
|
|
|
342665
343186
|
return "%" + c9.charCodeAt(0).toString(16).toUpperCase();
|
|
342666
343187
|
});
|
|
342667
343188
|
}
|
|
342668
|
-
var
|
|
343189
|
+
var import_protocol_http52 = require_dist_cjs95();
|
|
342669
343190
|
var resolvedPath4 = (resolvedPath22, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {
|
|
342670
343191
|
if (input != null && input[memberName] !== undefined) {
|
|
342671
343192
|
const labelValue = labelValueProvider();
|
|
@@ -342699,7 +343220,7 @@ var require_protocols6 = __commonJS((exports, module) => {
|
|
|
342699
343220
|
for (const resolvePath2 of this.resolvePathStack) {
|
|
342700
343221
|
resolvePath2(this.path);
|
|
342701
343222
|
}
|
|
342702
|
-
return new
|
|
343223
|
+
return new import_protocol_http52.HttpRequest({
|
|
342703
343224
|
protocol,
|
|
342704
343225
|
hostname: this.hostname || hostname,
|
|
342705
343226
|
port,
|
|
@@ -342997,7 +343518,7 @@ var init_util2 = () => {};
|
|
|
342997
343518
|
var init_waiter4 = () => {};
|
|
342998
343519
|
|
|
342999
343520
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/smithy-client/node_modules/@smithy/types/dist-es/index.js
|
|
343000
|
-
var
|
|
343521
|
+
var init_dist_es157 = __esm(() => {
|
|
343001
343522
|
init_abort2();
|
|
343002
343523
|
init_auth5();
|
|
343003
343524
|
init_blob_payload_input_types2();
|
|
@@ -343038,8 +343559,8 @@ var init_dist_es156 = __esm(() => {
|
|
|
343038
343559
|
|
|
343039
343560
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/smithy-client/dist-es/command.js
|
|
343040
343561
|
var init_command6 = __esm(() => {
|
|
343041
|
-
init_dist_es155();
|
|
343042
343562
|
init_dist_es156();
|
|
343563
|
+
init_dist_es157();
|
|
343043
343564
|
});
|
|
343044
343565
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/smithy-client/dist-es/parse-utils.js
|
|
343045
343566
|
var MAX_FLOAT4;
|
|
@@ -343074,7 +343595,7 @@ var init_extended_encode_uri_component3 = __esm(() => {
|
|
|
343074
343595
|
|
|
343075
343596
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js
|
|
343076
343597
|
var init_checksum8 = __esm(() => {
|
|
343077
|
-
|
|
343598
|
+
init_dist_es157();
|
|
343078
343599
|
});
|
|
343079
343600
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js
|
|
343080
343601
|
var init_defaultExtensionConfiguration5 = __esm(() => {
|
|
@@ -343117,7 +343638,7 @@ var init_resolve_path4 = __esm(() => {
|
|
|
343117
343638
|
import_protocols9 = __toESM(require_protocols6(), 1);
|
|
343118
343639
|
});
|
|
343119
343640
|
// ../../../../node_modules/@aws-sdk/lib-storage/node_modules/@smithy/smithy-client/dist-es/index.js
|
|
343120
|
-
var
|
|
343641
|
+
var init_dist_es158 = __esm(() => {
|
|
343121
343642
|
init_client6();
|
|
343122
343643
|
init_collect_stream_body4();
|
|
343123
343644
|
init_command6();
|
|
@@ -343294,10 +343815,10 @@ var init_chunker = __esm(() => {
|
|
|
343294
343815
|
import { EventEmitter as EventEmitter4 } from "node:events";
|
|
343295
343816
|
var Upload;
|
|
343296
343817
|
var init_Upload = __esm(() => {
|
|
343297
|
-
init_dist_es143();
|
|
343298
343818
|
init_dist_es145();
|
|
343299
|
-
|
|
343300
|
-
|
|
343819
|
+
init_dist_es146();
|
|
343820
|
+
init_dist_es155();
|
|
343821
|
+
init_dist_es158();
|
|
343301
343822
|
init_bytelength();
|
|
343302
343823
|
init_chunker();
|
|
343303
343824
|
Upload = class Upload extends EventEmitter4 {
|
|
@@ -343597,7 +344118,7 @@ var init_Upload = __esm(() => {
|
|
|
343597
344118
|
var init_types31 = () => {};
|
|
343598
344119
|
|
|
343599
344120
|
// ../../../../node_modules/@aws-sdk/lib-storage/dist-es/index.js
|
|
343600
|
-
var
|
|
344121
|
+
var init_dist_es159 = __esm(() => {
|
|
343601
344122
|
init_Upload();
|
|
343602
344123
|
init_types31();
|
|
343603
344124
|
});
|
|
@@ -343622,7 +344143,7 @@ function buildQueryString3(query2) {
|
|
|
343622
344143
|
}
|
|
343623
344144
|
return parts2.join("&");
|
|
343624
344145
|
}
|
|
343625
|
-
var
|
|
344146
|
+
var init_dist_es160 = __esm(() => {
|
|
343626
344147
|
init_dist_es27();
|
|
343627
344148
|
});
|
|
343628
344149
|
|
|
@@ -343655,8 +344176,8 @@ function formatUrl(request7) {
|
|
|
343655
344176
|
}
|
|
343656
344177
|
return `${protocol}//${auth3}${hostname}${path13}${queryString}${fragment}`;
|
|
343657
344178
|
}
|
|
343658
|
-
var
|
|
343659
|
-
|
|
344179
|
+
var init_dist_es161 = __esm(() => {
|
|
344180
|
+
init_dist_es160();
|
|
343660
344181
|
});
|
|
343661
344182
|
|
|
343662
344183
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js
|
|
@@ -343856,7 +344377,7 @@ var memoize13 = (provider5, isExpired, requiresRefresh) => {
|
|
|
343856
344377
|
};
|
|
343857
344378
|
|
|
343858
344379
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js
|
|
343859
|
-
var
|
|
344380
|
+
var init_dist_es163 = __esm(() => {
|
|
343860
344381
|
init_CredentialsProviderError7();
|
|
343861
344382
|
init_ProviderError7();
|
|
343862
344383
|
init_TokenProviderError7();
|
|
@@ -343889,7 +344410,7 @@ var fromEnv9 = (envVarSelector, logger5) => async () => {
|
|
|
343889
344410
|
}
|
|
343890
344411
|
};
|
|
343891
344412
|
var init_fromEnv7 = __esm(() => {
|
|
343892
|
-
|
|
344413
|
+
init_dist_es163();
|
|
343893
344414
|
});
|
|
343894
344415
|
|
|
343895
344416
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js
|
|
@@ -344176,7 +344697,7 @@ var init_util3 = () => {};
|
|
|
344176
344697
|
var init_waiter5 = () => {};
|
|
344177
344698
|
|
|
344178
344699
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/types/dist-es/index.js
|
|
344179
|
-
var
|
|
344700
|
+
var init_dist_es165 = __esm(() => {
|
|
344180
344701
|
init_abort3();
|
|
344181
344702
|
init_auth7();
|
|
344182
344703
|
init_blob_payload_input_types3();
|
|
@@ -344231,7 +344752,7 @@ var getConfigData7 = (data3) => Object.entries(data3).filter(([key2]) => {
|
|
|
344231
344752
|
...data3.default && { default: data3.default }
|
|
344232
344753
|
});
|
|
344233
344754
|
var init_getConfigData7 = __esm(() => {
|
|
344234
|
-
|
|
344755
|
+
init_dist_es165();
|
|
344235
344756
|
init_loadSharedConfigFiles7();
|
|
344236
344757
|
});
|
|
344237
344758
|
|
|
@@ -344296,7 +344817,7 @@ var prefixKeyRegex6, profileNameBlockList6, parseIni7 = (iniData) => {
|
|
|
344296
344817
|
return map4;
|
|
344297
344818
|
};
|
|
344298
344819
|
var init_parseIni7 = __esm(() => {
|
|
344299
|
-
|
|
344820
|
+
init_dist_es165();
|
|
344300
344821
|
init_loadSharedConfigFiles7();
|
|
344301
344822
|
prefixKeyRegex6 = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;
|
|
344302
344823
|
profileNameBlockList6 = ["__proto__", "profile __proto__"];
|
|
@@ -344353,7 +344874,7 @@ var init_loadSharedConfigFiles7 = __esm(() => {
|
|
|
344353
344874
|
|
|
344354
344875
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js
|
|
344355
344876
|
var init_getSsoSessionData7 = __esm(() => {
|
|
344356
|
-
|
|
344877
|
+
init_dist_es165();
|
|
344357
344878
|
init_loadSharedConfigFiles7();
|
|
344358
344879
|
});
|
|
344359
344880
|
|
|
@@ -344373,7 +344894,7 @@ var init_parseKnownFiles7 = __esm(() => {
|
|
|
344373
344894
|
var init_types33 = () => {};
|
|
344374
344895
|
|
|
344375
344896
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js
|
|
344376
|
-
var
|
|
344897
|
+
var init_dist_es166 = __esm(() => {
|
|
344377
344898
|
init_getHomeDir7();
|
|
344378
344899
|
init_getSSOTokenFilepath7();
|
|
344379
344900
|
init_getSSOTokenFromFile7();
|
|
@@ -344402,27 +344923,27 @@ var fromSharedConfigFiles5 = (configSelector, { preferredFile = "config", ...ini
|
|
|
344402
344923
|
}
|
|
344403
344924
|
};
|
|
344404
344925
|
var init_fromSharedConfigFiles5 = __esm(() => {
|
|
344405
|
-
|
|
344406
|
-
|
|
344926
|
+
init_dist_es163();
|
|
344927
|
+
init_dist_es166();
|
|
344407
344928
|
});
|
|
344408
344929
|
|
|
344409
344930
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/node-config-provider/dist-es/fromStatic.js
|
|
344410
344931
|
var isFunction7 = (func) => typeof func === "function", fromStatic17 = (defaultValue) => isFunction7(defaultValue) ? async () => await defaultValue() : fromStatic15(defaultValue);
|
|
344411
344932
|
var init_fromStatic7 = __esm(() => {
|
|
344412
|
-
|
|
344933
|
+
init_dist_es163();
|
|
344413
344934
|
});
|
|
344414
344935
|
|
|
344415
344936
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/node-config-provider/dist-es/configLoader.js
|
|
344416
344937
|
var loadConfig7 = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => memoize13(chain11(fromEnv9(environmentVariableSelector), fromSharedConfigFiles5(configFileSelector, configuration), fromStatic17(defaultValue)));
|
|
344417
344938
|
var init_configLoader5 = __esm(() => {
|
|
344418
|
-
|
|
344939
|
+
init_dist_es163();
|
|
344419
344940
|
init_fromEnv7();
|
|
344420
344941
|
init_fromSharedConfigFiles5();
|
|
344421
344942
|
init_fromStatic7();
|
|
344422
344943
|
});
|
|
344423
344944
|
|
|
344424
344945
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/node-config-provider/dist-es/index.js
|
|
344425
|
-
var
|
|
344946
|
+
var init_dist_es167 = __esm(() => {
|
|
344426
344947
|
init_configLoader5();
|
|
344427
344948
|
});
|
|
344428
344949
|
|
|
@@ -344456,13 +344977,13 @@ var ENV_ENDPOINT_URL5 = "AWS_ENDPOINT_URL", CONFIG_ENDPOINT_URL5 = "endpoint_url
|
|
|
344456
344977
|
default: undefined
|
|
344457
344978
|
});
|
|
344458
344979
|
var init_getEndpointUrlConfig5 = __esm(() => {
|
|
344459
|
-
|
|
344980
|
+
init_dist_es166();
|
|
344460
344981
|
});
|
|
344461
344982
|
|
|
344462
344983
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js
|
|
344463
344984
|
var getEndpointFromConfig5 = async (serviceId) => loadConfig7(getEndpointUrlConfig5(serviceId ?? ""))();
|
|
344464
344985
|
var init_getEndpointFromConfig5 = __esm(() => {
|
|
344465
|
-
|
|
344986
|
+
init_dist_es167();
|
|
344466
344987
|
init_getEndpointUrlConfig5();
|
|
344467
344988
|
});
|
|
344468
344989
|
|
|
@@ -344507,7 +345028,7 @@ var parseUrl5 = (url2) => {
|
|
|
344507
345028
|
query: query2
|
|
344508
345029
|
};
|
|
344509
345030
|
};
|
|
344510
|
-
var
|
|
345031
|
+
var init_dist_es168 = () => {};
|
|
344511
345032
|
|
|
344512
345033
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js
|
|
344513
345034
|
var toEndpointV18 = (endpoint3) => {
|
|
@@ -344520,7 +345041,7 @@ var toEndpointV18 = (endpoint3) => {
|
|
|
344520
345041
|
return parseUrl5(endpoint3);
|
|
344521
345042
|
};
|
|
344522
345043
|
var init_toEndpointV15 = __esm(() => {
|
|
344523
|
-
|
|
345044
|
+
init_dist_es168();
|
|
344524
345045
|
});
|
|
344525
345046
|
|
|
344526
345047
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js
|
|
@@ -345495,20 +346016,20 @@ var require_dist_cjs105 = __commonJS((exports, module) => {
|
|
|
345495
346016
|
buildQueryString: () => buildQueryString4
|
|
345496
346017
|
});
|
|
345497
346018
|
module.exports = __toCommonJS3(src_exports);
|
|
345498
|
-
var
|
|
346019
|
+
var import_util_uri_escape8 = require_dist_cjs9();
|
|
345499
346020
|
function buildQueryString4(query2) {
|
|
345500
346021
|
const parts2 = [];
|
|
345501
346022
|
for (let key2 of Object.keys(query2).sort()) {
|
|
345502
346023
|
const value2 = query2[key2];
|
|
345503
|
-
key2 = (0,
|
|
346024
|
+
key2 = (0, import_util_uri_escape8.escapeUri)(key2);
|
|
345504
346025
|
if (Array.isArray(value2)) {
|
|
345505
346026
|
for (let i10 = 0, iLen = value2.length;i10 < iLen; i10++) {
|
|
345506
|
-
parts2.push(`${key2}=${(0,
|
|
346027
|
+
parts2.push(`${key2}=${(0, import_util_uri_escape8.escapeUri)(value2[i10])}`);
|
|
345507
346028
|
}
|
|
345508
346029
|
} else {
|
|
345509
346030
|
let qsEntry = key2;
|
|
345510
346031
|
if (value2 || typeof value2 === "string") {
|
|
345511
|
-
qsEntry += `=${(0,
|
|
346032
|
+
qsEntry += `=${(0, import_util_uri_escape8.escapeUri)(value2)}`;
|
|
345512
346033
|
}
|
|
345513
346034
|
parts2.push(qsEntry);
|
|
345514
346035
|
}
|
|
@@ -345549,7 +346070,7 @@ var require_dist_cjs106 = __commonJS((exports, module) => {
|
|
|
345549
346070
|
streamCollector: () => streamCollector4
|
|
345550
346071
|
});
|
|
345551
346072
|
module.exports = __toCommonJS3(src_exports);
|
|
345552
|
-
var
|
|
346073
|
+
var import_protocol_http52 = require_dist_cjs104();
|
|
345553
346074
|
var import_querystring_builder6 = require_dist_cjs105();
|
|
345554
346075
|
var import_http6 = __require("node:http");
|
|
345555
346076
|
var import_https3 = __require("node:https");
|
|
@@ -345830,7 +346351,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
345830
346351
|
};
|
|
345831
346352
|
const requestFunc = isSSL ? import_https3.request : import_http6.request;
|
|
345832
346353
|
const req = requestFunc(nodeHttpsOptions, (res) => {
|
|
345833
|
-
const httpResponse3 = new
|
|
346354
|
+
const httpResponse3 = new import_protocol_http52.HttpResponse({
|
|
345834
346355
|
statusCode: res.statusCode || -1,
|
|
345835
346356
|
reason: res.statusMessage,
|
|
345836
346357
|
headers: getTransformedHeaders3(res.headers),
|
|
@@ -346097,7 +346618,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
346097
346618
|
});
|
|
346098
346619
|
session.ref();
|
|
346099
346620
|
req.on("response", (headers) => {
|
|
346100
|
-
const httpResponse3 = new
|
|
346621
|
+
const httpResponse3 = new import_protocol_http52.HttpResponse({
|
|
346101
346622
|
statusCode: headers[":status"] || -1,
|
|
346102
346623
|
headers: getTransformedHeaders3(headers),
|
|
346103
346624
|
body: req
|
|
@@ -346250,20 +346771,20 @@ var require_dist_cjs107 = __commonJS((exports, module) => {
|
|
|
346250
346771
|
buildQueryString: () => buildQueryString4
|
|
346251
346772
|
});
|
|
346252
346773
|
module.exports = __toCommonJS3(src_exports);
|
|
346253
|
-
var
|
|
346774
|
+
var import_util_uri_escape8 = require_dist_cjs9();
|
|
346254
346775
|
function buildQueryString4(query2) {
|
|
346255
346776
|
const parts2 = [];
|
|
346256
346777
|
for (let key2 of Object.keys(query2).sort()) {
|
|
346257
346778
|
const value2 = query2[key2];
|
|
346258
|
-
key2 = (0,
|
|
346779
|
+
key2 = (0, import_util_uri_escape8.escapeUri)(key2);
|
|
346259
346780
|
if (Array.isArray(value2)) {
|
|
346260
346781
|
for (let i10 = 0, iLen = value2.length;i10 < iLen; i10++) {
|
|
346261
|
-
parts2.push(`${key2}=${(0,
|
|
346782
|
+
parts2.push(`${key2}=${(0, import_util_uri_escape8.escapeUri)(value2[i10])}`);
|
|
346262
346783
|
}
|
|
346263
346784
|
} else {
|
|
346264
346785
|
let qsEntry = key2;
|
|
346265
346786
|
if (value2 || typeof value2 === "string") {
|
|
346266
|
-
qsEntry += `=${(0,
|
|
346787
|
+
qsEntry += `=${(0, import_util_uri_escape8.escapeUri)(value2)}`;
|
|
346267
346788
|
}
|
|
346268
346789
|
parts2.push(qsEntry);
|
|
346269
346790
|
}
|
|
@@ -346300,7 +346821,7 @@ var require_dist_cjs108 = __commonJS((exports, module) => {
|
|
|
346300
346821
|
streamCollector: () => streamCollector4
|
|
346301
346822
|
});
|
|
346302
346823
|
module.exports = __toCommonJS3(src_exports);
|
|
346303
|
-
var
|
|
346824
|
+
var import_protocol_http52 = require_dist_cjs104();
|
|
346304
346825
|
var import_querystring_builder6 = require_dist_cjs107();
|
|
346305
346826
|
function createRequest(url2, requestOptions) {
|
|
346306
346827
|
return new Request(url2, requestOptions);
|
|
@@ -346405,7 +346926,7 @@ var require_dist_cjs108 = __commonJS((exports, module) => {
|
|
|
346405
346926
|
const hasReadableStream = response6.body != null;
|
|
346406
346927
|
if (!hasReadableStream) {
|
|
346407
346928
|
return response6.blob().then((body2) => ({
|
|
346408
|
-
response: new
|
|
346929
|
+
response: new import_protocol_http52.HttpResponse({
|
|
346409
346930
|
headers: transformedHeaders,
|
|
346410
346931
|
reason: response6.statusText,
|
|
346411
346932
|
statusCode: response6.status,
|
|
@@ -346414,7 +346935,7 @@ var require_dist_cjs108 = __commonJS((exports, module) => {
|
|
|
346414
346935
|
}));
|
|
346415
346936
|
}
|
|
346416
346937
|
return {
|
|
346417
|
-
response: new
|
|
346938
|
+
response: new import_protocol_http52.HttpResponse({
|
|
346418
346939
|
headers: transformedHeaders,
|
|
346419
346940
|
reason: response6.statusText,
|
|
346420
346941
|
statusCode: response6.status,
|
|
@@ -346694,19 +347215,19 @@ var require_dist_cjs109 = __commonJS((exports, module) => {
|
|
|
346694
347215
|
});
|
|
346695
347216
|
module.exports = __toCommonJS3(src_exports);
|
|
346696
347217
|
var import_util_base6410 = require_dist_cjs8();
|
|
346697
|
-
var
|
|
347218
|
+
var import_util_utf824 = require_dist_cjs7();
|
|
346698
347219
|
function transformToString3(payload, encoding = "utf-8") {
|
|
346699
347220
|
if (encoding === "base64") {
|
|
346700
347221
|
return (0, import_util_base6410.toBase64)(payload);
|
|
346701
347222
|
}
|
|
346702
|
-
return (0,
|
|
347223
|
+
return (0, import_util_utf824.toUtf8)(payload);
|
|
346703
347224
|
}
|
|
346704
347225
|
__name(transformToString3, "transformToString");
|
|
346705
347226
|
function transformFromString3(str2, encoding) {
|
|
346706
347227
|
if (encoding === "base64") {
|
|
346707
347228
|
return Uint8ArrayBlobAdapter4.mutate((0, import_util_base6410.fromBase64)(str2));
|
|
346708
347229
|
}
|
|
346709
|
-
return Uint8ArrayBlobAdapter4.mutate((0,
|
|
347230
|
+
return Uint8ArrayBlobAdapter4.mutate((0, import_util_utf824.fromUtf8)(str2));
|
|
346710
347231
|
}
|
|
346711
347232
|
__name(transformFromString3, "transformFromString");
|
|
346712
347233
|
var Uint8ArrayBlobAdapter4 = class _Uint8ArrayBlobAdapter extends Uint8Array {
|
|
@@ -346783,7 +347304,7 @@ var require_protocols7 = __commonJS((exports, module) => {
|
|
|
346783
347304
|
return "%" + c9.charCodeAt(0).toString(16).toUpperCase();
|
|
346784
347305
|
});
|
|
346785
347306
|
}
|
|
346786
|
-
var
|
|
347307
|
+
var import_protocol_http52 = require_dist_cjs104();
|
|
346787
347308
|
var resolvedPath5 = (resolvedPath22, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {
|
|
346788
347309
|
if (input != null && input[memberName] !== undefined) {
|
|
346789
347310
|
const labelValue = labelValueProvider();
|
|
@@ -346817,7 +347338,7 @@ var require_protocols7 = __commonJS((exports, module) => {
|
|
|
346817
347338
|
for (const resolvePath2 of this.resolvePathStack) {
|
|
346818
347339
|
resolvePath2(this.path);
|
|
346819
347340
|
}
|
|
346820
|
-
return new
|
|
347341
|
+
return new import_protocol_http52.HttpRequest({
|
|
346821
347342
|
protocol,
|
|
346822
347343
|
hostname: this.hostname || hostname,
|
|
346823
347344
|
port,
|
|
@@ -346911,7 +347432,7 @@ var require_dist_cjs110 = __commonJS((exports, module) => {
|
|
|
346911
347432
|
module.exports = __toCommonJS3(src_exports);
|
|
346912
347433
|
var import_types65 = require_dist_cjs101();
|
|
346913
347434
|
var getSmithyContext8 = /* @__PURE__ */ __name((context) => context[import_types65.SMITHY_CONTEXT_KEY] || (context[import_types65.SMITHY_CONTEXT_KEY] = {}), "getSmithyContext");
|
|
346914
|
-
var
|
|
347435
|
+
var import_util_middleware24 = require_dist_cjs102();
|
|
346915
347436
|
function convertHttpAuthSchemesToMap(httpAuthSchemes) {
|
|
346916
347437
|
const map4 = /* @__PURE__ */ new Map;
|
|
346917
347438
|
for (const scheme of httpAuthSchemes) {
|
|
@@ -346923,7 +347444,7 @@ var require_dist_cjs110 = __commonJS((exports, module) => {
|
|
|
346923
347444
|
var httpAuthSchemeMiddleware = /* @__PURE__ */ __name((config13, mwOptions) => (next, context) => async (args) => {
|
|
346924
347445
|
const options2 = config13.httpAuthSchemeProvider(await mwOptions.httpAuthSchemeParametersProvider(config13, context, args.input));
|
|
346925
347446
|
const authSchemes = convertHttpAuthSchemesToMap(config13.httpAuthSchemes);
|
|
346926
|
-
const smithyContext = (0,
|
|
347447
|
+
const smithyContext = (0, import_util_middleware24.getSmithyContext)(context);
|
|
346927
347448
|
const failureReasons = [];
|
|
346928
347449
|
for (const option of options2) {
|
|
346929
347450
|
const scheme = authSchemes.get(option.schemeId);
|
|
@@ -346991,16 +347512,16 @@ var require_dist_cjs110 = __commonJS((exports, module) => {
|
|
|
346991
347512
|
}), httpAuthSchemeMiddlewareOptions2);
|
|
346992
347513
|
}
|
|
346993
347514
|
}), "getHttpAuthSchemePlugin");
|
|
346994
|
-
var
|
|
347515
|
+
var import_protocol_http52 = require_dist_cjs104();
|
|
346995
347516
|
var defaultErrorHandler3 = /* @__PURE__ */ __name((signingProperties) => (error) => {
|
|
346996
347517
|
throw error;
|
|
346997
347518
|
}, "defaultErrorHandler");
|
|
346998
347519
|
var defaultSuccessHandler3 = /* @__PURE__ */ __name((httpResponse3, signingProperties) => {}, "defaultSuccessHandler");
|
|
346999
347520
|
var httpSigningMiddleware = /* @__PURE__ */ __name((config13) => (next, context) => async (args) => {
|
|
347000
|
-
if (!
|
|
347521
|
+
if (!import_protocol_http52.HttpRequest.isInstance(args.request)) {
|
|
347001
347522
|
return next(args);
|
|
347002
347523
|
}
|
|
347003
|
-
const smithyContext = (0,
|
|
347524
|
+
const smithyContext = (0, import_util_middleware24.getSmithyContext)(context);
|
|
347004
347525
|
const scheme = smithyContext.selectedHttpAuthScheme;
|
|
347005
347526
|
if (!scheme) {
|
|
347006
347527
|
throw new Error(`No HttpAuthScheme was selected: unable to sign request`);
|
|
@@ -347123,7 +347644,7 @@ var require_dist_cjs110 = __commonJS((exports, module) => {
|
|
|
347123
347644
|
if (!identity7.apiKey) {
|
|
347124
347645
|
throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined");
|
|
347125
347646
|
}
|
|
347126
|
-
const clonedRequest =
|
|
347647
|
+
const clonedRequest = import_protocol_http52.HttpRequest.clone(httpRequest6);
|
|
347127
347648
|
if (signingProperties.in === import_types65.HttpApiKeyAuthLocation.QUERY) {
|
|
347128
347649
|
clonedRequest.query[signingProperties.name] = identity7.apiKey;
|
|
347129
347650
|
} else if (signingProperties.in === import_types65.HttpApiKeyAuthLocation.HEADER) {
|
|
@@ -347139,7 +347660,7 @@ var require_dist_cjs110 = __commonJS((exports, module) => {
|
|
|
347139
347660
|
__name(this, "HttpBearerAuthSigner");
|
|
347140
347661
|
}
|
|
347141
347662
|
async sign(httpRequest6, identity7, signingProperties) {
|
|
347142
|
-
const clonedRequest =
|
|
347663
|
+
const clonedRequest = import_protocol_http52.HttpRequest.clone(httpRequest6);
|
|
347143
347664
|
if (!identity7.token) {
|
|
347144
347665
|
throw new Error("request could not be signed with `token` since the `token` is not defined");
|
|
347145
347666
|
}
|
|
@@ -347211,10 +347732,10 @@ var require_dist_cjs110 = __commonJS((exports, module) => {
|
|
|
347211
347732
|
|
|
347212
347733
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js
|
|
347213
347734
|
var init_getSmithyContext5 = __esm(() => {
|
|
347214
|
-
|
|
347735
|
+
init_dist_es165();
|
|
347215
347736
|
});
|
|
347216
347737
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/util-middleware/dist-es/index.js
|
|
347217
|
-
var
|
|
347738
|
+
var init_dist_es169 = __esm(() => {
|
|
347218
347739
|
init_getSmithyContext5();
|
|
347219
347740
|
});
|
|
347220
347741
|
|
|
@@ -347222,7 +347743,7 @@ var init_dist_es168 = __esm(() => {
|
|
|
347222
347743
|
var import_core68;
|
|
347223
347744
|
var init_endpointMiddleware5 = __esm(() => {
|
|
347224
347745
|
import_core68 = __toESM(require_dist_cjs110(), 1);
|
|
347225
|
-
|
|
347746
|
+
init_dist_es169();
|
|
347226
347747
|
init_getEndpointFromInstructions5();
|
|
347227
347748
|
});
|
|
347228
347749
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js
|
|
@@ -347237,14 +347758,14 @@ var init_serdePlugin5 = __esm(() => {
|
|
|
347237
347758
|
});
|
|
347238
347759
|
|
|
347239
347760
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/middleware-serde/dist-es/index.js
|
|
347240
|
-
var
|
|
347761
|
+
var init_dist_es170 = __esm(() => {
|
|
347241
347762
|
init_serdePlugin5();
|
|
347242
347763
|
});
|
|
347243
347764
|
|
|
347244
347765
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js
|
|
347245
347766
|
var endpointMiddlewareOptions5;
|
|
347246
347767
|
var init_getEndpointPlugin5 = __esm(() => {
|
|
347247
|
-
|
|
347768
|
+
init_dist_es170();
|
|
347248
347769
|
init_endpointMiddleware5();
|
|
347249
347770
|
endpointMiddlewareOptions5 = {
|
|
347250
347771
|
step: "serialize",
|
|
@@ -347258,7 +347779,7 @@ var init_getEndpointPlugin5 = __esm(() => {
|
|
|
347258
347779
|
|
|
347259
347780
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js
|
|
347260
347781
|
var init_resolveEndpointConfig5 = __esm(() => {
|
|
347261
|
-
|
|
347782
|
+
init_dist_es169();
|
|
347262
347783
|
init_getEndpointFromConfig5();
|
|
347263
347784
|
init_toEndpointV15();
|
|
347264
347785
|
});
|
|
@@ -347267,7 +347788,7 @@ var init_resolveEndpointConfig5 = __esm(() => {
|
|
|
347267
347788
|
var init_types35 = () => {};
|
|
347268
347789
|
|
|
347269
347790
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/middleware-endpoint/dist-es/index.js
|
|
347270
|
-
var
|
|
347791
|
+
var init_dist_es171 = __esm(() => {
|
|
347271
347792
|
init_adaptors5();
|
|
347272
347793
|
init_endpointMiddleware5();
|
|
347273
347794
|
init_getEndpointPlugin5();
|
|
@@ -347279,7 +347800,7 @@ var init_extensions9 = () => {};
|
|
|
347279
347800
|
|
|
347280
347801
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/protocol-http/dist-es/Field.js
|
|
347281
347802
|
var init_Field4 = __esm(() => {
|
|
347282
|
-
|
|
347803
|
+
init_dist_es165();
|
|
347283
347804
|
});
|
|
347284
347805
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/protocol-http/dist-es/httpHandler.js
|
|
347285
347806
|
var init_httpHandler4 = () => {};
|
|
@@ -347333,7 +347854,7 @@ function cloneQuery4(query2) {
|
|
|
347333
347854
|
var init_types36 = () => {};
|
|
347334
347855
|
|
|
347335
347856
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/protocol-http/dist-es/index.js
|
|
347336
|
-
var
|
|
347857
|
+
var init_dist_es173 = __esm(() => {
|
|
347337
347858
|
init_extensions9();
|
|
347338
347859
|
init_Field4();
|
|
347339
347860
|
init_httpHandler4();
|
|
@@ -347344,13 +347865,13 @@ var init_dist_es171 = __esm(() => {
|
|
|
347344
347865
|
var init_MiddlewareStack5 = () => {};
|
|
347345
347866
|
|
|
347346
347867
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/smithy-client/node_modules/@smithy/middleware-stack/dist-es/index.js
|
|
347347
|
-
var
|
|
347868
|
+
var init_dist_es175 = __esm(() => {
|
|
347348
347869
|
init_MiddlewareStack5();
|
|
347349
347870
|
});
|
|
347350
347871
|
|
|
347351
347872
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/smithy-client/dist-es/client.js
|
|
347352
347873
|
var init_client9 = __esm(() => {
|
|
347353
|
-
|
|
347874
|
+
init_dist_es175();
|
|
347354
347875
|
});
|
|
347355
347876
|
|
|
347356
347877
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/smithy-client/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js
|
|
@@ -347840,20 +348361,20 @@ var require_dist_cjs111 = __commonJS((exports, module) => {
|
|
|
347840
348361
|
buildQueryString: () => buildQueryString4
|
|
347841
348362
|
});
|
|
347842
348363
|
module.exports = __toCommonJS3(src_exports);
|
|
347843
|
-
var
|
|
348364
|
+
var import_util_uri_escape8 = require_dist_cjs9();
|
|
347844
348365
|
function buildQueryString4(query2) {
|
|
347845
348366
|
const parts2 = [];
|
|
347846
348367
|
for (let key2 of Object.keys(query2).sort()) {
|
|
347847
348368
|
const value2 = query2[key2];
|
|
347848
|
-
key2 = (0,
|
|
348369
|
+
key2 = (0, import_util_uri_escape8.escapeUri)(key2);
|
|
347849
348370
|
if (Array.isArray(value2)) {
|
|
347850
348371
|
for (let i10 = 0, iLen = value2.length;i10 < iLen; i10++) {
|
|
347851
|
-
parts2.push(`${key2}=${(0,
|
|
348372
|
+
parts2.push(`${key2}=${(0, import_util_uri_escape8.escapeUri)(value2[i10])}`);
|
|
347852
348373
|
}
|
|
347853
348374
|
} else {
|
|
347854
348375
|
let qsEntry = key2;
|
|
347855
348376
|
if (value2 || typeof value2 === "string") {
|
|
347856
|
-
qsEntry += `=${(0,
|
|
348377
|
+
qsEntry += `=${(0, import_util_uri_escape8.escapeUri)(value2)}`;
|
|
347857
348378
|
}
|
|
347858
348379
|
parts2.push(qsEntry);
|
|
347859
348380
|
}
|
|
@@ -347894,7 +348415,7 @@ var require_dist_cjs112 = __commonJS((exports, module) => {
|
|
|
347894
348415
|
streamCollector: () => streamCollector4
|
|
347895
348416
|
});
|
|
347896
348417
|
module.exports = __toCommonJS3(src_exports);
|
|
347897
|
-
var
|
|
348418
|
+
var import_protocol_http52 = require_dist_cjs104();
|
|
347898
348419
|
var import_querystring_builder6 = require_dist_cjs111();
|
|
347899
348420
|
var import_http6 = __require("node:http");
|
|
347900
348421
|
var import_https3 = __require("node:https");
|
|
@@ -348175,7 +348696,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
348175
348696
|
};
|
|
348176
348697
|
const requestFunc = isSSL ? import_https3.request : import_http6.request;
|
|
348177
348698
|
const req = requestFunc(nodeHttpsOptions, (res) => {
|
|
348178
|
-
const httpResponse4 = new
|
|
348699
|
+
const httpResponse4 = new import_protocol_http52.HttpResponse({
|
|
348179
348700
|
statusCode: res.statusCode || -1,
|
|
348180
348701
|
reason: res.statusMessage,
|
|
348181
348702
|
headers: getTransformedHeaders3(res.headers),
|
|
@@ -348442,7 +348963,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
348442
348963
|
});
|
|
348443
348964
|
session.ref();
|
|
348444
348965
|
req.on("response", (headers) => {
|
|
348445
|
-
const httpResponse4 = new
|
|
348966
|
+
const httpResponse4 = new import_protocol_http52.HttpResponse({
|
|
348446
348967
|
statusCode: headers[":status"] || -1,
|
|
348447
348968
|
headers: getTransformedHeaders3(headers),
|
|
348448
348969
|
body: req
|
|
@@ -348595,20 +349116,20 @@ var require_dist_cjs113 = __commonJS((exports, module) => {
|
|
|
348595
349116
|
buildQueryString: () => buildQueryString4
|
|
348596
349117
|
});
|
|
348597
349118
|
module.exports = __toCommonJS3(src_exports);
|
|
348598
|
-
var
|
|
349119
|
+
var import_util_uri_escape8 = require_dist_cjs9();
|
|
348599
349120
|
function buildQueryString4(query2) {
|
|
348600
349121
|
const parts2 = [];
|
|
348601
349122
|
for (let key2 of Object.keys(query2).sort()) {
|
|
348602
349123
|
const value2 = query2[key2];
|
|
348603
|
-
key2 = (0,
|
|
349124
|
+
key2 = (0, import_util_uri_escape8.escapeUri)(key2);
|
|
348604
349125
|
if (Array.isArray(value2)) {
|
|
348605
349126
|
for (let i10 = 0, iLen = value2.length;i10 < iLen; i10++) {
|
|
348606
|
-
parts2.push(`${key2}=${(0,
|
|
349127
|
+
parts2.push(`${key2}=${(0, import_util_uri_escape8.escapeUri)(value2[i10])}`);
|
|
348607
349128
|
}
|
|
348608
349129
|
} else {
|
|
348609
349130
|
let qsEntry = key2;
|
|
348610
349131
|
if (value2 || typeof value2 === "string") {
|
|
348611
|
-
qsEntry += `=${(0,
|
|
349132
|
+
qsEntry += `=${(0, import_util_uri_escape8.escapeUri)(value2)}`;
|
|
348612
349133
|
}
|
|
348613
349134
|
parts2.push(qsEntry);
|
|
348614
349135
|
}
|
|
@@ -348645,7 +349166,7 @@ var require_dist_cjs114 = __commonJS((exports, module) => {
|
|
|
348645
349166
|
streamCollector: () => streamCollector4
|
|
348646
349167
|
});
|
|
348647
349168
|
module.exports = __toCommonJS3(src_exports);
|
|
348648
|
-
var
|
|
349169
|
+
var import_protocol_http52 = require_dist_cjs104();
|
|
348649
349170
|
var import_querystring_builder6 = require_dist_cjs113();
|
|
348650
349171
|
function createRequest(url2, requestOptions) {
|
|
348651
349172
|
return new Request(url2, requestOptions);
|
|
@@ -348750,7 +349271,7 @@ var require_dist_cjs114 = __commonJS((exports, module) => {
|
|
|
348750
349271
|
const hasReadableStream = response6.body != null;
|
|
348751
349272
|
if (!hasReadableStream) {
|
|
348752
349273
|
return response6.blob().then((body2) => ({
|
|
348753
|
-
response: new
|
|
349274
|
+
response: new import_protocol_http52.HttpResponse({
|
|
348754
349275
|
headers: transformedHeaders,
|
|
348755
349276
|
reason: response6.statusText,
|
|
348756
349277
|
statusCode: response6.status,
|
|
@@ -348759,7 +349280,7 @@ var require_dist_cjs114 = __commonJS((exports, module) => {
|
|
|
348759
349280
|
}));
|
|
348760
349281
|
}
|
|
348761
349282
|
return {
|
|
348762
|
-
response: new
|
|
349283
|
+
response: new import_protocol_http52.HttpResponse({
|
|
348763
349284
|
headers: transformedHeaders,
|
|
348764
349285
|
reason: response6.statusText,
|
|
348765
349286
|
statusCode: response6.status,
|
|
@@ -349039,19 +349560,19 @@ var require_dist_cjs115 = __commonJS((exports, module) => {
|
|
|
349039
349560
|
});
|
|
349040
349561
|
module.exports = __toCommonJS3(src_exports);
|
|
349041
349562
|
var import_util_base6410 = require_dist_cjs8();
|
|
349042
|
-
var
|
|
349563
|
+
var import_util_utf824 = require_dist_cjs7();
|
|
349043
349564
|
function transformToString3(payload, encoding = "utf-8") {
|
|
349044
349565
|
if (encoding === "base64") {
|
|
349045
349566
|
return (0, import_util_base6410.toBase64)(payload);
|
|
349046
349567
|
}
|
|
349047
|
-
return (0,
|
|
349568
|
+
return (0, import_util_utf824.toUtf8)(payload);
|
|
349048
349569
|
}
|
|
349049
349570
|
__name(transformToString3, "transformToString");
|
|
349050
349571
|
function transformFromString3(str2, encoding) {
|
|
349051
349572
|
if (encoding === "base64") {
|
|
349052
349573
|
return Uint8ArrayBlobAdapter4.mutate((0, import_util_base6410.fromBase64)(str2));
|
|
349053
349574
|
}
|
|
349054
|
-
return Uint8ArrayBlobAdapter4.mutate((0,
|
|
349575
|
+
return Uint8ArrayBlobAdapter4.mutate((0, import_util_utf824.fromUtf8)(str2));
|
|
349055
349576
|
}
|
|
349056
349577
|
__name(transformFromString3, "transformFromString");
|
|
349057
349578
|
var Uint8ArrayBlobAdapter4 = class _Uint8ArrayBlobAdapter extends Uint8Array {
|
|
@@ -349128,7 +349649,7 @@ var require_protocols8 = __commonJS((exports, module) => {
|
|
|
349128
349649
|
return "%" + c9.charCodeAt(0).toString(16).toUpperCase();
|
|
349129
349650
|
});
|
|
349130
349651
|
}
|
|
349131
|
-
var
|
|
349652
|
+
var import_protocol_http52 = require_dist_cjs104();
|
|
349132
349653
|
var resolvedPath5 = (resolvedPath22, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {
|
|
349133
349654
|
if (input != null && input[memberName] !== undefined) {
|
|
349134
349655
|
const labelValue = labelValueProvider();
|
|
@@ -349162,7 +349683,7 @@ var require_protocols8 = __commonJS((exports, module) => {
|
|
|
349162
349683
|
for (const resolvePath2 of this.resolvePathStack) {
|
|
349163
349684
|
resolvePath2(this.path);
|
|
349164
349685
|
}
|
|
349165
|
-
return new
|
|
349686
|
+
return new import_protocol_http52.HttpRequest({
|
|
349166
349687
|
protocol,
|
|
349167
349688
|
hostname: this.hostname || hostname,
|
|
349168
349689
|
port,
|
|
@@ -349216,8 +349737,8 @@ var init_collect_stream_body5 = __esm(() => {
|
|
|
349216
349737
|
|
|
349217
349738
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/smithy-client/dist-es/command.js
|
|
349218
349739
|
var init_command8 = __esm(() => {
|
|
349219
|
-
|
|
349220
|
-
|
|
349740
|
+
init_dist_es175();
|
|
349741
|
+
init_dist_es165();
|
|
349221
349742
|
});
|
|
349222
349743
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/smithy-client/dist-es/parse-utils.js
|
|
349223
349744
|
var MAX_FLOAT5;
|
|
@@ -349252,7 +349773,7 @@ var init_extended_encode_uri_component4 = __esm(() => {
|
|
|
349252
349773
|
|
|
349253
349774
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js
|
|
349254
349775
|
var init_checksum11 = __esm(() => {
|
|
349255
|
-
|
|
349776
|
+
init_dist_es165();
|
|
349256
349777
|
});
|
|
349257
349778
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js
|
|
349258
349779
|
var init_defaultExtensionConfiguration7 = __esm(() => {
|
|
@@ -349295,7 +349816,7 @@ var init_resolve_path5 = __esm(() => {
|
|
|
349295
349816
|
import_protocols12 = __toESM(require_protocols8(), 1);
|
|
349296
349817
|
});
|
|
349297
349818
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/smithy-client/dist-es/index.js
|
|
349298
|
-
var
|
|
349819
|
+
var init_dist_es176 = __esm(() => {
|
|
349299
349820
|
init_client9();
|
|
349300
349821
|
init_collect_stream_body5();
|
|
349301
349822
|
init_command8();
|
|
@@ -349311,8 +349832,8 @@ var init_dist_es175 = __esm(() => {
|
|
|
349311
349832
|
|
|
349312
349833
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/check-content-length-header.js
|
|
349313
349834
|
var init_check_content_length_header3 = __esm(() => {
|
|
349314
|
-
|
|
349315
|
-
|
|
349835
|
+
init_dist_es173();
|
|
349836
|
+
init_dist_es176();
|
|
349316
349837
|
});
|
|
349317
349838
|
|
|
349318
349839
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-endpoint-middleware.js
|
|
@@ -349325,8 +349846,8 @@ var init_region_redirect_middleware3 = __esm(() => {
|
|
|
349325
349846
|
|
|
349326
349847
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-expires-middleware.js
|
|
349327
349848
|
var init_s3_expires_middleware3 = __esm(() => {
|
|
349328
|
-
|
|
349329
|
-
|
|
349849
|
+
init_dist_es173();
|
|
349850
|
+
init_dist_es176();
|
|
349330
349851
|
});
|
|
349331
349852
|
|
|
349332
349853
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCache.js
|
|
@@ -349374,7 +349895,7 @@ var init_S3ExpressIdentityProviderImpl3 = () => {};
|
|
|
349374
349895
|
|
|
349375
349896
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@smithy/signature-v4/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js
|
|
349376
349897
|
var init_getSmithyContext6 = __esm(() => {
|
|
349377
|
-
|
|
349898
|
+
init_dist_es165();
|
|
349378
349899
|
});
|
|
349379
349900
|
|
|
349380
349901
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@smithy/signature-v4/node_modules/@smithy/util-middleware/dist-es/normalizeProvider.js
|
|
@@ -349386,18 +349907,18 @@ var normalizeProvider11 = (input) => {
|
|
|
349386
349907
|
};
|
|
349387
349908
|
|
|
349388
349909
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@smithy/signature-v4/node_modules/@smithy/util-middleware/dist-es/index.js
|
|
349389
|
-
var
|
|
349910
|
+
var init_dist_es177 = __esm(() => {
|
|
349390
349911
|
init_getSmithyContext6();
|
|
349391
349912
|
});
|
|
349392
349913
|
|
|
349393
349914
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@smithy/signature-v4/dist-es/constants.js
|
|
349394
|
-
var
|
|
349395
|
-
var
|
|
349396
|
-
|
|
349397
|
-
|
|
349398
|
-
|
|
349399
|
-
|
|
349400
|
-
|
|
349915
|
+
var ALGORITHM_QUERY_PARAM3 = "X-Amz-Algorithm", CREDENTIAL_QUERY_PARAM3 = "X-Amz-Credential", AMZ_DATE_QUERY_PARAM4 = "X-Amz-Date", SIGNED_HEADERS_QUERY_PARAM3 = "X-Amz-SignedHeaders", EXPIRES_QUERY_PARAM3 = "X-Amz-Expires", SIGNATURE_QUERY_PARAM4 = "X-Amz-Signature", TOKEN_QUERY_PARAM4 = "X-Amz-Security-Token", AUTH_HEADER3 = "authorization", AMZ_DATE_HEADER4, DATE_HEADER3 = "date", GENERATED_HEADERS3, SIGNATURE_HEADER4, SHA256_HEADER3 = "x-amz-content-sha256", TOKEN_HEADER4, ALWAYS_UNSIGNABLE_HEADERS3, PROXY_HEADER_PATTERN3, SEC_HEADER_PATTERN3, ALGORITHM_IDENTIFIER3 = "AWS4-HMAC-SHA256", EVENT_ALGORITHM_IDENTIFIER3 = "AWS4-HMAC-SHA256-PAYLOAD", UNSIGNED_PAYLOAD3 = "UNSIGNED-PAYLOAD", MAX_CACHE_SIZE3 = 50, KEY_TYPE_IDENTIFIER3 = "aws4_request", MAX_PRESIGNED_TTL4;
|
|
349916
|
+
var init_constants21 = __esm(() => {
|
|
349917
|
+
AMZ_DATE_HEADER4 = AMZ_DATE_QUERY_PARAM4.toLowerCase();
|
|
349918
|
+
GENERATED_HEADERS3 = [AUTH_HEADER3, AMZ_DATE_HEADER4, DATE_HEADER3];
|
|
349919
|
+
SIGNATURE_HEADER4 = SIGNATURE_QUERY_PARAM4.toLowerCase();
|
|
349920
|
+
TOKEN_HEADER4 = TOKEN_QUERY_PARAM4.toLowerCase();
|
|
349921
|
+
ALWAYS_UNSIGNABLE_HEADERS3 = {
|
|
349401
349922
|
authorization: true,
|
|
349402
349923
|
"cache-control": true,
|
|
349403
349924
|
connection: true,
|
|
@@ -349414,49 +349935,49 @@ var init_constants20 = __esm(() => {
|
|
|
349414
349935
|
"user-agent": true,
|
|
349415
349936
|
"x-amzn-trace-id": true
|
|
349416
349937
|
};
|
|
349417
|
-
|
|
349418
|
-
|
|
349419
|
-
|
|
349938
|
+
PROXY_HEADER_PATTERN3 = /^proxy-/;
|
|
349939
|
+
SEC_HEADER_PATTERN3 = /^sec-/;
|
|
349940
|
+
MAX_PRESIGNED_TTL4 = 60 * 60 * 24 * 7;
|
|
349420
349941
|
});
|
|
349421
349942
|
|
|
349422
349943
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@smithy/signature-v4/dist-es/credentialDerivation.js
|
|
349423
|
-
var
|
|
349424
|
-
const credsHash = await
|
|
349425
|
-
const cacheKey = `${shortDate}:${region}:${service}:${
|
|
349426
|
-
if (cacheKey in
|
|
349427
|
-
return
|
|
349944
|
+
var import_util_hex_encoding14, signingKeyCache3, cacheQueue3, createScope3 = (shortDate, region, service) => `${shortDate}/${region}/${service}/${KEY_TYPE_IDENTIFIER3}`, getSigningKey3 = async (sha256Constructor, credentials, shortDate, region, service) => {
|
|
349945
|
+
const credsHash = await hmac3(sha256Constructor, credentials.secretAccessKey, credentials.accessKeyId);
|
|
349946
|
+
const cacheKey = `${shortDate}:${region}:${service}:${import_util_hex_encoding14.toHex(credsHash)}:${credentials.sessionToken}`;
|
|
349947
|
+
if (cacheKey in signingKeyCache3) {
|
|
349948
|
+
return signingKeyCache3[cacheKey];
|
|
349428
349949
|
}
|
|
349429
|
-
|
|
349430
|
-
while (
|
|
349431
|
-
delete
|
|
349950
|
+
cacheQueue3.push(cacheKey);
|
|
349951
|
+
while (cacheQueue3.length > MAX_CACHE_SIZE3) {
|
|
349952
|
+
delete signingKeyCache3[cacheQueue3.shift()];
|
|
349432
349953
|
}
|
|
349433
349954
|
let key2 = `AWS4${credentials.secretAccessKey}`;
|
|
349434
|
-
for (const signable of [shortDate, region, service,
|
|
349435
|
-
key2 = await
|
|
349955
|
+
for (const signable of [shortDate, region, service, KEY_TYPE_IDENTIFIER3]) {
|
|
349956
|
+
key2 = await hmac3(sha256Constructor, key2, signable);
|
|
349436
349957
|
}
|
|
349437
|
-
return
|
|
349438
|
-
},
|
|
349958
|
+
return signingKeyCache3[cacheKey] = key2;
|
|
349959
|
+
}, hmac3 = (ctor, secret, data3) => {
|
|
349439
349960
|
const hash5 = new ctor(secret);
|
|
349440
349961
|
hash5.update(toUint8Array(data3));
|
|
349441
349962
|
return hash5.digest();
|
|
349442
349963
|
};
|
|
349443
|
-
var
|
|
349444
|
-
|
|
349964
|
+
var init_credentialDerivation4 = __esm(() => {
|
|
349965
|
+
import_util_hex_encoding14 = __toESM(require_dist_cjs13(), 1);
|
|
349445
349966
|
init_dist_es31();
|
|
349446
|
-
|
|
349447
|
-
|
|
349448
|
-
|
|
349967
|
+
init_constants21();
|
|
349968
|
+
signingKeyCache3 = {};
|
|
349969
|
+
cacheQueue3 = [];
|
|
349449
349970
|
});
|
|
349450
349971
|
|
|
349451
349972
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js
|
|
349452
|
-
var
|
|
349973
|
+
var getCanonicalHeaders3 = ({ headers }, unsignableHeaders, signableHeaders) => {
|
|
349453
349974
|
const canonical = {};
|
|
349454
349975
|
for (const headerName of Object.keys(headers).sort()) {
|
|
349455
349976
|
if (headers[headerName] == undefined) {
|
|
349456
349977
|
continue;
|
|
349457
349978
|
}
|
|
349458
349979
|
const canonicalHeaderName = headerName.toLowerCase();
|
|
349459
|
-
if (canonicalHeaderName in
|
|
349980
|
+
if (canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS3 || unsignableHeaders?.has(canonicalHeaderName) || PROXY_HEADER_PATTERN3.test(canonicalHeaderName) || SEC_HEADER_PATTERN3.test(canonicalHeaderName)) {
|
|
349460
349981
|
if (!signableHeaders || signableHeaders && !signableHeaders.has(canonicalHeaderName)) {
|
|
349461
349982
|
continue;
|
|
349462
349983
|
}
|
|
@@ -349465,16 +349986,16 @@ var getCanonicalHeaders2 = ({ headers }, unsignableHeaders, signableHeaders) =>
|
|
|
349465
349986
|
}
|
|
349466
349987
|
return canonical;
|
|
349467
349988
|
};
|
|
349468
|
-
var
|
|
349469
|
-
|
|
349989
|
+
var init_getCanonicalHeaders4 = __esm(() => {
|
|
349990
|
+
init_constants21();
|
|
349470
349991
|
});
|
|
349471
349992
|
|
|
349472
349993
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js
|
|
349473
|
-
var
|
|
349994
|
+
var getCanonicalQuery3 = ({ query: query2 = {} }) => {
|
|
349474
349995
|
const keys2 = [];
|
|
349475
349996
|
const serialized = {};
|
|
349476
349997
|
for (const key2 of Object.keys(query2)) {
|
|
349477
|
-
if (key2.toLowerCase() ===
|
|
349998
|
+
if (key2.toLowerCase() === SIGNATURE_HEADER4) {
|
|
349478
349999
|
continue;
|
|
349479
350000
|
}
|
|
349480
350001
|
const encodedKey = escapeUri(key2);
|
|
@@ -349488,36 +350009,35 @@ var getCanonicalQuery2 = ({ query: query2 = {} }) => {
|
|
|
349488
350009
|
}
|
|
349489
350010
|
return keys2.sort().map((key2) => serialized[key2]).filter((serialized2) => serialized2).join("&");
|
|
349490
350011
|
};
|
|
349491
|
-
var
|
|
350012
|
+
var init_getCanonicalQuery4 = __esm(() => {
|
|
349492
350013
|
init_dist_es27();
|
|
349493
|
-
|
|
350014
|
+
init_constants21();
|
|
349494
350015
|
});
|
|
349495
350016
|
|
|
349496
350017
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js
|
|
349497
|
-
var
|
|
350018
|
+
var import_util_hex_encoding15, getPayloadHash3 = async ({ headers, body }, hashConstructor) => {
|
|
349498
350019
|
for (const headerName of Object.keys(headers)) {
|
|
349499
|
-
if (headerName.toLowerCase() ===
|
|
350020
|
+
if (headerName.toLowerCase() === SHA256_HEADER3) {
|
|
349500
350021
|
return headers[headerName];
|
|
349501
350022
|
}
|
|
349502
350023
|
}
|
|
349503
350024
|
if (body == undefined) {
|
|
349504
350025
|
return "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
|
|
349505
|
-
} else if (typeof body === "string" || ArrayBuffer.isView(body) ||
|
|
350026
|
+
} else if (typeof body === "string" || ArrayBuffer.isView(body) || isArrayBuffer(body)) {
|
|
349506
350027
|
const hashCtor = new hashConstructor;
|
|
349507
350028
|
hashCtor.update(toUint8Array(body));
|
|
349508
|
-
return
|
|
350029
|
+
return import_util_hex_encoding15.toHex(await hashCtor.digest());
|
|
349509
350030
|
}
|
|
349510
|
-
return
|
|
350031
|
+
return UNSIGNED_PAYLOAD3;
|
|
349511
350032
|
};
|
|
349512
|
-
var
|
|
349513
|
-
|
|
349514
|
-
import_util_hex_encoding11 = __toESM(require_dist_cjs13(), 1);
|
|
350033
|
+
var init_getPayloadHash4 = __esm(() => {
|
|
350034
|
+
import_util_hex_encoding15 = __toESM(require_dist_cjs13(), 1);
|
|
349515
350035
|
init_dist_es31();
|
|
349516
|
-
|
|
350036
|
+
init_constants21();
|
|
349517
350037
|
});
|
|
349518
350038
|
|
|
349519
350039
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js
|
|
349520
|
-
class
|
|
350040
|
+
class HeaderFormatter3 {
|
|
349521
350041
|
format(headers) {
|
|
349522
350042
|
const chunks = [];
|
|
349523
350043
|
for (const headerName of Object.keys(headers)) {
|
|
@@ -349571,21 +350091,21 @@ class HeaderFormatter2 {
|
|
|
349571
350091
|
case "timestamp":
|
|
349572
350092
|
const tsBytes = new Uint8Array(9);
|
|
349573
350093
|
tsBytes[0] = 8;
|
|
349574
|
-
tsBytes.set(
|
|
350094
|
+
tsBytes.set(Int647.fromNumber(header.value.valueOf()).bytes, 1);
|
|
349575
350095
|
return tsBytes;
|
|
349576
350096
|
case "uuid":
|
|
349577
|
-
if (!
|
|
350097
|
+
if (!UUID_PATTERN5.test(header.value)) {
|
|
349578
350098
|
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
349579
350099
|
}
|
|
349580
350100
|
const uuidBytes = new Uint8Array(17);
|
|
349581
350101
|
uuidBytes[0] = 9;
|
|
349582
|
-
uuidBytes.set(
|
|
350102
|
+
uuidBytes.set(import_util_hex_encoding16.fromHex(header.value.replace(/\-/g, "")), 1);
|
|
349583
350103
|
return uuidBytes;
|
|
349584
350104
|
}
|
|
349585
350105
|
}
|
|
349586
350106
|
}
|
|
349587
350107
|
|
|
349588
|
-
class
|
|
350108
|
+
class Int647 {
|
|
349589
350109
|
constructor(bytes3) {
|
|
349590
350110
|
this.bytes = bytes3;
|
|
349591
350111
|
if (bytes3.byteLength !== 8) {
|
|
@@ -349601,23 +350121,23 @@ class Int646 {
|
|
|
349601
350121
|
bytes3[i10] = remaining;
|
|
349602
350122
|
}
|
|
349603
350123
|
if (number2 < 0) {
|
|
349604
|
-
|
|
350124
|
+
negate5(bytes3);
|
|
349605
350125
|
}
|
|
349606
|
-
return new
|
|
350126
|
+
return new Int647(bytes3);
|
|
349607
350127
|
}
|
|
349608
350128
|
valueOf() {
|
|
349609
350129
|
const bytes3 = this.bytes.slice(0);
|
|
349610
350130
|
const negative = bytes3[0] & 128;
|
|
349611
350131
|
if (negative) {
|
|
349612
|
-
|
|
350132
|
+
negate5(bytes3);
|
|
349613
350133
|
}
|
|
349614
|
-
return parseInt(
|
|
350134
|
+
return parseInt(import_util_hex_encoding16.toHex(bytes3), 16) * (negative ? -1 : 1);
|
|
349615
350135
|
}
|
|
349616
350136
|
toString() {
|
|
349617
350137
|
return String(this.valueOf());
|
|
349618
350138
|
}
|
|
349619
350139
|
}
|
|
349620
|
-
function
|
|
350140
|
+
function negate5(bytes3) {
|
|
349621
350141
|
for (let i10 = 0;i10 < 8; i10++) {
|
|
349622
350142
|
bytes3[i10] ^= 255;
|
|
349623
350143
|
}
|
|
@@ -349627,27 +350147,27 @@ function negate4(bytes3) {
|
|
|
349627
350147
|
break;
|
|
349628
350148
|
}
|
|
349629
350149
|
}
|
|
349630
|
-
var
|
|
349631
|
-
var
|
|
349632
|
-
|
|
350150
|
+
var import_util_hex_encoding16, HEADER_VALUE_TYPE6, UUID_PATTERN5;
|
|
350151
|
+
var init_HeaderFormatter4 = __esm(() => {
|
|
350152
|
+
import_util_hex_encoding16 = __toESM(require_dist_cjs13(), 1);
|
|
349633
350153
|
init_dist_es31();
|
|
349634
|
-
(function(
|
|
349635
|
-
|
|
349636
|
-
|
|
349637
|
-
|
|
349638
|
-
|
|
349639
|
-
|
|
349640
|
-
|
|
349641
|
-
|
|
349642
|
-
|
|
349643
|
-
|
|
349644
|
-
|
|
349645
|
-
})(
|
|
349646
|
-
|
|
350154
|
+
(function(HEADER_VALUE_TYPE7) {
|
|
350155
|
+
HEADER_VALUE_TYPE7[HEADER_VALUE_TYPE7["boolTrue"] = 0] = "boolTrue";
|
|
350156
|
+
HEADER_VALUE_TYPE7[HEADER_VALUE_TYPE7["boolFalse"] = 1] = "boolFalse";
|
|
350157
|
+
HEADER_VALUE_TYPE7[HEADER_VALUE_TYPE7["byte"] = 2] = "byte";
|
|
350158
|
+
HEADER_VALUE_TYPE7[HEADER_VALUE_TYPE7["short"] = 3] = "short";
|
|
350159
|
+
HEADER_VALUE_TYPE7[HEADER_VALUE_TYPE7["integer"] = 4] = "integer";
|
|
350160
|
+
HEADER_VALUE_TYPE7[HEADER_VALUE_TYPE7["long"] = 5] = "long";
|
|
350161
|
+
HEADER_VALUE_TYPE7[HEADER_VALUE_TYPE7["byteArray"] = 6] = "byteArray";
|
|
350162
|
+
HEADER_VALUE_TYPE7[HEADER_VALUE_TYPE7["string"] = 7] = "string";
|
|
350163
|
+
HEADER_VALUE_TYPE7[HEADER_VALUE_TYPE7["timestamp"] = 8] = "timestamp";
|
|
350164
|
+
HEADER_VALUE_TYPE7[HEADER_VALUE_TYPE7["uuid"] = 9] = "uuid";
|
|
350165
|
+
})(HEADER_VALUE_TYPE6 || (HEADER_VALUE_TYPE6 = {}));
|
|
350166
|
+
UUID_PATTERN5 = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
349647
350167
|
});
|
|
349648
350168
|
|
|
349649
350169
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@smithy/signature-v4/dist-es/headerUtil.js
|
|
349650
|
-
var
|
|
350170
|
+
var hasHeader5 = (soughtHeader, headers) => {
|
|
349651
350171
|
soughtHeader = soughtHeader.toLowerCase();
|
|
349652
350172
|
for (const headerName of Object.keys(headers)) {
|
|
349653
350173
|
if (soughtHeader === headerName.toLowerCase()) {
|
|
@@ -349658,7 +350178,7 @@ var hasHeader4 = (soughtHeader, headers) => {
|
|
|
349658
350178
|
};
|
|
349659
350179
|
|
|
349660
350180
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js
|
|
349661
|
-
var
|
|
350181
|
+
var moveHeadersToQuery3 = (request7, options2 = {}) => {
|
|
349662
350182
|
const { headers, query: query2 = {} } = HttpRequest4.clone(request7);
|
|
349663
350183
|
for (const name2 of Object.keys(headers)) {
|
|
349664
350184
|
const lname = name2.toLowerCase();
|
|
@@ -349673,27 +350193,27 @@ var moveHeadersToQuery2 = (request7, options2 = {}) => {
|
|
|
349673
350193
|
query: query2
|
|
349674
350194
|
};
|
|
349675
350195
|
};
|
|
349676
|
-
var
|
|
349677
|
-
|
|
350196
|
+
var init_moveHeadersToQuery4 = __esm(() => {
|
|
350197
|
+
init_dist_es173();
|
|
349678
350198
|
});
|
|
349679
350199
|
|
|
349680
350200
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js
|
|
349681
|
-
var
|
|
350201
|
+
var prepareRequest3 = (request7) => {
|
|
349682
350202
|
request7 = HttpRequest4.clone(request7);
|
|
349683
350203
|
for (const headerName of Object.keys(request7.headers)) {
|
|
349684
|
-
if (
|
|
350204
|
+
if (GENERATED_HEADERS3.indexOf(headerName.toLowerCase()) > -1) {
|
|
349685
350205
|
delete request7.headers[headerName];
|
|
349686
350206
|
}
|
|
349687
350207
|
}
|
|
349688
350208
|
return request7;
|
|
349689
350209
|
};
|
|
349690
|
-
var
|
|
349691
|
-
|
|
349692
|
-
|
|
350210
|
+
var init_prepareRequest4 = __esm(() => {
|
|
350211
|
+
init_dist_es173();
|
|
350212
|
+
init_constants21();
|
|
349693
350213
|
});
|
|
349694
350214
|
|
|
349695
350215
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@smithy/signature-v4/dist-es/utilDate.js
|
|
349696
|
-
var
|
|
350216
|
+
var iso86014 = (time) => toDate3(time).toISOString().replace(/\.\d{3}Z$/, "Z"), toDate3 = (time) => {
|
|
349697
350217
|
if (typeof time === "number") {
|
|
349698
350218
|
return new Date(time * 1000);
|
|
349699
350219
|
}
|
|
@@ -349707,9 +350227,9 @@ var iso86013 = (time) => toDate2(time).toISOString().replace(/\.\d{3}Z$/, "Z"),
|
|
|
349707
350227
|
};
|
|
349708
350228
|
|
|
349709
350229
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js
|
|
349710
|
-
class
|
|
350230
|
+
class SignatureV45 {
|
|
349711
350231
|
constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true }) {
|
|
349712
|
-
this.headerFormatter = new
|
|
350232
|
+
this.headerFormatter = new HeaderFormatter3;
|
|
349713
350233
|
this.service = service;
|
|
349714
350234
|
this.sha256 = sha256;
|
|
349715
350235
|
this.uriEscapePath = uriEscapePath;
|
|
@@ -349722,22 +350242,22 @@ class SignatureV44 {
|
|
|
349722
350242
|
const credentials = await this.credentialProvider();
|
|
349723
350243
|
this.validateResolvedCredentials(credentials);
|
|
349724
350244
|
const region = signingRegion ?? await this.regionProvider();
|
|
349725
|
-
const { longDate, shortDate } =
|
|
349726
|
-
if (expiresIn >
|
|
350245
|
+
const { longDate, shortDate } = formatDate3(signingDate);
|
|
350246
|
+
if (expiresIn > MAX_PRESIGNED_TTL4) {
|
|
349727
350247
|
return Promise.reject("Signature version 4 presigned URLs" + " must have an expiration date less than one week in" + " the future");
|
|
349728
350248
|
}
|
|
349729
|
-
const scope =
|
|
349730
|
-
const request7 =
|
|
350249
|
+
const scope = createScope3(shortDate, region, signingService ?? this.service);
|
|
350250
|
+
const request7 = moveHeadersToQuery3(prepareRequest3(originalRequest), { unhoistableHeaders, hoistableHeaders });
|
|
349731
350251
|
if (credentials.sessionToken) {
|
|
349732
|
-
request7.query[
|
|
349733
|
-
}
|
|
349734
|
-
request7.query[
|
|
349735
|
-
request7.query[
|
|
349736
|
-
request7.query[
|
|
349737
|
-
request7.query[
|
|
349738
|
-
const canonicalHeaders =
|
|
349739
|
-
request7.query[
|
|
349740
|
-
request7.query[
|
|
350252
|
+
request7.query[TOKEN_QUERY_PARAM4] = credentials.sessionToken;
|
|
350253
|
+
}
|
|
350254
|
+
request7.query[ALGORITHM_QUERY_PARAM3] = ALGORITHM_IDENTIFIER3;
|
|
350255
|
+
request7.query[CREDENTIAL_QUERY_PARAM3] = `${credentials.accessKeyId}/${scope}`;
|
|
350256
|
+
request7.query[AMZ_DATE_QUERY_PARAM4] = longDate;
|
|
350257
|
+
request7.query[EXPIRES_QUERY_PARAM3] = expiresIn.toString(10);
|
|
350258
|
+
const canonicalHeaders = getCanonicalHeaders3(request7, unsignableHeaders, signableHeaders);
|
|
350259
|
+
request7.query[SIGNED_HEADERS_QUERY_PARAM3] = getCanonicalHeaderList3(canonicalHeaders);
|
|
350260
|
+
request7.query[SIGNATURE_QUERY_PARAM4] = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request7, canonicalHeaders, await getPayloadHash3(originalRequest, this.sha256)));
|
|
349741
350261
|
return request7;
|
|
349742
350262
|
}
|
|
349743
350263
|
async sign(toSign, options2) {
|
|
@@ -349753,14 +350273,14 @@ class SignatureV44 {
|
|
|
349753
350273
|
}
|
|
349754
350274
|
async signEvent({ headers, payload }, { signingDate = new Date, priorSignature, signingRegion, signingService }) {
|
|
349755
350275
|
const region = signingRegion ?? await this.regionProvider();
|
|
349756
|
-
const { shortDate, longDate } =
|
|
349757
|
-
const scope =
|
|
349758
|
-
const hashedPayload = await
|
|
350276
|
+
const { shortDate, longDate } = formatDate3(signingDate);
|
|
350277
|
+
const scope = createScope3(shortDate, region, signingService ?? this.service);
|
|
350278
|
+
const hashedPayload = await getPayloadHash3({ headers: {}, body: payload }, this.sha256);
|
|
349759
350279
|
const hash5 = new this.sha256;
|
|
349760
350280
|
hash5.update(headers);
|
|
349761
|
-
const hashedHeaders =
|
|
350281
|
+
const hashedHeaders = import_util_hex_encoding17.toHex(await hash5.digest());
|
|
349762
350282
|
const stringToSign = [
|
|
349763
|
-
|
|
350283
|
+
EVENT_ALGORITHM_IDENTIFIER3,
|
|
349764
350284
|
longDate,
|
|
349765
350285
|
scope,
|
|
349766
350286
|
priorSignature,
|
|
@@ -349788,36 +350308,36 @@ class SignatureV44 {
|
|
|
349788
350308
|
const credentials = await this.credentialProvider();
|
|
349789
350309
|
this.validateResolvedCredentials(credentials);
|
|
349790
350310
|
const region = signingRegion ?? await this.regionProvider();
|
|
349791
|
-
const { shortDate } =
|
|
350311
|
+
const { shortDate } = formatDate3(signingDate);
|
|
349792
350312
|
const hash5 = new this.sha256(await this.getSigningKey(credentials, region, shortDate, signingService));
|
|
349793
350313
|
hash5.update(toUint8Array(stringToSign));
|
|
349794
|
-
return
|
|
350314
|
+
return import_util_hex_encoding17.toHex(await hash5.digest());
|
|
349795
350315
|
}
|
|
349796
350316
|
async signRequest(requestToSign, { signingDate = new Date, signableHeaders, unsignableHeaders, signingRegion, signingService } = {}) {
|
|
349797
350317
|
const credentials = await this.credentialProvider();
|
|
349798
350318
|
this.validateResolvedCredentials(credentials);
|
|
349799
350319
|
const region = signingRegion ?? await this.regionProvider();
|
|
349800
|
-
const request7 =
|
|
349801
|
-
const { longDate, shortDate } =
|
|
349802
|
-
const scope =
|
|
349803
|
-
request7.headers[
|
|
350320
|
+
const request7 = prepareRequest3(requestToSign);
|
|
350321
|
+
const { longDate, shortDate } = formatDate3(signingDate);
|
|
350322
|
+
const scope = createScope3(shortDate, region, signingService ?? this.service);
|
|
350323
|
+
request7.headers[AMZ_DATE_HEADER4] = longDate;
|
|
349804
350324
|
if (credentials.sessionToken) {
|
|
349805
|
-
request7.headers[
|
|
350325
|
+
request7.headers[TOKEN_HEADER4] = credentials.sessionToken;
|
|
349806
350326
|
}
|
|
349807
|
-
const payloadHash = await
|
|
349808
|
-
if (!
|
|
349809
|
-
request7.headers[
|
|
350327
|
+
const payloadHash = await getPayloadHash3(request7, this.sha256);
|
|
350328
|
+
if (!hasHeader5(SHA256_HEADER3, request7.headers) && this.applyChecksum) {
|
|
350329
|
+
request7.headers[SHA256_HEADER3] = payloadHash;
|
|
349810
350330
|
}
|
|
349811
|
-
const canonicalHeaders =
|
|
350331
|
+
const canonicalHeaders = getCanonicalHeaders3(request7, unsignableHeaders, signableHeaders);
|
|
349812
350332
|
const signature3 = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request7, canonicalHeaders, payloadHash));
|
|
349813
|
-
request7.headers[
|
|
350333
|
+
request7.headers[AUTH_HEADER3] = `${ALGORITHM_IDENTIFIER3} ` + `Credential=${credentials.accessKeyId}/${scope}, ` + `SignedHeaders=${getCanonicalHeaderList3(canonicalHeaders)}, ` + `Signature=${signature3}`;
|
|
349814
350334
|
return request7;
|
|
349815
350335
|
}
|
|
349816
350336
|
createCanonicalRequest(request7, canonicalHeaders, payloadHash) {
|
|
349817
350337
|
const sortedHeaders = Object.keys(canonicalHeaders).sort();
|
|
349818
350338
|
return `${request7.method}
|
|
349819
350339
|
${this.getCanonicalPath(request7)}
|
|
349820
|
-
${
|
|
350340
|
+
${getCanonicalQuery3(request7)}
|
|
349821
350341
|
${sortedHeaders.map((name2) => `${name2}:${canonicalHeaders[name2]}`).join(`
|
|
349822
350342
|
`)}
|
|
349823
350343
|
|
|
@@ -349828,10 +350348,10 @@ ${payloadHash}`;
|
|
|
349828
350348
|
const hash5 = new this.sha256;
|
|
349829
350349
|
hash5.update(toUint8Array(canonicalRequest));
|
|
349830
350350
|
const hashedRequest = await hash5.digest();
|
|
349831
|
-
return `${
|
|
350351
|
+
return `${ALGORITHM_IDENTIFIER3}
|
|
349832
350352
|
${longDate}
|
|
349833
350353
|
${credentialScope}
|
|
349834
|
-
${
|
|
350354
|
+
${import_util_hex_encoding17.toHex(hashedRequest)}`;
|
|
349835
350355
|
}
|
|
349836
350356
|
getCanonicalPath({ path: path13 }) {
|
|
349837
350357
|
if (this.uriEscapePath) {
|
|
@@ -349857,10 +350377,10 @@ ${import_util_hex_encoding13.toHex(hashedRequest)}`;
|
|
|
349857
350377
|
const stringToSign = await this.createStringToSign(longDate, credentialScope, canonicalRequest);
|
|
349858
350378
|
const hash5 = new this.sha256(await keyPromise);
|
|
349859
350379
|
hash5.update(toUint8Array(stringToSign));
|
|
349860
|
-
return
|
|
350380
|
+
return import_util_hex_encoding17.toHex(await hash5.digest());
|
|
349861
350381
|
}
|
|
349862
350382
|
getSigningKey(credentials, region, shortDate, service) {
|
|
349863
|
-
return
|
|
350383
|
+
return getSigningKey3(this.sha256, credentials, shortDate, region, service || this.service);
|
|
349864
350384
|
}
|
|
349865
350385
|
validateResolvedCredentials(credentials) {
|
|
349866
350386
|
if (typeof credentials !== "object" || typeof credentials.accessKeyId !== "string" || typeof credentials.secretAccessKey !== "string") {
|
|
@@ -349868,42 +350388,42 @@ ${import_util_hex_encoding13.toHex(hashedRequest)}`;
|
|
|
349868
350388
|
}
|
|
349869
350389
|
}
|
|
349870
350390
|
}
|
|
349871
|
-
var
|
|
349872
|
-
const longDate =
|
|
350391
|
+
var import_util_hex_encoding17, formatDate3 = (now2) => {
|
|
350392
|
+
const longDate = iso86014(now2).replace(/[\-:]/g, "");
|
|
349873
350393
|
return {
|
|
349874
350394
|
longDate,
|
|
349875
350395
|
shortDate: longDate.slice(0, 8)
|
|
349876
350396
|
};
|
|
349877
|
-
},
|
|
349878
|
-
var
|
|
349879
|
-
|
|
349880
|
-
|
|
350397
|
+
}, getCanonicalHeaderList3 = (headers) => Object.keys(headers).sort().join(";");
|
|
350398
|
+
var init_SignatureV44 = __esm(() => {
|
|
350399
|
+
import_util_hex_encoding17 = __toESM(require_dist_cjs13(), 1);
|
|
350400
|
+
init_dist_es177();
|
|
349881
350401
|
init_dist_es27();
|
|
349882
350402
|
init_dist_es31();
|
|
349883
|
-
|
|
349884
|
-
|
|
349885
|
-
|
|
349886
|
-
|
|
349887
|
-
|
|
349888
|
-
|
|
349889
|
-
|
|
349890
|
-
|
|
350403
|
+
init_constants21();
|
|
350404
|
+
init_credentialDerivation4();
|
|
350405
|
+
init_getCanonicalHeaders4();
|
|
350406
|
+
init_getCanonicalQuery4();
|
|
350407
|
+
init_getPayloadHash4();
|
|
350408
|
+
init_HeaderFormatter4();
|
|
350409
|
+
init_moveHeadersToQuery4();
|
|
350410
|
+
init_prepareRequest4();
|
|
349891
350411
|
});
|
|
349892
350412
|
|
|
349893
350413
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@smithy/signature-v4/dist-es/index.js
|
|
349894
|
-
var
|
|
349895
|
-
|
|
349896
|
-
|
|
349897
|
-
|
|
349898
|
-
|
|
349899
|
-
|
|
349900
|
-
|
|
349901
|
-
|
|
350414
|
+
var init_dist_es178 = __esm(() => {
|
|
350415
|
+
init_SignatureV44();
|
|
350416
|
+
init_getCanonicalHeaders4();
|
|
350417
|
+
init_getCanonicalQuery4();
|
|
350418
|
+
init_getPayloadHash4();
|
|
350419
|
+
init_moveHeadersToQuery4();
|
|
350420
|
+
init_prepareRequest4();
|
|
350421
|
+
init_credentialDerivation4();
|
|
349902
350422
|
});
|
|
349903
350423
|
|
|
349904
350424
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/constants.js
|
|
349905
350425
|
var SESSION_TOKEN_QUERY_PARAM3 = "X-Amz-S3session-Token", SESSION_TOKEN_HEADER3;
|
|
349906
|
-
var
|
|
350426
|
+
var init_constants23 = __esm(() => {
|
|
349907
350427
|
init_dist_es10();
|
|
349908
350428
|
SESSION_TOKEN_HEADER3 = SESSION_TOKEN_QUERY_PARAM3.toLowerCase();
|
|
349909
350429
|
});
|
|
@@ -349931,9 +350451,9 @@ function setSingleOverride3(privateAccess, credentialsWithoutSessionToken) {
|
|
|
349931
350451
|
}
|
|
349932
350452
|
var SignatureV4S3Express3;
|
|
349933
350453
|
var init_SignatureV4S3Express3 = __esm(() => {
|
|
349934
|
-
|
|
349935
|
-
|
|
349936
|
-
SignatureV4S3Express3 = class SignatureV4S3Express3 extends
|
|
350454
|
+
init_dist_es178();
|
|
350455
|
+
init_constants23();
|
|
350456
|
+
SignatureV4S3Express3 = class SignatureV4S3Express3 extends SignatureV45 {
|
|
349937
350457
|
async signWithCredentials(requestToSign, credentials, options2) {
|
|
349938
350458
|
const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken3(credentials);
|
|
349939
350459
|
requestToSign.headers[SESSION_TOKEN_HEADER3] = credentials.sessionToken;
|
|
@@ -349956,8 +350476,8 @@ var init_SignatureV4S3Express3 = __esm(() => {
|
|
|
349956
350476
|
|
|
349957
350477
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js
|
|
349958
350478
|
var init_s3ExpressMiddleware3 = __esm(() => {
|
|
349959
|
-
|
|
349960
|
-
|
|
350479
|
+
init_dist_es173();
|
|
350480
|
+
init_constants23();
|
|
349961
350481
|
});
|
|
349962
350482
|
|
|
349963
350483
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-middleware/dist-cjs/index.js
|
|
@@ -350579,20 +351099,20 @@ var require_dist_cjs118 = __commonJS((exports, module) => {
|
|
|
350579
351099
|
buildQueryString: () => buildQueryString4
|
|
350580
351100
|
});
|
|
350581
351101
|
module.exports = __toCommonJS3(src_exports);
|
|
350582
|
-
var
|
|
351102
|
+
var import_util_uri_escape10 = require_dist_cjs9();
|
|
350583
351103
|
function buildQueryString4(query2) {
|
|
350584
351104
|
const parts2 = [];
|
|
350585
351105
|
for (let key2 of Object.keys(query2).sort()) {
|
|
350586
351106
|
const value2 = query2[key2];
|
|
350587
|
-
key2 = (0,
|
|
351107
|
+
key2 = (0, import_util_uri_escape10.escapeUri)(key2);
|
|
350588
351108
|
if (Array.isArray(value2)) {
|
|
350589
351109
|
for (let i10 = 0, iLen = value2.length;i10 < iLen; i10++) {
|
|
350590
|
-
parts2.push(`${key2}=${(0,
|
|
351110
|
+
parts2.push(`${key2}=${(0, import_util_uri_escape10.escapeUri)(value2[i10])}`);
|
|
350591
351111
|
}
|
|
350592
351112
|
} else {
|
|
350593
351113
|
let qsEntry = key2;
|
|
350594
351114
|
if (value2 || typeof value2 === "string") {
|
|
350595
|
-
qsEntry += `=${(0,
|
|
351115
|
+
qsEntry += `=${(0, import_util_uri_escape10.escapeUri)(value2)}`;
|
|
350596
351116
|
}
|
|
350597
351117
|
parts2.push(qsEntry);
|
|
350598
351118
|
}
|
|
@@ -350633,7 +351153,7 @@ var require_dist_cjs119 = __commonJS((exports, module) => {
|
|
|
350633
351153
|
streamCollector: () => streamCollector4
|
|
350634
351154
|
});
|
|
350635
351155
|
module.exports = __toCommonJS3(src_exports);
|
|
350636
|
-
var
|
|
351156
|
+
var import_protocol_http57 = require_dist_cjs104();
|
|
350637
351157
|
var import_querystring_builder6 = require_dist_cjs118();
|
|
350638
351158
|
var import_http6 = __require("node:http");
|
|
350639
351159
|
var import_https3 = __require("node:https");
|
|
@@ -350914,7 +351434,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
350914
351434
|
};
|
|
350915
351435
|
const requestFunc = isSSL ? import_https3.request : import_http6.request;
|
|
350916
351436
|
const req = requestFunc(nodeHttpsOptions, (res) => {
|
|
350917
|
-
const httpResponse4 = new
|
|
351437
|
+
const httpResponse4 = new import_protocol_http57.HttpResponse({
|
|
350918
351438
|
statusCode: res.statusCode || -1,
|
|
350919
351439
|
reason: res.statusMessage,
|
|
350920
351440
|
headers: getTransformedHeaders3(res.headers),
|
|
@@ -351181,7 +351701,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
351181
351701
|
});
|
|
351182
351702
|
session.ref();
|
|
351183
351703
|
req.on("response", (headers) => {
|
|
351184
|
-
const httpResponse4 = new
|
|
351704
|
+
const httpResponse4 = new import_protocol_http57.HttpResponse({
|
|
351185
351705
|
statusCode: headers[":status"] || -1,
|
|
351186
351706
|
headers: getTransformedHeaders3(headers),
|
|
351187
351707
|
body: req
|
|
@@ -351334,20 +351854,20 @@ var require_dist_cjs120 = __commonJS((exports, module) => {
|
|
|
351334
351854
|
buildQueryString: () => buildQueryString4
|
|
351335
351855
|
});
|
|
351336
351856
|
module.exports = __toCommonJS3(src_exports);
|
|
351337
|
-
var
|
|
351857
|
+
var import_util_uri_escape10 = require_dist_cjs9();
|
|
351338
351858
|
function buildQueryString4(query2) {
|
|
351339
351859
|
const parts2 = [];
|
|
351340
351860
|
for (let key2 of Object.keys(query2).sort()) {
|
|
351341
351861
|
const value2 = query2[key2];
|
|
351342
|
-
key2 = (0,
|
|
351862
|
+
key2 = (0, import_util_uri_escape10.escapeUri)(key2);
|
|
351343
351863
|
if (Array.isArray(value2)) {
|
|
351344
351864
|
for (let i10 = 0, iLen = value2.length;i10 < iLen; i10++) {
|
|
351345
|
-
parts2.push(`${key2}=${(0,
|
|
351865
|
+
parts2.push(`${key2}=${(0, import_util_uri_escape10.escapeUri)(value2[i10])}`);
|
|
351346
351866
|
}
|
|
351347
351867
|
} else {
|
|
351348
351868
|
let qsEntry = key2;
|
|
351349
351869
|
if (value2 || typeof value2 === "string") {
|
|
351350
|
-
qsEntry += `=${(0,
|
|
351870
|
+
qsEntry += `=${(0, import_util_uri_escape10.escapeUri)(value2)}`;
|
|
351351
351871
|
}
|
|
351352
351872
|
parts2.push(qsEntry);
|
|
351353
351873
|
}
|
|
@@ -351384,7 +351904,7 @@ var require_dist_cjs121 = __commonJS((exports, module) => {
|
|
|
351384
351904
|
streamCollector: () => streamCollector4
|
|
351385
351905
|
});
|
|
351386
351906
|
module.exports = __toCommonJS3(src_exports);
|
|
351387
|
-
var
|
|
351907
|
+
var import_protocol_http57 = require_dist_cjs104();
|
|
351388
351908
|
var import_querystring_builder6 = require_dist_cjs120();
|
|
351389
351909
|
function createRequest(url2, requestOptions) {
|
|
351390
351910
|
return new Request(url2, requestOptions);
|
|
@@ -351489,7 +352009,7 @@ var require_dist_cjs121 = __commonJS((exports, module) => {
|
|
|
351489
352009
|
const hasReadableStream = response6.body != null;
|
|
351490
352010
|
if (!hasReadableStream) {
|
|
351491
352011
|
return response6.blob().then((body2) => ({
|
|
351492
|
-
response: new
|
|
352012
|
+
response: new import_protocol_http57.HttpResponse({
|
|
351493
352013
|
headers: transformedHeaders,
|
|
351494
352014
|
reason: response6.statusText,
|
|
351495
352015
|
statusCode: response6.status,
|
|
@@ -351498,7 +352018,7 @@ var require_dist_cjs121 = __commonJS((exports, module) => {
|
|
|
351498
352018
|
}));
|
|
351499
352019
|
}
|
|
351500
352020
|
return {
|
|
351501
|
-
response: new
|
|
352021
|
+
response: new import_protocol_http57.HttpResponse({
|
|
351502
352022
|
headers: transformedHeaders,
|
|
351503
352023
|
reason: response6.statusText,
|
|
351504
352024
|
statusCode: response6.status,
|
|
@@ -351778,19 +352298,19 @@ var require_dist_cjs122 = __commonJS((exports, module) => {
|
|
|
351778
352298
|
});
|
|
351779
352299
|
module.exports = __toCommonJS3(src_exports);
|
|
351780
352300
|
var import_util_base6410 = require_dist_cjs8();
|
|
351781
|
-
var
|
|
352301
|
+
var import_util_utf828 = require_dist_cjs7();
|
|
351782
352302
|
function transformToString3(payload, encoding = "utf-8") {
|
|
351783
352303
|
if (encoding === "base64") {
|
|
351784
352304
|
return (0, import_util_base6410.toBase64)(payload);
|
|
351785
352305
|
}
|
|
351786
|
-
return (0,
|
|
352306
|
+
return (0, import_util_utf828.toUtf8)(payload);
|
|
351787
352307
|
}
|
|
351788
352308
|
__name(transformToString3, "transformToString");
|
|
351789
352309
|
function transformFromString3(str2, encoding) {
|
|
351790
352310
|
if (encoding === "base64") {
|
|
351791
352311
|
return Uint8ArrayBlobAdapter4.mutate((0, import_util_base6410.fromBase64)(str2));
|
|
351792
352312
|
}
|
|
351793
|
-
return Uint8ArrayBlobAdapter4.mutate((0,
|
|
352313
|
+
return Uint8ArrayBlobAdapter4.mutate((0, import_util_utf828.fromUtf8)(str2));
|
|
351794
352314
|
}
|
|
351795
352315
|
__name(transformFromString3, "transformFromString");
|
|
351796
352316
|
var Uint8ArrayBlobAdapter4 = class _Uint8ArrayBlobAdapter extends Uint8Array {
|
|
@@ -351867,7 +352387,7 @@ var require_protocols9 = __commonJS((exports, module) => {
|
|
|
351867
352387
|
return "%" + c9.charCodeAt(0).toString(16).toUpperCase();
|
|
351868
352388
|
});
|
|
351869
352389
|
}
|
|
351870
|
-
var
|
|
352390
|
+
var import_protocol_http57 = require_dist_cjs104();
|
|
351871
352391
|
var resolvedPath6 = (resolvedPath22, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {
|
|
351872
352392
|
if (input != null && input[memberName] !== undefined) {
|
|
351873
352393
|
const labelValue = labelValueProvider();
|
|
@@ -351901,7 +352421,7 @@ var require_protocols9 = __commonJS((exports, module) => {
|
|
|
351901
352421
|
for (const resolvePath2 of this.resolvePathStack) {
|
|
351902
352422
|
resolvePath2(this.path);
|
|
351903
352423
|
}
|
|
351904
|
-
return new
|
|
352424
|
+
return new import_protocol_http57.HttpRequest({
|
|
351905
352425
|
protocol,
|
|
351906
352426
|
hostname: this.hostname || hostname,
|
|
351907
352427
|
port,
|
|
@@ -351995,7 +352515,7 @@ var require_dist_cjs123 = __commonJS((exports, module) => {
|
|
|
351995
352515
|
module.exports = __toCommonJS3(src_exports);
|
|
351996
352516
|
var import_types70 = require_dist_cjs101();
|
|
351997
352517
|
var getSmithyContext11 = /* @__PURE__ */ __name((context) => context[import_types70.SMITHY_CONTEXT_KEY] || (context[import_types70.SMITHY_CONTEXT_KEY] = {}), "getSmithyContext");
|
|
351998
|
-
var
|
|
352518
|
+
var import_util_middleware27 = require_dist_cjs116();
|
|
351999
352519
|
function convertHttpAuthSchemesToMap(httpAuthSchemes) {
|
|
352000
352520
|
const map4 = /* @__PURE__ */ new Map;
|
|
352001
352521
|
for (const scheme of httpAuthSchemes) {
|
|
@@ -352007,7 +352527,7 @@ var require_dist_cjs123 = __commonJS((exports, module) => {
|
|
|
352007
352527
|
var httpAuthSchemeMiddleware = /* @__PURE__ */ __name((config13, mwOptions) => (next, context) => async (args) => {
|
|
352008
352528
|
const options2 = config13.httpAuthSchemeProvider(await mwOptions.httpAuthSchemeParametersProvider(config13, context, args.input));
|
|
352009
352529
|
const authSchemes = convertHttpAuthSchemesToMap(config13.httpAuthSchemes);
|
|
352010
|
-
const smithyContext = (0,
|
|
352530
|
+
const smithyContext = (0, import_util_middleware27.getSmithyContext)(context);
|
|
352011
352531
|
const failureReasons = [];
|
|
352012
352532
|
for (const option of options2) {
|
|
352013
352533
|
const scheme = authSchemes.get(option.schemeId);
|
|
@@ -352075,16 +352595,16 @@ var require_dist_cjs123 = __commonJS((exports, module) => {
|
|
|
352075
352595
|
}), httpAuthSchemeMiddlewareOptions2);
|
|
352076
352596
|
}
|
|
352077
352597
|
}), "getHttpAuthSchemePlugin");
|
|
352078
|
-
var
|
|
352598
|
+
var import_protocol_http57 = require_dist_cjs104();
|
|
352079
352599
|
var defaultErrorHandler3 = /* @__PURE__ */ __name((signingProperties) => (error) => {
|
|
352080
352600
|
throw error;
|
|
352081
352601
|
}, "defaultErrorHandler");
|
|
352082
352602
|
var defaultSuccessHandler3 = /* @__PURE__ */ __name((httpResponse4, signingProperties) => {}, "defaultSuccessHandler");
|
|
352083
352603
|
var httpSigningMiddleware = /* @__PURE__ */ __name((config13) => (next, context) => async (args) => {
|
|
352084
|
-
if (!
|
|
352604
|
+
if (!import_protocol_http57.HttpRequest.isInstance(args.request)) {
|
|
352085
352605
|
return next(args);
|
|
352086
352606
|
}
|
|
352087
|
-
const smithyContext = (0,
|
|
352607
|
+
const smithyContext = (0, import_util_middleware27.getSmithyContext)(context);
|
|
352088
352608
|
const scheme = smithyContext.selectedHttpAuthScheme;
|
|
352089
352609
|
if (!scheme) {
|
|
352090
352610
|
throw new Error(`No HttpAuthScheme was selected: unable to sign request`);
|
|
@@ -352207,7 +352727,7 @@ var require_dist_cjs123 = __commonJS((exports, module) => {
|
|
|
352207
352727
|
if (!identity7.apiKey) {
|
|
352208
352728
|
throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined");
|
|
352209
352729
|
}
|
|
352210
|
-
const clonedRequest =
|
|
352730
|
+
const clonedRequest = import_protocol_http57.HttpRequest.clone(httpRequest7);
|
|
352211
352731
|
if (signingProperties.in === import_types70.HttpApiKeyAuthLocation.QUERY) {
|
|
352212
352732
|
clonedRequest.query[signingProperties.name] = identity7.apiKey;
|
|
352213
352733
|
} else if (signingProperties.in === import_types70.HttpApiKeyAuthLocation.HEADER) {
|
|
@@ -352223,7 +352743,7 @@ var require_dist_cjs123 = __commonJS((exports, module) => {
|
|
|
352223
352743
|
__name(this, "HttpBearerAuthSigner");
|
|
352224
352744
|
}
|
|
352225
352745
|
async sign(httpRequest7, identity7, signingProperties) {
|
|
352226
|
-
const clonedRequest =
|
|
352746
|
+
const clonedRequest = import_protocol_http57.HttpRequest.clone(httpRequest7);
|
|
352227
352747
|
if (!identity7.token) {
|
|
352228
352748
|
throw new Error("request could not be signed with `token` since the `token` is not defined");
|
|
352229
352749
|
}
|
|
@@ -352295,26 +352815,26 @@ var require_dist_cjs123 = __commonJS((exports, module) => {
|
|
|
352295
352815
|
|
|
352296
352816
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js
|
|
352297
352817
|
var init_getSmithyContext7 = __esm(() => {
|
|
352298
|
-
|
|
352818
|
+
init_dist_es165();
|
|
352299
352819
|
});
|
|
352300
352820
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-middleware/dist-es/index.js
|
|
352301
|
-
var
|
|
352821
|
+
var init_dist_es179 = __esm(() => {
|
|
352302
352822
|
init_getSmithyContext7();
|
|
352303
352823
|
});
|
|
352304
352824
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressHttpSigningMiddleware.js
|
|
352305
352825
|
var import_core69;
|
|
352306
352826
|
var init_s3ExpressHttpSigningMiddleware3 = __esm(() => {
|
|
352307
352827
|
import_core69 = __toESM(require_dist_cjs123(), 1);
|
|
352308
|
-
|
|
352309
|
-
|
|
352310
|
-
|
|
352828
|
+
init_dist_es173();
|
|
352829
|
+
init_dist_es165();
|
|
352830
|
+
init_dist_es179();
|
|
352311
352831
|
});
|
|
352312
352832
|
|
|
352313
352833
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/index.js
|
|
352314
352834
|
var init_s3_express3 = __esm(() => {
|
|
352315
352835
|
init_S3ExpressIdentityProviderImpl3();
|
|
352316
352836
|
init_SignatureV4S3Express3();
|
|
352317
|
-
|
|
352837
|
+
init_constants23();
|
|
352318
352838
|
init_s3ExpressMiddleware3();
|
|
352319
352839
|
init_s3ExpressHttpSigningMiddleware3();
|
|
352320
352840
|
});
|
|
@@ -352368,12 +352888,12 @@ var init_getAwsChunkedEncodingStream3 = () => {};
|
|
|
352368
352888
|
var init_headStream2 = () => {};
|
|
352369
352889
|
|
|
352370
352890
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-stream/node_modules/@smithy/node-http-handler/node_modules/@smithy/querystring-builder/dist-es/index.js
|
|
352371
|
-
var
|
|
352891
|
+
var init_dist_es180 = __esm(() => {
|
|
352372
352892
|
init_dist_es27();
|
|
352373
352893
|
});
|
|
352374
352894
|
|
|
352375
352895
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-stream/node_modules/@smithy/node-http-handler/dist-es/constants.js
|
|
352376
|
-
var
|
|
352896
|
+
var init_constants25 = () => {};
|
|
352377
352897
|
|
|
352378
352898
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-stream/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js
|
|
352379
352899
|
var init_get_transformed_headers4 = () => {};
|
|
@@ -352404,9 +352924,9 @@ var init_write_request_body4 = __esm(() => {
|
|
|
352404
352924
|
|
|
352405
352925
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-stream/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js
|
|
352406
352926
|
var init_node_http_handler4 = __esm(() => {
|
|
352407
|
-
|
|
352408
|
-
|
|
352409
|
-
|
|
352927
|
+
init_dist_es173();
|
|
352928
|
+
init_dist_es180();
|
|
352929
|
+
init_constants25();
|
|
352410
352930
|
init_get_transformed_headers4();
|
|
352411
352931
|
init_set_connection_timeout3();
|
|
352412
352932
|
init_set_socket_keep_alive3();
|
|
@@ -352425,8 +352945,8 @@ var init_node_http2_connection_manager4 = __esm(() => {
|
|
|
352425
352945
|
|
|
352426
352946
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-stream/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js
|
|
352427
352947
|
var init_node_http2_handler4 = __esm(() => {
|
|
352428
|
-
|
|
352429
|
-
|
|
352948
|
+
init_dist_es173();
|
|
352949
|
+
init_dist_es180();
|
|
352430
352950
|
init_get_transformed_headers4();
|
|
352431
352951
|
init_node_http2_connection_manager4();
|
|
352432
352952
|
init_write_request_body4();
|
|
@@ -352441,20 +352961,20 @@ var init_stream_collector4 = __esm(() => {
|
|
|
352441
352961
|
});
|
|
352442
352962
|
|
|
352443
352963
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-stream/node_modules/@smithy/node-http-handler/dist-es/index.js
|
|
352444
|
-
var
|
|
352964
|
+
var init_dist_es181 = __esm(() => {
|
|
352445
352965
|
init_node_http_handler4();
|
|
352446
352966
|
init_node_http2_handler4();
|
|
352447
352967
|
init_stream_collector4();
|
|
352448
352968
|
});
|
|
352449
352969
|
|
|
352450
352970
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/node_modules/@smithy/querystring-builder/dist-es/index.js
|
|
352451
|
-
var
|
|
352971
|
+
var init_dist_es183 = __esm(() => {
|
|
352452
352972
|
init_dist_es27();
|
|
352453
352973
|
});
|
|
352454
352974
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js
|
|
352455
352975
|
var init_fetch_http_handler = __esm(() => {
|
|
352456
|
-
|
|
352457
|
-
|
|
352976
|
+
init_dist_es173();
|
|
352977
|
+
init_dist_es183();
|
|
352458
352978
|
});
|
|
352459
352979
|
|
|
352460
352980
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js
|
|
@@ -352463,23 +352983,23 @@ var init_stream_collector5 = __esm(() => {
|
|
|
352463
352983
|
});
|
|
352464
352984
|
|
|
352465
352985
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/index.js
|
|
352466
|
-
var
|
|
352986
|
+
var init_dist_es185 = __esm(() => {
|
|
352467
352987
|
init_fetch_http_handler();
|
|
352468
352988
|
init_stream_collector5();
|
|
352469
352989
|
});
|
|
352470
352990
|
|
|
352471
352991
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.browser.js
|
|
352472
|
-
var
|
|
352992
|
+
var import_util_hex_encoding18;
|
|
352473
352993
|
var init_sdk_stream_mixin_browser2 = __esm(() => {
|
|
352474
|
-
|
|
352994
|
+
init_dist_es185();
|
|
352475
352995
|
init_dist_es32();
|
|
352476
|
-
|
|
352996
|
+
import_util_hex_encoding18 = __toESM(require_dist_cjs13(), 1);
|
|
352477
352997
|
init_dist_es31();
|
|
352478
352998
|
});
|
|
352479
352999
|
|
|
352480
353000
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js
|
|
352481
353001
|
var init_sdk_stream_mixin3 = __esm(() => {
|
|
352482
|
-
|
|
353002
|
+
init_dist_es181();
|
|
352483
353003
|
init_dist_es30();
|
|
352484
353004
|
init_sdk_stream_mixin_browser2();
|
|
352485
353005
|
});
|
|
@@ -352487,7 +353007,7 @@ var init_sdk_stream_mixin3 = __esm(() => {
|
|
|
352487
353007
|
var init_splitStream2 = () => {};
|
|
352488
353008
|
|
|
352489
353009
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-stream/dist-es/index.js
|
|
352490
|
-
var
|
|
353010
|
+
var init_dist_es186 = __esm(() => {
|
|
352491
353011
|
init_Uint8ArrayBlobAdapter3();
|
|
352492
353012
|
init_ChecksumStream2();
|
|
352493
353013
|
init_createChecksumStream2();
|
|
@@ -352500,8 +353020,8 @@ var init_dist_es185 = __esm(() => {
|
|
|
352500
353020
|
|
|
352501
353021
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js
|
|
352502
353022
|
var init_throw_200_exceptions3 = __esm(() => {
|
|
352503
|
-
|
|
352504
|
-
|
|
353023
|
+
init_dist_es173();
|
|
353024
|
+
init_dist_es186();
|
|
352505
353025
|
});
|
|
352506
353026
|
|
|
352507
353027
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/bucket-endpoint-middleware.js
|
|
@@ -352513,7 +353033,7 @@ var init_validate_bucket_name3 = __esm(() => {
|
|
|
352513
353033
|
});
|
|
352514
353034
|
|
|
352515
353035
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js
|
|
352516
|
-
var
|
|
353036
|
+
var init_dist_es187 = __esm(() => {
|
|
352517
353037
|
init_check_content_length_header3();
|
|
352518
353038
|
init_region_redirect_endpoint_middleware3();
|
|
352519
353039
|
init_region_redirect_middleware3();
|
|
@@ -352594,18 +353114,18 @@ class SignatureV4MultiRegion5 {
|
|
|
352594
353114
|
}
|
|
352595
353115
|
}
|
|
352596
353116
|
var init_SignatureV4MultiRegion3 = __esm(() => {
|
|
352597
|
-
|
|
353117
|
+
init_dist_es187();
|
|
352598
353118
|
init_signature_v4_crt_container3();
|
|
352599
353119
|
});
|
|
352600
353120
|
|
|
352601
353121
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/index.js
|
|
352602
|
-
var
|
|
353122
|
+
var init_dist_es188 = __esm(() => {
|
|
352603
353123
|
init_SignatureV4MultiRegion3();
|
|
352604
353124
|
init_signature_v4_crt_container3();
|
|
352605
353125
|
});
|
|
352606
353126
|
|
|
352607
353127
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/dist-es/constants.js
|
|
352608
|
-
var
|
|
353128
|
+
var UNSIGNED_PAYLOAD4 = "UNSIGNED-PAYLOAD", SHA256_HEADER4 = "X-Amz-Content-Sha256";
|
|
352609
353129
|
|
|
352610
353130
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/dist-es/presigner.js
|
|
352611
353131
|
class S3RequestPresigner {
|
|
@@ -352652,7 +353172,7 @@ class S3RequestPresigner {
|
|
|
352652
353172
|
unhoistableHeaders.add(header);
|
|
352653
353173
|
}
|
|
352654
353174
|
});
|
|
352655
|
-
requestToSign.headers[
|
|
353175
|
+
requestToSign.headers[SHA256_HEADER4] = UNSIGNED_PAYLOAD4;
|
|
352656
353176
|
const currentHostHeader = requestToSign.headers.host;
|
|
352657
353177
|
const port = requestToSign.port;
|
|
352658
353178
|
const expectedHostHeader = `${requestToSign.hostname}${requestToSign.port != null ? ":" + port : ""}`;
|
|
@@ -352662,7 +353182,7 @@ class S3RequestPresigner {
|
|
|
352662
353182
|
}
|
|
352663
353183
|
}
|
|
352664
353184
|
var init_presigner = __esm(() => {
|
|
352665
|
-
|
|
353185
|
+
init_dist_es188();
|
|
352666
353186
|
});
|
|
352667
353187
|
|
|
352668
353188
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/dist-es/getSignedUrl.js
|
|
@@ -352726,14 +353246,14 @@ var getSignedUrl = async (client8, command8, options2 = {}) => {
|
|
|
352726
353246
|
return formatUrl(presigned);
|
|
352727
353247
|
};
|
|
352728
353248
|
var init_getSignedUrl = __esm(() => {
|
|
352729
|
-
|
|
352730
|
-
init_dist_es170();
|
|
353249
|
+
init_dist_es161();
|
|
352731
353250
|
init_dist_es171();
|
|
353251
|
+
init_dist_es173();
|
|
352732
353252
|
init_presigner();
|
|
352733
353253
|
});
|
|
352734
353254
|
|
|
352735
353255
|
// ../../../../node_modules/@aws-sdk/s3-request-presigner/dist-es/index.js
|
|
352736
|
-
var
|
|
353256
|
+
var init_dist_es189 = __esm(() => {
|
|
352737
353257
|
init_getSignedUrl();
|
|
352738
353258
|
init_presigner();
|
|
352739
353259
|
});
|
|
@@ -364687,8 +365207,8 @@ function isWriteOptionKey(key2) {
|
|
|
364687
365207
|
var possibleChecksumAlgos, HostStyleAwsPublicUrlGenerator, writeOptionResolvers;
|
|
364688
365208
|
var init_aws_s3_storage_adapter = __esm(() => {
|
|
364689
365209
|
init_dist_es126();
|
|
364690
|
-
|
|
364691
|
-
|
|
365210
|
+
init_dist_es159();
|
|
365211
|
+
init_dist_es189();
|
|
364692
365212
|
init_esm4();
|
|
364693
365213
|
init_esm5();
|
|
364694
365214
|
init_esm4();
|