@wise/dynamic-flow-client-internal 1.3.1 → 1.4.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.
package/build/main.js CHANGED
@@ -57,34 +57,34 @@ var require_main_min = __commonJS({
57
57
  var Ic = Object.getOwnPropertyDescriptor;
58
58
  var Dc = Object.getOwnPropertyDescriptors;
59
59
  var Lc = Object.getOwnPropertyNames;
60
- var Oa = Object.getOwnPropertySymbols;
61
- var Tc = Object.getPrototypeOf;
62
- var Aa = Object.prototype.hasOwnProperty;
63
- var Bc = Object.prototype.propertyIsEnumerable;
64
- var va = (e, t, r) => t in e ? Rt(e, t, { enumerable: true, configurable: true, writable: true, value: r }) : e[t] = r;
60
+ var va = Object.getOwnPropertySymbols;
61
+ var Bc = Object.getPrototypeOf;
62
+ var Pa = Object.prototype.hasOwnProperty;
63
+ var Tc = Object.prototype.propertyIsEnumerable;
64
+ var Aa = (e, t, r) => t in e ? Rt(e, t, { enumerable: true, configurable: true, writable: true, value: r }) : e[t] = r;
65
65
  var i = (e, t) => {
66
66
  for (var r in t ||= {})
67
- Aa.call(t, r) && va(e, r, t[r]);
68
- if (Oa)
69
- for (var r of Oa(t))
70
- Bc.call(t, r) && va(e, r, t[r]);
67
+ Pa.call(t, r) && Aa(e, r, t[r]);
68
+ if (va)
69
+ for (var r of va(t))
70
+ Tc.call(t, r) && Aa(e, r, t[r]);
71
71
  return e;
72
72
  };
73
- var b = (e, t) => Ec(e, Dc(t));
74
- var Pa = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
75
- var tt = (e, t) => {
73
+ var S = (e, t) => Ec(e, Dc(t));
74
+ var ka = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
75
+ var rt = (e, t) => {
76
76
  for (var r in t)
77
77
  Rt(e, r, { get: t[r], enumerable: true });
78
78
  };
79
- var ka = (e, t, r, o) => {
79
+ var Ma = (e, t, r, o) => {
80
80
  if (t && typeof t == "object" || typeof t == "function")
81
81
  for (let a of Lc(t))
82
- !Aa.call(e, a) && a !== r && Rt(e, a, { get: () => t[a], enumerable: !(o = Ic(t, a)) || o.enumerable });
82
+ !Pa.call(e, a) && a !== r && Rt(e, a, { get: () => t[a], enumerable: !(o = Ic(t, a)) || o.enumerable });
83
83
  return e;
84
84
  };
85
- var Ee = (e, t, r) => (r = e != null ? Mc(Tc(e)) : {}, ka(t || !e || !e.__esModule ? Rt(r, "default", { value: e, enumerable: true }) : r, e));
86
- var Nc = (e) => ka(Rt({}, "__esModule", { value: true }), e);
87
- var nt = Pa((fh, Ar) => {
85
+ var Ee = (e, t, r) => (r = e != null ? Mc(Bc(e)) : {}, Ma(t || !e || !e.__esModule ? Rt(r, "default", { value: e, enumerable: true }) : r, e));
86
+ var Nc = (e) => Ma(Rt({}, "__esModule", { value: true }), e);
87
+ var it = ka((fh, kr) => {
88
88
  (function() {
89
89
  "use strict";
90
90
  var e = {}.hasOwnProperty, t = "[native code]";
@@ -112,14 +112,14 @@ var require_main_min = __commonJS({
112
112
  }
113
113
  return o.join(" ");
114
114
  }
115
- typeof Ar < "u" && Ar.exports ? (r.default = r, Ar.exports = r) : typeof define == "function" && typeof define.amd == "object" && define.amd ? define("classnames", [], function() {
115
+ typeof kr < "u" && kr.exports ? (r.default = r, kr.exports = r) : typeof define == "function" && typeof define.amd == "object" && define.amd ? define("classnames", [], function() {
116
116
  return r;
117
117
  }) : window.classNames = r;
118
118
  })();
119
119
  });
120
- var xs = Pa((or, oa) => {
120
+ var vs = ka((or, aa) => {
121
121
  (function(t, r) {
122
- typeof or == "object" && typeof oa == "object" ? oa.exports = r(require("react")) : typeof define == "function" && define.amd ? define(["react"], r) : typeof or == "object" ? or.Webcam = r(require("react")) : t.Webcam = r(t.React);
122
+ typeof or == "object" && typeof aa == "object" ? aa.exports = r(require("react")) : typeof define == "function" && define.amd ? define(["react"], r) : typeof or == "object" ? or.Webcam = r(require("react")) : t.Webcam = r(t.React);
123
123
  })(or, function(e) {
124
124
  return function(t) {
125
125
  var r = {};
@@ -220,8 +220,8 @@ var require_main_min = __commonJS({
220
220
  d.onUserMediaError("getUserMedia not supported");
221
221
  return;
222
222
  }
223
- var f = JSON.stringify(l.audioConstraints) !== JSON.stringify(d.audioConstraints), h = JSON.stringify(l.videoConstraints) !== JSON.stringify(d.videoConstraints), S = l.minScreenshotWidth !== d.minScreenshotWidth, O = l.minScreenshotHeight !== d.minScreenshotHeight;
224
- (h || S || O) && (this.canvas = null, this.ctx = null), (f || h) && (this.stopAndCleanup(), this.requestUserMedia());
223
+ var f = JSON.stringify(l.audioConstraints) !== JSON.stringify(d.audioConstraints), h = JSON.stringify(l.videoConstraints) !== JSON.stringify(d.videoConstraints), b = l.minScreenshotWidth !== d.minScreenshotWidth, O = l.minScreenshotHeight !== d.minScreenshotHeight;
224
+ (h || b || O) && (this.canvas = null, this.ctx = null), (f || h) && (this.stopAndCleanup(), this.requestUserMedia());
225
225
  }, y.prototype.componentWillUnmount = function() {
226
226
  this.unmounted = true, this.stopAndCleanup();
227
227
  }, y.stopMediaStream = function(l) {
@@ -237,19 +237,19 @@ var require_main_min = __commonJS({
237
237
  var d = this, f = d.state, h = d.props;
238
238
  if (!f.hasUserMedia)
239
239
  return null;
240
- var S = this.getCanvas(l);
241
- return S && S.toDataURL(h.screenshotFormat, h.screenshotQuality);
240
+ var b = this.getCanvas(l);
241
+ return b && b.toDataURL(h.screenshotFormat, h.screenshotQuality);
242
242
  }, y.prototype.getCanvas = function(l) {
243
243
  var d = this, f = d.state, h = d.props;
244
244
  if (!this.video || !f.hasUserMedia || !this.video.videoHeight)
245
245
  return null;
246
246
  if (!this.ctx) {
247
- var S = this.video.videoWidth, O = this.video.videoHeight;
247
+ var b = this.video.videoWidth, O = this.video.videoHeight;
248
248
  if (!this.props.forceScreenshotSourceSize) {
249
- var w = S / O;
250
- S = h.minScreenshotWidth || this.video.clientWidth, O = S / w, h.minScreenshotHeight && O < h.minScreenshotHeight && (O = h.minScreenshotHeight, S = O * w);
249
+ var w = b / O;
250
+ b = h.minScreenshotWidth || this.video.clientWidth, O = b / w, h.minScreenshotHeight && O < h.minScreenshotHeight && (O = h.minScreenshotHeight, b = O * w);
251
251
  }
252
- this.canvas = document.createElement("canvas"), this.canvas.width = l?.width || S, this.canvas.height = l?.height || O, this.ctx = this.canvas.getContext("2d");
252
+ this.canvas = document.createElement("canvas"), this.canvas.width = l?.width || b, this.canvas.height = l?.height || O, this.ctx = this.canvas.getContext("2d");
253
253
  }
254
254
  var v = this, P = v.ctx, x = v.canvas;
255
255
  return P && x && (h.mirrored && (P.translate(x.width, 0), P.scale(-1, 1)), P.imageSmoothingEnabled = h.imageSmoothing, P.drawImage(this.video, 0, 0, l?.width || x.width, l?.height || x.height), h.mirrored && (P.scale(-1, 1), P.translate(-x.width, 0))), x;
@@ -269,18 +269,18 @@ var require_main_min = __commonJS({
269
269
  else {
270
270
  var h = function(O) {
271
271
  return { optional: [{ sourceId: O }] };
272
- }, S = function(O) {
272
+ }, b = function(O) {
273
273
  var w = O.deviceId;
274
274
  return typeof w == "string" ? w : Array.isArray(w) && w.length > 0 ? w[0] : typeof w == "object" && w.ideal ? w.ideal : null;
275
275
  };
276
276
  MediaStreamTrack.getSources(function(O) {
277
277
  var w = null, v = null;
278
- O.forEach(function(E) {
279
- E.kind === "audio" ? w = E.id : E.kind === "video" && (v = E.id);
278
+ O.forEach(function(I) {
279
+ I.kind === "audio" ? w = I.id : I.kind === "video" && (v = I.id);
280
280
  });
281
- var P = S(d.audioConstraints);
281
+ var P = b(d.audioConstraints);
282
282
  P && (w = P);
283
- var x = S(d.videoConstraints);
283
+ var x = b(d.videoConstraints);
284
284
  x && (v = x), f(h(w), h(v));
285
285
  });
286
286
  }
@@ -298,8 +298,8 @@ var require_main_min = __commonJS({
298
298
  }
299
299
  f.onUserMedia(d);
300
300
  }, y.prototype.render = function() {
301
- var l = this, d = this, f = d.state, h = d.props, S = h.audio, O = h.forceScreenshotSourceSize, w = h.onUserMedia, v = h.onUserMediaError, P = h.screenshotFormat, x = h.screenshotQuality, E = h.minScreenshotWidth, L = h.minScreenshotHeight, k = h.audioConstraints, T = h.videoConstraints, H = h.imageSmoothing, F = h.mirrored, j = h.style, I = j === void 0 ? {} : j, $ = h.children, He = m(h, ["audio", "forceScreenshotSourceSize", "onUserMedia", "onUserMediaError", "screenshotFormat", "screenshotQuality", "minScreenshotWidth", "minScreenshotHeight", "audioConstraints", "videoConstraints", "imageSmoothing", "mirrored", "style", "children"]), ue = F ? c(c({}, I), { transform: (I.transform || "") + " scaleX(-1)" }) : I, et = { getScreenshot: this.getScreenshot.bind(this) };
302
- return a.createElement(a.Fragment, null, a.createElement("video", c({ autoPlay: true, src: f.src, muted: !S, playsInline: true, ref: function(xe) {
301
+ var l = this, d = this, f = d.state, h = d.props, b = h.audio, O = h.forceScreenshotSourceSize, w = h.onUserMedia, v = h.onUserMediaError, P = h.screenshotFormat, x = h.screenshotQuality, I = h.minScreenshotWidth, L = h.minScreenshotHeight, k = h.audioConstraints, B = h.videoConstraints, H = h.imageSmoothing, F = h.mirrored, U = h.style, D = U === void 0 ? {} : U, $ = h.children, He = m(h, ["audio", "forceScreenshotSourceSize", "onUserMedia", "onUserMediaError", "screenshotFormat", "screenshotQuality", "minScreenshotWidth", "minScreenshotHeight", "audioConstraints", "videoConstraints", "imageSmoothing", "mirrored", "style", "children"]), ue = F ? c(c({}, D), { transform: (D.transform || "") + " scaleX(-1)" }) : D, et = { getScreenshot: this.getScreenshot.bind(this) };
302
+ return a.createElement(a.Fragment, null, a.createElement("video", c({ autoPlay: true, src: f.src, muted: !b, playsInline: true, ref: function(xe) {
303
303
  l.video = xe;
304
304
  }, style: ue }, He)), $ && $(et));
305
305
  }, y.defaultProps = { audio: false, forceScreenshotSourceSize: false, imageSmoothing: true, mirrored: false, onUserMedia: function() {
@@ -313,7 +313,7 @@ var require_main_min = __commonJS({
313
313
  });
314
314
  });
315
315
  var Np = {};
316
- tt(Np, { DynamicFlow: () => ga, JsonSchemaForm: () => er, Layout: () => ie, convertStepToLayout: () => jt, fixtures: () => sc, inlineReferences: () => qe, isValidSchema: () => G, makeHttpClient: () => yr, translations: () => Cc });
316
+ rt(Np, { DynamicFlow: () => ba, JsonSchemaForm: () => er, Layout: () => ie, convertStepToLayout: () => jt, fixtures: () => lc, inlineReferences: () => qe, isValidSchema: () => G, makeHttpClient: () => gr, translations: () => xc });
317
317
  module2.exports = Nc(Np);
318
318
  function jt(e, { displayStepTitle: t = true } = {}) {
319
319
  if (e.layout)
@@ -329,25 +329,25 @@ var require_main_min = __commonJS({
329
329
  return Uc(e);
330
330
  }
331
331
  }
332
- function Jr(e) {
332
+ function Xr(e) {
333
333
  let t = [];
334
- if (e.title && t.push(Xr(e.title)), e.image) {
335
- let r = Ma(e.image);
334
+ if (e.title && t.push(eo(e.title)), e.image) {
335
+ let r = Ea(e.image);
336
336
  t.push(r);
337
337
  }
338
- return e.description && t.push(Qr(e.description)), t;
338
+ return e.description && t.push(to(e.description)), t;
339
339
  }
340
340
  function Rc(e) {
341
- return [...Jr(e), jc(e)];
341
+ return [...Xr(e), jc(e)];
342
342
  }
343
343
  function jc(e) {
344
344
  return { type: "external", requestUrl: e.requestUrl, polling: e.polling, responseHandlers: e.responseHandlers, retryTitle: e.retryTitle };
345
345
  }
346
346
  function Uc(e) {
347
- let t = Jr(e);
347
+ let t = Xr(e);
348
348
  if (e.reviewFields && t.push(_c(e.reviewFields)), e.schemas && t.push(...Kc(e)), e.actions) {
349
- let r = e.actions.map(cr);
350
- t.push(Zr(r, "md"));
349
+ let r = e.actions.map(mr);
350
+ t.push(Qr(r, "md"));
351
351
  }
352
352
  return t;
353
353
  }
@@ -358,25 +358,25 @@ var require_main_min = __commonJS({
358
358
  let r = Gc(e.details.image);
359
359
  t.push(r);
360
360
  }
361
- e.details.title && t.push(Xr(e.details.title)), e.details.description && t.push(Qr(e.details.description));
361
+ e.details.title && t.push(eo(e.details.title)), e.details.description && t.push(to(e.details.description));
362
362
  }
363
363
  if (e.actions) {
364
- let r = e.actions.map((o) => cr(b(i({}, o), { type: o.type || "primary" })));
365
- t.push(Zr(r, "md"));
364
+ let r = e.actions.map((o) => mr(S(i({}, o), { type: o.type || "primary" })));
365
+ t.push(Qr(r, "md"));
366
366
  }
367
367
  return t;
368
368
  }
369
369
  function Vc(e) {
370
- let t = Jr(e);
370
+ let t = Xr(e);
371
371
  return e.options && t.push(qc(e.options)), t;
372
372
  }
373
- function Zr(e, t) {
373
+ function Qr(e, t) {
374
374
  return { type: "box", width: t || "md", components: e };
375
375
  }
376
- function Xr(e) {
376
+ function eo(e) {
377
377
  return { type: "heading", text: e, size: "lg", margin: "lg", align: "center" };
378
378
  }
379
- function Qr(e) {
379
+ function to(e) {
380
380
  return { type: "paragraph", text: e, align: "center" };
381
381
  }
382
382
  function Hc(e) {
@@ -388,14 +388,14 @@ var require_main_min = __commonJS({
388
388
  function $c(e) {
389
389
  return { title: e.title, description: e.description, action: { title: e.title, method: "GET", url: e.url, disabled: e.disabled } };
390
390
  }
391
- function Ma(e) {
391
+ function Ea(e) {
392
392
  return { type: "image", url: e.url, text: e.text, margin: e.margin || "lg", size: e.size || "md" };
393
393
  }
394
394
  function Gc(e) {
395
- return typeof e == "string" ? { type: "image", url: e, text: void 0, margin: "lg", size: "md" } : Ma(e);
395
+ return typeof e == "string" ? { type: "image", url: e, text: void 0, margin: "lg", size: "md" } : Ea(e);
396
396
  }
397
- function cr(e) {
398
- return { type: "button", action: b(i({}, e), { title: e.title }) };
397
+ function mr(e) {
398
+ return { type: "button", action: S(i({}, e), { title: e.title }) };
399
399
  }
400
400
  function _c(e) {
401
401
  return { type: "review", title: e.title, fields: e.fields.map(Wc) };
@@ -407,7 +407,7 @@ var require_main_min = __commonJS({
407
407
  let t = [];
408
408
  if (e.schemas && e.schemas[0]) {
409
409
  let r = e.schemas[0], o = Hc(r);
410
- Yc() ? t.push(o) : t.push(Zr([o], "md"));
410
+ Yc() ? t.push(o) : t.push(Qr([o], "md"));
411
411
  }
412
412
  return t;
413
413
  }
@@ -415,99 +415,105 @@ var require_main_min = __commonJS({
415
415
  return false;
416
416
  }
417
417
  function Jc(e, t) {
418
- return [...t && e.title ? [Xr(e.title)] : [], ...e.description ? [Qr(e.description)] : [], ...e.layout || []];
418
+ return [...t && e.title ? [eo(e.title)] : [], ...e.description ? [to(e.description)] : [], ...e.layout || []];
419
419
  }
420
420
  function qe({ layout: e, schemas: t, actions: r, model: o }) {
421
421
  return e ? t ? e.map((a) => a.type === "form" ? Zc({ formComponent: a, schemas: t }) : a.type === "decision" ? Xc({ decisionComponent: a, actions: r }) : a.type === "button" ? Qc({ actionComponent: a, actions: r }) : a.type === "box" ? em({ boxComponent: a, schemas: t, actions: r, model: o }) : a.type === "columns" ? tm({ columnsComponent: a, schemas: t, actions: r, model: o }) : a) : e : [];
422
422
  }
423
423
  function Zc({ formComponent: e, schemas: t }) {
424
- return eo(e.schema) && e.schema.$ref ? b(i({}, e), { schema: rm(t, e.schema.$ref) }) : i({}, e);
424
+ if (e.schemaId)
425
+ return { type: "form", margin: e.margin, schema: Ia(t, e.schemaId) };
426
+ if (e.schema && dr(e.schema) && e.schema.$ref)
427
+ return { type: "form", margin: e.margin, schema: Ia(t, e.schema.$ref) };
428
+ if (e.schema && !dr(e.schema))
429
+ return i({}, e);
430
+ throw new Error('Invalid form layout component. Missing "schema" or "schemaId" properties.');
425
431
  }
426
432
  function Xc({ decisionComponent: e, actions: t }) {
427
433
  var o;
428
- let r = (o = e == null ? void 0 : e.options) == null ? void 0 : o.map((a) => a.action && eo(a.action) ? b(i({}, a), { action: Ea(t, a.action.$ref) }) : a);
429
- return b(i({}, e), { options: r });
434
+ let r = (o = e == null ? void 0 : e.options) == null ? void 0 : o.map((a) => a.action && dr(a.action) ? S(i({}, a), { action: Da(t, a.action.$ref) }) : a);
435
+ return S(i({}, e), { options: r });
430
436
  }
431
437
  function Qc({ actionComponent: e, actions: t }) {
432
438
  var r;
433
- if (e.action && eo(e.action) && ((r = e.action) != null && r.$ref)) {
434
- let o = Ea(t, e.action.$ref);
435
- return cr(o);
439
+ if (e.action && dr(e.action) && ((r = e.action) != null && r.$ref)) {
440
+ let o = Da(t, e.action.$ref);
441
+ return mr(o);
436
442
  }
437
443
  return e;
438
444
  }
439
445
  function em({ boxComponent: e, schemas: t, actions: r, model: o }) {
440
- return b(i({}, e), { components: qe({ layout: e.components, schemas: t, actions: r, model: o }) });
446
+ return S(i({}, e), { components: qe({ layout: e.components, schemas: t, actions: r, model: o }) });
441
447
  }
442
448
  function tm({ columnsComponent: e, schemas: t, actions: r, model: o }) {
443
- return b(i({}, e), { left: qe({ layout: e.left, schemas: t, actions: r, model: o }), right: qe({ layout: e.right, schemas: t, actions: r, model: o }) });
449
+ return S(i({}, e), { left: qe({ layout: e.left, schemas: t, actions: r, model: o }), right: qe({ layout: e.right, schemas: t, actions: r, model: o }) });
444
450
  }
445
- function rm(e, t) {
451
+ function Ia(e, t) {
446
452
  let r = e.find((o) => o.$id === t);
447
453
  if (!r)
448
454
  throw new Error(`Fatal Error. Schema not found. $id ${t}`);
449
455
  return r;
450
456
  }
451
- function Ea(e, t) {
457
+ function Da(e, t) {
452
458
  let r = e.find((o) => o.$id === t);
453
459
  if (!r)
454
460
  throw new Error(`Fatal Error. Action not found. $id ${t}`);
455
461
  return r;
456
462
  }
457
- function eo(e) {
463
+ function dr(e) {
458
464
  return Object.prototype.hasOwnProperty.call(e, "$ref");
459
465
  }
460
466
  var Ce = require("react");
461
- var Sl = require("react-intl");
462
- var pt = require("react");
463
- var mr = require("react");
464
- function Ia() {
465
- let [e, t] = (0, mr.useState)(0);
466
- return { addPendingPromise: (0, mr.useCallback)((o) => {
467
- t((a) => a + 1), o.catch(am).finally(() => om(() => t((a) => Math.max(0, a - 1))));
467
+ var wl = require("react-intl");
468
+ var ft = require("react");
469
+ var ur = require("react");
470
+ function La() {
471
+ let [e, t] = (0, ur.useState)(0);
472
+ return { addPendingPromise: (0, ur.useCallback)((o) => {
473
+ t((a) => a + 1), o.catch(om).finally(() => rm(() => t((a) => Math.max(0, a - 1))));
468
474
  }, [t]), pendingPromises: e };
469
475
  }
470
- var om = (e) => setTimeout(() => e(), 0);
471
- var am = () => {
476
+ var rm = (e) => setTimeout(() => e(), 0);
477
+ var om = () => {
472
478
  };
473
- var Ba = require("react/jsx-runtime");
474
- var Da = { loading: false, registerPersistAsyncPromise: (e) => {
479
+ var Ra = require("react/jsx-runtime");
480
+ var Ba = { loading: false, registerPersistAsyncPromise: (e) => {
475
481
  } };
476
- var La = (0, pt.createContext)(Da);
477
- var Ta = ({ loading: e, children: t }) => {
478
- let { pendingPromises: r, addPendingPromise: o } = Ia(), a = (0, pt.useMemo)(() => ({ loading: e || r > 0, registerPersistAsyncPromise: o }), [e, r, o]);
479
- return (0, Ba.jsx)(La.Provider, { value: a, children: t });
482
+ var Ta = (0, ft.createContext)(Ba);
483
+ var Na = ({ loading: e, children: t }) => {
484
+ let { pendingPromises: r, addPendingPromise: o } = La(), a = (0, ft.useMemo)(() => ({ loading: e || r > 0, registerPersistAsyncPromise: o }), [e, r, o]);
485
+ return (0, Ra.jsx)(Ta.Provider, { value: a, children: t });
480
486
  };
481
- var dr = () => (0, pt.useContext)(La) || Da;
482
- var ft = require("react");
483
- var Ra = require("react/jsx-runtime");
484
- var Na = (0, ft.createContext)({ triggerEvent: () => {
487
+ var pr = () => (0, ft.useContext)(Ta) || Ba;
488
+ var yt = require("react");
489
+ var Ua = require("react/jsx-runtime");
490
+ var ja = (0, yt.createContext)({ triggerEvent: () => {
485
491
  } });
486
- var ur = ({ metadata: e, children: t, onEvent: r }) => {
487
- let o = (0, ft.useMemo)(() => ({ triggerEvent: to(r, e) }), [r, e]);
488
- return (0, Ra.jsx)(Na.Provider, { value: o, children: t });
492
+ var fr = ({ metadata: e, children: t, onEvent: r }) => {
493
+ let o = (0, yt.useMemo)(() => ({ triggerEvent: ro(r, e) }), [r, e]);
494
+ return (0, Ua.jsx)(ja.Provider, { value: o, children: t });
489
495
  };
490
496
  function Q() {
491
- let { triggerEvent: e } = (0, ft.useContext)(Na);
497
+ let { triggerEvent: e } = (0, yt.useContext)(ja);
492
498
  return e;
493
499
  }
494
- var to = (e, t) => (r, o = {}) => e(r, i(i({}, t), o));
495
- var rt = require("react");
496
- function ja(e) {
500
+ var ro = (e, t) => (r, o = {}) => e(r, i(i({}, t), o));
501
+ var ot = require("react");
502
+ function za(e) {
497
503
  return e >= 200 && e < 300;
498
504
  }
499
- function pr(e) {
505
+ function yr(e) {
500
506
  return e === 422;
501
507
  }
502
- function fr(e = "") {
508
+ function hr(e = "") {
503
509
  return ["https://", "http://", "data:"].some((t) => e.slice(0, t.length) === t && e.length > t.length) === false;
504
510
  }
505
- var yr = (e, t) => (r, o) => {
506
- let a = nm(r, e || ""), n = im(o == null ? void 0 : o.headers, t);
507
- return fetch(a, b(i({}, o || {}), { headers: n }));
511
+ var gr = (e, t) => (r, o) => {
512
+ let a = am(r, e || ""), n = nm(o == null ? void 0 : o.headers, t);
513
+ return fetch(a, S(i({}, o || {}), { headers: n }));
508
514
  };
509
- var nm = (e, t) => typeof e == "string" && fr(e) ? t + e : e;
510
- var im = (e, t) => {
515
+ var am = (e, t) => typeof e == "string" && hr(e) ? t + e : e;
516
+ var nm = (e, t) => {
511
517
  if (!e && !t)
512
518
  return {};
513
519
  let r = new Headers(e);
@@ -515,39 +521,39 @@ var require_main_min = __commonJS({
515
521
  r.set(o, a);
516
522
  return r;
517
523
  };
518
- var ro = require("react/jsx-runtime");
519
- var hr = (0, rt.createContext)(void 0);
520
- var Ua = ({ httpClient: e, children: t }) => (0, ro.jsx)(hr.Provider, { value: e, children: t });
521
- var gr = ({ baseUrl: e, children: t }) => {
522
- let r = (0, rt.useMemo)(() => yr(e), [e]);
523
- return (0, ro.jsx)(hr.Provider, { value: r, children: t });
524
- };
525
- var re = () => (0, rt.useContext)(hr) || fetch;
526
- var br = () => !!(0, rt.useContext)(hr);
527
- var yt = require("react");
528
- var Va = require("react/jsx-runtime");
529
- var ot = (e, t, r = "UNKNOWN-FLOW-ID", o = "UNKNOWN-FLOW-ID") => (a, n, s) => t(e, `Dynamic Flow ${e} - ${a} - ${n}`, i({ flowId: r, stepId: o }, s));
530
- var za = (0, yt.createContext)(null);
531
- var Sr = ({ flowId: e, stepId: t, children: r, onLog: o }) => {
532
- let a = (0, yt.useMemo)(() => ({ debug: ot("debug", o, e, t), info: ot("info", o, e, t), warning: ot("warning", o, e, t), error: ot("error", o, e, t), critical: ot("critical", o, e, t) }), [o, e, t]);
533
- return (0, Va.jsx)(za.Provider, { value: a, children: r });
534
- };
535
- var ht = () => {
536
- let e = (0, yt.useContext)(za);
524
+ var oo = require("react/jsx-runtime");
525
+ var br = (0, ot.createContext)(void 0);
526
+ var Va = ({ httpClient: e, children: t }) => (0, oo.jsx)(br.Provider, { value: e, children: t });
527
+ var Sr = ({ baseUrl: e, children: t }) => {
528
+ let r = (0, ot.useMemo)(() => gr(e), [e]);
529
+ return (0, oo.jsx)(br.Provider, { value: r, children: t });
530
+ };
531
+ var re = () => (0, ot.useContext)(br) || fetch;
532
+ var wr = () => !!(0, ot.useContext)(br);
533
+ var ht = require("react");
534
+ var qa = require("react/jsx-runtime");
535
+ var at = (e, t, r = "UNKNOWN-FLOW-ID", o = "UNKNOWN-FLOW-ID") => (a, n, s) => t(e, `Dynamic Flow ${e} - ${a} - ${n}`, i({ flowId: r, stepId: o }, s));
536
+ var Ha = (0, ht.createContext)(null);
537
+ var Fr = ({ flowId: e, stepId: t, children: r, onLog: o }) => {
538
+ let a = (0, ht.useMemo)(() => ({ debug: at("debug", o, e, t), info: at("info", o, e, t), warning: at("warning", o, e, t), error: at("error", o, e, t), critical: at("critical", o, e, t) }), [o, e, t]);
539
+ return (0, qa.jsx)(Ha.Provider, { value: a, children: r });
540
+ };
541
+ var gt = () => {
542
+ let e = (0, ht.useContext)(Ha);
537
543
  if (e == null)
538
544
  throw new Error("Logging context not found. Did you forget to wrap your component in a <LogProvider />?");
539
545
  return e;
540
546
  };
541
- var Z = (e) => typeof e == "object" && e !== null && e.constructor === Object;
542
- var oo = (e) => A(e) || Z(e);
543
- var ao = (e) => Oe(e) || B(e) || M(e) || A(e);
544
- var Ha = (e) => M(e) || A(e);
545
- var no = (e) => q(e) ? e.length === 0 ? true : e.every((t) => typeof t == "string" || typeof t == "number" || typeof t == "boolean") : false;
546
- var qa = (e) => A(e) ? true : no(e);
547
- var gt = (e) => M(e) || A(e);
548
- var sm = /* @__PURE__ */ new Set(["string", "number", "integer", "boolean"]);
547
+ var J = (e) => typeof e == "object" && e !== null && e.constructor === Object;
548
+ var ao = (e) => A(e) || J(e);
549
+ var no = (e) => Oe(e) || T(e) || E(e) || A(e);
550
+ var $a = (e) => E(e) || A(e);
551
+ var io = (e) => q(e) ? e.length === 0 ? true : e.every((t) => typeof t == "string" || typeof t == "number" || typeof t == "boolean") : false;
552
+ var Ga = (e) => A(e) ? true : io(e);
553
+ var bt = (e) => E(e) || A(e);
554
+ var im = /* @__PURE__ */ new Set(["string", "number", "integer", "boolean"]);
549
555
  function pe(e) {
550
- return sm.has(e.type || "") || "const" in e && e.const !== void 0;
556
+ return im.has(e.type || "") || "const" in e && e.const !== void 0;
551
557
  }
552
558
  function ce(e) {
553
559
  return e.type === "object";
@@ -561,7 +567,7 @@ var require_main_min = __commonJS({
561
567
  function zt(e) {
562
568
  return !!e.allOf;
563
569
  }
564
- function at(e) {
570
+ function nt(e) {
565
571
  return e.type === "blob";
566
572
  }
567
573
  function fe(e) {
@@ -571,53 +577,53 @@ var require_main_min = __commonJS({
571
577
  let t = e.items;
572
578
  return !Array.isArray(t);
573
579
  }
574
- function $a(e) {
580
+ function _a(e) {
575
581
  return e.type === "string";
576
582
  }
577
- function bt(e) {
583
+ function St(e) {
578
584
  return !!e.persistAsync;
579
585
  }
580
- function lm(e) {
581
- return bt(e) && (at(e.persistAsync.schema) || cm(e.persistAsync.schema));
586
+ function sm(e) {
587
+ return St(e) && (nt(e.persistAsync.schema) || lm(e.persistAsync.schema));
582
588
  }
583
589
  var Vt = (e) => pe(e) && !!e.validationAsync;
584
- function cm(e) {
590
+ function lm(e) {
585
591
  return e.type === "string" && e.format === "base64url";
586
592
  }
587
- var Ga = (e) => fe(e) && Ie(e) && lm(e.items);
588
- function io(e) {
593
+ var Wa = (e) => fe(e) && Ie(e) && sm(e.items);
594
+ function so(e) {
589
595
  return e.type === "string" && e.format === "base64url";
590
596
  }
591
- var M = (e) => typeof e == "string";
592
- var B = (e) => typeof e == "number" && !Number.isNaN(e);
593
- var _a = (e) => B(e) && Math.floor(e) === e;
597
+ var E = (e) => typeof e == "string";
598
+ var T = (e) => typeof e == "number" && !Number.isNaN(e);
599
+ var Ka = (e) => T(e) && Math.floor(e) === e;
594
600
  var Oe = (e) => typeof e == "boolean";
595
601
  var N = (e) => !A(e) && !K(e) && (e == null ? void 0 : e.constructor) === Object;
596
602
  var q = (e) => Array.isArray(e);
597
603
  var A = (e) => e === null;
598
604
  var K = (e) => typeof e == "undefined";
599
- var St = (e) => M(e) && e.length === 0 || (N(e) || q(e)) && Object.keys(e).length === 0;
600
- function Wa(e, t) {
605
+ var wt = (e) => E(e) && e.length === 0 || (N(e) || q(e)) && Object.keys(e).length === 0;
606
+ function Ya(e, t) {
601
607
  return t.oneOf.some((r) => De(e, r) === e) ? e : null;
602
608
  }
603
- function Ka(e, t) {
609
+ function Ja(e, t) {
604
610
  var o;
605
- let r = t.oneOf.map((a) => mm(e, a)).filter((a) => a !== null);
611
+ let r = t.oneOf.map((a) => cm(e, a)).filter((a) => a !== null);
606
612
  return r.length === 0 ? null : (o = r.find((a) => a.some((n) => n !== null))) != null ? o : r[0];
607
613
  }
608
- function mm(e, t) {
609
- return !fe(t) || !Ie(t) ? null : so(e, t);
614
+ function cm(e, t) {
615
+ return !fe(t) || !Ie(t) ? null : lo(e, t);
610
616
  }
611
- function Ya(e) {
612
- return M(e) && !St(e) ? e : null;
617
+ function Za(e) {
618
+ return E(e) && !wt(e) ? e : null;
613
619
  }
614
- function Ja(e) {
615
- return B(e) ? e : null;
620
+ function Xa(e) {
621
+ return T(e) ? e : null;
616
622
  }
617
- function Za(e) {
623
+ function Qa(e) {
618
624
  return Oe(e) ? e : null;
619
625
  }
620
- function so(e, t) {
626
+ function lo(e, t) {
621
627
  if (!q(e) || !Ie(t))
622
628
  return null;
623
629
  if (e.length > 0) {
@@ -627,220 +633,220 @@ var require_main_min = __commonJS({
627
633
  }
628
634
  return e.map((r) => De(r, t.items));
629
635
  }
630
- function Xa(e, t) {
636
+ function en(e, t) {
631
637
  return Object.keys(t.properties).reduce((r, o) => {
632
638
  if (e && !K(e[o])) {
633
639
  let a = e[o], n = t.properties[o], s = Ht(a, n);
634
640
  if (!A(s))
635
- return b(i({}, r), { [o]: s });
641
+ return S(i({}, r), { [o]: s });
636
642
  }
637
643
  return r;
638
644
  }, {});
639
645
  }
640
- function Qa(e, t) {
646
+ function tn(e, t) {
641
647
  return t.allOf.reduce((r, o) => {
642
648
  let a = ae(e, o);
643
- return Z(a) ? i(i({}, r), a) : r;
649
+ return J(a) ? i(i({}, r), a) : r;
644
650
  }, {});
645
651
  }
646
- function en(e, t) {
647
- return t.oneOf.map((r) => ae(e, r)).reduce((r, o) => A(r) ? o : Z(r) && Z(o) ? tn(r, o) : A(o) ? r : o, null);
652
+ function rn(e, t) {
653
+ return t.oneOf.map((r) => ae(e, r)).reduce((r, o) => A(r) ? o : J(r) && J(o) ? on(r, o) : A(o) ? r : o, null);
648
654
  }
649
- function tn(e, t) {
655
+ function on(e, t) {
650
656
  return Object.keys(t).reduce((r, o) => {
651
657
  let a = e[o], n = t[o];
652
- return Z(a) && Z(n) ? b(i({}, r), { [o]: tn(a, n) }) : b(i({}, r), { [o]: t[o] });
658
+ return J(a) && J(n) ? S(i({}, r), { [o]: on(a, n) }) : S(i({}, r), { [o]: t[o] });
653
659
  }, i({}, e));
654
660
  }
655
- var Ht = (e, t) => Z(e) ? ae(e, t) : no(e) ? dm(e, t) : De(e, t);
661
+ var Ht = (e, t) => J(e) ? ae(e, t) : io(e) ? mm(e, t) : De(e, t);
656
662
  function De(e, t) {
657
663
  if (A(e))
658
664
  return null;
659
665
  if (t.oneOf)
660
- return Wa(e, t);
666
+ return Ya(e, t);
661
667
  if (!K(t.const) && e === t.const)
662
668
  return e;
663
669
  if (t.type)
664
670
  switch (t.type) {
665
671
  case "string":
666
- return Ya(e);
672
+ return Za(e);
667
673
  case "number":
668
674
  case "integer":
669
- return Ja(e);
675
+ return Xa(e);
670
676
  case "boolean":
671
- return Za(e);
677
+ return Qa(e);
672
678
  default:
673
679
  return null;
674
680
  }
675
681
  return null;
676
682
  }
677
683
  function ae(e, t) {
678
- return pe(t) || fe(t) || A(e) ? null : t.allOf ? Qa(e, t) : t.oneOf ? en(e, t) : !K(t.const) && e === t.const ? e : ce(t) ? Xa(e, t) : null;
684
+ return pe(t) || fe(t) || A(e) ? null : t.allOf ? tn(e, t) : t.oneOf ? rn(e, t) : !K(t.const) && e === t.const ? e : ce(t) ? en(e, t) : null;
679
685
  }
680
- function dm(e, t) {
681
- return oe(t) ? Ka(e, t) : fe(t) ? so(e, t) : null;
686
+ function mm(e, t) {
687
+ return oe(t) ? Ja(e, t) : fe(t) ? lo(e, t) : null;
682
688
  }
683
689
  function qt(e, t = false) {
684
690
  return !t || !K(e);
685
691
  }
686
- function rn(e, t = false) {
692
+ function an(e, t = false) {
687
693
  return !t || q(e);
688
694
  }
689
- function on(e, t) {
690
- return !B(t) || M(e) && e.length >= t;
695
+ function nn(e, t) {
696
+ return !T(t) || E(e) && e.length >= t;
691
697
  }
692
- function an(e, t) {
693
- return !B(t) || M(e) && e.length <= t;
698
+ function sn(e, t) {
699
+ return !T(t) || E(e) && e.length <= t;
694
700
  }
695
- function nn(e, t) {
701
+ function ln(e, t) {
696
702
  return t === void 0 ? true : e == null ? false : !!new RegExp(t).test(e);
697
703
  }
698
- function lo(e, t) {
699
- return !B(t) && !M(t) || (B(e) || M(e)) && e <= t;
700
- }
701
704
  function co(e, t) {
702
- return !B(t) && !M(t) || (B(e) || M(e)) && e >= t;
705
+ return !T(t) && !E(t) || (T(e) || E(e)) && e <= t;
703
706
  }
704
- function sn(e, t) {
705
- return !B(t) || q(e) && e.length >= t;
707
+ function mo(e, t) {
708
+ return !T(t) && !E(t) || (T(e) || E(e)) && e >= t;
706
709
  }
707
- function ln(e, t) {
708
- return !B(t) || q(e) && e.length <= t;
710
+ function cn(e, t) {
711
+ return !T(t) || q(e) && e.length >= t;
712
+ }
713
+ function mn(e, t) {
714
+ return !T(t) || q(e) && e.length <= t;
709
715
  }
710
716
  function $e(e, t, r) {
711
717
  if (t.const)
712
- return fo(e, t, r);
718
+ return yo(e, t, r);
713
719
  if (A(e))
714
720
  return r ? ["required"] : [];
715
- if ($a(t))
716
- return mo(e, t, r);
721
+ if (_a(t))
722
+ return uo(e, t, r);
717
723
  switch (t.type) {
718
724
  case "number":
719
- return wr(e, t, r);
725
+ return Cr(e, t, r);
720
726
  case "integer":
721
- return uo(e, t, r);
722
- case "boolean":
723
727
  return po(e, t, r);
728
+ case "boolean":
729
+ return fo(e, t, r);
724
730
  case "array":
725
- return wt(e, t, r);
731
+ return Ft(e, t, r);
726
732
  case "object":
727
- return um(e, t);
733
+ return dm(e, t);
728
734
  default:
729
735
  return [];
730
736
  }
731
737
  }
732
- function mo(e, t, r) {
733
- if (!M(e) && !A(e))
738
+ function uo(e, t, r) {
739
+ if (!E(e) && !A(e))
734
740
  return ["type"];
735
741
  if (e === "" && r)
736
742
  return ["required"];
737
743
  let o = [];
738
- return qt(e, r) || o.push("required"), on(e, t.minLength) || o.push("minLength"), an(e, t.maxLength) || o.push("maxLength"), nn(e, t.pattern) || o.push("pattern"), co(e, t.minimum) || o.push("minimum"), lo(e, t.maximum) || o.push("maximum"), o;
744
+ return qt(e, r) || o.push("required"), nn(e, t.minLength) || o.push("minLength"), sn(e, t.maxLength) || o.push("maxLength"), ln(e, t.pattern) || o.push("pattern"), mo(e, t.minimum) || o.push("minimum"), co(e, t.maximum) || o.push("maximum"), o;
739
745
  }
740
- function wr(e, t, r) {
741
- if (!B(e) && !A(e))
746
+ function Cr(e, t, r) {
747
+ if (!T(e) && !A(e))
742
748
  return ["type"];
743
749
  let o = [];
744
- return qt(e, r) || o.push("required"), co(e, t.minimum) || o.push("minimum"), lo(e, t.maximum) || o.push("maximum"), o;
745
- }
746
- function uo(e, t, r) {
747
- return _a(e) ? wr(e, t, r) : ["type"];
750
+ return qt(e, r) || o.push("required"), mo(e, t.minimum) || o.push("minimum"), co(e, t.maximum) || o.push("maximum"), o;
748
751
  }
749
752
  function po(e, t, r) {
753
+ return Ka(e) ? Cr(e, t, r) : ["type"];
754
+ }
755
+ function fo(e, t, r) {
750
756
  if (!Oe(e) && !A(e))
751
757
  return ["type"];
752
758
  let o = [];
753
759
  return qt(e, r) || o.push("required"), o;
754
760
  }
755
- function fo(e, t, r) {
761
+ function yo(e, t, r) {
756
762
  return qt(e, r) ? e !== t.const ? ["const"] : [] : ["required"];
757
763
  }
758
- function wt(e, t, r) {
764
+ function Ft(e, t, r) {
759
765
  if (!q(e) && !A(e))
760
766
  return ["type"];
761
- if (!rn(e, r))
767
+ if (!an(e, r))
762
768
  return ["required"];
763
769
  let o = [];
764
- return sn(e, t.minItems) || o.push("minItems"), ln(e, t.maxItems) || o.push("maxItems"), o;
770
+ return cn(e, t.minItems) || o.push("minItems"), mn(e, t.maxItems) || o.push("maxItems"), o;
765
771
  }
766
- function cn(e, t) {
772
+ function dn(e, t) {
767
773
  return A(e) ? ["type"] : [];
768
774
  }
775
+ function dm(e, t) {
776
+ return J(e) ? q(t.required) ? t.required.map((o) => typeof e[o] != "undefined").reduce((o, a) => o && a, true) ? [] : ["required"] : [] : ["type"];
777
+ }
769
778
  function um(e, t) {
770
- return Z(e) ? q(t.required) ? t.required.map((o) => typeof e[o] != "undefined").reduce((o, a) => o && a, true) ? [] : ["required"] : [] : ["type"];
779
+ return !uo(e, t).length;
771
780
  }
772
781
  function pm(e, t) {
773
- return !mo(e, t).length;
782
+ return !Cr(e, t).length;
774
783
  }
775
784
  function fm(e, t) {
776
- return !wr(e, t).length;
785
+ return !po(e, t).length;
777
786
  }
778
787
  function ym(e, t) {
779
- return !uo(e, t).length;
788
+ return !fo(e, t).length;
780
789
  }
781
790
  function hm(e, t) {
782
- return !po(e, t).length;
791
+ return !yo(e, t).length;
783
792
  }
784
793
  function gm(e, t) {
785
- return !fo(e, t).length;
786
- }
787
- function bm(e, t) {
788
- return !N(e) || t.type !== "object" || !N(t.properties) ? false : Object.keys(t.properties).map((r) => Sm(e[r], t.properties[r], t.required && t.required.includes(r))).every((r) => r);
794
+ return !N(e) || t.type !== "object" || !N(t.properties) ? false : Object.keys(t.properties).map((r) => bm(e[r], t.properties[r], t.required && t.required.includes(r))).every((r) => r);
789
795
  }
790
- function Sm(e, t, r) {
796
+ function bm(e, t, r) {
791
797
  return typeof e == "undefined" ? !r : G(e, t);
792
798
  }
793
- function wm(e, t) {
794
- return t.type !== "array" || !N(t.items) || wt(e, t).length > 0 ? false : Array.isArray(e) && Ie(t) && e.map((r) => G(r, t.items)).every((r) => r);
799
+ function Sm(e, t) {
800
+ return t.type !== "array" || !N(t.items) || Ft(e, t).length > 0 ? false : Array.isArray(e) && Ie(t) && e.map((r) => G(r, t.items)).every((r) => r);
795
801
  }
796
- function Fm(e, t) {
802
+ function wm(e, t) {
797
803
  return q(t.oneOf) ? t.oneOf.some((r) => G(e, r)) : false;
798
804
  }
799
- function Cm(e, t) {
805
+ function Fm(e, t) {
800
806
  return q(t.allOf) ? t.allOf.map((r) => G(e, r)).every((r) => r) : false;
801
807
  }
802
- function xm(e, t) {
803
- return !cn(e, t).length;
808
+ function Cm(e, t) {
809
+ return !dn(e, t).length;
804
810
  }
805
811
  function G(e, t) {
806
812
  if (t.oneOf)
807
- return Fm(e, t);
813
+ return wm(e, t);
808
814
  if (t.allOf)
809
- return Cm(e, t);
815
+ return Fm(e, t);
810
816
  if (t.const)
811
- return gm(e, t);
817
+ return hm(e, t);
812
818
  switch (t.type) {
813
819
  case "string":
814
- return pm(e, t);
820
+ return um(e, t);
815
821
  case "number":
816
- return fm(e, t);
822
+ return pm(e, t);
817
823
  case "integer":
818
- return ym(e, t);
824
+ return fm(e, t);
819
825
  case "boolean":
820
- return hm(e, t);
826
+ return ym(e, t);
821
827
  case "array":
822
- return wm(e, t);
828
+ return Sm(e, t);
823
829
  case "object":
824
- return bm(e, t);
830
+ return gm(e, t);
825
831
  case "blob":
826
- return xm(e, t);
832
+ return Cm(e, t);
827
833
  default:
828
834
  return false;
829
835
  }
830
836
  }
831
- var wn = require("react");
832
- function Om(e) {
837
+ var Cn = require("react");
838
+ function xm(e) {
833
839
  let t = new Date(e), r = `${t.getMonth() + 1}`, o = `${t.getDate()}`, a = t.getFullYear(), n = r.length < 2 ? `0${r}` : r, s = o.length < 2 ? `0${o}` : o;
834
840
  return [a, n, s].join("-");
835
841
  }
836
- var mn = (e) => {
842
+ var un = (e) => {
837
843
  if (!e)
838
844
  return null;
839
845
  let [t, r, o] = e.split("-").map((a) => parseInt(a, 10));
840
- return !B(t) || !B(r) || !B(o) ? null : new Date(t, r - 1, o);
846
+ return !T(t) || !T(r) || !T(o) ? null : new Date(t, r - 1, o);
841
847
  };
842
- var dn = (e) => Om(e);
843
- var Ft = (e, t) => {
848
+ var pn = (e) => xm(e);
849
+ var Ct = (e, t) => {
844
850
  let r, o, a = () => {
845
851
  r && (clearTimeout(r), r = null), o = null;
846
852
  }, n = (...s) => {
@@ -854,21 +860,21 @@ var require_main_min = __commonJS({
854
860
  r !== null && (e(...o), a());
855
861
  }, n;
856
862
  };
857
- var Ge = (e, t) => e === t ? true : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((r, o) => Ge(r, t[o])) : !!(un(e) && un(t) && vm(e, t));
858
- var vm = (e, t) => {
863
+ var Ge = (e, t) => e === t ? true : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((r, o) => Ge(r, t[o])) : !!(fn(e) && fn(t) && Om(e, t));
864
+ var Om = (e, t) => {
859
865
  let r = Object.keys(e), o = Object.keys(t);
860
866
  return r.length === o.length && r.every((a) => Object.prototype.hasOwnProperty.call(t, a) && Ge(e[a], t[a]));
861
867
  };
862
- var un = (e) => typeof e == "object" && e !== null;
863
- function Fr(e) {
868
+ var fn = (e) => typeof e == "object" && e !== null;
869
+ function xr(e) {
864
870
  return Math.floor(e / 1024);
865
871
  }
866
- var pn = (e) => new Promise((t, r) => {
872
+ var yn = (e) => new Promise((t, r) => {
867
873
  let o = new FileReader();
868
874
  o.readAsDataURL(e), o.addEventListener("load", () => t(o.result)), o.addEventListener("error", (a) => r(a));
869
875
  });
870
- function fn(e, t) {
871
- let r = t.reduce((o, a) => b(i({}, o), { [a.id]: a }), {});
876
+ function hn(e, t) {
877
+ let r = t.reduce((o, a) => S(i({}, o), { [a.id]: a }), {});
872
878
  for (let o of e) {
873
879
  let a = r[o.id];
874
880
  if (!a || a.status !== o.status)
@@ -877,50 +883,50 @@ var require_main_min = __commonJS({
877
883
  return true;
878
884
  }
879
885
  var ve = (e = "") => `${e ? `${e}-` : ""}${Math.floor(1e8 * Math.random())}`;
880
- var yn = { DAY_MONTH_YEAR: "day-month-year", MONTH_YEAR: "month-year" };
886
+ var gn = { DAY_MONTH_YEAR: "day-month-year", MONTH_YEAR: "month-year" };
881
887
  var R = { RADIO: "radio", CHECKBOX: "checkbox", SELECT: "select", FILE: "file", DATE: "date", DATETIME: "date-time", DATELOOKUP: "date-lookup", TEL: "tel", NUMBER: "number", HIDDEN: "hidden", PASSWORD: "password", TEXT: "text", TEXTAREA: "textarea", UPLOAD: "upload", TAB: "tab" };
882
- var hn = { SHORT: "short", LONG: "long" };
888
+ var bn = { SHORT: "short", LONG: "long" };
883
889
  var ye = { READ_ONLY: "readOnly", PERSIST_ASYNC: "persistAsync", VALIDATION_ASYNC: "validationAsync", OBJECT: "object", PROMOTED_ONE_OF: "promotedOneOf", ONE_OF: "oneOf", ALL_OF: "allOf", BASIC: "basic", ARRAY: "array" };
884
- var gn = { EXTRA_SMALL: "xs", SMALL: "sm", MEDIUM: "md", LARGE: "lg", EXTRA_LARGE: "xl" };
885
- var Am = (e) => !!e.readOnly && pe(e);
886
- var Pm = (e) => !!e.oneOf && !!e.promotion;
887
- var km = oe;
888
- var Mm = zt;
889
- var Cr = (e) => Am(e) ? ye.READ_ONLY : bt(e) ? ye.PERSIST_ASYNC : Vt(e) ? ye.VALIDATION_ASYNC : ce(e) ? ye.OBJECT : fe(e) ? ye.ARRAY : Pm(e) ? ye.PROMOTED_ONE_OF : km(e) ? ye.ONE_OF : Mm(e) ? ye.ALL_OF : pe(e) ? ye.BASIC : null;
890
- function bn(e) {
891
- return Cr(e) === ye.BASIC && e.type !== "boolean" && e.format !== "base64url";
892
- }
893
- var Sn = (e) => Em(e) && Im(e) && Dm(e);
894
- var Em = (e) => !e.type || e.type === "form";
895
- var Im = (e) => {
890
+ var Sn = { EXTRA_SMALL: "xs", SMALL: "sm", MEDIUM: "md", LARGE: "lg", EXTRA_LARGE: "xl" };
891
+ var vm = (e) => !!e.readOnly && pe(e);
892
+ var Am = (e) => !!e.oneOf && !!e.promotion;
893
+ var Pm = oe;
894
+ var km = zt;
895
+ var Or = (e) => vm(e) ? ye.READ_ONLY : St(e) ? ye.PERSIST_ASYNC : Vt(e) ? ye.VALIDATION_ASYNC : ce(e) ? ye.OBJECT : fe(e) ? ye.ARRAY : Am(e) ? ye.PROMOTED_ONE_OF : Pm(e) ? ye.ONE_OF : km(e) ? ye.ALL_OF : pe(e) ? ye.BASIC : null;
896
+ function wn(e) {
897
+ return Or(e) === ye.BASIC && e.type !== "boolean" && e.format !== "base64url";
898
+ }
899
+ var Fn = (e) => Mm(e) && Em(e) && Im(e);
900
+ var Mm = (e) => !e.type || e.type === "form";
901
+ var Em = (e) => {
896
902
  var t;
897
903
  return ((t = e == null ? void 0 : e.actions) == null ? void 0 : t.length) === 1;
898
904
  };
899
- var Dm = (e) => {
905
+ var Im = (e) => {
900
906
  if (!e.schemas)
901
907
  return false;
902
- let t = xr(e.schemas);
908
+ let t = vr(e.schemas);
903
909
  if ((t == null ? void 0 : t.length) !== 1)
904
910
  return false;
905
911
  let r = t[0];
906
912
  if (!ce(r) || Object.values(r.properties).length !== 1)
907
913
  return false;
908
914
  let o = Object.values(r.properties)[0];
909
- return io(o) ? o.source === "camera" : false;
915
+ return so(o) ? o.source === "camera" : false;
910
916
  };
911
- var xr = (e) => e.filter((t) => ce(t) ? Object.values((t == null ? void 0 : t.properties) || {}).find((r) => (r == null ? void 0 : r.hidden) !== true) : (t == null ? void 0 : t.hidden) !== true);
912
- function Fn(e, t) {
913
- return (0, wn.useCallback)(Ft(e, t), [e, t]);
917
+ var vr = (e) => e.filter((t) => ce(t) ? Object.values((t == null ? void 0 : t.properties) || {}).find((r) => (r == null ? void 0 : r.hidden) !== true) : (t == null ? void 0 : t.hidden) !== true);
918
+ function xn(e, t) {
919
+ return (0, Cn.useCallback)(Ct(e, t), [e, t]);
914
920
  }
915
921
  var $t = require("react");
916
- function Cn(e) {
922
+ function On(e) {
917
923
  let [t, r] = (0, $t.useState)(null), [o, a] = (0, $t.useState)(false), n = () => a(true);
918
924
  return (0, $t.useEffect)(() => {
919
925
  e && (a(false), r(window.open(e, "_blank")));
920
926
  }, [e]), { requiresManualTrigger: !!(e && !t && !o), dismissConfirmation: n };
921
927
  }
922
928
  var Gt = require("react");
923
- function xn(e, t) {
929
+ function vn(e, t) {
924
930
  let r = re(), o = (0, Gt.useMemo)(() => {
925
931
  if (e)
926
932
  return () => r(e.url).then((n) => {
@@ -939,30 +945,30 @@ var require_main_min = __commonJS({
939
945
  let { action: m } = c;
940
946
  if (m.exit) {
941
947
  let p = i(i({}, m.result || {}), n.data || {});
942
- t(b(i({}, m), { result: p }));
948
+ t(S(i({}, m), { result: p }));
943
949
  } else {
944
950
  let p = i(i({}, m.data || {}), n.data || {});
945
- t(b(i({}, m), { data: p }));
951
+ t(S(i({}, m), { data: p }));
946
952
  }
947
953
  return false;
948
954
  }
949
955
  return true;
950
956
  }, [e == null ? void 0 : e.responseHandlers, t]);
951
- Or({ asyncFn: o, interval: (e == null ? void 0 : e.interval) || 0, maxAttempts: (e == null ? void 0 : e.maxAttempts) || 0, maxConsecutiveFails: (e == null ? void 0 : e.maxConsecutiveFails) || 0, onPollingResponse: a, onFailure: (0, Gt.useCallback)(() => {
957
+ Ar({ asyncFn: o, interval: (e == null ? void 0 : e.interval) || 0, maxAttempts: (e == null ? void 0 : e.maxAttempts) || 0, maxConsecutiveFails: (e == null ? void 0 : e.maxConsecutiveFails) || 0, onPollingResponse: a, onFailure: (0, Gt.useCallback)(() => {
952
958
  e && t(e.onError.action);
953
959
  }, [t, e]) });
954
960
  }
955
- var Ss = require("react");
956
- var ws = require("react-intl");
957
- var On = require("react-intl");
958
- var _t = (0, On.defineMessages)({ genericError: { id: "dynamicFlows.PersistAsyncSchema.genericError", defaultMessage: "Something went wrong, please try again later!", description: "Generic error message for persist async schema" } });
959
- var ut = require("react");
960
- var fs = require("react-intl");
961
- var Lm = { allOf: [{ title: "Number schemas", type: "object", displayOrder: ["number"], properties: { number: { type: "number", title: "Number input", minimum: 2, maximum: 200, default: 1, help: { markdown: "2 or more" }, validationMessages: { min: "Too low buddy!", max: "Crazy high!" } } }, required: ["number"] }, { title: "String schemas", type: "object", displayOrder: ["string", "date", "phone", "file"], properties: { string: { type: "string", title: "Text input", minLength: 2, maxLength: 8, pattern: "^[a-z]+$", default: "abc", help: { markdown: "Keep it secret, Keep it safe" } }, date: { type: "string", format: "date", title: "Date input", minimum: "2000-02-01", maximum: "2010-01-01", validationMessages: { min: "Must be after Feb 2000", max: "Must be before Jan 2010" } }, phone: { type: "string", format: "phone", title: "Phone input", minLength: 10, maxLength: 12 }, file: { type: "string", format: "base64url", title: "File input" } }, required: ["string"] }, { title: "Boolean schemas", type: "object", displayOrder: ["boolean"], properties: { boolean: { type: "boolean", title: "Boolean input", width: "md" } } }, { title: "OneOf Const schema", type: "object", displayOrder: ["select", "radio"], properties: { select: { title: "Select", placeholder: "Please choose", oneOf: [{ title: "One", const: "one" }, { title: "Two", const: "two" }, { title: "Three", const: "three" }] }, radio: { title: "Radio", placeholder: "Please choose", oneOf: [{ title: "One", const: "one" }, { title: "Two", const: "two" }] } }, required: ["select", "radio"] }] };
962
- var vr = Lm;
963
- var us = Ee(nt());
961
+ var Fs = require("react");
962
+ var Cs = require("react-intl");
963
+ var An = require("react-intl");
964
+ var _t = (0, An.defineMessages)({ genericError: { id: "dynamicFlows.PersistAsyncSchema.genericError", defaultMessage: "Something went wrong, please try again later!", description: "Generic error message for persist async schema" } });
965
+ var pt = require("react");
966
+ var hs = require("react-intl");
967
+ var Dm = { allOf: [{ title: "Number schemas", type: "object", displayOrder: ["number"], properties: { number: { type: "number", title: "Number input", minimum: 2, maximum: 200, default: 1, help: { markdown: "2 or more" }, validationMessages: { min: "Too low buddy!", max: "Crazy high!" } } }, required: ["number"] }, { title: "String schemas", type: "object", displayOrder: ["string", "date", "phone", "file"], properties: { string: { type: "string", title: "Text input", minLength: 2, maxLength: 8, pattern: "^[a-z]+$", default: "abc", help: { markdown: "Keep it secret, Keep it safe" } }, date: { type: "string", format: "date", title: "Date input", minimum: "2000-02-01", maximum: "2010-01-01", validationMessages: { min: "Must be after Feb 2000", max: "Must be before Jan 2010" } }, phone: { type: "string", format: "phone", title: "Phone input", minLength: 10, maxLength: 12 }, file: { type: "string", format: "base64url", title: "File input" } }, required: ["string"] }, { title: "Boolean schemas", type: "object", displayOrder: ["boolean"], properties: { boolean: { type: "boolean", title: "Boolean input", width: "md" } } }, { title: "OneOf Const schema", type: "object", displayOrder: ["select", "radio"], properties: { select: { title: "Select", placeholder: "Please choose", oneOf: [{ title: "One", const: "one" }, { title: "Two", const: "two" }, { title: "Three", const: "three" }] }, radio: { title: "Radio", placeholder: "Please choose", oneOf: [{ title: "One", const: "one" }, { title: "Two", const: "two" }] } }, required: ["select", "radio"] }] };
968
+ var Pr = Dm;
969
+ var fs = Ee(it());
964
970
  var se = require("react");
965
- var vn = require("@transferwise/components");
971
+ var Pn = require("@transferwise/components");
966
972
  var z = (e) => {
967
973
  switch (e) {
968
974
  case "xs":
@@ -979,7 +985,7 @@ var require_main_min = __commonJS({
979
985
  return "";
980
986
  }
981
987
  };
982
- var Tm = (e) => {
988
+ var Lm = (e) => {
983
989
  switch (e) {
984
990
  case "right":
985
991
  return "text-xs-right";
@@ -990,13 +996,13 @@ var require_main_min = __commonJS({
990
996
  return "";
991
997
  }
992
998
  };
993
- var Le = (e) => `${Tm(e.align)} ${z(e.margin)}`;
994
- var An = require("react/jsx-runtime");
999
+ var Le = (e) => `${Lm(e.align)} ${z(e.margin)}`;
1000
+ var kn = require("react/jsx-runtime");
995
1001
  var Bm = (e) => {
996
1002
  let t = e.component;
997
- return (0, An.jsx)(vn.Alert, { type: Rm(Nm(t.context)), className: z(t.margin), message: t.markdown });
1003
+ return (0, kn.jsx)(Pn.Alert, { type: Nm(Tm(t.context)), className: z(t.margin), message: t.markdown });
998
1004
  };
999
- var Nm = (e) => {
1005
+ var Tm = (e) => {
1000
1006
  switch (e) {
1001
1007
  case "success":
1002
1008
  return "positive";
@@ -1011,15 +1017,15 @@ var require_main_min = __commonJS({
1011
1017
  return e;
1012
1018
  }
1013
1019
  };
1014
- var Rm = (e) => !e || !["neutral", "warning", "negative", "positive"].includes(e) ? "neutral" : e;
1020
+ var Nm = (e) => !e || !["neutral", "warning", "negative", "positive"].includes(e) ? "neutral" : e;
1015
1021
  var ne = Bm;
1016
- var it = require("react/jsx-runtime");
1017
- var jm = (e) => {
1022
+ var st = require("react/jsx-runtime");
1023
+ var Rm = (e) => {
1018
1024
  let t = e.component, r = z(t.margin || t.border ? "lg" : "xs");
1019
- return !t.width || t.width === "xl" ? (0, it.jsx)("div", { className: r + Pn(t.border), children: (0, it.jsx)(ie, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) : (0, it.jsx)("div", { className: "row", children: (0, it.jsx)("div", { className: r + Um(t), children: (0, it.jsx)("div", { className: Pn(t.border), children: (0, it.jsx)(ie, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) }) });
1025
+ return !t.width || t.width === "xl" ? (0, st.jsx)("div", { className: r + Mn(t.border), children: (0, st.jsx)(ie, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) : (0, st.jsx)("div", { className: "row", children: (0, st.jsx)("div", { className: r + jm(t), children: (0, st.jsx)("div", { className: Mn(t.border), children: (0, st.jsx)(ie, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) }) });
1020
1026
  };
1021
- var Pn = (e) => e ? " well p-b-0" : "";
1022
- var Um = (e) => {
1027
+ var Mn = (e) => e ? " well p-b-0" : "";
1028
+ var jm = (e) => {
1023
1029
  switch (e.width) {
1024
1030
  case "xs":
1025
1031
  return " col-md-4 col-md-offset-4";
@@ -1034,21 +1040,21 @@ var require_main_min = __commonJS({
1034
1040
  return " col-xs-12";
1035
1041
  }
1036
1042
  };
1037
- var yo = jm;
1038
- var In = require("@transferwise/components");
1039
- var zm = { primary: "primary", secondary: "secondary", link: "tertiary", positive: "primary", negative: "primary" };
1040
- var kn = (e) => {
1043
+ var ho = Rm;
1044
+ var Ln = require("@transferwise/components");
1045
+ var Um = { primary: "primary", secondary: "secondary", link: "tertiary", positive: "primary", negative: "primary" };
1046
+ var En = (e) => {
1041
1047
  var r;
1042
1048
  let t = e.action.type;
1043
- return (r = e.control) != null ? r : t ? zm[t] : "secondary";
1049
+ return (r = e.control) != null ? r : t ? Um[t] : "secondary";
1044
1050
  };
1045
- var Vm = { primary: "neutral", secondary: "neutral", link: "neutral", positive: "positive", negative: "negative" };
1046
- var Mn = (e) => {
1051
+ var zm = { primary: "neutral", secondary: "neutral", link: "neutral", positive: "positive", negative: "negative" };
1052
+ var In = (e) => {
1047
1053
  var o;
1048
- let t = e.action.type, r = (o = e.context) != null ? o : t ? Vm[t] : "neutral";
1054
+ let t = e.action.type, r = (o = e.context) != null ? o : t ? zm[t] : "neutral";
1049
1055
  return r === "neutral" ? "accent" : r;
1050
1056
  };
1051
- var En = (e) => {
1057
+ var Dn = (e) => {
1052
1058
  switch (e) {
1053
1059
  case "xs":
1054
1060
  case "sm":
@@ -1061,23 +1067,23 @@ var require_main_min = __commonJS({
1061
1067
  return "md";
1062
1068
  }
1063
1069
  };
1064
- var Dn = require("react/jsx-runtime");
1065
- var Hm = (e) => {
1070
+ var Bn = require("react/jsx-runtime");
1071
+ var Vm = (e) => {
1066
1072
  var m;
1067
- let { component: t, onAction: r } = e, o = t.action, a = Mn(t), n = kn(t), { loading: s } = dr(), c = z(t.margin || "md");
1068
- return (0, Dn.jsx)(In.Button, { size: En(t.size), type: a, priority: n, block: true, className: c, disabled: t.disabled || o.disabled || s, onClick: () => r(o), children: (m = t.title) != null ? m : o.title });
1073
+ let { component: t, onAction: r } = e, o = t.action, a = In(t), n = En(t), { loading: s } = pr(), c = z(t.margin || "md");
1074
+ return (0, Bn.jsx)(Ln.Button, { size: Dn(t.size), type: a, priority: n, block: true, className: c, disabled: t.disabled || o.disabled || s, onClick: () => r(o), children: (m = t.title) != null ? m : o.title });
1069
1075
  };
1070
- var ho = Hm;
1071
- var st = require("react/jsx-runtime");
1072
- var qm = (e) => {
1073
- let t = e.component, { leftWidth: r, rightWidth: o } = $m(t.bias);
1074
- return (0, st.jsxs)("div", { className: `${z(t.margin || "xs")} row`, children: [(0, st.jsx)("div", { className: `${r} m-b-0`, children: (0, st.jsx)(ie, { components: t.left, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }), (0, st.jsx)("div", { className: `${o} m-b-0`, children: (0, st.jsx)(ie, { components: t.right, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) })] });
1076
+ var go = Vm;
1077
+ var lt = require("react/jsx-runtime");
1078
+ var Hm = (e) => {
1079
+ let t = e.component, { leftWidth: r, rightWidth: o } = qm(t.bias);
1080
+ return (0, lt.jsxs)("div", { className: `${z(t.margin || "xs")} row`, children: [(0, lt.jsx)("div", { className: `${r} m-b-0`, children: (0, lt.jsx)(ie, { components: t.left, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }), (0, lt.jsx)("div", { className: `${o} m-b-0`, children: (0, lt.jsx)(ie, { components: t.right, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) })] });
1075
1081
  };
1076
- var $m = (e) => e === "left" ? { leftWidth: "col-md-8", rightWidth: "col-md-4" } : e === "right" ? { leftWidth: "col-md-4", rightWidth: "col-md-8" } : { leftWidth: "col-md-6", rightWidth: "col-md-6" };
1077
- var go = qm;
1082
+ var qm = (e) => e === "left" ? { leftWidth: "col-md-8", rightWidth: "col-md-4" } : e === "right" ? { leftWidth: "col-md-4", rightWidth: "col-md-8" } : { leftWidth: "col-md-6", rightWidth: "col-md-6" };
1083
+ var bo = Hm;
1078
1084
  var Ae = require("@transferwise/components");
1079
1085
  var _e = require("react/jsx-runtime");
1080
- var Gm = (e) => {
1086
+ var $m = (e) => {
1081
1087
  var t, r, o;
1082
1088
  if ((t = e.icon) != null && t.name)
1083
1089
  return (0, _e.jsx)(Ae.Avatar, { type: Ae.AvatarType.ICON, children: (0, _e.jsx)(We, { type: e.icon.name }) });
@@ -1088,266 +1094,266 @@ var require_main_min = __commonJS({
1088
1094
  return (0, _e.jsx)("img", { src: a, alt: n });
1089
1095
  }
1090
1096
  };
1091
- var _m = (e) => {
1097
+ var Gm = (e) => {
1092
1098
  let t = e.component, r = (o, a) => {
1093
- let n = Gm(o);
1099
+ let n = $m(o);
1094
1100
  return (0, _e.jsx)(Ae.NavigationOption, { title: o.title, content: o.description, disabled: o.disabled, media: n, showMediaCircle: false, showMediaAtAllSizes: true, onClick: () => a(o.action) }, JSON.stringify(o));
1095
1101
  };
1096
1102
  return (0, _e.jsx)("div", { className: z(t.margin), children: (0, _e.jsx)(Ae.NavigationOptionsList, { children: t.options.map((o) => r(o, e.onAction)) }) });
1097
1103
  };
1098
- var bo = _m;
1099
- var Ln = require("react/jsx-runtime");
1100
- var Wm = ({ component: e }) => {
1104
+ var So = Gm;
1105
+ var Tn = require("react/jsx-runtime");
1106
+ var _m = ({ component: e }) => {
1101
1107
  let r = `m-t-0 ${z(e.margin)}`;
1102
- return (0, Ln.jsx)("hr", { className: r });
1108
+ return (0, Tn.jsx)("hr", { className: r });
1103
1109
  };
1104
- var So = Wm;
1105
- var Ct = require("@transferwise/components");
1106
- var Pr = require("react");
1110
+ var wo = _m;
1111
+ var xt = require("@transferwise/components");
1112
+ var Mr = require("react");
1113
+ var jn = require("react-intl");
1107
1114
  var Nn = require("react-intl");
1108
- var Tn = require("react-intl");
1109
- var Bn = (0, Tn.defineMessages)({ retryTitle: { id: "dynamicFlows.DynamicExternal.retryTitle", defaultMessage: "Reopen window", description: "" } });
1115
+ var Rn = (0, Nn.defineMessages)({ retryTitle: { id: "dynamicFlows.DynamicExternal.retryTitle", defaultMessage: "Reopen window", description: "" } });
1110
1116
  var Ke = require("react/jsx-runtime");
1111
- var Km = ({ component: e, onAction: t }) => {
1112
- let { requestUrl: r, responseHandlers: o, polling: a, retryTitle: n } = e, s = (0, Nn.useIntl)(), c = (0, Pr.useCallback)(() => window.open(r, "df-external-window"), [r]);
1113
- (0, Pr.useEffect)(() => {
1117
+ var Wm = ({ component: e, onAction: t }) => {
1118
+ let { requestUrl: r, responseHandlers: o, polling: a, retryTitle: n } = e, s = (0, jn.useIntl)(), c = (0, Mr.useCallback)(() => window.open(r, "df-external-window"), [r]);
1119
+ (0, Mr.useEffect)(() => {
1114
1120
  c();
1115
1121
  }, [c]);
1116
- let m = a && o ? b(i({}, a), { responseHandlers: o }) : void 0;
1117
- return xn(m, t), (0, Ke.jsxs)(Ke.Fragment, { children: [(0, Ke.jsx)(Ct.Loader, { size: Ct.Size.LARGE, classNames: { "tw-loader": "tw-loader m-x-auto" } }), (0, Ke.jsx)("br", {}), (0, Ke.jsx)(Ct.Button, { priority: "tertiary", block: true, onClick: c, children: n || s.formatMessage(Bn.retryTitle) })] });
1122
+ let m = a && o ? S(i({}, a), { responseHandlers: o }) : void 0;
1123
+ return vn(m, t), (0, Ke.jsxs)(Ke.Fragment, { children: [(0, Ke.jsx)(xt.Loader, { size: xt.Size.LARGE, classNames: { "tw-loader": "tw-loader m-x-auto" } }), (0, Ke.jsx)("br", {}), (0, Ke.jsx)(xt.Button, { priority: "tertiary", block: true, onClick: c, children: n || s.formatMessage(Rn.retryTitle) })] });
1118
1124
  };
1119
- var wo = Km;
1120
- var Xi = require("react");
1121
- var Rn = Ee(nt());
1122
- var jn = require("react");
1125
+ var Fo = Wm;
1126
+ var es = require("react");
1127
+ var Un = Ee(it());
1128
+ var zn = require("react");
1123
1129
  var Pe = require("react/jsx-runtime");
1124
- var Ym = (e, t) => t.map((r) => ae(e, r) || {});
1125
- var Jm = (e) => e.reduce((t, r) => i(i({}, r), t), {});
1126
- var Zm = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
1127
- var Un = (e) => {
1130
+ var Km = (e, t) => t.map((r) => ae(e, r) || {});
1131
+ var Ym = (e) => e.reduce((t, r) => i(i({}, r), t), {});
1132
+ var Jm = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
1133
+ var Vn = (e) => {
1128
1134
  let t = (a, n) => {
1129
1135
  let s = e.schema.allOf[a];
1130
- r[a] = ae(n.model, s) || {}, o(r), e.onChange(b(i({}, n), { model: Jm(r) }));
1131
- }, [r, o] = (0, jn.useState)(Ym(e.model, e.schema.allOf));
1132
- return (0, Pe.jsxs)(Pe.Fragment, { children: [e.schema.title && (0, Pe.jsx)("h3", { className: "page-header", children: e.schema.title }), e.schema.description && (0, Pe.jsx)("p", { children: e.schema.description }), (0, Pe.jsx)("div", { className: "row", children: e.schema.allOf.map((a, n) => (0, Pe.jsx)("div", { className: (0, Rn.default)(Zm(a.width)), children: (0, Pe.jsx)(me, { schema: a, model: r[n], errors: e.errors, submitted: e.submitted, disabled: e.disabled, onChange: (s) => t(n, b(i({}, s), { model: s.model })), onPersistAsync: e.onPersistAsync }) }, n)) })] });
1133
- };
1134
- Un.defaultProps = { disabled: false };
1135
- var Fo = Un;
1136
- var Mr = require("@transferwise/components");
1137
- var Qn = Ee(nt());
1136
+ r[a] = ae(n.model, s) || {}, o(r), e.onChange(S(i({}, n), { model: Ym(r) }));
1137
+ }, [r, o] = (0, zn.useState)(Km(e.model, e.schema.allOf));
1138
+ return (0, Pe.jsxs)(Pe.Fragment, { children: [e.schema.title && (0, Pe.jsx)("h3", { className: "page-header", children: e.schema.title }), e.schema.description && (0, Pe.jsx)("p", { children: e.schema.description }), (0, Pe.jsx)("div", { className: "row", children: e.schema.allOf.map((a, n) => (0, Pe.jsx)("div", { className: (0, Un.default)(Jm(a.width)), children: (0, Pe.jsx)(me, { schema: a, model: r[n], errors: e.errors, submitted: e.submitted, disabled: e.disabled, onChange: (s) => t(n, S(i({}, s), { model: s.model })), onPersistAsync: e.onPersistAsync }) }, n)) })] });
1139
+ };
1140
+ Vn.defaultProps = { disabled: false };
1141
+ var Co = Vn;
1142
+ var Ir = require("@transferwise/components");
1143
+ var ti = Ee(it());
1138
1144
  var Wt = require("react");
1139
- var kr = require("@transferwise/components");
1140
- var Co = require("@transferwise/formatting");
1141
- var Vn = require("react-intl");
1142
- var zn = require("react-intl");
1143
- var he = (0, zn.defineMessages)({ type: { id: "dynamicFlows.ControlFeedback.type", defaultMessage: "Incorrect type", description: "" }, minimum: { id: "dynamicFlows.ControlFeedback.minimum", defaultMessage: "Please enter a number that's {minimum} or more.", description: "" }, maximum: { id: "dynamicFlows.ControlFeedback.maximum", defaultMessage: "Please enter a number that's {maximum} or less.", description: "" }, minLength: { id: "dynamicFlows.ControlFeedback.minLength", defaultMessage: "Please enter at least {minLength} characters.", description: "" }, maxLength: { id: "dynamicFlows.ControlFeedback.maxLength", defaultMessage: "Please enter {maxLength} or fewer characters.", description: "" }, minimumDate: { id: "dynamicFlows.ControlFeedback.minimumDate", defaultMessage: "Please enter a date that's on or after {minimum}.", description: "" }, maximumDate: { id: "dynamicFlows.ControlFeedback.maximumDate", defaultMessage: "Please enter a date that's on or before {maximum}.", description: "" }, pattern: { id: "dynamicFlows.ControlFeedback.pattern", defaultMessage: "Please enter this in the correct format.", description: "" }, patternDate: { id: "dynamicFlows.ControlFeedback.patternDate", defaultMessage: "Please enter a date in the corrrect format.", description: "" }, required: { id: "dynamicFlows.ControlFeedback.required", defaultMessage: "Please fill out this field.", description: "" } });
1144
- var Te = require("react/jsx-runtime");
1145
- var Hn = (e) => {
1145
+ var Er = require("@transferwise/components");
1146
+ var xo = require("@transferwise/formatting");
1147
+ var qn = require("react-intl");
1148
+ var Hn = require("react-intl");
1149
+ var he = (0, Hn.defineMessages)({ type: { id: "dynamicFlows.ControlFeedback.type", defaultMessage: "Incorrect type", description: "" }, minimum: { id: "dynamicFlows.ControlFeedback.minimum", defaultMessage: "Please enter a number that's {minimum} or more.", description: "" }, maximum: { id: "dynamicFlows.ControlFeedback.maximum", defaultMessage: "Please enter a number that's {maximum} or less.", description: "" }, minLength: { id: "dynamicFlows.ControlFeedback.minLength", defaultMessage: "Please enter at least {minLength} characters.", description: "" }, maxLength: { id: "dynamicFlows.ControlFeedback.maxLength", defaultMessage: "Please enter {maxLength} or fewer characters.", description: "" }, minimumDate: { id: "dynamicFlows.ControlFeedback.minimumDate", defaultMessage: "Please enter a date that's on or after {minimum}.", description: "" }, maximumDate: { id: "dynamicFlows.ControlFeedback.maximumDate", defaultMessage: "Please enter a date that's on or before {maximum}.", description: "" }, pattern: { id: "dynamicFlows.ControlFeedback.pattern", defaultMessage: "Please enter this in the correct format.", description: "" }, patternDate: { id: "dynamicFlows.ControlFeedback.patternDate", defaultMessage: "Please enter a date in the corrrect format.", description: "" }, required: { id: "dynamicFlows.ControlFeedback.required", defaultMessage: "Please fill out this field.", description: "" } });
1150
+ var Be = require("react/jsx-runtime");
1151
+ var $n = (e) => {
1146
1152
  var c;
1147
- let t = Xm(e.schema), r = i(i(i({}, t), e.validationMessages), e.schema.validationMessages), o = (e.submitted || !e.changed) && !!e.errors, a = !o && (e.submitted || e.changed && e.blurred) && !!((c = e.validations) != null && c.length), n = e.focused && e.schema.description && !a, s = !!e.infoMessage;
1148
- return (0, Te.jsxs)("div", { children: [o ? (0, Te.jsx)(kr.InlineAlert, { type: "error", children: e.errors }) : null, a ? (0, Te.jsx)(kr.InlineAlert, { type: "error", children: e.validations.map((m) => (0, Te.jsx)("div", { children: r[m] }, m)) }) : null, (n || s) && (0, Te.jsxs)(kr.InlineAlert, { type: "info", children: [n && (0, Te.jsx)("div", { children: e.schema.description }), s && (0, Te.jsx)("div", { children: e.infoMessage })] })] });
1153
+ let t = Zm(e.schema), r = i(i(i({}, t), e.validationMessages), e.schema.validationMessages), o = (e.submitted || !e.changed) && !!e.errors, a = !o && (e.submitted || e.changed && e.blurred) && !!((c = e.validations) != null && c.length), n = e.focused && e.schema.description && !a, s = !!e.infoMessage;
1154
+ return (0, Be.jsxs)("div", { children: [o ? (0, Be.jsx)(Er.InlineAlert, { type: "error", children: e.errors }) : null, a ? (0, Be.jsx)(Er.InlineAlert, { type: "error", children: e.validations.map((m) => (0, Be.jsx)("div", { children: r[m] }, m)) }) : null, (n || s) && (0, Be.jsxs)(Er.InlineAlert, { type: "info", children: [n && (0, Be.jsx)("div", { children: e.schema.description }), s && (0, Be.jsx)("div", { children: e.infoMessage })] })] });
1149
1155
  };
1150
- Hn.defaultProps = { errors: "", validations: [], validationMessages: {}, validationAsyncSuccessMessage: null };
1151
- function Xm(e) {
1152
- let { formatMessage: t, locale: r } = (0, Vn.useIntl)(), o = { type: t(he.type), minimum: t(he.minimum, { minimum: e.minimum }), maximum: t(he.maximum, { maximum: e.maximum }), minLength: t(he.minLength, { minLength: e.minLength }), maxLength: t(he.maxLength, { maxLength: e.maxLength }), pattern: t(he.pattern), required: t(he.required) };
1156
+ $n.defaultProps = { errors: "", validations: [], validationMessages: {}, validationAsyncSuccessMessage: null };
1157
+ function Zm(e) {
1158
+ let { formatMessage: t, locale: r } = (0, qn.useIntl)(), o = { type: t(he.type), minimum: t(he.minimum, { minimum: e.minimum }), maximum: t(he.maximum, { maximum: e.maximum }), minLength: t(he.minLength, { minLength: e.minLength }), maxLength: t(he.maxLength, { maxLength: e.maxLength }), pattern: t(he.pattern), required: t(he.required) };
1153
1159
  if (e.format === "date") {
1154
- let a = { pattern: t(he.patternDate), minimum: e.minimum ? t(he.minimumDate, { minimum: (0, Co.formatDate)(new Date(e.minimum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0, maximum: e.maximum ? t(he.maximumDate, { maximum: (0, Co.formatDate)(new Date(e.maximum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0 };
1160
+ let a = { pattern: t(he.patternDate), minimum: e.minimum ? t(he.minimumDate, { minimum: (0, xo.formatDate)(new Date(e.minimum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0, maximum: e.maximum ? t(he.maximumDate, { maximum: (0, xo.formatDate)(new Date(e.maximum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0 };
1155
1161
  return i(i({}, o), a);
1156
1162
  }
1157
1163
  return o;
1158
1164
  }
1159
- var Be = Hn;
1160
- async function qn(e, t) {
1165
+ var Te = $n;
1166
+ async function Gn(e, t) {
1161
1167
  if (t)
1162
1168
  return e;
1163
1169
  if (e instanceof Blob)
1164
- return pn(e);
1170
+ return yn(e);
1165
1171
  throw new Error("Error creating payload for MultipleFileUploadSchema. Uploaded file is not an instance of Blob.");
1166
1172
  }
1167
- function $n(e) {
1173
+ function _n(e) {
1168
1174
  let t = e.data;
1169
1175
  return i({ id: t }, e);
1170
1176
  }
1171
- function Gn(e) {
1177
+ function Wn(e) {
1172
1178
  let t = e instanceof Error;
1173
1179
  if (!(N(e) && "data" in e) && !t)
1174
- return M(e) ? e : void 0;
1180
+ return E(e) ? e : void 0;
1175
1181
  if (t) {
1176
1182
  let a = e;
1177
1183
  return { id: ve(), message: a.message };
1178
1184
  } else
1179
- return i({ message: M(e.message) ? e.message : "" }, e);
1185
+ return i({ message: E(e.message) ? e.message : "" }, e);
1180
1186
  }
1181
- var Jn = require("react-intl");
1182
- var _n = require("react-intl");
1183
- var Wn = (0, _n.defineMessages)({ required: { id: "dynamicFlows.DefaultErrorMessages.required", defaultMessage: "Please fill out this field.", description: "Customer has left the required field empty" } });
1187
+ var Xn = require("react-intl");
1184
1188
  var Kn = require("react-intl");
1185
- var Yn = (0, Kn.defineMessages)({ minItemsError: { id: "dynamicFlows.MultipleFileUploadSchema.minItemsError", defaultMessage: "Please upload at least {minItems} file(s).", description: "Customer has uploaded not enough files. To fix: upload more files." }, maxItemsError: { id: "dynamicFlows.MultipleFileUploadSchema.maxItemsError", defaultMessage: "Please upload {maxItems} or fewer files.", description: "Customer has uploaded too many files. To fix: upload fewer files." }, maxFileSizeError: { id: "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError", defaultMessage: "Sorry, that file is too big. Please upload a smaller file.", description: "Customer has uploaded a file that's too big. To fix: upload a smaller file." } });
1186
- function Zn({ maxItems: e, minItems: t }) {
1187
- let { formatMessage: r } = (0, Jn.useIntl)(), { maxFileSizeError: o, maxItemsError: a, minItemsError: n } = Yn;
1188
- return { maxFileSizeErrorMessage: r(o), maxItemsErrorMessage: r(a, { maxItems: e }), minItemsErrorMessage: r(n, { minItems: t }), requiredMessage: r(Wn.required) };
1189
- }
1190
- var xt = require("react/jsx-runtime");
1191
- var ei = (e) => {
1192
- var x, E;
1193
- let { onChange: t, schema: r } = e, o = Q(), a = Zn(r), n = (0, Wt.useMemo)(() => r.$id || ve(), [r.$id]), [s, c] = (0, Wt.useState)(false), [m, p] = (0, Wt.useState)(() => Qm(e.model || [])), u = ti(r.items.persistAsync), g = r.items.persistAsync.schema, y = at(g), l = async (L) => {
1189
+ var Yn = (0, Kn.defineMessages)({ required: { id: "dynamicFlows.DefaultErrorMessages.required", defaultMessage: "Please fill out this field.", description: "Customer has left the required field empty" } });
1190
+ var Jn = require("react-intl");
1191
+ var Zn = (0, Jn.defineMessages)({ minItemsError: { id: "dynamicFlows.MultipleFileUploadSchema.minItemsError", defaultMessage: "Please upload at least {minItems} file(s).", description: "Customer has uploaded not enough files. To fix: upload more files." }, maxItemsError: { id: "dynamicFlows.MultipleFileUploadSchema.maxItemsError", defaultMessage: "Please upload {maxItems} or fewer files.", description: "Customer has uploaded too many files. To fix: upload fewer files." }, maxFileSizeError: { id: "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError", defaultMessage: "Sorry, that file is too big. Please upload a smaller file.", description: "Customer has uploaded a file that's too big. To fix: upload a smaller file." } });
1192
+ function Qn({ maxItems: e, minItems: t }) {
1193
+ let { formatMessage: r } = (0, Xn.useIntl)(), { maxFileSizeError: o, maxItemsError: a, minItemsError: n } = Zn;
1194
+ return { maxFileSizeErrorMessage: r(o), maxItemsErrorMessage: r(a, { maxItems: e }), minItemsErrorMessage: r(n, { minItems: t }), requiredMessage: r(Yn.required) };
1195
+ }
1196
+ var Ot = require("react/jsx-runtime");
1197
+ var ri = (e) => {
1198
+ var x, I;
1199
+ let { onChange: t, schema: r } = e, o = Q(), a = Qn(r), n = (0, Wt.useMemo)(() => r.$id || ve(), [r.$id]), [s, c] = (0, Wt.useState)(false), [m, p] = (0, Wt.useState)(() => Xm(e.model || [])), u = oi(r.items.persistAsync), g = r.items.persistAsync.schema, y = nt(g), l = async (L) => {
1194
1200
  c(true);
1195
1201
  try {
1196
- let k = await qn(L, y);
1202
+ let k = await Gn(L, y);
1197
1203
  o("Dynamic Flow - PersistAsync", { status: "pending", schemaId: r.$id });
1198
- let T = await u(k);
1199
- return o("Dynamic Flow - PersistAsync", { status: "success", schemaId: r.$id }), $n(T);
1204
+ let B = await u(k);
1205
+ return o("Dynamic Flow - PersistAsync", { status: "success", schemaId: r.$id }), _n(B);
1200
1206
  } catch (k) {
1201
- return o("Dynamic Flow - PersistAsync", { status: "failure", schemaId: r.$id }), Promise.reject(Gn(k));
1207
+ return o("Dynamic Flow - PersistAsync", { status: "failure", schemaId: r.$id }), Promise.reject(Wn(k));
1202
1208
  }
1203
1209
  };
1204
1210
  function d(L) {
1205
- if (fn(L, m))
1211
+ if (hn(L, m))
1206
1212
  return;
1207
1213
  p(L);
1208
- let T = Xn(L).map((H) => H.id);
1209
- t({ model: T, triggerSchema: r, triggerModel: T });
1214
+ let B = ei(L).map((H) => H.id);
1215
+ t({ model: B, triggerSchema: r, triggerModel: B });
1210
1216
  }
1211
- let h = Xn(m).map((L) => L.id), S = wt(h, r, e.required), O = !!e.errors || (s || e.submitted) && !!S.length, w = "accepts" in g && g.accepts, v = "maxSize" in g && g.maxSize, P = b(i(i({ multiple: true, className: "form-control", files: m, fileInputName: n, id: n }, w ? { fileTypes: w } : void 0), v ? { sizeLimit: Fr(v) } : void 0), { sizeLimitErrorMessage: ((x = g.validationMessages) == null ? void 0 : x.maxSize) || a.maxFileSizeErrorMessage, maxFiles: e.schema.maxItems, maxFilesErrorMessage: ((E = e.schema.validationMessages) == null ? void 0 : E.maxItems) || a.maxItemsErrorMessage, uploadButtonTitle: g.title, description: g.description, disabled: e.disabled, onUploadFile: (L) => l(L.get(n)), onFilesChange: d, onDeleteFile: () => Promise.resolve() });
1212
- return (0, xt.jsxs)("div", { className: (0, Qn.default)("form-group", { "has-error": O }), children: [(0, xt.jsx)("label", { className: "d-block control-label", htmlFor: n, children: e.schema.title }), (0, xt.jsx)(Mr.UploadInput, i({}, P)), (0, xt.jsx)(Be, { changed: s, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: S, validationMessages: td(r, !!e.required, a), infoMessage: null, focused: false, blurred: true })] });
1217
+ let h = ei(m).map((L) => L.id), b = Ft(h, r, e.required), O = !!e.errors || (s || e.submitted) && !!b.length, w = "accepts" in g && g.accepts, v = "maxSize" in g && g.maxSize, P = S(i(i({ multiple: true, className: "form-control", files: m, fileInputName: n, id: n }, w ? { fileTypes: w } : void 0), v ? { sizeLimit: xr(v) } : void 0), { sizeLimitErrorMessage: ((x = g.validationMessages) == null ? void 0 : x.maxSize) || a.maxFileSizeErrorMessage, maxFiles: e.schema.maxItems, maxFilesErrorMessage: ((I = e.schema.validationMessages) == null ? void 0 : I.maxItems) || a.maxItemsErrorMessage, uploadButtonTitle: g.title, description: g.description, disabled: e.disabled, onUploadFile: (L) => l(L.get(n)), onFilesChange: d, onDeleteFile: () => Promise.resolve() });
1218
+ return (0, Ot.jsxs)("div", { className: (0, ti.default)("form-group", { "has-error": O }), children: [(0, Ot.jsx)("label", { className: "d-block control-label", htmlFor: n, children: e.schema.title }), (0, Ot.jsx)(Ir.UploadInput, i({}, P)), (0, Ot.jsx)(Te, { changed: s, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: b, validationMessages: ed(r, !!e.required, a), infoMessage: null, focused: false, blurred: true })] });
1213
1219
  };
1214
- ei.defaultProps = { errors: null, required: false };
1215
- var xo = ei;
1216
- function Xn(e) {
1220
+ ri.defaultProps = { errors: null, required: false };
1221
+ var Oo = ri;
1222
+ function ei(e) {
1217
1223
  return e.filter((t) => !t.error && t.status === "succeeded");
1218
1224
  }
1219
- function Qm(e) {
1220
- return e.map((t) => ed(t) ? { id: t, status: Mr.Status.SUCCEEDED } : null).filter((t) => t !== null);
1225
+ function Xm(e) {
1226
+ return e.map((t) => Qm(t) ? { id: t, status: Ir.Status.SUCCEEDED } : null).filter((t) => t !== null);
1221
1227
  }
1222
- function ed(e) {
1223
- return B(e) || M(e);
1228
+ function Qm(e) {
1229
+ return T(e) || E(e);
1224
1230
  }
1225
- function td(e, t, r) {
1231
+ function ed(e, t, r) {
1226
1232
  let { minItems: o, maxItems: a } = e;
1227
1233
  return i(i(i({}, t && { required: r.requiredMessage }), o && { minItems: r.minItemsErrorMessage }), a && { maxItems: r.maxItemsErrorMessage });
1228
1234
  }
1229
- var ai = require("react/jsx-runtime");
1230
- var ri = (e) => {
1235
+ var ii = require("react/jsx-runtime");
1236
+ var ai = (e) => {
1231
1237
  let { schema: t } = e;
1232
- if (Ga(t))
1233
- return (0, ai.jsx)(xo, b(i({}, e), { schema: t }));
1238
+ if (Wa(t))
1239
+ return (0, ii.jsx)(Oo, S(i({}, e), { schema: t }));
1234
1240
  throw new Error("Not implemented");
1235
1241
  };
1236
- ri.defaultProps = { errors: null, required: false };
1237
- var oi = ri;
1238
- var ii = require("react/jsx-runtime");
1239
- var ni = (e) => {
1242
+ ai.defaultProps = { errors: null, required: false };
1243
+ var ni = ai;
1244
+ var li = require("react/jsx-runtime");
1245
+ var si = (e) => {
1240
1246
  let { schema: t } = e;
1241
1247
  if (Ie(t))
1242
- return (0, ii.jsx)(oi, i({}, e));
1248
+ return (0, li.jsx)(ni, i({}, e));
1243
1249
  throw new Error("Not implemented");
1244
1250
  };
1245
- ni.defaultProps = { required: false };
1246
- var Oo = ni;
1247
- var si = Ee(nt());
1248
- var Er = require("react");
1251
+ si.defaultProps = { required: false };
1252
+ var vo = si;
1253
+ var ci = Ee(it());
1254
+ var Dr = require("react");
1249
1255
  var Ne = require("react/jsx-runtime");
1250
- var rd = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
1251
- var li = (e) => {
1252
- let [t, r] = (0, Er.useState)(() => i({}, ae(e.model, e.schema))), o = (p, u) => {
1253
- u.model !== null ? t[p] = u.model : delete t[p], r(t), e.onChange(b(i({}, u), { model: t }));
1256
+ var td = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
1257
+ var mi = (e) => {
1258
+ let [t, r] = (0, Dr.useState)(() => i({}, ae(e.model, e.schema))), o = (p, u) => {
1259
+ u.model !== null ? t[p] = u.model : delete t[p], r(t), e.onChange(S(i({}, u), { model: t }));
1254
1260
  }, a = (p) => e.schema.required && e.schema.required.includes(p);
1255
- (0, Er.useEffect)(() => {
1261
+ (0, Dr.useEffect)(() => {
1256
1262
  let p = ae(t, e.schema) || {};
1257
1263
  r(p), Ge(p, t) || e.onChange({ model: p, triggerSchema: e.schema, triggerModel: p });
1258
1264
  }, [e.schema]);
1259
1265
  let n = /* @__PURE__ */ new Set([...e.schema.displayOrder || [], ...Object.keys(e.schema.properties)]), s = (p) => typeof e.schema.properties[p] != "undefined", c = Array.from(n).filter(s), m = e.errors;
1260
- return (0, Ne.jsxs)("fieldset", { children: [e.schema.title && !e.hideTitle && (0, Ne.jsxs)("legend", { children: [" ", e.schema.title, " "] }), e.schema.description && !e.hideTitle && (0, Ne.jsxs)("p", { children: [" ", e.schema.description, " "] }), e.schema.alert && (0, Ne.jsx)(ne, { component: e.schema.alert }), (0, Ne.jsx)("div", { className: "row", children: c.map((p) => (0, Ne.jsx)("div", { className: (0, si.default)(rd(e.schema.properties[p].width)), children: (0, Ne.jsx)(me, { schema: e.schema.properties[p], model: e.model && e.model[p], errors: m && m[p], submitted: e.submitted, required: a(p), disabled: e.disabled, onChange: (u) => o(p, u), onPersistAsync: e.onPersistAsync }) }, p)) })] });
1266
+ return (0, Ne.jsxs)("fieldset", { children: [e.schema.title && !e.hideTitle && (0, Ne.jsxs)("legend", { children: [" ", e.schema.title, " "] }), e.schema.description && !e.hideTitle && (0, Ne.jsxs)("p", { children: [" ", e.schema.description, " "] }), e.schema.alert && (0, Ne.jsx)(ne, { component: e.schema.alert }), (0, Ne.jsx)("div", { className: "row", children: c.map((p) => (0, Ne.jsx)("div", { className: (0, ci.default)(td(e.schema.properties[p].width)), children: (0, Ne.jsx)(me, { schema: e.schema.properties[p], model: e.model && e.model[p], errors: m && m[p], submitted: e.submitted, required: a(p), disabled: e.disabled, onChange: (u) => o(p, u), onPersistAsync: e.onPersistAsync }) }, p)) })] });
1261
1267
  };
1262
- li.defaultProps = { hideTitle: false, disabled: false };
1263
- var Kt = li;
1264
- var Mi = Ee(nt());
1268
+ mi.defaultProps = { hideTitle: false, disabled: false };
1269
+ var Kt = mi;
1270
+ var Ii = Ee(it());
1265
1271
  var ke = require("react");
1266
- var Ir = require("@transferwise/components");
1272
+ var Lr = require("@transferwise/components");
1273
+ var pi = require("react-intl");
1267
1274
  var di = require("react-intl");
1268
- var ci = require("react-intl");
1269
- var mi = (0, ci.defineMessages)({ helpAria: { id: "dynamicFlows.Help.ariaLabel", defaultMessage: "Click here for more info.", description: "Aria label for help." } });
1270
- var vo = require("react/jsx-runtime");
1271
- var od = (e) => {
1272
- let t = (0, di.useIntl)();
1273
- return (0, vo.jsx)(Ir.Info, { className: "m-l-1", content: (0, vo.jsx)(Ir.Markdown, { children: e.help.markdown }), presentation: "POPOVER", size: "sm", "aria-label": t.formatMessage(mi.helpAria) });
1274
- };
1275
- var Ot = od;
1276
- var vi = require("react");
1275
+ var ui = (0, di.defineMessages)({ helpAria: { id: "dynamicFlows.Help.ariaLabel", defaultMessage: "Click here for more info.", description: "Aria label for help." } });
1276
+ var Ao = require("react/jsx-runtime");
1277
+ var rd = (e) => {
1278
+ let t = (0, pi.useIntl)();
1279
+ return (0, Ao.jsx)(Lr.Info, { className: "m-l-1", content: (0, Ao.jsx)(Lr.Markdown, { children: e.help.markdown }), presentation: "POPOVER", size: "sm", "aria-label": t.formatMessage(ui.helpAria) });
1280
+ };
1281
+ var vt = rd;
1282
+ var Pi = require("react");
1277
1283
  var _ = require("@transferwise/components");
1278
- var yi = require("react");
1279
- var vt = (e, t = {}) => {
1284
+ var gi = require("react");
1285
+ var At = (e, t = {}) => {
1280
1286
  let { coerceValue: r = false } = t;
1281
1287
  if (!A(e)) {
1282
1288
  if (N(e)) {
1283
- lt({ received: "object", expected: "string" });
1289
+ ct({ received: "object", expected: "string" });
1284
1290
  return;
1285
1291
  }
1286
- if (!M(e)) {
1292
+ if (!E(e)) {
1287
1293
  if (r)
1288
- return Po({ received: typeof e, expected: "string" }), String(e);
1289
- lt({ received: typeof e, expected: "string" });
1294
+ return ko({ received: typeof e, expected: "string" }), String(e);
1295
+ ct({ received: typeof e, expected: "string" });
1290
1296
  return;
1291
1297
  }
1292
1298
  return e;
1293
1299
  }
1294
1300
  };
1295
- var Ao = (e, t = {}) => {
1301
+ var Po = (e, t = {}) => {
1296
1302
  let { coerceValue: r = false } = t;
1297
1303
  if (A(e))
1298
1304
  return;
1299
- if (B(e))
1305
+ if (T(e))
1300
1306
  return e;
1301
1307
  let o = { received: typeof e, expected: "string or number" };
1302
1308
  if (N(e)) {
1303
- lt(o);
1309
+ ct(o);
1304
1310
  return;
1305
1311
  }
1306
- if (!M(e)) {
1312
+ if (!E(e)) {
1307
1313
  if (r)
1308
- return Po(o), String(e);
1309
- lt(o);
1314
+ return ko(o), String(e);
1315
+ ct(o);
1310
1316
  return;
1311
1317
  }
1312
1318
  return e;
1313
1319
  };
1314
- var ui = (e, t = {}) => {
1320
+ var fi = (e, t = {}) => {
1315
1321
  let { coerceValue: r = false } = t;
1316
1322
  if (A(e))
1317
1323
  return false;
1318
1324
  if (!Oe(e)) {
1319
1325
  if (r)
1320
- return Po({ received: typeof e, expected: "boolean" }), !!e;
1321
- lt({ received: typeof e, expected: "boolean" });
1326
+ return ko({ received: typeof e, expected: "boolean" }), !!e;
1327
+ ct({ received: typeof e, expected: "boolean" });
1322
1328
  return;
1323
1329
  }
1324
1330
  return e;
1325
1331
  };
1326
- var pi = (e) => {
1332
+ var yi = (e) => {
1327
1333
  if (!A(e)) {
1328
- if (!(e instanceof Date) && !M(e)) {
1329
- lt({ received: typeof e, expected: "string or Date" });
1334
+ if (!(e instanceof Date) && !E(e)) {
1335
+ ct({ received: typeof e, expected: "string or Date" });
1330
1336
  return;
1331
1337
  }
1332
1338
  return e;
1333
1339
  }
1334
1340
  };
1335
- var fi = (e) => {
1341
+ var hi = (e) => {
1336
1342
  if (A(e))
1337
1343
  return null;
1338
- if (!M(e))
1339
- return lt({ received: typeof e, expected: "string", fallback: "null" }), null;
1340
- let t = mn(e);
1344
+ if (!E(e))
1345
+ return ct({ received: typeof e, expected: "string", fallback: "null" }), null;
1346
+ let t = un(e);
1341
1347
  return t === null && console.warn("Incorrectly formatted date string. Falling back to null."), t;
1342
1348
  };
1343
- var Po = ({ received: e, expected: t }) => {
1349
+ var ko = ({ received: e, expected: t }) => {
1344
1350
  console.warn(`Value with type ${e} passed to control that only accepts type ${t}. Type will be coerced, but this behaviour will change in the future, so please fix your code.`);
1345
1351
  };
1346
- var lt = ({ received: e, expected: t, fallback: r = "undefined" }) => {
1352
+ var ct = ({ received: e, expected: t, fallback: r = "undefined" }) => {
1347
1353
  console.warn(`Value with type ${e} passed to control that only accepts type ${t}. Falling back to ${r}`);
1348
1354
  };
1349
1355
  var Y = require("react/jsx-runtime");
1350
- var At = class extends yi.PureComponent {
1356
+ var Pt = class extends gi.PureComponent {
1351
1357
  constructor(r) {
1352
1358
  super(r);
1353
1359
  this.getAutocompleteStatus = () => this.props.autoComplete ? "on" : "disabled";
@@ -1374,7 +1380,7 @@ var require_main_min = __commonJS({
1374
1380
  if (this.props.value !== null && typeof this.props.value != "undefined")
1375
1381
  return r2.find((o) => this.props.value === o.value);
1376
1382
  };
1377
- this.mapOption = (r2) => b(i({}, r2), { value: B(r2.value) || M(r2.value) ? r2.value : void 0, disabled: r2.disabled || this.props.disabled, readOnly: this.props.readOnly });
1383
+ this.mapOption = (r2) => S(i({}, r2), { value: T(r2.value) || E(r2.value) ? r2.value : void 0, disabled: r2.disabled || this.props.disabled, readOnly: this.props.readOnly });
1378
1384
  this.state = { selectedOption: r.selectedOption, touched: false, prevValue: r.value };
1379
1385
  }
1380
1386
  static getDerivedStateFromProps(r, o) {
@@ -1382,50 +1388,50 @@ var require_main_min = __commonJS({
1382
1388
  }
1383
1389
  render() {
1384
1390
  var H;
1385
- let { name: r, placeholder: o, step: a, countryCode: n, type: s, options: c, disabled: m, readOnly: p, required: u, minLength: g, maxLength: y, min: l, max: d, searchPlaceholder: f, searchValue: h, onSearchChange: S, size: O, uploadProps: w, label: v, monthFormat: P, id: x, minDate: E, maxDate: L, value: k, mode: T } = this.props;
1391
+ let { name: r, placeholder: o, step: a, countryCode: n, type: s, options: c, disabled: m, readOnly: p, required: u, minLength: g, maxLength: y, min: l, max: d, searchPlaceholder: f, searchValue: h, onSearchChange: b, size: O, uploadProps: w, label: v, monthFormat: P, id: x, minDate: I, maxDate: L, value: k, mode: B } = this.props;
1386
1392
  switch (s) {
1387
1393
  case R.RADIO:
1388
- return (0, Y.jsx)(_.RadioGroup, { radios: c.map(this.mapOption), name: r, selectedValue: Ao(k, { coerceValue: true }), onChange: this.handleOnChange });
1394
+ return (0, Y.jsx)(_.RadioGroup, { radios: c.map(this.mapOption), name: r, selectedValue: Po(k, { coerceValue: true }), onChange: this.handleOnChange });
1389
1395
  case R.CHECKBOX:
1390
- return (0, Y.jsx)(_.Checkbox, { checked: ui(k, { coerceValue: true }), disabled: m, label: v, required: u, readOnly: p, onChange: this.handleOnChange, onBlur: this.handleOnBlur, onFocus: this.handleOnFocus });
1396
+ return (0, Y.jsx)(_.Checkbox, { checked: fi(k, { coerceValue: true }), disabled: m, label: v, required: u, readOnly: p, onChange: this.handleOnChange, onBlur: this.handleOnBlur, onFocus: this.handleOnFocus });
1391
1397
  case R.SELECT: {
1392
1398
  let F = c.length >= 20;
1393
- return (0, Y.jsx)(_.Select, { id: x, selected: this.getSelectedOption(c), options: c, search: F, required: u, disabled: m, placeholder: o, searchPlaceholder: f, searchValue: h, onChange: (j) => {
1394
- var I;
1395
- this.setState({ selectedOption: j != null ? j : void 0 }), this.props.onChange((I = j == null ? void 0 : j.value) != null ? I : null);
1396
- }, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, onSearchChange: F ? S : void 0 });
1399
+ return (0, Y.jsx)(_.Select, { id: x, selected: this.getSelectedOption(c), options: c, search: F, required: u, disabled: m, placeholder: o, searchPlaceholder: f, searchValue: h, onChange: (U) => {
1400
+ var D;
1401
+ this.setState({ selectedOption: U != null ? U : void 0 }), this.props.onChange((D = U == null ? void 0 : U.value) != null ? D : null);
1402
+ }, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, onSearchChange: F ? b : void 0 });
1397
1403
  }
1398
1404
  case R.TAB:
1399
1405
  return (0, Y.jsx)(_.Tabs, { selected: ((H = this.getSelectedOption(c)) == null ? void 0 : H.value) || 0, tabs: c.map((F) => ({ title: F.label, content: (0, Y.jsx)(Y.Fragment, {}), disabled: F.disabled || false })), name: x, onTabSelect: (F) => {
1400
- let j = !!this.state.selectedOption;
1401
- this.setState({ selectedOption: c.find((I) => I.value === F) }), this.props.onChange(F, j ? "user" : "init");
1406
+ let U = !!this.state.selectedOption;
1407
+ this.setState({ selectedOption: c.find((D) => D.value === F) }), this.props.onChange(F, U ? "user" : "init");
1402
1408
  } });
1403
1409
  case R.NUMBER:
1404
- return (0, Y.jsx)("input", { autoComplete: this.getAutocompleteStatus(), className: "form-control", disabled: m, id: x, max: d, min: l, placeholder: o, readOnly: p, required: u, step: a, type: "number", value: Ao(k, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: (F) => {
1410
+ return (0, Y.jsx)("input", { autoComplete: this.getAutocompleteStatus(), className: "form-control", disabled: m, id: x, max: d, min: l, placeholder: o, readOnly: p, required: u, step: a, type: "number", value: Po(k, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: (F) => {
1405
1411
  this.props.onChange(parseFloat(F.target.value));
1406
1412
  }, onFocus: this.handleOnFocus, onWheel: (F) => {
1407
1413
  F.target instanceof HTMLElement && F.target.blur();
1408
1414
  } });
1409
1415
  case R.HIDDEN:
1410
- return (0, Y.jsx)("input", { type: "hidden", name: r, value: vt(k, { coerceValue: true }), id: x });
1416
+ return (0, Y.jsx)("input", { type: "hidden", name: r, value: At(k, { coerceValue: true }), id: x });
1411
1417
  case R.PASSWORD:
1412
- return (0, Y.jsx)("input", { autoComplete: this.getAutocompleteStatus(), className: "form-control", disabled: m, id: x, placeholder: o, readOnly: p, required: u, type: "password", value: vt(k, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: this.handleInputOnChange, onFocus: this.handleOnFocus });
1418
+ return (0, Y.jsx)("input", { autoComplete: this.getAutocompleteStatus(), className: "form-control", disabled: m, id: x, placeholder: o, readOnly: p, required: u, type: "password", value: At(k, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: this.handleInputOnChange, onFocus: this.handleOnFocus });
1413
1419
  case R.DATE:
1414
1420
  case R.DATETIME:
1415
- return (0, Y.jsx)(_.DateInput, { disabled: m, size: O, value: pi(k), mode: T, monthFormat: P, onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
1421
+ return (0, Y.jsx)(_.DateInput, { disabled: m, size: O, value: yi(k), mode: B, monthFormat: P, onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
1416
1422
  case R.DATELOOKUP:
1417
- return (0, Y.jsx)(_.DateLookup, { value: fi(k), min: E, max: L, placeholder: o, monthFormat: P, disabled: m, onChange: (F) => {
1418
- this.handleOnChange(dn(F));
1423
+ return (0, Y.jsx)(_.DateLookup, { value: hi(k), min: I, max: L, placeholder: o, monthFormat: P, disabled: m, onChange: (F) => {
1424
+ this.handleOnChange(pn(F));
1419
1425
  }, onBlur: this.handleOnBlur, onFocus: this.handleOnFocus });
1420
1426
  case R.TEL:
1421
- return (0, Y.jsx)(_.PhoneNumberInput, { disabled: m, countryCode: n, placeholder: o, required: u, searchPlaceholder: f, size: O, initialValue: vt(k), onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
1427
+ return (0, Y.jsx)(_.PhoneNumberInput, { disabled: m, countryCode: n, placeholder: o, required: u, searchPlaceholder: f, size: O, initialValue: At(k), onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
1422
1428
  case R.TEXTAREA: {
1423
- let F = { className: "form-control tw-form-control", id: x, name: r, placeholder: o, value: vt(k, { coerceValue: true }), readOnly: p, required: u, minLength: g, maxLength: y, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: m, autoComplete: this.getAutocompleteStatus() };
1424
- return this.props.displayPattern ? (0, Y.jsx)(_.TextareaWithDisplayFormat, b(i({ displayPattern: this.props.displayPattern }, F), { onChange: this.handleOnChange })) : (0, Y.jsx)("textarea", b(i({}, F), { onChange: this.handleInputOnChange }));
1429
+ let F = { className: "form-control tw-form-control", id: x, name: r, placeholder: o, value: At(k, { coerceValue: true }), readOnly: p, required: u, minLength: g, maxLength: y, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: m, autoComplete: this.getAutocompleteStatus() };
1430
+ return this.props.displayPattern ? (0, Y.jsx)(_.TextareaWithDisplayFormat, S(i({ displayPattern: this.props.displayPattern }, F), { onChange: this.handleOnChange })) : (0, Y.jsx)("textarea", S(i({}, F), { onChange: this.handleInputOnChange }));
1425
1431
  }
1426
1432
  case R.FILE:
1427
1433
  case R.UPLOAD:
1428
- return (0, Y.jsx)(_.Upload, b(i({}, w), { usAccept: w.usAccept || "*", usDisabled: w.usDisabled || m, onSuccess: (F) => {
1434
+ return (0, Y.jsx)(_.Upload, S(i({}, w), { usAccept: w.usAccept || "*", usDisabled: w.usDisabled || m, onSuccess: (F) => {
1429
1435
  this.handleOnChange(F);
1430
1436
  }, onFailure: () => {
1431
1437
  this.handleOnChange(null);
@@ -1434,75 +1440,75 @@ var require_main_min = __commonJS({
1434
1440
  } }));
1435
1441
  case R.TEXT:
1436
1442
  default: {
1437
- let F = { type: "text", className: "form-control", id: x, name: r, placeholder: o, value: vt(k, { coerceValue: true }), readOnly: p, required: u, minLength: g, maxLength: y, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: m, autoComplete: this.getAutocompleteStatus() };
1438
- return this.props.displayPattern ? (0, Y.jsx)(_.InputWithDisplayFormat, b(i({ displayPattern: this.props.displayPattern }, F), { onChange: this.handleOnChange })) : (0, Y.jsx)("input", b(i({}, F), { onChange: this.handleInputOnChange }));
1443
+ let F = { type: "text", className: "form-control", id: x, name: r, placeholder: o, value: At(k, { coerceValue: true }), readOnly: p, required: u, minLength: g, maxLength: y, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: m, autoComplete: this.getAutocompleteStatus() };
1444
+ return this.props.displayPattern ? (0, Y.jsx)(_.InputWithDisplayFormat, S(i({ displayPattern: this.props.displayPattern }, F), { onChange: this.handleOnChange })) : (0, Y.jsx)("input", S(i({}, F), { onChange: this.handleInputOnChange }));
1439
1445
  }
1440
1446
  }
1441
1447
  }
1442
1448
  };
1443
- var ge = At;
1444
- ge.Type = R, ge.Size = gn, ge.MonthFormat = hn, ge.DateMode = yn, ge.defaultProps = { autoComplete: true, countryCode: null, disabled: false, displayPattern: null, id: null, label: "", max: null, maxDate: null, maxLength: null, min: null, minDate: null, minLength: null, mode: At.DateMode.DAY_MONTH_YEAR, monthFormat: At.MonthFormat.LONG, onBlur: null, onFocus: null, onSearchChange: null, options: [], placeholder: null, readOnly: false, required: false, searchPlaceholder: null, searchValue: "", selectedOption: null, size: At.Size.MEDIUM, step: 1, type: At.Type.TEXT, uploadProps: {}, value: null };
1449
+ var ge = Pt;
1450
+ ge.Type = R, ge.Size = Sn, ge.MonthFormat = bn, ge.DateMode = gn, ge.defaultProps = { autoComplete: true, countryCode: null, disabled: false, displayPattern: null, id: null, label: "", max: null, maxDate: null, maxLength: null, min: null, minDate: null, minLength: null, mode: Pt.DateMode.DAY_MONTH_YEAR, monthFormat: Pt.MonthFormat.LONG, onBlur: null, onFocus: null, onSearchChange: null, options: [], placeholder: null, readOnly: false, required: false, searchPlaceholder: null, searchValue: "", selectedOption: null, size: Pt.Size.MEDIUM, step: 1, type: Pt.Type.TEXT, uploadProps: {}, value: null };
1445
1451
  var Ye = require("@transferwise/components");
1446
- var gi = require("react/jsx-runtime");
1447
- var Pt = (e) => ko.some((t) => e === `flag-${t}`);
1448
- var hi = ({ name: e }) => {
1449
- if (!Pt(e))
1452
+ var Si = require("react/jsx-runtime");
1453
+ var kt = (e) => Mo.some((t) => e === `flag-${t}`);
1454
+ var bi = ({ name: e }) => {
1455
+ if (!kt(e))
1450
1456
  return null;
1451
1457
  let t = e.substring(5);
1452
- return (0, gi.jsx)("img", { src: `https://wise.com/web-art/assets/flags/${t}.svg`, alt: "", "data-testid": `img-flag-${t}` });
1458
+ return (0, Si.jsx)("img", { src: `https://wise.com/web-art/assets/flags/${t}.svg`, alt: "", "data-testid": `img-flag-${t}` });
1453
1459
  };
1454
- var ko = ["aed", "ars", "aud", "bdt", "bgn", "bnd", "brl", "bwp", "cad", "chf", "clp", "cny", "cop", "crc", "czk", "dkk", "egp", "eur", "fjd", "gbp", "gel", "ghs", "hkd", "hrk", "huf", "idr", "ils", "imp", "inr", "jpy", "kes", "krw", "lak", "lkr", "lsl", "mad", "mxn", "myr", "mzn", "nad", "ngn", "nok", "npr", "nzd", "pab", "pen", "php", "pkr", "pln", "ron", "rub", "sek", "sgd", "thb", "tmt", "try", "tzs", "uah", "ugx", "usd", "uyu", "vnd", "xof", "zar", "zmw"];
1455
- var bi = Ee(require("@transferwise/icons"));
1456
- var Fi = require("react/jsx-runtime");
1457
- var Dr = (e) => {
1458
- let t = wi(e);
1459
- return Object.keys(bi).includes(t);
1460
+ var Mo = ["aed", "ars", "aud", "bdt", "bgn", "bnd", "brl", "bwp", "cad", "chf", "clp", "cny", "cop", "crc", "czk", "dkk", "egp", "eur", "fjd", "gbp", "gel", "ghs", "hkd", "hrk", "huf", "idr", "ils", "imp", "inr", "jpy", "kes", "krw", "lak", "lkr", "lsl", "mad", "mxn", "myr", "mzn", "nad", "ngn", "nok", "npr", "nzd", "pab", "pen", "php", "pkr", "pln", "ron", "rub", "sek", "sgd", "thb", "tmt", "try", "tzs", "uah", "ugx", "usd", "uyu", "vnd", "xof", "zar", "zmw"];
1461
+ var wi = Ee(require("@transferwise/icons"));
1462
+ var xi = require("react/jsx-runtime");
1463
+ var Br = (e) => {
1464
+ let t = Ci(e);
1465
+ return Object.keys(wi).includes(t);
1460
1466
  };
1461
- var Si = ({ name: e }) => {
1462
- if (!Dr(e))
1467
+ var Fi = ({ name: e }) => {
1468
+ if (!Br(e))
1463
1469
  return null;
1464
- let t = wi(e), r = bi[t];
1465
- return (0, Fi.jsx)(r, { size: 24 });
1470
+ let t = Ci(e), r = wi[t];
1471
+ return (0, xi.jsx)(r, { size: 24 });
1466
1472
  };
1467
- var wi = (e) => e.split("-").map(ad).join("");
1468
- var ad = (e) => {
1473
+ var Ci = (e) => e.split("-").map(od).join("");
1474
+ var od = (e) => {
1469
1475
  var t;
1470
1476
  return `${(t = e[0]) == null ? void 0 : t.toUpperCase()}${e.slice(1)}`;
1471
1477
  };
1472
- var Mo = require("react/jsx-runtime");
1473
- var nd = ({ type: e }) => Pt(e) ? (0, Mo.jsx)(hi, { name: e }) : Dr(e) ? (0, Mo.jsx)(Si, { name: e }) : null;
1474
- function Eo(e) {
1475
- return Dr(e) || Pt(e);
1478
+ var Eo = require("react/jsx-runtime");
1479
+ var ad = ({ type: e }) => kt(e) ? (0, Eo.jsx)(bi, { name: e }) : Br(e) ? (0, Eo.jsx)(Fi, { name: e }) : null;
1480
+ function Io(e) {
1481
+ return Br(e) || kt(e);
1476
1482
  }
1477
- var We = nd;
1483
+ var We = ad;
1478
1484
  var be = require("react/jsx-runtime");
1479
- var Ci = (e, t) => {
1485
+ var Oi = (e, t) => {
1480
1486
  switch (t) {
1481
1487
  case "select":
1482
- return sd(e);
1488
+ return id(e);
1483
1489
  case "radio":
1484
1490
  default:
1485
- return id(e);
1491
+ return nd(e);
1486
1492
  }
1487
1493
  };
1488
- var id = (e) => i(i(i({ label: e.title, value: e.const }, xi(e.title, e.description)), kt(e)), Oi(e.disabled));
1489
- var sd = (e) => i(i(i(i(i({ label: e.title, value: e.const }, xi(e.title, e.description)), md(e.icon)), cd(e.image)), Oi(e.disabled)), ld(e.keywords));
1490
- var ld = (e) => q(e) ? { searchStrings: e } : {};
1491
- var cd = (e) => e != null && e.url ? { icon: (0, be.jsx)("div", { className: "media", children: (0, be.jsx)("div", { className: "np-option__no-media-circle", children: (0, be.jsx)("img", { src: e.url, alt: e.name || "" }) }) }) } : null;
1492
- var md = (e) => e != null && e.name && Pt(e.name) ? { currency: e.name.substring(5) } : e != null && e.name && Eo(e.name) ? { icon: (0, be.jsx)(We, { type: e.name }) } : e != null && e.text ? { icon: (0, be.jsx)("span", { children: e.text }) } : null;
1493
- var kt = ({ image: e, icon: t }) => e != null && e.url ? { avatar: (0, be.jsx)(Ye.Avatar, { type: Ye.AvatarType.THUMBNAIL, children: (0, be.jsx)("img", { src: e.url, alt: "" }) }) } : t != null && t.name && Eo(t.name) ? { avatar: (0, be.jsx)(Ye.Avatar, { type: Ye.AvatarType.ICON, children: (0, be.jsx)(We, { type: t.name }) }) } : t != null && t.text ? { avatar: (0, be.jsx)(Ye.Avatar, { type: Ye.AvatarType.INITIALS, children: t.text }) } : null;
1494
- var Lr = ({ accepts: e }) => i({}, q(e) && { usAccept: e.join(",") });
1495
- var xi = (e, t) => {
1494
+ var nd = (e) => i(i(i({ label: e.title, value: e.const }, vi(e.title, e.description)), Mt(e)), Ai(e.disabled));
1495
+ var id = (e) => i(i(i(i(i({ label: e.title, value: e.const }, vi(e.title, e.description)), cd(e.icon)), ld(e.image)), Ai(e.disabled)), sd(e.keywords));
1496
+ var sd = (e) => q(e) ? { searchStrings: e } : {};
1497
+ var ld = (e) => e != null && e.url ? { icon: (0, be.jsx)("div", { className: "media", children: (0, be.jsx)("div", { className: "np-option__no-media-circle", children: (0, be.jsx)("img", { src: e.url, alt: e.name || "" }) }) }) } : null;
1498
+ var cd = (e) => e != null && e.name && kt(e.name) ? { currency: e.name.substring(5) } : e != null && e.name && Io(e.name) ? { icon: (0, be.jsx)(We, { type: e.name }) } : e != null && e.text ? { icon: (0, be.jsx)("span", { children: e.text }) } : null;
1499
+ var Mt = ({ image: e, icon: t }) => e != null && e.url ? { avatar: (0, be.jsx)(Ye.Avatar, { type: Ye.AvatarType.THUMBNAIL, children: (0, be.jsx)("img", { src: e.url, alt: "" }) }) } : t != null && t.name && Io(t.name) ? { avatar: (0, be.jsx)(Ye.Avatar, { type: Ye.AvatarType.ICON, children: (0, be.jsx)(We, { type: t.name }) }) } : t != null && t.text ? { avatar: (0, be.jsx)(Ye.Avatar, { type: Ye.AvatarType.INITIALS, children: t.text }) } : null;
1500
+ var Tr = ({ accepts: e }) => i({}, q(e) && { usAccept: e.join(",") });
1501
+ var vi = (e, t) => {
1496
1502
  if (e && t)
1497
1503
  return { [(e + t).length > 50 ? "secondary" : "note"]: t };
1498
1504
  };
1499
- var Oi = (e) => {
1505
+ var Ai = (e) => {
1500
1506
  if (!K(e) && !A(e))
1501
1507
  return { disabled: e };
1502
1508
  };
1503
- var Pi = require("react/jsx-runtime");
1504
- var dd = (e) => e === "string" || e === "number";
1505
- var Io = (e) => {
1509
+ var Mi = require("react/jsx-runtime");
1510
+ var md = (e) => e === "string" || e === "number";
1511
+ var Do = (e) => {
1506
1512
  if (oe(e))
1507
1513
  return e.control === R.TAB && e.oneOf.length > 3 ? R.SELECT : e.oneOf.length === 2 && !e.control ? R.RADIO : e.control || R.SELECT;
1508
1514
  if ("control" in e && e.control)
@@ -1522,29 +1528,29 @@ var require_main_min = __commonJS({
1522
1528
  }
1523
1529
  return e.type === "boolean" ? "checkbox" : e.type === "integer" ? "number" : e.type;
1524
1530
  };
1525
- var ud = (e, t) => e.oneOf ? e.oneOf.map((r) => Ci(r, t)) : null;
1526
- var Ai = (e) => {
1527
- let { id: t, schema: r, value: o, disabled: a, onChange: n, onFocus: s, onBlur: c, onSearchChange: m } = e, p = ht(), u = (S) => dd(r.type) && (A(S) || K(S)) ? "" : S, g = (S, O) => {
1528
- n(De(S, r), O);
1529
- }, y = Io(r);
1530
- (0, vi.useEffect)(() => {
1531
- pd(r, p, y);
1532
- }, [r, p, y]);
1533
- let l = r.values || ud(r, y), d = { onFocus: s, onBlur: c, onSearchChange: m, onChange: g }, f = u(o), h = { id: t, name: t, label: r.title, options: l || [], placeholder: r.placeholder, autoComplete: !r.help, disabled: a || r.disabled, displayPattern: r.displayFormat, uploadProps: Lr(r) };
1534
- return (0, Pi.jsx)(ge, i(i({ type: y, value: f }, d), h));
1535
- };
1536
- Ai.defaultProps = { value: null, onFocus: null, onBlur: null, onSearchChange: null, disabled: false };
1537
- var pd = (e, t, r) => {
1531
+ var dd = (e, t) => e.oneOf ? e.oneOf.map((r) => Oi(r, t)) : null;
1532
+ var ki = (e) => {
1533
+ let { id: t, schema: r, value: o, disabled: a, onChange: n, onFocus: s, onBlur: c, onSearchChange: m } = e, p = gt(), u = (b) => md(r.type) && (A(b) || K(b)) ? "" : b, g = (b, O) => {
1534
+ n(De(b, r), O);
1535
+ }, y = Do(r);
1536
+ (0, Pi.useEffect)(() => {
1537
+ ud(r, p, y);
1538
+ }, [JSON.stringify(r), p, y]);
1539
+ let l = r.values || dd(r, y), d = { onFocus: s, onBlur: c, onSearchChange: m, onChange: g }, f = u(o), h = { id: t, name: t, label: r.title, options: l || [], placeholder: r.placeholder, autoComplete: !r.help, disabled: a || r.disabled, displayPattern: r.displayFormat, uploadProps: Tr(r) };
1540
+ return (0, Mi.jsx)(ge, i(i({ type: y, value: f }, d), h));
1541
+ };
1542
+ ki.defaultProps = { value: null, onFocus: null, onBlur: null, onSearchChange: null, disabled: false };
1543
+ var ud = (e, t, r) => {
1538
1544
  oe(e) && e.oneOf.length === 2 && !e.control && t.warning("Deprecation warning", 'A oneOf schema with 2 options and no control type currently renders as a "radio" but will be changed to render as a "select". Please specify control radio to retain the existing behaviour.'), r === "file" && t.warning("Deprecation warning", "Please use a persist-async blob schema instead of string with base64url for file uploads. The base64url does not perform well on low end devices. Support for this schema will be removed in a later release."), e.values && t.warning("Deprecated schema", "Schema.values is a legacy approach. Please use oneOf.");
1539
1545
  };
1540
- var Yt = Ai;
1546
+ var Yt = ki;
1541
1547
  function Re(e) {
1542
1548
  return !K(e == null ? void 0 : e.const);
1543
1549
  }
1544
1550
  function Jt(e) {
1545
1551
  return !!e && !Re(e);
1546
1552
  }
1547
- var ki = (e, t) => {
1553
+ var Ei = (e, t) => {
1548
1554
  let r = Zt(e, t);
1549
1555
  if (r >= 0)
1550
1556
  return r;
@@ -1555,499 +1561,499 @@ var require_main_min = __commonJS({
1555
1561
  if (o >= 0)
1556
1562
  return o;
1557
1563
  }
1558
- return Ut(e) && Z(t) && Object.keys(t).length >= 1 ? Tr(e, t) : Ut(e) && !K(e.default) && Z(e.default) && Object.keys(e.default).length >= 1 ? Tr(e, e.default) : null;
1564
+ return Ut(e) && J(t) && Object.keys(t).length >= 1 ? Nr(e, t) : Ut(e) && !K(e.default) && J(e.default) && Object.keys(e.default).length >= 1 ? Nr(e, e.default) : null;
1559
1565
  };
1560
1566
  var Zt = (e, t) => e.oneOf.findIndex((r) => !K(t) && G(t, r));
1561
- function Tr(e, t) {
1567
+ function Nr(e, t) {
1562
1568
  if (t == null)
1563
1569
  return null;
1564
- let r = e.oneOf.map((o) => fd(o).reduce((a, [n, s]) => Re(s) && s.const === t[n] ? a + 2 : Jt(s) && typeof t[n] != "undefined" ? a + 1 : a, 0));
1570
+ let r = e.oneOf.map((o) => pd(o).reduce((a, [n, s]) => Re(s) && s.const === t[n] ? a + 2 : Jt(s) && typeof t[n] != "undefined" ? a + 1 : a, 0));
1565
1571
  return r.every((o) => o === r[0]) ? null : r.indexOf(Math.max(...r));
1566
1572
  }
1567
- function fd(e) {
1573
+ function pd(e) {
1568
1574
  return e.properties !== null && typeof e.properties == "object" ? Object.entries(e.properties) : [];
1569
1575
  }
1570
1576
  var te = require("react/jsx-runtime");
1571
- var Ei = (e) => {
1572
- let t = Q(), [r, o] = (0, ke.useState)(false), [a, n] = (0, ke.useState)(false), [s, c] = (0, ke.useState)(false), m = (0, ke.useMemo)(() => e.schema.$id || ve(), [e.schema.$id]), [p, u] = (0, ke.useState)(ki(e.schema, e.model)), [g, y] = (0, ke.useState)(bd(e.model, e.schema.oneOf)), l = Fn(t, 200), d = (x) => {
1577
+ var Di = (e) => {
1578
+ let t = Q(), [r, o] = (0, ke.useState)(false), [a, n] = (0, ke.useState)(false), [s, c] = (0, ke.useState)(false), m = (0, ke.useMemo)(() => e.schema.$id || ve(), [e.schema.$id]), [p, u] = (0, ke.useState)(Ei(e.schema, e.model)), [g, y] = (0, ke.useState)(gd(e.model, e.schema.oneOf)), l = xn(t, 200), d = (x) => {
1573
1579
  l("Dynamic Flow - OneOf Searched", { oneOfId: e.schema.analyticsId, searchValueLength: x.length });
1574
1580
  };
1575
1581
  if ((0, ke.useEffect)(() => {
1576
- let x = Zt(e.schema, e.model), E = Zt(e.schema, e.schema.default);
1577
- x === -1 && E >= 0 && O(E, "init");
1582
+ let x = Zt(e.schema, e.model), I = Zt(e.schema, e.schema.default);
1583
+ x === -1 && I >= 0 && O(I, "init");
1578
1584
  }, [e.schema]), !q(e.schema.oneOf))
1579
1585
  return console.error("Incorrect format", e.schema), null;
1580
- let f = (x, E) => {
1581
- y([...g.slice(0, x), E.model, ...g.slice(x + 1)]), o(true), e.onChange(E);
1586
+ let f = (x, I) => {
1587
+ y([...g.slice(0, x), I.model, ...g.slice(x + 1)]), o(true), e.onChange(I);
1582
1588
  }, h = () => {
1583
1589
  n(true);
1584
- }, S = () => {
1590
+ }, b = () => {
1585
1591
  n(false), c(true);
1586
- }, O = (x, E) => {
1592
+ }, O = (x, I) => {
1587
1593
  u(x);
1588
1594
  let L = e.schema.oneOf[x];
1589
1595
  if (Re(L)) {
1590
1596
  let k = L.const;
1591
- e.onChange({ model: k, triggerSchema: e.schema, triggerModel: k, type: E });
1597
+ e.onChange({ model: k, triggerSchema: e.schema, triggerModel: k, type: I });
1592
1598
  } else
1593
- e.onChange({ model: g[x], triggerSchema: L, triggerModel: g[x], type: E });
1594
- E !== "init" && e.schema.analyticsId && t("Dynamic Flow - OneOf Selected", { oneOfId: e.schema.analyticsId, schemaId: L == null ? void 0 : L.analyticsId });
1595
- }, w = Sd(e.schema), v = hd(e, p), P = { "form-group": true, "has-error": !r && e.errors && !St(e.errors) || (e.submitted || r && s) && v.length };
1596
- return (0, te.jsxs)(te.Fragment, { children: [(e.schema.oneOf.length > 1 || Re(e.schema.oneOf[0])) && (0, te.jsxs)(te.Fragment, { children: [(0, te.jsxs)("div", { className: (0, Mi.default)(P), children: [yd(e.schema, m), (0, te.jsx)(Yt, { id: m, schema: w, value: p, disabled: e.disabled, onChange: O, onFocus: h, onBlur: S, onSearchChange: d }), (0, te.jsx)(Be, { changed: r, focused: a, blurred: s, submitted: e.submitted, errors: gd(e.errors), schema: e.schema, validations: v, infoMessage: null })] }), e.schema.alert && (0, te.jsx)(ne, { component: e.schema.alert })] }), Jt(e.schema.oneOf[p]) && (0, te.jsx)(me, { schema: e.schema.oneOf[p], model: g[p], errors: e.errors, submitted: e.submitted, hideTitle: true, disabled: e.disabled, onChange: (x) => f(p, x), onPersistAsync: e.onPersistAsync })] });
1599
+ e.onChange({ model: g[x], triggerSchema: L, triggerModel: g[x], type: I });
1600
+ I !== "init" && e.schema.analyticsId && t("Dynamic Flow - OneOf Selected", { oneOfId: e.schema.analyticsId, schemaId: L == null ? void 0 : L.analyticsId });
1601
+ }, w = bd(e.schema), v = yd(e, p), P = { "form-group": true, "has-error": !r && e.errors && !wt(e.errors) || (e.submitted || r && s) && v.length };
1602
+ return (0, te.jsxs)(te.Fragment, { children: [(e.schema.oneOf.length > 1 || Re(e.schema.oneOf[0])) && (0, te.jsxs)(te.Fragment, { children: [(0, te.jsxs)("div", { className: (0, Ii.default)(P), children: [fd(e.schema, m), (0, te.jsx)(Yt, { id: m, schema: w, value: p, disabled: e.disabled, onChange: O, onFocus: h, onBlur: b, onSearchChange: d }), (0, te.jsx)(Te, { changed: r, focused: a, blurred: s, submitted: e.submitted, errors: hd(e.errors), schema: e.schema, validations: v, infoMessage: null })] }), e.schema.alert && (0, te.jsx)(ne, { component: e.schema.alert })] }), Jt(e.schema.oneOf[p]) && (0, te.jsx)(me, { schema: e.schema.oneOf[p], model: g[p], errors: e.errors, submitted: e.submitted, hideTitle: true, disabled: e.disabled, onChange: (x) => f(p, x), onPersistAsync: e.onPersistAsync })] });
1597
1603
  };
1598
- function yd(e, t) {
1599
- let r = e.help ? (0, te.jsx)(Ot, { help: e.help }) : null, o = Re(e.oneOf[0]) ? (0, te.jsxs)("label", { className: "control-label d-inline", htmlFor: t, children: [e.title, " ", r] }) : (0, te.jsxs)("h4", { className: "m-b-2", children: [e.title, " ", r] });
1604
+ function fd(e, t) {
1605
+ let r = e.help ? (0, te.jsx)(vt, { help: e.help }) : null, o = Re(e.oneOf[0]) ? (0, te.jsxs)("label", { className: "control-label d-inline", htmlFor: t, children: [e.title, " ", r] }) : (0, te.jsxs)("h4", { className: "m-b-2", children: [e.title, " ", r] });
1600
1606
  return e.title ? o : r;
1601
1607
  }
1602
- function hd(e, t) {
1608
+ function yd(e, t) {
1603
1609
  let r = e.schema.oneOf[t != null ? t : -1];
1604
1610
  return Re(r) ? $e(r.const, e.schema, !!e.required) : t === null || t < 0 ? $e(null, e.schema, !!e.required) : [];
1605
1611
  }
1606
- function gd(e) {
1612
+ function hd(e) {
1607
1613
  return typeof e == "string" ? e : null;
1608
1614
  }
1609
- function bd(e, t) {
1615
+ function gd(e, t) {
1610
1616
  return t.map((r) => Ht(e, r));
1611
1617
  }
1612
- function Sd(e) {
1613
- return b(i({}, e), { oneOf: e.oneOf.map(wd) });
1618
+ function bd(e) {
1619
+ return S(i({}, e), { oneOf: e.oneOf.map(Sd) });
1614
1620
  }
1615
- function wd(e, t) {
1621
+ function Sd(e, t) {
1616
1622
  let { title: r, description: o, disabled: a = false, icon: n, image: s, keywords: c } = e;
1617
1623
  return { title: r, description: o, disabled: a, icon: n, image: s, const: t, keywords: c };
1618
1624
  }
1619
- Ei.defaultProps = { required: false, disabled: false };
1620
- var Do = Ei;
1621
- var Ti = Ee(nt());
1622
- var ct = require("react");
1623
- var Br = require("@transferwise/components");
1624
- var Ii = require("react");
1625
- var Li = require("react/jsx-runtime");
1626
- var Di = (e) => {
1627
- let { id: t, httpClient: r = fetch, httpOptions: o, fileId: a, idProperty: n, usAccept: s, maxSize: c, usPlaceholder: m, onSuccess: p, onFailure: u, onCancel: g } = e, y = Q(), l = (0, Ii.useMemo)(() => a ? [{ id: a, status: Br.Status.SUCCEEDED }] : [], [a]), d = (f) => (y("Dynamic Flow - PersistAsync", { status: "pending", schemaId: t }), r(`${o.url}`, { method: o.method || "POST", body: f }).then((h) => h.ok ? (p && p(h.clone()), h.json().then((S) => ({ id: S[n] }))) : (u && u({ response: h }), Promise.reject())));
1628
- return (0, Li.jsx)(Br.UploadInput, { id: t, fileInputName: o.fileInputName, files: l, uploadButtonTitle: e.usLabel, sizeLimit: c ? Fr(c) : void 0, fileTypes: s, description: m, onUploadFile: d, onDeleteFile: (f) => (g && g(), Promise.resolve()) });
1625
+ Di.defaultProps = { required: false, disabled: false };
1626
+ var Lo = Di;
1627
+ var Ni = Ee(it());
1628
+ var mt = require("react");
1629
+ var Rr = require("@transferwise/components");
1630
+ var Li = require("react");
1631
+ var Ti = require("react/jsx-runtime");
1632
+ var Bi = (e) => {
1633
+ let { id: t, httpClient: r = fetch, httpOptions: o, fileId: a, idProperty: n, usAccept: s, maxSize: c, usPlaceholder: m, onSuccess: p, onFailure: u, onCancel: g } = e, y = Q(), l = (0, Li.useMemo)(() => a ? [{ id: a, status: Rr.Status.SUCCEEDED }] : [], [a]), d = (f) => (y("Dynamic Flow - PersistAsync", { status: "pending", schemaId: t }), r(`${o.url}`, { method: o.method || "POST", body: f }).then((h) => h.ok ? (p && p(h.clone()), h.json().then((b) => ({ id: b[n] }))) : (u && u({ response: h }), Promise.reject())));
1634
+ return (0, Ti.jsx)(Rr.UploadInput, { id: t, fileInputName: o.fileInputName, files: l, uploadButtonTitle: e.usLabel, sizeLimit: c ? xr(c) : void 0, fileTypes: s, description: m, onUploadFile: d, onDeleteFile: (f) => (g && g(), Promise.resolve()) });
1629
1635
  };
1630
1636
  var Xt = require("react/jsx-runtime");
1631
- var Bi = (e) => {
1632
- let [t, r] = (0, ct.useState)({}), [o, a] = (0, ct.useState)(null), [n, s] = (0, ct.useState)([]), [c, m] = (0, ct.useState)(false), p = re(), u = Q();
1633
- (0, ct.useEffect)(() => {
1637
+ var Ri = (e) => {
1638
+ let [t, r] = (0, mt.useState)({}), [o, a] = (0, mt.useState)(null), [n, s] = (0, mt.useState)([]), [c, m] = (0, mt.useState)(false), p = re(), u = Q();
1639
+ (0, mt.useEffect)(() => {
1634
1640
  e.submitted && s($e(e.model, e.schema, !!e.required));
1635
1641
  }, [e.model, e.submitted]);
1636
1642
  let y = async (w, v) => {
1637
- let P = await w.json(), x = Bo(e.schema.persistAsync.idProperty, P);
1643
+ let P = await w.json(), x = No(e.schema.persistAsync.idProperty, P);
1638
1644
  e.onChange({ model: x, triggerSchema: e.schema, triggerModel: x }), m(true), u("Dynamic Flow - PersistAsync", { status: "success", schemaId: e.schema.$id });
1639
1645
  }, l = async (w) => {
1640
- if (w.response && pr(w.response.status)) {
1646
+ if (w.response && yr(w.response.status)) {
1641
1647
  let v = await w.response.json();
1642
1648
  r(v.validation || {}), a([e.schema.persistAsync.param]);
1643
1649
  }
1644
1650
  e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null }), m(true), u("Dynamic Flow - PersistAsync", { status: "failure", schemaId: e.schema.$id });
1645
1651
  }, d = () => {
1646
1652
  a(null), e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null }), m(true);
1647
- }, { url: f, method: h } = e.schema.persistAsync, S = o || n, O = { "form-group": true, "has-error": (e.submitted || c) && !!S.length };
1648
- return (0, Xt.jsxs)("div", { className: (0, Ti.default)(O), children: [(0, Xt.jsx)(Di, i({ id: e.schema.$id || e.schema.persistAsync.schema.$id || e.schema.persistAsync.idProperty, fileId: e.model, idProperty: e.schema.persistAsync.idProperty, animationDelay: 0, maxSize: e.schema.persistAsync.schema.maxSize, usLabel: e.schema.title || e.schema.persistAsync.schema.title, usPlaceholder: e.schema.description || e.schema.persistAsync.schema.description, httpOptions: { url: f, method: h, fileInputName: e.schema.persistAsync.param }, httpClient: p, onSuccess: y, onFailure: l, onCancel: d }, Lr(e.schema.persistAsync.schema))), (0, Xt.jsx)(Be, { blurred: true, focused: false, changed: c, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: S, validationMessages: i({ required: "Value is required..." }, t), infoMessage: null })] });
1653
+ }, { url: f, method: h } = e.schema.persistAsync, b = o || n, O = { "form-group": true, "has-error": (e.submitted || c) && !!b.length };
1654
+ return (0, Xt.jsxs)("div", { className: (0, Ni.default)(O), children: [(0, Xt.jsx)(Bi, i({ id: e.schema.$id || e.schema.persistAsync.schema.$id || e.schema.persistAsync.idProperty, fileId: e.model, idProperty: e.schema.persistAsync.idProperty, animationDelay: 0, maxSize: e.schema.persistAsync.schema.maxSize, usLabel: e.schema.title || e.schema.persistAsync.schema.title, usPlaceholder: e.schema.description || e.schema.persistAsync.schema.description, httpOptions: { url: f, method: h, fileInputName: e.schema.persistAsync.param }, httpClient: p, onSuccess: y, onFailure: l, onCancel: d }, Tr(e.schema.persistAsync.schema))), (0, Xt.jsx)(Te, { blurred: true, focused: false, changed: c, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: b, validationMessages: i({ required: "Value is required..." }, t), infoMessage: null })] });
1649
1655
  };
1650
- Bi.defaultProps = { required: false };
1651
- var To = Bi;
1652
- var No = require("react/jsx-runtime");
1653
- var Ni = (e) => {
1656
+ Ri.defaultProps = { required: false };
1657
+ var To = Ri;
1658
+ var Ro = require("react/jsx-runtime");
1659
+ var ji = (e) => {
1654
1660
  let { schema: t } = e;
1655
- return t.persistAsync.schema.type === "blob" ? (0, No.jsx)(To, i({}, e)) : (0, No.jsx)(Lo, i({}, e));
1661
+ return t.persistAsync.schema.type === "blob" ? (0, Ro.jsx)(To, i({}, e)) : (0, Ro.jsx)(Bo, i({}, e));
1656
1662
  };
1657
- Ni.defaultProps = { required: false };
1658
- var Ro = Ni;
1659
- var _i = require("react");
1660
- var Ri = (e, t) => {
1661
- let r = Tr(e, t);
1663
+ ji.defaultProps = { required: false };
1664
+ var jo = ji;
1665
+ var Ki = require("react");
1666
+ var Ui = (e, t) => {
1667
+ let r = Nr(e, t);
1662
1668
  return r !== null ? e.oneOf[r].promoted ? "promoted" : "other" : null;
1663
1669
  };
1664
- var ji = require("@transferwise/components");
1665
- var jo = require("react/jsx-runtime");
1666
- var Ui = (e) => {
1670
+ var zi = require("@transferwise/components");
1671
+ var Uo = require("react/jsx-runtime");
1672
+ var Vi = (e) => {
1667
1673
  let { id: t, selection: r, setSelection: o } = e, { promoted: a, other: n, checkedMeans: s } = e.promotion, c = s === "other" ? n.title : (a == null ? void 0 : a.title) || e.promotedOneOf.title, m = s === "other" ? "other" : "promoted", p = s === "other" ? "promoted" : "other", u = r === m;
1668
- return (0, jo.jsx)("div", { className: "form-group", children: (0, jo.jsx)(ji.Checkbox, { id: t, label: c, checked: u, onChange: () => {
1674
+ return (0, Uo.jsx)("div", { className: "form-group", children: (0, Uo.jsx)(zi.Checkbox, { id: t, label: c, checked: u, onChange: () => {
1669
1675
  o(u ? p : m);
1670
1676
  } }) });
1671
1677
  };
1672
- Ui.defaultProps = {};
1673
- var zi = Ui;
1674
- var Vi = require("@transferwise/components");
1678
+ Vi.defaultProps = {};
1679
+ var Hi = Vi;
1680
+ var qi = require("@transferwise/components");
1675
1681
  var Qt = require("react/jsx-runtime");
1676
- var Hi = (e) => {
1682
+ var $i = (e) => {
1677
1683
  var m, p;
1678
- let { id: t, selection: r, setSelection: o, promotion: a, promotedOneOf: n, title: s } = e, c = [i({ value: "promoted", label: ((m = a.promoted) == null ? void 0 : m.title) || n.title, secondary: ((p = a.promoted) == null ? void 0 : p.description) || n.description }, kt(n)), i({ value: "other", label: a.other.title, secondary: a.other.description }, kt(a.other))];
1679
- return (0, Qt.jsxs)("div", { className: "form-group", children: [s && (0, Qt.jsx)("label", { className: "control-label", htmlFor: t, children: s }), (0, Qt.jsx)(Vi.RadioGroup, { name: "promoted-selection", selectedValue: r, radios: c, id: t, onChange: o })] });
1684
+ let { id: t, selection: r, setSelection: o, promotion: a, promotedOneOf: n, title: s } = e, c = [i({ value: "promoted", label: ((m = a.promoted) == null ? void 0 : m.title) || n.title, secondary: ((p = a.promoted) == null ? void 0 : p.description) || n.description }, Mt(n)), i({ value: "other", label: a.other.title, secondary: a.other.description }, Mt(a.other))];
1685
+ return (0, Qt.jsxs)("div", { className: "form-group", children: [s && (0, Qt.jsx)("label", { className: "control-label", htmlFor: t, children: s }), (0, Qt.jsx)(qi.RadioGroup, { name: "promoted-selection", selectedValue: r, radios: c, id: t, onChange: o })] });
1680
1686
  };
1681
- Hi.defaultProps = { title: void 0 };
1682
- var qi = Hi;
1683
- var Mt = require("react/jsx-runtime");
1684
- var $i = (e) => {
1687
+ $i.defaultProps = { title: void 0 };
1688
+ var Gi = $i;
1689
+ var Et = require("react/jsx-runtime");
1690
+ var _i = (e) => {
1685
1691
  switch (e.promotion.control || "radio") {
1686
1692
  case "radio":
1687
- return (0, Mt.jsx)(qi, i({}, e));
1693
+ return (0, Et.jsx)(Gi, i({}, e));
1688
1694
  case "checkbox":
1689
- return (0, Mt.jsx)(zi, i({}, e));
1695
+ return (0, Et.jsx)(Hi, i({}, e));
1690
1696
  default:
1691
- return (0, Mt.jsx)(Mt.Fragment, {});
1697
+ return (0, Et.jsx)(Et.Fragment, {});
1692
1698
  }
1693
1699
  };
1694
- $i.defaultProps = { id: ve(), title: void 0 };
1695
- var Gi = $i;
1700
+ _i.defaultProps = { id: ve(), title: void 0 };
1701
+ var Wi = _i;
1696
1702
  var je = require("react/jsx-runtime");
1697
- var Wi = (e) => e.promoted === true;
1698
- var Fd = (e) => {
1703
+ var Yi = (e) => e.promoted === true;
1704
+ var wd = (e) => {
1699
1705
  var c;
1700
- let [t, r] = (0, _i.useState)(Ri(e.schema, e.model) || ((c = e.schema.promotion) == null ? void 0 : c.default) || "promoted"), o = e.schema.alert, a = e.schema.oneOf.find(Wi), n = Cd(a), s = xd(e.schema);
1701
- return (0, je.jsxs)(je.Fragment, { children: [o && (0, je.jsx)(ne, { component: o }), (0, je.jsx)(Gi, { id: e.schema.$id, title: e.schema.title, promotedOneOf: a, promotion: e.schema.promotion, selection: t, setSelection: r }), t === "promoted" && (0, je.jsx)(Kt, b(i({}, e), { schema: n })), t === "other" && (0, je.jsx)(me, b(i({}, e), { schema: s }))] });
1706
+ let [t, r] = (0, Ki.useState)(Ui(e.schema, e.model) || ((c = e.schema.promotion) == null ? void 0 : c.default) || "promoted"), o = e.schema.alert, a = e.schema.oneOf.find(Yi), n = Fd(a), s = Cd(e.schema);
1707
+ return (0, je.jsxs)(je.Fragment, { children: [o && (0, je.jsx)(ne, { component: o }), (0, je.jsx)(Wi, { id: e.schema.$id, title: e.schema.title, promotedOneOf: a, promotion: e.schema.promotion, selection: t, setSelection: r }), t === "promoted" && (0, je.jsx)(Kt, S(i({}, e), { schema: n })), t === "other" && (0, je.jsx)(me, S(i({}, e), { schema: s }))] });
1702
1708
  };
1703
- function Cd(e) {
1704
- return b(i({}, e), { title: void 0, description: void 0 });
1709
+ function Fd(e) {
1710
+ return S(i({}, e), { title: void 0, description: void 0 });
1705
1711
  }
1706
- function xd(e) {
1712
+ function Cd(e) {
1707
1713
  var o, a, n;
1708
- let t = (o = e.promotion) != null && o.displayTwice ? [...e.oneOf] : e.oneOf.filter((s) => !Wi(s)), r = (n = (a = e.promotion) == null ? void 0 : a.other.heading) == null ? void 0 : n.text;
1709
- return t.length === 1 ? b(i({}, t[0]), { title: r }) : t.length > 1 ? { title: r, oneOf: t, control: e.control } : null;
1710
- }
1711
- var Uo = Fd;
1712
- var Nr = require("@transferwise/components");
1713
- var Yi = require("react-intl");
1714
- var Ki = require("react-intl");
1715
- var zo = (0, Ki.defineMessages)({ yes: { id: "dynamicFlows.ReadOnlySchema.yes", defaultMessage: "Yes", description: "Yes, used for boolean schemas with a value of true." }, no: { id: "dynamicFlows.ReadOnlySchema.no", defaultMessage: "No", description: "No: used for boolean schemas with a value of false." } });
1716
- var Et = require("react/jsx-runtime");
1717
- var Od = ({ schema: e, model: t }) => {
1718
- let { title: r = "" } = e, { formatMessage: o } = (0, Yi.useIntl)(), a = vd({ schema: e, model: t, formatMessage: o });
1719
- return (0, Et.jsx)(Nr.DefinitionList, { layout: Nr.Layout.VERTICAL_ONE_COLUMN, definitions: [{ title: r, value: a, key: "" }] });
1714
+ let t = (o = e.promotion) != null && o.displayTwice ? [...e.oneOf] : e.oneOf.filter((s) => !Yi(s)), r = (n = (a = e.promotion) == null ? void 0 : a.other.heading) == null ? void 0 : n.text;
1715
+ return t.length === 1 ? S(i({}, t[0]), { title: r }) : t.length > 1 ? { title: r, oneOf: t, control: e.control } : null;
1716
+ }
1717
+ var zo = wd;
1718
+ var jr = require("@transferwise/components");
1719
+ var Zi = require("react-intl");
1720
+ var Ji = require("react-intl");
1721
+ var Vo = (0, Ji.defineMessages)({ yes: { id: "dynamicFlows.ReadOnlySchema.yes", defaultMessage: "Yes", description: "Yes, used for boolean schemas with a value of true." }, no: { id: "dynamicFlows.ReadOnlySchema.no", defaultMessage: "No", description: "No: used for boolean schemas with a value of false." } });
1722
+ var It = require("react/jsx-runtime");
1723
+ var xd = ({ schema: e, model: t }) => {
1724
+ let { title: r = "" } = e, { formatMessage: o } = (0, Zi.useIntl)(), a = Od({ schema: e, model: t, formatMessage: o });
1725
+ return (0, It.jsx)(jr.DefinitionList, { layout: jr.Layout.VERTICAL_ONE_COLUMN, definitions: [{ title: r, value: a, key: "" }] });
1720
1726
  };
1721
- var Vo = Od;
1722
- function vd({ schema: e, model: t, formatMessage: r }) {
1723
- return pe(e) ? oe(e) ? Ad(e, t) : e.type === "boolean" && Oe(t) ? r(t ? zo.yes : zo.no) : t && t.toString() || "" : "";
1727
+ var Ho = xd;
1728
+ function Od({ schema: e, model: t, formatMessage: r }) {
1729
+ return pe(e) ? oe(e) ? vd(e, t) : e.type === "boolean" && Oe(t) ? r(t ? Vo.yes : Vo.no) : t && t.toString() || "" : "";
1724
1730
  }
1725
- function Ad(e, t) {
1726
- let r = Pd(e, t);
1727
- return r ? kd(r) : t;
1731
+ function vd(e, t) {
1732
+ let r = Ad(e, t);
1733
+ return r ? Pd(r) : t;
1728
1734
  }
1729
- function Pd(e, t) {
1735
+ function Ad(e, t) {
1730
1736
  return e.oneOf.find((r) => "const" in r ? t === r.const : false);
1731
1737
  }
1732
- function kd(e) {
1733
- let t = e.title && e.description ? `${e.title} - ${e.description}` : e.title || "", r = kt({ icon: e.icon });
1734
- return r != null && r.avatar ? (0, Et.jsxs)(Et.Fragment, { children: [r.avatar, " ", t] }) : t;
1738
+ function Pd(e) {
1739
+ let t = e.title && e.description ? `${e.title} - ${e.description}` : e.title || "", r = Mt({ icon: e.icon });
1740
+ return r != null && r.avatar ? (0, It.jsxs)(It.Fragment, { children: [r.avatar, " ", t] }) : t;
1735
1741
  }
1736
1742
  var Me = require("react");
1737
- var Zi = require("react/jsx-runtime");
1738
- var Ji = (e) => {
1739
- let { schema: t, model: r, required: o, submitted: a, errors: n, onChange: s } = e, [c, m] = (0, Me.useState)(r), p = (0, Me.useRef)(null), [u, g] = (0, Me.useState)(null), [y, l] = (0, Me.useState)(null), [d, f] = (0, Me.useState)(false), [h, S] = (0, Me.useState)(null), O = re(), w = Q(), v = ht();
1743
+ var Qi = require("react/jsx-runtime");
1744
+ var Xi = (e) => {
1745
+ let { schema: t, model: r, required: o, submitted: a, errors: n, onChange: s } = e, [c, m] = (0, Me.useState)(r), p = (0, Me.useRef)(null), [u, g] = (0, Me.useState)(null), [y, l] = (0, Me.useState)(null), [d, f] = (0, Me.useState)(false), [h, b] = (0, Me.useState)(null), O = re(), w = Q(), v = gt();
1740
1746
  (0, Me.useEffect)(() => {
1741
1747
  t.validationAsync.method || v.warning("Invalid schema or model", 'ValidationAsyncSchema without a "method" property would have defaulted to "GET" in previous versions. Now defaults to "POST".', {});
1742
1748
  }, [v, t.validationAsync.method]);
1743
- let P = async (T, H) => {
1744
- let F = x(), j = { [H.param]: T };
1745
- p.current = T, f(true), w("Dynamic Flow - ValidationAsync", { status: "pending" });
1746
- let I = await O(H.url, { method: H.method || "POST", headers: { "Content-Type": "application/json" }, body: H.method === "GET" ? void 0 : JSON.stringify(j), signal: F });
1749
+ let P = async (B, H) => {
1750
+ let F = x(), U = { [H.param]: B };
1751
+ p.current = B, f(true), w("Dynamic Flow - ValidationAsync", { status: "pending" });
1752
+ let D = await O(H.url, { method: H.method || "POST", headers: { "Content-Type": "application/json" }, body: H.method === "GET" ? void 0 : JSON.stringify(U), signal: F });
1747
1753
  try {
1748
- let $ = await I.json();
1754
+ let $ = await D.json();
1749
1755
  if (!N($))
1750
1756
  throw new Error("Response body is not an object");
1751
- w("Dynamic Flow - ValidationAsync", { status: "success" }), I.status === 200 ? g(M($.message) ? $.message : null) : I.status === 422 && l(M($.message) ? $.message : null);
1757
+ w("Dynamic Flow - ValidationAsync", { status: "success" }), D.status === 200 ? g(E($.message) ? $.message : null) : D.status === 422 && l(E($.message) ? $.message : null);
1752
1758
  } catch ($) {
1753
1759
  w("Dynamic Flow - ValidationAsync", { status: "failure" });
1754
1760
  }
1755
1761
  }, x = () => {
1756
1762
  h && h.abort();
1757
- let T = new AbortController();
1758
- return S(T), T.signal;
1763
+ let B = new AbortController();
1764
+ return b(B), B.signal;
1759
1765
  };
1760
- return (0, Zi.jsx)(mt, i({}, { submitted: a || d, model: c, errors: y || n, infoMessage: u, onChange: (T) => {
1761
- s(b(i({}, T), { triggerSchema: t, triggerModel: T.model })), l(null), g(null), G(T.model, t) && m(T.model);
1766
+ return (0, Qi.jsx)(dt, i({}, { submitted: a || d, model: c, errors: y || n, infoMessage: u, onChange: (B) => {
1767
+ s(S(i({}, B), { triggerSchema: t, triggerModel: B.model })), l(null), g(null), G(B.model, t) && m(B.model);
1762
1768
  }, onBlur: () => {
1763
1769
  !A(c) && !Ge(c, p.current) && P(c, t.validationAsync);
1764
1770
  }, required: o, schema: t }));
1765
1771
  };
1766
- Ji.defaultProps = { required: false };
1767
- var Ho = Ji;
1772
+ Xi.defaultProps = { required: false };
1773
+ var qo = Xi;
1768
1774
  var de = require("react/jsx-runtime");
1769
- var Qi = require("react");
1770
- var Md = (e) => {
1771
- let { schema: t, model: r = null, errors: o = null, hideTitle: a = false, disabled: n = false } = e, s = b(i({}, e), { model: r, errors: o, hideTitle: a, disabled: n }), c = Cr(t), m = ht();
1772
- switch ((0, Xi.useEffect)(() => {
1773
- Ed(t, r, o) || m.error("Invalid schema or model", `Schema of type ${c || "undefined"} requested, but schema did not pass validation.`);
1774
- }, [t, r, o, c, m]), c) {
1775
+ var ts = require("react");
1776
+ var kd = (e) => {
1777
+ let { schema: t, model: r = null, errors: o = null, hideTitle: a = false, disabled: n = false } = e, s = S(i({}, e), { model: r, errors: o, hideTitle: a, disabled: n }), c = Or(t), m = gt();
1778
+ switch ((0, es.useEffect)(() => {
1779
+ Md(t, r, o) || m.error("Invalid schema or model", `Schema of type ${c || "undefined"} requested, but schema did not pass validation.`);
1780
+ }, [JSON.stringify(t), JSON.stringify(r), JSON.stringify(o), c, m]), c) {
1775
1781
  case "readOnly":
1776
- return (0, de.jsx)(Vo, i({}, s));
1782
+ return (0, de.jsx)(Ho, i({}, s));
1777
1783
  case "persistAsync":
1778
- return (0, de.jsx)(Ro, i({}, s));
1784
+ return (0, de.jsx)(jo, i({}, s));
1779
1785
  case "validationAsync":
1780
- return (0, de.jsx)(Ho, i({}, s));
1786
+ return (0, de.jsx)(qo, i({}, s));
1781
1787
  case "basic": {
1782
1788
  let p = i({ infoMessage: null }, s);
1783
- return (0, de.jsx)(mt, i({}, p));
1789
+ return (0, de.jsx)(dt, i({}, p));
1784
1790
  }
1785
1791
  case "object":
1786
- return (0, Qi.createElement)(Kt, b(i({}, s), { key: JSON.stringify(t) }));
1792
+ return (0, ts.createElement)(Kt, S(i({}, s), { key: JSON.stringify(t) }));
1787
1793
  case "array":
1788
- return (0, de.jsx)(Oo, i({}, s));
1794
+ return (0, de.jsx)(vo, i({}, s));
1789
1795
  case "promotedOneOf":
1790
- return (0, de.jsx)(Uo, i({}, s));
1796
+ return (0, de.jsx)(zo, i({}, s));
1791
1797
  case "oneOf":
1792
- return (0, de.jsx)(Do, i({}, s));
1798
+ return (0, de.jsx)(Lo, i({}, s));
1793
1799
  case "allOf":
1794
- return (0, de.jsx)(Fo, i({}, s));
1800
+ return (0, de.jsx)(Co, i({}, s));
1795
1801
  }
1796
1802
  return (0, de.jsx)(de.Fragment, {});
1797
1803
  };
1798
- var me = Md;
1799
- var Ed = (e, t, r) => {
1800
- switch (Cr(e)) {
1804
+ var me = kd;
1805
+ var Md = (e, t, r) => {
1806
+ switch (Or(e)) {
1801
1807
  case "persistAsync":
1802
- return bt(e) && Ha(t) && gt(r);
1808
+ return St(e) && $a(t) && bt(r);
1803
1809
  case "validationAsync":
1804
- return Vt(e) && ao(t) && gt(r);
1810
+ return Vt(e) && no(t) && bt(r);
1805
1811
  case "basic":
1806
- return pe(e) && ao(t) && gt(r);
1812
+ return pe(e) && no(t) && bt(r);
1807
1813
  case "object":
1808
- return ce(e) && oo(t);
1814
+ return ce(e) && ao(t);
1809
1815
  case "array":
1810
- return fe(e) && qa(t) && gt(r);
1816
+ return fe(e) && Ga(t) && bt(r);
1811
1817
  case "promotedOneOf":
1812
- return Ut(e) && oo(t);
1818
+ return Ut(e) && ao(t);
1813
1819
  case "oneOf":
1814
1820
  return oe(e);
1815
1821
  case "allOf":
1816
- return zt(e) && Z(t);
1822
+ return zt(e) && J(t);
1817
1823
  }
1818
1824
  return false;
1819
1825
  };
1820
- var dt = require("react/jsx-runtime");
1821
- var Id = (e) => {
1826
+ var ut = require("react/jsx-runtime");
1827
+ var Ed = (e) => {
1822
1828
  let t = i({ model: null, errors: null, disabled: false, baseUrl: "" }, e);
1823
- return br() || t.baseUrl == null ? (0, dt.jsx)(me, i({}, t)) : (0, dt.jsx)(Dd, { baseUrl: t.baseUrl, onEvent: t.onEvent, onLog: t.onLog, children: (0, dt.jsx)(me, i({}, t)) });
1829
+ return wr() || t.baseUrl == null ? (0, ut.jsx)(me, i({}, t)) : (0, ut.jsx)(Id, { baseUrl: t.baseUrl, onEvent: t.onEvent, onLog: t.onLog, children: (0, ut.jsx)(me, i({}, t)) });
1824
1830
  };
1825
- var er = Id;
1826
- var Dd = ({ baseUrl: e, onEvent: t, onLog: r, children: o }) => (0, dt.jsx)(Sr, { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm", onLog: r != null ? r : es, children: (0, dt.jsx)(ur, { metadata: { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm" }, onEvent: t != null ? t : es, children: (0, dt.jsx)(gr, { baseUrl: e, children: o }) }) });
1827
- var es = () => {
1831
+ var er = Ed;
1832
+ var Id = ({ baseUrl: e, onEvent: t, onLog: r, children: o }) => (0, ut.jsx)(Fr, { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm", onLog: r != null ? r : rs, children: (0, ut.jsx)(fr, { metadata: { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm" }, onEvent: t != null ? t : rs, children: (0, ut.jsx)(Sr, { baseUrl: e, children: o }) }) });
1833
+ var rs = () => {
1828
1834
  };
1829
- var qo = require("react/jsx-runtime");
1830
- var Ld = (e) => {
1835
+ var $o = require("react/jsx-runtime");
1836
+ var Dd = (e) => {
1831
1837
  let t = e.component, r = t.schema;
1832
- return (0, qo.jsx)("div", { className: z(t.margin || "md"), children: (0, qo.jsx)(er, { schema: r, model: e.model, submitted: e.submitted, errors: e.errors, onChange: (o) => {
1838
+ return (0, $o.jsx)("div", { className: z(t.margin || "md"), children: (0, $o.jsx)(er, { schema: r, model: e.model, submitted: e.submitted, errors: e.errors, onChange: (o) => {
1833
1839
  e.onModelChange(i({ formSchema: r }, o));
1834
1840
  }, onPersistAsync: e.onPersistAsync }) });
1835
1841
  };
1836
- var $o = Ld;
1837
- var It = require("react/jsx-runtime");
1838
- var Td = (e) => {
1842
+ var Go = Dd;
1843
+ var Dt = require("react/jsx-runtime");
1844
+ var Ld = (e) => {
1839
1845
  let { text: t, size: r = "md", align: o = "left", margin: a = "md" } = e.component, n = Le({ align: o, margin: a });
1840
1846
  switch (r) {
1841
1847
  case "xs":
1842
- return (0, It.jsx)("h5", { className: n, children: t });
1848
+ return (0, Dt.jsx)("h5", { className: n, children: t });
1843
1849
  case "sm":
1844
- return (0, It.jsx)("h4", { className: n, children: t });
1850
+ return (0, Dt.jsx)("h4", { className: n, children: t });
1845
1851
  case "lg":
1846
- return (0, It.jsx)("h2", { className: n, children: t });
1852
+ return (0, Dt.jsx)("h2", { className: n, children: t });
1847
1853
  case "xl":
1848
- return (0, It.jsx)("h1", { className: n, children: t });
1854
+ return (0, Dt.jsx)("h1", { className: n, children: t });
1849
1855
  case "md":
1850
1856
  default:
1851
- return (0, It.jsx)("h3", { className: n, children: t });
1857
+ return (0, Dt.jsx)("h3", { className: n, children: t });
1852
1858
  }
1853
1859
  };
1854
- var Go = Td;
1855
- var _o = require("@transferwise/components");
1860
+ var _o = Ld;
1861
+ var Wo = require("@transferwise/components");
1856
1862
  var tr = require("react/jsx-runtime");
1857
- var Wo = ({ component: e }) => {
1863
+ var Ko = ({ component: e }) => {
1858
1864
  let { content: t, align: r, margin: o } = e;
1859
- return (0, tr.jsx)("div", { className: Le({ align: r, margin: o }), children: (0, tr.jsx)(_o.Markdown, { config: { link: { target: "_blank" } }, children: t }) });
1865
+ return (0, tr.jsx)("div", { className: Le({ align: r, margin: o }), children: (0, tr.jsx)(Wo.Markdown, { config: { link: { target: "_blank" } }, children: t }) });
1860
1866
  };
1861
- var Ko = ({ component: e }) => (0, tr.jsx)("div", { className: Le(e), children: (0, tr.jsx)(_o.Markdown, { config: { link: { target: "_blank" } }, children: e.markdown }) });
1862
- var ts = require("@transferwise/components");
1863
- var Rr = require("react");
1864
- var Yo = require("react/jsx-runtime");
1867
+ var Yo = ({ component: e }) => (0, tr.jsx)("div", { className: Le(e), children: (0, tr.jsx)(Wo.Markdown, { config: { link: { target: "_blank" } }, children: e.markdown }) });
1868
+ var os = require("@transferwise/components");
1869
+ var Ur = require("react");
1870
+ var Jo = require("react/jsx-runtime");
1865
1871
  var Bd = ({ component: e }) => {
1866
- let { url: t, size: r, text: o, margin: a } = e, n = re(), [s, c] = (0, Rr.useState)("");
1867
- (0, Rr.useEffect)(() => {
1868
- Rd(n, t).then(c);
1872
+ let { url: t, size: r, text: o, margin: a } = e, n = re(), [s, c] = (0, Ur.useState)("");
1873
+ (0, Ur.useEffect)(() => {
1874
+ Nd(n, t).then(c);
1869
1875
  }, [t, n]);
1870
1876
  let m = { alt: o || "", src: s, stretch: true, shrink: true };
1871
- return s ? (0, Yo.jsx)("div", { className: `df-image ${r || "xl"}`, children: (0, Yo.jsx)(ts.Image, i({ className: `img-responsive ${z(a || "lg")}` }, m)) }) : null;
1877
+ return s ? (0, Jo.jsx)("div", { className: `df-image ${r || "xl"}`, children: (0, Jo.jsx)(os.Image, i({ className: `img-responsive ${z(a || "lg")}` }, m)) }) : null;
1872
1878
  };
1873
- var Nd = (e) => new Promise((t, r) => {
1879
+ var Td = (e) => new Promise((t, r) => {
1874
1880
  let o = new FileReader();
1875
1881
  o.addEventListener("loadend", () => t(o.result)), o.addEventListener("error", (a) => r(a)), o.readAsDataURL(e);
1876
1882
  });
1877
- var Rd = async (e, t) => {
1883
+ var Nd = async (e, t) => {
1878
1884
  var r;
1879
1885
  try {
1880
- return fr(t) || (t == null ? void 0 : t.indexOf(`${(r = window == null ? void 0 : window.location) == null ? void 0 : r.origin}/`)) === 0 ? e(t, { method: "GET", headers: { "Content-Type": "image/image" }, credentials: "same-origin" }).then((o) => {
1886
+ return hr(t) || (t == null ? void 0 : t.indexOf(`${(r = window == null ? void 0 : window.location) == null ? void 0 : r.origin}/`)) === 0 ? e(t, { method: "GET", headers: { "Content-Type": "image/image" }, credentials: "same-origin" }).then((o) => {
1881
1887
  if (o.ok)
1882
1888
  return o.blob();
1883
1889
  throw new Error("Image fetching failed");
1884
- }).then(Nd).catch(() => t) : t;
1890
+ }).then(Td).catch(() => t) : t;
1885
1891
  } catch (o) {
1886
1892
  return t;
1887
1893
  }
1888
1894
  };
1889
- var Jo = Bd;
1895
+ var Zo = Bd;
1890
1896
  var V = require("react/jsx-runtime");
1891
1897
  var X = (e) => JSON.stringify(e);
1892
- var jd = (e) => {
1898
+ var Rd = (e) => {
1893
1899
  let { components: t, model: r, submitted: o, errors: a, onModelChange: n, onAction: s, onPersistAsync: c, baseUrl: m } = e, p = (u) => {
1894
1900
  switch (u.type) {
1895
1901
  case "heading":
1896
- return (0, V.jsx)(Go, { component: u }, X(u));
1902
+ return (0, V.jsx)(_o, { component: u }, X(u));
1897
1903
  case "paragraph":
1898
- return (0, V.jsx)(Qo, { component: u }, X(u));
1904
+ return (0, V.jsx)(ea, { component: u }, X(u));
1899
1905
  case "image":
1900
- return (0, V.jsx)(Jo, { component: u }, X(u));
1906
+ return (0, V.jsx)(Zo, { component: u }, X(u));
1901
1907
  case "alert":
1902
1908
  return (0, V.jsx)(ne, { component: u }, X(u));
1903
1909
  case "review":
1904
- return (0, V.jsx)(ea, { component: u, onAction: s }, X(u));
1910
+ return (0, V.jsx)(ta, { component: u, onAction: s }, X(u));
1905
1911
  case "divider":
1906
- return (0, V.jsx)(So, { component: u }, X(u));
1912
+ return (0, V.jsx)(wo, { component: u }, X(u));
1907
1913
  case "info":
1908
- return (0, V.jsx)(Ko, { component: u }, X(u));
1914
+ return (0, V.jsx)(Yo, { component: u }, X(u));
1909
1915
  case "markdown":
1910
- return (0, V.jsx)(Wo, { component: u }, X(u));
1916
+ return (0, V.jsx)(Ko, { component: u }, X(u));
1911
1917
  case "columns":
1912
- return (0, V.jsx)(go, { component: u, model: r, submitted: o, errors: a, onModelChange: n, onAction: s, onPersistAsync: c }, X(u));
1918
+ return (0, V.jsx)(bo, { component: u, model: r, submitted: o, errors: a, onModelChange: n, onAction: s, onPersistAsync: c }, X(u));
1913
1919
  case "form":
1914
- return (0, V.jsx)($o, { component: u, model: r, submitted: o, errors: a, onModelChange: n, onPersistAsync: c }, X(b(i({}, u), { errors: a })));
1920
+ return (0, V.jsx)(Go, { component: u, model: r, submitted: o, errors: a, onModelChange: n, onPersistAsync: c }, X(S(i({}, u), { errors: a })));
1915
1921
  case "button":
1916
- return (0, V.jsx)(ho, { component: u, onAction: s }, X(u));
1922
+ return (0, V.jsx)(go, { component: u, onAction: s }, X(u));
1917
1923
  case "box":
1918
- return (0, V.jsx)(yo, { component: u, model: r, submitted: o, errors: a, onModelChange: n, onAction: s, onPersistAsync: c }, X(u));
1924
+ return (0, V.jsx)(ho, { component: u, model: r, submitted: o, errors: a, onModelChange: n, onAction: s, onPersistAsync: c }, X(u));
1919
1925
  case "decision":
1920
- return (0, V.jsx)(bo, { component: u, onAction: s }, X(u));
1926
+ return (0, V.jsx)(So, { component: u, onAction: s }, X(u));
1921
1927
  case "external":
1922
- return (0, V.jsx)(wo, { component: u, onAction: s }, X(u));
1928
+ return (0, V.jsx)(Fo, { component: u, onAction: s }, X(u));
1923
1929
  case "list":
1924
- return (0, V.jsx)(Zo, { component: u, onAction: s }, X(u));
1930
+ return (0, V.jsx)(Xo, { component: u, onAction: s }, X(u));
1925
1931
  case "loading-indicator":
1926
- return (0, V.jsx)(Xo, { component: u }, X(u));
1932
+ return (0, V.jsx)(Qo, { component: u }, X(u));
1927
1933
  default:
1928
1934
  return (0, V.jsx)("div", {}, X(u));
1929
1935
  }
1930
1936
  };
1931
- return br() || m == null ? (0, V.jsx)(V.Fragment, { children: t.map(p) }) : (0, V.jsx)(gr, { baseUrl: m, children: t.map(p) });
1932
- };
1933
- var ie = jd;
1934
- var rs = require("@transferwise/components");
1935
- var Dt = require("react/jsx-runtime");
1936
- var Ud = ({ component: e }) => (0, Dt.jsxs)("div", { className: z(e.margin || "md"), children: [e.title ? (0, Dt.jsxs)("h4", { className: "m-b-2", children: [" ", e.title, " "] }) : null, e.items.map(zd)] });
1937
- function zd({ title: e, description: t, icon: r, status: o }) {
1938
- let a = i(i({ key: `${e}/${t || ""}`, title: e, description: t }, r != null && r.name ? { icon: (0, Dt.jsx)(We, { type: r.name }) } : {}), o ? { status: Vd[o] } : {});
1939
- return (0, Dt.jsx)(rs.Summary, i({}, a));
1940
- }
1941
- var Vd = { positive: "done", warning: "pending", neutral: "notDone" };
1942
- var Zo = Ud;
1943
- var os = require("@transferwise/components");
1944
- var as = require("react/jsx-runtime");
1945
- var Hd = ({ component: e }) => {
1937
+ return wr() || m == null ? (0, V.jsx)(V.Fragment, { children: t.map(p) }) : (0, V.jsx)(Sr, { baseUrl: m, children: t.map(p) });
1938
+ };
1939
+ var ie = Rd;
1940
+ var as = require("@transferwise/components");
1941
+ var Lt = require("react/jsx-runtime");
1942
+ var jd = ({ component: e }) => (0, Lt.jsxs)("div", { className: z(e.margin || "md"), children: [e.title ? (0, Lt.jsxs)("h4", { className: "m-b-2", children: [" ", e.title, " "] }) : null, e.items.map(Ud)] });
1943
+ function Ud({ title: e, description: t, icon: r, status: o }) {
1944
+ let a = i(i({ key: `${e}/${t || ""}`, title: e, description: t }, r != null && r.name ? { icon: (0, Lt.jsx)(We, { type: r.name }) } : {}), o ? { status: zd[o] } : {});
1945
+ return (0, Lt.jsx)(as.Summary, i({}, a));
1946
+ }
1947
+ var zd = { positive: "done", warning: "pending", neutral: "notDone" };
1948
+ var Xo = jd;
1949
+ var ns = require("@transferwise/components");
1950
+ var is = require("react/jsx-runtime");
1951
+ var Vd = ({ component: e }) => {
1946
1952
  let { margin: t, size: r = "md" } = e;
1947
- return (0, as.jsx)(os.Loader, { size: r, classNames: { "tw-loader": `tw-loader m-x-auto ${z(t)}` }, "data-testid": "loading-indicator" });
1953
+ return (0, is.jsx)(ns.Loader, { size: r, classNames: { "tw-loader": `tw-loader m-x-auto ${z(t)}` }, "data-testid": "loading-indicator" });
1948
1954
  };
1949
- var Xo = Hd;
1950
- var cs = require("@transferwise/components");
1951
- var ms = require("react-intl");
1952
- var ns = require("react-intl");
1953
- var ta = (0, ns.defineMessages)({ copy: { id: "dynamicFlows.DynamicParagraph.copy", defaultMessage: "Copy", description: "Copy to clipboard button label." }, copied: { id: "dynamicFlows.DynamicParagraph.copied", defaultMessage: "Copied to clipboard", description: "Appears in a snackbar when the copy operation succeeds." } });
1954
- var is = require("@transferwise/components");
1955
- var ss = require("react");
1956
- function ls() {
1957
- let e = (0, ss.useContext)(is.SnackbarContext);
1958
- return e ? e.createSnackbar : qd;
1955
+ var Qo = Vd;
1956
+ var ds = require("@transferwise/components");
1957
+ var us = require("react-intl");
1958
+ var ss = require("react-intl");
1959
+ var ra = (0, ss.defineMessages)({ copy: { id: "dynamicFlows.DynamicParagraph.copy", defaultMessage: "Copy", description: "Copy to clipboard button label." }, copied: { id: "dynamicFlows.DynamicParagraph.copied", defaultMessage: "Copied to clipboard", description: "Appears in a snackbar when the copy operation succeeds." } });
1960
+ var ls = require("@transferwise/components");
1961
+ var cs = require("react");
1962
+ function ms() {
1963
+ let e = (0, cs.useContext)(ls.SnackbarContext);
1964
+ return e ? e.createSnackbar : Hd;
1959
1965
  }
1960
- function qd() {
1966
+ function Hd() {
1961
1967
  }
1962
1968
  var Je = require("react/jsx-runtime");
1963
- var $d = ({ component: e }) => e.control === "copyable" ? (0, Je.jsx)(_d, { component: e }) : (0, Je.jsx)(Gd, { component: e });
1964
- var Gd = ({ component: e }) => (0, Je.jsxs)("p", { className: Le(e), children: [" ", e.text, " "] });
1965
- var _d = ({ component: e }) => {
1966
- let { formatMessage: t } = (0, ms.useIntl)(), r = ls(), { text: o } = e, a = () => {
1969
+ var qd = ({ component: e }) => e.control === "copyable" ? (0, Je.jsx)(Gd, { component: e }) : (0, Je.jsx)($d, { component: e });
1970
+ var $d = ({ component: e }) => (0, Je.jsxs)("p", { className: Le(e), children: [" ", e.text, " "] });
1971
+ var Gd = ({ component: e }) => {
1972
+ let { formatMessage: t } = (0, us.useIntl)(), r = ms(), { text: o } = e, a = () => {
1967
1973
  var s;
1968
- (s = navigator.clipboard) == null || s.writeText(o).then(() => r({ text: t(ta.copied) })).catch(Wd);
1974
+ (s = navigator.clipboard) == null || s.writeText(o).then(() => r({ text: t(ra.copied) })).catch(_d);
1969
1975
  }, n = Le({ align: e.align, margin: "sm" }) + " form-control";
1970
- return (0, Je.jsxs)("div", { className: Le(e), children: [(0, Je.jsx)("input", { type: "text", className: n, value: o, readOnly: true, style: { textOverflow: "ellipsis" } }), (0, Je.jsx)(cs.Button, { block: true, onClick: a, children: t(ta.copy) })] });
1976
+ return (0, Je.jsxs)("div", { className: Le(e), children: [(0, Je.jsx)("input", { type: "text", className: n, value: o, readOnly: true, style: { textOverflow: "ellipsis" } }), (0, Je.jsx)(ds.Button, { block: true, onClick: a, children: t(ra.copy) })] });
1971
1977
  };
1972
- function Wd() {
1978
+ function _d() {
1973
1979
  }
1974
- var Qo = $d;
1975
- var ds = require("@transferwise/components");
1980
+ var ea = qd;
1981
+ var ps = require("@transferwise/components");
1976
1982
  var Ue = require("react/jsx-runtime");
1977
- var Kd = ({ label: e, value: t }, r) => ({ key: String(r), title: e, value: t });
1978
- var Yd = (e) => e === "horizontal" ? "HORIZONTAL_RIGHT_ALIGNED" : "VERTICAL_ONE_COLUMN";
1979
- var Jd = (e) => {
1983
+ var Wd = ({ label: e, value: t }, r) => ({ key: String(r), title: e, value: t });
1984
+ var Kd = (e) => e === "horizontal" ? "HORIZONTAL_RIGHT_ALIGNED" : "VERTICAL_ONE_COLUMN";
1985
+ var Yd = (e) => {
1980
1986
  let t = e.component, r = z(t.margin || "xs"), o = (a) => (0, Ue.jsx)("a", { href: a.url, className: "pull-right", role: "button", onClick: (n) => {
1981
1987
  n.preventDefault(), e.onAction(a);
1982
1988
  }, children: a.title });
1983
- return (0, Ue.jsxs)(Ue.Fragment, { children: [t.title && (0, Ue.jsxs)("h6", { className: "m-b-2", children: [t.title, t.action && o(t.action)] }), (0, Ue.jsx)("div", { className: r, children: (0, Ue.jsx)(ds.DefinitionList, { layout: Yd(t.orientation), definitions: t.fields.map(Kd) }) })] });
1989
+ return (0, Ue.jsxs)(Ue.Fragment, { children: [t.title && (0, Ue.jsxs)("h6", { className: "m-b-2", children: [t.title, t.action && o(t.action)] }), (0, Ue.jsx)("div", { className: r, children: (0, Ue.jsx)(ps.DefinitionList, { layout: Kd(t.orientation), definitions: t.fields.map(Wd) }) })] });
1984
1990
  };
1985
- var ea = Jd;
1991
+ var ta = Yd;
1986
1992
  var le = require("react/jsx-runtime");
1987
- var ra = (e) => A(e) || K(e);
1988
- var Zd = (e) => e.type === "boolean" && ra(e.default) ? false : e.default;
1989
- var ps = (e) => {
1990
- var H, F, j;
1991
- let t = (I) => {
1992
- y(true), o(a(I), "user");
1993
- }, r = (I) => $e(I, e.schema, e.required), o = (I, $) => {
1994
- m(I);
1995
- let He = r(I);
1993
+ var oa = (e) => A(e) || K(e);
1994
+ var Jd = (e) => e.type === "boolean" && oa(e.default) ? false : e.default;
1995
+ var ys = (e) => {
1996
+ var H, F, U;
1997
+ let t = (D) => {
1998
+ y(true), o(a(D), "user");
1999
+ }, r = (D) => $e(D, e.schema, e.required), o = (D, $) => {
2000
+ m(D);
2001
+ let He = r(D);
1996
2002
  O(He);
1997
- let ue = I;
2003
+ let ue = D;
1998
2004
  u(ue), ue !== p && e.onChange({ model: ue, triggerSchema: e.schema, triggerModel: ue, lastTriggerModel: p, type: $ });
1999
- }, a = (I) => De(I, e.schema), n = () => d(true), s = () => {
2005
+ }, a = (D) => De(D, e.schema), n = () => d(true), s = () => {
2000
2006
  d(false), h(true), e.onBlur && e.onBlur();
2001
- }, [c, m] = (0, se.useState)((H = e.model) != null ? H : null), [p, u] = (0, se.useState)((F = e.model) != null ? F : null), [g, y] = (0, se.useState)(false), [l, d] = (0, se.useState)(false), [f, h] = (0, se.useState)(false), [S, O] = (0, se.useState)([]), w = (0, se.useMemo)(() => e.schema.$id || ve(), [e.schema.$id]), v = () => {
2002
- let I = Zd(e.schema);
2003
- ra(c) && !ra(I) && o(I, "init"), e.schema.const && o(e.schema.const, "init");
2007
+ }, [c, m] = (0, se.useState)((H = e.model) != null ? H : null), [p, u] = (0, se.useState)((F = e.model) != null ? F : null), [g, y] = (0, se.useState)(false), [l, d] = (0, se.useState)(false), [f, h] = (0, se.useState)(false), [b, O] = (0, se.useState)([]), w = (0, se.useMemo)(() => e.schema.$id || ve(), [e.schema.$id]), v = () => {
2008
+ let D = Jd(e.schema);
2009
+ oa(c) && !oa(D) && o(D, "init"), e.schema.const && o(e.schema.const, "init");
2004
2010
  }, P = () => {
2005
2011
  O(r(c));
2006
- }, x = e.schema.const, E = e.schema.hidden || x;
2012
+ }, x = e.schema.const, I = e.schema.hidden || x;
2007
2013
  (0, se.useEffect)(P, [e.model, e.submitted]), (0, se.useEffect)(v, [e.schema]), (0, se.useEffect)(() => {
2008
2014
  var $;
2009
- let I = ($ = e.model) != null ? $ : null;
2010
- I !== c && m(I);
2015
+ let D = ($ = e.model) != null ? $ : null;
2016
+ D !== c && m(D);
2011
2017
  }, [e.model]);
2012
- let L = { "form-group": true, "has-error": (e.submitted || !g) && !!e.errors || (e.submitted || g && f) && !!S.length, "has-info": l && !!e.schema.description || !!e.infoMessage }, k = e.schema.format !== "file" && e.schema.type !== "boolean", T = e.schema.help;
2013
- return E ? null : (0, le.jsxs)(le.Fragment, { children: [e.schema.alert && (0, le.jsx)(ne, { component: e.schema.alert }), (0, le.jsxs)("div", { className: (0, us.default)(L), children: [k && (0, le.jsxs)("div", { className: "d-inline-block", children: [(0, le.jsx)("label", { className: "control-label d-inline", htmlFor: w, children: e.schema.title }), !!T && (0, le.jsx)(Ot, { help: T })] }), !k && !!T && (0, le.jsx)(Ot, { help: T }), (0, le.jsx)(Yt, { id: w, schema: e.schema, value: c, disabled: !!e.disabled, onChange: t, onFocus: n, onBlur: s }), (0, le.jsx)(Be, { changed: g, focused: l, blurred: f, submitted: e.submitted, errors: (j = e.errors) != null ? j : null, schema: e.schema, validations: S, infoMessage: e.infoMessage })] })] });
2014
- };
2015
- ps.defaultProps = { required: false, disabled: false, onBlur: null };
2016
- var mt = ps;
2017
- var gs = require("react/jsx-runtime");
2018
- var Bo = (e, t) => t[e];
2019
- var ys = (e, t) => {
2018
+ let L = { "form-group": true, "has-error": (e.submitted || !g) && !!e.errors || (e.submitted || g && f) && !!b.length, "has-info": l && !!e.schema.description || !!e.infoMessage }, k = e.schema.format !== "file" && e.schema.type !== "boolean", B = e.schema.help;
2019
+ return I ? null : (0, le.jsxs)(le.Fragment, { children: [e.schema.alert && (0, le.jsx)(ne, { component: e.schema.alert }), (0, le.jsxs)("div", { className: (0, fs.default)(L), children: [k && (0, le.jsxs)("div", { className: "d-inline-block", children: [(0, le.jsx)("label", { className: "control-label d-inline", htmlFor: w, children: e.schema.title }), !!B && (0, le.jsx)(vt, { help: B })] }), !k && !!B && (0, le.jsx)(vt, { help: B }), (0, le.jsx)(Yt, { id: w, schema: e.schema, value: c, disabled: !!e.disabled, onChange: t, onFocus: n, onBlur: s }), (0, le.jsx)(Te, { changed: g, focused: l, blurred: f, submitted: e.submitted, errors: (U = e.errors) != null ? U : null, schema: e.schema, validations: b, infoMessage: e.infoMessage })] })] });
2020
+ };
2021
+ ys.defaultProps = { required: false, disabled: false, onBlur: null };
2022
+ var dt = ys;
2023
+ var Ss = require("react/jsx-runtime");
2024
+ var No = (e, t) => t[e];
2025
+ var gs = (e, t) => {
2020
2026
  var r;
2021
2027
  return (r = t.validation) == null ? void 0 : r[e];
2022
2028
  };
2023
- var Xd = /* @__PURE__ */ new Set([R.RADIO, R.SELECT, R.DATELOOKUP, R.FILE, R.UPLOAD]);
2024
- var hs = (e) => {
2025
- let t = (0, fs.useIntl)(), r = re(), o = Q(), [a, n] = (0, ut.useState)(null), s = bs(a), [c, m] = (0, ut.useState)(null), [p, u] = (0, ut.useState)(false), [g, y] = (0, ut.useState)(null);
2026
- (0, ut.useEffect)(() => {
2027
- Xd.has(Io(e.schema.persistAsync.schema)) && h();
2029
+ var Zd = /* @__PURE__ */ new Set([R.RADIO, R.SELECT, R.DATELOOKUP, R.FILE, R.UPLOAD]);
2030
+ var bs = (e) => {
2031
+ let t = (0, hs.useIntl)(), r = re(), o = Q(), [a, n] = (0, pt.useState)(null), s = ws(a), [c, m] = (0, pt.useState)(null), [p, u] = (0, pt.useState)(false), [g, y] = (0, pt.useState)(null);
2032
+ (0, pt.useEffect)(() => {
2033
+ Zd.has(Do(e.schema.persistAsync.schema)) && h();
2028
2034
  }, [a]);
2029
2035
  let l = () => m(t.formatMessage(_t.genericError)), d = async (w, v) => {
2030
2036
  let P = f(), x = { [v.param]: w };
2031
2037
  u(true);
2032
2038
  try {
2033
- o("Dynamic Flow - PersistAsync", { status: "pending", schemaId: vr.$id });
2034
- let E = r(v.url, { method: v.method, headers: { "Content-Type": "application/json" }, body: JSON.stringify(x), signal: P });
2035
- e.onPersistAsync(E);
2036
- let L = await E, k = await L.json();
2039
+ o("Dynamic Flow - PersistAsync", { status: "pending", schemaId: Pr.$id });
2040
+ let I = r(v.url, { method: v.method, headers: { "Content-Type": "application/json" }, body: JSON.stringify(x), signal: P });
2041
+ e.onPersistAsync(I);
2042
+ let L = await I, k = await L.json();
2037
2043
  if (!N(k))
2038
2044
  throw new Error("Response is not an object");
2039
- let { idProperty: T, param: H } = e.schema.persistAsync;
2040
- if (ja(L.status)) {
2041
- let F = Bo(T, k);
2045
+ let { idProperty: B, param: H } = e.schema.persistAsync;
2046
+ if (za(L.status)) {
2047
+ let F = No(B, k);
2042
2048
  e.onChange({ model: F, triggerSchema: e.schema, triggerModel: F });
2043
- } else if (pr(L.status)) {
2044
- let { validation: F } = k, j = N(F) && (F == null ? void 0 : F[H]) || null;
2045
- m(j), e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null });
2049
+ } else if (yr(L.status)) {
2050
+ let { validation: F } = k, U = N(F) && (F == null ? void 0 : F[H]) || null;
2051
+ m(U), e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null });
2046
2052
  } else
2047
2053
  l();
2048
- o("Dynamic Flow - PersistAsync", { status: "success", schemaId: vr.$id });
2049
- } catch (E) {
2050
- o("Dynamic Flow - PersistAsync", { status: "failure", schemaId: vr.$id }), l();
2054
+ o("Dynamic Flow - PersistAsync", { status: "success", schemaId: Pr.$id });
2055
+ } catch (I) {
2056
+ o("Dynamic Flow - PersistAsync", { status: "failure", schemaId: Pr.$id }), l();
2051
2057
  }
2052
2058
  }, f = () => {
2053
2059
  g && g.abort();
@@ -2055,19 +2061,19 @@ var require_main_min = __commonJS({
2055
2061
  return y(w), w.signal;
2056
2062
  }, h = () => {
2057
2063
  !A(a) && !Ge(a, s) && d(a, e.schema.persistAsync);
2058
- }, S = () => {
2064
+ }, b = () => {
2059
2065
  h();
2060
2066
  }, O = ({ model: w }) => {
2061
2067
  m(null), G(w, e.schema.persistAsync.schema) && n(w);
2062
2068
  };
2063
- return (0, gs.jsx)(mt, { required: e.required, submitted: e.submitted || p, schema: e.schema.persistAsync.schema, errors: c || e.errors, model: null, infoMessage: null, onChange: O, onBlur: S });
2069
+ return (0, Ss.jsx)(dt, { required: e.required, submitted: e.submitted || p, schema: e.schema.persistAsync.schema, errors: c || e.errors, model: null, infoMessage: null, onChange: O, onBlur: b });
2064
2070
  };
2065
- hs.defaultProps = { required: false };
2066
- var Lo = hs;
2067
- var ti = (e) => {
2068
- let [t, r] = (0, Ss.useState)(null), o = re(), a = (0, ws.useIntl)(), { schema: n } = e;
2071
+ bs.defaultProps = { required: false };
2072
+ var Bo = bs;
2073
+ var oi = (e) => {
2074
+ let [t, r] = (0, Fs.useState)(null), o = re(), a = (0, Cs.useIntl)(), { schema: n } = e;
2069
2075
  async function s(y) {
2070
- let l = y instanceof Blob ? !at(n) : !G(y, n);
2076
+ let l = y instanceof Blob ? !nt(n) : !G(y, n);
2071
2077
  return (A(y) || l) && g(), await p(y);
2072
2078
  }
2073
2079
  let c = () => {
@@ -2076,7 +2082,7 @@ var require_main_min = __commonJS({
2076
2082
  return r(y), y.signal;
2077
2083
  };
2078
2084
  function m(y) {
2079
- let l = at(n), d = c(), f = e.param, h = l ? Qd(f, y) : JSON.stringify({ [f]: y });
2085
+ let l = nt(n), d = c(), f = e.param, h = l ? Xd(f, y) : JSON.stringify({ [f]: y });
2080
2086
  return { method: e.method, headers: i({}, !l && { "Content-Type": "application/json" }), body: h, signal: d };
2081
2087
  }
2082
2088
  async function p(y) {
@@ -2087,7 +2093,7 @@ var require_main_min = __commonJS({
2087
2093
  let d = await l.json();
2088
2094
  if (N(d)) {
2089
2095
  let f = d[e.idProperty];
2090
- if (M(f) || B(f))
2096
+ if (E(f) || T(f))
2091
2097
  return { data: f };
2092
2098
  }
2093
2099
  return g();
@@ -2099,29 +2105,29 @@ var require_main_min = __commonJS({
2099
2105
  if (y.status === 422) {
2100
2106
  let l = await y.json();
2101
2107
  if (N(l)) {
2102
- let d = ys(e.param, l);
2103
- if (M(d))
2108
+ let d = gs(e.param, l);
2109
+ if (E(d))
2104
2110
  throw new Error(d);
2105
2111
  }
2106
2112
  }
2107
2113
  throw new Error(a.formatMessage(_t.genericError));
2108
2114
  }
2109
2115
  let g = (y) => {
2110
- let l = eu(y) ? y.message : a.formatMessage(_t.genericError);
2116
+ let l = Qd(y) ? y.message : a.formatMessage(_t.genericError);
2111
2117
  throw new Error(l);
2112
2118
  };
2113
2119
  return s;
2114
2120
  };
2115
- function Qd(e, t) {
2121
+ function Xd(e, t) {
2116
2122
  let r = new FormData();
2117
2123
  return t !== null && r.append(e, t), r;
2118
2124
  }
2119
- function eu(e) {
2125
+ function Qd(e) {
2120
2126
  return N(e) && "message" in e && typeof e.message == "string";
2121
2127
  }
2122
2128
  var Ze = require("react");
2123
- function Or({ asyncFn: e, interval: t, maxAttempts: r, maxConsecutiveFails: o, onPollingResponse: a, onFailure: n }) {
2124
- let s = (0, Ze.useRef)(a), c = (0, Ze.useRef)(n), m = (0, Ze.useMemo)(() => tu(e, r, o, (p) => s.current(p), () => c.current()), [e, r, o]);
2129
+ function Ar({ asyncFn: e, interval: t, maxAttempts: r, maxConsecutiveFails: o, onPollingResponse: a, onFailure: n }) {
2130
+ let s = (0, Ze.useRef)(a), c = (0, Ze.useRef)(n), m = (0, Ze.useMemo)(() => eu(e, r, o, (p) => s.current(p), () => c.current()), [e, r, o]);
2125
2131
  (0, Ze.useEffect)(() => {
2126
2132
  if (t > 0) {
2127
2133
  let p = setInterval(() => {
@@ -2133,7 +2139,7 @@ var require_main_min = __commonJS({
2133
2139
  s.current = a, c.current = n;
2134
2140
  }, [a, n]);
2135
2141
  }
2136
- function tu(e, t, r, o, a) {
2142
+ function eu(e, t, r, o, a) {
2137
2143
  let n = true, s = 0, c = 0;
2138
2144
  return e ? () => {
2139
2145
  n && (c++, e().then((m) => {
@@ -2146,15 +2152,15 @@ var require_main_min = __commonJS({
2146
2152
  } : () => {
2147
2153
  };
2148
2154
  }
2149
- var jr = require("react");
2150
- var bs = (e) => {
2151
- let t = (0, jr.useRef)();
2152
- return (0, jr.useEffect)(() => {
2155
+ var zr = require("react");
2156
+ var ws = (e) => {
2157
+ let t = (0, zr.useRef)();
2158
+ return (0, zr.useEffect)(() => {
2153
2159
  t.current = e;
2154
2160
  }, [e]), t.current;
2155
2161
  };
2156
2162
  var rr = require("react");
2157
- function Fs(e, t) {
2163
+ function xs(e, t) {
2158
2164
  let r = re(), o = (0, rr.useMemo)(() => {
2159
2165
  if (e)
2160
2166
  return () => r(e.url).then((n) => {
@@ -2163,48 +2169,48 @@ var require_main_min = __commonJS({
2163
2169
  throw new Error("failed");
2164
2170
  });
2165
2171
  }, [e, r]), a = (0, rr.useCallback)((n) => n != null && n.action ? (t(n.action), false) : true, [t]);
2166
- Or({ asyncFn: o, interval: 1e3 * ((e == null ? void 0 : e.interval) || 0), maxAttempts: (e == null ? void 0 : e.maxAttempts) || 0, maxConsecutiveFails: 1, onPollingResponse: a, onFailure: (0, rr.useCallback)(() => {
2172
+ Ar({ asyncFn: o, interval: 1e3 * ((e == null ? void 0 : e.interval) || 0), maxAttempts: (e == null ? void 0 : e.maxAttempts) || 0, maxConsecutiveFails: 1, onPollingResponse: a, onFailure: (0, rr.useCallback)(() => {
2167
2173
  e && t(e.onError.action);
2168
2174
  }, [t, e]) });
2169
2175
  }
2170
- var Cs = require("react/jsx-runtime");
2171
- var ru = (e, t) => {
2176
+ var Os = require("react/jsx-runtime");
2177
+ var tu = (e, t) => {
2172
2178
  var o;
2173
- if (St(e))
2179
+ if (wt(e))
2174
2180
  return [];
2175
2181
  let r = jt(e, t);
2176
2182
  return qe({ layout: r, schemas: e.schemas || [], actions: e.actions || [], model: (o = e.model) != null ? o : null });
2177
2183
  };
2178
- var ou = (e) => {
2179
- let { stepSpecification: t, stepLayoutOptions: r, submitted: o, model: a, formErrors: n, onModelChange: s } = e, c = ru(t, r), { loading: m, registerPersistAsyncPromise: p } = dr(), u = Q(), g = m ? () => {
2184
+ var ru = (e) => {
2185
+ let { stepSpecification: t, stepLayoutOptions: r, submitted: o, model: a, formErrors: n, onModelChange: s } = e, c = tu(t, r), { loading: m, registerPersistAsyncPromise: p } = pr(), u = Q(), g = m ? () => {
2180
2186
  u("Dynamic Flow - onAction supressed", { reason: "LayoutStep - loading state" });
2181
2187
  } : e.onAction;
2182
- return Fs(t.polling, g), (0, Cs.jsx)(ie, { components: c, submitted: o, model: a, errors: n, onAction: g, onModelChange: s, onPersistAsync: p });
2188
+ return xs(t.polling, g), (0, Os.jsx)(ie, { components: c, submitted: o, model: a, errors: n, onAction: g, onModelChange: s, onPersistAsync: p });
2183
2189
  };
2184
- var Ur = ou;
2185
- var $r = require("react");
2190
+ var Vr = ru;
2191
+ var _r = require("react");
2186
2192
  var Fe = require("react");
2187
- var Gs = require("react-intl");
2188
- var _s = Ee(xs());
2189
- var Os = require("react-intl");
2190
- var ar = (0, Os.defineMessages)({ reviewSubmit: { id: "dynamicFlows.CameraCapture.reviewSubmit", defaultMessage: "Yes, submit", description: "Accept and submit the image taken with the camera" }, reviewRetry: { id: "dynamicFlows.CameraCapture.reviewRetry", defaultMessage: "No, try again", description: "Image taken with camera is not good, don't submit, and retake the image" }, reviewInstructions: { id: "dynamicFlows.CameraCapture.reviewInstructions", defaultMessage: "Is your picture clear, readable and complete?", description: "After taking an image with the camera, prompt user to review the image" } });
2193
+ var Ws = require("react-intl");
2194
+ var Ks = Ee(vs());
2195
+ var As = require("react-intl");
2196
+ var ar = (0, As.defineMessages)({ reviewSubmit: { id: "dynamicFlows.CameraCapture.reviewSubmit", defaultMessage: "Yes, submit", description: "Accept and submit the image taken with the camera" }, reviewRetry: { id: "dynamicFlows.CameraCapture.reviewRetry", defaultMessage: "No, try again", description: "Image taken with camera is not good, don't submit, and retake the image" }, reviewInstructions: { id: "dynamicFlows.CameraCapture.reviewInstructions", defaultMessage: "Is your picture clear, readable and complete?", description: "After taking an image with the camera, prompt user to review the image" } });
2191
2197
  var we = require("@transferwise/components");
2192
- var vs = require("react-intl");
2198
+ var Ps = require("react-intl");
2193
2199
  var Se = require("react/jsx-runtime");
2194
- var As = ({ onCapture: e }) => (0, Se.jsx)("div", { className: "bottom-bar", children: (0, Se.jsx)(au, { onClick: e }) });
2195
- var Ps = ({ onSubmit: e, onRetry: t }) => {
2196
- let r = (0, vs.useIntl)();
2200
+ var ks = ({ onCapture: e }) => (0, Se.jsx)("div", { className: "bottom-bar", children: (0, Se.jsx)(ou, { onClick: e }) });
2201
+ var Ms = ({ onSubmit: e, onRetry: t }) => {
2202
+ let r = (0, Ps.useIntl)();
2197
2203
  return (0, Se.jsx)("div", { className: "bottom-bar p-x-2", children: (0, Se.jsx)("div", { className: "row", children: (0, Se.jsxs)("div", { className: "col-xs-12 col-md-6 col-md-offset-3", children: [(0, Se.jsx)(we.Button, { className: "m-b-1", block: true, size: we.Size.MEDIUM, type: we.ControlType.ACCENT, onClick: e, children: r.formatMessage(ar.reviewSubmit) }), (0, Se.jsx)(we.Button, { className: "m-b-2", block: true, size: we.Size.MEDIUM, type: we.ControlType.ACCENT, priority: we.Priority.SECONDARY, onClick: t, children: r.formatMessage(ar.reviewRetry) })] }) }) });
2198
2204
  };
2199
- var au = ({ onClick: e }) => (0, Se.jsx)("button", { type: "button", className: "camera-capture-btn m-b-2", "data-testid": "camera-capture-button", onClick: e, children: (0, Se.jsx)("span", { className: "camera-capture-btn-inner" }) });
2200
- var Vr = require("react");
2201
- var ks = (e) => {
2205
+ var ou = ({ onClick: e }) => (0, Se.jsx)("button", { type: "button", className: "camera-capture-btn m-b-2", "data-testid": "camera-capture-button", onClick: e, children: (0, Se.jsx)("span", { className: "camera-capture-btn-inner" }) });
2206
+ var qr = require("react");
2207
+ var Es = (e) => {
2202
2208
  var r;
2203
- let { facingMode: t } = ((r = zr(e)) == null ? void 0 : r.getSettings()) || {};
2209
+ let { facingMode: t } = ((r = Hr(e)) == null ? void 0 : r.getSettings()) || {};
2204
2210
  return t === "user" || t === void 0;
2205
2211
  };
2206
- var Ms = (e) => !!((e == null ? void 0 : e.label) || "").match(/camera2? 0/g);
2207
- var Es = async (e) => {
2212
+ var Is = (e) => !!((e == null ? void 0 : e.label) || "").match(/camera2? 0/g);
2213
+ var Ds = async (e) => {
2208
2214
  let t = document.createElement("canvas");
2209
2215
  if (e) {
2210
2216
  t.setAttribute("height", `${e.videoHeight}`), t.setAttribute("width", `${e.videoWidth}`);
@@ -2213,55 +2219,55 @@ var require_main_min = __commonJS({
2213
2219
  }
2214
2220
  return t;
2215
2221
  };
2216
- var Is = async () => {
2222
+ var Ls = async () => {
2217
2223
  var e, t;
2218
2224
  return (await ((t = (e = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : e.enumerateDevices) == null ? void 0 : t.call(e)) || []).filter((r) => r.kind === "videoinput");
2219
2225
  };
2220
- var Ds = async () => {
2226
+ var Bs = async () => {
2221
2227
  var e, t;
2222
2228
  return (await ((t = (e = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : e.enumerateDevices) == null ? void 0 : t.call(e)) || []).filter((r) => r.kind === "videoinput").map((r) => r.label);
2223
2229
  };
2224
- var Ls = async (e) => {
2230
+ var Ts = async (e) => {
2225
2231
  var r, o, a;
2226
- let t = aa(e);
2232
+ let t = na(e);
2227
2233
  return (a = (await ((o = (r = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : r.enumerateDevices) == null ? void 0 : o.call(r)) || []).filter((n) => n.kind === "videoinput").find((n) => n.deviceId === (t == null ? void 0 : t.deviceId))) == null ? void 0 : a.label;
2228
2234
  };
2229
- var zr = (e) => {
2235
+ var Hr = (e) => {
2230
2236
  var t;
2231
2237
  return (((t = e == null ? void 0 : e.getVideoTracks) == null ? void 0 : t.call(e)) || [])[0];
2232
2238
  };
2233
- var aa = (e) => {
2239
+ var na = (e) => {
2234
2240
  var t, r;
2235
- return (r = (t = zr(e)) == null ? void 0 : t.getCapabilities) == null ? void 0 : r.call(t);
2241
+ return (r = (t = Hr(e)) == null ? void 0 : t.getCapabilities) == null ? void 0 : r.call(t);
2236
2242
  };
2237
- var Ts = (e) => {
2238
- let [t, r] = (0, Vr.useState)(), o = { facingMode: e === "front" ? "user" : "environment", height: { min: 480, max: 1080, ideal: 720 }, width: { min: 640, max: 1920, ideal: 1280 }, frameRate: 30, aspectRatio: 16 / 9 };
2239
- (0, Vr.useEffect)(() => {
2243
+ var Ns = (e) => {
2244
+ let [t, r] = (0, qr.useState)(), o = { facingMode: e === "front" ? "user" : "environment", height: { min: 480, max: 1080, ideal: 720 }, width: { min: 640, max: 1920, ideal: 1280 }, frameRate: 30, aspectRatio: 16 / 9 };
2245
+ (0, qr.useEffect)(() => {
2240
2246
  a(e).then(r);
2241
2247
  }, [e]);
2242
2248
  let a = async (n) => {
2243
2249
  if (n === "back") {
2244
- let s = (await Is()).find(Ms);
2250
+ let s = (await Ls()).find(Is);
2245
2251
  if (s != null && s.deviceId)
2246
- return b(i({}, o), { deviceId: { exact: s.deviceId } });
2252
+ return S(i({}, o), { deviceId: { exact: s.deviceId } });
2247
2253
  }
2248
2254
  return o;
2249
2255
  };
2250
2256
  return { videoConstraints: t };
2251
2257
  };
2252
- var Hr = require("react");
2258
+ var $r = require("react");
2253
2259
  var W = require("react/jsx-runtime");
2254
- var nu = 92;
2255
- var Bs = 120;
2256
- var iu = 40;
2257
- var su = 32;
2258
- var lu = 48;
2259
- var cu = 40;
2260
- var Ns = 800;
2261
- var mu = ({ overlay: e, outline: t, imageUrl: r, title: o, instructions: a, reviewInstructions: n }) => {
2262
- let s = (0, Hr.useRef)(null);
2263
- (0, Hr.useEffect)(() => {
2264
- let y = Ft(() => {
2260
+ var au = 92;
2261
+ var Rs = 120;
2262
+ var nu = 40;
2263
+ var iu = 32;
2264
+ var su = 48;
2265
+ var lu = 40;
2266
+ var js = 800;
2267
+ var cu = ({ overlay: e, outline: t, imageUrl: r, title: o, instructions: a, reviewInstructions: n }) => {
2268
+ let s = (0, $r.useRef)(null);
2269
+ (0, $r.useEffect)(() => {
2270
+ let y = Ct(() => {
2265
2271
  var l;
2266
2272
  if ((l = s.current) != null && l.innerHTML) {
2267
2273
  let d = s.current;
@@ -2270,50 +2276,50 @@ var require_main_min = __commonJS({
2270
2276
  }, 100);
2271
2277
  return window.addEventListener("resize", y), () => window.removeEventListener("resize", y);
2272
2278
  });
2273
- let c = (r ? iu : 0) + (o ? su : 0) + (a ? lu : 0), m = (0, W.jsxs)(W.Fragment, { children: [r && (0, W.jsx)("img", { className: "camera-capture-img", src: r, alt: "" }), o && (0, W.jsx)("h4", { className: "camera-capture-title", children: o }), a && (0, W.jsx)("small", { className: "camera-capture-instructions", children: a })] }), p = nu + c;
2279
+ let c = (r ? nu : 0) + (o ? iu : 0) + (a ? su : 0), m = (0, W.jsxs)(W.Fragment, { children: [r && (0, W.jsx)("img", { className: "camera-capture-img", src: r, alt: "" }), o && (0, W.jsx)("h4", { className: "camera-capture-title", children: o }), a && (0, W.jsx)("small", { className: "camera-capture-instructions", children: a })] }), p = au + c;
2274
2280
  if (n) {
2275
- c = p - Bs, m = (0, W.jsx)("small", { className: "camera-capture-instructions", children: n });
2276
- let y = Bs + cu;
2281
+ c = p - Rs, m = (0, W.jsx)("small", { className: "camera-capture-instructions", children: n });
2282
+ let y = Rs + lu;
2277
2283
  p < y && (m = (0, W.jsx)(W.Fragment, {}));
2278
2284
  }
2279
- let u = { x: "50%", y: "5%", width: `min(90%, ${Ns}px)`, height: `calc(90% - ${p}px)`, style: { transform: `translateX(max(-45%, -${Ns / 2}px))` } }, g = { style: { left: "5%", top: `calc(100% - ${p}px - 5%)`, height: `calc(${c}px + 5%)`, width: "90%" } };
2280
- return (0, W.jsxs)("svg", { ref: s, xmlns: "http://www.w3.org/2000/svg", children: [(0, W.jsx)("defs", { children: (0, W.jsxs)("mask", { id: "mask", children: [(0, W.jsx)("rect", { width: "100%", height: "100%", fill: "#fff" }), (0, W.jsx)("image", i({ href: e }, u))] }) }), e && (0, W.jsx)("rect", { width: "100%", height: "100%", mask: "url(#mask)", fillOpacity: "0.72" }), t && (0, W.jsx)("image", i({ href: t }, u)), (0, W.jsx)("foreignObject", { width: "100%", height: "100%", children: (0, W.jsx)("div", b(i({ className: "camera-capture-text-and-image-container" }, g), { children: m })) })] });
2285
+ let u = { x: "50%", y: "5%", width: `min(90%, ${js}px)`, height: `calc(90% - ${p}px)`, style: { transform: `translateX(max(-45%, -${js / 2}px))` } }, g = { style: { left: "5%", top: `calc(100% - ${p}px - 5%)`, height: `calc(${c}px + 5%)`, width: "90%" } };
2286
+ return (0, W.jsxs)("svg", { ref: s, xmlns: "http://www.w3.org/2000/svg", children: [(0, W.jsx)("defs", { children: (0, W.jsxs)("mask", { id: "mask", children: [(0, W.jsx)("rect", { width: "100%", height: "100%", fill: "#fff" }), (0, W.jsx)("image", i({ href: e }, u))] }) }), e && (0, W.jsx)("rect", { width: "100%", height: "100%", mask: "url(#mask)", fillOpacity: "0.72" }), t && (0, W.jsx)("image", i({ href: t }, u)), (0, W.jsx)("foreignObject", { width: "100%", height: "100%", children: (0, W.jsx)("div", S(i({ className: "camera-capture-text-and-image-container" }, g), { children: m })) })] });
2281
2287
  };
2282
- var na = mu;
2283
- var js = require("@transferwise/components");
2288
+ var ia = cu;
2289
+ var zs = require("@transferwise/components");
2290
+ var Vs = require("react-intl");
2284
2291
  var Us = require("react-intl");
2285
- var Rs = require("react-intl");
2286
- var qr = (0, Rs.defineMessages)({ title: { id: "dynamicFlows.CameraCapture.NoCameraAccess.title", defaultMessage: "We can't access your camera", description: "Title of standalone page prompting missing camera permissions" }, paragraph: { id: "dynamicFlows.CameraCapture.NoCameraAccess.paragraph", defaultMessage: "Enable camera access in your browser's settings to get going again.", description: "Further text of standalone page prompting missing camera permissions" }, action: { id: "dynamicFlows.CameraCapture.NoCameraAccess.action", defaultMessage: "Enable camera access", description: "Action to ask for camera permissions again" } });
2292
+ var Gr = (0, Us.defineMessages)({ title: { id: "dynamicFlows.CameraCapture.NoCameraAccess.title", defaultMessage: "We can't access your camera", description: "Title of standalone page prompting missing camera permissions" }, paragraph: { id: "dynamicFlows.CameraCapture.NoCameraAccess.paragraph", defaultMessage: "Enable camera access in your browser's settings to get going again.", description: "Further text of standalone page prompting missing camera permissions" }, action: { id: "dynamicFlows.CameraCapture.NoCameraAccess.action", defaultMessage: "Enable camera access", description: "Action to ask for camera permissions again" } });
2287
2293
  var ze = require("react/jsx-runtime");
2288
- var du = ({ onAction: e }) => {
2289
- let t = (0, Us.useIntl)();
2290
- return (0, ze.jsx)("div", { id: "no-camera-access", children: (0, ze.jsx)("div", { className: "container p-t-5", children: (0, ze.jsx)("div", { className: "row", children: (0, ze.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, ze.jsx)("h2", { className: "text-xs-center m-b-3", children: t.formatMessage(qr.title) }), (0, ze.jsx)("p", { className: "text-xs-center m-b-5", children: t.formatMessage(qr.paragraph) }), (0, ze.jsx)(js.Button, { block: true, onClick: e, children: t.formatMessage(qr.action) })] }) }) }) });
2291
- };
2292
- var ia = du;
2293
- var Vs = require("react-intl");
2294
- var zs = require("react-intl");
2295
- var sa = (0, zs.defineMessages)({ title: { id: "dynamicFlows.CameraCapture.CameraNotSupported.title", defaultMessage: "Camera not supported", description: "Title of standalone page prompting that camera is not available on users browser" }, paragraph: { id: "dynamicFlows.CameraCapture.CameraNotSupported.paragraph", defaultMessage: "The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.", description: "Further text of standalone page prompting that camera is not available on user's browser" } });
2294
+ var mu = ({ onAction: e }) => {
2295
+ let t = (0, Vs.useIntl)();
2296
+ return (0, ze.jsx)("div", { id: "no-camera-access", children: (0, ze.jsx)("div", { className: "container p-t-5", children: (0, ze.jsx)("div", { className: "row", children: (0, ze.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, ze.jsx)("h2", { className: "text-xs-center m-b-3", children: t.formatMessage(Gr.title) }), (0, ze.jsx)("p", { className: "text-xs-center m-b-5", children: t.formatMessage(Gr.paragraph) }), (0, ze.jsx)(zs.Button, { block: true, onClick: e, children: t.formatMessage(Gr.action) })] }) }) }) });
2297
+ };
2298
+ var sa = mu;
2299
+ var qs = require("react-intl");
2300
+ var Hs = require("react-intl");
2301
+ var la = (0, Hs.defineMessages)({ title: { id: "dynamicFlows.CameraCapture.CameraNotSupported.title", defaultMessage: "Camera not supported", description: "Title of standalone page prompting that camera is not available on users browser" }, paragraph: { id: "dynamicFlows.CameraCapture.CameraNotSupported.paragraph", defaultMessage: "The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.", description: "Further text of standalone page prompting that camera is not available on user's browser" } });
2296
2302
  var Xe = require("react/jsx-runtime");
2297
- var uu = () => {
2298
- let e = (0, Vs.useIntl)();
2299
- return (0, Xe.jsx)("div", { id: "camera-not-supported", children: (0, Xe.jsx)("div", { className: "container p-t-5", children: (0, Xe.jsx)("div", { className: "row", children: (0, Xe.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, Xe.jsx)("h2", { className: "text-xs-center m-b-3", children: e.formatMessage(sa.title) }), (0, Xe.jsx)("p", { className: "text-xs-center m-b-5", children: e.formatMessage(sa.paragraph) })] }) }) }) });
2300
- };
2301
- var la = uu;
2302
- var Hs = (e) => e == null ? void 0 : e("Dynamic Flow - Camera Permission Denied", {});
2303
- var qs = async (e, t, r) => e == null ? void 0 : e("Dynamic Flow - Camera Feed Started", await pu(t, r));
2304
- var $s = (e, t) => e == null ? void 0 : e("Dynamic Flow - Camera Not Supported", { Error: t });
2305
- var pu = async (e, t) => {
2303
+ var du = () => {
2304
+ let e = (0, qs.useIntl)();
2305
+ return (0, Xe.jsx)("div", { id: "camera-not-supported", children: (0, Xe.jsx)("div", { className: "container p-t-5", children: (0, Xe.jsx)("div", { className: "row", children: (0, Xe.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, Xe.jsx)("h2", { className: "text-xs-center m-b-3", children: e.formatMessage(la.title) }), (0, Xe.jsx)("p", { className: "text-xs-center m-b-5", children: e.formatMessage(la.paragraph) })] }) }) }) });
2306
+ };
2307
+ var ca = du;
2308
+ var $s = (e) => e == null ? void 0 : e("Dynamic Flow - Camera Permission Denied", {});
2309
+ var Gs = async (e, t, r) => e == null ? void 0 : e("Dynamic Flow - Camera Feed Started", await uu(t, r));
2310
+ var _s = (e, t) => e == null ? void 0 : e("Dynamic Flow - Camera Not Supported", { Error: t });
2311
+ var uu = async (e, t) => {
2306
2312
  var n;
2307
- let r = zr(t), o = aa(t), a = (n = r == null ? void 0 : r.getSettings) == null ? void 0 : n.call(r);
2308
- return b(i({}, r && { "Available Video Devices (by label)": await Ds(), "Active Video Device (by label)": await Ls(t), "Camera Capabilities": o, "Camera Settings": a }), { "Camera Direction (Asked)": e == null ? void 0 : e.direction });
2313
+ let r = Hr(t), o = na(t), a = (n = r == null ? void 0 : r.getSettings) == null ? void 0 : n.call(r);
2314
+ return S(i({}, r && { "Available Video Devices (by label)": await Bs(), "Active Video Device (by label)": await Ts(t), "Camera Capabilities": o, "Camera Settings": a }), { "Camera Direction (Asked)": e == null ? void 0 : e.direction });
2309
2315
  };
2310
2316
  var ee = require("react/jsx-runtime");
2311
- var fu = ({ direction: e = "back", overlay: t = "", outline: r = "", imageUrl: o = "", title: a = "", instructions: n = "", showReview: s = false, onCapture: c, onEvent: m }) => {
2312
- let [p, u] = (0, Fe.useState)("CAPTURE"), [g, y] = (0, Fe.useState)(false), [l, d] = (0, Fe.useState)(false), [f, h] = (0, Fe.useState)(), S = (0, Fe.useRef)(null), { videoConstraints: O } = Ts(e), w = (0, Gs.useIntl)(), v = (0, Fe.useCallback)(async () => {
2313
- var F, j, I, $, He, ue;
2314
- if ((F = S == null ? void 0 : S.current) != null && F.video && ((I = (j = S == null ? void 0 : S.current) == null ? void 0 : j.video) == null ? void 0 : I.readyState) >= 3) {
2315
- (He = ($ = S == null ? void 0 : S.current) == null ? void 0 : $.video) == null || He.pause();
2316
- let et = await Es((ue = S == null ? void 0 : S.current) == null ? void 0 : ue.video);
2317
+ var pu = ({ direction: e = "back", overlay: t = "", outline: r = "", imageUrl: o = "", title: a = "", instructions: n = "", showReview: s = false, onCapture: c, onEvent: m }) => {
2318
+ let [p, u] = (0, Fe.useState)("CAPTURE"), [g, y] = (0, Fe.useState)(false), [l, d] = (0, Fe.useState)(false), [f, h] = (0, Fe.useState)(), b = (0, Fe.useRef)(null), { videoConstraints: O } = Ns(e), w = (0, Ws.useIntl)(), v = (0, Fe.useCallback)(async () => {
2319
+ var F, U, D, $, He, ue;
2320
+ if ((F = b == null ? void 0 : b.current) != null && F.video && ((D = (U = b == null ? void 0 : b.current) == null ? void 0 : U.video) == null ? void 0 : D.readyState) >= 3) {
2321
+ (He = ($ = b == null ? void 0 : b.current) == null ? void 0 : $.video) == null || He.pause();
2322
+ let et = await Ds((ue = b == null ? void 0 : b.current) == null ? void 0 : ue.video);
2317
2323
  et == null || et.toBlob((xe) => {
2318
2324
  if (xe)
2319
2325
  if (s) {
@@ -2323,80 +2329,80 @@ var require_main_min = __commonJS({
2323
2329
  c(xe);
2324
2330
  }, "image/jpeg", 0.92);
2325
2331
  }
2326
- }, [S, s, h, u, c, g]), P = (0, Fe.useCallback)((F) => {
2332
+ }, [b, s, h, u, c, g]), P = (0, Fe.useCallback)((F) => {
2327
2333
  if (F instanceof DOMException && (F == null ? void 0 : F.name) === "NotAllowedError") {
2328
- u("NO_CAMERA_ACCESS"), Hs(m);
2334
+ u("NO_CAMERA_ACCESS"), $s(m);
2329
2335
  return;
2330
2336
  }
2331
- u("CAMERA_NOT_SUPPORTED"), $s(m, F);
2337
+ u("CAMERA_NOT_SUPPORTED"), _s(m, F);
2332
2338
  }, [u, m]), x = (0, Fe.useCallback)((F) => {
2333
- d(true), y(ks(F)), qs(m, { direction: e }, F);
2334
- }, [y, m, e]), E = () => {
2339
+ d(true), y(Es(F)), Gs(m, { direction: e }, F);
2340
+ }, [y, m, e]), I = () => {
2335
2341
  c((f == null ? void 0 : f.blob) || null);
2336
2342
  }, L = () => {
2337
2343
  u("CAPTURE"), h(void 0);
2338
- }, k = () => u("CAPTURE"), T = (0, ee.jsxs)(ee.Fragment, { children: [O && (0, ee.jsx)(_s.default, { ref: S, audio: false, videoConstraints: O, mirrored: g, onUserMediaError: P, onUserMedia: x }), (0, ee.jsx)(na, { overlay: t, outline: r, imageUrl: o, title: a, instructions: n }), l && (0, ee.jsx)(As, { onCapture: () => void v() })] }), H = (0, ee.jsxs)(ee.Fragment, { children: [(0, ee.jsx)("img", { className: "review-image", src: f == null ? void 0 : f.source, alt: "" }), (0, ee.jsx)(na, { overlay: t, imageUrl: o, title: a, instructions: n, reviewInstructions: w.formatMessage(ar.reviewInstructions) }), (0, ee.jsx)(Ps, { onSubmit: E, onRetry: L })] });
2339
- return (0, ee.jsxs)("section", { className: "camera-capture", children: [p === "CAPTURE" && T, p === "REVIEW" && H, p === "NO_CAMERA_ACCESS" && (0, ee.jsx)(ia, { onAction: k }), p === "CAMERA_NOT_SUPPORTED" && (0, ee.jsx)(la, {})] });
2344
+ }, k = () => u("CAPTURE"), B = (0, ee.jsxs)(ee.Fragment, { children: [O && (0, ee.jsx)(Ks.default, { ref: b, audio: false, videoConstraints: O, mirrored: g, onUserMediaError: P, onUserMedia: x }), (0, ee.jsx)(ia, { overlay: t, outline: r, imageUrl: o, title: a, instructions: n }), l && (0, ee.jsx)(ks, { onCapture: () => void v() })] }), H = (0, ee.jsxs)(ee.Fragment, { children: [(0, ee.jsx)("img", { className: "review-image", src: f == null ? void 0 : f.source, alt: "" }), (0, ee.jsx)(ia, { overlay: t, imageUrl: o, title: a, instructions: n, reviewInstructions: w.formatMessage(ar.reviewInstructions) }), (0, ee.jsx)(Ms, { onSubmit: I, onRetry: L })] });
2345
+ return (0, ee.jsxs)("section", { className: "camera-capture", children: [p === "CAPTURE" && B, p === "REVIEW" && H, p === "NO_CAMERA_ACCESS" && (0, ee.jsx)(sa, { onAction: k }), p === "CAMERA_NOT_SUPPORTED" && (0, ee.jsx)(ca, {})] });
2340
2346
  };
2341
- var ca = fu;
2342
- var Ks = require("react/jsx-runtime");
2343
- function yu(e) {
2347
+ var ma = pu;
2348
+ var Js = require("react/jsx-runtime");
2349
+ function fu(e) {
2344
2350
  return new Promise((t, r) => {
2345
2351
  let o = new FileReader();
2346
2352
  o.onloadend = () => t(o.result), o.readAsDataURL(e);
2347
2353
  });
2348
2354
  }
2349
- var hu = (e) => {
2350
- let { step: t, model: r, onModelChange: o, onAction: a } = e, n = Q(), s = Ws(t), c = gu(t), m = bu(t), { title: p, image: u, cameraConfig: g } = c, { assets: y, direction: l, instructions: d } = g || {}, { overlay: f, outline: h } = y || {}, { url: S } = u || {}, [O, w] = (0, $r.useState)(false);
2351
- (0, $r.useEffect)(() => {
2355
+ var yu = (e) => {
2356
+ let { step: t, model: r, onModelChange: o, onAction: a } = e, n = Q(), s = Ys(t), c = hu(t), m = gu(t), { title: p, image: u, cameraConfig: g } = c, { assets: y, direction: l, instructions: d } = g || {}, { overlay: f, outline: h } = y || {}, { url: b } = u || {}, [O, w] = (0, _r.useState)(false);
2357
+ (0, _r.useEffect)(() => {
2352
2358
  O && a(m);
2353
2359
  }, [r]);
2354
2360
  let v = async (P) => {
2355
2361
  let { $id: x } = c;
2356
2362
  if (P) {
2357
- let E = await yu(P), L = { [x || ""]: E };
2358
- w(true), o({ model: L, formSchema: s, triggerModel: E, triggerSchema: c });
2363
+ let I = await fu(P), L = { [x || ""]: I };
2364
+ w(true), o({ model: L, formSchema: s, triggerModel: I, triggerSchema: c });
2359
2365
  }
2360
2366
  };
2361
- return (0, Ks.jsx)(ca, { overlay: f, outline: h, title: p, imageUrl: S, instructions: d, direction: l, onEvent: n, onCapture: (P) => {
2367
+ return (0, Js.jsx)(ma, { overlay: f, outline: h, title: p, imageUrl: b, instructions: d, direction: l, onEvent: n, onCapture: (P) => {
2362
2368
  v(P);
2363
2369
  } });
2364
2370
  };
2365
- var Gr = hu;
2366
- function Ws(e) {
2367
- let r = xr(e.schemas || [])[0];
2371
+ var Wr = yu;
2372
+ function Ys(e) {
2373
+ let r = vr(e.schemas || [])[0];
2368
2374
  if (!r || !ce(r))
2369
2375
  throw new Error("The first schema in a camera step is expected to be of type object and have at least one property with a schema...");
2370
2376
  return r;
2371
2377
  }
2372
- function gu(e) {
2373
- let t = Ws(e), r = Object.values(t.properties)[0];
2378
+ function hu(e) {
2379
+ let t = Ys(e), r = Object.values(t.properties)[0];
2374
2380
  if (!r)
2375
2381
  throw new Error("The first schema in a camera step is expected to be of type object and have at least one property with a schema...");
2376
2382
  return r;
2377
2383
  }
2378
- function bu(e) {
2384
+ function gu(e) {
2379
2385
  var t, r;
2380
- if (!e.schemas || ((t = xr(e.schemas)) == null ? void 0 : t.length) !== 1)
2386
+ if (!e.schemas || ((t = vr(e.schemas)) == null ? void 0 : t.length) !== 1)
2381
2387
  throw new Error("camera step expects 1 non-hidden object schema");
2382
2388
  if (((r = e == null ? void 0 : e.actions) == null ? void 0 : r.length) !== 1)
2383
2389
  throw new Error("camera step expects 1 action");
2384
2390
  return e.actions[0];
2385
2391
  }
2392
+ var Qs = require("react-intl");
2386
2393
  var Zs = require("react-intl");
2387
- var Ys = require("react-intl");
2388
- var nr = (0, Ys.defineMessages)({ title: { id: "dynamicFlows.ExternalConfirmation.title", defaultMessage: "Please confirm", description: "Heading for the confirmation screen." }, description: { id: "dynamicFlows.ExternalConfirmation.description", defaultMessage: "Please confirm you want to open **{origin}** in a new browser tab.", description: "Description for the confirmation screen." }, open: { id: "dynamicFlows.ExternalConfirmation.open", defaultMessage: "Open in new tab", description: "Button text confirming opening a new browser tab." }, cancel: { id: "dynamicFlows.ExternalConfirmation.cancel", defaultMessage: "Cancel", description: "Button text rejecting opening a new browser tab." } });
2389
- var Xs = require("react/jsx-runtime");
2390
- var Js = () => {
2391
- };
2392
- var Su = ({ url: e, onClose: t }) => {
2393
- let { formatMessage: r } = (0, Zs.useIntl)();
2394
- return (0, Xs.jsx)(ie, { components: [{ type: "box", width: "lg", components: [{ type: "heading", text: r(nr.title), size: "lg", align: "center", margin: "xl" }, { type: "info", markdown: r(nr.description, { origin: wu(e) }), align: "center", margin: "xl" }, { type: "box", width: "md", components: [{ type: "button", action: { title: r(nr.open), type: "primary", url: e, exit: true } }, { type: "button", action: { title: r(nr.cancel), type: "link", url: "", exit: true } }] }] }], submitted: false, onAction: (o) => {
2394
+ var nr = (0, Zs.defineMessages)({ title: { id: "dynamicFlows.ExternalConfirmation.title", defaultMessage: "Please confirm", description: "Heading for the confirmation screen." }, description: { id: "dynamicFlows.ExternalConfirmation.description", defaultMessage: "Please confirm you want to open **{origin}** in a new browser tab.", description: "Description for the confirmation screen." }, open: { id: "dynamicFlows.ExternalConfirmation.open", defaultMessage: "Open in new tab", description: "Button text confirming opening a new browser tab." }, cancel: { id: "dynamicFlows.ExternalConfirmation.cancel", defaultMessage: "Cancel", description: "Button text rejecting opening a new browser tab." } });
2395
+ var el = require("react/jsx-runtime");
2396
+ var Xs = () => {
2397
+ };
2398
+ var bu = ({ url: e, onClose: t }) => {
2399
+ let { formatMessage: r } = (0, Qs.useIntl)();
2400
+ return (0, el.jsx)(ie, { components: [{ type: "box", width: "lg", components: [{ type: "heading", text: r(nr.title), size: "lg", align: "center", margin: "xl" }, { type: "info", markdown: r(nr.description, { origin: Su(e) }), align: "center", margin: "xl" }, { type: "box", width: "md", components: [{ type: "button", action: { title: r(nr.open), type: "primary", url: e, exit: true } }, { type: "button", action: { title: r(nr.cancel), type: "link", url: "", exit: true } }] }] }], submitted: false, onAction: (o) => {
2395
2401
  o.url && window.open(o.url, "_blank"), t();
2396
- }, onModelChange: Js, onPersistAsync: Js });
2402
+ }, onModelChange: Xs, onPersistAsync: Xs });
2397
2403
  };
2398
- var _r = Su;
2399
- function wu(e) {
2404
+ var Kr = bu;
2405
+ function Su(e) {
2400
2406
  try {
2401
2407
  return new URL(e).origin;
2402
2408
  } catch (t) {
@@ -2404,78 +2410,76 @@ var require_main_min = __commonJS({
2404
2410
  }
2405
2411
  }
2406
2412
  var Ve = require("react/jsx-runtime");
2407
- var Qs = (e) => {
2413
+ var tl = (e) => {
2408
2414
  var s;
2409
- let { step: t, globalError: r } = e, o = (s = t == null ? void 0 : t.external) == null ? void 0 : s.url, { requiresManualTrigger: a, dismissConfirmation: n } = Cn(o);
2410
- return t === void 0 ? null : o && a ? (0, Ve.jsx)(_r, { url: o, onClose: n }) : Sn(t) ? (0, Ve.jsx)(Gr, b(i({}, e), { step: t })) : (0, Ve.jsxs)(Ve.Fragment, { children: [r ? (0, Ve.jsx)(ne, { component: { context: "negative", markdown: r, margin: "lg" } }) : null, (0, Ve.jsx)(Ur, b(i({}, e), { stepSpecification: t }))] });
2415
+ let { step: t, globalError: r } = e, o = (s = t == null ? void 0 : t.external) == null ? void 0 : s.url, { requiresManualTrigger: a, dismissConfirmation: n } = On(o);
2416
+ return t === void 0 ? null : o && a ? (0, Ve.jsx)(Kr, { url: o, onClose: n }) : Fn(t) ? (0, Ve.jsx)(Wr, S(i({}, e), { step: t })) : (0, Ve.jsxs)(Ve.Fragment, { children: [r ? (0, Ve.jsx)(ne, { component: { context: "negative", markdown: r, margin: "lg" } }) : null, (0, Ve.jsx)(Vr, S(i({}, e), { stepSpecification: t }))] });
2411
2417
  };
2412
- var el = require("react");
2413
- var Fu = 1e3;
2414
- function tl(e) {
2415
- let t = (0, el.useRef)(/* @__PURE__ */ new Map()), r = (o) => {
2418
+ var rl = require("react");
2419
+ var wu = 1e3;
2420
+ function ol(e) {
2421
+ let t = (0, rl.useRef)(/* @__PURE__ */ new Map()), r = (o) => {
2416
2422
  if (t.current.has(o))
2417
2423
  return t.current.get(o);
2418
- let a = Ft((n, s, c) => e(n, s, c), Fu);
2424
+ let a = Ct((n, s, c) => e(n, s, c), wu);
2419
2425
  return t.current.set(o, a), a;
2420
2426
  };
2421
2427
  return function(o, a, n, s) {
2422
2428
  let c = r(o);
2423
- c(o, a, n), (!s || !bn(s)) && c.flush();
2429
+ c(o, a, n), (!s || !wn(s)) && c.flush();
2424
2430
  };
2425
2431
  }
2426
- var Lt = require("react");
2427
- function rl(e) {
2428
- return Object.prototype.hasOwnProperty.call(e, "$ref") === false;
2429
- }
2430
- var al = (e) => {
2432
+ var Bt = require("react");
2433
+ var nl = (e) => {
2431
2434
  var l, d;
2432
- let [t, r] = (0, Lt.useState)((l = e == null ? void 0 : e.errors) == null ? void 0 : l.validation), [o, a] = (0, Lt.useState)((d = e == null ? void 0 : e.errors) == null ? void 0 : d.error), [n, s] = (0, Lt.useState)({ step: e || void 0, models: e != null && e.model ? ol(e.model, ma(e)) : {}, etag: void 0 }), { step: c, models: m, etag: p } = n, u = (f, h) => {
2433
- var S, O, w, v;
2434
- s((P) => ({ step: f, models: f.model ? ol(f.model, ma(f)) : P.models, etag: h })), r((O = (S = f == null ? void 0 : f.errors) == null ? void 0 : S.validation) != null ? O : null), a((v = (w = f == null ? void 0 : f.errors) == null ? void 0 : w.error) != null ? v : null);
2435
- }, g = (f, h, S) => {
2435
+ let [t, r] = (0, Bt.useState)((l = e == null ? void 0 : e.errors) == null ? void 0 : l.validation), [o, a] = (0, Bt.useState)((d = e == null ? void 0 : e.errors) == null ? void 0 : d.error), [n, s] = (0, Bt.useState)({ step: e || void 0, models: e != null && e.model ? al(e.model, da(e)) : {}, etag: void 0 }), { step: c, models: m, etag: p } = n, u = (f, h) => {
2436
+ var b, O, w, v;
2437
+ s((P) => ({ step: f, models: f.model ? al(f.model, da(f)) : P.models, etag: h })), r((O = (b = f == null ? void 0 : f.errors) == null ? void 0 : b.validation) != null ? O : null), a((v = (w = f == null ? void 0 : f.errors) == null ? void 0 : w.error) != null ? v : null);
2438
+ }, g = (f, h, b) => {
2436
2439
  s((O) => {
2437
- let w = b(i({}, O.models), { [f]: h }), v = { step: O.step, models: w, etag: O.etag };
2438
- return S(w), v;
2440
+ let w = S(i({}, O.models), { [f]: h }), v = { step: O.step, models: w, etag: O.etag };
2441
+ return b(w), v;
2439
2442
  });
2440
- }, y = (0, Lt.useMemo)(() => Cu(m, ma(c)), [m, c]);
2443
+ }, y = (0, Bt.useMemo)(() => Fu(m, da(c)), [m, c]);
2441
2444
  return { formErrors: t, globalError: o, step: c, models: m, etag: p, modelIsValid: y, setFormErrors: r, setGlobalError: a, setStepAndEtag: u, setSchemaModel: g };
2442
2445
  };
2443
- var ol = (e, t = []) => t.reduce((r, o) => (o.$id || console.warn("Schema without $id property found."), b(i({}, r), { [o.$id || ""]: ae(e, o) || {} })), {});
2444
- var ma = (e) => [...da((e == null ? void 0 : e.layout) || []), ...(e == null ? void 0 : e.schemas) || []];
2445
- var da = (e) => e.flatMap((t) => {
2446
+ var al = (e, t = []) => t.reduce((r, o) => (o.$id || console.warn("Schema without $id property found."), S(i({}, r), { [o.$id || ""]: ae(e, o) || {} })), {});
2447
+ var da = (e) => [...ua((e == null ? void 0 : e.layout) || []), ...(e == null ? void 0 : e.schemas) || []];
2448
+ var ua = (e) => e.flatMap((t) => {
2446
2449
  switch (t.type) {
2447
2450
  case "columns":
2448
- return [...da([...t.left, ...t.right])];
2451
+ return [...ua([...t.left, ...t.right])];
2449
2452
  case "box":
2450
- return da(t.components);
2453
+ return ua(t.components);
2451
2454
  case "form":
2452
- return rl(t.schema) ? [t.schema] : [];
2455
+ return Cu(t.schema) ? [t.schema] : [];
2453
2456
  default:
2454
2457
  return [];
2455
2458
  }
2456
2459
  });
2457
- var Cu = (e, t = []) => !(t != null && t.some((r) => (r.$id || console.warn("Schema without $id property found."), !G(e[r.$id || ""] || {}, r))));
2458
- var Wr = require("@transferwise/components");
2459
- var nl = require("react");
2460
- var sl = require("react/jsx-runtime");
2461
- function il(e, t) {
2462
- let r = i({ size: Wr.Size.EXTRA_LARGE, initial: true, submission: false }, e), [o, a] = (0, nl.useState)(t), s = r.initial && o === "initial" || r.submission && o === "submission" ? (0, sl.jsx)(Wr.Loader, { size: r.size, classNames: { "tw-loader": "tw-loader m-x-auto" }, "data-testid": "loader" }) : null;
2460
+ var Fu = (e, t = []) => !(t != null && t.some((r) => (r.$id || console.warn("Schema without $id property found."), !G(e[r.$id || ""] || {}, r))));
2461
+ var Cu = (e) => e !== void 0 && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "$ref") === false;
2462
+ var Yr = require("@transferwise/components");
2463
+ var il = require("react");
2464
+ var ll = require("react/jsx-runtime");
2465
+ function sl(e, t) {
2466
+ let r = i({ size: Yr.Size.EXTRA_LARGE, initial: true, submission: false }, e), [o, a] = (0, il.useState)(t), s = r.initial && o === "initial" || r.submission && o === "submission" ? (0, ll.jsx)(Yr.Loader, { size: r.size, classNames: { "tw-loader": "tw-loader m-x-auto" }, "data-testid": "loader" }) : null;
2463
2467
  return { isLoading: o !== "idle", setLoadingState: a, loader: s };
2464
2468
  }
2465
- var ul = require("react");
2466
- var Kr = require("@transferwise/components");
2469
+ var pl = require("react");
2470
+ var Jr = require("@transferwise/components");
2471
+ var ml = require("react-intl");
2467
2472
  var cl = require("react-intl");
2468
- var ll = require("react-intl");
2469
- var ua = (0, ll.defineMessages)({ errorAlert: { id: "dynamicFlows.ErrorBoundary.errorAlert", defaultMessage: "Oops. Something went wrong...", description: "Generic error message for when something has gone wrong" }, retry: { id: "dynamicFlows.ErrorBoundary.retry", defaultMessage: "Retry", description: "Retry" } });
2470
- var dl = require("react/jsx-runtime");
2471
- var ml = ({ onDismiss: e }) => {
2472
- let { formatMessage: t } = (0, cl.useIntl)();
2473
- return (0, dl.jsx)(Kr.Alert, { action: { text: t(ua.retry), href: window.location.href }, message: t(ua.errorAlert), type: Kr.Sentiment.NEGATIVE, className: "m-b-3", onDismiss: e });
2473
+ var pa = (0, cl.defineMessages)({ errorAlert: { id: "dynamicFlows.ErrorBoundary.errorAlert", defaultMessage: "Oops. Something went wrong...", description: "Generic error message for when something has gone wrong" }, retry: { id: "dynamicFlows.ErrorBoundary.retry", defaultMessage: "Retry", description: "Retry" } });
2474
+ var ul = require("react/jsx-runtime");
2475
+ var dl = ({ onDismiss: e }) => {
2476
+ let { formatMessage: t } = (0, ml.useIntl)();
2477
+ return (0, ul.jsx)(Jr.Alert, { action: { text: t(pa.retry), href: window.location.href }, message: t(pa.errorAlert), type: Jr.Sentiment.NEGATIVE, className: "m-b-3", onDismiss: e });
2474
2478
  };
2475
2479
  var Tt = require("react/jsx-runtime");
2476
2480
  var xu = () => {
2477
2481
  };
2478
- var pa = class extends ul.Component {
2482
+ var fa = class extends pl.Component {
2479
2483
  constructor(r) {
2480
2484
  super(r);
2481
2485
  this.handleErrorReset = () => {
@@ -2492,30 +2496,30 @@ var require_main_min = __commonJS({
2492
2496
  }
2493
2497
  render() {
2494
2498
  let { children: r } = this.props, { hasError: o, isFatalError: a } = this.state;
2495
- return (0, Tt.jsxs)(Tt.Fragment, { children: [o && (0, Tt.jsx)(ml, { onDismiss: this.handleErrorReset }), !a && r] });
2499
+ return (0, Tt.jsxs)(Tt.Fragment, { children: [o && (0, Tt.jsx)(dl, { onDismiss: this.handleErrorReset }), !a && r] });
2496
2500
  }
2497
2501
  };
2498
- var fa = pa;
2502
+ var ya = fa;
2499
2503
  var Ou = async (e) => {
2500
2504
  switch (e.headers.get("X-Df-ResponseType")) {
2501
2505
  case "step":
2502
- return pl(e);
2506
+ return fl(e);
2503
2507
  case "exit":
2504
- return yl(e);
2508
+ return hl(e);
2505
2509
  case "action":
2506
- return fl(e);
2510
+ return yl(e);
2507
2511
  default:
2508
2512
  throw new Error("Unsupported X-Df-ResponseType. Allowed values are 'step', 'action', 'exit'.");
2509
2513
  }
2510
2514
  };
2511
- var pl = async (e) => {
2515
+ var fl = async (e) => {
2512
2516
  let t = await ir(e);
2513
2517
  if (!N(t))
2514
2518
  throw new Error("Incorrect response body in response. Expected an object.");
2515
2519
  let r = e.headers.get("etag") || void 0;
2516
2520
  return { type: "step", step: t, etag: r };
2517
2521
  };
2518
- var fl = async (e) => {
2522
+ var yl = async (e) => {
2519
2523
  let t = await ir(e);
2520
2524
  if (!N(t))
2521
2525
  throw new Error("Incorrect response body in response. Expected an object.");
@@ -2524,27 +2528,27 @@ var require_main_min = __commonJS({
2524
2528
  let r = t.action;
2525
2529
  return r.exit === true && N(r.result) ? { type: "exit", result: r.result } : { type: "action", action: t.action };
2526
2530
  };
2527
- var yl = async (e) => ({ type: "exit", result: await ya(e) });
2528
- var hl = async (e) => {
2531
+ var hl = async (e) => ({ type: "exit", result: await ha(e) });
2532
+ var gl = async (e) => {
2529
2533
  var r, o;
2530
- if (ha(e), (r = e.headers) != null && r.has("X-Df-ResponseType"))
2534
+ if (ga(e), (r = e.headers) != null && r.has("X-Df-ResponseType"))
2531
2535
  return Ou(e);
2532
2536
  if ((o = e.headers) != null && o.has("X-Df-Exit"))
2533
- return yl(e);
2537
+ return hl(e);
2534
2538
  let t = await ir(e.clone());
2535
- return N(t) && t.action ? fl(e) : pl(e);
2539
+ return N(t) && t.action ? yl(e) : fl(e);
2536
2540
  };
2537
- var gl = async (e) => {
2538
- ha(e);
2541
+ var bl = async (e) => {
2542
+ ga(e);
2539
2543
  let t = await ir(e);
2540
2544
  if (!N(t))
2541
2545
  throw new Error("Incorrect response body in error response. Expected an object.");
2542
- if (!t.refreshFormUrl && !t.validation && !t.error)
2546
+ if (!t.refreshFormUrl && !t.refreshUrl && !t.validation && !t.error)
2543
2547
  throw t;
2544
2548
  return t;
2545
2549
  };
2546
- var ya = async (e) => {
2547
- ha(e);
2550
+ var ha = async (e) => {
2551
+ ga(e);
2548
2552
  let t = await ir(e);
2549
2553
  return N(t) ? t : null;
2550
2554
  };
@@ -2555,7 +2559,7 @@ var require_main_min = __commonJS({
2555
2559
  return null;
2556
2560
  }
2557
2561
  };
2558
- var ha = (e) => {
2562
+ var ga = (e) => {
2559
2563
  if (!vu(e))
2560
2564
  throw new Error("Incorrect type of response from fetch. Expected object of type Response.");
2561
2565
  if (e.bodyUsed)
@@ -2563,43 +2567,43 @@ var require_main_min = __commonJS({
2563
2567
  };
2564
2568
  var vu = (e) => typeof e == "object" && e !== null && "clone" in e && "bodyUsed" in e;
2565
2569
  var Qe = require("react/jsx-runtime");
2566
- var bl = () => {
2570
+ var Sl = () => {
2567
2571
  };
2568
- var Au = ({ flowId: e, httpClient: t, initialAction: r, initialStep: o, loaderConfig: a, displayStepTitle: n = true, onCompletion: s, onError: c, onEvent: m = bl, onLog: p = bl }) => {
2569
- let { locale: u } = (0, Sl.useIntl)(), { formErrors: g, globalError: y, step: l, models: d, etag: f, modelIsValid: h, setFormErrors: S, setGlobalError: O, setStepAndEtag: w, setSchemaModel: v } = al(o), [P, x] = (0, Ce.useState)(false), { isLoading: E, loader: L, setLoadingState: k } = il(a, o ? "idle" : "initial"), T = ot("critical", p, e, (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key)), H = (0, Ce.useMemo)(() => {
2572
+ var Au = ({ flowId: e, httpClient: t, initialAction: r, initialStep: o, loaderConfig: a, displayStepTitle: n = true, onCompletion: s, onError: c, onEvent: m = Sl, onLog: p = Sl }) => {
2573
+ let { locale: u } = (0, wl.useIntl)(), { formErrors: g, globalError: y, step: l, models: d, etag: f, modelIsValid: h, setFormErrors: b, setGlobalError: O, setStepAndEtag: w, setSchemaModel: v } = nl(o), [P, x] = (0, Ce.useState)(false), { isLoading: I, loader: L, setLoadingState: k } = sl(a, o ? "idle" : "initial"), B = at("critical", p, e, (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key)), H = (0, Ce.useMemo)(() => {
2570
2574
  var C;
2571
2575
  return i({ flowId: e, stepId: (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key) }, (C = l == null ? void 0 : l.analytics) != null ? C : {});
2572
- }, [e, l]), F = (0, Ce.useMemo)(() => to(m, H), [m, H]), j = (0, Ce.useCallback)(({ action: C, data: U, etag: D }) => {
2573
- let { url: J, method: Nt = "POST" } = C;
2574
- return t(J != null ? J : "", { method: Nt, headers: i({ "accept-language": u, "Content-Type": "application/json" }, D ? { "If-None-Match": D } : {}), credentials: "include", body: Nt === "GET" ? void 0 : JSON.stringify(U) });
2575
- }, [t, u]), I = async (C, U = {}) => {
2576
+ }, [e, l]), F = (0, Ce.useMemo)(() => ro(m, H), [m, H]), U = (0, Ce.useCallback)(({ action: C, data: j, etag: M }) => {
2577
+ let { url: Z, method: tt = "POST" } = C;
2578
+ return t(Z != null ? Z : "", { method: tt, headers: i({ "accept-language": u, "Content-Type": "application/json" }, M ? { "If-None-Match": M } : {}), credentials: "include", body: tt === "GET" ? void 0 : JSON.stringify(j) });
2579
+ }, [t, u]), D = async (C, j = {}) => {
2576
2580
  k(l ? "submission" : "initial"), F("Dynamic Flow - Step Submitted", { actionId: C.$id });
2577
2581
  try {
2578
- let D = await j({ action: C, data: U });
2579
- await sr(D, "submission");
2580
- } catch (D) {
2581
- lr(D, "Error fetching next step");
2582
+ let M = await U({ action: C, data: j });
2583
+ await sr(M, "submission");
2584
+ } catch (M) {
2585
+ lr(M, "Error fetching next step");
2582
2586
  }
2583
- }, $ = async (C, U, D) => {
2587
+ }, $ = async (C, j, M) => {
2584
2588
  k("refresh"), F("Dynamic Flow - Step Refreshed", { status: "pending" });
2585
2589
  try {
2586
- let J = await j({ action: { url: C, method: "POST" }, data: U, etag: D });
2587
- await sr(J, "refresh");
2588
- } catch (J) {
2589
- lr(J, "Error fetching refresh step");
2590
+ let Z = await U({ action: { url: C, method: "POST" }, data: j, etag: M });
2591
+ await sr(Z, "refresh");
2592
+ } catch (Z) {
2593
+ lr(Z, "Error fetching refresh step");
2590
2594
  }
2591
- }, He = async (C, U) => {
2595
+ }, He = async (C, j) => {
2592
2596
  k("submission");
2593
2597
  try {
2594
- let D = await j({ action: C, data: U });
2595
- await ue(D, C.result);
2596
- } catch (D) {
2597
- lr(D, "Error fetching exit result");
2598
+ let M = await U({ action: C, data: j });
2599
+ await ue(M, C.result);
2600
+ } catch (M) {
2601
+ lr(M, "Error fetching exit result");
2598
2602
  }
2599
- }, ue = async (C, U) => {
2600
- let D = await ya(C);
2601
- xe(i(i({}, D), U));
2602
- }, et = tl($), xe = (0, Ce.useCallback)((C) => {
2603
+ }, ue = async (C, j) => {
2604
+ let M = await ha(C);
2605
+ xe(i(i({}, M), j));
2606
+ }, et = ol($), xe = (0, Ce.useCallback)((C) => {
2603
2607
  F("Dynamic Flow - Flow Finished", { result: "success" }), s(C);
2604
2608
  }, [s, F]);
2605
2609
  (0, Ce.useEffect)(() => {
@@ -2607,89 +2611,90 @@ var require_main_min = __commonJS({
2607
2611
  }, []), (0, Ce.useEffect)(() => {
2608
2612
  if (!o) {
2609
2613
  let C = i({ $id: "#initial-step-request", method: "GET" }, r);
2610
- I(C, C.data);
2614
+ D(C, C.data);
2611
2615
  }
2612
2616
  }, [t, u, JSON.stringify(o), JSON.stringify(r)]);
2613
- let sr = async (C, U) => {
2617
+ let sr = async (C, j) => {
2614
2618
  try {
2615
2619
  if (C.status === 304) {
2616
2620
  k("idle");
2617
2621
  return;
2618
2622
  }
2619
2623
  if (!C.ok) {
2620
- let J = await gl(C);
2621
- Oc(J);
2624
+ let Z = await bl(C);
2625
+ vc(Z);
2622
2626
  return;
2623
2627
  }
2624
- let D = await hl(C);
2625
- D.type === "action" ? I(D.action, D.action.data) : D.type === "exit" ? xe(D.result) : xc(D.step, D.etag, U);
2626
- } catch (D) {
2627
- return lr(D, "Error parsing fetch response", U, C.status);
2628
+ let M = await gl(C);
2629
+ M.type === "action" ? D(M.action, M.action.data) : M.type === "exit" ? xe(M.result) : Oc(M.step, M.etag, j);
2630
+ } catch (M) {
2631
+ return lr(M, "Error parsing fetch response", j, C.status);
2628
2632
  }
2629
- }, xc = (C, U, D) => {
2630
- w(C, U), k("idle"), D === "submission" ? (x(false), F("Dynamic Flow - Step Started", i({ stepId: C.id || C.key }, C == null ? void 0 : C.analytics))) : F("Dynamic Flow - Step Refreshed", { status: "success" });
2631
- }, Oc = async (C) => {
2632
- C.refreshFormUrl && await $(C.refreshFormUrl, Yr(d), f), C.validation && S(C.validation), C.error && O(C.error), k("idle");
2633
- }, lr = (C, U, D, J) => {
2634
- T("Error fetching", U), D === "refresh" && F("Dynamic Flow - Step Refreshed", { status: "failure" }), F("Dynamic Flow - Flow Finished", { status: "failure" }), c(C, J), k("idle");
2635
- }, vc = (C) => {
2636
- let { model: U, formSchema: D } = C, { $id: J = "" } = D;
2637
- O(null), Z(U) || T("Invalid model on change", "onModelChange was called but the model argument is not an object"), v(J, U, (kc) => {
2638
- Ac(C, kc);
2633
+ }, Oc = (C, j, M) => {
2634
+ w(C, j), k("idle"), M === "submission" ? (x(false), F("Dynamic Flow - Step Started", i({ stepId: C.id || C.key }, C == null ? void 0 : C.analytics))) : F("Dynamic Flow - Step Refreshed", { status: "success" });
2635
+ }, vc = async (C) => {
2636
+ let j = C.refreshUrl || C.refreshFormUrl;
2637
+ j && await $(j, Zr(d), f), C.validation && b(C.validation), C.error && O(C.error), k("idle");
2638
+ }, lr = (C, j, M, Z) => {
2639
+ B("Error fetching", j), M === "refresh" && F("Dynamic Flow - Step Refreshed", { status: "failure" }), F("Dynamic Flow - Flow Finished", { status: "failure" }), c(C, Z), k("idle");
2640
+ }, Ac = (C) => {
2641
+ let { model: j, formSchema: M } = C, { $id: Z = "" } = M;
2642
+ O(null), J(j) || B("Invalid model on change", "onModelChange was called but the model argument is not an object"), v(Z, j, (cr) => {
2643
+ Pc(C, cr);
2639
2644
  });
2640
- }, Ac = (C, U) => {
2641
- let { triggerSchema: D } = C;
2645
+ }, Pc = (C, j) => {
2646
+ let { triggerSchema: M } = C;
2642
2647
  if (Mu(C)) {
2643
- let J = D.refreshFormUrl || (l == null ? void 0 : l.refreshFormUrl);
2644
- J && et(J, Yr(U), f, D);
2648
+ let Z = M.refreshUrl || M.refreshFormUrl, tt = (l == null ? void 0 : l.refreshUrl) || (l == null ? void 0 : l.refreshFormUrl), cr = Z || tt;
2649
+ cr && et(cr, Zr(j), f, M);
2645
2650
  }
2646
- }, Pc = async (C) => {
2647
- if (E || C.disabled)
2651
+ }, kc = async (C) => {
2652
+ if (I || C.disabled)
2648
2653
  return;
2649
2654
  if (C.exit && !C.url) {
2650
2655
  xe(C.result);
2651
2656
  return;
2652
2657
  }
2653
- let U = C.exit ? He : I, { data: D, method: J } = C, Nt = i(i({}, Yr(d)), D);
2654
- ku(J) ? (S(null), x(true), h && await U(C, Nt)) : await U(C);
2658
+ let j = C.exit ? He : D, { data: M, method: Z } = C, tt = i(i({}, Zr(d)), M);
2659
+ ku(Z) ? (b(null), x(true), h && await j(C, tt)) : await j(C);
2655
2660
  };
2656
- return (0, Qe.jsx)(Sr, { flowId: e, stepId: (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key), onLog: p, children: (0, Qe.jsx)(ur, { metadata: H, onEvent: m, children: (0, Qe.jsx)(Ta, { loading: E, children: (0, Qe.jsx)(Ua, { httpClient: t, children: L !== null ? L : (0, Qe.jsx)(Qs, { step: l, model: Yr(d), submitted: P, globalError: y, formErrors: g, stepLayoutOptions: { displayStepTitle: n }, onAction: (C) => {
2657
- Pc(C);
2658
- }, onModelChange: vc }) }) }) }) });
2661
+ return (0, Qe.jsx)(Fr, { flowId: e, stepId: (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key), onLog: p, children: (0, Qe.jsx)(fr, { metadata: H, onEvent: m, children: (0, Qe.jsx)(Na, { loading: I, children: (0, Qe.jsx)(Va, { httpClient: t, children: L !== null ? L : (0, Qe.jsx)(tl, { step: l, model: Zr(d), submitted: P, globalError: y, formErrors: g, stepLayoutOptions: { displayStepTitle: n }, onAction: (C) => {
2662
+ kc(C);
2663
+ }, onModelChange: Ac }) }) }) }) });
2659
2664
  };
2660
- var Pu = (e) => (0, Qe.jsx)(fa, { onError: e.onError, children: (0, Qe.jsx)(Au, i({}, e)) });
2661
- var ga = Pu;
2662
- var Yr = (e) => Object.values(e).reduce((t, r) => i(i({}, t), r), {});
2665
+ var Pu = (e) => (0, Qe.jsx)(ya, { onError: e.onError, children: (0, Qe.jsx)(Au, i({}, e)) });
2666
+ var ba = Pu;
2667
+ var Zr = (e) => Object.values(e).reduce((t, r) => i(i({}, t), r), {});
2663
2668
  var ku = (e = "POST") => ["POST", "PUT", "PATCH"].includes(e.toUpperCase());
2664
2669
  var Mu = (e) => {
2665
- let { type: t, triggerSchema: r, triggerModel: o, lastTriggerModel: a = null } = e, n = () => G(o, r), s = () => G(a, r);
2666
- return t !== "init" && (r == null ? void 0 : r.refreshFormOnChange) && (n() || s());
2670
+ let { type: t, triggerSchema: r, triggerModel: o, lastTriggerModel: a = null } = e, n = () => G(o, r), s = () => G(a, r), c = (r == null ? void 0 : r.refreshStepOnChange) || (r == null ? void 0 : r.refreshFormOnChange);
2671
+ return t !== "init" && c && (n() || s());
2667
2672
  };
2668
- var ba = {};
2669
- tt(ba, { alert: () => wl, box: () => Fl, button: () => Cl, columns: () => xl, copyable: () => Ol, decision: () => vl, decisionFlags: () => Al, decisionIcons: () => Pl, heading: () => kl, image: () => Ml, info: () => El, list: () => Il, loadingIndicator: () => Dl, paragraph: () => Ll, review: () => Tl });
2673
+ var Sa = {};
2674
+ rt(Sa, { alert: () => Fl, box: () => Cl, button: () => xl, columns: () => Ol, copyable: () => vl, decision: () => Al, decisionFlags: () => Pl, decisionIcons: () => kl, heading: () => Ml, image: () => El, info: () => Il, list: () => Dl, loadingIndicator: () => Ll, paragraph: () => Bl, review: () => Tl });
2670
2675
  var Eu = { id: "Components/Alert", title: "Alert Component", description: "Alerts can have different contexts.", schemas: [], layout: [{ type: "alert", markdown: 'This is an alert with "neutral" context. A subset of Markdown features are supported, like **bold text**, and __italic__ I think. But no line breaks nor links.', context: "neutral" }, { type: "alert", markdown: 'This is an alert with "warning" context. A subset of Markdown features are supported, like **bold text**, and __italic__ I think. But no line breaks nor links.', context: "warning" }, { type: "alert", markdown: 'This is an alert with "positive" context. A subset of Markdown features are supported, like **bold text**, and __italic__ I think. But no line breaks nor links.', context: "positive" }, { type: "alert", markdown: 'This is an alert with "negative" context. A subset of Markdown features are supported, like **bold text**, and __italic__ I think. But no line breaks nor links.', context: "negative" }] };
2671
- var wl = Eu;
2676
+ var Fl = Eu;
2672
2677
  var Iu = { id: "Components/Box", title: "Box Component", description: "Box is a container for other layour components. It can have a border!", schemas: [], layout: ["xs", "sm", "md", "lg", "xl"].map((e) => ({ type: "box", width: e, border: true, components: [{ type: "paragraph", text: `This paragraph is inside a box with border: "true" and width: "${e}".` }] })) };
2673
- var Fl = Iu;
2678
+ var Cl = Iu;
2674
2679
  var Du = ["primary", "secondary", "negative", "link"].map((e, t) => ({ type: "button", action: { url: "/action-url", method: "POST", title: `Button ${t + 1}, type: "${e}"`, type: e, data: { "button-number": t + 1 } } }));
2675
- var Lu = { id: "Components/Button", title: "Button Component", description: "Buttons typically trigger actions.", schemas: [{ $id: "#schema", type: "object", displayOrder: [], properties: { "form-field": { type: "string", default: "Some text", title: 'Enter any text. It will be submitted under "form-field".' } } }], layout: [{ type: "box", width: "md", components: [{ type: "paragraph", text: "Action buttons merge the form data with their own action.data before submitting it to the specified URL." }, { type: "form", schema: { $ref: "#schema" } }, ...Du, { type: "paragraph", text: "Press any buttons and see the httpClient calls below.", align: "center" }] }] };
2676
- var Cl = Lu;
2677
- var Tu = { id: "Components/Columns", title: "Columns Component", description: "Arrange components in two columns (when there's enough space)", schemas: [], layout: [{ type: "columns", left: [{ type: "button", action: { title: "Save", type: "primary", exit: true, result: { side: "left" } } }], right: [{ type: "button", action: { title: "Delete", type: "negative", exit: true, result: { side: "right" } } }] }] };
2678
- var xl = Tu;
2679
- var Bu = { id: "Components/Copyable", title: "Copyable Text", description: "Copyable Text Component.", layout: [{ type: "paragraph", align: "center", text: "Please copy the code below and use it in that other thing." }, { type: "paragraph", text: "7Xtiq6fnX9aEVF7yZAmb2qyqS857ro8S", align: "center", control: "copyable" }], schemas: [] };
2680
+ var Lu = { id: "Components/Button", title: "Button Component", description: "Buttons typically trigger actions.", schemas: [{ $id: "#schema", type: "object", displayOrder: [], properties: { "form-field": { type: "string", default: "Some text", title: 'Enter any text. It will be submitted under "form-field".' } } }], layout: [{ type: "box", width: "md", components: [{ type: "paragraph", text: "Action buttons merge the form data with their own action.data before submitting it to the specified URL." }, { type: "form", schemaId: "#schema" }, ...Du, { type: "paragraph", text: "Press any buttons and see the httpClient calls below.", align: "center" }] }] };
2681
+ var xl = Lu;
2682
+ var Bu = { id: "Components/Columns", title: "Columns Component", description: "Arrange components in two columns (when there's enough space)", schemas: [], layout: [{ type: "columns", left: [{ type: "button", action: { title: "Save", type: "primary", exit: true, result: { side: "left" } } }], right: [{ type: "button", action: { title: "Delete", type: "negative", exit: true, result: { side: "right" } } }] }] };
2680
2683
  var Ol = Bu;
2684
+ var Tu = { id: "Components/Copyable", title: "Copyable Text", description: "Copyable Text Component.", layout: [{ type: "paragraph", align: "center", text: "Please copy the code below and use it in that other thing." }, { type: "paragraph", text: "7Xtiq6fnX9aEVF7yZAmb2qyqS857ro8S", align: "center", control: "copyable" }], schemas: [] };
2685
+ var vl = Tu;
2681
2686
  var Nu = { id: "Components/Decision", title: "Decision Component", description: "A step with a decision Component.", schemas: [], layout: [{ type: "heading", size: "sm", text: "Please continue using one of the following options:" }, { type: "decision", options: [{ title: "Create a new recipient", description: "You will need their bank details to hand", icon: { name: "plus" }, action: { title: "", url: "recipient" } }, { title: "Choose an existing recipient", disabled: false, icon: { name: "bank" }, action: { title: "", url: "review" } }, { title: "Show me the external step", disabled: false, icon: { name: "bulb" }, action: { title: "", url: "external" } }, { title: "Currency flags are now supported as well", disabled: false, icon: { name: "flag-eur" }, action: { title: "", url: "external" } }] }] };
2682
- var vl = Nu;
2683
- var Ru = { id: "Components/Decision Flags", title: "Decision Component", description: "A step with a decision Component.", schemas: [], layout: [{ type: "heading", size: "sm", text: "Please continue using one of the following options:" }, { type: "decision", options: ko.map((e) => ({ title: `${e.toUpperCase()}`, icon: { name: `flag-${e}` }, action: { url: "/" } })) }] };
2684
- var Al = Ru;
2687
+ var Al = Nu;
2688
+ var Ru = { id: "Components/Decision Flags", title: "Decision Component", description: "A step with a decision Component.", schemas: [], layout: [{ type: "heading", size: "sm", text: "Please continue using one of the following options:" }, { type: "decision", options: Mo.map((e) => ({ title: `${e.toUpperCase()}`, icon: { name: `flag-${e}` }, action: { url: "/" } })) }] };
2689
+ var Pl = Ru;
2685
2690
  var ju = Ee(require("@transferwise/icons"));
2686
2691
  var Uu = { id: "Components/Decision Icons", title: "Decision Component", description: "A step with a decision Component.", schemas: [], layout: [{ type: "heading", size: "sm", text: "Please continue using one of the following options:" }, { type: "decision", options: Object.keys(ju).map((e) => ({ title: `${e} Icon`, icon: { name: e }, action: { url: "/" } })) }] };
2687
- var Pl = Uu;
2692
+ var kl = Uu;
2688
2693
  var zu = { id: "Components/Heading", title: "Heading Component", description: 'Headings can have different sizes: "xs", "sm", "md", "lg", "xl".', schemas: [], layout: ["xs", "sm", "md", "lg", "xl"].map((e) => ({ type: "heading", text: `This is heading with size: "${e}"`, size: e })) };
2689
- var kl = zu;
2694
+ var Ml = zu;
2690
2695
  var Vu = ["xs", "sm", "md", "lg", "xl"];
2691
2696
  var Hu = { id: "Components/Image", title: "Image Component", description: 'Images can have different sizes: "xs", "sm", "md", "lg", "xl".', schemas: [], layout: Vu.flatMap((e) => [{ type: "paragraph", text: `This is an image with size: "${e}"`, align: "center" }, { type: "image", url: "https://images.unsplash.com/photo-1542736705-53f0131d1e98?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=400&q=80", text: `This is an image with size: "${e}"`, size: e }]) };
2692
- var Ml = Hu;
2697
+ var El = Hu;
2693
2698
  var qu = { id: "Components/Info", title: "Info Component", description: "A block of markdown content.", schemas: [], layout: [{ type: "info", markdown: `## The Advantages of Using Bananas for Data Backup
2694
2699
 
2695
2700
  If you're looking for a fruit-based solution to your data backup needs, bananas might just be the perfect choice. Here are some reasons why:
@@ -2707,101 +2712,101 @@ Who needs passwords when you have bananas? With each backup, you can create a un
2707
2712
  But the best part? Bananas are biodegradable and environmentally-friendly, making them the ideal choice for anyone concerned about the planet. When you're done with your backup, you can simply toss the [bananas](https://en.wikipedia.org/wiki/Banana) in the compost bin or plant them in your garden. Who knew data backup could be so good for the earth?
2708
2713
 
2709
2714
  `, align: "left" }, { type: "alert", markdown: "Links always open in a new tab.", context: "neutral" }] };
2710
- var El = qu;
2715
+ var Il = qu;
2711
2716
  var $u = { id: "Components/List", title: "List Component", description: "A list of items with optional states, subtitles, and images.", schemas: [], layout: [{ type: "list", items: [{ title: "Step 1", description: "Get a chip.", icon: { name: "chip" }, status: "positive" }, { title: "Step 2", description: "Get a car.", icon: { name: "car" }, status: "neutral" }, { title: "Step 3", description: "Get a building.", icon: { name: "building" }, status: "warning" }] }] };
2712
- var Il = $u;
2717
+ var Dl = $u;
2713
2718
  var Gu = { id: "Components/Loading Indicator", title: "Loading Indicator Component", description: "A loading indicator to be displayed within a layout.", schemas: [], layout: [{ type: "loading-indicator", size: "lg", margin: "md" }] };
2714
- var Dl = Gu;
2719
+ var Ll = Gu;
2715
2720
  var _u = { id: "Components/Paragraph", title: "Paragraph Component", description: "A block of plain text.", schemas: [], layout: [{ type: "paragraph", text: "Well, if you're really bent on using fruit for data backup, bananas might just be the perfect choice. For starters, they're portable and can fit in any backpack or briefcase. So, you can take your backup with you wherever you go." }, { type: "paragraph", text: "And who needs passwords when you have bananas? With each backup, you can create a unique banana code by peeling the skin in a particular pattern, thus ensuring the safety of your data." }, { type: "paragraph", text: "But the best part? Bananas are biodegradable and environmentally-friendly, making them the ideal choice for anyone concerned about the planet. When you're done with your backup, you can simply toss the bananas in the compost bin or plant them in your garden. Who knew data backup could be so good for the earth?" }, { type: "alert", markdown: "Paragraph is a block of plain text content. If you need richer formatting and layout options, consider using Info Layout.", context: "neutral" }] };
2716
- var Ll = _u;
2721
+ var Bl = _u;
2717
2722
  var Wu = { id: "Components/Review", title: "Review Component", description: "Show a list of read-only fields.", schemas: [], layout: [{ type: "box", border: true, components: [{ type: "review", title: "Please check your details (vertical orientation)", orientation: "vertical", fields: [{ label: "name", value: "Bob Loblaw" }, { label: "email", value: "bob.loblaw@law.blog" }, { label: "address", value: "123 Fake St, New York, NY 10001" }] }] }, { type: "box", border: true, components: [{ type: "review", title: "Please check your details (horizontal orientation)", orientation: "horizontal", fields: [{ label: "name", value: "Bob Loblaw" }, { label: "email", value: "bob.loblaw@law.blog" }, { label: "address", value: "123 Fake St, New York, NY 10001" }] }] }, { type: "box", border: true, components: [{ type: "review", title: "The action property is only supported on web", orientation: "horizontal", action: { title: "Edit", url: "/edit" }, fields: [{ label: "name", value: "Bob Loblaw" }, { label: "email", value: "bob.loblaw@law.blog" }, { label: "address", value: "123 Fake St, New York, NY 10001" }] }] }] };
2718
2723
  var Tl = Wu;
2719
- var Sa = {};
2720
- tt(Sa, { cameraCapture: () => Bl, recipient: () => Nl, recipientUpdate: () => Rl, singleFileUpload: () => jl, stepValidationErrors: () => Ul });
2721
- var Ku = { id: "Examples/Camera Capture", title: "Camera Capture Example", schemas: [{ properties: { frontSideFile: { refreshFormOnChange: false, format: "base64url", $id: "frontSideFile", title: "Passport photo page", hidden: false, cameraConfig: { assets: { overlay: "https://wise.com/public-resources/assets/camera-guidelines/v2/overlay_passport.png", outline: "https://wise.com/public-resources/assets/camera-guidelines/v2/outline_passport.png" }, direction: "back" }, source: "camera", type: "string" } }, required: ["frontSideFile"], displayOrder: ["frontSideFile"], $id: "ee2501a9-2566-459b-a42e-f9f0932be0e6", type: "object" }, { properties: { type: { refreshFormOnChange: false, $id: "9200f887-bfdd-46ad-8386-e76f455a7cc8", const: "ID_DOCUMENT_WITH_LIVENESS", hidden: true, type: "string" } }, required: ["type"], displayOrder: ["type"], $id: "c59a2881-a2e0-4108-b42e-0d30fc95bd7f", type: "object" }, { properties: { profileId: { refreshFormOnChange: false, $id: "75d888dc-208a-4d7d-a2a7-aeca0dd1b533", const: 14551053, hidden: true, type: "integer" } }, required: ["profileId"], displayOrder: ["profileId"], $id: "3eec6add-2d0e-41d7-8317-49542c841484", type: "object" }, { properties: { sessionId: { refreshFormOnChange: false, $id: "df82adf3-8a66-46b5-bef8-72f59be2188d", const: "62dfe7d026c6da1ac0db1ee4", hidden: true, type: "string" } }, required: ["sessionId"], displayOrder: ["sessionId"], $id: "e1a8fb67-9af2-47e8-97c1-f2a88e5d5f3a", type: "object" }], actions: [{ url: "/v3/kyc-checks/87785/flow?actionId=SINGLE_PAGE_REVIEW&sessionId=62dfe7d026c6da1ac0db1ee4&", type: "primary", method: "POST", disabled: false, $id: "6789eac5-7bbe-49d8-9da8-6edb8e7ef165", title: "" }], layout: [{ type: "form", schema: { $ref: "ee2501a9-2566-459b-a42e-f9f0932be0e6" } }, { components: [{ action: { $ref: "6789eac5-7bbe-49d8-9da8-6edb8e7ef165" }, margin: "lg", size: "md", type: "button" }], border: false, width: "xl", type: "box" }], model: { profileId: 14551053, sessionId: "62dfe7d026c6da1ac0db1ee4", issuingCountry: "HU", documentType: "PASSPORT", type: "ID_DOCUMENT_WITH_LIVENESS", key: { value: "ID_DOCUMENT_WITH_LIVENESS14551053" } }, refreshFormUrl: "/" };
2722
- var Bl = Ku;
2723
- var Yu = { id: "Examples/Recipient Creation", title: "Recipient Creation Example", description: "A form step with the typical recipient creation form.", schemas: [{ $id: "#new-recipient", allOf: [{ type: "object", displayOrder: ["profileId", "currency", "legalEntityType", "email"], properties: { profileId: { type: "number", hidden: true, const: 123456789 }, currency: { title: "Currency", type: "string", analyticsId: "currency", oneOf: [{ title: "EUR", analyticsId: "currency-eur", icon: { name: "flag-eur" }, description: "Euro", const: "EUR" }, { title: "GBP", analyticsId: "currency-gbp", icon: { name: "flag-gbp" }, description: "British pound", const: "GBP" }, { title: "INR", analyticsId: "currency-inr", icon: { name: "flag-inr" }, description: "Indian rupee", const: "INR" }, { title: "USD", analyticsId: "currency-usd", icon: { name: "flag-usd" }, description: "United States dollar", const: "USD" }], validationMessages: { required: "Please enter currency." }, default: "EUR", refreshFormOnChange: true }, legalEntityType: { title: "Select recipient type", type: "string", analyticsId: "legalEntityType", oneOf: [{ title: "Person", analyticsId: "legalEntityType-person", const: "PERSON" }, { title: "Business", analyticsId: "legalEntityType-business", const: "INSTITUTION" }], validationMessages: { required: "Please specify the type of recipient." }, refreshFormOnChange: true }, email: { title: "Their email", type: "string", analyticsId: "email", placeholder: "example@example.ex", validationMessages: { maxLength: "The email you have entered is too long.", pattern: "The email address is invalid." }, refreshFormOnChange: true, autofillProvider: "contact", autofillKey: "contact.email", refreshFormUrl: "/steps/recipient", pattern: "\\s*[a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+\\s*", maxLength: 255 } }, required: ["currency", "legalEntityType"] }, { title: "Bank details", analyticsId: "bank-details", oneOf: [{ title: "Inside Europe", analyticsId: "bank-details-europe", type: "object", displayOrder: ["name", "ownedByCustomer", "details", "type"], properties: { name: { type: "object", displayOrder: ["fullName"], properties: { fullName: { title: "Full name of the account holder", type: "string", validationMessages: { minLength: "Name needs to be between 2 and 140 characters long.", maxLength: "Recipient name cannot be longer than 140 characters.", pattern: "This recipient name contains invalid characters. Please use latin characters only.", required: "Name cannot be empty." }, autofillProvider: "contact", autofillKey: "contact.fullName", pattern: `^[0-9A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\xFF-_()'*,.%#^@&{}~<>+$"\\[\\]\\\\ ]+$`, minLength: 2, maxLength: 140 } }, required: ["fullName"] }, ownedByCustomer: { title: "My own Account", type: "boolean", hidden: true, const: false }, details: { type: "object", displayOrder: ["bic", "iban"], properties: { bic: { title: "Bank code (BIC/SWIFT)", type: "string", placeholder: "BARCGB22XXX", hidden: true, validationMessages: { minLength: "The BIC you have entered is too short.", maxLength: "The BIC you have entered is too long.", pattern: "Please specify a valid BIC." }, pattern: "^[A-Za-z]{6}[A-Za-z\\d]{2}([A-Za-z\\d]{3})?$", minLength: 8, maxLength: 11 }, iban: { title: "IBAN", type: "string", placeholder: "DE12345678901234567890", displayFormat: "**** **** **** **** **** **** **** ****", help: { markdown: "IBANs are long account numbers used by banks for cross-border transfers. Each country structures this number differently, but it always starts with a 2 digit country code (e.g. DE for Germany)." }, validationMessages: { minLength: "The IBAN you have entered is too short.", maxLength: "The IBAN you have entered is too long.", pattern: "Please specify a valid IBAN.", required: "Please specify an IBAN." }, refreshFormOnChange: true, pattern: "^[a-zA-Z]{2}[a-zA-Z0-9 ]{12,40}$", minLength: 14, maxLength: 42 } }, required: ["iban"] }, type: { title: "Type", type: "string", hidden: true, const: "Iban" } }, required: ["type", "name", "details"], icon: { name: "bank" } }, { title: "Outside Europe", analyticsId: "bank-details-outside-europe", type: "object", displayOrder: ["name", "ownedByCustomer", "details", "type"], properties: { name: { type: "object", displayOrder: ["fullName"], properties: { fullName: { title: "Full name of the account holder", type: "string", validationMessages: { minLength: "Name needs to be between 2 and 140 characters long.", maxLength: "Recipient name cannot be longer than 140 characters.", pattern: "This recipient name contains invalid characters. Please use latin characters only.", required: "Name cannot be empty." }, autofillProvider: "contact", autofillKey: "contact.fullName", pattern: `^[0-9A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\xFF-_()'*,.%#^@&{}~<>+$"\\[\\]\\\\ ]+$`, minLength: 2, maxLength: 140 } }, required: ["fullName"] }, ownedByCustomer: { title: "My own Account", type: "boolean", hidden: true, const: false }, details: { type: "object", displayOrder: ["bic", "accountNumber"], properties: { bic: { title: "SWIFT / BIC code", type: "string", placeholder: "BUKBGB22", validationMessages: { minLength: "The BIC you have entered is too short.", maxLength: "The BIC you have entered is too long.", pattern: "Please specify a valid BIC.", required: "Please specify a BIC." }, pattern: "^[a-zA-Z]{6}(([a-zA-Z0-9]{2})|([a-zA-Z0-9]{5}))$", minLength: 8, maxLength: 11 }, accountNumber: { title: "IBAN / Account Number", type: "string", placeholder: "123456789012", validationMessages: { minLength: "Account number is too short.", maxLength: "Account number is too large.", pattern: "Please enter a valid account number.", required: "Please enter an IBAN or account number." }, pattern: "^[a-zA-Z0-9]{4,34}$", minLength: 4, maxLength: 34 } }, required: ["bic", "accountNumber"] }, type: { title: "Type", type: "string", hidden: true, const: "SwiftCode" } }, required: ["type", "name", "details"], icon: { name: "bank" }, alert: { context: "warning", markdown: "To send EUR to this account, we need to use the SWIFT network. It\u2019s slower, so the transfer might take a day or two longer. Also note that intermediary banks and your recipient\u2019s bank might charge extra fees to the amount received." } }], control: "tab", placeholder: "Please select where you are sending to..." }] }], refreshFormUrl: "/steps/recipient", layout: [{ type: "form", schema: { $ref: "#new-recipient" } }, { type: "button", action: { type: "primary", title: "Confirm", url: "/v2/accounts", method: "POST" } }], model: { ownedByCustomer: false, details: {} } };
2724
- var Nl = Yu;
2725
- var Ju = { id: "Examples/Recipient Update", title: "Edit recipient", schemas: [{ $id: "form", allOf: [{ type: "object", displayOrder: ["currency"], properties: { currency: { title: "Currency", type: "string", analyticsId: "currency-select", oneOf: [{ title: "GBP", analyticsId: "GBP", icon: { name: "flag-gbp" }, description: "British pound", const: "GBP" }], readOnly: true } }, required: [] }, { title: "Bank details", type: "object", analyticsId: "SortCode", icon: { name: "bank" }, displayOrder: ["name", "details", "address"], properties: { name: { type: "object", displayOrder: ["fullName"], properties: { fullName: { title: "Full name of the account holder", type: "string", disabled: true, readOnly: true, validationMessages: { minLength: "Name needs to be between 2 and 140 characters long.", maxLength: "Recipient name cannot be longer than 140 characters.", pattern: "This recipient name may contain invalid characters or is not the full name. Please try again." }, autofillProvider: "contact", autofillKey: "contact.fullName", pattern: "^[0-9A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\xFF-_()'*,.]+ +[0-9A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\xFF-_()'*,.]+([0-9A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\xFF-_()'*,. ]*)$", minLength: 2, maxLength: 140 } }, required: [] }, details: { type: "object", displayOrder: ["sortCode", "accountNumber"], properties: { sortCode: { title: "UK sort code", type: "string", placeholder: "40-30-20", disabled: true, readOnly: true, validationMessages: { pattern: "Please enter a valid bank code." }, pattern: "^\\d{2}-?\\d{2}-?\\d{2}$", minLength: 6, maxLength: 8, format: "numeric", displayFormat: "**-**-**" }, accountNumber: { title: "Account number", type: "string", placeholder: "12345678", disabled: true, readOnly: true, validationMessages: { minLength: "Account number is too short.", maxLength: "Account number is too large.", pattern: "Please enter a valid account number." }, pattern: "[0-9]{8}", minLength: 8, maxLength: 8, format: "numeric" } }, required: [] }, address: { title: "Recipient address", type: "object", displayOrder: ["country", "city", "firstLine", "postCode"], properties: { country: { title: "Country", type: "string", placeholder: "Choose a country", oneOf: [{ title: "Argentina", const: "AR" }, { title: "Brazil", const: "BR" }, { title: "Canada", const: "CA" }, { title: "Denmark", const: "DK" }, { title: "Egypt", const: "EG" }, { title: "France", const: "FR" }, { title: "Germany", const: "DE" }, { title: "Honduras", const: "HN" }, { title: "Italy", const: "IT" }, { title: "Japan", const: "JP" }, { title: "Korea, Republic of", const: "KR" }, { title: "Liberia", const: "LR" }, { title: "Morocco", const: "MA" }, { title: "New Zealand", const: "NZ" }, { title: "Oman", const: "OM" }, { title: "Peru", const: "PE" }, { title: "Qatar", const: "QA" }, { title: "Russian Federation", const: "RU" }, { title: "Spain", const: "ES" }, { title: "Turkey", const: "TR" }, { title: "United Kingdom of Great Britain and Northern Ireland", const: "GB" }, { title: "United States of America", const: "US" }, { title: "Viet Nam", const: "VN" }, { title: "Yemen", const: "YE" }, { title: "Zimbabwe", const: "ZW" }], validationMessages: { required: "Please select a country." }, autofillProvider: "contact", autofillKey: "contact.countryCode" }, city: { title: "City", type: "string", autofillProvider: "contact", autofillKey: "contact.city", pattern: "^.{1,255}$", minLength: 1, maxLength: 255 }, firstLine: { title: "Recipient address", type: "string", autofillProvider: "contact", autofillKey: "contact.firstLine", pattern: "^.{1,255}$", minLength: 1, maxLength: 255 }, postCode: { title: "Post code", type: "string", validationMessages: { pattern: "Please specify a valid post code.", required: "Please specify the recipient's post code." }, autofillProvider: "contact", autofillKey: "contact.postalCode", pattern: "^.{1,32}$", minLength: 1, maxLength: 32 } }, required: ["country", "city", "firstLine", "postCode"], help: { markdown: "For legal reasons, we need to ask for the recipient's address (not the bank's address). Don't worry, they won't get any post from us." } } }, required: ["address"] }] }], errors: { validation: { address: { country: "Please select a country.", city: "Please enter a city.", postCode: "Please enter a post code.", firstLine: "Please enter a residential address." } } }, refreshFormUrl: "/steps/recipientUpdate/?refresh", model: { country: "GB", ownedByCustomer: false, creatorId: 5465158, accountSummary: "(04-00-04) 27832001", active: true, longAccountSummary: "GBP account ending in 2001", type: "SortCode", isInternal: false, profileId: 5461759, legalEntityType: "PERSON", name: { fullName: "Fergus Jordan" }, currency: "GBP", details: { accountNumber: "27832001", sortCode: "040004", hashedByLooseHashAlgorithm: "5c577703b845c613532bf0e08bbb38ce37644f76af58e1af6fa7447df7041a27" }, id: 67912450, hash: "fe319d809ce8a4f155412afe1b62bc2f1abf6e4af89f762a85a47811f54dab53", commonFieldMap: { bankCodeField: "sortCode", accountNumberField: "accountNumber" } }, layout: [{ schema: { $ref: "form" }, type: "form" }, { type: "button", action: { $id: "submit", title: "Update", url: "/responses/recipientUpdate/?delay=5000", type: "primary", method: "PATCH" } }] };
2726
- var Rl = Ju;
2727
- var Zu = { id: "Examples/Single File Upload", title: "Single File Upload Example", schemas: [{ $id: "#schema-1", type: "object", displayOrder: ["frontSide"], properties: { frontSide: { refreshFormOnChange: false, $id: "frontSide", persistAsync: { url: "/single-file-upload-url", param: "file", idProperty: "frontSide", schema: { accepts: ["image/jpeg", "image/png"], maxSize: 41943040, source: "file", description: "JPEG or PNG less than 10MB", $id: "cb22a588-c404-43fd-b3fa-754afb3729f4", title: "Upload file", type: "blob" }, method: "POST" }, title: "Single File Upload", type: "integer" } }, required: ["frontSide"] }, { $id: "#schema-2", type: "object", displayOrder: ["frontSide"], properties: { frontSide: { refreshFormOnChange: false, $id: "backSide", persistAsync: { url: "/single-file-upload-url-fail", param: "file", idProperty: "backSide", schema: { accepts: ["image/jpeg", "image/png"], maxSize: 41943040, source: "file", description: "JPEG or PNG less than 10MB", $id: "cb22a588-c404-43fd-b3fa-754afb3729f4", title: "Upload file", type: "blob" }, method: "POST" }, title: "Single File Upload", type: "integer" } }, required: ["backSide"] }], layout: [{ type: "paragraph", text: "The upload component below uses /single-file-upload-url" }, { type: "form", schema: { $ref: "#schema-1" } }, { type: "paragraph", text: "The upload component below uses /single-file-upload-url-fail" }, { type: "form", schema: { $ref: "#schema-2" } }, { type: "button", action: { url: "/submit-uploads", type: "primary", method: "POST", disabled: false, title: "Next" } }], model: { frontSide: 0 } };
2728
- var jl = Zu;
2729
- var Xu = { id: "Examples/Step Validation Errors", title: "Step with validation errors", errors: { validation: { "bridekeeper-questions": { "favourite-colour": "Auuuuuuuugh" } } }, layout: [{ type: "form", schema: { $ref: "#the-schema" } }], schemas: [{ $id: "#the-schema", type: "object", displayOrder: ["bridekeeper-questions"], properties: { "bridekeeper-questions": { type: "object", displayOrder: ["name", "quest", "favourite-colour"], properties: { name: { title: "What is your name?", type: "string", placeholder: "Sir Lancelot of Camelot" }, quest: { title: "What is your quest?", type: "string", placeholder: "to seek the Holy Grail" }, "favourite-colour": { title: "What is your favourite colour?", analyticsId: "colour-select", oneOf: [{ title: "Blue", analyticsId: "colour-select-blue", image: { url: "https://placeholder.pics/svg/128/0099ff/FFFFFF" }, const: 1 }, { title: "Yellow", analyticsId: "colour-select-yellow", image: { url: "https://placeholder.pics/svg/128/ffcc00/FFFFFF" }, const: 2 }, { title: "Red", analyticsId: "colour-select-red", image: { url: "https://placeholder.pics/svg/128/ff6600/FFFFFF" }, const: 2 }] } } } } }] };
2730
- var Ul = Xu;
2731
2724
  var wa = {};
2732
- tt(wa, { actionResponse: () => zl, external: () => Vl, persistAsync: () => Hl, polling: () => ql, validationAsync: () => $l });
2725
+ rt(wa, { cameraCapture: () => Nl, recipient: () => Rl, recipientUpdate: () => jl, singleFileUpload: () => Ul, stepValidationErrors: () => zl });
2726
+ var Ku = { id: "Examples/Camera Capture", title: "Camera Capture Example", schemas: [{ properties: { frontSideFile: { refreshStepOnChange: false, format: "base64url", $id: "frontSideFile", title: "Passport photo page", hidden: false, cameraConfig: { assets: { overlay: "https://wise.com/public-resources/assets/camera-guidelines/v2/overlay_passport.png", outline: "https://wise.com/public-resources/assets/camera-guidelines/v2/outline_passport.png" }, direction: "back" }, source: "camera", type: "string" } }, required: ["frontSideFile"], displayOrder: ["frontSideFile"], $id: "#the-schema", type: "object" }], layout: [{ type: "form", schemaId: "#the-schema" }, { components: [{ action: { url: "/submit", type: "primary", method: "POST", disabled: false, title: "" }, margin: "lg", size: "md", type: "button" }], border: false, width: "xl", type: "box" }], model: {}, refreshUrl: "/" };
2727
+ var Nl = Ku;
2728
+ var Yu = { id: "Examples/Recipient Creation", title: "Recipient Creation Example", description: "A form step with the typical recipient creation form.", schemas: [{ $id: "#new-recipient", allOf: [{ type: "object", displayOrder: ["profileId", "currency", "legalEntityType", "email"], properties: { profileId: { type: "number", hidden: true, const: 123456789 }, currency: { title: "Currency", type: "string", analyticsId: "currency", oneOf: [{ title: "EUR", analyticsId: "currency-eur", icon: { name: "flag-eur" }, description: "Euro", const: "EUR" }, { title: "GBP", analyticsId: "currency-gbp", icon: { name: "flag-gbp" }, description: "British pound", const: "GBP" }, { title: "INR", analyticsId: "currency-inr", icon: { name: "flag-inr" }, description: "Indian rupee", const: "INR" }, { title: "USD", analyticsId: "currency-usd", icon: { name: "flag-usd" }, description: "United States dollar", const: "USD" }], validationMessages: { required: "Please enter currency." }, default: "EUR", refreshStepOnChange: true }, legalEntityType: { title: "Select recipient type", type: "string", analyticsId: "legalEntityType", oneOf: [{ title: "Person", analyticsId: "legalEntityType-person", const: "PERSON" }, { title: "Business", analyticsId: "legalEntityType-business", const: "INSTITUTION" }], validationMessages: { required: "Please specify the type of recipient." }, refreshStepOnChange: true }, email: { title: "Their email", type: "string", analyticsId: "email", placeholder: "example@example.ex", validationMessages: { maxLength: "The email you have entered is too long.", pattern: "The email address is invalid." }, refreshStepOnChange: true, autofillProvider: "contact", autofillKey: "contact.email", refreshUrl: "/steps/recipient", pattern: "\\s*[a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+\\s*", maxLength: 255 } }, required: ["currency", "legalEntityType"] }, { title: "Bank details", analyticsId: "bank-details", oneOf: [{ title: "Inside Europe", analyticsId: "bank-details-europe", type: "object", displayOrder: ["name", "ownedByCustomer", "details", "type"], properties: { name: { type: "object", displayOrder: ["fullName"], properties: { fullName: { title: "Full name of the account holder", type: "string", validationMessages: { minLength: "Name needs to be between 2 and 140 characters long.", maxLength: "Recipient name cannot be longer than 140 characters.", pattern: "This recipient name contains invalid characters. Please use latin characters only.", required: "Name cannot be empty." }, autofillProvider: "contact", autofillKey: "contact.fullName", pattern: `^[0-9A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\xFF-_()'*,.%#^@&{}~<>+$"\\[\\]\\\\ ]+$`, minLength: 2, maxLength: 140 } }, required: ["fullName"] }, ownedByCustomer: { title: "My own Account", type: "boolean", hidden: true, const: false }, details: { type: "object", displayOrder: ["bic", "iban"], properties: { bic: { title: "Bank code (BIC/SWIFT)", type: "string", placeholder: "BARCGB22XXX", hidden: true, validationMessages: { minLength: "The BIC you have entered is too short.", maxLength: "The BIC you have entered is too long.", pattern: "Please specify a valid BIC." }, pattern: "^[A-Za-z]{6}[A-Za-z\\d]{2}([A-Za-z\\d]{3})?$", minLength: 8, maxLength: 11 }, iban: { title: "IBAN", type: "string", placeholder: "DE12345678901234567890", displayFormat: "**** **** **** **** **** **** **** ****", help: { markdown: "IBANs are long account numbers used by banks for cross-border transfers. Each country structures this number differently, but it always starts with a 2 digit country code (e.g. DE for Germany)." }, validationMessages: { minLength: "The IBAN you have entered is too short.", maxLength: "The IBAN you have entered is too long.", pattern: "Please specify a valid IBAN.", required: "Please specify an IBAN." }, refreshStepOnChange: true, pattern: "^[a-zA-Z]{2}[a-zA-Z0-9 ]{12,40}$", minLength: 14, maxLength: 42 } }, required: ["iban"] }, type: { title: "Type", type: "string", hidden: true, const: "Iban" } }, required: ["type", "name", "details"], icon: { name: "bank" } }, { title: "Outside Europe", analyticsId: "bank-details-outside-europe", type: "object", displayOrder: ["name", "ownedByCustomer", "details", "type"], properties: { name: { type: "object", displayOrder: ["fullName"], properties: { fullName: { title: "Full name of the account holder", type: "string", validationMessages: { minLength: "Name needs to be between 2 and 140 characters long.", maxLength: "Recipient name cannot be longer than 140 characters.", pattern: "This recipient name contains invalid characters. Please use latin characters only.", required: "Name cannot be empty." }, autofillProvider: "contact", autofillKey: "contact.fullName", pattern: `^[0-9A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\xFF-_()'*,.%#^@&{}~<>+$"\\[\\]\\\\ ]+$`, minLength: 2, maxLength: 140 } }, required: ["fullName"] }, ownedByCustomer: { title: "My own Account", type: "boolean", hidden: true, const: false }, details: { type: "object", displayOrder: ["bic", "accountNumber"], properties: { bic: { title: "SWIFT / BIC code", type: "string", placeholder: "BUKBGB22", validationMessages: { minLength: "The BIC you have entered is too short.", maxLength: "The BIC you have entered is too long.", pattern: "Please specify a valid BIC.", required: "Please specify a BIC." }, pattern: "^[a-zA-Z]{6}(([a-zA-Z0-9]{2})|([a-zA-Z0-9]{5}))$", minLength: 8, maxLength: 11 }, accountNumber: { title: "IBAN / Account Number", type: "string", placeholder: "123456789012", validationMessages: { minLength: "Account number is too short.", maxLength: "Account number is too large.", pattern: "Please enter a valid account number.", required: "Please enter an IBAN or account number." }, pattern: "^[a-zA-Z0-9]{4,34}$", minLength: 4, maxLength: 34 } }, required: ["bic", "accountNumber"] }, type: { title: "Type", type: "string", hidden: true, const: "SwiftCode" } }, required: ["type", "name", "details"], icon: { name: "bank" }, alert: { context: "warning", markdown: "To send EUR to this account, we need to use the SWIFT network. It\u2019s slower, so the transfer might take a day or two longer. Also note that intermediary banks and your recipient\u2019s bank might charge extra fees to the amount received." } }], control: "tab", placeholder: "Please select where you are sending to..." }] }], refreshUrl: "/steps/recipient", layout: [{ type: "form", schemaId: "#new-recipient" }, { type: "button", action: { type: "primary", title: "Confirm", url: "/v2/accounts", method: "POST" } }], model: { ownedByCustomer: false, details: {} } };
2729
+ var Rl = Yu;
2730
+ var Ju = { id: "Examples/Recipient Update", title: "Edit recipient", schemas: [{ $id: "#form", allOf: [{ type: "object", displayOrder: ["currency"], properties: { currency: { title: "Currency", type: "string", analyticsId: "currency-select", oneOf: [{ title: "GBP", analyticsId: "GBP", icon: { name: "flag-gbp" }, description: "British pound", const: "GBP" }], readOnly: true } }, required: [] }, { title: "Bank details", type: "object", analyticsId: "SortCode", icon: { name: "bank" }, displayOrder: ["name", "details", "address"], properties: { name: { type: "object", displayOrder: ["fullName"], properties: { fullName: { title: "Full name of the account holder", type: "string", disabled: true, readOnly: true, validationMessages: { minLength: "Name needs to be between 2 and 140 characters long.", maxLength: "Recipient name cannot be longer than 140 characters.", pattern: "This recipient name may contain invalid characters or is not the full name. Please try again." }, autofillProvider: "contact", autofillKey: "contact.fullName", pattern: "^[0-9A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\xFF-_()'*,.]+ +[0-9A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\xFF-_()'*,.]+([0-9A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\xFF-_()'*,. ]*)$", minLength: 2, maxLength: 140 } }, required: [] }, details: { type: "object", displayOrder: ["sortCode", "accountNumber"], properties: { sortCode: { title: "UK sort code", type: "string", placeholder: "40-30-20", disabled: true, readOnly: true, validationMessages: { pattern: "Please enter a valid bank code." }, pattern: "^\\d{2}-?\\d{2}-?\\d{2}$", minLength: 6, maxLength: 8, format: "numeric", displayFormat: "**-**-**" }, accountNumber: { title: "Account number", type: "string", placeholder: "12345678", disabled: true, readOnly: true, validationMessages: { minLength: "Account number is too short.", maxLength: "Account number is too large.", pattern: "Please enter a valid account number." }, pattern: "[0-9]{8}", minLength: 8, maxLength: 8, format: "numeric" } }, required: [] }, address: { title: "Recipient address", type: "object", displayOrder: ["country", "city", "firstLine", "postCode"], properties: { country: { title: "Country", type: "string", placeholder: "Choose a country", oneOf: [{ title: "Argentina", const: "AR" }, { title: "Brazil", const: "BR" }, { title: "Canada", const: "CA" }, { title: "Denmark", const: "DK" }, { title: "Egypt", const: "EG" }, { title: "France", const: "FR" }, { title: "Germany", const: "DE" }, { title: "Honduras", const: "HN" }, { title: "Italy", const: "IT" }, { title: "Japan", const: "JP" }, { title: "Korea, Republic of", const: "KR" }, { title: "Liberia", const: "LR" }, { title: "Morocco", const: "MA" }, { title: "New Zealand", const: "NZ" }, { title: "Oman", const: "OM" }, { title: "Peru", const: "PE" }, { title: "Qatar", const: "QA" }, { title: "Russian Federation", const: "RU" }, { title: "Spain", const: "ES" }, { title: "Turkey", const: "TR" }, { title: "United Kingdom of Great Britain and Northern Ireland", const: "GB" }, { title: "United States of America", const: "US" }, { title: "Viet Nam", const: "VN" }, { title: "Yemen", const: "YE" }, { title: "Zimbabwe", const: "ZW" }], validationMessages: { required: "Please select a country." }, autofillProvider: "contact", autofillKey: "contact.countryCode" }, city: { title: "City", type: "string", autofillProvider: "contact", autofillKey: "contact.city", pattern: "^.{1,255}$", minLength: 1, maxLength: 255 }, firstLine: { title: "Recipient address", type: "string", autofillProvider: "contact", autofillKey: "contact.firstLine", pattern: "^.{1,255}$", minLength: 1, maxLength: 255 }, postCode: { title: "Post code", type: "string", validationMessages: { pattern: "Please specify a valid post code.", required: "Please specify the recipient's post code." }, autofillProvider: "contact", autofillKey: "contact.postalCode", pattern: "^.{1,32}$", minLength: 1, maxLength: 32 } }, required: ["country", "city", "firstLine", "postCode"], help: { markdown: "For legal reasons, we need to ask for the recipient's address (not the bank's address). Don't worry, they won't get any post from us." } } }, required: ["address"] }] }], errors: { validation: { address: { country: "Please select a country.", city: "Please enter a city.", postCode: "Please enter a post code.", firstLine: "Please enter a residential address." } } }, refreshUrl: "/steps/recipientUpdate/?refresh", model: { country: "GB", ownedByCustomer: false, creatorId: 5465158, accountSummary: "(04-00-04) 27832001", active: true, longAccountSummary: "GBP account ending in 2001", type: "SortCode", isInternal: false, profileId: 5461759, legalEntityType: "PERSON", name: { fullName: "Fergus Jordan" }, currency: "GBP", details: { accountNumber: "27832001", sortCode: "040004", hashedByLooseHashAlgorithm: "5c577703b845c613532bf0e08bbb38ce37644f76af58e1af6fa7447df7041a27" }, id: 67912450, hash: "fe319d809ce8a4f155412afe1b62bc2f1abf6e4af89f762a85a47811f54dab53", commonFieldMap: { bankCodeField: "sortCode", accountNumberField: "accountNumber" } }, layout: [{ type: "form", schemaId: "#form" }, { type: "button", action: { $id: "submit", title: "Update", url: "/responses/recipientUpdate/?delay=5000", type: "primary", method: "PATCH" } }] };
2731
+ var jl = Ju;
2732
+ var Zu = { id: "Examples/Single File Upload", title: "Single File Upload Example", schemas: [{ $id: "#schema-1", type: "object", displayOrder: ["frontSide"], properties: { frontSide: { refreshStepOnChange: false, $id: "frontSide", persistAsync: { url: "/single-file-upload-url", param: "file", idProperty: "frontSide", schema: { accepts: ["image/jpeg", "image/png"], maxSize: 41943040, source: "file", description: "JPEG or PNG less than 10MB", $id: "cb22a588-c404-43fd-b3fa-754afb3729f4", title: "Upload file", type: "blob" }, method: "POST" }, title: "Single File Upload", type: "integer" } }, required: ["frontSide"] }, { $id: "#schema-2", type: "object", displayOrder: ["frontSide"], properties: { frontSide: { refreshStepOnChange: false, $id: "backSide", persistAsync: { url: "/single-file-upload-url-fail", param: "file", idProperty: "backSide", schema: { accepts: ["image/jpeg", "image/png"], maxSize: 41943040, source: "file", description: "JPEG or PNG less than 10MB", $id: "cb22a588-c404-43fd-b3fa-754afb3729f4", title: "Upload file", type: "blob" }, method: "POST" }, title: "Single File Upload", type: "integer" } }, required: ["backSide"] }], layout: [{ type: "paragraph", text: "The upload component below uses /single-file-upload-url" }, { type: "form", schemaId: "#schema-1" }, { type: "paragraph", text: "The upload component below uses /single-file-upload-url-fail" }, { type: "form", schemaId: "#schema-2" }, { type: "button", action: { url: "/submit-uploads", type: "primary", method: "POST", disabled: false, title: "Next" } }], model: { frontSide: 0 } };
2733
+ var Ul = Zu;
2734
+ var Xu = { id: "Examples/Step Validation Errors", title: "Step with validation errors", errors: { validation: { "bridekeeper-questions": { "favourite-colour": "Auuuuuuuugh" } } }, layout: [{ type: "form", schemaId: "#the-schema" }], schemas: [{ $id: "#the-schema", type: "object", displayOrder: ["bridekeeper-questions"], properties: { "bridekeeper-questions": { type: "object", displayOrder: ["name", "quest", "favourite-colour"], properties: { name: { title: "What is your name?", type: "string", placeholder: "Sir Lancelot of Camelot" }, quest: { title: "What is your quest?", type: "string", placeholder: "to seek the Holy Grail" }, "favourite-colour": { title: "What is your favourite colour?", analyticsId: "colour-select", oneOf: [{ title: "Blue", analyticsId: "colour-select-blue", image: { url: "https://placeholder.pics/svg/128/0099ff/FFFFFF" }, const: 1 }, { title: "Yellow", analyticsId: "colour-select-yellow", image: { url: "https://placeholder.pics/svg/128/ffcc00/FFFFFF" }, const: 2 }, { title: "Red", analyticsId: "colour-select-red", image: { url: "https://placeholder.pics/svg/128/ff6600/FFFFFF" }, const: 2 }] } } } } }] };
2735
+ var zl = Xu;
2736
+ var Fa = {};
2737
+ rt(Fa, { actionResponse: () => Vl, external: () => Hl, persistAsync: () => ql, polling: () => $l, validationAsync: () => Gl });
2733
2738
  var Qu = { id: "Features/Action Response", title: "Action Response", description: "", type: "form", schemas: [], layout: [{ type: "paragraph", text: "The button below will trigger an action that fetches '/responses/action'.", align: "center" }, { type: "paragraph", text: "That should return an action response that will load a final step.", align: "center" }, { type: "button", action: { url: "/responses/action", title: "Submit", type: "primary" } }] };
2734
- var zl = Qu;
2739
+ var Vl = Qu;
2735
2740
  var ep = { type: "form", id: "Features/External", title: "External Feature", description: "Your bank is opening in another window.", external: { url: "http://google.com/" }, polling: { url: "/polling/1234", interval: 2, maxAttempts: 5, onError: { action: { url: "/failure" } } }, layout: [{ type: "paragraph", align: "center", text: "Please, follow their instructions. Keep this window open." }, { type: "loading-indicator", margin: "xl" }, { type: "info", align: "center", markdown: "If it didn't work, you can [reopen](http://google.com/) the tab" }], schemas: [] };
2736
- var Vl = ep;
2737
- var tp = { id: "Features/Persist Async", title: "Persist Async Feature", schemas: [{ $id: "the-schema", type: "object", title: "Some Object", displayOrder: ["nameToken"], properties: { nameToken: { type: "string", title: "Text input", persistAsync: { method: "POST", url: "/persist-async-upload", param: "name", idProperty: "nameToken", schema: { title: "Enter your name", type: "string" } } } } }], layout: [{ type: "form", schema: { $ref: "the-schema" } }] };
2738
- var Hl = tp;
2741
+ var Hl = ep;
2742
+ var tp = { id: "Features/Persist Async", title: "Persist Async Feature", schemas: [{ $id: "#the-schema", type: "object", title: "Some Object", displayOrder: ["nameToken"], properties: { nameToken: { type: "string", title: "Text input", persistAsync: { method: "POST", url: "/persist-async-upload", param: "name", idProperty: "nameToken", schema: { title: "Enter your name", type: "string" } } } } }], layout: [{ type: "form", schemaId: "#the-schema" }] };
2743
+ var ql = tp;
2739
2744
  var rp = { id: "Features/Polling", title: "Polling Feature", description: "Polling feature in a form step.", polling: { url: "/polling/1234", interval: 2, maxAttempts: 5, onError: { action: { url: "/failure" } } }, layout: [{ type: "paragraph", align: "center", text: "We are waiting for something to happen." }, { type: "loading-indicator", margin: "xl" }, { type: "button", action: { title: "Back", type: "link", url: "/back" } }], schemas: [] };
2740
- var ql = rp;
2741
- var op = { type: "form", id: "Features/Validation Async", title: "Validation Async Feature", schemas: [{ $id: "#the-schema", type: "object", displayOrder: ["account-number"], properties: { "account-number": { $id: "#the-string-schema", type: "string", maxLength: 6, title: "Account number (max 6 digits)", validationAsync: { method: "POST", url: "/validate", param: "myParameter" } } } }], layout: [{ type: "form", schema: { $ref: "#the-schema" } }], model: {} };
2742
- var $l = op;
2743
- var Fa = {};
2744
- tt(Fa, { allLayoutComponents: () => Gl, finalStepLayout: () => _l, listLayout: () => Wl, payInLayout: () => Kl, reviewLayout: () => Yl, successLayout: () => Jl });
2745
+ var $l = rp;
2746
+ var op = { type: "form", id: "Features/Validation Async", title: "Validation Async Feature", schemas: [{ $id: "#the-schema", type: "object", displayOrder: ["account-number"], properties: { "account-number": { $id: "#the-string-schema", type: "string", maxLength: 6, title: "Account number (max 6 digits)", validationAsync: { method: "POST", url: "/validate", param: "myParameter" } } } }], layout: [{ type: "form", schemaId: "#the-schema" }], model: {} };
2747
+ var Gl = op;
2748
+ var Ca = {};
2749
+ rt(Ca, { allLayoutComponents: () => _l, finalStepLayout: () => Wl, listLayout: () => Kl, payInLayout: () => Yl, reviewLayout: () => Jl, successLayout: () => Zl });
2745
2750
  var ap = [{ type: "box", width: "md", components: [{ type: "heading", text: "This is a large heading", size: "lg", align: "center", margin: "md" }, { type: "paragraph", text: "This is a paragraph of text. This is a paragraph of text. This is a paragraph of text.", align: "center", margin: "xl" }, { type: "loading-indicator", size: "lg", margin: "md" }] }, { type: "columns", bias: "left", left: [{ type: "box", border: true, components: [{ type: "heading", text: "Small heading", size: "sm", margin: "md" }, { type: "divider", margin: "xl" }, { type: "review", title: "Review title", margin: "lg", orientation: "horizontal", action: { $id: "edit-profile", title: "Edit", url: "/edit", method: "GET" }, fields: [{ label: "First name", value: "John" }, { label: "Last name", value: "Smith" }] }, { type: "image", text: "An image of cascading stylesheet computer code", url: "https://bootstrap.transferwise.com/assets/img/css2-bg.jpg", margin: "xs" }] }], right: [{ type: "form", schema: { type: "object", title: "Personal details", alert: { markdown: "Make sure you get this correct, or your transfer could be held up!", context: "neutral" }, displayOrder: ["firstname", "lastname"], properties: { firstname: { type: "string", title: "First name", alert: { markdown: "Please use **only** latin characters.", context: "warning" } }, lastname: { type: "string", title: "Last name", minLength: 3, help: { markdown: "help!" } } } } }, { type: "alert", markdown: "This is an alert - we can use **bold** to provide emphasis.", context: "warning" }, { type: "info", markdown: `### This heading comes from markdown
2746
2751
  \r We can use markdown to add [links](https://transferwise.com) and _other_ **formatting**
2747
2752
  \r. It will also let us add simple lists:
2748
2753
  - one
2749
2754
  - two
2750
2755
  - #### three` }] }, { type: "box", width: "sm", components: [{ type: "button", action: { title: "Submit", url: "", method: "GET", data: {}, type: "primary" } }, { type: "button", action: { title: "Cancel", url: "", method: "GET", data: {}, disabled: true } }] }, { type: "decision", options: [{ title: "More information about this option", icon: { name: "profile" }, action: { title: "Option 1", url: "/option1", method: "POST", data: { a: 1 } } }, { title: "More information about this option", icon: { name: "bank" }, action: { title: "Option 2", url: "/option2", method: "GET", data: {}, disabled: true } }] }];
2751
- var Gl = ap;
2756
+ var _l = ap;
2752
2757
  var np = [{ type: "image", url: "https://via.placeholder.com/1024", text: "Image alt text", margin: "lg", size: "sm" }, { type: "heading", text: "Image size sm", size: "lg", margin: "lg", align: "center" }, { type: "paragraph", text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam vel ante felis. Nullam auctor posuere justo ac posuere. Nullam efficitur enim ut turpis venenatis vestibulum.", align: "center" }, { type: "box", width: "md", components: [{ type: "button", action: { title: "Button", type: "primary", exit: true, data: { someKey: "some value" }, url: "/success", method: "GET" } }] }];
2753
- var _l = np;
2758
+ var Wl = np;
2754
2759
  var ip = [{ type: "list", title: "This is a List", items: [{ title: "Item 1", description: "The first item is positive", icon: { name: "bank" }, status: "positive" }, { title: "Item 2", description: "The second item is neutral", icon: { name: "emoji" }, status: "neutral" }, { title: "Item 3", description: "The third item is warning", icon: { name: "gift-box" }, status: "warning" }] }];
2755
- var Wl = ip;
2760
+ var Kl = ip;
2756
2761
  var sp = { id: "PAY_ID", type: "form", title: "Pay Using PayID", schemas: [{ title: "Pay Using PayID", type: "string", hidden: true, default: "PayId" }], layout: [{ type: "info", markdown: "Go to your online banking and transfer **50.25 AUD** to our account using the email below." }, { components: [{ context: "neutral", markdown: "We've updated our PayID email and no longer require you to enter any reference numbers. Use this PayID going forward.", type: "alert" }, { type: "review", title: "Our Bank Details", fields: [{ label: "Email", value: "rahul@wise.com" }] }, { left: [{ type: "review", fields: [{ label: "Account Name", value: "Wise Australia Pty Ltd" }] }], right: [{ type: "review", fields: [{ label: "Amount", value: "50.25 AUD" }] }], type: "columns" }], type: "box" }, { type: "button", action: { title: "I have paid", type: "primary", exit: true, result: { paid: "POTENTIALLY_PAID" }, $id: "#payNow" } }, { type: "button", action: { $id: "#payLater", title: "I'll transfer my money later", type: "secondary", exit: true, result: { paid: "NOT_PAID" } } }] };
2757
- var Kl = sp;
2762
+ var Yl = sp;
2758
2763
  var lp = [{ type: "box", width: "md", components: [{ type: "heading", align: "center", margin: "lg", text: "Review your transfer details" }, { type: "box", border: true, components: [{ type: "review", title: "Transfer details", orientation: "horizontal", action: { title: "Edit", url: "/edit-transfer", method: "GET" }, fields: [{ label: "You send approximately", value: "88.86 GBP" }, { label: "You send from", value: "GBP balance" }, { label: "Estimate total fees (included)", value: "0.86 GBP" }, { label: "Estimate amount we'll convert", value: "88 GBP" }, { label: "Live rate", value: "1.1363" }, { label: "Test gets exactly", value: "100 EUR" }, { label: "Should arrive", value: "in seconds" }] }, { type: "divider" }, { type: "review", title: "Recipient details", orientation: "horizontal", action: { title: "Edit", url: "/recipient", method: "GET" }, fields: [{ label: "Name", value: "Test Name" }, { label: "Email", value: "test@example.com" }, { label: "Sort code", value: "12-34-56" }, { label: "Account number", value: "12345678" }] }] }, { type: "box", border: true, components: [{ type: "form", schema: { title: "Schedule", type: "object", displayOrder: ["date", "frequency"], properties: { date: { title: "Date", type: "string", format: "date" }, frequency: { type: "string", title: "Frequency", control: "select", placeholder: "How often?", oneOf: [{ title: "Daily", const: "day" }, { title: "Weekly", const: "week" }, { title: "Monthly", const: "month" }] } } } }, { type: "alert", markdown: "We'll deduct the required amount **from your GBP balance** at the **real exchange rate** on the **28th of each month**, so that Rayna always gets exactly **100 EUR**. First **monthly** transfer will be made on **April 28, 2020 (BST)**" }] }, { type: "form", schema: { type: "object", displayOrder: ["reference"], properties: { reference: { type: "string", title: "Reference", placeholder: "Type a reference" } } } }, { type: "button", action: { title: "Create transfer", method: "POST", url: "/final", type: "primary" } }] }];
2759
- var Yl = lp;
2764
+ var Jl = lp;
2760
2765
  var cp = [{ type: "box", width: "xs", components: [{ type: "image", url: "https://transferwise.com/staticrab/homepage/_next/static/images/how_to_2-06281f8ea9caa50445f075d460434bcf.svg", text: "An illustration" }] }, { type: "box", width: "lg", components: [{ type: "heading", align: "center", text: "You've scheduled a monthly payment of 100 EUR to Rayna Kenter" }] }, { type: "box", width: "md", components: [{ type: "info", align: "center", markdown: "Your first payment has been sent **now**", margin: "xs" }, { type: "paragraph", align: "center", text: "Your next payment will be made on July 29th, 2020 (BST)" }, { type: "columns", left: [{ type: "button", action: { title: "Check transfer details", url: "/check", method: "GET" } }], right: [{ type: "button", action: { title: "Invite & earn", url: "/check", method: "GET", type: "primary" } }] }] }];
2761
- var Jl = cp;
2762
- var Ca = {};
2763
- tt(Ca, { action: () => Zl, actionResponseFinal: () => Xl, exit: () => Ql, recipientUpdateFinal: () => ec });
2766
+ var Zl = cp;
2767
+ var xa = {};
2768
+ rt(xa, { action: () => Xl, actionResponseFinal: () => Ql, exit: () => ec, recipientUpdateFinal: () => tc });
2764
2769
  var mp = { action: { url: "/responses/success", method: "POST" } };
2765
- var Zl = mp;
2770
+ var Xl = mp;
2766
2771
  var dp = { id: "action-response-final", title: "Action Response Final Step", description: "This step was loaded as a result of an Action Response.", schemas: [], layout: [{ type: "alert", markdown: 'If you want to see this again, perhaps go back to "Action Response" story.', context: "positive" }, { type: "button", action: { title: "Start Over", type: "primary", url: "/steps/actionResponse" } }] };
2767
- var Xl = dp;
2772
+ var Ql = dp;
2768
2773
  var up = { id: "123456", name: "Bob Loblaw", country: "US" };
2769
- var Ql = up;
2774
+ var ec = up;
2770
2775
  var pp = { id: "recipient-update-final", title: "Recipient Update Final Step", description: "The recipient has been updated.", schemas: [], layout: [{ type: "alert", markdown: "Nothing to see here.", context: "positive" }, { type: "button", action: { title: "Start Over", type: "primary", url: "/steps/recipientUpdate" } }] };
2771
- var ec = pp;
2772
- var xa = {};
2773
- tt(xa, { allOf: () => ic, boolean: () => nc, numberAndInteger: () => rc, oneOf: () => oc, simpleForm: () => tc, stringFormats: () => ac });
2774
- var fp = { id: "Schemas/Basic Form", title: "Simple Form", description: "A simple form with text fields and a checkbox.", schemas: [{ $id: "#the-schema", type: "object", displayOrder: ["name", "pineapple"], properties: { name: { title: "Name (string schema)", type: "string" }, pineapple: { title: "Pineapple on pizza (boolean schema)", type: "boolean" } } }], layout: [{ type: "form", schema: { $ref: "#the-schema" } }, { type: "button", action: { url: "/submit", title: "Submit", type: "primary" } }] };
2775
- var tc = fp;
2776
- var yp = { id: "Schemas/Number And Integer", title: "Number and Integer Schemas", description: "Number and Integer Schemas.", schemas: [{ $id: "#the-schema", type: "object", displayOrder: ["some-number", "some-integer"], properties: { "some-number": { title: "Number (number schema)", type: "number", validationMessages: { type: "This is not an number" } }, "some-integer": { title: "Integer (integer schema, does not support decimals)", type: "integer", validationMessages: { type: "This is not an integer" } } } }], layout: [{ type: "form", schema: { $ref: "#the-schema" } }, { type: "button", action: { url: "/submit", title: "Submit", type: "primary" } }] };
2777
- var rc = yp;
2776
+ var tc = pp;
2777
+ var Oa = {};
2778
+ rt(Oa, { allOf: () => sc, boolean: () => ic, numberAndInteger: () => oc, oneOf: () => ac, simpleForm: () => rc, stringFormats: () => nc });
2779
+ var fp = { id: "Schemas/Basic Form", title: "Simple Form", description: "A simple form with text fields and a checkbox.", schemas: [{ $id: "#the-schema", type: "object", displayOrder: ["name", "pineapple"], properties: { name: { title: "Name (string schema)", type: "string" }, pineapple: { title: "Pineapple on pizza (boolean schema)", type: "boolean" } } }], layout: [{ type: "form", schemaId: "#the-schema" }, { type: "button", action: { url: "/submit", title: "Submit", type: "primary" } }] };
2780
+ var rc = fp;
2781
+ var yp = { id: "Schemas/Number And Integer", title: "Number and Integer Schemas", description: "Number and Integer Schemas.", schemas: [{ $id: "#the-schema", type: "object", displayOrder: ["some-number", "some-integer"], properties: { "some-number": { title: "Number (number schema)", type: "number", validationMessages: { type: "This is not an number" } }, "some-integer": { title: "Integer (integer schema, does not support decimals)", type: "integer", validationMessages: { type: "This is not an integer" } } } }], layout: [{ type: "form", schemaId: "#the-schema" }, { type: "button", action: { url: "/submit", title: "Submit", type: "primary" } }] };
2782
+ var oc = yp;
2778
2783
  var hp = [["EUR", "Euro"], ["GBP", "British pound"], ["INR", "Indian rupee"], ["USD", "United States dollar"], ["AED", "United Arab Emirates dirham"], ["ARS", "Argentine peso"], ["AUD", "Australian dollar"], ["BDT", "Bangladeshi taka"], ["BGN", "Bulgarian lev"], ["BRL", "Brazilian real"], ["BWP", "Botswana pula"], ["CAD", "Canadian dollar"], ["CHF", "Swiss franc"], ["CLP", "Chilean peso"], ["CNY", "Chinese yuan"], ["COP", "Colombian peso"], ["CRC", "Costa Rican col\xF3n"], ["CZK", "Czech koruna"], ["DKK", "Danish krone"], ["EGP", "Egyptian pound"], ["FJD", "Fijian dollar"], ["GEL", "Georgian lari"], ["GHS", "Ghanaian cedi"], ["GTQ", "Guatemalan quetzal"], ["HKD", "Hong Kong dollar"], ["HRK", "Croatian kuna"], ["HUF", "Hungarian forint"], ["IDR", "Indonesian rupiah"], ["ILS", "Israeli shekel"], ["JPY", "Japanese yen"], ["KES", "Kenyan shilling"], ["KRW", "South Korean won"], ["LKR", "Sri Lankan rupee"], ["MAD", "Moroccan dirham"], ["MXN", "Mexican peso"], ["MYR", "Malaysian ringgit"], ["MZN", "Mozambican metical"], ["NAD", "Namibian dollar"], ["NGN", "Nigerian naira"], ["NOK", "Norwegian krone"], ["NPR", "Nepalese rupee"], ["NZD", "New Zealand dollar"], ["PEN", "Peruvian nuevo sol"], ["PHP", "Philippine peso"], ["PKR", "Pakistani rupee"], ["PLN", "Polish z\u0142oty"], ["RON", "Romanian leu"], ["RUB", "Russian rouble"], ["SEK", "Swedish krona"], ["SGD", "Singapore dollar"], ["THB", "Thai baht"], ["TRY", "Turkish lira"], ["TZS", "Tanzanian shilling"], ["UAH", "Ukrainian hryvnia"], ["UGX", "Ugandan shilling"], ["UYU", "Uruguayan peso"], ["VND", "Vietnamese dong"], ["XOF", "West African CFA franc"], ["ZAR", "South African rand"], ["ZMW", "Zambian kwacha"]];
2779
- var gp = { id: "Schemas/OneOf", title: "OneOf Schemas", description: "OneOf Schema using select, radio buttons and tabs.", analytics: { custom: "this is the oneOf fixture" }, schemas: [{ $id: "#the-schema", type: "object", displayOrder: ["account-type-radio", "colour-select", "currency", "bank-details-tabs"], required: ["bank-details-tabs"], properties: { "account-type-radio": { title: 'Personal or Business Account? (oneOf schema with two options default to control: "radio")', analyticsId: "account-type-radio", control: "radio", oneOf: [{ title: "Personal", analyticsId: "account-type-radio-personal", icon: { name: "person" }, const: "PERSONAL" }, { title: "Business", analyticsId: "account-type-radio-business", icon: { name: "briefcase" }, const: "BUSINESS" }] }, "colour-select": { title: 'What is your favourite colour? (oneOf schema with more than two options default to control: "select")', placeholder: "Please select a colour", analyticsId: "colour-select", oneOf: [{ title: "Blue", analyticsId: "colour-select-blue", image: { url: "https://placeholder.pics/svg/64/0099ff/FFFFFF" }, const: 1 }, { title: "Yellow", analyticsId: "colour-select-yellow", image: { url: "https://placeholder.pics/svg/64/ffcc00/FFFFFF" }, const: 2 }, { title: "Red", analyticsId: "colour-select-red", image: { url: "https://placeholder.pics/svg/64/ff6600/FFFFFF" }, const: 3 }] }, currency: { title: "Currency (oneof schema of const schemas with default value)", type: "string", analyticsId: "currency", oneOf: hp.map(([e, t]) => ({ title: e, analyticsId: e, icon: { name: `flag-${e.toLowerCase()}` }, description: t, const: e })), validationMessages: { required: "Please enter currency." }, default: "EUR" }, "bank-details-tabs": { title: 'Bank Details (oneOf schema of object schemas and control: "tab")', control: "tab", analyticsId: "bank-details-tabs", oneOf: [{ type: "object", title: "UK Sortcode and Account Number", analyticsId: "bank-details-tabs-uk", displayOrder: ["account-number", "sort-code"], required: ["account-number", "sort-code"], properties: { "account-number": { title: "Account Number", type: "string" }, "sort-code": { title: "Sort Code", type: "string" } } }, { type: "object", title: "IBAN and BIC", analyticsId: "bank-details-tabs-iban", displayOrder: ["iban", "bic"], required: ["iban", "bic"], properties: { iban: { title: "IBAN", type: "string" }, bic: { title: "BIC", type: "string" } } }, { type: "object", title: "US Routing Number and Account Number", analyticsId: "bank-details-tabs-us", displayOrder: ["account-number", "routing-number"], required: ["account-number", "routing-number"], properties: { "account-number": { title: "Account Number", type: "string" }, "routing-number": { title: "Routing Number", type: "string" } } }] } } }], layout: [{ type: "form", schema: { $ref: "#the-schema" } }, { type: "button", action: { url: "/submit", title: "Submit", type: "primary" } }] };
2780
- var oc = gp;
2781
- var bp = { id: "Schemas/String Formats", title: "String Schema Formats", description: "String schemas with different formats (password, date, telephone).", schemas: [{ $id: "#the-schema", type: "object", displayOrder: ["name", "password", "dob", "date-lookup", "telephone"], properties: { name: { title: "Name (string schema no format)", type: "string" }, password: { title: 'Password (string schema with format: "password")', type: "string", format: "password" }, dob: { title: 'Date of birth (string schema with format: "date")', type: "string", format: "date" }, "date-lookup": { title: 'Date Lookup (string schema with format: "date" and control: "date-lookup")', type: "string", format: "date", control: "date-lookup", minimum: "2023-01-01", maximum: "2023-12-31", placeholder: "Select a date" }, telephone: { title: 'Phone number (string schema with format: "phone-number")', type: "string", format: "phone-number" } } }], layout: [{ type: "form", schema: { $ref: "#the-schema" } }, { type: "button", action: { url: "/submit", title: "Submit", type: "primary" } }], model: { "date-lookup": "2023-01-01" } };
2782
- var ac = bp;
2783
- var Sp = { key: "Schemas/Boolean Schema", title: "Boolean Schema", description: "A simple form with a boolean schema with no default value.", actions: [], schemas: [{ $id: "#schema-1", type: "object", displayOrder: ["pineapple"], required: ["pineapple"], properties: { pineapple: { title: "Pineapple on pizza (boolean schema)", type: "boolean" } } }], layout: [{ type: "form", schema: { $ref: "#schema-1" } }, { type: "button", action: { url: "/submit", title: "Submit", type: "primary" } }] };
2784
- var nc = Sp;
2785
- var wp = { key: "Schemas/AllOf", title: "AllOf Schemas", description: "Three object schemas wrapped in an allOf.", analytics: { custom: "this is the allOf fixture" }, actions: [], schemas: [{ $id: "#the-schema", allOf: [{ $id: "#schema-1", type: "object", properties: { name: { title: "Name", type: "string" } }, displayOrder: ["name"] }, { $id: "#schema-2", type: "object", properties: { city: { title: "City", type: "string" } }, displayOrder: ["city"] }, { $id: "#schema-3", type: "object", properties: { color: { title: 'What is your favourite colour? (oneOf schema with more than two options default to control: "select")', placeholder: "Please select a colour", analyticsId: "colour-select", oneOf: [{ title: "Blue", analyticsId: "colour-select-blue", image: { url: "https://placeholder.pics/svg/64/0099ff/FFFFFF" }, const: 1 }, { title: "Yellow", analyticsId: "colour-select-yellow", image: { url: "https://placeholder.pics/svg/64/ffcc00/FFFFFF" }, const: 2 }, { title: "Red", analyticsId: "colour-select-red", image: { url: "https://placeholder.pics/svg/64/ff6600/FFFFFF" }, const: 3 }] } }, displayOrder: ["color"] }] }], layout: [{ type: "form", schema: { $ref: "#the-schema" } }, { type: "button", action: { url: "/submit", title: "Submit", type: "primary" } }] };
2786
- var ic = wp;
2787
- var Bt = (e) => ({ type: "form", id: `Components/Image-${e}`, title: `Image Component - ${e}`, description: `This is an image with size: "${e}"`, schemas: [], layout: [{ type: "image", url: "https://images.unsplash.com/photo-1542736705-53f0131d1e98?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=400&q=80", text: `This is an image with size: "${e}"`, size: e }] });
2788
- var sc = { steps: b(i(i(i(i({}, ba), Sa), wa), xa), { "image-xs": Bt("xs"), "image-sm": Bt("sm"), "image-md": Bt("md"), "image-lg": Bt("lg"), "image-xl": Bt("xl") }), layouts: i({}, Fa), responses: Ca };
2789
- var lc = { "dynamicFlows.ArraySchema.maxItemsError": "Bitte f\xFCge {maxItems} oder weniger hinzu.", "dynamicFlows.ArraySchema.minItemsError": "Bitte f\xFCge mindestens {minItems} hinzu.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Der von dir verwendete Browser unterst\xFCtzt keine Kameras. Bitte verwende einen anderen Browser oder ein anderes Ger\xE4t, oder lade unsere App herunter", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera wird nicht unterst\xFCtzt", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamerazugriff genehmigen", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Aktiviere den Kamerazugriff in den Einstellungen deines Browsers, um weitermachen zu k\xF6nnen.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Wir k\xF6nnen nicht auf deine Kamera zugreifen", "dynamicFlows.CameraCapture.reviewInstructions": "Ist das aufgenommene Bild deutlich erkennbar und vollst\xE4ndig?", "dynamicFlows.CameraCapture.reviewRetry": "Nein, erneut versuchen", "dynamicFlows.CameraCapture.reviewSubmit": "Ja, senden", "dynamicFlows.ControlFeedback.maxLength": "Bitte gib nicht mehr als {maxLength} Zeichen ein.", "dynamicFlows.ControlFeedback.maximum": "Bitte gib eine Zahl ein, die {maximum} oder weniger betr\xE4gt.", "dynamicFlows.ControlFeedback.maximumDate": "Bitte gib ein Datum ein, das am oder vor dem {maximum} liegt.", "dynamicFlows.ControlFeedback.minLength": "Bitte gib mindestens {minLength} Zeichen ein.", "dynamicFlows.ControlFeedback.minimum": "Bitte gib eine Zahl ein, die {minimum} oder mehr betr\xE4gt.", "dynamicFlows.ControlFeedback.minimumDate": "Bitte gib ein Datum ein, das am oder nach dem {minimum} liegt.", "dynamicFlows.ControlFeedback.pattern": "Bitte gib die Angabe im richtigen Format ein.", "dynamicFlows.ControlFeedback.patternDate": "Bitte gib ein Datum im richtigen Format ein.", "dynamicFlows.ControlFeedback.required": "Bitte f\xFClle dieses Feld aus.", "dynamicFlows.ControlFeedback.type": "Falscher Typ", "dynamicFlows.DynamicExternal.retryTitle": "Fenster erneut \xF6ffnen", "dynamicFlows.DynamicParagraph.copied": "In Zwischenablage kopiert", "dynamicFlows.DynamicParagraph.copy": "Kopieren", "dynamicFlows.ErrorBoundary.errorAlert": "Hoppla \u2013 da ist was schiefgelaufen...", "dynamicFlows.ErrorBoundary.retry": "Erneut versuchen", "dynamicFlows.ExternalConfirmation.cancel": "Abbrechen", "dynamicFlows.ExternalConfirmation.description": "Bitte best\xE4tige, dass du **{origin}** in einem neuen Browser-Tab \xF6ffnen m\xF6chtest.", "dynamicFlows.ExternalConfirmation.open": "In neuem Tab \xF6ffnen", "dynamicFlows.ExternalConfirmation.title": "Bitte best\xE4tigen", "dynamicFlows.Help.ariaLabel": "Klicke hier f\xFCr mehr Informationen.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Diese Datei ist leider zu gro\xDF. Bitte lade eine kleinere Datei hoch.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Bitte lade {maxItems} oder weniger Dateien hoch.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Bitte lade mindestens {minItems} Datei(en) hoch.", "dynamicFlows.PersistAsyncSchema.genericError": "Da ist etwas schiefgelaufen. Probiere es bitte sp\xE4ter noch einmal.", "dynamicFlows.ReadOnlySchema.no": "Nein", "dynamicFlows.ReadOnlySchema.yes": "Ja" };
2790
- var cc = { "dynamicFlows.ArraySchema.maxItemsError": "Please add {maxItems} or fewer.", "dynamicFlows.ArraySchema.minItemsError": "Please add at least {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Camera not supported", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Enable camera access", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Enable camera access in your browser's settings to get going again.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "We can't access your camera", "dynamicFlows.CameraCapture.reviewInstructions": "Is your picture clear, readable and complete?", "dynamicFlows.CameraCapture.reviewRetry": "No, try again", "dynamicFlows.CameraCapture.reviewSubmit": "Yes, submit", "dynamicFlows.ControlFeedback.maxLength": "Please enter {maxLength} or fewer characters.", "dynamicFlows.ControlFeedback.maximum": "Please enter a number that's {maximum} or less.", "dynamicFlows.ControlFeedback.maximumDate": "Please enter a date that's on or before {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Please enter at least {minLength} characters.", "dynamicFlows.ControlFeedback.minimum": "Please enter a number that's {minimum} or more.", "dynamicFlows.ControlFeedback.minimumDate": "Please enter a date that's on or after {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Please enter this in the correct format.", "dynamicFlows.ControlFeedback.patternDate": "Please enter a date in the corrrect format.", "dynamicFlows.ControlFeedback.required": "Please fill out this field.", "dynamicFlows.ControlFeedback.type": "Incorrect type", "dynamicFlows.DynamicExternal.retryTitle": "Reopen window", "dynamicFlows.DynamicParagraph.copied": "Copied to clipboard", "dynamicFlows.DynamicParagraph.copy": "Copy", "dynamicFlows.ErrorBoundary.errorAlert": "Oops. Something went wrong...", "dynamicFlows.ErrorBoundary.retry": "Retry", "dynamicFlows.ExternalConfirmation.cancel": "Cancel", "dynamicFlows.ExternalConfirmation.description": "Please confirm you want to open **{origin}** in a new browser tab.", "dynamicFlows.ExternalConfirmation.open": "Open in new tab", "dynamicFlows.ExternalConfirmation.title": "Please confirm", "dynamicFlows.Help.ariaLabel": "Click here for more info.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Sorry, that file is too big. Please upload a smaller file.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Please upload {maxItems} or fewer files.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Something went wrong, please try again later!", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "Yes" };
2791
- var mc = { "dynamicFlows.ArraySchema.maxItemsError": "A\xF1ade {maxItems} o menos.", "dynamicFlows.ArraySchema.minItemsError": "A\xF1ade al menos {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "El navegador que est\xE1s utilizando no es compatible con una c\xE1mara. Prueba con otro navegador, dispositivo o descarga nuestra app m\xF3vil.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "C\xE1mara no compatible", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Habilitar acceso a la c\xE1mara", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Habilita el acceso a la c\xE1mara en la configuraci\xF3n de tu navegador para volver a activarla.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "No podemos acceder a tu c\xE1mara", "dynamicFlows.CameraCapture.reviewInstructions": "\xBFTu foto es clara, legible y completa?", "dynamicFlows.CameraCapture.reviewRetry": "No, intentar de nuevo", "dynamicFlows.CameraCapture.reviewSubmit": "S\xED, enviar", "dynamicFlows.ControlFeedback.maxLength": "Introduce {maxLength} caracteres o menos.", "dynamicFlows.ControlFeedback.maximum": "Introduce una cifra igual o inferior a {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Introduce una fecha que sea igual o anterior al {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Introduce al menos {minLength} caracteres.", "dynamicFlows.ControlFeedback.minimum": "Introduce una cifra igual o inferior a {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Introduce una fecha que sea igual o posterior al {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Utiliza el formato correcto.", "dynamicFlows.ControlFeedback.patternDate": "Introduce la fecha en un formato correcto.", "dynamicFlows.ControlFeedback.required": "Completa este campo.", "dynamicFlows.ControlFeedback.type": "Tipo incorrecto", "dynamicFlows.DynamicExternal.retryTitle": "Reabrir ventana", "dynamicFlows.DynamicParagraph.copied": "Copiado al portapapeles", "dynamicFlows.DynamicParagraph.copy": "Copiar", "dynamicFlows.ErrorBoundary.errorAlert": "Vaya. Algo ha salido mal...", "dynamicFlows.ErrorBoundary.retry": "Reintentar", "dynamicFlows.ExternalConfirmation.cancel": "Cancelar", "dynamicFlows.ExternalConfirmation.description": "Confirma que quieres abrir **{origin}** en una nueva pesta\xF1a del navegador.", "dynamicFlows.ExternalConfirmation.open": "Abrir en nueva pesta\xF1a", "dynamicFlows.ExternalConfirmation.title": "Por favor, confirma", "dynamicFlows.Help.ariaLabel": "Haz clic aqu\xED para obtener m\xE1s informaci\xF3n.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Lo sentimos, el archivo pesa demasiado. Sube uno m\xE1s peque\xF1o.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Sube {maxItems} o menos archivos.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Sube al menos {minItems} archivo(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Algo ha ido mal. Int\xE9ntalo de nuevo m\xE1s tarde.", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "S\xED" };
2792
- var dc = { "dynamicFlows.ArraySchema.maxItemsError": "Veuillez ajouter {maxItems} ou moins.", "dynamicFlows.ArraySchema.minItemsError": "Veuillez ajouter au moins {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Le navigateur que vous utilisez ne prend pas en charge l'appareil photo. Veuillez essayer un autre navigateur, un autre appareil ou t\xE9l\xE9charger notre appli.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Appareil photo non pris en charge", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Autoriser l'acc\xE8s \xE0 l'appareil photo", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Autorisez l'acc\xE8s \xE0 l'appareil photo depuis les param\xE8tres de votre navigateur.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nous n'avons pas acc\xE8s \xE0 votre appareil photo", "dynamicFlows.CameraCapture.reviewInstructions": "Votre image est-elle claire, lisible et dans son int\xE9gralit\xE9\xA0?", "dynamicFlows.CameraCapture.reviewRetry": "Non, r\xE9essayer", "dynamicFlows.CameraCapture.reviewSubmit": "Oui, confirmer", "dynamicFlows.ControlFeedback.maxLength": "Veuillez saisir {maxLength} caract\xE8res ou moins.", "dynamicFlows.ControlFeedback.maximum": "Veuillez saisir un nombre inf\xE9rieur ou \xE9gal \xE0 {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Veuillez saisir une date \xE9gale ou ant\xE9rieure au {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Veuillez saisir au moins {minLength} caract\xE8res.", "dynamicFlows.ControlFeedback.minimum": "Veuillez saisir un nombre sup\xE9rieur ou \xE9gal \xE0 {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Veuillez saisir une date \xE9gale ou post\xE9rieure au {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Veuillez saisir les informations dans le bon format.", "dynamicFlows.ControlFeedback.patternDate": "Veuillez saisir une date au format correct.", "dynamicFlows.ControlFeedback.required": "Champ obligatoire.", "dynamicFlows.ControlFeedback.type": "Type incorrect", "dynamicFlows.DynamicExternal.retryTitle": "Rouvrir la fen\xEAtre", "dynamicFlows.DynamicParagraph.copied": "Copi\xE9 dans le presse-papier", "dynamicFlows.DynamicParagraph.copy": "Copier", "dynamicFlows.ErrorBoundary.errorAlert": "Oups\xA0! Une erreur s'est produite...", "dynamicFlows.ErrorBoundary.retry": "R\xE9essayer", "dynamicFlows.ExternalConfirmation.cancel": "Annuler", "dynamicFlows.ExternalConfirmation.description": "Veuillez confirmer que vous souhaitez ouvrir **{origin}** dans un nouvel onglet.", "dynamicFlows.ExternalConfirmation.open": "Ouvrir dans un nouvel onglet", "dynamicFlows.ExternalConfirmation.title": "Veuillez confirmer", "dynamicFlows.Help.ariaLabel": "Cliquez ici pour plus d'informations.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Nous sommes d\xE9sol\xE9s, ce fichier est trop volumineux. Veuillez t\xE9l\xE9charger un fichier plus petit.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Veuillez t\xE9l\xE9charger {maxItems} fichiers ou moins.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Veuillez t\xE9l\xE9charger au moins {minItems} fichier(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Un probl\xE8me est survenu, veuillez r\xE9essayer plus tard !", "dynamicFlows.ReadOnlySchema.no": "Non", "dynamicFlows.ReadOnlySchema.yes": "Oui" };
2793
- var uc = { "dynamicFlows.ArraySchema.maxItemsError": "K\xE9r\xFCnk, {maxItems} vagy ann\xE1l kevesebb t\xE9telt adj meg.", "dynamicFlows.ArraySchema.minItemsError": "K\xE9r\xFCnk, legal\xE1bb {minItems} t\xE9telt adj meg.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Az \xE1ltalad haszn\xE1lt b\xF6ng\xE9sz\u0151 nem t\xE1mogatja a kamera haszn\xE1lat\xE1t. K\xE9r\xFCnk, pr\xF3b\xE1lkozz m\xE1s b\xF6ng\xE9sz\u0151vel, eszk\xF6zzel vagy t\xF6ltsd le az appot", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera nem t\xE1mogatott", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamer\xE1hoz val\xF3 hozz\xE1f\xE9r\xE9s enged\xE9lyez\xE9se", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Nem tudunk hozz\xE1f\xE9rni a kamer\xE1dhoz. Ezt a telefonod be\xE1ll\xEDt\xE1saiban enged\xE9lyezheted", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nem tudunk hozz\xE1f\xE9rni a kamer\xE1dhoz", "dynamicFlows.CameraCapture.reviewInstructions": "Tiszta, olvashat\xF3, teljes k\xE9pet k\xE9sz\xEDtett\xE9l?", "dynamicFlows.CameraCapture.reviewRetry": "Nem, pr\xF3b\xE1ljuk \xFAjra", "dynamicFlows.CameraCapture.reviewSubmit": "Igen, elk\xFCld\xF6m", "dynamicFlows.ControlFeedback.maxLength": "K\xE9r\xFCnk, legfeljebb {maxLength} karaktert adj meg.", "dynamicFlows.ControlFeedback.maximum": "K\xE9r\xFCnk, add meg ezt vagy egy enn\xE9l kisebb sz\xE1mot: {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {maximum} napj\xE1val, vagy egy enn\xE9l kor\xE1bbit.", "dynamicFlows.ControlFeedback.minLength": "K\xE9r\xFCnk, legal\xE1bb {minLength} karaktert adj meg.", "dynamicFlows.ControlFeedback.minimum": "K\xE9r\xFCnk add meg ezt vagy egy enn\xE9l nagyobb sz\xE1mot: {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {minimum} napj\xE1val, vagy egy enn\xE9l k\xE9s\u0151bbit.", "dynamicFlows.ControlFeedback.pattern": "Helytelen form\xE1tum", "dynamicFlows.ControlFeedback.patternDate": "K\xE9r\xFCnk, hogy a d\xE1tumot helyes form\xE1tumban add meg.", "dynamicFlows.ControlFeedback.required": "K\xE9r\xFCnk, t\xF6ltsd ki ezt a mez\u0151t.", "dynamicFlows.ControlFeedback.type": "Helytelen t\xEDpus", "dynamicFlows.DynamicExternal.retryTitle": "Ablak \xFAjranyit\xE1sa", "dynamicFlows.DynamicParagraph.copied": "V\xE1g\xF3lapra m\xE1solva", "dynamicFlows.DynamicParagraph.copy": "M\xE1sol\xE1s", "dynamicFlows.ErrorBoundary.errorAlert": "Hopp\xE1! Valami hiba t\xF6rt\xE9nt...", "dynamicFlows.ErrorBoundary.retry": "\xDAjra", "dynamicFlows.ExternalConfirmation.cancel": "M\xE9gsem", "dynamicFlows.ExternalConfirmation.description": "K\xE9r\xFCnk, er\u0151s\xEDtsd meg, hogy a(z) **{origin}** alkalmaz\xE1st egy \xFAj b\xF6ng\xE9sz\u0151lapon szeretn\xE9d megnyitni.", "dynamicFlows.ExternalConfirmation.open": "Megnyit\xE1s \xFAj lapon", "dynamicFlows.ExternalConfirmation.title": "Meger\u0151s\xEDt\xE9s", "dynamicFlows.Help.ariaLabel": "Kattints ide tov\xE1bbi inform\xE1ci\xF3\xE9rt.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Sajnos ez a f\xE1jl t\xFAl nagy. K\xE9r\xFCnk, t\xF6lts fel egy kisebb f\xE1jlt.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "K\xE9r\xFCnk, hogy legfeljebb {maxItems} f\xE1jlt t\xF6lts fel.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "K\xE9r\xFCnk, hogy legal\xE1bb {minItems} f\xE1jlt t\xF6lts fel.", "dynamicFlows.PersistAsyncSchema.genericError": "Valami hiba t\xF6rt\xE9nt. K\xE9r\xFCnk, pr\xF3b\xE1ld \xFAjra k\xE9s\u0151bb!", "dynamicFlows.ReadOnlySchema.no": "Nem", "dynamicFlows.ReadOnlySchema.yes": "Igen" };
2794
- var pc = { "dynamicFlows.ArraySchema.maxItemsError": "Harap tambahkan {maxItems} atau kurang.", "dynamicFlows.ArraySchema.minItemsError": "Harap tambahkan setidaknya {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Browser yang Anda gunakan tidak mendukung kamera. Silakan coba browser, perangkat yang lain, atau unduh aplikasi seluler kami.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera tidak didukung", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Izinkan akses kamera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Untuk melanjutkan lagi, aktifkan akses kamera di pengaturan browser Anda.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Kami tidak dapat mengakses kamera Anda", "dynamicFlows.CameraCapture.reviewInstructions": "Apakah gambar Anda jelas, dapat dibaca, dan lengkap?", "dynamicFlows.CameraCapture.reviewRetry": "Tidak, coba lagi", "dynamicFlows.CameraCapture.reviewSubmit": "Ya, kirim", "dynamicFlows.ControlFeedback.maxLength": "Harap masukkan {maxLength} karakter atau kurang.", "dynamicFlows.ControlFeedback.maximum": "Harap masukkan angka paling besar {maximum} atau kurang dari itu.", "dynamicFlows.ControlFeedback.maximumDate": "Harap masukkan tanggal pada atau sebelum {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Harap masukkan setidaknya {minLength} karakter.", "dynamicFlows.ControlFeedback.minimum": "Harap masukkan angka paling kecil {minimum} atau lebih dari itu.", "dynamicFlows.ControlFeedback.minimumDate": "Harap masukkan tanggal pada atau setelah {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Mohon masukkan ini dalam format yang benar.", "dynamicFlows.ControlFeedback.patternDate": "Harap masukkan tanggal dalam format yang benar.", "dynamicFlows.ControlFeedback.required": "Harap isi kolom ini.", "dynamicFlows.ControlFeedback.type": "Tipe salah", "dynamicFlows.DynamicExternal.retryTitle": "Buka window kembali", "dynamicFlows.DynamicParagraph.copied": "Disalin ke clipboard", "dynamicFlows.DynamicParagraph.copy": "Salin", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Terjadi kesalahan...", "dynamicFlows.ErrorBoundary.retry": "Coba lagi", "dynamicFlows.ExternalConfirmation.cancel": "Batalkan", "dynamicFlows.ExternalConfirmation.description": "Harap konfirmasikan bahwa Anda ingin membuka **{origin}** di tab browser baru.", "dynamicFlows.ExternalConfirmation.open": "Buka di tab baru", "dynamicFlows.ExternalConfirmation.title": "Harap konfirmasi", "dynamicFlows.Help.ariaLabel": "Klik di sini untuk info selengkapnya.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Maaf, file Anda terlalu besar. Silakan unggah file yang lebih kecil.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Harap unggah {maxItems} file atau kurang.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Harap unggah sedikitnya {minItems} file.", "dynamicFlows.PersistAsyncSchema.genericError": "Terjadi kesalahan, mohon coba lagi nanti!", "dynamicFlows.ReadOnlySchema.no": "Tidak", "dynamicFlows.ReadOnlySchema.yes": "Ya" };
2795
- var fc = { "dynamicFlows.ArraySchema.maxItemsError": "Aggiungi al massimo {maxItems}.", "dynamicFlows.ArraySchema.minItemsError": "Aggiungi almeno {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Il browser che stai usando non supporta la videocamera. Prova con un altro browser o dispositivo, oppure scarica la nostra app", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Videocamera non supportata", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Consenti l'accesso alla fotocamera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Non abbiamo accesso alla tua fotocamera. Puoi abilitare l'accesso nelle impostazioni del tuo browser", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Accesso alla fotocamera disabilitato", "dynamicFlows.CameraCapture.reviewInstructions": "La tua foto \xE8 chiara, ben leggibile e completa?", "dynamicFlows.CameraCapture.reviewRetry": "No, riprova", "dynamicFlows.CameraCapture.reviewSubmit": "S\xEC, invia", "dynamicFlows.ControlFeedback.maxLength": "Inserisci un massimo di {maxLength} caratteri.", "dynamicFlows.ControlFeedback.maximum": "Inserisci un numero uguale o inferiore a {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Inserisci una data corrispondente o precedente al {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Inserisci almeno {minLength} caratteri.", "dynamicFlows.ControlFeedback.minimum": "Inserisci un numero uguale o superiore a {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Inserisci una data corrispondente o successiva al {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Inseriscilo in un formato corretto.", "dynamicFlows.ControlFeedback.patternDate": "Inserisci la data in un formato corretto.", "dynamicFlows.ControlFeedback.required": "Compila questo campo.", "dynamicFlows.ControlFeedback.type": "Tipo errato", "dynamicFlows.DynamicExternal.retryTitle": "Riapri la finestra", "dynamicFlows.DynamicParagraph.copied": "Copiato negli appunti", "dynamicFlows.DynamicParagraph.copy": "Copia", "dynamicFlows.ErrorBoundary.errorAlert": "Ops! Qualcosa \xE8 andato storto...", "dynamicFlows.ErrorBoundary.retry": "Riprova", "dynamicFlows.ExternalConfirmation.cancel": "Annulla", "dynamicFlows.ExternalConfirmation.description": "Conferma di voler aprire **{origin}** in una nuova scheda del browser.", "dynamicFlows.ExternalConfirmation.open": "Apri in una nuova scheda", "dynamicFlows.ExternalConfirmation.title": "Conferma", "dynamicFlows.Help.ariaLabel": "Clicca qui per maggiori informazioni.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Spiacenti, il file \xE8 troppo grande. Carica un file di dimensioni inferiori.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Carica al massimo {maxItems} file.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Carica almeno {minItems} file.", "dynamicFlows.PersistAsyncSchema.genericError": "Qualcosa \xE8 andato storto. Riprova pi\xF9 tardi!", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "S\xEC" };
2796
- var yc = { "dynamicFlows.ArraySchema.maxItemsError": "{maxItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0B\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ArraySchema.minItemsError": "{minItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0A\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u304A\u5BA2\u69D8\u306E\u30D6\u30E9\u30A6\u30B6\u3067\u306F\u30AB\u30E1\u30E9\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u5225\u306E\u30D6\u30E9\u30A6\u30B6\u307E\u305F\u306F\u30C7\u30D0\u30A4\u30B9\u3092\u4F7F\u7528\u3059\u308B\u304B\u3001\u30E2\u30D0\u30A4\u30EB\u30A2\u30D7\u30EA\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u30AB\u30E1\u30E9\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u3092\u8A31\u53EF\u3059\u308B", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u30D6\u30E9\u30A6\u30B6\u306E\u8A2D\u5B9A\u3067\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u3092\u6709\u52B9\u306B\u3057\u3066\u3001\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u304C\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093", "dynamicFlows.CameraCapture.reviewInstructions": "\u5199\u771F\u304C\u9BAE\u660E\u3067\u3001\u3059\u3079\u3066\u306E\u60C5\u5831\u304C\u8AAD\u307F\u53D6\u308C\u6B20\u3051\u3066\u3044\u308B\u90E8\u5206\u306A\u3069\u306F\u3042\u308A\u307E\u305B\u3093\u304B\uFF1F", "dynamicFlows.CameraCapture.reviewRetry": "\u3044\u3044\u3048\u3001\u64AE\u308A\u76F4\u3059", "dynamicFlows.CameraCapture.reviewSubmit": "\u306F\u3044\u3001\u9001\u4FE1\u3059\u308B", "dynamicFlows.ControlFeedback.maxLength": "{maxLength}\u6587\u5B57\u4EE5\u4E0B\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.maximum": "{maximum}\u4EE5\u4E0B\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.maximumDate": "{maximum}\u307E\u305F\u306F\u305D\u308C\u4EE5\u524D\u306E\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minLength": "{minLength}\u6587\u5B57\u4EE5\u4E0A\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minimum": "{minimum}\u4EE5\u4E0A\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minimumDate": "{minimum}\u307E\u305F\u306F\u305D\u308C\u4EE5\u964D\u306E\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.pattern": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.patternDate": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.required": "\u3053\u306E\u9805\u76EE\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059\u3002", "dynamicFlows.ControlFeedback.type": "\u4E0D\u6B63\u306A\u30BF\u30A4\u30D7", "dynamicFlows.DynamicExternal.retryTitle": "\u30A6\u30A3\u30F3\u30C9\u30A6\u3092\u3082\u3046\u4E00\u5EA6\u958B\u304F", "dynamicFlows.DynamicParagraph.copied": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F", "dynamicFlows.DynamicParagraph.copy": "\u30B3\u30D4\u30FC\u3059\u308B", "dynamicFlows.ErrorBoundary.errorAlert": "\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F...", "dynamicFlows.ErrorBoundary.retry": "\u3084\u308A\u76F4\u3059", "dynamicFlows.ExternalConfirmation.cancel": "\u30AD\u30E3\u30F3\u30BB\u30EB\u3059\u308B", "dynamicFlows.ExternalConfirmation.description": "\u65B0\u3057\u3044\u30D6\u30E9\u30A6\u30B6\u30BF\u30D6\u3067**{origin}**\u3092\u958B\u304F\u3053\u3068\u3092\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ExternalConfirmation.open": "\u65B0\u3057\u3044\u30BF\u30D6\u3067\u958B\u304F", "dynamicFlows.ExternalConfirmation.title": "\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044", "dynamicFlows.Help.ariaLabel": "\u8A73\u7D30\u306F\u3053\u3061\u3089\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u5927\u5909\u7533\u3057\u8A33\u3054\u3056\u3044\u307E\u305B\u3093\u304C\u3001\u30D5\u30A1\u30A4\u30EB\u304C\u5927\u304D\u3059\u304E\u307E\u3059\u3002\u3053\u308C\u3088\u308A\u5C0F\u3055\u3044\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "{maxItems}\u500B\u4EE5\u4E0B\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "{minItems}\u500B\u4EE5\u4E0A\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.PersistAsyncSchema.genericError": "\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ReadOnlySchema.no": "\u3044\u3044\u3048", "dynamicFlows.ReadOnlySchema.yes": "\u306F\u3044" };
2797
- var hc = { "dynamicFlows.ArraySchema.maxItemsError": "Prosimy doda\u0107 maksymalnie {maxItems}.", "dynamicFlows.ArraySchema.minItemsError": "Prosimy doda\u0107 co najmniej {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Przegl\u0105darka, kt\xF3rej u\u017Cywasz, nie obs\u0142uguje aparatu. Wypr\xF3buj inn\u0105 przegl\u0105dark\u0119 lub urz\u0105dzenie albo pobierz nasz\u0105 aplikacj\u0119 mobiln\u0105.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Aparat nie jest obs\u0142ugiwany", "dynamicFlows.CameraCapture.NoCameraAccess.action": "W\u0142\u0105cz dost\u0119p do aparatu", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "W\u0142\u0105cz dost\u0119p do aparatu w ustawieniach przegl\u0105darki, \u017Ceby rozpocz\u0105\u0107 ponownie.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nie mo\u017Cemy uzyska\u0107 dost\u0119pu do Twojego aparatu", "dynamicFlows.CameraCapture.reviewInstructions": "Czy Twoje zdj\u0119cie jest wyra\u017Ane, czytelne i kompletne?", "dynamicFlows.CameraCapture.reviewRetry": "Nie, spr\xF3buj ponownie", "dynamicFlows.CameraCapture.reviewSubmit": "Tak, prze\u015Blij", "dynamicFlows.ControlFeedback.maxLength": "Prosimy wprowadzi\u0107 do {maxLength} znak\xF3w.", "dynamicFlows.ControlFeedback.maximum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub mniejsz\u0105 ni\u017C {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Wprowad\u017A dat\u0119 nie p\xF3\u017Aniejsz\u0105 ni\u017C {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Prosz\u0119 wpisa\u0107 co najmniej {minLength} znak\xF3w.", "dynamicFlows.ControlFeedback.minimum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub wi\u0119ksz\u0105 ni\u017C {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Wprowad\u017A dat\u0119 nie wcze\u015Bniejsz\u0105 ni\u017C {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Wprowad\u017A t\u0119 warto\u015B\u0107 w prawid\u0142owym formacie.", "dynamicFlows.ControlFeedback.patternDate": "Wprowad\u017A dat\u0119 w prawid\u0142owym formacie.", "dynamicFlows.ControlFeedback.required": "Prosz\u0119 wype\u0142ni\u0107 to pole.", "dynamicFlows.ControlFeedback.type": "Nieprawid\u0142owy typ", "dynamicFlows.DynamicExternal.retryTitle": "Otw\xF3rz okno ponownie", "dynamicFlows.DynamicParagraph.copied": "Skopiowano do schowka", "dynamicFlows.DynamicParagraph.copy": "Kopiuj", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Wyst\u0105pi\u0142 b\u0142\u0105d...", "dynamicFlows.ErrorBoundary.retry": "Spr\xF3buj ponownie", "dynamicFlows.ExternalConfirmation.cancel": "Anuluj", "dynamicFlows.ExternalConfirmation.description": "Prosimy potwierdzi\u0107, \u017Ce chcesz otworzy\u0107 **{origin}** w nowej zak\u0142adce przegl\u0105darki.", "dynamicFlows.ExternalConfirmation.open": "Otw\xF3rz w nowej zak\u0142adce", "dynamicFlows.ExternalConfirmation.title": "Potwierd\u017A", "dynamicFlows.Help.ariaLabel": "Kliknij tutaj, \u017Ceby uzyska\u0107 wi\u0119cej informacji.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Przepraszamy, ten plik jest zbyt du\u017Cy. Prze\u015Blij mniejszy plik.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Prze\u015Blij do {maxItems} plik\xF3w.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Prze\u015Blij co najmniej nast\u0119puj\u0105c\u0105 liczb\u0119 plik\xF3w: {minItems}.", "dynamicFlows.PersistAsyncSchema.genericError": "Wyst\u0105pi\u0142 b\u0142\u0105d, spr\xF3buj ponownie p\xF3\u017Aniej!", "dynamicFlows.ReadOnlySchema.no": "Nie", "dynamicFlows.ReadOnlySchema.yes": "Tak" };
2798
- var gc = { "dynamicFlows.ArraySchema.maxItemsError": "Adicione {maxItems} ou menos.", "dynamicFlows.ArraySchema.minItemsError": "Adicione pelo menos {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "O navegador que voc\xEA est\xE1 usando n\xE3o permite o uso da c\xE2mera. Por favor, tente com outro navegador ou computador, ou baixe o nosso aplicativo", "dynamicFlows.CameraCapture.CameraNotSupported.title": "C\xE2mera indispon\xEDvel", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Permitir acesso \xE0 c\xE2mera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Ative o acesso \xE0 c\xE2mera nas configura\xE7\xF5es do navegador para continuar.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "N\xE3o temos acesso \xE0 sua c\xE2mera", "dynamicFlows.CameraCapture.reviewInstructions": "A sua foto est\xE1 clara, leg\xEDvel e aparece por inteiro?", "dynamicFlows.CameraCapture.reviewRetry": "N\xE3o, tentar novamente", "dynamicFlows.CameraCapture.reviewSubmit": "Sim, enviar", "dynamicFlows.ControlFeedback.maxLength": "Por favor, insira {maxLength} caracteres ou menos.", "dynamicFlows.ControlFeedback.maximum": "Por favor, insira um n\xFAmero que seja {maximum} ou menos.", "dynamicFlows.ControlFeedback.maximumDate": "Por favor, insira uma data que seja em ou antes de {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Por favor, insira pelo menos {minLength} caracteres.", "dynamicFlows.ControlFeedback.minimum": "Por favor, insira um n\xFAmero que seja {minimum} ou mais.", "dynamicFlows.ControlFeedback.minimumDate": "Por favor, insira uma data que seja em ou ap\xF3s {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Por favor, insira essa informa\xE7\xE3o no formato correto.", "dynamicFlows.ControlFeedback.patternDate": "Por favor, insira a data no formato correto.", "dynamicFlows.ControlFeedback.required": "Por favor, preencha o campo.", "dynamicFlows.ControlFeedback.type": "Tipo incorreto", "dynamicFlows.DynamicExternal.retryTitle": "Reabrir janela", "dynamicFlows.DynamicParagraph.copied": "Copiado", "dynamicFlows.DynamicParagraph.copy": "Copiar", "dynamicFlows.ErrorBoundary.errorAlert": "Ops! Algo deu errado...", "dynamicFlows.ErrorBoundary.retry": "Tentar novamente", "dynamicFlows.ExternalConfirmation.cancel": "Cancelar", "dynamicFlows.ExternalConfirmation.description": "Por favor, confirme que deseja abrir * *{origin}* * em uma nova aba do navegador.", "dynamicFlows.ExternalConfirmation.open": "Abrir em uma nova aba", "dynamicFlows.ExternalConfirmation.title": "Por favor, confirme", "dynamicFlows.Help.ariaLabel": "Clique aqui para mais informa\xE7\xF5es.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Este arquivo \xE9 muito grande. Por favor, envie um arquivo menor.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Por favor, envie {maxItems} ou menos arquivos.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Por favor, envie pelo menos {minItems} arquivo(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Algo deu errado. Por favor, tente novamente mais tarde!", "dynamicFlows.ReadOnlySchema.no": "N\xE3o", "dynamicFlows.ReadOnlySchema.yes": "Sim" };
2799
- var bc = { "dynamicFlows.ArraySchema.maxItemsError": "Te rug\u0103m s\u0103 adaugi {maxItems} sau mai pu\u021Bine.", "dynamicFlows.ArraySchema.minItemsError": "Te rug\u0103m s\u0103 adaugi cel pu\u021Bin {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Browserul pe care \xEEl folose\u0219ti nu poate folosi o camer\u0103 foto. Te rug\u0103m s\u0103 \xEEncerci alt browser, alt dispozitiv sau s\u0103 descarci aplica\u021Bia noastr\u0103.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Camera nu este acceptat\u0103", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Permite acces la camer\u0103", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Permite accesul la camera foto \xEEn set\u0103rile browserului t\u0103u, pentru a re\xEEncepe.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nu \xEE\u021Bi putem accesa camera", "dynamicFlows.CameraCapture.reviewInstructions": "Imaginea ta este clar\u0103, lizibil\u0103 \u0219i complet\u0103?", "dynamicFlows.CameraCapture.reviewRetry": "Nu, \xEEncearc\u0103 din nou", "dynamicFlows.CameraCapture.reviewSubmit": "Da, trimite", "dynamicFlows.ControlFeedback.maxLength": "Te rug\u0103m s\u0103 introduci {maxLength} sau mai pu\u021Bine caractere.", "dynamicFlows.ControlFeedback.maximum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {maximum} sau mai mic.", "dynamicFlows.ControlFeedback.maximumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de \xEEnainte de sau egal\u0103 cu {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Te rug\u0103m s\u0103 introduci cel pu\u021Bin {minLength} caractere.", "dynamicFlows.ControlFeedback.minimum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {minimum} sau mai mare.", "dynamicFlows.ControlFeedback.minimumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de dup\u0103 sau egal\u0103 cu {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Te rug\u0103m s\u0103 introduci acest lucru \xEEn formatul corect.", "dynamicFlows.ControlFeedback.patternDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 \xEEn formatul corect.", "dynamicFlows.ControlFeedback.required": "Te rug\u0103m s\u0103 completezi acest spa\u021Biu.", "dynamicFlows.ControlFeedback.type": "Tip incorect", "dynamicFlows.DynamicExternal.retryTitle": "Redeschide fereastra", "dynamicFlows.DynamicParagraph.copied": "Copiat \xEEn clipboard", "dynamicFlows.DynamicParagraph.copy": "Copiaz\u0103", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Ceva nu a mers bine...", "dynamicFlows.ErrorBoundary.retry": "\xCEncearc\u0103 din nou", "dynamicFlows.ExternalConfirmation.cancel": "Anuleaz\u0103", "dynamicFlows.ExternalConfirmation.description": "Te rug\u0103m s\u0103 confirmi c\u0103 vrei s\u0103 deschizi **{origin}** \xEEntr-o nou\u0103 fil\u0103 a browserului.", "dynamicFlows.ExternalConfirmation.open": "Deschide \xEEntr-o fil\u0103 nou\u0103", "dynamicFlows.ExternalConfirmation.title": "Te rug\u0103m s\u0103 confirmi", "dynamicFlows.Help.ariaLabel": "D\u0103 click aici pentru mai multe informa\u021Bii.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Ne pare r\u0103u, acel fi\u0219ier este prea mare. Te rug\u0103m s\u0103 \xEEncarci un fi\u0219ier mai mic.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Te rug\u0103m s\u0103 \xEEncarci {maxItems} fi\u0219iere sau mai pu\u021Bine.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Te rug\u0103m s\u0103 \xEEncarci cel pu\u021Bin {minItems} fi\u0219ier(e).", "dynamicFlows.PersistAsyncSchema.genericError": "Ceva nu a mers bine. Te rug\u0103m s\u0103 \xEEncerci din nou mai t\xE2rziu!", "dynamicFlows.ReadOnlySchema.no": "Nu", "dynamicFlows.ReadOnlySchema.yes": "Da" };
2800
- var Sc = { "dynamicFlows.ArraySchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 {maxItems} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ArraySchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0432\u0430\u043C\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043A\u0430\u043C\u0435\u0440\u0443. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0438\u043B\u0438 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E, \u0438\u043B\u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043D\u0430\u0448\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u041A\u0430\u043C\u0435\u0440\u0430 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043A\u0430\u043C\u0435\u0440\u0435", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043A\u0430\u043C\u0435\u0440\u0435 \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0432\u0430\u0448\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0441\u043D\u043E\u0432\u0430.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u041C\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u043C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u0432\u0430\u0448\u0435\u0439 \u043A\u0430\u043C\u0435\u0440\u0435", "dynamicFlows.CameraCapture.reviewInstructions": "\u0412\u0430\u0448\u0430 \u0444\u043E\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u044F \u0447\u0435\u0442\u043A\u0430\u044F, \u043B\u0435\u0433\u043A\u043E \u0447\u0438\u0442\u0430\u0435\u043C\u0430\u044F \u0438 \u043D\u0435 \u043E\u0431\u0440\u0435\u0437\u0430\u043D\u0430?", "dynamicFlows.CameraCapture.reviewRetry": "\u041D\u0435\u0442, \u043F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0435\u0449\u0435 \u0440\u0430\u0437", "dynamicFlows.CameraCapture.reviewSubmit": "\u0414\u0430, \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C", "dynamicFlows.ControlFeedback.maxLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 {maxLength} \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.maximum": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E, \u0440\u0430\u0432\u043D\u043E\u0435 {maximum} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.maximumDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443, \u0440\u0430\u0432\u043D\u0443\u044E {maximum} \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u0440\u0430\u043D\u043D\u044E\u044E.", "dynamicFlows.ControlFeedback.minLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minLength} \u0441\u0438\u043C\u0432\u043E\u043B\u0430(-\u043E\u0432).", "dynamicFlows.ControlFeedback.minimum": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E, \u0440\u0430\u0432\u043D\u043E\u0435 {minimum} \u0438\u043B\u0438 \u0431\u043E\u043B\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.minimumDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443, \u0440\u0430\u0432\u043D\u0443\u044E {minimum} \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u043F\u043E\u0437\u0434\u043D\u044E\u044E.", "dynamicFlows.ControlFeedback.pattern": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u044D\u0442\u043E \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.", "dynamicFlows.ControlFeedback.patternDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.", "dynamicFlows.ControlFeedback.required": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u043E\u0435 \u043F\u043E\u043B\u0435.", "dynamicFlows.ControlFeedback.type": "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0442\u0438\u043F", "dynamicFlows.DynamicExternal.retryTitle": "\u041F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u043E\u043A\u043D\u043E", "dynamicFlows.DynamicParagraph.copied": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430", "dynamicFlows.DynamicParagraph.copy": "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C", "dynamicFlows.ErrorBoundary.errorAlert": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A...", "dynamicFlows.ErrorBoundary.retry": "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043F\u043E\u043F\u044B\u0442\u043A\u0443", "dynamicFlows.ExternalConfirmation.cancel": "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C", "dynamicFlows.ExternalConfirmation.description": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C **{origin}** \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", "dynamicFlows.ExternalConfirmation.open": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435", "dynamicFlows.ExternalConfirmation.title": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435", "dynamicFlows.Help.ariaLabel": "\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044C \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0444\u0430\u0439\u043B \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u043C\u0435\u043D\u044C\u0448\u0435\u0433\u043E \u0440\u0430\u0437\u043C\u0435\u0440\u0430.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043D\u0435 \u0431\u043E\u043B\u0435\u0435 {maxItems} \u0444\u0430\u0439\u043B\u043E\u0432.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems} \u0444\u0430\u0439\u043B(-\u0430/\u043E\u0432).", "dynamicFlows.PersistAsyncSchema.genericError": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443 \u043F\u043E\u0437\u0436\u0435!", "dynamicFlows.ReadOnlySchema.no": "\u041D\u0435\u0442", "dynamicFlows.ReadOnlySchema.yes": "\u0414\u0430" };
2801
- var wc = { "dynamicFlows.ArraySchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az ekleme yap\u0131n", "dynamicFlows.ArraySchema.minItemsError": "L\xFCtfen en az {minItems} ekleme yap\u0131n.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Kulland\u0131\u011F\u0131n\u0131z taray\u0131c\u0131da kamera deste\u011Fi yok. Farkl\u0131 bir taray\u0131c\u0131 / cihaz deneyin veya mobil uygulamam\u0131z\u0131 indirin.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera desteklenmiyor", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamera eri\u015Fimi verin", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Tekrar ba\u015Flamak i\xE7in taray\u0131c\u0131n\u0131z\u0131n ayarlar\u0131nda kamera eri\u015Fimini etkinle\u015Ftirin.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Kameran\u0131za eri\u015Femiyoruz", "dynamicFlows.CameraCapture.reviewInstructions": "Foto\u011Fraf\u0131n\u0131z net, okunakl\u0131 ve eksiksiz mi?", "dynamicFlows.CameraCapture.reviewRetry": "Hay\u0131r, tekrar dene", "dynamicFlows.CameraCapture.reviewSubmit": "Evet, g\xF6nder", "dynamicFlows.ControlFeedback.maxLength": "L\xFCtfen {maxLength} veya daha az karakter girin.", "dynamicFlows.ControlFeedback.maximum": "L\xFCtfen {maximum} veya daha d\xFC\u015F\xFCk bir say\u0131 girin.", "dynamicFlows.ControlFeedback.maximumDate": "L\xFCtfen {maximum} veya daha erken bir tarih girin.", "dynamicFlows.ControlFeedback.minLength": "En az {minLength} karakter girebilirsiniz.", "dynamicFlows.ControlFeedback.minimum": "L\xFCtfen {minimum} veya daha y\xFCksek bir say\u0131 girin.", "dynamicFlows.ControlFeedback.minimumDate": "L\xFCtfen {minimum} veya daha ge\xE7 bir tarih girin.", "dynamicFlows.ControlFeedback.pattern": "Yanl\u0131\u015F bi\xE7im", "dynamicFlows.ControlFeedback.patternDate": "L\xFCtfen tarihi do\u011Fru bi\xE7imde girin.", "dynamicFlows.ControlFeedback.required": "L\xFCtfen bu alan\u0131 doldurun.", "dynamicFlows.ControlFeedback.type": "Ge\xE7ersiz se\xE7im", "dynamicFlows.DynamicExternal.retryTitle": "Pencereyi yeniden a\xE7", "dynamicFlows.DynamicParagraph.copied": "Panoya kopyaland\u0131", "dynamicFlows.DynamicParagraph.copy": "Kopyala", "dynamicFlows.ErrorBoundary.errorAlert": "Aman\u0131n! Bir \u015Feyler ters gitti...", "dynamicFlows.ErrorBoundary.retry": "Tekrar dene", "dynamicFlows.ExternalConfirmation.cancel": "\u0130ptal edin", "dynamicFlows.ExternalConfirmation.description": "L\xFCtfen yeni bir taray\u0131c\u0131 sekmesinde **{origin}** a\xE7mak istedi\u011Finizi onaylay\u0131n.", "dynamicFlows.ExternalConfirmation.open": "Yeni sekmede a\xE7", "dynamicFlows.ExternalConfirmation.title": "L\xFCtfen onaylay\u0131n", "dynamicFlows.Help.ariaLabel": "Ayr\u0131nt\u0131lar i\xE7in t\u0131klay\u0131n.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\xDCzg\xFCn\xFCz, bu dosya \xE7ok b\xFCy\xFCk. L\xFCtfen daha k\xFC\xE7\xFCk bir dosya y\xFCkleyin.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az dosya y\xFCkleyin.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "L\xFCtfen en az {minItems} dosya y\xFCkleyin.", "dynamicFlows.PersistAsyncSchema.genericError": "Bir \u015Feyler ters gitti, l\xFCtfen tekrar deneyin", "dynamicFlows.ReadOnlySchema.no": "Hay\u0131r", "dynamicFlows.ReadOnlySchema.yes": "Evet" };
2802
- var Fc = { "dynamicFlows.ArraySchema.maxItemsError": "\u8ACB\u6DFB\u52A0\u4E0D\u8D85\u904E{maxItems}\u9805\u3002", "dynamicFlows.ArraySchema.minItemsError": "\u8ACB\u81F3\u5C11\u6DFB\u52A0{minItems}\u9805\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u4F60\u76EE\u524D\u4F7F\u7528\u7684\u700F\u89BD\u5668\u4E0D\u652F\u6301\u76F8\u6A5F\u3002\u8ACB\u5617\u8A66\u4F7F\u7528\u5176\u4ED6\u700F\u89BD\u5668\u6216\u5176\u4ED6\u88DD\u7F6E\uFF0C\u6216\u8005\u4F60\u53EF\u4EE5\u4E0B\u8F09\u6211\u5011\u7684\u61C9\u7528\u7A0B\u5F0F\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u4E0D\u652F\u6301\u76F8\u6A5F", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u5141\u8A31\u53D6\u7528\u76F8\u6A5F", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u4F60\u53EF\u4EE5\u5728\u700F\u89BD\u5668\u7684\u8A2D\u5B9A\u4E2D\u958B\u555F\u76F8\u6A5F\u5B58\u53D6\u6B0A\u9650\u3002", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u6211\u5011\u7121\u6CD5\u53D6\u7528\u4F60\u7684\u76F8\u6A5F", "dynamicFlows.CameraCapture.reviewInstructions": "\u4F60\u7684\u7167\u7247\u662F\u5426\u5B8C\u6574\u3001\u6E05\u6670\u53CA\u53EF\u8B80\uFF1F", "dynamicFlows.CameraCapture.reviewRetry": "\u5426\uFF0C\u518D\u8A66\u4E00\u6B21", "dynamicFlows.CameraCapture.reviewSubmit": "\u662F\uFF0C\u63D0\u4EA4", "dynamicFlows.ControlFeedback.maxLength": "\u8ACB\u8F38\u5165\u6700\u591A{maxLength}\u500B\u5B57\u5143\u3002", "dynamicFlows.ControlFeedback.maximum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5C0F\u65BC\u6216\u7B49\u65BC{maximum}\u7684\u6578\u5B57\u3002", "dynamicFlows.ControlFeedback.maximumDate": "\u8ACB\u8F38\u5165{maximum}\u6216\u4E4B\u524D\u7684\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.minLength": "\u8ACB\u8F38\u5165\u81F3\u5C11{minLength}\u500B\u5B57\u5143\u3002", "dynamicFlows.ControlFeedback.minimum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5927\u65BC\u6216\u7B49\u65BC{minimum}\u7684\u6578\u5B57\u3002", "dynamicFlows.ControlFeedback.minimumDate": "\u8ACB\u8F38\u5165{minimum}\u6216\u4E4B\u5F8C\u7684\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.pattern": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u5185\u5BB9\u3002", "dynamicFlows.ControlFeedback.patternDate": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.required": "\u8ACB\u586B\u5BEB\u6B64\u6B04\u4F4D\u3002", "dynamicFlows.ControlFeedback.type": "\u932F\u8AA4\u7684\u985E\u578B", "dynamicFlows.DynamicExternal.retryTitle": "\u91CD\u65B0\u6253\u958B\u8996\u7A97", "dynamicFlows.DynamicParagraph.copied": "\u8907\u88FD\u5230\u526A\u8CBC\u677F", "dynamicFlows.DynamicParagraph.copy": "\u8907\u88FD", "dynamicFlows.ErrorBoundary.errorAlert": "\u5662\uFF01\u51FA\u4E86\u4E9B\u554F\u984C...", "dynamicFlows.ErrorBoundary.retry": "\u91CD\u8A66", "dynamicFlows.ExternalConfirmation.cancel": "\u53D6\u6D88", "dynamicFlows.ExternalConfirmation.description": "\u8ACB\u78BA\u8A8D\u4F60\u662F\u5426\u8981\u5728\u700F\u89BD\u5668\u7684\u65B0\u5206\u9801\u6253\u958B**{origin}**\u3002", "dynamicFlows.ExternalConfirmation.open": "\u5728\u65B0\u5206\u9801\u4E2D\u958B\u555F", "dynamicFlows.ExternalConfirmation.title": "\u8ACB\u78BA\u8A8D", "dynamicFlows.Help.ariaLabel": "\u6309\u6B64\u67E5\u770B\u8A73\u60C5\u3002", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8A72\u6A94\u6848\u592A\u5927\u3002\u8ACB\u4E0A\u8F09\u4E00\u500B\u8F03\u5C0F\u7684\u6A94\u6848\u3002", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "\u8ACB\u4E0D\u8981\u4E0A\u8F09\u8D85\u904E{maxItems}\u500B\u6A94\u6848\u3002", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u8ACB\u4E0A\u8F09\u81F3\u5C11{minItems}\u500B\u6A94\u6848\u3002", "dynamicFlows.PersistAsyncSchema.genericError": "\u51FA\u4E86\u4E9B\u554F\u984C\uFF0C\u8ACB\u7A0D\u5F8C\u518D\u8A66\u3002", "dynamicFlows.ReadOnlySchema.no": "\u5426", "dynamicFlows.ReadOnlySchema.yes": "\u662F" };
2803
- var Bp = { en: cc, de: lc, es: mc, fr: dc, hu: uc, id: pc, it: fc, ja: yc, pl: hc, pt: gc, ro: bc, ru: Sc, tr: wc, zh: Fc };
2804
- var Cc = Bp;
2784
+ var gp = { id: "Schemas/OneOf", title: "OneOf Schemas", description: "OneOf Schema using select, radio buttons and tabs.", analytics: { custom: "this is the oneOf fixture" }, schemas: [{ $id: "#the-schema", type: "object", displayOrder: ["account-type-radio", "colour-select", "currency", "bank-details-tabs"], required: ["bank-details-tabs"], properties: { "account-type-radio": { title: 'Personal or Business Account? (oneOf schema with two options default to control: "radio")', analyticsId: "account-type-radio", control: "radio", oneOf: [{ title: "Personal", analyticsId: "account-type-radio-personal", icon: { name: "person" }, const: "PERSONAL" }, { title: "Business", analyticsId: "account-type-radio-business", icon: { name: "briefcase" }, const: "BUSINESS" }] }, "colour-select": { title: 'What is your favourite colour? (oneOf schema with more than two options default to control: "select")', placeholder: "Please select a colour", analyticsId: "colour-select", oneOf: [{ title: "Blue", analyticsId: "colour-select-blue", image: { url: "https://placeholder.pics/svg/64/0099ff/FFFFFF" }, const: 1 }, { title: "Yellow", analyticsId: "colour-select-yellow", image: { url: "https://placeholder.pics/svg/64/ffcc00/FFFFFF" }, const: 2 }, { title: "Red", analyticsId: "colour-select-red", image: { url: "https://placeholder.pics/svg/64/ff6600/FFFFFF" }, const: 3 }] }, currency: { title: "Currency (oneof schema of const schemas with default value)", type: "string", analyticsId: "currency", oneOf: hp.map(([e, t]) => ({ title: e, analyticsId: e, icon: { name: `flag-${e.toLowerCase()}` }, description: t, const: e })), validationMessages: { required: "Please enter currency." }, default: "EUR" }, "bank-details-tabs": { title: 'Bank Details (oneOf schema of object schemas and control: "tab")', control: "tab", analyticsId: "bank-details-tabs", oneOf: [{ type: "object", title: "UK Sortcode and Account Number", analyticsId: "bank-details-tabs-uk", displayOrder: ["account-number", "sort-code"], required: ["account-number", "sort-code"], properties: { "account-number": { title: "Account Number", type: "string" }, "sort-code": { title: "Sort Code", type: "string" } } }, { type: "object", title: "IBAN and BIC", analyticsId: "bank-details-tabs-iban", displayOrder: ["iban", "bic"], required: ["iban", "bic"], properties: { iban: { title: "IBAN", type: "string" }, bic: { title: "BIC", type: "string" } } }, { type: "object", title: "US Routing Number and Account Number", analyticsId: "bank-details-tabs-us", displayOrder: ["account-number", "routing-number"], required: ["account-number", "routing-number"], properties: { "account-number": { title: "Account Number", type: "string" }, "routing-number": { title: "Routing Number", type: "string" } } }] } } }], layout: [{ type: "form", schemaId: "#the-schema" }, { type: "button", action: { url: "/submit", title: "Submit", type: "primary" } }] };
2785
+ var ac = gp;
2786
+ var bp = { id: "Schemas/String Formats", title: "String Schema Formats", description: "String schemas with different formats (password, date, telephone).", schemas: [{ $id: "#the-schema", type: "object", displayOrder: ["name", "password", "dob", "date-lookup", "telephone"], properties: { name: { title: "Name (string schema no format)", type: "string" }, password: { title: 'Password (string schema with format: "password")', type: "string", format: "password" }, dob: { title: 'Date of birth (string schema with format: "date")', type: "string", format: "date" }, "date-lookup": { title: 'Date Lookup (string schema with format: "date" and control: "date-lookup")', type: "string", format: "date", control: "date-lookup", minimum: "2023-01-01", maximum: "2023-12-31", placeholder: "Select a date" }, telephone: { title: 'Phone number (string schema with format: "phone-number")', type: "string", format: "phone-number" } } }], layout: [{ type: "form", schemaId: "#the-schema" }, { type: "button", action: { url: "/submit", title: "Submit", type: "primary" } }], model: { "date-lookup": "2023-01-01" } };
2787
+ var nc = bp;
2788
+ var Sp = { key: "Schemas/Boolean Schema", title: "Boolean Schema", description: "A simple form with a boolean schema with no default value.", actions: [], schemas: [{ $id: "#schema-1", type: "object", displayOrder: ["pineapple"], required: ["pineapple"], properties: { pineapple: { title: "Pineapple on pizza (boolean schema)", type: "boolean" } } }], layout: [{ type: "form", schemaId: "#schema-1" }, { type: "button", action: { url: "/submit", title: "Submit", type: "primary" } }] };
2789
+ var ic = Sp;
2790
+ var wp = { key: "Schemas/AllOf", title: "AllOf Schemas", description: "Three object schemas wrapped in an allOf.", analytics: { custom: "this is the allOf fixture" }, actions: [], schemas: [{ $id: "#the-schema", allOf: [{ $id: "#schema-1", type: "object", properties: { name: { title: "Name", type: "string" } }, displayOrder: ["name"] }, { $id: "#schema-2", type: "object", properties: { city: { title: "City", type: "string" } }, displayOrder: ["city"] }, { $id: "#schema-3", type: "object", properties: { color: { title: 'What is your favourite colour? (oneOf schema with more than two options default to control: "select")', placeholder: "Please select a colour", analyticsId: "colour-select", oneOf: [{ title: "Blue", analyticsId: "colour-select-blue", image: { url: "https://placeholder.pics/svg/64/0099ff/FFFFFF" }, const: 1 }, { title: "Yellow", analyticsId: "colour-select-yellow", image: { url: "https://placeholder.pics/svg/64/ffcc00/FFFFFF" }, const: 2 }, { title: "Red", analyticsId: "colour-select-red", image: { url: "https://placeholder.pics/svg/64/ff6600/FFFFFF" }, const: 3 }] } }, displayOrder: ["color"] }] }], layout: [{ type: "form", schemaId: "#the-schema" }, { type: "button", action: { url: "/submit", title: "Submit", type: "primary" } }] };
2791
+ var sc = wp;
2792
+ var Nt = (e) => ({ type: "form", id: `Components/Image-${e}`, title: `Image Component - ${e}`, description: `This is an image with size: "${e}"`, schemas: [], layout: [{ type: "image", url: "https://images.unsplash.com/photo-1542736705-53f0131d1e98?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=400&q=80", text: `This is an image with size: "${e}"`, size: e }] });
2793
+ var lc = { steps: S(i(i(i(i({}, Sa), wa), Fa), Oa), { "image-xs": Nt("xs"), "image-sm": Nt("sm"), "image-md": Nt("md"), "image-lg": Nt("lg"), "image-xl": Nt("xl") }), layouts: i({}, Ca), responses: xa };
2794
+ var cc = { "dynamicFlows.ArraySchema.maxItemsError": "Bitte f\xFCge {maxItems} oder weniger hinzu.", "dynamicFlows.ArraySchema.minItemsError": "Bitte f\xFCge mindestens {minItems} hinzu.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Der von dir verwendete Browser unterst\xFCtzt keine Kameras. Bitte verwende einen anderen Browser oder ein anderes Ger\xE4t, oder lade unsere App herunter", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera wird nicht unterst\xFCtzt", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamerazugriff genehmigen", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Aktiviere den Kamerazugriff in den Einstellungen deines Browsers, um weitermachen zu k\xF6nnen.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Wir k\xF6nnen nicht auf deine Kamera zugreifen", "dynamicFlows.CameraCapture.reviewInstructions": "Ist das aufgenommene Bild deutlich erkennbar und vollst\xE4ndig?", "dynamicFlows.CameraCapture.reviewRetry": "Nein, erneut versuchen", "dynamicFlows.CameraCapture.reviewSubmit": "Ja, senden", "dynamicFlows.ControlFeedback.maxLength": "Bitte gib nicht mehr als {maxLength} Zeichen ein.", "dynamicFlows.ControlFeedback.maximum": "Bitte gib eine Zahl ein, die {maximum} oder weniger betr\xE4gt.", "dynamicFlows.ControlFeedback.maximumDate": "Bitte gib ein Datum ein, das am oder vor dem {maximum} liegt.", "dynamicFlows.ControlFeedback.minLength": "Bitte gib mindestens {minLength} Zeichen ein.", "dynamicFlows.ControlFeedback.minimum": "Bitte gib eine Zahl ein, die {minimum} oder mehr betr\xE4gt.", "dynamicFlows.ControlFeedback.minimumDate": "Bitte gib ein Datum ein, das am oder nach dem {minimum} liegt.", "dynamicFlows.ControlFeedback.pattern": "Bitte gib die Angabe im richtigen Format ein.", "dynamicFlows.ControlFeedback.patternDate": "Bitte gib ein Datum im richtigen Format ein.", "dynamicFlows.ControlFeedback.required": "Bitte f\xFClle dieses Feld aus.", "dynamicFlows.ControlFeedback.type": "Falscher Typ", "dynamicFlows.DynamicExternal.retryTitle": "Fenster erneut \xF6ffnen", "dynamicFlows.DynamicParagraph.copied": "In Zwischenablage kopiert", "dynamicFlows.DynamicParagraph.copy": "Kopieren", "dynamicFlows.ErrorBoundary.errorAlert": "Hoppla \u2013 da ist was schiefgelaufen...", "dynamicFlows.ErrorBoundary.retry": "Erneut versuchen", "dynamicFlows.ExternalConfirmation.cancel": "Abbrechen", "dynamicFlows.ExternalConfirmation.description": "Bitte best\xE4tige, dass du **{origin}** in einem neuen Browser-Tab \xF6ffnen m\xF6chtest.", "dynamicFlows.ExternalConfirmation.open": "In neuem Tab \xF6ffnen", "dynamicFlows.ExternalConfirmation.title": "Bitte best\xE4tigen", "dynamicFlows.Help.ariaLabel": "Klicke hier f\xFCr mehr Informationen.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Diese Datei ist leider zu gro\xDF. Bitte lade eine kleinere Datei hoch.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Bitte lade {maxItems} oder weniger Dateien hoch.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Bitte lade mindestens {minItems} Datei(en) hoch.", "dynamicFlows.PersistAsyncSchema.genericError": "Da ist etwas schiefgelaufen. Probiere es bitte sp\xE4ter noch einmal.", "dynamicFlows.ReadOnlySchema.no": "Nein", "dynamicFlows.ReadOnlySchema.yes": "Ja" };
2795
+ var mc = { "dynamicFlows.ArraySchema.maxItemsError": "Please add {maxItems} or fewer.", "dynamicFlows.ArraySchema.minItemsError": "Please add at least {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Camera not supported", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Enable camera access", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Enable camera access in your browser's settings to get going again.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "We can't access your camera", "dynamicFlows.CameraCapture.reviewInstructions": "Is your picture clear, readable and complete?", "dynamicFlows.CameraCapture.reviewRetry": "No, try again", "dynamicFlows.CameraCapture.reviewSubmit": "Yes, submit", "dynamicFlows.ControlFeedback.maxLength": "Please enter {maxLength} or fewer characters.", "dynamicFlows.ControlFeedback.maximum": "Please enter a number that's {maximum} or less.", "dynamicFlows.ControlFeedback.maximumDate": "Please enter a date that's on or before {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Please enter at least {minLength} characters.", "dynamicFlows.ControlFeedback.minimum": "Please enter a number that's {minimum} or more.", "dynamicFlows.ControlFeedback.minimumDate": "Please enter a date that's on or after {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Please enter this in the correct format.", "dynamicFlows.ControlFeedback.patternDate": "Please enter a date in the corrrect format.", "dynamicFlows.ControlFeedback.required": "Please fill out this field.", "dynamicFlows.ControlFeedback.type": "Incorrect type", "dynamicFlows.DynamicExternal.retryTitle": "Reopen window", "dynamicFlows.DynamicParagraph.copied": "Copied to clipboard", "dynamicFlows.DynamicParagraph.copy": "Copy", "dynamicFlows.ErrorBoundary.errorAlert": "Oops. Something went wrong...", "dynamicFlows.ErrorBoundary.retry": "Retry", "dynamicFlows.ExternalConfirmation.cancel": "Cancel", "dynamicFlows.ExternalConfirmation.description": "Please confirm you want to open **{origin}** in a new browser tab.", "dynamicFlows.ExternalConfirmation.open": "Open in new tab", "dynamicFlows.ExternalConfirmation.title": "Please confirm", "dynamicFlows.Help.ariaLabel": "Click here for more info.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Sorry, that file is too big. Please upload a smaller file.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Please upload {maxItems} or fewer files.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Something went wrong, please try again later!", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "Yes" };
2796
+ var dc = { "dynamicFlows.ArraySchema.maxItemsError": "A\xF1ade {maxItems} o menos.", "dynamicFlows.ArraySchema.minItemsError": "A\xF1ade al menos {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "El navegador que est\xE1s utilizando no es compatible con una c\xE1mara. Prueba con otro navegador, dispositivo o descarga nuestra app m\xF3vil.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "C\xE1mara no compatible", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Habilitar acceso a la c\xE1mara", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Habilita el acceso a la c\xE1mara en la configuraci\xF3n de tu navegador para volver a activarla.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "No podemos acceder a tu c\xE1mara", "dynamicFlows.CameraCapture.reviewInstructions": "\xBFTu foto es clara, legible y completa?", "dynamicFlows.CameraCapture.reviewRetry": "No, intentar de nuevo", "dynamicFlows.CameraCapture.reviewSubmit": "S\xED, enviar", "dynamicFlows.ControlFeedback.maxLength": "Introduce {maxLength} caracteres o menos.", "dynamicFlows.ControlFeedback.maximum": "Introduce una cifra igual o inferior a {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Introduce una fecha que sea igual o anterior al {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Introduce al menos {minLength} caracteres.", "dynamicFlows.ControlFeedback.minimum": "Introduce una cifra igual o inferior a {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Introduce una fecha que sea igual o posterior al {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Utiliza el formato correcto.", "dynamicFlows.ControlFeedback.patternDate": "Introduce la fecha en un formato correcto.", "dynamicFlows.ControlFeedback.required": "Completa este campo.", "dynamicFlows.ControlFeedback.type": "Tipo incorrecto", "dynamicFlows.DynamicExternal.retryTitle": "Reabrir ventana", "dynamicFlows.DynamicParagraph.copied": "Copiado al portapapeles", "dynamicFlows.DynamicParagraph.copy": "Copiar", "dynamicFlows.ErrorBoundary.errorAlert": "Vaya. Algo ha salido mal...", "dynamicFlows.ErrorBoundary.retry": "Reintentar", "dynamicFlows.ExternalConfirmation.cancel": "Cancelar", "dynamicFlows.ExternalConfirmation.description": "Confirma que quieres abrir **{origin}** en una nueva pesta\xF1a del navegador.", "dynamicFlows.ExternalConfirmation.open": "Abrir en nueva pesta\xF1a", "dynamicFlows.ExternalConfirmation.title": "Por favor, confirma", "dynamicFlows.Help.ariaLabel": "Haz clic aqu\xED para obtener m\xE1s informaci\xF3n.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Lo sentimos, el archivo pesa demasiado. Sube uno m\xE1s peque\xF1o.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Sube {maxItems} o menos archivos.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Sube al menos {minItems} archivo(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Algo ha ido mal. Int\xE9ntalo de nuevo m\xE1s tarde.", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "S\xED" };
2797
+ var uc = { "dynamicFlows.ArraySchema.maxItemsError": "Veuillez ajouter {maxItems} ou moins.", "dynamicFlows.ArraySchema.minItemsError": "Veuillez ajouter au moins {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Le navigateur que vous utilisez ne prend pas en charge l'appareil photo. Veuillez essayer un autre navigateur, un autre appareil ou t\xE9l\xE9charger notre appli.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Appareil photo non pris en charge", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Autoriser l'acc\xE8s \xE0 l'appareil photo", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Autorisez l'acc\xE8s \xE0 l'appareil photo depuis les param\xE8tres de votre navigateur.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nous n'avons pas acc\xE8s \xE0 votre appareil photo", "dynamicFlows.CameraCapture.reviewInstructions": "Votre image est-elle claire, lisible et dans son int\xE9gralit\xE9\xA0?", "dynamicFlows.CameraCapture.reviewRetry": "Non, r\xE9essayer", "dynamicFlows.CameraCapture.reviewSubmit": "Oui, confirmer", "dynamicFlows.ControlFeedback.maxLength": "Veuillez saisir {maxLength} caract\xE8res ou moins.", "dynamicFlows.ControlFeedback.maximum": "Veuillez saisir un nombre inf\xE9rieur ou \xE9gal \xE0 {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Veuillez saisir une date \xE9gale ou ant\xE9rieure au {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Veuillez saisir au moins {minLength} caract\xE8res.", "dynamicFlows.ControlFeedback.minimum": "Veuillez saisir un nombre sup\xE9rieur ou \xE9gal \xE0 {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Veuillez saisir une date \xE9gale ou post\xE9rieure au {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Veuillez saisir les informations dans le bon format.", "dynamicFlows.ControlFeedback.patternDate": "Veuillez saisir une date au format correct.", "dynamicFlows.ControlFeedback.required": "Champ obligatoire.", "dynamicFlows.ControlFeedback.type": "Type incorrect", "dynamicFlows.DynamicExternal.retryTitle": "Rouvrir la fen\xEAtre", "dynamicFlows.DynamicParagraph.copied": "Copi\xE9 dans le presse-papier", "dynamicFlows.DynamicParagraph.copy": "Copier", "dynamicFlows.ErrorBoundary.errorAlert": "Oups\xA0! Une erreur s'est produite...", "dynamicFlows.ErrorBoundary.retry": "R\xE9essayer", "dynamicFlows.ExternalConfirmation.cancel": "Annuler", "dynamicFlows.ExternalConfirmation.description": "Veuillez confirmer que vous souhaitez ouvrir **{origin}** dans un nouvel onglet.", "dynamicFlows.ExternalConfirmation.open": "Ouvrir dans un nouvel onglet", "dynamicFlows.ExternalConfirmation.title": "Veuillez confirmer", "dynamicFlows.Help.ariaLabel": "Cliquez ici pour plus d'informations.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Nous sommes d\xE9sol\xE9s, ce fichier est trop volumineux. Veuillez t\xE9l\xE9charger un fichier plus petit.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Veuillez t\xE9l\xE9charger {maxItems} fichiers ou moins.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Veuillez t\xE9l\xE9charger au moins {minItems} fichier(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Un probl\xE8me est survenu, veuillez r\xE9essayer plus tard !", "dynamicFlows.ReadOnlySchema.no": "Non", "dynamicFlows.ReadOnlySchema.yes": "Oui" };
2798
+ var pc = { "dynamicFlows.ArraySchema.maxItemsError": "K\xE9r\xFCnk, {maxItems} vagy ann\xE1l kevesebb t\xE9telt adj meg.", "dynamicFlows.ArraySchema.minItemsError": "K\xE9r\xFCnk, legal\xE1bb {minItems} t\xE9telt adj meg.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Az \xE1ltalad haszn\xE1lt b\xF6ng\xE9sz\u0151 nem t\xE1mogatja a kamera haszn\xE1lat\xE1t. K\xE9r\xFCnk, pr\xF3b\xE1lkozz m\xE1s b\xF6ng\xE9sz\u0151vel, eszk\xF6zzel vagy t\xF6ltsd le az appot", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera nem t\xE1mogatott", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamer\xE1hoz val\xF3 hozz\xE1f\xE9r\xE9s enged\xE9lyez\xE9se", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Nem tudunk hozz\xE1f\xE9rni a kamer\xE1dhoz. Ezt a telefonod be\xE1ll\xEDt\xE1saiban enged\xE9lyezheted", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nem tudunk hozz\xE1f\xE9rni a kamer\xE1dhoz", "dynamicFlows.CameraCapture.reviewInstructions": "Tiszta, olvashat\xF3, teljes k\xE9pet k\xE9sz\xEDtett\xE9l?", "dynamicFlows.CameraCapture.reviewRetry": "Nem, pr\xF3b\xE1ljuk \xFAjra", "dynamicFlows.CameraCapture.reviewSubmit": "Igen, elk\xFCld\xF6m", "dynamicFlows.ControlFeedback.maxLength": "K\xE9r\xFCnk, legfeljebb {maxLength} karaktert adj meg.", "dynamicFlows.ControlFeedback.maximum": "K\xE9r\xFCnk, add meg ezt vagy egy enn\xE9l kisebb sz\xE1mot: {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {maximum} napj\xE1val, vagy egy enn\xE9l kor\xE1bbit.", "dynamicFlows.ControlFeedback.minLength": "K\xE9r\xFCnk, legal\xE1bb {minLength} karaktert adj meg.", "dynamicFlows.ControlFeedback.minimum": "K\xE9r\xFCnk add meg ezt vagy egy enn\xE9l nagyobb sz\xE1mot: {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {minimum} napj\xE1val, vagy egy enn\xE9l k\xE9s\u0151bbit.", "dynamicFlows.ControlFeedback.pattern": "Helytelen form\xE1tum", "dynamicFlows.ControlFeedback.patternDate": "K\xE9r\xFCnk, hogy a d\xE1tumot helyes form\xE1tumban add meg.", "dynamicFlows.ControlFeedback.required": "K\xE9r\xFCnk, t\xF6ltsd ki ezt a mez\u0151t.", "dynamicFlows.ControlFeedback.type": "Helytelen t\xEDpus", "dynamicFlows.DynamicExternal.retryTitle": "Ablak \xFAjranyit\xE1sa", "dynamicFlows.DynamicParagraph.copied": "V\xE1g\xF3lapra m\xE1solva", "dynamicFlows.DynamicParagraph.copy": "M\xE1sol\xE1s", "dynamicFlows.ErrorBoundary.errorAlert": "Hopp\xE1! Valami hiba t\xF6rt\xE9nt...", "dynamicFlows.ErrorBoundary.retry": "\xDAjra", "dynamicFlows.ExternalConfirmation.cancel": "M\xE9gsem", "dynamicFlows.ExternalConfirmation.description": "K\xE9r\xFCnk, er\u0151s\xEDtsd meg, hogy a(z) **{origin}** alkalmaz\xE1st egy \xFAj b\xF6ng\xE9sz\u0151lapon szeretn\xE9d megnyitni.", "dynamicFlows.ExternalConfirmation.open": "Megnyit\xE1s \xFAj lapon", "dynamicFlows.ExternalConfirmation.title": "Meger\u0151s\xEDt\xE9s", "dynamicFlows.Help.ariaLabel": "Kattints ide tov\xE1bbi inform\xE1ci\xF3\xE9rt.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Sajnos ez a f\xE1jl t\xFAl nagy. K\xE9r\xFCnk, t\xF6lts fel egy kisebb f\xE1jlt.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "K\xE9r\xFCnk, hogy legfeljebb {maxItems} f\xE1jlt t\xF6lts fel.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "K\xE9r\xFCnk, hogy legal\xE1bb {minItems} f\xE1jlt t\xF6lts fel.", "dynamicFlows.PersistAsyncSchema.genericError": "Valami hiba t\xF6rt\xE9nt. K\xE9r\xFCnk, pr\xF3b\xE1ld \xFAjra k\xE9s\u0151bb!", "dynamicFlows.ReadOnlySchema.no": "Nem", "dynamicFlows.ReadOnlySchema.yes": "Igen" };
2799
+ var fc = { "dynamicFlows.ArraySchema.maxItemsError": "Harap tambahkan {maxItems} atau kurang.", "dynamicFlows.ArraySchema.minItemsError": "Harap tambahkan setidaknya {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Browser yang Anda gunakan tidak mendukung kamera. Silakan coba browser, perangkat yang lain, atau unduh aplikasi seluler kami.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera tidak didukung", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Izinkan akses kamera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Untuk melanjutkan lagi, aktifkan akses kamera di pengaturan browser Anda.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Kami tidak dapat mengakses kamera Anda", "dynamicFlows.CameraCapture.reviewInstructions": "Apakah gambar Anda jelas, dapat dibaca, dan lengkap?", "dynamicFlows.CameraCapture.reviewRetry": "Tidak, coba lagi", "dynamicFlows.CameraCapture.reviewSubmit": "Ya, kirim", "dynamicFlows.ControlFeedback.maxLength": "Harap masukkan {maxLength} karakter atau kurang.", "dynamicFlows.ControlFeedback.maximum": "Harap masukkan angka paling besar {maximum} atau kurang dari itu.", "dynamicFlows.ControlFeedback.maximumDate": "Harap masukkan tanggal pada atau sebelum {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Harap masukkan setidaknya {minLength} karakter.", "dynamicFlows.ControlFeedback.minimum": "Harap masukkan angka paling kecil {minimum} atau lebih dari itu.", "dynamicFlows.ControlFeedback.minimumDate": "Harap masukkan tanggal pada atau setelah {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Mohon masukkan ini dalam format yang benar.", "dynamicFlows.ControlFeedback.patternDate": "Harap masukkan tanggal dalam format yang benar.", "dynamicFlows.ControlFeedback.required": "Harap isi kolom ini.", "dynamicFlows.ControlFeedback.type": "Tipe salah", "dynamicFlows.DynamicExternal.retryTitle": "Buka window kembali", "dynamicFlows.DynamicParagraph.copied": "Disalin ke clipboard", "dynamicFlows.DynamicParagraph.copy": "Salin", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Terjadi kesalahan...", "dynamicFlows.ErrorBoundary.retry": "Coba lagi", "dynamicFlows.ExternalConfirmation.cancel": "Batalkan", "dynamicFlows.ExternalConfirmation.description": "Harap konfirmasikan bahwa Anda ingin membuka **{origin}** di tab browser baru.", "dynamicFlows.ExternalConfirmation.open": "Buka di tab baru", "dynamicFlows.ExternalConfirmation.title": "Harap konfirmasi", "dynamicFlows.Help.ariaLabel": "Klik di sini untuk info selengkapnya.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Maaf, file Anda terlalu besar. Silakan unggah file yang lebih kecil.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Harap unggah {maxItems} file atau kurang.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Harap unggah sedikitnya {minItems} file.", "dynamicFlows.PersistAsyncSchema.genericError": "Terjadi kesalahan, mohon coba lagi nanti!", "dynamicFlows.ReadOnlySchema.no": "Tidak", "dynamicFlows.ReadOnlySchema.yes": "Ya" };
2800
+ var yc = { "dynamicFlows.ArraySchema.maxItemsError": "Aggiungi al massimo {maxItems}.", "dynamicFlows.ArraySchema.minItemsError": "Aggiungi almeno {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Il browser che stai usando non supporta la videocamera. Prova con un altro browser o dispositivo, oppure scarica la nostra app", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Videocamera non supportata", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Consenti l'accesso alla fotocamera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Non abbiamo accesso alla tua fotocamera. Puoi abilitare l'accesso nelle impostazioni del tuo browser", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Accesso alla fotocamera disabilitato", "dynamicFlows.CameraCapture.reviewInstructions": "La tua foto \xE8 chiara, ben leggibile e completa?", "dynamicFlows.CameraCapture.reviewRetry": "No, riprova", "dynamicFlows.CameraCapture.reviewSubmit": "S\xEC, invia", "dynamicFlows.ControlFeedback.maxLength": "Inserisci un massimo di {maxLength} caratteri.", "dynamicFlows.ControlFeedback.maximum": "Inserisci un numero uguale o inferiore a {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Inserisci una data corrispondente o precedente al {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Inserisci almeno {minLength} caratteri.", "dynamicFlows.ControlFeedback.minimum": "Inserisci un numero uguale o superiore a {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Inserisci una data corrispondente o successiva al {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Inseriscilo in un formato corretto.", "dynamicFlows.ControlFeedback.patternDate": "Inserisci la data in un formato corretto.", "dynamicFlows.ControlFeedback.required": "Compila questo campo.", "dynamicFlows.ControlFeedback.type": "Tipo errato", "dynamicFlows.DynamicExternal.retryTitle": "Riapri la finestra", "dynamicFlows.DynamicParagraph.copied": "Copiato negli appunti", "dynamicFlows.DynamicParagraph.copy": "Copia", "dynamicFlows.ErrorBoundary.errorAlert": "Ops! Qualcosa \xE8 andato storto...", "dynamicFlows.ErrorBoundary.retry": "Riprova", "dynamicFlows.ExternalConfirmation.cancel": "Annulla", "dynamicFlows.ExternalConfirmation.description": "Conferma di voler aprire **{origin}** in una nuova scheda del browser.", "dynamicFlows.ExternalConfirmation.open": "Apri in una nuova scheda", "dynamicFlows.ExternalConfirmation.title": "Conferma", "dynamicFlows.Help.ariaLabel": "Clicca qui per maggiori informazioni.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Spiacenti, il file \xE8 troppo grande. Carica un file di dimensioni inferiori.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Carica al massimo {maxItems} file.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Carica almeno {minItems} file.", "dynamicFlows.PersistAsyncSchema.genericError": "Qualcosa \xE8 andato storto. Riprova pi\xF9 tardi!", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "S\xEC" };
2801
+ var hc = { "dynamicFlows.ArraySchema.maxItemsError": "{maxItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0B\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ArraySchema.minItemsError": "{minItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0A\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u304A\u5BA2\u69D8\u306E\u30D6\u30E9\u30A6\u30B6\u3067\u306F\u30AB\u30E1\u30E9\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u5225\u306E\u30D6\u30E9\u30A6\u30B6\u307E\u305F\u306F\u30C7\u30D0\u30A4\u30B9\u3092\u4F7F\u7528\u3059\u308B\u304B\u3001\u30E2\u30D0\u30A4\u30EB\u30A2\u30D7\u30EA\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u30AB\u30E1\u30E9\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u3092\u8A31\u53EF\u3059\u308B", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u30D6\u30E9\u30A6\u30B6\u306E\u8A2D\u5B9A\u3067\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u3092\u6709\u52B9\u306B\u3057\u3066\u3001\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u304C\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093", "dynamicFlows.CameraCapture.reviewInstructions": "\u5199\u771F\u304C\u9BAE\u660E\u3067\u3001\u3059\u3079\u3066\u306E\u60C5\u5831\u304C\u8AAD\u307F\u53D6\u308C\u6B20\u3051\u3066\u3044\u308B\u90E8\u5206\u306A\u3069\u306F\u3042\u308A\u307E\u305B\u3093\u304B\uFF1F", "dynamicFlows.CameraCapture.reviewRetry": "\u3044\u3044\u3048\u3001\u64AE\u308A\u76F4\u3059", "dynamicFlows.CameraCapture.reviewSubmit": "\u306F\u3044\u3001\u9001\u4FE1\u3059\u308B", "dynamicFlows.ControlFeedback.maxLength": "{maxLength}\u6587\u5B57\u4EE5\u4E0B\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.maximum": "{maximum}\u4EE5\u4E0B\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.maximumDate": "{maximum}\u307E\u305F\u306F\u305D\u308C\u4EE5\u524D\u306E\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minLength": "{minLength}\u6587\u5B57\u4EE5\u4E0A\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minimum": "{minimum}\u4EE5\u4E0A\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minimumDate": "{minimum}\u307E\u305F\u306F\u305D\u308C\u4EE5\u964D\u306E\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.pattern": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.patternDate": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.required": "\u3053\u306E\u9805\u76EE\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059\u3002", "dynamicFlows.ControlFeedback.type": "\u4E0D\u6B63\u306A\u30BF\u30A4\u30D7", "dynamicFlows.DynamicExternal.retryTitle": "\u30A6\u30A3\u30F3\u30C9\u30A6\u3092\u3082\u3046\u4E00\u5EA6\u958B\u304F", "dynamicFlows.DynamicParagraph.copied": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F", "dynamicFlows.DynamicParagraph.copy": "\u30B3\u30D4\u30FC\u3059\u308B", "dynamicFlows.ErrorBoundary.errorAlert": "\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F...", "dynamicFlows.ErrorBoundary.retry": "\u3084\u308A\u76F4\u3059", "dynamicFlows.ExternalConfirmation.cancel": "\u30AD\u30E3\u30F3\u30BB\u30EB\u3059\u308B", "dynamicFlows.ExternalConfirmation.description": "\u65B0\u3057\u3044\u30D6\u30E9\u30A6\u30B6\u30BF\u30D6\u3067**{origin}**\u3092\u958B\u304F\u3053\u3068\u3092\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ExternalConfirmation.open": "\u65B0\u3057\u3044\u30BF\u30D6\u3067\u958B\u304F", "dynamicFlows.ExternalConfirmation.title": "\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044", "dynamicFlows.Help.ariaLabel": "\u8A73\u7D30\u306F\u3053\u3061\u3089\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u5927\u5909\u7533\u3057\u8A33\u3054\u3056\u3044\u307E\u305B\u3093\u304C\u3001\u30D5\u30A1\u30A4\u30EB\u304C\u5927\u304D\u3059\u304E\u307E\u3059\u3002\u3053\u308C\u3088\u308A\u5C0F\u3055\u3044\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "{maxItems}\u500B\u4EE5\u4E0B\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "{minItems}\u500B\u4EE5\u4E0A\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.PersistAsyncSchema.genericError": "\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ReadOnlySchema.no": "\u3044\u3044\u3048", "dynamicFlows.ReadOnlySchema.yes": "\u306F\u3044" };
2802
+ var gc = { "dynamicFlows.ArraySchema.maxItemsError": "Prosimy doda\u0107 maksymalnie {maxItems}.", "dynamicFlows.ArraySchema.minItemsError": "Prosimy doda\u0107 co najmniej {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Przegl\u0105darka, kt\xF3rej u\u017Cywasz, nie obs\u0142uguje aparatu. Wypr\xF3buj inn\u0105 przegl\u0105dark\u0119 lub urz\u0105dzenie albo pobierz nasz\u0105 aplikacj\u0119 mobiln\u0105.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Aparat nie jest obs\u0142ugiwany", "dynamicFlows.CameraCapture.NoCameraAccess.action": "W\u0142\u0105cz dost\u0119p do aparatu", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "W\u0142\u0105cz dost\u0119p do aparatu w ustawieniach przegl\u0105darki, \u017Ceby rozpocz\u0105\u0107 ponownie.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nie mo\u017Cemy uzyska\u0107 dost\u0119pu do Twojego aparatu", "dynamicFlows.CameraCapture.reviewInstructions": "Czy Twoje zdj\u0119cie jest wyra\u017Ane, czytelne i kompletne?", "dynamicFlows.CameraCapture.reviewRetry": "Nie, spr\xF3buj ponownie", "dynamicFlows.CameraCapture.reviewSubmit": "Tak, prze\u015Blij", "dynamicFlows.ControlFeedback.maxLength": "Prosimy wprowadzi\u0107 do {maxLength} znak\xF3w.", "dynamicFlows.ControlFeedback.maximum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub mniejsz\u0105 ni\u017C {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Wprowad\u017A dat\u0119 nie p\xF3\u017Aniejsz\u0105 ni\u017C {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Prosz\u0119 wpisa\u0107 co najmniej {minLength} znak\xF3w.", "dynamicFlows.ControlFeedback.minimum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub wi\u0119ksz\u0105 ni\u017C {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Wprowad\u017A dat\u0119 nie wcze\u015Bniejsz\u0105 ni\u017C {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Wprowad\u017A t\u0119 warto\u015B\u0107 w prawid\u0142owym formacie.", "dynamicFlows.ControlFeedback.patternDate": "Wprowad\u017A dat\u0119 w prawid\u0142owym formacie.", "dynamicFlows.ControlFeedback.required": "Prosz\u0119 wype\u0142ni\u0107 to pole.", "dynamicFlows.ControlFeedback.type": "Nieprawid\u0142owy typ", "dynamicFlows.DynamicExternal.retryTitle": "Otw\xF3rz okno ponownie", "dynamicFlows.DynamicParagraph.copied": "Skopiowano do schowka", "dynamicFlows.DynamicParagraph.copy": "Kopiuj", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Wyst\u0105pi\u0142 b\u0142\u0105d...", "dynamicFlows.ErrorBoundary.retry": "Spr\xF3buj ponownie", "dynamicFlows.ExternalConfirmation.cancel": "Anuluj", "dynamicFlows.ExternalConfirmation.description": "Prosimy potwierdzi\u0107, \u017Ce chcesz otworzy\u0107 **{origin}** w nowej zak\u0142adce przegl\u0105darki.", "dynamicFlows.ExternalConfirmation.open": "Otw\xF3rz w nowej zak\u0142adce", "dynamicFlows.ExternalConfirmation.title": "Potwierd\u017A", "dynamicFlows.Help.ariaLabel": "Kliknij tutaj, \u017Ceby uzyska\u0107 wi\u0119cej informacji.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Przepraszamy, ten plik jest zbyt du\u017Cy. Prze\u015Blij mniejszy plik.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Prze\u015Blij do {maxItems} plik\xF3w.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Prze\u015Blij co najmniej nast\u0119puj\u0105c\u0105 liczb\u0119 plik\xF3w: {minItems}.", "dynamicFlows.PersistAsyncSchema.genericError": "Wyst\u0105pi\u0142 b\u0142\u0105d, spr\xF3buj ponownie p\xF3\u017Aniej!", "dynamicFlows.ReadOnlySchema.no": "Nie", "dynamicFlows.ReadOnlySchema.yes": "Tak" };
2803
+ var bc = { "dynamicFlows.ArraySchema.maxItemsError": "Adicione {maxItems} ou menos.", "dynamicFlows.ArraySchema.minItemsError": "Adicione pelo menos {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "O navegador que voc\xEA est\xE1 usando n\xE3o permite o uso da c\xE2mera. Por favor, tente com outro navegador ou computador, ou baixe o nosso aplicativo", "dynamicFlows.CameraCapture.CameraNotSupported.title": "C\xE2mera indispon\xEDvel", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Permitir acesso \xE0 c\xE2mera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Ative o acesso \xE0 c\xE2mera nas configura\xE7\xF5es do navegador para continuar.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "N\xE3o temos acesso \xE0 sua c\xE2mera", "dynamicFlows.CameraCapture.reviewInstructions": "A sua foto est\xE1 clara, leg\xEDvel e aparece por inteiro?", "dynamicFlows.CameraCapture.reviewRetry": "N\xE3o, tentar novamente", "dynamicFlows.CameraCapture.reviewSubmit": "Sim, enviar", "dynamicFlows.ControlFeedback.maxLength": "Por favor, insira {maxLength} caracteres ou menos.", "dynamicFlows.ControlFeedback.maximum": "Por favor, insira um n\xFAmero que seja {maximum} ou menos.", "dynamicFlows.ControlFeedback.maximumDate": "Por favor, insira uma data que seja em ou antes de {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Por favor, insira pelo menos {minLength} caracteres.", "dynamicFlows.ControlFeedback.minimum": "Por favor, insira um n\xFAmero que seja {minimum} ou mais.", "dynamicFlows.ControlFeedback.minimumDate": "Por favor, insira uma data que seja em ou ap\xF3s {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Por favor, insira essa informa\xE7\xE3o no formato correto.", "dynamicFlows.ControlFeedback.patternDate": "Por favor, insira a data no formato correto.", "dynamicFlows.ControlFeedback.required": "Por favor, preencha o campo.", "dynamicFlows.ControlFeedback.type": "Tipo incorreto", "dynamicFlows.DynamicExternal.retryTitle": "Reabrir janela", "dynamicFlows.DynamicParagraph.copied": "Copiado", "dynamicFlows.DynamicParagraph.copy": "Copiar", "dynamicFlows.ErrorBoundary.errorAlert": "Ops! Algo deu errado...", "dynamicFlows.ErrorBoundary.retry": "Tentar novamente", "dynamicFlows.ExternalConfirmation.cancel": "Cancelar", "dynamicFlows.ExternalConfirmation.description": "Por favor, confirme que deseja abrir * *{origin}* * em uma nova aba do navegador.", "dynamicFlows.ExternalConfirmation.open": "Abrir em uma nova aba", "dynamicFlows.ExternalConfirmation.title": "Por favor, confirme", "dynamicFlows.Help.ariaLabel": "Clique aqui para mais informa\xE7\xF5es.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Este arquivo \xE9 muito grande. Por favor, envie um arquivo menor.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Por favor, envie {maxItems} ou menos arquivos.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Por favor, envie pelo menos {minItems} arquivo(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Algo deu errado. Por favor, tente novamente mais tarde!", "dynamicFlows.ReadOnlySchema.no": "N\xE3o", "dynamicFlows.ReadOnlySchema.yes": "Sim" };
2804
+ var Sc = { "dynamicFlows.ArraySchema.maxItemsError": "Te rug\u0103m s\u0103 adaugi {maxItems} sau mai pu\u021Bine.", "dynamicFlows.ArraySchema.minItemsError": "Te rug\u0103m s\u0103 adaugi cel pu\u021Bin {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Browserul pe care \xEEl folose\u0219ti nu poate folosi o camer\u0103 foto. Te rug\u0103m s\u0103 \xEEncerci alt browser, alt dispozitiv sau s\u0103 descarci aplica\u021Bia noastr\u0103.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Camera nu este acceptat\u0103", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Permite acces la camer\u0103", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Permite accesul la camera foto \xEEn set\u0103rile browserului t\u0103u, pentru a re\xEEncepe.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nu \xEE\u021Bi putem accesa camera", "dynamicFlows.CameraCapture.reviewInstructions": "Imaginea ta este clar\u0103, lizibil\u0103 \u0219i complet\u0103?", "dynamicFlows.CameraCapture.reviewRetry": "Nu, \xEEncearc\u0103 din nou", "dynamicFlows.CameraCapture.reviewSubmit": "Da, trimite", "dynamicFlows.ControlFeedback.maxLength": "Te rug\u0103m s\u0103 introduci {maxLength} sau mai pu\u021Bine caractere.", "dynamicFlows.ControlFeedback.maximum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {maximum} sau mai mic.", "dynamicFlows.ControlFeedback.maximumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de \xEEnainte de sau egal\u0103 cu {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Te rug\u0103m s\u0103 introduci cel pu\u021Bin {minLength} caractere.", "dynamicFlows.ControlFeedback.minimum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {minimum} sau mai mare.", "dynamicFlows.ControlFeedback.minimumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de dup\u0103 sau egal\u0103 cu {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Te rug\u0103m s\u0103 introduci acest lucru \xEEn formatul corect.", "dynamicFlows.ControlFeedback.patternDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 \xEEn formatul corect.", "dynamicFlows.ControlFeedback.required": "Te rug\u0103m s\u0103 completezi acest spa\u021Biu.", "dynamicFlows.ControlFeedback.type": "Tip incorect", "dynamicFlows.DynamicExternal.retryTitle": "Redeschide fereastra", "dynamicFlows.DynamicParagraph.copied": "Copiat \xEEn clipboard", "dynamicFlows.DynamicParagraph.copy": "Copiaz\u0103", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Ceva nu a mers bine...", "dynamicFlows.ErrorBoundary.retry": "\xCEncearc\u0103 din nou", "dynamicFlows.ExternalConfirmation.cancel": "Anuleaz\u0103", "dynamicFlows.ExternalConfirmation.description": "Te rug\u0103m s\u0103 confirmi c\u0103 vrei s\u0103 deschizi **{origin}** \xEEntr-o nou\u0103 fil\u0103 a browserului.", "dynamicFlows.ExternalConfirmation.open": "Deschide \xEEntr-o fil\u0103 nou\u0103", "dynamicFlows.ExternalConfirmation.title": "Te rug\u0103m s\u0103 confirmi", "dynamicFlows.Help.ariaLabel": "D\u0103 click aici pentru mai multe informa\u021Bii.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Ne pare r\u0103u, acel fi\u0219ier este prea mare. Te rug\u0103m s\u0103 \xEEncarci un fi\u0219ier mai mic.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Te rug\u0103m s\u0103 \xEEncarci {maxItems} fi\u0219iere sau mai pu\u021Bine.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Te rug\u0103m s\u0103 \xEEncarci cel pu\u021Bin {minItems} fi\u0219ier(e).", "dynamicFlows.PersistAsyncSchema.genericError": "Ceva nu a mers bine. Te rug\u0103m s\u0103 \xEEncerci din nou mai t\xE2rziu!", "dynamicFlows.ReadOnlySchema.no": "Nu", "dynamicFlows.ReadOnlySchema.yes": "Da" };
2805
+ var wc = { "dynamicFlows.ArraySchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 {maxItems} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ArraySchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0432\u0430\u043C\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043A\u0430\u043C\u0435\u0440\u0443. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0438\u043B\u0438 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E, \u0438\u043B\u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043D\u0430\u0448\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u041A\u0430\u043C\u0435\u0440\u0430 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043A\u0430\u043C\u0435\u0440\u0435", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043A\u0430\u043C\u0435\u0440\u0435 \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0432\u0430\u0448\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0441\u043D\u043E\u0432\u0430.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u041C\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u043C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u0432\u0430\u0448\u0435\u0439 \u043A\u0430\u043C\u0435\u0440\u0435", "dynamicFlows.CameraCapture.reviewInstructions": "\u0412\u0430\u0448\u0430 \u0444\u043E\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u044F \u0447\u0435\u0442\u043A\u0430\u044F, \u043B\u0435\u0433\u043A\u043E \u0447\u0438\u0442\u0430\u0435\u043C\u0430\u044F \u0438 \u043D\u0435 \u043E\u0431\u0440\u0435\u0437\u0430\u043D\u0430?", "dynamicFlows.CameraCapture.reviewRetry": "\u041D\u0435\u0442, \u043F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0435\u0449\u0435 \u0440\u0430\u0437", "dynamicFlows.CameraCapture.reviewSubmit": "\u0414\u0430, \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C", "dynamicFlows.ControlFeedback.maxLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 {maxLength} \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.maximum": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E, \u0440\u0430\u0432\u043D\u043E\u0435 {maximum} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.maximumDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443, \u0440\u0430\u0432\u043D\u0443\u044E {maximum} \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u0440\u0430\u043D\u043D\u044E\u044E.", "dynamicFlows.ControlFeedback.minLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minLength} \u0441\u0438\u043C\u0432\u043E\u043B\u0430(-\u043E\u0432).", "dynamicFlows.ControlFeedback.minimum": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E, \u0440\u0430\u0432\u043D\u043E\u0435 {minimum} \u0438\u043B\u0438 \u0431\u043E\u043B\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.minimumDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443, \u0440\u0430\u0432\u043D\u0443\u044E {minimum} \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u043F\u043E\u0437\u0434\u043D\u044E\u044E.", "dynamicFlows.ControlFeedback.pattern": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u044D\u0442\u043E \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.", "dynamicFlows.ControlFeedback.patternDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.", "dynamicFlows.ControlFeedback.required": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u043E\u0435 \u043F\u043E\u043B\u0435.", "dynamicFlows.ControlFeedback.type": "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0442\u0438\u043F", "dynamicFlows.DynamicExternal.retryTitle": "\u041F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u043E\u043A\u043D\u043E", "dynamicFlows.DynamicParagraph.copied": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430", "dynamicFlows.DynamicParagraph.copy": "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C", "dynamicFlows.ErrorBoundary.errorAlert": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A...", "dynamicFlows.ErrorBoundary.retry": "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043F\u043E\u043F\u044B\u0442\u043A\u0443", "dynamicFlows.ExternalConfirmation.cancel": "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C", "dynamicFlows.ExternalConfirmation.description": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C **{origin}** \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", "dynamicFlows.ExternalConfirmation.open": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435", "dynamicFlows.ExternalConfirmation.title": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435", "dynamicFlows.Help.ariaLabel": "\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044C \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0444\u0430\u0439\u043B \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u043C\u0435\u043D\u044C\u0448\u0435\u0433\u043E \u0440\u0430\u0437\u043C\u0435\u0440\u0430.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043D\u0435 \u0431\u043E\u043B\u0435\u0435 {maxItems} \u0444\u0430\u0439\u043B\u043E\u0432.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems} \u0444\u0430\u0439\u043B(-\u0430/\u043E\u0432).", "dynamicFlows.PersistAsyncSchema.genericError": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443 \u043F\u043E\u0437\u0436\u0435!", "dynamicFlows.ReadOnlySchema.no": "\u041D\u0435\u0442", "dynamicFlows.ReadOnlySchema.yes": "\u0414\u0430" };
2806
+ var Fc = { "dynamicFlows.ArraySchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az ekleme yap\u0131n", "dynamicFlows.ArraySchema.minItemsError": "L\xFCtfen en az {minItems} ekleme yap\u0131n.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Kulland\u0131\u011F\u0131n\u0131z taray\u0131c\u0131da kamera deste\u011Fi yok. Farkl\u0131 bir taray\u0131c\u0131 / cihaz deneyin veya mobil uygulamam\u0131z\u0131 indirin.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera desteklenmiyor", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamera eri\u015Fimi verin", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Tekrar ba\u015Flamak i\xE7in taray\u0131c\u0131n\u0131z\u0131n ayarlar\u0131nda kamera eri\u015Fimini etkinle\u015Ftirin.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Kameran\u0131za eri\u015Femiyoruz", "dynamicFlows.CameraCapture.reviewInstructions": "Foto\u011Fraf\u0131n\u0131z net, okunakl\u0131 ve eksiksiz mi?", "dynamicFlows.CameraCapture.reviewRetry": "Hay\u0131r, tekrar dene", "dynamicFlows.CameraCapture.reviewSubmit": "Evet, g\xF6nder", "dynamicFlows.ControlFeedback.maxLength": "L\xFCtfen {maxLength} veya daha az karakter girin.", "dynamicFlows.ControlFeedback.maximum": "L\xFCtfen {maximum} veya daha d\xFC\u015F\xFCk bir say\u0131 girin.", "dynamicFlows.ControlFeedback.maximumDate": "L\xFCtfen {maximum} veya daha erken bir tarih girin.", "dynamicFlows.ControlFeedback.minLength": "En az {minLength} karakter girebilirsiniz.", "dynamicFlows.ControlFeedback.minimum": "L\xFCtfen {minimum} veya daha y\xFCksek bir say\u0131 girin.", "dynamicFlows.ControlFeedback.minimumDate": "L\xFCtfen {minimum} veya daha ge\xE7 bir tarih girin.", "dynamicFlows.ControlFeedback.pattern": "Yanl\u0131\u015F bi\xE7im", "dynamicFlows.ControlFeedback.patternDate": "L\xFCtfen tarihi do\u011Fru bi\xE7imde girin.", "dynamicFlows.ControlFeedback.required": "L\xFCtfen bu alan\u0131 doldurun.", "dynamicFlows.ControlFeedback.type": "Ge\xE7ersiz se\xE7im", "dynamicFlows.DynamicExternal.retryTitle": "Pencereyi yeniden a\xE7", "dynamicFlows.DynamicParagraph.copied": "Panoya kopyaland\u0131", "dynamicFlows.DynamicParagraph.copy": "Kopyala", "dynamicFlows.ErrorBoundary.errorAlert": "Aman\u0131n! Bir \u015Feyler ters gitti...", "dynamicFlows.ErrorBoundary.retry": "Tekrar dene", "dynamicFlows.ExternalConfirmation.cancel": "\u0130ptal edin", "dynamicFlows.ExternalConfirmation.description": "L\xFCtfen yeni bir taray\u0131c\u0131 sekmesinde **{origin}** a\xE7mak istedi\u011Finizi onaylay\u0131n.", "dynamicFlows.ExternalConfirmation.open": "Yeni sekmede a\xE7", "dynamicFlows.ExternalConfirmation.title": "L\xFCtfen onaylay\u0131n", "dynamicFlows.Help.ariaLabel": "Ayr\u0131nt\u0131lar i\xE7in t\u0131klay\u0131n.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\xDCzg\xFCn\xFCz, bu dosya \xE7ok b\xFCy\xFCk. L\xFCtfen daha k\xFC\xE7\xFCk bir dosya y\xFCkleyin.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az dosya y\xFCkleyin.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "L\xFCtfen en az {minItems} dosya y\xFCkleyin.", "dynamicFlows.PersistAsyncSchema.genericError": "Bir \u015Feyler ters gitti, l\xFCtfen tekrar deneyin", "dynamicFlows.ReadOnlySchema.no": "Hay\u0131r", "dynamicFlows.ReadOnlySchema.yes": "Evet" };
2807
+ var Cc = { "dynamicFlows.ArraySchema.maxItemsError": "\u8ACB\u6DFB\u52A0\u4E0D\u8D85\u904E{maxItems}\u9805\u3002", "dynamicFlows.ArraySchema.minItemsError": "\u8ACB\u81F3\u5C11\u6DFB\u52A0{minItems}\u9805\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u4F60\u76EE\u524D\u4F7F\u7528\u7684\u700F\u89BD\u5668\u4E0D\u652F\u6301\u76F8\u6A5F\u3002\u8ACB\u5617\u8A66\u4F7F\u7528\u5176\u4ED6\u700F\u89BD\u5668\u6216\u5176\u4ED6\u88DD\u7F6E\uFF0C\u6216\u8005\u4F60\u53EF\u4EE5\u4E0B\u8F09\u6211\u5011\u7684\u61C9\u7528\u7A0B\u5F0F\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u4E0D\u652F\u6301\u76F8\u6A5F", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u5141\u8A31\u53D6\u7528\u76F8\u6A5F", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u4F60\u53EF\u4EE5\u5728\u700F\u89BD\u5668\u7684\u8A2D\u5B9A\u4E2D\u958B\u555F\u76F8\u6A5F\u5B58\u53D6\u6B0A\u9650\u3002", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u6211\u5011\u7121\u6CD5\u53D6\u7528\u4F60\u7684\u76F8\u6A5F", "dynamicFlows.CameraCapture.reviewInstructions": "\u4F60\u7684\u7167\u7247\u662F\u5426\u5B8C\u6574\u3001\u6E05\u6670\u53CA\u53EF\u8B80\uFF1F", "dynamicFlows.CameraCapture.reviewRetry": "\u5426\uFF0C\u518D\u8A66\u4E00\u6B21", "dynamicFlows.CameraCapture.reviewSubmit": "\u662F\uFF0C\u63D0\u4EA4", "dynamicFlows.ControlFeedback.maxLength": "\u8ACB\u8F38\u5165\u6700\u591A{maxLength}\u500B\u5B57\u5143\u3002", "dynamicFlows.ControlFeedback.maximum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5C0F\u65BC\u6216\u7B49\u65BC{maximum}\u7684\u6578\u5B57\u3002", "dynamicFlows.ControlFeedback.maximumDate": "\u8ACB\u8F38\u5165{maximum}\u6216\u4E4B\u524D\u7684\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.minLength": "\u8ACB\u8F38\u5165\u81F3\u5C11{minLength}\u500B\u5B57\u5143\u3002", "dynamicFlows.ControlFeedback.minimum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5927\u65BC\u6216\u7B49\u65BC{minimum}\u7684\u6578\u5B57\u3002", "dynamicFlows.ControlFeedback.minimumDate": "\u8ACB\u8F38\u5165{minimum}\u6216\u4E4B\u5F8C\u7684\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.pattern": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u5185\u5BB9\u3002", "dynamicFlows.ControlFeedback.patternDate": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.required": "\u8ACB\u586B\u5BEB\u6B64\u6B04\u4F4D\u3002", "dynamicFlows.ControlFeedback.type": "\u932F\u8AA4\u7684\u985E\u578B", "dynamicFlows.DynamicExternal.retryTitle": "\u91CD\u65B0\u6253\u958B\u8996\u7A97", "dynamicFlows.DynamicParagraph.copied": "\u8907\u88FD\u5230\u526A\u8CBC\u677F", "dynamicFlows.DynamicParagraph.copy": "\u8907\u88FD", "dynamicFlows.ErrorBoundary.errorAlert": "\u5662\uFF01\u51FA\u4E86\u4E9B\u554F\u984C...", "dynamicFlows.ErrorBoundary.retry": "\u91CD\u8A66", "dynamicFlows.ExternalConfirmation.cancel": "\u53D6\u6D88", "dynamicFlows.ExternalConfirmation.description": "\u8ACB\u78BA\u8A8D\u4F60\u662F\u5426\u8981\u5728\u700F\u89BD\u5668\u7684\u65B0\u5206\u9801\u6253\u958B**{origin}**\u3002", "dynamicFlows.ExternalConfirmation.open": "\u5728\u65B0\u5206\u9801\u4E2D\u958B\u555F", "dynamicFlows.ExternalConfirmation.title": "\u8ACB\u78BA\u8A8D", "dynamicFlows.Help.ariaLabel": "\u6309\u6B64\u67E5\u770B\u8A73\u60C5\u3002", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8A72\u6A94\u6848\u592A\u5927\u3002\u8ACB\u4E0A\u8F09\u4E00\u500B\u8F03\u5C0F\u7684\u6A94\u6848\u3002", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "\u8ACB\u4E0D\u8981\u4E0A\u8F09\u8D85\u904E{maxItems}\u500B\u6A94\u6848\u3002", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u8ACB\u4E0A\u8F09\u81F3\u5C11{minItems}\u500B\u6A94\u6848\u3002", "dynamicFlows.PersistAsyncSchema.genericError": "\u51FA\u4E86\u4E9B\u554F\u984C\uFF0C\u8ACB\u7A0D\u5F8C\u518D\u8A66\u3002", "dynamicFlows.ReadOnlySchema.no": "\u5426", "dynamicFlows.ReadOnlySchema.yes": "\u662F" };
2808
+ var Tp = { en: mc, de: cc, es: dc, fr: uc, hu: pc, id: fc, it: yc, ja: hc, pl: gc, pt: bc, ro: Sc, ru: wc, tr: Fc, zh: Cc };
2809
+ var xc = Tp;
2805
2810
  }
2806
2811
  });
2807
2812