@jr2804/livesync-cli 1.0.32-cli.1 → 1.0.51-cli.1

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.
@@ -0,0 +1,435 @@
1
+ const require_stream_collector = require("./stream-collector-DMWbWhbd.cjs");
2
+ const require_extensions = require("./extensions-BY32lT5G.cjs");
3
+ const require_toUtf8 = require("./toUtf8-Dj4WWtpp.cjs");
4
+ //#region ../../../node_modules/@smithy/smithy-client/dist-es/get-value-from-text-node.js
5
+ var getValueFromTextNode = (obj) => {
6
+ const textNodeName = "#text";
7
+ for (const key in obj) if (obj.hasOwnProperty(key) && obj[key][textNodeName] !== void 0) obj[key] = obj[key][textNodeName];
8
+ else if (typeof obj[key] === "object" && obj[key] !== null) obj[key] = getValueFromTextNode(obj[key]);
9
+ return obj;
10
+ };
11
+ //#endregion
12
+ //#region ../../../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js
13
+ var require_dist_cjs = /* @__PURE__ */ require_stream_collector.__commonJSMin(((exports) => {
14
+ var ATTR_ESCAPE_RE = /[&<>"]/g;
15
+ var ATTR_ESCAPE_MAP = {
16
+ "&": "&amp;",
17
+ "<": "&lt;",
18
+ ">": "&gt;",
19
+ "\"": "&quot;"
20
+ };
21
+ function escapeAttribute(value) {
22
+ return value.replace(ATTR_ESCAPE_RE, (ch) => ATTR_ESCAPE_MAP[ch]);
23
+ }
24
+ var ELEMENT_ESCAPE_RE = /[&"'<>\r\n\u0085\u2028]/g;
25
+ var ELEMENT_ESCAPE_MAP = {
26
+ "&": "&amp;",
27
+ "\"": "&quot;",
28
+ "'": "&apos;",
29
+ "<": "&lt;",
30
+ ">": "&gt;",
31
+ "\r": "&#x0D;",
32
+ "\n": "&#x0A;",
33
+ "…": "&#x85;",
34
+ "\u2028": "&#x2028;"
35
+ };
36
+ function escapeElement(value) {
37
+ return value.replace(ELEMENT_ESCAPE_RE, (ch) => ELEMENT_ESCAPE_MAP[ch]);
38
+ }
39
+ var XmlText = class {
40
+ value;
41
+ constructor(value) {
42
+ this.value = value;
43
+ }
44
+ toString() {
45
+ return escapeElement("" + this.value);
46
+ }
47
+ };
48
+ var XmlNode = class XmlNode {
49
+ name;
50
+ children;
51
+ attributes = {};
52
+ static of(name, childText, withName) {
53
+ const node = new XmlNode(name);
54
+ if (childText !== void 0) node.addChildNode(new XmlText(childText));
55
+ if (withName !== void 0) node.withName(withName);
56
+ return node;
57
+ }
58
+ constructor(name, children = []) {
59
+ this.name = name;
60
+ this.children = children;
61
+ }
62
+ withName(name) {
63
+ this.name = name;
64
+ return this;
65
+ }
66
+ addAttribute(name, value) {
67
+ this.attributes[name] = value;
68
+ return this;
69
+ }
70
+ addChildNode(child) {
71
+ this.children.push(child);
72
+ return this;
73
+ }
74
+ removeAttribute(name) {
75
+ delete this.attributes[name];
76
+ return this;
77
+ }
78
+ n(name) {
79
+ this.name = name;
80
+ return this;
81
+ }
82
+ c(child) {
83
+ this.children.push(child);
84
+ return this;
85
+ }
86
+ a(name, value) {
87
+ if (value != null) this.attributes[name] = value;
88
+ return this;
89
+ }
90
+ cc(input, field, withName = field) {
91
+ if (input[field] != null) {
92
+ const node = XmlNode.of(field, input[field]).withName(withName);
93
+ this.c(node);
94
+ }
95
+ }
96
+ l(input, listName, memberName, valueProvider) {
97
+ if (input[listName] != null) valueProvider().map((node) => {
98
+ node.withName(memberName);
99
+ this.c(node);
100
+ });
101
+ }
102
+ lc(input, listName, memberName, valueProvider) {
103
+ if (input[listName] != null) {
104
+ const nodes = valueProvider();
105
+ const containerNode = new XmlNode(memberName);
106
+ nodes.map((node) => {
107
+ containerNode.c(node);
108
+ });
109
+ this.c(containerNode);
110
+ }
111
+ }
112
+ toString() {
113
+ const hasChildren = Boolean(this.children.length);
114
+ let xmlText = `<${this.name}`;
115
+ const attributes = this.attributes;
116
+ for (const attributeName of Object.keys(attributes)) {
117
+ const attribute = attributes[attributeName];
118
+ if (attribute != null) xmlText += ` ${attributeName}="${escapeAttribute("" + attribute)}"`;
119
+ }
120
+ return xmlText += !hasChildren ? "/>" : `>${this.children.map((c) => c.toString()).join("")}</${this.name}>`;
121
+ }
122
+ };
123
+ function writeKey(obj) {
124
+ Object.defineProperty(obj, "__proto__", {
125
+ value: void 0,
126
+ writable: true,
127
+ enumerable: true,
128
+ configurable: true
129
+ });
130
+ }
131
+ function parseXML(xml) {
132
+ return new AwsXmlParser(xml).parse();
133
+ }
134
+ var AwsXmlParser = class AwsXmlParser {
135
+ x;
136
+ i = 0;
137
+ z;
138
+ constructor(x) {
139
+ this.x = x;
140
+ this.x = x.replace(/\r\n?/g, "\n");
141
+ this.z = this.x.length;
142
+ }
143
+ parse() {
144
+ const p = this;
145
+ const { z } = p;
146
+ while (p.i < z) {
147
+ p.trim();
148
+ if (p.i >= z) break;
149
+ if (p.isNext("<?")) {
150
+ p.readTo("?>");
151
+ p.trim();
152
+ } else if (p.isNext("<!--")) {
153
+ p.readTo("-->");
154
+ p.trim();
155
+ } else if (p.isNext("<!DOCTYPE", false)) {
156
+ p.skipDoctype();
157
+ p.trim();
158
+ } else if (p.x[p.i] === "<") {
159
+ const root = p.parseTag();
160
+ return { [root.tag]: root.value };
161
+ } else throw new Error("@aws-sdk XML parse error: unexpected content.");
162
+ }
163
+ throw new Error("@aws-sdk XML parse error: no root element.");
164
+ }
165
+ isNext(s, caseSensitive = true) {
166
+ const p = this;
167
+ if (caseSensitive) return p.x.startsWith(s, p.i);
168
+ return p.x.toLowerCase().startsWith(s.toLowerCase(), p.i);
169
+ }
170
+ readTo(stop) {
171
+ const p = this;
172
+ const _i = p.x.indexOf(stop, p.i);
173
+ if (_i === -1) throw new Error(`@aws-sdk XML parse error: expected "${stop}" not found.`);
174
+ const result = p.x.slice(p.i, _i);
175
+ p.i = _i + stop.length;
176
+ return result;
177
+ }
178
+ trim() {
179
+ const p = this;
180
+ while (p.i < p.z && " \r\n".includes(p.x[p.i])) ++p.i;
181
+ }
182
+ readAttrValue() {
183
+ const p = this;
184
+ const quote = p.x[p.i];
185
+ ++p.i;
186
+ let value = "";
187
+ while (p.i < p.z && p.x[p.i] !== quote) value += p.x[p.i++];
188
+ ++p.i;
189
+ return p.decodeEntities(value);
190
+ }
191
+ parseTag() {
192
+ const p = this;
193
+ ++p.i;
194
+ let tag = "";
195
+ while (p.i < p.z && !" \r\n>/".includes(p.x[p.i])) tag += p.x[p.i++];
196
+ let hasAttrs = false;
197
+ const attrs = {};
198
+ while (p.i < p.z) {
199
+ p.trim();
200
+ if (">/".includes(p.x[p.i])) break;
201
+ let name = "";
202
+ while (p.i < p.z && !"= \r\n>/?".includes(p.x[p.i])) name += p.x[p.i++];
203
+ p.trim();
204
+ if (p.x[p.i] !== "=") break;
205
+ ++p.i;
206
+ p.trim();
207
+ if (name === "__proto__") writeKey(attrs);
208
+ attrs[name] = p.readAttrValue();
209
+ hasAttrs = true;
210
+ }
211
+ if (p.i >= p.z) throw new Error("@aws-sdk XML parse error: unexpected end of input.");
212
+ if (p.x[p.i] === "/") {
213
+ ++p.i;
214
+ if (p.i >= p.z || p.x[p.i] !== ">") throw new Error("@aws-sdk XML parse error: expected > at the end of self-closing tag.");
215
+ ++p.i;
216
+ return {
217
+ tag,
218
+ value: hasAttrs ? attrs : ""
219
+ };
220
+ }
221
+ if (p.x[p.i] !== ">") throw new Error("@aws-sdk XML parse error: expected > at the end of opening tag.");
222
+ ++p.i;
223
+ const textParts = [];
224
+ const childTags = [];
225
+ let hasElementChild = false;
226
+ while (p.i < p.z) {
227
+ if (p.isNext("</")) break;
228
+ if (p.x[p.i] === "<") if (p.isNext("<!--")) p.readTo("-->");
229
+ else if (p.isNext("<![CDATA[")) {
230
+ p.i += 9;
231
+ textParts.push(p.readTo("]]>"));
232
+ } else if (p.isNext("<?")) p.readTo("?>");
233
+ else {
234
+ hasElementChild = true;
235
+ childTags.push(p.parseTag());
236
+ }
237
+ else {
238
+ let text = "";
239
+ while (p.i < p.z && p.x[p.i] !== "<") text += p.x[p.i++];
240
+ textParts.push(p.decodeEntities(text));
241
+ }
242
+ }
243
+ if (!p.isNext("</")) throw new Error(`@aws-sdk XML parse error: missing closing tag </${tag}>.`);
244
+ p.i += 2;
245
+ const closeTag = p.readTo(">").trim();
246
+ if (closeTag !== tag) throw new Error(`@aws-sdk XML parse error: mismatched tags <${tag}> and </${closeTag}>.`);
247
+ if (!hasAttrs && textParts.length === 0 && !hasElementChild) return {
248
+ tag,
249
+ value: ""
250
+ };
251
+ if (!hasAttrs && !hasElementChild) {
252
+ const text = textParts.length === 1 ? textParts[0] : textParts.join("");
253
+ if (text.trim() === "" && text.includes("\n")) return {
254
+ tag,
255
+ value: ""
256
+ };
257
+ return {
258
+ tag,
259
+ value: text
260
+ };
261
+ }
262
+ const obj = {};
263
+ for (const text of textParts) {
264
+ if (text.trim() === "" && text.includes("\n")) continue;
265
+ obj["#text"] = "#text" in obj ? obj["#text"] + text : text;
266
+ }
267
+ for (const child of childTags) {
268
+ if (child.tag === "__proto__") writeKey(obj);
269
+ if (child.tag in obj) if (Array.isArray(obj[child.tag])) obj[child.tag].push(child.value);
270
+ else obj[child.tag] = [obj[child.tag], child.value];
271
+ else obj[child.tag] = child.value;
272
+ }
273
+ for (const [k, v] of Object.entries(attrs)) {
274
+ if (k === "__proto__") writeKey(obj);
275
+ obj[k] = v;
276
+ }
277
+ return {
278
+ tag,
279
+ value: obj
280
+ };
281
+ }
282
+ static ENTITIES = {
283
+ amp: "&",
284
+ lt: "<",
285
+ gt: ">",
286
+ quot: "\"",
287
+ apos: "'"
288
+ };
289
+ skipDoctype() {
290
+ const p = this;
291
+ p.i += 9;
292
+ let depth = 0;
293
+ while (p.i < p.z) {
294
+ const c = p.x[p.i];
295
+ if (c === "[") ++depth;
296
+ else if (c === "]") --depth;
297
+ else if (c === ">" && depth === 0) {
298
+ ++p.i;
299
+ return;
300
+ }
301
+ ++p.i;
302
+ }
303
+ throw new Error("@aws-sdk XML parse error: unclosed DOCTYPE.");
304
+ }
305
+ decodeEntities(s) {
306
+ return s.replace(/&(?:#x([0-9a-fA-F]{1,6})|#(\d{1,7})|([a-zA-Z][a-zA-Z0-9]{0,30}));/g, (_, hex, dec, named) => {
307
+ if (hex) return String.fromCharCode(parseInt(hex, 16));
308
+ if (dec) return String.fromCharCode(parseInt(dec, 10));
309
+ return AwsXmlParser.ENTITIES[named] ?? "";
310
+ });
311
+ }
312
+ };
313
+ exports.XmlNode = XmlNode;
314
+ exports.XmlText = XmlText;
315
+ exports.parseXML = parseXML;
316
+ }));
317
+ //#endregion
318
+ //#region ../../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js
319
+ var import_dist_cjs = require_dist_cjs();
320
+ var XmlShapeDeserializer = class extends require_extensions.SerdeContextConfig {
321
+ settings;
322
+ stringDeserializer;
323
+ constructor(settings) {
324
+ super();
325
+ this.settings = settings;
326
+ this.stringDeserializer = new require_extensions.FromStringShapeDeserializer(settings);
327
+ }
328
+ setSerdeContext(serdeContext) {
329
+ this.serdeContext = serdeContext;
330
+ this.stringDeserializer.setSerdeContext(serdeContext);
331
+ }
332
+ read(schema, bytes, key) {
333
+ const ns = require_extensions.NormalizedSchema.of(schema);
334
+ const memberSchemas = ns.getMemberSchemas();
335
+ if (ns.isStructSchema() && ns.isMemberSchema() && !!Object.values(memberSchemas).find((memberNs) => {
336
+ return !!memberNs.getMemberTraits().eventPayload;
337
+ })) {
338
+ const output = {};
339
+ const memberName = Object.keys(memberSchemas)[0];
340
+ if (memberSchemas[memberName].isBlobSchema()) output[memberName] = bytes;
341
+ else output[memberName] = this.read(memberSchemas[memberName], bytes);
342
+ return output;
343
+ }
344
+ const xmlString = (this.serdeContext?.utf8Encoder ?? require_toUtf8.toUtf8)(bytes);
345
+ const parsedObject = this.parseXml(xmlString);
346
+ return this.readSchema(schema, key ? parsedObject[key] : parsedObject);
347
+ }
348
+ readSchema(_schema, value) {
349
+ const ns = require_extensions.NormalizedSchema.of(_schema);
350
+ if (ns.isUnitSchema()) return;
351
+ const traits = ns.getMergedTraits();
352
+ if (ns.isListSchema() && !Array.isArray(value)) return this.readSchema(ns, [value]);
353
+ if (value == null) return value;
354
+ if (typeof value === "object") {
355
+ const flat = !!traits.xmlFlattened;
356
+ if (ns.isListSchema()) {
357
+ const listValue = ns.getValueSchema();
358
+ const buffer = [];
359
+ const sourceKey = listValue.getMergedTraits().xmlName ?? "member";
360
+ const source = flat ? value : (value[0] ?? value)[sourceKey];
361
+ if (source == null) return buffer;
362
+ const sourceArray = Array.isArray(source) ? source : [source];
363
+ for (const v of sourceArray) buffer.push(this.readSchema(listValue, v));
364
+ return buffer;
365
+ }
366
+ const buffer = {};
367
+ if (ns.isMapSchema()) {
368
+ const keyNs = ns.getKeySchema();
369
+ const memberNs = ns.getValueSchema();
370
+ let entries;
371
+ if (flat) entries = Array.isArray(value) ? value : [value];
372
+ else entries = Array.isArray(value.entry) ? value.entry : [value.entry];
373
+ const keyProperty = keyNs.getMergedTraits().xmlName ?? "key";
374
+ const valueProperty = memberNs.getMergedTraits().xmlName ?? "value";
375
+ for (const entry of entries) {
376
+ const key = entry[keyProperty];
377
+ const value = entry[valueProperty];
378
+ buffer[key] = this.readSchema(memberNs, value);
379
+ }
380
+ return buffer;
381
+ }
382
+ if (ns.isStructSchema()) {
383
+ const union = ns.isUnionSchema();
384
+ let unionSerde;
385
+ if (union) unionSerde = new require_extensions.UnionSerde(value, buffer);
386
+ for (const [memberName, memberSchema] of ns.structIterator()) {
387
+ const memberTraits = memberSchema.getMergedTraits();
388
+ const xmlObjectKey = !memberTraits.httpPayload ? memberSchema.getMemberTraits().xmlName ?? memberName : memberTraits.xmlName ?? memberSchema.getName();
389
+ if (union) unionSerde.mark(xmlObjectKey);
390
+ if (value[xmlObjectKey] != null) buffer[memberName] = this.readSchema(memberSchema, value[xmlObjectKey]);
391
+ }
392
+ if (union) unionSerde.writeUnknown();
393
+ return buffer;
394
+ }
395
+ if (ns.isDocumentSchema()) return value;
396
+ throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`);
397
+ }
398
+ if (ns.isListSchema()) return [];
399
+ if (ns.isMapSchema() || ns.isStructSchema()) return {};
400
+ return this.stringDeserializer.read(ns, value);
401
+ }
402
+ parseXml(xml) {
403
+ if (xml.length) {
404
+ let parsedObj;
405
+ try {
406
+ parsedObj = (0, import_dist_cjs.parseXML)(xml);
407
+ } catch (e) {
408
+ if (e && typeof e === "object") Object.defineProperty(e, "$responseBodyText", { value: xml });
409
+ throw e;
410
+ }
411
+ const textNodeName = "#text";
412
+ const key = Object.keys(parsedObj)[0];
413
+ const parsedObjToReturn = parsedObj[key];
414
+ if (parsedObjToReturn[textNodeName]) {
415
+ parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
416
+ delete parsedObjToReturn[textNodeName];
417
+ }
418
+ return getValueFromTextNode(parsedObjToReturn);
419
+ }
420
+ return {};
421
+ }
422
+ };
423
+ //#endregion
424
+ Object.defineProperty(exports, "XmlShapeDeserializer", {
425
+ enumerable: true,
426
+ get: function() {
427
+ return XmlShapeDeserializer;
428
+ }
429
+ });
430
+ Object.defineProperty(exports, "require_dist_cjs", {
431
+ enumerable: true,
432
+ get: function() {
433
+ return require_dist_cjs;
434
+ }
435
+ });
@@ -1,9 +1,8 @@
1
- const require_stream_collector = require("./stream-collector-jwXXBEUn.cjs");
1
+ const require_stream_collector = require("./stream-collector-DMWbWhbd.cjs");
2
2
  const require_httpRequest = require("./httpRequest-C7Ex2WeE.cjs");
3
3
  const require_setCredentialFeature = require("./setCredentialFeature-qcUbSyqa.cjs");
4
- const require_date_utils = require("./date-utils-Dr5LXq4_.cjs");
5
4
  const require_CredentialsProviderError = require("./CredentialsProviderError-DQ_v7TCm.cjs");
6
- const require_sdk_stream_mixin = require("./sdk-stream-mixin-YBLWtp6l.cjs");
5
+ const require_sdk_stream_mixin = require("./sdk-stream-mixin-DkgFkSQp.cjs");
7
6
  let node_fs_promises = require("node:fs/promises");
8
7
  node_fs_promises = require_stream_collector.__toESM(node_fs_promises);
9
8
  //#region ../../../node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js
@@ -53,7 +52,7 @@ async function getCredentials(response, logger) {
53
52
  accessKeyId: parsed.AccessKeyId,
54
53
  secretAccessKey: parsed.SecretAccessKey,
55
54
  sessionToken: parsed.Token,
56
- expiration: require_date_utils.parseRfc3339DateTime(parsed.Expiration)
55
+ expiration: require_stream_collector.parseRfc3339DateTime(parsed.Expiration)
57
56
  };
58
57
  }
59
58
  if (response.statusCode >= 400 && response.statusCode < 500) {
@@ -0,0 +1,68 @@
1
+ const require_stream_collector = require("./stream-collector-DMWbWhbd.cjs");
2
+ const require_setCredentialFeature = require("./setCredentialFeature-qcUbSyqa.cjs");
3
+ const require_CredentialsProviderError = require("./CredentialsProviderError-DQ_v7TCm.cjs");
4
+ //#region ../../../node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js
5
+ var ENV_KEY = "AWS_ACCESS_KEY_ID";
6
+ var ENV_SECRET = "AWS_SECRET_ACCESS_KEY";
7
+ var ENV_SESSION = "AWS_SESSION_TOKEN";
8
+ var ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION";
9
+ var ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE";
10
+ var ENV_ACCOUNT_ID = "AWS_ACCOUNT_ID";
11
+ var fromEnv = (init) => async () => {
12
+ init?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");
13
+ const accessKeyId = process.env[ENV_KEY];
14
+ const secretAccessKey = process.env[ENV_SECRET];
15
+ const sessionToken = process.env[ENV_SESSION];
16
+ const expiry = process.env[ENV_EXPIRATION];
17
+ const credentialScope = process.env[ENV_CREDENTIAL_SCOPE];
18
+ const accountId = process.env[ENV_ACCOUNT_ID];
19
+ if (accessKeyId && secretAccessKey) {
20
+ const credentials = {
21
+ accessKeyId,
22
+ secretAccessKey,
23
+ ...sessionToken && { sessionToken },
24
+ ...expiry && { expiration: new Date(expiry) },
25
+ ...credentialScope && { credentialScope },
26
+ ...accountId && { accountId }
27
+ };
28
+ require_setCredentialFeature.setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS", "g");
29
+ return credentials;
30
+ }
31
+ throw new require_CredentialsProviderError.CredentialsProviderError("Unable to find environment variable credentials.", { logger: init?.logger });
32
+ };
33
+ //#endregion
34
+ //#region ../../../node_modules/@aws-sdk/credential-provider-env/dist-es/index.js
35
+ var dist_es_exports = /* @__PURE__ */ require_stream_collector.__exportAll({
36
+ ENV_ACCOUNT_ID: () => ENV_ACCOUNT_ID,
37
+ ENV_CREDENTIAL_SCOPE: () => ENV_CREDENTIAL_SCOPE,
38
+ ENV_EXPIRATION: () => ENV_EXPIRATION,
39
+ ENV_KEY: () => ENV_KEY,
40
+ ENV_SECRET: () => ENV_SECRET,
41
+ ENV_SESSION: () => ENV_SESSION,
42
+ fromEnv: () => fromEnv
43
+ });
44
+ //#endregion
45
+ Object.defineProperty(exports, "ENV_KEY", {
46
+ enumerable: true,
47
+ get: function() {
48
+ return ENV_KEY;
49
+ }
50
+ });
51
+ Object.defineProperty(exports, "ENV_SECRET", {
52
+ enumerable: true,
53
+ get: function() {
54
+ return ENV_SECRET;
55
+ }
56
+ });
57
+ Object.defineProperty(exports, "dist_es_exports", {
58
+ enumerable: true,
59
+ get: function() {
60
+ return dist_es_exports;
61
+ }
62
+ });
63
+ Object.defineProperty(exports, "fromEnv", {
64
+ enumerable: true,
65
+ get: function() {
66
+ return fromEnv;
67
+ }
68
+ });
@@ -30,7 +30,7 @@ var REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the
30
30
  //#endregion
31
31
  //#region ../../../node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
32
32
  var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
33
- const { SSOOIDCClient } = await Promise.resolve().then(() => require("./sso-oidc-B4fkm2gn.cjs"));
33
+ const { SSOOIDCClient } = await Promise.resolve().then(() => require("./sso-oidc-CgmbzBa9.cjs"));
34
34
  const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
35
35
  return new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
36
36
  region: ssoRegion ?? init.clientConfig?.region,
@@ -41,7 +41,7 @@ var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
41
41
  //#endregion
42
42
  //#region ../../../node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
43
43
  var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
44
- const { CreateTokenCommand } = await Promise.resolve().then(() => require("./sso-oidc-B4fkm2gn.cjs"));
44
+ const { CreateTokenCommand } = await Promise.resolve().then(() => require("./sso-oidc-CgmbzBa9.cjs"));
45
45
  return (await getSsoOidcClient(ssoRegion, init, callerClientConfig)).send(new CreateTokenCommand({
46
46
  clientId: ssoToken.clientId,
47
47
  clientSecret: ssoToken.clientSecret,
@@ -161,7 +161,7 @@ var resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoR
161
161
  logger
162
162
  });
163
163
  const { accessToken } = token;
164
- const { SSOClient, GetRoleCredentialsCommand } = await Promise.resolve().then(() => require("./loadSso-Dn78jIWR.cjs"));
164
+ const { SSOClient, GetRoleCredentialsCommand } = await Promise.resolve().then(() => require("./loadSso-BTCpyZdX.cjs"));
165
165
  const sso = ssoClient || new SSOClient(Object.assign({}, clientConfig ?? {}, {
166
166
  logger: clientConfig?.logger ?? callerClientConfig?.logger ?? parentClientConfig?.logger,
167
167
  region: clientConfig?.region ?? ssoRegion,
@@ -13,7 +13,7 @@ let node_os = require("node:os");
13
13
  var resolveCredentialSource = (credentialSource, profileName, logger) => {
14
14
  const sourceProvidersMap = {
15
15
  EcsContainer: async (options) => {
16
- const { fromHttp } = await Promise.resolve().then(() => require("./dist-es-DhxfSNMj.cjs"));
16
+ const { fromHttp } = await Promise.resolve().then(() => require("./dist-es-BM2h2Gys.cjs"));
17
17
  const { fromContainerMetadata } = await Promise.resolve().then(() => require("./dist-es-vq3O1QUl.cjs"));
18
18
  logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
19
19
  return async () => require_chain.chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
@@ -25,7 +25,7 @@ var resolveCredentialSource = (credentialSource, profileName, logger) => {
25
25
  },
26
26
  Environment: async (options) => {
27
27
  logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
28
- const { fromEnv } = await Promise.resolve().then(() => require("./index.cjs")).then((n) => n.dist_es_exports);
28
+ const { fromEnv } = await Promise.resolve().then(() => require("./dist-es-Cc6BAzq1.cjs")).then((n) => n.dist_es_exports);
29
29
  return async () => fromEnv(options)().then(setNamedProvider);
30
30
  }
31
31
  };
@@ -59,7 +59,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, caller
59
59
  const profileData = profiles[profileName];
60
60
  const { source_profile, region } = profileData;
61
61
  if (!options.roleAssumer) {
62
- const { getDefaultRoleAssumer } = await Promise.resolve().then(() => require("./sts-C9aqjeec.cjs"));
62
+ const { getDefaultRoleAssumer } = await Promise.resolve().then(() => require("./sts-BN3zvW2j.cjs"));
63
63
  options.roleAssumer = getDefaultRoleAssumer({
64
64
  ...options.clientConfig,
65
65
  credentialProviderLogger: options.logger,
@@ -136,7 +136,7 @@ var LoginCredentialsFetcher = class LoginCredentialsFetcher {
136
136
  return this.profileData.login_session;
137
137
  }
138
138
  async refresh(token) {
139
- const { SigninClient, CreateOAuth2TokenCommand } = await Promise.resolve().then(() => require("./signin-DHnd2WFx.cjs"));
139
+ const { SigninClient, CreateOAuth2TokenCommand } = await Promise.resolve().then(() => require("./signin-C5HI1JED.cjs"));
140
140
  const { logger, userAgentAppId } = this.callerClientConfig ?? {};
141
141
  const isH2 = (requestHandler) => {
142
142
  return requestHandler?.metadata?.handlerProtocol === "h2";
@@ -370,7 +370,7 @@ var resolveProcessCredentials = async (options, profile) => Promise.resolve().th
370
370
  //#endregion
371
371
  //#region ../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
372
372
  var resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
373
- const { fromSSO } = await Promise.resolve().then(() => require("./dist-es-BU2b9jKG.cjs"));
373
+ const { fromSSO } = await Promise.resolve().then(() => require("./dist-es-CyUUay9V.cjs"));
374
374
  return fromSSO({
375
375
  profile,
376
376
  logger: options.logger,
@@ -398,7 +398,7 @@ var resolveStaticCredentials = async (profile, options) => {
398
398
  //#endregion
399
399
  //#region ../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
400
400
  var isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
401
- var resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => Promise.resolve().then(() => require("./dist-es-CaaxKLO9.cjs")).then(({ fromTokenFile }) => fromTokenFile({
401
+ var resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => Promise.resolve().then(() => require("./dist-es-bSvKL25L.cjs")).then(({ fromTokenFile }) => fromTokenFile({
402
402
  webIdentityTokenFile: profile.web_identity_token_file,
403
403
  roleArn: profile.role_arn,
404
404
  roleSessionName: profile.role_session_name,
@@ -8,7 +8,7 @@ var fromWebToken = (init) => async (awsIdentityProperties) => {
8
8
  const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
9
9
  let { roleAssumerWithWebIdentity } = init;
10
10
  if (!roleAssumerWithWebIdentity) {
11
- const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => require("./sts-C9aqjeec.cjs"));
11
+ const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => require("./sts-BN3zvW2j.cjs"));
12
12
  roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
13
13
  ...init.clientConfig,
14
14
  credentialProviderLogger: init.logger,
@@ -1,4 +1,4 @@
1
- const require_date_utils = require("./date-utils-Dr5LXq4_.cjs");
1
+ const require_toUtf8 = require("./toUtf8-Dj4WWtpp.cjs");
2
2
  //#region ../../../node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js
3
3
  var EventStreamSerde = class {
4
4
  marshaller;
@@ -106,7 +106,7 @@ var EventStreamSerde = class {
106
106
  hasBindings = hasBindings || Boolean(eventHeader || eventPayload);
107
107
  if (eventPayload) {
108
108
  if (member.isBlobSchema()) out[name] = body;
109
- else if (member.isStringSchema()) out[name] = (this.serdeContext?.utf8Encoder ?? require_date_utils.toUtf8)(body);
109
+ else if (member.isStringSchema()) out[name] = (this.serdeContext?.utf8Encoder ?? require_toUtf8.toUtf8)(body);
110
110
  else if (member.isStructSchema()) out[name] = await this.deserializer.read(member, body);
111
111
  } else if (eventHeader) {
112
112
  const value = event[unionMember].headers[name]?.value;
@@ -182,9 +182,9 @@ var EventStreamSerde = class {
182
182
  } else if (eventSchema.isUnitSchema()) serializer.write(eventSchema, {});
183
183
  else throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union.");
184
184
  }
185
- const messageSerialization = serializer.flush() ?? new Uint8Array();
185
+ const messageSerialization = serializer.flush() ?? /* @__PURE__ */ new Uint8Array();
186
186
  return {
187
- body: typeof messageSerialization === "string" ? (this.serdeContext?.utf8Decoder ?? require_date_utils.fromUtf8)(messageSerialization) : messageSerialization,
187
+ body: typeof messageSerialization === "string" ? (this.serdeContext?.utf8Decoder ?? require_toUtf8.fromUtf8)(messageSerialization) : messageSerialization,
188
188
  eventType,
189
189
  explicitPayloadContentType,
190
190
  additionalHeaders