dynamic-mui 2.0.25 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/XmlShapeDeserializer-3yQdm0b0.mjs +237 -0
  2. package/dist/XmlShapeDeserializer-XKJAoqLc.js +1 -0
  3. package/dist/ai/client.d.ts +2 -0
  4. package/dist/ai/index.d.ts +4 -0
  5. package/dist/ai/mapping.d.ts +14 -0
  6. package/dist/ai/react/AIFill.d.ts +25 -0
  7. package/dist/ai/react/AIForm.d.ts +29 -0
  8. package/dist/ai/react/AIFormGenerator.d.ts +20 -0
  9. package/dist/ai/react/AISchemaReview.d.ts +18 -0
  10. package/dist/ai/react/AITextAssist.d.ts +35 -0
  11. package/dist/ai/react/AIVisionImport.d.ts +21 -0
  12. package/dist/ai/react/index.d.ts +6 -0
  13. package/dist/ai/types.d.ts +107 -0
  14. package/dist/components/FormGenerator.d.ts +14 -1
  15. package/dist/components/controls/AddressField/addressfield.d.ts +2 -0
  16. package/dist/components/controls/Alert/alert.d.ts +3 -0
  17. package/dist/components/controls/Button/button.d.ts +3 -0
  18. package/dist/components/controls/CascadeSelect/cascadeselect.d.ts +2 -0
  19. package/dist/components/controls/ChipSelect/chipselect.d.ts +3 -0
  20. package/dist/components/controls/ColorPicker/colorpicker.d.ts +3 -0
  21. package/dist/components/controls/Computed/computed.d.ts +7 -0
  22. package/dist/components/controls/ConsentField/consentfield.d.ts +3 -0
  23. package/dist/components/controls/CurrencyField/currencyfield.d.ts +2 -0
  24. package/dist/components/controls/DateRangePicker/daterangepicker.d.ts +3 -0
  25. package/dist/components/controls/FileUpload/fileupload.d.ts +3 -0
  26. package/dist/components/controls/FormWizard/formwizard.d.ts +2 -0
  27. package/dist/components/controls/GeoField/geofield.d.ts +6 -0
  28. package/dist/components/controls/KeyValueField/keyvaluefield.d.ts +2 -0
  29. package/dist/components/controls/MarkdownEditor/markdowneditor.d.ts +3 -0
  30. package/dist/components/controls/MatrixField/matrixfield.d.ts +3 -0
  31. package/dist/components/controls/NumberStepper/numberstepper.d.ts +2 -0
  32. package/dist/components/controls/OtpField/otpfield.d.ts +2 -0
  33. package/dist/components/controls/PasswordField/passwordfield.d.ts +2 -0
  34. package/dist/components/controls/PhoneField/phonefield.d.ts +2 -0
  35. package/dist/components/controls/Rating/rating.d.ts +3 -0
  36. package/dist/components/controls/Slider/slider.d.ts +3 -0
  37. package/dist/components/controls/SummaryField/summaryfield.d.ts +7 -0
  38. package/dist/components/controls/TagsInput/tagsinput.d.ts +3 -0
  39. package/dist/components/controls/ToggleButtons/togglebuttons.d.ts +3 -0
  40. package/dist/components/controls/index.d.ts +50 -0
  41. package/dist/date-utils-CFUUt6NL.js +4 -0
  42. package/dist/date-utils-pGzaKb0p.mjs +477 -0
  43. package/dist/dynamic-mui.cjs.js +469 -1
  44. package/dist/dynamic-mui.es.js +102548 -7
  45. package/dist/index-BW8_rRff.js +7 -0
  46. package/dist/index-BXFVK_GX.js +1 -0
  47. package/dist/index-CVqLvm8B.js +1 -0
  48. package/dist/index-Cr6Wp_S-.mjs +3141 -0
  49. package/dist/{index-Cu1h31y8.mjs → index-DA0XouZs.mjs} +16 -16
  50. package/dist/index-DKS5Sz9e.js +14 -0
  51. package/dist/index-DcWfyXJp.mjs +92 -0
  52. package/dist/index-MllWgTJ5.mjs +9372 -0
  53. package/dist/index.browser-BSu11T_q.mjs +363 -0
  54. package/dist/index.browser-By7-GABP.js +4 -0
  55. package/dist/index.d.ts +1 -0
  56. package/dist/loadCognitoIdentity-DtYTy-DW.js +1 -0
  57. package/dist/loadCognitoIdentity-DzdR91GB.mjs +872 -0
  58. package/dist/loadSts-Cic6UToN.mjs +593 -0
  59. package/dist/loadSts-csbFP6zX.js +1 -0
  60. package/dist/noAuth-B8ui2kBg.mjs +71 -0
  61. package/dist/noAuth-JPA2o4dt.js +1 -0
  62. package/dist/playground/AIContext.d.ts +18 -0
  63. package/dist/playground/AIPanel.d.ts +10 -0
  64. package/dist/types.d.ts +81 -10
  65. package/dist/util/helper.d.ts +2 -30
  66. package/dist/util/premiumStyles.d.ts +27 -0
  67. package/dist/util/rules.d.ts +35 -0
  68. package/package.json +2 -2
  69. package/dist/index-Bd7ELVvM.mjs +0 -102295
  70. package/dist/index-DIaEVD8W.js +0 -465
  71. package/dist/index-DzzNuBCt.js +0 -1
  72. package/dist/loadCognitoIdentity-5jZEsafg.js +0 -1
  73. package/dist/loadCognitoIdentity-C-Upg8iV.mjs +0 -935
@@ -0,0 +1,872 @@
1
+ import { b as R, c as ke, e as M, N as O, U as ve, L as ue, d as pe, v as De, P as Oe, f as Te, T as E, r as Fe, n as de, h as $e, i as Me, j as Ne, k as le, E as Ue, l as ze, p as je, m as Ge, A as Le, o as He, q as Je, D as Be, t as Ve, u as We, w as qe, x as Ke, y as Qe, z as Ze, B as Xe, F as Ye, G as et, I as tt, J as st, K as it, M as rt, a as ot, O as nt, Q as at, R as ct, V as ut, W as pt, X as dt, Y as lt, Z as ft, _ as gt, $ as ht, a0 as mt, a1 as St, a2 as yt, a3 as Et, a4 as wt, a5 as It, C as fe, g as ge } from "./index-Cr6Wp_S-.mjs";
2
+ import { t as he, a as me, b as xt, c as bt, d as Pt, e as $, g as Ct, f as At, h as Rt, F as _t } from "./date-utils-pGzaKb0p.mjs";
3
+ import { R as kt, N as vt } from "./noAuth-B8ui2kBg.mjs";
4
+ function Dt(s, t, e) {
5
+ if (e?.source) {
6
+ const o = e.source;
7
+ if (typeof t == "number" && (t > Number.MAX_SAFE_INTEGER || t < Number.MIN_SAFE_INTEGER || o !== String(t)))
8
+ return o.includes(".") ? new R(o, "bigDecimal") : BigInt(o);
9
+ }
10
+ return t;
11
+ }
12
+ const Ot = (s, t) => ke(s, t).then((e) => (t?.utf8Encoder ?? he)(e)), Tt = (s, t) => Ot(s, t).then((e) => {
13
+ if (e.length)
14
+ try {
15
+ return JSON.parse(e);
16
+ } catch (o) {
17
+ throw o?.name === "SyntaxError" && Object.defineProperty(o, "$responseBodyText", {
18
+ value: e
19
+ }), o;
20
+ }
21
+ return {};
22
+ }), Ft = (s, t) => {
23
+ const e = (n, r) => Object.keys(n).find((a) => a.toLowerCase() === r.toLowerCase()), o = (n) => {
24
+ let r = n;
25
+ return typeof r == "number" && (r = r.toString()), r.indexOf(",") >= 0 && (r = r.split(",")[0]), r.indexOf(":") >= 0 && (r = r.split(":")[0]), r.indexOf("#") >= 0 && (r = r.split("#")[1]), r;
26
+ }, i = e(s.headers, "x-amzn-errortype");
27
+ if (i !== void 0)
28
+ return o(s.headers[i]);
29
+ if (t && typeof t == "object") {
30
+ const n = e(t, "code");
31
+ if (n && t[n] !== void 0)
32
+ return o(t[n]);
33
+ if (t.__type !== void 0)
34
+ return o(t.__type);
35
+ }
36
+ };
37
+ class $t extends M {
38
+ settings;
39
+ constructor(t) {
40
+ super(), this.settings = t;
41
+ }
42
+ async read(t, e) {
43
+ return this._read(t, typeof e == "string" ? JSON.parse(e, Dt) : await Tt(e, this.serdeContext));
44
+ }
45
+ readObject(t, e) {
46
+ return this._read(t, e);
47
+ }
48
+ _read(t, e) {
49
+ const o = e !== null && typeof e == "object", i = O.of(t);
50
+ if (o) {
51
+ if (i.isStructSchema()) {
52
+ const r = e, a = i.isUnionSchema(), u = {};
53
+ let d;
54
+ const { jsonName: p } = this.settings;
55
+ p && (d = {});
56
+ let m;
57
+ a && (m = new ve(r, u));
58
+ for (const [f, w] of i.structIterator()) {
59
+ let y = f;
60
+ p && (y = w.getMergedTraits().jsonName ?? y, d[y] = f), a && m.mark(y), r[y] != null && (u[f] = this._read(w, r[y]));
61
+ }
62
+ if (a)
63
+ m.writeUnknown();
64
+ else if (typeof r.__type == "string")
65
+ for (const [f, w] of Object.entries(r)) {
66
+ const y = p ? d[f] ?? f : f;
67
+ y in u || (u[y] = w);
68
+ }
69
+ return u;
70
+ }
71
+ if (Array.isArray(e) && i.isListSchema()) {
72
+ const r = i.getValueSchema(), a = [], u = !!i.getMergedTraits().sparse;
73
+ for (const d of e)
74
+ (u || d != null) && a.push(this._read(r, d));
75
+ return a;
76
+ }
77
+ if (i.isMapSchema()) {
78
+ const r = i.getValueSchema(), a = {}, u = !!i.getMergedTraits().sparse;
79
+ for (const [d, p] of Object.entries(e))
80
+ (u || p != null) && (a[d] = this._read(r, p));
81
+ return a;
82
+ }
83
+ }
84
+ if (i.isBlobSchema() && typeof e == "string")
85
+ return me(e);
86
+ const n = i.getMergedTraits().mediaType;
87
+ if (i.isStringSchema() && typeof e == "string" && n)
88
+ return n === "application/json" || n.endsWith("+json") ? ue.from(e) : e;
89
+ if (i.isTimestampSchema() && e != null)
90
+ switch (pe(i, this.settings)) {
91
+ case 5:
92
+ return Pt(e);
93
+ case 6:
94
+ return bt(e);
95
+ case 7:
96
+ return xt(e);
97
+ default:
98
+ return console.warn("Missing timestamp format, parsing value with Date constructor:", e), new Date(e);
99
+ }
100
+ if (i.isBigIntegerSchema() && (typeof e == "number" || typeof e == "string"))
101
+ return BigInt(e);
102
+ if (i.isBigDecimalSchema() && e != null) {
103
+ if (e instanceof R)
104
+ return e;
105
+ const r = e;
106
+ return r.type === "bigDecimal" && "string" in r ? new R(r.string, r.type) : new R(String(e), "bigDecimal");
107
+ }
108
+ if (i.isNumericSchema() && typeof e == "string") {
109
+ switch (e) {
110
+ case "Infinity":
111
+ return 1 / 0;
112
+ case "-Infinity":
113
+ return -1 / 0;
114
+ case "NaN":
115
+ return NaN;
116
+ }
117
+ return e;
118
+ }
119
+ if (i.isDocumentSchema())
120
+ if (o) {
121
+ const r = Array.isArray(e) ? [] : {};
122
+ for (const [a, u] of Object.entries(e))
123
+ u instanceof R ? r[a] = u : r[a] = this._read(i, u);
124
+ return r;
125
+ } else
126
+ return structuredClone(e);
127
+ return e;
128
+ }
129
+ }
130
+ const Z = "Ν";
131
+ class Mt {
132
+ values = /* @__PURE__ */ new Map();
133
+ counter = 0;
134
+ stage = 0;
135
+ createReplacer() {
136
+ if (this.stage === 1)
137
+ throw new Error("@aws-sdk/core/protocols - JsonReplacer already created.");
138
+ if (this.stage === 2)
139
+ throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");
140
+ return this.stage = 1, (t, e) => {
141
+ if (e instanceof R) {
142
+ const o = `${Z + "nv" + this.counter++}_` + e.string;
143
+ return this.values.set(`"${o}"`, e.string), o;
144
+ }
145
+ if (typeof e == "bigint") {
146
+ const o = e.toString(), i = `${Z + "b" + this.counter++}_` + o;
147
+ return this.values.set(`"${i}"`, o), i;
148
+ }
149
+ return e;
150
+ };
151
+ }
152
+ replaceInJson(t) {
153
+ if (this.stage === 0)
154
+ throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet.");
155
+ if (this.stage === 2)
156
+ throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");
157
+ if (this.stage = 2, this.counter === 0)
158
+ return t;
159
+ for (const [e, o] of this.values)
160
+ t = t.replace(e, o);
161
+ return t;
162
+ }
163
+ }
164
+ class Nt extends M {
165
+ settings;
166
+ buffer;
167
+ useReplacer = !1;
168
+ rootSchema;
169
+ constructor(t) {
170
+ super(), this.settings = t;
171
+ }
172
+ write(t, e) {
173
+ this.rootSchema = O.of(t), this.buffer = this._write(this.rootSchema, e);
174
+ }
175
+ writeDiscriminatedDocument(t, e) {
176
+ this.write(t, e), typeof this.buffer == "object" && (this.buffer.__type = O.of(t).getName(!0));
177
+ }
178
+ flush() {
179
+ const { rootSchema: t, useReplacer: e } = this;
180
+ if (this.rootSchema = void 0, this.useReplacer = !1, t?.isStructSchema() || t?.isDocumentSchema()) {
181
+ if (!e)
182
+ return JSON.stringify(this.buffer);
183
+ const o = new Mt();
184
+ return o.replaceInJson(JSON.stringify(this.buffer, o.createReplacer(), 0));
185
+ }
186
+ return this.buffer;
187
+ }
188
+ _write(t, e, o) {
189
+ const i = e !== null && typeof e == "object", n = O.of(t);
190
+ if (i) {
191
+ if (n.isStructSchema()) {
192
+ const r = e, a = {}, { jsonName: u } = this.settings;
193
+ let d;
194
+ u && (d = {});
195
+ for (const [p, m] of n.structIterator()) {
196
+ const f = this._write(m, r[p], n);
197
+ if (f !== void 0) {
198
+ let w = p;
199
+ u && (w = m.getMergedTraits().jsonName ?? p, d[p] = w), a[w] = f;
200
+ }
201
+ }
202
+ if (n.isUnionSchema() && Object.keys(a).length === 0) {
203
+ const { $unknown: p } = r;
204
+ if (Array.isArray(p)) {
205
+ const [m, f] = p;
206
+ a[m] = this._write(15, f);
207
+ }
208
+ } else if (typeof r.__type == "string")
209
+ for (const [p, m] of Object.entries(r)) {
210
+ const f = u ? d[p] ?? p : p;
211
+ f in a || (a[f] = this._write(15, m));
212
+ }
213
+ return a;
214
+ }
215
+ if (Array.isArray(e) && n.isListSchema()) {
216
+ const r = n.getValueSchema(), a = [], u = !!n.getMergedTraits().sparse;
217
+ for (const d of e)
218
+ (u || d != null) && a.push(this._write(r, d));
219
+ return a;
220
+ }
221
+ if (n.isMapSchema()) {
222
+ const r = n.getValueSchema(), a = {}, u = !!n.getMergedTraits().sparse;
223
+ for (const [d, p] of Object.entries(e))
224
+ (u || p != null) && (a[d] = this._write(r, p));
225
+ return a;
226
+ }
227
+ if (e instanceof Uint8Array && (n.isBlobSchema() || n.isDocumentSchema()))
228
+ return n === this.rootSchema ? e : (this.serdeContext?.base64Encoder ?? $)(e);
229
+ if (e instanceof Date && (n.isTimestampSchema() || n.isDocumentSchema()))
230
+ switch (pe(n, this.settings)) {
231
+ case 5:
232
+ return e.toISOString().replace(".000Z", "Z");
233
+ case 6:
234
+ return Ct(e);
235
+ case 7:
236
+ return e.getTime() / 1e3;
237
+ default:
238
+ return console.warn("Missing timestamp format, using epoch seconds", e), e.getTime() / 1e3;
239
+ }
240
+ e instanceof R && (this.useReplacer = !0);
241
+ }
242
+ if (!(e === null && o?.isStructSchema())) {
243
+ if (n.isStringSchema()) {
244
+ if (typeof e > "u" && n.isIdempotencyToken())
245
+ return De();
246
+ const r = n.getMergedTraits().mediaType;
247
+ return e != null && r && (r === "application/json" || r.endsWith("+json")) ? ue.from(e) : e;
248
+ }
249
+ if (typeof e == "number" && n.isNumericSchema())
250
+ return Math.abs(e) === 1 / 0 || isNaN(e) ? String(e) : e;
251
+ if (typeof e == "string" && n.isBlobSchema())
252
+ return n === this.rootSchema ? e : (this.serdeContext?.base64Encoder ?? $)(e);
253
+ if (typeof e == "bigint" && (this.useReplacer = !0), n.isDocumentSchema())
254
+ if (i) {
255
+ const r = Array.isArray(e) ? [] : {};
256
+ for (const [a, u] of Object.entries(e))
257
+ u instanceof R ? (this.useReplacer = !0, r[a] = u) : r[a] = this._write(n, u);
258
+ return r;
259
+ } else
260
+ return structuredClone(e);
261
+ return e;
262
+ }
263
+ }
264
+ }
265
+ class Ut extends M {
266
+ settings;
267
+ constructor(t) {
268
+ super(), this.settings = t;
269
+ }
270
+ createSerializer() {
271
+ const t = new Nt(this.settings);
272
+ return t.setSerdeContext(this.serdeContext), t;
273
+ }
274
+ createDeserializer() {
275
+ const t = new $t(this.settings);
276
+ return t.setSerdeContext(this.serdeContext), t;
277
+ }
278
+ }
279
+ class zt extends kt {
280
+ serializer;
281
+ deserializer;
282
+ serviceTarget;
283
+ codec;
284
+ mixin;
285
+ awsQueryCompatible;
286
+ constructor({ defaultNamespace: t, serviceTarget: e, awsQueryCompatible: o, jsonCodec: i }) {
287
+ super({
288
+ defaultNamespace: t
289
+ }), this.serviceTarget = e, this.codec = i ?? new Ut({
290
+ timestampFormat: {
291
+ useTrait: !0,
292
+ default: 7
293
+ },
294
+ jsonName: !1
295
+ }), this.serializer = this.codec.createSerializer(), this.deserializer = this.codec.createDeserializer(), this.awsQueryCompatible = !!o, this.mixin = new Oe(this.awsQueryCompatible);
296
+ }
297
+ async serializeRequest(t, e, o) {
298
+ const i = await super.serializeRequest(t, e, o);
299
+ return i.path.endsWith("/") || (i.path += "/"), Object.assign(i.headers, {
300
+ "content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`,
301
+ "x-amz-target": `${this.serviceTarget}.${t.name}`
302
+ }), this.awsQueryCompatible && (i.headers["x-amzn-query-mode"] = "true"), (Te(t.input) === "unit" || !i.body) && (i.body = "{}"), i;
303
+ }
304
+ getPayloadCodec() {
305
+ return this.codec;
306
+ }
307
+ async handleError(t, e, o, i, n) {
308
+ this.awsQueryCompatible && this.mixin.setQueryCompatError(i, o);
309
+ const r = Ft(o, i) ?? "Unknown", { errorSchema: a, errorMetadata: u } = await this.mixin.getErrorSchemaOrThrowBaseException(r, this.options.defaultNamespace, o, i, n, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : void 0), d = O.of(a), p = i.message ?? i.Message ?? "Unknown", m = E.for(a[1]).getErrorCtor(a) ?? Error, f = new m(p), w = {};
310
+ for (const [y, _e] of d.structIterator())
311
+ i[y] != null && (w[y] = this.codec.createDeserializer().readObject(_e, i[y]));
312
+ throw this.awsQueryCompatible && this.mixin.queryCompatOutput(i, w), this.mixin.decorateServiceException(Object.assign(f, u, {
313
+ $fault: d.getMergedTraits().error,
314
+ message: p
315
+ }, w), i);
316
+ }
317
+ }
318
+ class jt extends zt {
319
+ constructor({ defaultNamespace: t, serviceTarget: e, awsQueryCompatible: o, jsonCodec: i }) {
320
+ super({
321
+ defaultNamespace: t,
322
+ serviceTarget: e,
323
+ awsQueryCompatible: o,
324
+ jsonCodec: i
325
+ });
326
+ }
327
+ getShapeId() {
328
+ return "aws.protocols#awsJson1_1";
329
+ }
330
+ getJsonRpcVersion() {
331
+ return "1.1";
332
+ }
333
+ getDefaultContentType() {
334
+ return "application/x-amz-json-1.1";
335
+ }
336
+ }
337
+ const Gt = async (s, t, e) => ({
338
+ operation: $e(t).operation,
339
+ region: await de(s.region)() || (() => {
340
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
341
+ })()
342
+ });
343
+ function Lt(s) {
344
+ return {
345
+ schemeId: "aws.auth#sigv4",
346
+ signingProperties: {
347
+ name: "cognito-identity",
348
+ region: s.region
349
+ },
350
+ propertiesExtractor: (t, e) => ({
351
+ signingProperties: {
352
+ config: t,
353
+ context: e
354
+ }
355
+ })
356
+ };
357
+ }
358
+ function F(s) {
359
+ return {
360
+ schemeId: "smithy.api#noAuth"
361
+ };
362
+ }
363
+ const Ht = (s) => {
364
+ const t = [];
365
+ switch (s.operation) {
366
+ case "GetCredentialsForIdentity": {
367
+ t.push(F());
368
+ break;
369
+ }
370
+ case "GetId": {
371
+ t.push(F());
372
+ break;
373
+ }
374
+ case "GetOpenIdToken": {
375
+ t.push(F());
376
+ break;
377
+ }
378
+ case "UnlinkIdentity": {
379
+ t.push(F());
380
+ break;
381
+ }
382
+ default:
383
+ t.push(Lt(s));
384
+ }
385
+ return t;
386
+ }, Jt = (s) => {
387
+ const t = Fe(s);
388
+ return Object.assign(t, {
389
+ authSchemePreference: de(s.authSchemePreference ?? [])
390
+ });
391
+ }, Bt = (s) => Object.assign(s, {
392
+ useDualstackEndpoint: s.useDualstackEndpoint ?? !1,
393
+ useFipsEndpoint: s.useFipsEndpoint ?? !1,
394
+ defaultSigningName: "cognito-identity"
395
+ }), Se = {
396
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
397
+ Endpoint: { type: "builtInParams", name: "endpoint" },
398
+ Region: { type: "builtInParams", name: "region" },
399
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
400
+ }, Vt = "3.980.0", Wt = {
401
+ version: Vt
402
+ }, ye = (s, t = !1) => {
403
+ if (t) {
404
+ for (const e of s.split("."))
405
+ if (!ye(e))
406
+ return !1;
407
+ return !0;
408
+ }
409
+ return !(!Me(s) || s.length < 3 || s.length > 63 || s !== s.toLowerCase() || Ne(s));
410
+ }, X = ":", qt = "/", Kt = (s) => {
411
+ const t = s.split(X);
412
+ if (t.length < 6)
413
+ return null;
414
+ const [e, o, i, n, r, ...a] = t;
415
+ if (e !== "arn" || o === "" || i === "" || a.join(X) === "")
416
+ return null;
417
+ const u = a.map((d) => d.split(qt)).flat();
418
+ return {
419
+ partition: o,
420
+ service: i,
421
+ region: n,
422
+ accountId: r,
423
+ resourceId: u
424
+ };
425
+ }, Qt = [{ id: "aws", outputs: { dnsSuffix: "amazonaws.com", dualStackDnsSuffix: "api.aws", implicitGlobalRegion: "us-east-1", name: "aws", supportsDualStack: !0, supportsFIPS: !0 }, regionRegex: "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$", regions: { "af-south-1": { description: "Africa (Cape Town)" }, "ap-east-1": { description: "Asia Pacific (Hong Kong)" }, "ap-east-2": { description: "Asia Pacific (Taipei)" }, "ap-northeast-1": { description: "Asia Pacific (Tokyo)" }, "ap-northeast-2": { description: "Asia Pacific (Seoul)" }, "ap-northeast-3": { description: "Asia Pacific (Osaka)" }, "ap-south-1": { description: "Asia Pacific (Mumbai)" }, "ap-south-2": { description: "Asia Pacific (Hyderabad)" }, "ap-southeast-1": { description: "Asia Pacific (Singapore)" }, "ap-southeast-2": { description: "Asia Pacific (Sydney)" }, "ap-southeast-3": { description: "Asia Pacific (Jakarta)" }, "ap-southeast-4": { description: "Asia Pacific (Melbourne)" }, "ap-southeast-5": { description: "Asia Pacific (Malaysia)" }, "ap-southeast-6": { description: "Asia Pacific (New Zealand)" }, "ap-southeast-7": { description: "Asia Pacific (Thailand)" }, "aws-global": { description: "aws global region" }, "ca-central-1": { description: "Canada (Central)" }, "ca-west-1": { description: "Canada West (Calgary)" }, "eu-central-1": { description: "Europe (Frankfurt)" }, "eu-central-2": { description: "Europe (Zurich)" }, "eu-north-1": { description: "Europe (Stockholm)" }, "eu-south-1": { description: "Europe (Milan)" }, "eu-south-2": { description: "Europe (Spain)" }, "eu-west-1": { description: "Europe (Ireland)" }, "eu-west-2": { description: "Europe (London)" }, "eu-west-3": { description: "Europe (Paris)" }, "il-central-1": { description: "Israel (Tel Aviv)" }, "me-central-1": { description: "Middle East (UAE)" }, "me-south-1": { description: "Middle East (Bahrain)" }, "mx-central-1": { description: "Mexico (Central)" }, "sa-east-1": { description: "South America (Sao Paulo)" }, "us-east-1": { description: "US East (N. Virginia)" }, "us-east-2": { description: "US East (Ohio)" }, "us-west-1": { description: "US West (N. California)" }, "us-west-2": { description: "US West (Oregon)" } } }, { id: "aws-cn", outputs: { dnsSuffix: "amazonaws.com.cn", dualStackDnsSuffix: "api.amazonwebservices.com.cn", implicitGlobalRegion: "cn-northwest-1", name: "aws-cn", supportsDualStack: !0, supportsFIPS: !0 }, regionRegex: "^cn\\-\\w+\\-\\d+$", regions: { "aws-cn-global": { description: "aws-cn global region" }, "cn-north-1": { description: "China (Beijing)" }, "cn-northwest-1": { description: "China (Ningxia)" } } }, { id: "aws-eusc", outputs: { dnsSuffix: "amazonaws.eu", dualStackDnsSuffix: "api.amazonwebservices.eu", implicitGlobalRegion: "eusc-de-east-1", name: "aws-eusc", supportsDualStack: !0, supportsFIPS: !0 }, regionRegex: "^eusc\\-(de)\\-\\w+\\-\\d+$", regions: { "eusc-de-east-1": { description: "AWS European Sovereign Cloud (Germany)" } } }, { id: "aws-iso", outputs: { dnsSuffix: "c2s.ic.gov", dualStackDnsSuffix: "api.aws.ic.gov", implicitGlobalRegion: "us-iso-east-1", name: "aws-iso", supportsDualStack: !0, supportsFIPS: !0 }, regionRegex: "^us\\-iso\\-\\w+\\-\\d+$", regions: { "aws-iso-global": { description: "aws-iso global region" }, "us-iso-east-1": { description: "US ISO East" }, "us-iso-west-1": { description: "US ISO WEST" } } }, { id: "aws-iso-b", outputs: { dnsSuffix: "sc2s.sgov.gov", dualStackDnsSuffix: "api.aws.scloud", implicitGlobalRegion: "us-isob-east-1", name: "aws-iso-b", supportsDualStack: !0, supportsFIPS: !0 }, regionRegex: "^us\\-isob\\-\\w+\\-\\d+$", regions: { "aws-iso-b-global": { description: "aws-iso-b global region" }, "us-isob-east-1": { description: "US ISOB East (Ohio)" }, "us-isob-west-1": { description: "US ISOB West" } } }, { id: "aws-iso-e", outputs: { dnsSuffix: "cloud.adc-e.uk", dualStackDnsSuffix: "api.cloud-aws.adc-e.uk", implicitGlobalRegion: "eu-isoe-west-1", name: "aws-iso-e", supportsDualStack: !0, supportsFIPS: !0 }, regionRegex: "^eu\\-isoe\\-\\w+\\-\\d+$", regions: { "aws-iso-e-global": { description: "aws-iso-e global region" }, "eu-isoe-west-1": { description: "EU ISOE West" } } }, { id: "aws-iso-f", outputs: { dnsSuffix: "csp.hci.ic.gov", dualStackDnsSuffix: "api.aws.hci.ic.gov", implicitGlobalRegion: "us-isof-south-1", name: "aws-iso-f", supportsDualStack: !0, supportsFIPS: !0 }, regionRegex: "^us\\-isof\\-\\w+\\-\\d+$", regions: { "aws-iso-f-global": { description: "aws-iso-f global region" }, "us-isof-east-1": { description: "US ISOF EAST" }, "us-isof-south-1": { description: "US ISOF SOUTH" } } }, { id: "aws-us-gov", outputs: { dnsSuffix: "amazonaws.com", dualStackDnsSuffix: "api.aws", implicitGlobalRegion: "us-gov-west-1", name: "aws-us-gov", supportsDualStack: !0, supportsFIPS: !0 }, regionRegex: "^us\\-gov\\-\\w+\\-\\d+$", regions: { "aws-us-gov-global": { description: "aws-us-gov global region" }, "us-gov-east-1": { description: "AWS GovCloud (US-East)" }, "us-gov-west-1": { description: "AWS GovCloud (US-West)" } } }], Zt = {
426
+ partitions: Qt
427
+ };
428
+ let Xt = Zt;
429
+ const Yt = (s) => {
430
+ const { partitions: t } = Xt;
431
+ for (const o of t) {
432
+ const { regions: i, outputs: n } = o;
433
+ for (const [r, a] of Object.entries(i))
434
+ if (r === s)
435
+ return {
436
+ ...n,
437
+ ...a
438
+ };
439
+ }
440
+ for (const o of t) {
441
+ const { regionRegex: i, outputs: n } = o;
442
+ if (new RegExp(i).test(s))
443
+ return {
444
+ ...n
445
+ };
446
+ }
447
+ const e = t.find((o) => o.id === "aws");
448
+ if (!e)
449
+ throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");
450
+ return {
451
+ ...e.outputs
452
+ };
453
+ }, Ee = {
454
+ isVirtualHostableS3Bucket: ye,
455
+ parseArn: Kt,
456
+ partition: Yt
457
+ };
458
+ le.aws = Ee;
459
+ const we = "required", g = "fn", h = "argv", k = "ref", Y = !0, ee = "isSet", T = "booleanEquals", _ = "error", b = "endpoint", A = "tree", N = "PartitionResult", U = "getAttr", v = "stringEquals", te = { [we]: !1, type: "string" }, se = { [we]: !0, default: !1, type: "boolean" }, ie = { [k]: "Endpoint" }, Ie = { [g]: T, [h]: [{ [k]: "UseFIPS" }, !0] }, xe = { [g]: T, [h]: [{ [k]: "UseDualStack" }, !0] }, l = {}, D = { [k]: "Region" }, re = { [g]: U, [h]: [{ [k]: N }, "supportsFIPS"] }, be = { [k]: N }, oe = { [g]: T, [h]: [!0, { [g]: U, [h]: [be, "supportsDualStack"] }] }, ne = [Ie], ae = [xe], ce = [D], es = { parameters: { Region: te, UseDualStack: se, UseFIPS: se, Endpoint: te }, rules: [{ conditions: [{ [g]: ee, [h]: [ie] }], rules: [{ conditions: ne, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: _ }, { conditions: ae, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: _ }, { endpoint: { url: ie, properties: l, headers: l }, type: b }], type: A }, { conditions: [{ [g]: ee, [h]: ce }], rules: [{ conditions: [{ [g]: "aws.partition", [h]: ce, assign: N }], rules: [{ conditions: [Ie, xe], rules: [{ conditions: [{ [g]: T, [h]: [Y, re] }, oe], rules: [{ conditions: [{ [g]: v, [h]: [D, "us-east-1"] }], endpoint: { url: "https://cognito-identity-fips.us-east-1.amazonaws.com", properties: l, headers: l }, type: b }, { conditions: [{ [g]: v, [h]: [D, "us-east-2"] }], endpoint: { url: "https://cognito-identity-fips.us-east-2.amazonaws.com", properties: l, headers: l }, type: b }, { conditions: [{ [g]: v, [h]: [D, "us-west-1"] }], endpoint: { url: "https://cognito-identity-fips.us-west-1.amazonaws.com", properties: l, headers: l }, type: b }, { conditions: [{ [g]: v, [h]: [D, "us-west-2"] }], endpoint: { url: "https://cognito-identity-fips.us-west-2.amazonaws.com", properties: l, headers: l }, type: b }, { endpoint: { url: "https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: b }], type: A }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: _ }], type: A }, { conditions: ne, rules: [{ conditions: [{ [g]: T, [h]: [re, Y] }], rules: [{ endpoint: { url: "https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: b }], type: A }, { error: "FIPS is enabled but this partition does not support FIPS", type: _ }], type: A }, { conditions: ae, rules: [{ conditions: [oe], rules: [{ conditions: [{ [g]: v, [h]: ["aws", { [g]: U, [h]: [be, "name"] }] }], endpoint: { url: "https://cognito-identity.{Region}.amazonaws.com", properties: l, headers: l }, type: b }, { endpoint: { url: "https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: b }], type: A }, { error: "DualStack is enabled but this partition does not support DualStack", type: _ }], type: A }, { endpoint: { url: "https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: b }], type: A }], type: A }, { error: "Invalid Configuration: Missing Region", type: _ }] }, ts = es, ss = new Ue({
460
+ size: 50,
461
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
462
+ }), is = (s, t = {}) => ss.get(s, () => ze(ts, {
463
+ endpointParams: s,
464
+ logger: t.logger
465
+ }));
466
+ le.aws = Ee;
467
+ const rs = (s) => ({
468
+ apiVersion: "2014-06-30",
469
+ base64Decoder: s?.base64Decoder ?? me,
470
+ base64Encoder: s?.base64Encoder ?? $,
471
+ disableHostPrefix: s?.disableHostPrefix ?? !1,
472
+ endpointProvider: s?.endpointProvider ?? is,
473
+ extensions: s?.extensions ?? [],
474
+ httpAuthSchemeProvider: s?.httpAuthSchemeProvider ?? Ht,
475
+ httpAuthSchemes: s?.httpAuthSchemes ?? [
476
+ {
477
+ schemeId: "aws.auth#sigv4",
478
+ identityProvider: (t) => t.getIdentityProvider("aws.auth#sigv4"),
479
+ signer: new Le()
480
+ },
481
+ {
482
+ schemeId: "smithy.api#noAuth",
483
+ identityProvider: (t) => t.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
484
+ signer: new vt()
485
+ }
486
+ ],
487
+ logger: s?.logger ?? new Ge(),
488
+ protocol: s?.protocol ?? jt,
489
+ protocolSettings: s?.protocolSettings ?? {
490
+ defaultNamespace: "com.amazonaws.cognitoidentity",
491
+ xmlNamespace: "http://cognito-identity.amazonaws.com/doc/2014-06-30/",
492
+ version: "2014-06-30",
493
+ serviceTarget: "AWSCognitoIdentityService"
494
+ },
495
+ serviceId: s?.serviceId ?? "Cognito Identity",
496
+ urlParser: s?.urlParser ?? je,
497
+ utf8Decoder: s?.utf8Decoder ?? At,
498
+ utf8Encoder: s?.utf8Encoder ?? he
499
+ }), os = (s) => {
500
+ const t = He(s), e = () => t().then(Xe), o = rs(s);
501
+ return {
502
+ ...o,
503
+ ...s,
504
+ runtime: "browser",
505
+ defaultsMode: t,
506
+ bodyLengthChecker: s?.bodyLengthChecker ?? We,
507
+ credentialDefaultProvider: s?.credentialDefaultProvider ?? ((i) => () => Promise.reject(new Error("Credential is missing"))),
508
+ defaultUserAgentProvider: s?.defaultUserAgentProvider ?? Ze({ serviceId: o.serviceId, clientVersion: Wt.version }),
509
+ maxAttempts: s?.maxAttempts ?? Ve,
510
+ region: s?.region ?? Qe("Region is missing"),
511
+ requestHandler: _t.create(s?.requestHandler ?? e),
512
+ retryMode: s?.retryMode ?? (async () => (await e()).retryMode || Be),
513
+ sha256: s?.sha256 ?? Je,
514
+ streamCollector: s?.streamCollector ?? Rt,
515
+ useDualstackEndpoint: s?.useDualstackEndpoint ?? (() => Promise.resolve(Ke)),
516
+ useFipsEndpoint: s?.useFipsEndpoint ?? (() => Promise.resolve(qe))
517
+ };
518
+ }, ns = (s) => {
519
+ const t = s.httpAuthSchemes;
520
+ let e = s.httpAuthSchemeProvider, o = s.credentials;
521
+ return {
522
+ setHttpAuthScheme(i) {
523
+ const n = t.findIndex((r) => r.schemeId === i.schemeId);
524
+ n === -1 ? t.push(i) : t.splice(n, 1, i);
525
+ },
526
+ httpAuthSchemes() {
527
+ return t;
528
+ },
529
+ setHttpAuthSchemeProvider(i) {
530
+ e = i;
531
+ },
532
+ httpAuthSchemeProvider() {
533
+ return e;
534
+ },
535
+ setCredentials(i) {
536
+ o = i;
537
+ },
538
+ credentials() {
539
+ return o;
540
+ }
541
+ };
542
+ }, as = (s) => ({
543
+ httpAuthSchemes: s.httpAuthSchemes(),
544
+ httpAuthSchemeProvider: s.httpAuthSchemeProvider(),
545
+ credentials: s.credentials()
546
+ }), cs = (s, t) => {
547
+ const e = Object.assign(Ye(s), et(s), tt(s), ns(s));
548
+ return t.forEach((o) => o.configure(e)), Object.assign(s, st(e), it(e), rt(e), as(e));
549
+ };
550
+ class ai extends ot {
551
+ config;
552
+ constructor(...[t]) {
553
+ const e = os(t || {});
554
+ super(e), this.initConfig = e;
555
+ const o = Bt(e), i = nt(o), n = at(i), r = ct(n), a = wt(r), u = ut(a), d = Jt(u), p = cs(d, t?.extensions || []);
556
+ this.config = p, this.middlewareStack.use(pt(this.config)), this.middlewareStack.use(dt(this.config)), this.middlewareStack.use(lt(this.config)), this.middlewareStack.use(ft(this.config)), this.middlewareStack.use(gt(this.config)), this.middlewareStack.use(ht(this.config)), this.middlewareStack.use(mt(this.config)), this.middlewareStack.use(St(this.config, {
557
+ httpAuthSchemeParametersProvider: Gt,
558
+ identityProviderConfigProvider: async (m) => new yt({
559
+ "aws.auth#sigv4": m.credentials
560
+ })
561
+ })), this.middlewareStack.use(Et(this.config));
562
+ }
563
+ destroy() {
564
+ super.destroy();
565
+ }
566
+ }
567
+ class S extends It {
568
+ constructor(t) {
569
+ super(t), Object.setPrototypeOf(this, S.prototype);
570
+ }
571
+ }
572
+ class z extends S {
573
+ name = "InternalErrorException";
574
+ $fault = "server";
575
+ constructor(t) {
576
+ super({
577
+ name: "InternalErrorException",
578
+ $fault: "server",
579
+ ...t
580
+ }), Object.setPrototypeOf(this, z.prototype);
581
+ }
582
+ }
583
+ class j extends S {
584
+ name = "InvalidParameterException";
585
+ $fault = "client";
586
+ constructor(t) {
587
+ super({
588
+ name: "InvalidParameterException",
589
+ $fault: "client",
590
+ ...t
591
+ }), Object.setPrototypeOf(this, j.prototype);
592
+ }
593
+ }
594
+ class G extends S {
595
+ name = "LimitExceededException";
596
+ $fault = "client";
597
+ constructor(t) {
598
+ super({
599
+ name: "LimitExceededException",
600
+ $fault: "client",
601
+ ...t
602
+ }), Object.setPrototypeOf(this, G.prototype);
603
+ }
604
+ }
605
+ class L extends S {
606
+ name = "NotAuthorizedException";
607
+ $fault = "client";
608
+ constructor(t) {
609
+ super({
610
+ name: "NotAuthorizedException",
611
+ $fault: "client",
612
+ ...t
613
+ }), Object.setPrototypeOf(this, L.prototype);
614
+ }
615
+ }
616
+ class H extends S {
617
+ name = "ResourceConflictException";
618
+ $fault = "client";
619
+ constructor(t) {
620
+ super({
621
+ name: "ResourceConflictException",
622
+ $fault: "client",
623
+ ...t
624
+ }), Object.setPrototypeOf(this, H.prototype);
625
+ }
626
+ }
627
+ class J extends S {
628
+ name = "TooManyRequestsException";
629
+ $fault = "client";
630
+ constructor(t) {
631
+ super({
632
+ name: "TooManyRequestsException",
633
+ $fault: "client",
634
+ ...t
635
+ }), Object.setPrototypeOf(this, J.prototype);
636
+ }
637
+ }
638
+ class B extends S {
639
+ name = "ResourceNotFoundException";
640
+ $fault = "client";
641
+ constructor(t) {
642
+ super({
643
+ name: "ResourceNotFoundException",
644
+ $fault: "client",
645
+ ...t
646
+ }), Object.setPrototypeOf(this, B.prototype);
647
+ }
648
+ }
649
+ class V extends S {
650
+ name = "ExternalServiceException";
651
+ $fault = "client";
652
+ constructor(t) {
653
+ super({
654
+ name: "ExternalServiceException",
655
+ $fault: "client",
656
+ ...t
657
+ }), Object.setPrototypeOf(this, V.prototype);
658
+ }
659
+ }
660
+ class W extends S {
661
+ name = "InvalidIdentityPoolConfigurationException";
662
+ $fault = "client";
663
+ constructor(t) {
664
+ super({
665
+ name: "InvalidIdentityPoolConfigurationException",
666
+ $fault: "client",
667
+ ...t
668
+ }), Object.setPrototypeOf(this, W.prototype);
669
+ }
670
+ }
671
+ class q extends S {
672
+ name = "DeveloperUserAlreadyRegisteredException";
673
+ $fault = "client";
674
+ constructor(t) {
675
+ super({
676
+ name: "DeveloperUserAlreadyRegisteredException",
677
+ $fault: "client",
678
+ ...t
679
+ }), Object.setPrototypeOf(this, q.prototype);
680
+ }
681
+ }
682
+ class K extends S {
683
+ name = "ConcurrentModificationException";
684
+ $fault = "client";
685
+ constructor(t) {
686
+ super({
687
+ name: "ConcurrentModificationException",
688
+ $fault: "client",
689
+ ...t
690
+ }), Object.setPrototypeOf(this, K.prototype);
691
+ }
692
+ }
693
+ const us = "AccountId", ps = "AccessKeyId", Pe = "Credentials", ds = "ConcurrentModificationException", ls = "CustomRoleArn", fs = "DeveloperUserAlreadyRegisteredException", gs = "Expiration", hs = "ExternalServiceException", ms = "GetCredentialsForIdentity", Ss = "GetCredentialsForIdentityInput", ys = "GetCredentialsForIdentityResponse", Es = "GetId", ws = "GetIdInput", Is = "GetIdResponse", xs = "InternalErrorException", Q = "IdentityId", bs = "InvalidIdentityPoolConfigurationException", Ps = "InvalidParameterException", Cs = "IdentityPoolId", As = "IdentityProviderToken", Ce = "Logins", Rs = "LimitExceededException", _s = "LoginsMap", ks = "NotAuthorizedException", vs = "ResourceConflictException", Ds = "ResourceNotFoundException", Os = "SecretKey", Ts = "SecretKeyString", Fs = "SessionToken", $s = "TooManyRequestsException", P = "client", I = "error", C = "httpError", x = "message", Ms = "server", Ae = "smithy.ts.sdk.synthetic.com.amazonaws.cognitoidentity", c = "com.amazonaws.cognitoidentity";
694
+ var Ns = [0, c, As, 8, 0], Us = [0, c, Ts, 8, 0], zs = [
695
+ -3,
696
+ c,
697
+ ds,
698
+ { [I]: P, [C]: 400 },
699
+ [x],
700
+ [0]
701
+ ];
702
+ E.for(c).registerError(zs, K);
703
+ var js = [
704
+ 3,
705
+ c,
706
+ Pe,
707
+ 0,
708
+ [ps, Os, Fs, gs],
709
+ [0, [() => Us, 0], 0, 4]
710
+ ], Gs = [
711
+ -3,
712
+ c,
713
+ fs,
714
+ { [I]: P, [C]: 400 },
715
+ [x],
716
+ [0]
717
+ ];
718
+ E.for(c).registerError(Gs, q);
719
+ var Ls = [
720
+ -3,
721
+ c,
722
+ hs,
723
+ { [I]: P, [C]: 400 },
724
+ [x],
725
+ [0]
726
+ ];
727
+ E.for(c).registerError(Ls, V);
728
+ var Hs = [
729
+ 3,
730
+ c,
731
+ Ss,
732
+ 0,
733
+ [Q, Ce, ls],
734
+ [0, [() => Re, 0], 0],
735
+ 1
736
+ ], Js = [
737
+ 3,
738
+ c,
739
+ ys,
740
+ 0,
741
+ [Q, Pe],
742
+ [0, [() => js, 0]]
743
+ ], Bs = [
744
+ 3,
745
+ c,
746
+ ws,
747
+ 0,
748
+ [Cs, us, Ce],
749
+ [0, 0, [() => Re, 0]],
750
+ 1
751
+ ], Vs = [
752
+ 3,
753
+ c,
754
+ Is,
755
+ 0,
756
+ [Q],
757
+ [0]
758
+ ], Ws = [
759
+ -3,
760
+ c,
761
+ xs,
762
+ { [I]: Ms },
763
+ [x],
764
+ [0]
765
+ ];
766
+ E.for(c).registerError(Ws, z);
767
+ var qs = [
768
+ -3,
769
+ c,
770
+ bs,
771
+ { [I]: P, [C]: 400 },
772
+ [x],
773
+ [0]
774
+ ];
775
+ E.for(c).registerError(qs, W);
776
+ var Ks = [
777
+ -3,
778
+ c,
779
+ Ps,
780
+ { [I]: P, [C]: 400 },
781
+ [x],
782
+ [0]
783
+ ];
784
+ E.for(c).registerError(Ks, j);
785
+ var Qs = [
786
+ -3,
787
+ c,
788
+ Rs,
789
+ { [I]: P, [C]: 400 },
790
+ [x],
791
+ [0]
792
+ ];
793
+ E.for(c).registerError(Qs, G);
794
+ var Zs = [
795
+ -3,
796
+ c,
797
+ ks,
798
+ { [I]: P, [C]: 403 },
799
+ [x],
800
+ [0]
801
+ ];
802
+ E.for(c).registerError(Zs, L);
803
+ var Xs = [
804
+ -3,
805
+ c,
806
+ vs,
807
+ { [I]: P, [C]: 409 },
808
+ [x],
809
+ [0]
810
+ ];
811
+ E.for(c).registerError(Xs, H);
812
+ var Ys = [
813
+ -3,
814
+ c,
815
+ Ds,
816
+ { [I]: P, [C]: 404 },
817
+ [x],
818
+ [0]
819
+ ];
820
+ E.for(c).registerError(Ys, B);
821
+ var ei = [
822
+ -3,
823
+ c,
824
+ $s,
825
+ { [I]: P, [C]: 429 },
826
+ [x],
827
+ [0]
828
+ ];
829
+ E.for(c).registerError(ei, J);
830
+ var ti = [-3, Ae, "CognitoIdentityServiceException", 0, [], []];
831
+ E.for(Ae).registerError(ti, S);
832
+ var Re = [
833
+ 2,
834
+ c,
835
+ _s,
836
+ 0,
837
+ [
838
+ 0,
839
+ 0
840
+ ],
841
+ [
842
+ () => Ns,
843
+ 0
844
+ ]
845
+ ], si = [
846
+ 9,
847
+ c,
848
+ ms,
849
+ 0,
850
+ () => Hs,
851
+ () => Js
852
+ ], ii = [
853
+ 9,
854
+ c,
855
+ Es,
856
+ 0,
857
+ () => Bs,
858
+ () => Vs
859
+ ];
860
+ class ci extends fe.classBuilder().ep(Se).m(function(t, e, o, i) {
861
+ return [ge(o, t.getEndpointParameterInstructions())];
862
+ }).s("AWSCognitoIdentityService", "GetCredentialsForIdentity", {}).n("CognitoIdentityClient", "GetCredentialsForIdentityCommand").sc(si).build() {
863
+ }
864
+ class ui extends fe.classBuilder().ep(Se).m(function(t, e, o, i) {
865
+ return [ge(o, t.getEndpointParameterInstructions())];
866
+ }).s("AWSCognitoIdentityService", "GetId", {}).n("CognitoIdentityClient", "GetIdCommand").sc(ii).build() {
867
+ }
868
+ export {
869
+ ai as CognitoIdentityClient,
870
+ ci as GetCredentialsForIdentityCommand,
871
+ ui as GetIdCommand
872
+ };