@wise/dynamic-flow-client-internal 1.1.1 → 1.2.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
@@ -51,40 +51,40 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
51
51
  var require_main_min = __commonJS({
52
52
  "../core/build/main.min.js"(exports, module2) {
53
53
  "use strict";
54
- var bc = Object.create;
55
- var Rt = Object.defineProperty;
56
- var Sc = Object.defineProperties;
57
- var wc = Object.getOwnPropertyDescriptor;
58
- var Fc = Object.getOwnPropertyDescriptors;
59
- var Cc = Object.getOwnPropertyNames;
54
+ var xc = Object.create;
55
+ var jt = Object.defineProperty;
56
+ var Oc = Object.defineProperties;
57
+ var Ac = Object.getOwnPropertyDescriptor;
58
+ var vc = Object.getOwnPropertyDescriptors;
59
+ var Pc = Object.getOwnPropertyNames;
60
60
  var va = Object.getOwnPropertySymbols;
61
- var xc = Object.getPrototypeOf;
61
+ var kc = Object.getPrototypeOf;
62
62
  var ka = Object.prototype.hasOwnProperty;
63
- var Oc = Object.prototype.propertyIsEnumerable;
64
- var Pa = (e, t, r) => t in e ? Rt(e, t, { enumerable: true, configurable: true, writable: true, value: r }) : e[t] = r;
63
+ var Mc = Object.prototype.propertyIsEnumerable;
64
+ var Pa = (e, t, r) => t in e ? jt(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
67
  ka.call(t, r) && Pa(e, r, t[r]);
68
68
  if (va)
69
69
  for (var r of va(t))
70
- Oc.call(t, r) && Pa(e, r, t[r]);
70
+ Mc.call(t, r) && Pa(e, r, t[r]);
71
71
  return e;
72
72
  };
73
- var h = (e, t) => Sc(e, Fc(t));
73
+ var h = (e, t) => Oc(e, vc(t));
74
74
  var Ma = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
75
75
  var nt = (e, t) => {
76
76
  for (var r in t)
77
- Rt(e, r, { get: t[r], enumerable: true });
77
+ jt(e, r, { get: t[r], enumerable: true });
78
78
  };
79
79
  var Ea = (e, t, r, o) => {
80
80
  if (t && typeof t == "object" || typeof t == "function")
81
- for (let a of Cc(t))
82
- !ka.call(e, a) && a !== r && Rt(e, a, { get: () => t[a], enumerable: !(o = wc(t, a)) || o.enumerable });
81
+ for (let a of Pc(t))
82
+ !ka.call(e, a) && a !== r && jt(e, a, { get: () => t[a], enumerable: !(o = Ac(t, a)) || o.enumerable });
83
83
  return e;
84
84
  };
85
- var qe = (e, t, r) => (r = e != null ? bc(xc(e)) : {}, Ea(t || !e || !e.__esModule ? Rt(r, "default", { value: e, enumerable: true }) : r, e));
86
- var Ac = (e) => Ea(Rt({}, "__esModule", { value: true }), e);
87
- var lt = Ma((Qy, xr) => {
85
+ var Ee = (e, t, r) => (r = e != null ? xc(kc(e)) : {}, Ea(t || !e || !e.__esModule ? jt(r, "default", { value: e, enumerable: true }) : r, e));
86
+ var Ec = (e) => Ea(jt({}, "__esModule", { value: true }), e);
87
+ var lt = Ma((nh, Or) => {
88
88
  (function() {
89
89
  "use strict";
90
90
  var e = {}.hasOwnProperty, t = "[native code]";
@@ -112,15 +112,15 @@ var require_main_min = __commonJS({
112
112
  }
113
113
  return o.join(" ");
114
114
  }
115
- typeof xr < "u" && xr.exports ? (r.default = r, xr.exports = r) : typeof define == "function" && typeof define.amd == "object" && define.amd ? define("classnames", [], function() {
115
+ typeof Or < "u" && Or.exports ? (r.default = r, Or.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 bs = Ma((rr, ra) => {
120
+ var Fs = Ma((or, ra) => {
121
121
  (function(t, r) {
122
- typeof rr == "object" && typeof ra == "object" ? ra.exports = r(require("react")) : typeof define == "function" && define.amd ? define(["react"], r) : typeof rr == "object" ? rr.Webcam = r(require("react")) : t.Webcam = r(t.React);
123
- })(rr, function(e) {
122
+ typeof or == "object" && typeof ra == "object" ? ra.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
+ })(or, function(e) {
124
124
  return function(t) {
125
125
  var r = {};
126
126
  function o(a) {
@@ -298,10 +298,10 @@ var require_main_min = __commonJS({
298
298
  }
299
299
  f.onUserMedia(p);
300
300
  }, y.prototype.render = function() {
301
- var l = this, p = this, f = p.state, g = p.props, S = g.audio, O = g.forceScreenshotSourceSize, F = g.onUserMedia, C = g.onUserMediaError, A = g.screenshotFormat, w = g.screenshotQuality, D = g.minScreenshotWidth, k = g.minScreenshotHeight, I = g.audioConstraints, q = g.videoConstraints, ee = g.imageSmoothing, v = g.mirrored, T = g.style, M = T === void 0 ? {} : T, ue = g.children, pe = d(g, ["audio", "forceScreenshotSourceSize", "onUserMedia", "onUserMediaError", "screenshotFormat", "screenshotQuality", "minScreenshotWidth", "minScreenshotHeight", "audioConstraints", "videoConstraints", "imageSmoothing", "mirrored", "style", "children"]), le = v ? m(m({}, M), { transform: (M.transform || "") + " scaleX(-1)" }) : M, Ve = { getScreenshot: this.getScreenshot.bind(this) };
302
- return a.createElement(a.Fragment, null, a.createElement("video", m({ autoPlay: true, src: f.src, muted: !S, playsInline: true, ref: function(He) {
303
- l.video = He;
304
- }, style: le }, pe)), ue && ue(Ve));
301
+ var l = this, p = this, f = p.state, g = p.props, S = g.audio, O = g.forceScreenshotSourceSize, F = g.onUserMedia, C = g.onUserMediaError, A = g.screenshotFormat, w = g.screenshotQuality, D = g.minScreenshotWidth, k = g.minScreenshotHeight, I = g.audioConstraints, q = g.videoConstraints, ee = g.imageSmoothing, v = g.mirrored, T = g.style, M = T === void 0 ? {} : T, ue = g.children, pe = d(g, ["audio", "forceScreenshotSourceSize", "onUserMedia", "onUserMediaError", "screenshotFormat", "screenshotQuality", "minScreenshotWidth", "minScreenshotHeight", "audioConstraints", "videoConstraints", "imageSmoothing", "mirrored", "style", "children"]), le = v ? m(m({}, M), { transform: (M.transform || "") + " scaleX(-1)" }) : M, He = { getScreenshot: this.getScreenshot.bind(this) };
302
+ return a.createElement(a.Fragment, null, a.createElement("video", m({ autoPlay: true, src: f.src, muted: !S, playsInline: true, ref: function(qe) {
303
+ l.video = qe;
304
+ }, style: le }, pe)), ue && ue(He));
305
305
  }, y.defaultProps = { audio: false, forceScreenshotSourceSize: false, imageSmoothing: true, mirrored: false, onUserMedia: function() {
306
306
  }, onUserMediaError: function() {
307
307
  }, screenshotFormat: "image/webp", screenshotQuality: 0.92 }, y;
@@ -312,141 +312,141 @@ var require_main_min = __commonJS({
312
312
  } }).default;
313
313
  });
314
314
  });
315
- var Fp = {};
316
- nt(Fp, { DynamicFlow: () => ga, JsonSchemaForm: () => er, Layout: () => ne, convertStepToLayout: () => Ut, fixtures: () => Jl, inlineReferences: () => $e, isValidSchema: () => $, makeHttpClient: () => pr, translations: () => dc });
317
- module2.exports = Ac(Fp);
318
- function Ut(e, { displayStepTitle: t = true } = {}) {
315
+ var Pp = {};
316
+ nt(Pp, { DynamicFlow: () => ga, JsonSchemaForm: () => tr, Layout: () => ne, convertStepToLayout: () => zt, fixtures: () => tc, inlineReferences: () => $e, isValidSchema: () => $, makeHttpClient: () => fr, translations: () => hc });
317
+ module2.exports = Ec(Pp);
318
+ function zt(e, { displayStepTitle: t = true } = {}) {
319
319
  if (!e || !e.type)
320
320
  throw new Error("Missing step type");
321
321
  if (e.layout)
322
- return jc(e, t);
322
+ return $c(e, t);
323
323
  switch (e.type) {
324
324
  case "final":
325
- return Mc(e);
325
+ return Tc(e);
326
326
  case "decision":
327
- return Ec(e);
327
+ return Nc(e);
328
328
  case "form":
329
- return kc(e);
329
+ return Lc(e);
330
330
  case "external":
331
- return vc(e);
331
+ return Ic(e);
332
332
  default:
333
333
  throw new Error("invalid step type");
334
334
  }
335
335
  }
336
- function ro(e) {
336
+ function to(e) {
337
337
  let t = [];
338
- if (e.title && t.push(ao(e.title)), e.image) {
338
+ if (e.title && t.push(oo(e.title)), e.image) {
339
339
  let r = Ia(e.image);
340
340
  t.push(r);
341
341
  }
342
- return e.description && t.push(no(e.description)), t;
342
+ return e.description && t.push(ao(e.description)), t;
343
343
  }
344
- function vc(e) {
345
- return [...ro(e), Pc(e)];
344
+ function Ic(e) {
345
+ return [...to(e), Dc(e)];
346
346
  }
347
- function Pc(e) {
347
+ function Dc(e) {
348
348
  return { type: "external", requestUrl: e.requestUrl, polling: e.polling, responseHandlers: e.responseHandlers, retryTitle: e.retryTitle };
349
349
  }
350
- function kc(e) {
351
- let t = ro(e);
352
- if (e.reviewFields && t.push(Bc(e.reviewFields)), e.schemas && t.push(...Rc(e)), e.actions) {
353
- let r = e.actions.map(sr);
354
- t.push(oo(r, "md"));
350
+ function Lc(e) {
351
+ let t = to(e);
352
+ if (e.reviewFields && t.push(zc(e.reviewFields)), e.schemas && t.push(...Hc(e)), e.actions) {
353
+ let r = e.actions.map(lr);
354
+ t.push(ro(r, "md"));
355
355
  }
356
356
  return t;
357
357
  }
358
- function Mc(e) {
358
+ function Tc(e) {
359
359
  let t = [];
360
360
  if (e.details) {
361
361
  if (e.details.image) {
362
- let r = Tc(e.details.image);
362
+ let r = jc(e.details.image);
363
363
  t.push(r);
364
364
  }
365
- e.details.title && t.push(ao(e.details.title)), e.details.description && t.push(no(e.details.description));
365
+ e.details.title && t.push(oo(e.details.title)), e.details.description && t.push(ao(e.details.description));
366
366
  }
367
367
  if (e.actions) {
368
- let r = e.actions.map((o) => sr(h(i({}, o), { type: o.type || "primary" })));
369
- t.push(oo(r, "md"));
368
+ let r = e.actions.map((o) => lr(h(i({}, o), { type: o.type || "primary" })));
369
+ t.push(ro(r, "md"));
370
370
  }
371
371
  return t;
372
372
  }
373
- function Ec(e) {
374
- let t = ro(e);
375
- return e.options && t.push(Dc(e.options)), t;
373
+ function Nc(e) {
374
+ let t = to(e);
375
+ return e.options && t.push(Rc(e.options)), t;
376
376
  }
377
- function oo(e, t) {
377
+ function ro(e, t) {
378
378
  return { type: "box", width: t || "md", components: e };
379
379
  }
380
- function ao(e) {
380
+ function oo(e) {
381
381
  return { type: "heading", text: e, size: "lg", margin: "lg", align: "center" };
382
382
  }
383
- function no(e) {
383
+ function ao(e) {
384
384
  return { type: "paragraph", text: e, align: "center" };
385
385
  }
386
- function Ic(e) {
386
+ function Bc(e) {
387
387
  return { type: "form", schema: e };
388
388
  }
389
- function Dc(e) {
390
- return { type: "decision", options: e.map(Lc) };
389
+ function Rc(e) {
390
+ return { type: "decision", options: e.map(Uc) };
391
391
  }
392
- function Lc(e) {
392
+ function Uc(e) {
393
393
  return { title: e.title, description: e.description, action: { title: e.title, method: "GET", url: e.url, disabled: e.disabled } };
394
394
  }
395
395
  function Ia(e) {
396
396
  return { type: "image", url: e.url, text: e.text, margin: e.margin || "lg", size: e.size || "md" };
397
397
  }
398
- function Tc(e) {
398
+ function jc(e) {
399
399
  return typeof e == "string" ? { type: "image", url: e, text: void 0, margin: "lg", size: "md" } : Ia(e);
400
400
  }
401
- function sr(e) {
401
+ function lr(e) {
402
402
  return { type: "button", action: h(i({}, e), { title: e.title }) };
403
403
  }
404
- function Bc(e) {
405
- return { type: "review", title: e.title, fields: e.fields.map(Nc) };
404
+ function zc(e) {
405
+ return { type: "review", title: e.title, fields: e.fields.map(Vc) };
406
406
  }
407
- function Nc(e) {
407
+ function Vc(e) {
408
408
  return { label: e.title, value: e.value };
409
409
  }
410
- function Rc(e) {
410
+ function Hc(e) {
411
411
  let t = [];
412
412
  if (e.schemas && e.schemas[0]) {
413
- let r = e.schemas[0], o = Ic(r);
414
- Uc() ? t.push(o) : t.push(oo([o], "md"));
413
+ let r = e.schemas[0], o = Bc(r);
414
+ qc() ? t.push(o) : t.push(ro([o], "md"));
415
415
  }
416
416
  return t;
417
417
  }
418
- function Uc() {
418
+ function qc() {
419
419
  return false;
420
420
  }
421
- function jc(e, t) {
422
- return [...t && e.title ? [ao(e.title)] : [], ...e.description ? [no(e.description)] : [], ...e.layout || []];
421
+ function $c(e, t) {
422
+ return [...t && e.title ? [oo(e.title)] : [], ...e.description ? [ao(e.description)] : [], ...e.layout || []];
423
423
  }
424
424
  function $e({ layout: e, schemas: t, actions: r, model: o }) {
425
- return e ? t ? e.map((a) => a.type === "form" ? zc({ formComponent: a, schemas: t }) : a.type === "decision" ? Vc({ decisionComponent: a, actions: r }) : a.type === "button" ? Hc({ actionComponent: a, actions: r }) : a.type === "box" ? qc({ boxComponent: a, schemas: t, actions: r, model: o }) : a.type === "columns" ? $c({ columnsComponent: a, schemas: t, actions: r, model: o }) : a) : e : [];
425
+ return e ? t ? e.map((a) => a.type === "form" ? Gc({ formComponent: a, schemas: t }) : a.type === "decision" ? _c({ decisionComponent: a, actions: r }) : a.type === "button" ? Wc({ actionComponent: a, actions: r }) : a.type === "box" ? Kc({ boxComponent: a, schemas: t, actions: r, model: o }) : a.type === "columns" ? Yc({ columnsComponent: a, schemas: t, actions: r, model: o }) : a) : e : [];
426
426
  }
427
- function zc({ formComponent: e, schemas: t }) {
428
- return io(e.schema) && e.schema.$ref ? h(i({}, e), { schema: Gc(t, e.schema.$ref) }) : i({}, e);
427
+ function Gc({ formComponent: e, schemas: t }) {
428
+ return no(e.schema) && e.schema.$ref ? h(i({}, e), { schema: Jc(t, e.schema.$ref) }) : i({}, e);
429
429
  }
430
- function Vc({ decisionComponent: e, actions: t }) {
430
+ function _c({ decisionComponent: e, actions: t }) {
431
431
  var o;
432
- let r = (o = e == null ? void 0 : e.options) == null ? void 0 : o.map((a) => a.action && io(a.action) ? h(i({}, a), { action: Da(t, a.action.$ref) }) : a);
432
+ let r = (o = e == null ? void 0 : e.options) == null ? void 0 : o.map((a) => a.action && no(a.action) ? h(i({}, a), { action: Da(t, a.action.$ref) }) : a);
433
433
  return h(i({}, e), { options: r });
434
434
  }
435
- function Hc({ actionComponent: e, actions: t }) {
435
+ function Wc({ actionComponent: e, actions: t }) {
436
436
  var r;
437
- if (e.action && io(e.action) && ((r = e.action) != null && r.$ref)) {
437
+ if (e.action && no(e.action) && ((r = e.action) != null && r.$ref)) {
438
438
  let o = Da(t, e.action.$ref);
439
- return sr(o);
439
+ return lr(o);
440
440
  }
441
441
  return e;
442
442
  }
443
- function qc({ boxComponent: e, schemas: t, actions: r, model: o }) {
443
+ function Kc({ boxComponent: e, schemas: t, actions: r, model: o }) {
444
444
  return h(i({}, e), { components: $e({ layout: e.components, schemas: t, actions: r, model: o }) });
445
445
  }
446
- function $c({ columnsComponent: e, schemas: t, actions: r, model: o }) {
446
+ function Yc({ columnsComponent: e, schemas: t, actions: r, model: o }) {
447
447
  return h(i({}, e), { left: $e({ layout: e.left, schemas: t, actions: r, model: o }), right: $e({ layout: e.right, schemas: t, actions: r, model: o }) });
448
448
  }
449
- function Gc(e, t) {
449
+ function Jc(e, t) {
450
450
  let r = e.find((o) => o.$id === t);
451
451
  if (!r)
452
452
  throw new Error(`Fatal Error. Schema not found. $id ${t}`);
@@ -458,60 +458,60 @@ var require_main_min = __commonJS({
458
458
  throw new Error(`Fatal Error. Action not found. $id ${t}`);
459
459
  return r;
460
460
  }
461
- function io(e) {
461
+ function no(e) {
462
462
  return Object.prototype.hasOwnProperty.call(e, "$ref");
463
463
  }
464
464
  var xe = require("react");
465
- var ul = require("react-intl");
466
- var ht = require("react");
467
- var lr = require("react");
465
+ var yl = require("react-intl");
466
+ var yt = require("react");
467
+ var cr = require("react");
468
468
  function La() {
469
- let [e, t] = (0, lr.useState)(0);
470
- return { addPendingPromise: (0, lr.useCallback)((o) => {
471
- t((a) => a + 1), o.catch(Wc).finally(() => _c(() => t((a) => Math.max(0, a - 1))));
469
+ let [e, t] = (0, cr.useState)(0);
470
+ return { addPendingPromise: (0, cr.useCallback)((o) => {
471
+ t((a) => a + 1), o.catch(Xc).finally(() => Zc(() => t((a) => Math.max(0, a - 1))));
472
472
  }, [t]), pendingPromises: e };
473
473
  }
474
- var _c = (e) => setTimeout(() => e(), 0);
475
- var Wc = () => {
474
+ var Zc = (e) => setTimeout(() => e(), 0);
475
+ var Xc = () => {
476
476
  };
477
477
  var Ra = require("react/jsx-runtime");
478
478
  var Ta = { loading: false, registerPersistAsyncPromise: (e) => {
479
479
  } };
480
- var Ba = (0, ht.createContext)(Ta);
481
- var Na = ({ loading: e, children: t }) => {
482
- let { pendingPromises: r, addPendingPromise: o } = La(), a = (0, ht.useMemo)(() => ({ loading: e || r > 0, registerPersistAsyncPromise: o }), [e, r, o]);
483
- return (0, Ra.jsx)(Ba.Provider, { value: a, children: t });
480
+ var Na = (0, yt.createContext)(Ta);
481
+ var Ba = ({ loading: e, children: t }) => {
482
+ let { pendingPromises: r, addPendingPromise: o } = La(), a = (0, yt.useMemo)(() => ({ loading: e || r > 0, registerPersistAsyncPromise: o }), [e, r, o]);
483
+ return (0, Ra.jsx)(Na.Provider, { value: a, children: t });
484
484
  };
485
- var cr = () => (0, ht.useContext)(Ba) || Ta;
486
- var gt = require("react");
485
+ var mr = () => (0, yt.useContext)(Na) || Ta;
486
+ var ht = require("react");
487
487
  var ja = require("react/jsx-runtime");
488
- var Ua = (0, gt.createContext)({ triggerEvent: () => {
488
+ var Ua = (0, ht.createContext)({ triggerEvent: () => {
489
489
  } });
490
- var mr = ({ metadata: e, children: t, onEvent: r }) => {
491
- let o = (0, gt.useMemo)(() => ({ triggerEvent: so(r, e) }), [r, e]);
490
+ var dr = ({ metadata: e, children: t, onEvent: r }) => {
491
+ let o = (0, ht.useMemo)(() => ({ triggerEvent: io(r, e) }), [r, e]);
492
492
  return (0, ja.jsx)(Ua.Provider, { value: o, children: t });
493
493
  };
494
494
  function Z() {
495
- let { triggerEvent: e } = (0, gt.useContext)(Ua);
495
+ let { triggerEvent: e } = (0, ht.useContext)(Ua);
496
496
  return e;
497
497
  }
498
- var so = (e, t) => (r, o = {}) => e(r, i(i({}, t), o));
498
+ var io = (e, t) => (r, o = {}) => e(r, i(i({}, t), o));
499
499
  var it = require("react");
500
500
  function za(e) {
501
501
  return e >= 200 && e < 300;
502
502
  }
503
- function dr(e) {
503
+ function ur(e) {
504
504
  return e === 422;
505
505
  }
506
- function ur(e = "") {
506
+ function pr(e = "") {
507
507
  return ["https://", "http://", "data:"].some((t) => e.slice(0, t.length) === t && e.length > t.length) === false;
508
508
  }
509
- var pr = (e, t) => (r, o) => {
510
- let a = Kc(r, e || ""), n = Yc(o == null ? void 0 : o.headers, t);
509
+ var fr = (e, t) => (r, o) => {
510
+ let a = Qc(r, e || ""), n = em(o == null ? void 0 : o.headers, t);
511
511
  return fetch(a, h(i({}, o || {}), { headers: n }));
512
512
  };
513
- var Kc = (e, t) => typeof e == "string" && ur(e) ? t + e : e;
514
- var Yc = (e, t) => {
513
+ var Qc = (e, t) => typeof e == "string" && pr(e) ? t + e : e;
514
+ var em = (e, t) => {
515
515
  if (!e && !t)
516
516
  return {};
517
517
  let r = new Headers(e);
@@ -519,50 +519,50 @@ var require_main_min = __commonJS({
519
519
  r.set(o, a);
520
520
  return r;
521
521
  };
522
- var lo = require("react/jsx-runtime");
523
- var fr = (0, it.createContext)(void 0);
524
- var Va = ({ httpClient: e, children: t }) => (0, lo.jsx)(fr.Provider, { value: e, children: t });
525
- var yr = ({ baseUrl: e, children: t }) => {
526
- let r = (0, it.useMemo)(() => pr(e), [e]);
527
- return (0, lo.jsx)(fr.Provider, { value: r, children: t });
522
+ var so = require("react/jsx-runtime");
523
+ var yr = (0, it.createContext)(void 0);
524
+ var Va = ({ httpClient: e, children: t }) => (0, so.jsx)(yr.Provider, { value: e, children: t });
525
+ var hr = ({ baseUrl: e, children: t }) => {
526
+ let r = (0, it.useMemo)(() => fr(e), [e]);
527
+ return (0, so.jsx)(yr.Provider, { value: r, children: t });
528
528
  };
529
- var re = () => (0, it.useContext)(fr) || fetch;
530
- var hr = () => !!(0, it.useContext)(fr);
531
- var bt = require("react");
529
+ var re = () => (0, it.useContext)(yr) || fetch;
530
+ var gr = () => !!(0, it.useContext)(yr);
531
+ var gt = require("react");
532
532
  var qa = require("react/jsx-runtime");
533
- var Ee = (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));
534
- var Ha = (0, bt.createContext)(null);
535
- var gr = ({ flowId: e, stepId: t, children: r, onLog: o }) => {
536
- let a = (0, bt.useMemo)(() => ({ debug: Ee("debug", o, e, t), info: Ee("info", o, e, t), warning: Ee("warning", o, e, t), error: Ee("error", o, e, t), critical: Ee("critical", o, e, t) }), [o, e, t]);
533
+ var Ie = (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));
534
+ var Ha = (0, gt.createContext)(null);
535
+ var br = ({ flowId: e, stepId: t, children: r, onLog: o }) => {
536
+ let a = (0, gt.useMemo)(() => ({ debug: Ie("debug", o, e, t), info: Ie("info", o, e, t), warning: Ie("warning", o, e, t), error: Ie("error", o, e, t), critical: Ie("critical", o, e, t) }), [o, e, t]);
537
537
  return (0, qa.jsx)(Ha.Provider, { value: a, children: r });
538
538
  };
539
539
  var Ge = () => {
540
- let e = (0, bt.useContext)(Ha);
540
+ let e = (0, gt.useContext)(Ha);
541
541
  if (e == null)
542
542
  throw new Error("Logging context not found. Did you forget to wrap your component in a <LogProvider />?");
543
543
  return e;
544
544
  };
545
545
  var J = (e) => typeof e == "object" && e !== null && e.constructor === Object;
546
- var co = (e) => E(e) || J(e);
547
- var mo = (e) => Ae(e) || B(e) || L(e) || E(e);
546
+ var lo = (e) => E(e) || J(e);
547
+ var co = (e) => Ae(e) || N(e) || L(e) || E(e);
548
548
  var $a = (e) => L(e) || E(e);
549
- var uo = (e) => z(e) ? e.length === 0 ? true : e.every((t) => typeof t == "string" || typeof t == "number" || typeof t == "boolean") : false;
550
- var Ga = (e) => E(e) ? true : uo(e);
551
- var St = (e) => L(e) || E(e);
552
- var Jc = /* @__PURE__ */ new Set(["string", "number", "integer", "boolean"]);
549
+ var mo = (e) => z(e) ? e.length === 0 ? true : e.every((t) => typeof t == "string" || typeof t == "number" || typeof t == "boolean") : false;
550
+ var Ga = (e) => E(e) ? true : mo(e);
551
+ var bt = (e) => L(e) || E(e);
552
+ var tm = /* @__PURE__ */ new Set(["string", "number", "integer", "boolean"]);
553
553
  function fe(e) {
554
- return Jc.has(e.type || "") || "const" in e && e.const !== void 0;
554
+ return tm.has(e.type || "") || "const" in e && e.const !== void 0;
555
555
  }
556
556
  function ce(e) {
557
557
  return e.type === "object";
558
558
  }
559
- function jt(e) {
559
+ function Vt(e) {
560
560
  return me(e) && e.oneOf.every((t) => t.type === "object");
561
561
  }
562
562
  function me(e) {
563
563
  return !!e.oneOf;
564
564
  }
565
- function zt(e) {
565
+ function Ht(e) {
566
566
  return !!e.allOf;
567
567
  }
568
568
  function st(e) {
@@ -571,70 +571,70 @@ var require_main_min = __commonJS({
571
571
  function ye(e) {
572
572
  return e.type === "array";
573
573
  }
574
- function Ie(e) {
574
+ function De(e) {
575
575
  let t = e.items;
576
576
  return !Array.isArray(t);
577
577
  }
578
578
  function _a(e) {
579
579
  return e.type === "string";
580
580
  }
581
- function wt(e) {
581
+ function St(e) {
582
582
  return !!e.persistAsync;
583
583
  }
584
- function Zc(e) {
585
- return wt(e) && (st(e.persistAsync.schema) || Xc(e.persistAsync.schema));
584
+ function rm(e) {
585
+ return St(e) && (st(e.persistAsync.schema) || om(e.persistAsync.schema));
586
586
  }
587
- var Vt = (e) => fe(e) && !!e.validationAsync;
588
- function Xc(e) {
587
+ var qt = (e) => fe(e) && !!e.validationAsync;
588
+ function om(e) {
589
589
  return e.type === "string" && e.format === "base64url";
590
590
  }
591
- var Wa = (e) => ye(e) && Ie(e) && Zc(e.items);
592
- function po(e) {
591
+ var Wa = (e) => ye(e) && De(e) && rm(e.items);
592
+ function uo(e) {
593
593
  return e.type === "string" && e.format === "base64url";
594
594
  }
595
595
  var L = (e) => typeof e == "string";
596
- var B = (e) => typeof e == "number" && !Number.isNaN(e);
597
- var Ka = (e) => B(e) && Math.floor(e) === e;
596
+ var N = (e) => typeof e == "number" && !Number.isNaN(e);
597
+ var Ka = (e) => N(e) && Math.floor(e) === e;
598
598
  var Ae = (e) => typeof e == "boolean";
599
599
  var R = (e) => !E(e) && !K(e) && (e == null ? void 0 : e.constructor) === Object;
600
600
  var z = (e) => Array.isArray(e);
601
601
  var E = (e) => e === null;
602
602
  var K = (e) => typeof e == "undefined";
603
- var Ft = (e) => L(e) && e.length === 0 || (R(e) || z(e)) && Object.keys(e).length === 0;
603
+ var wt = (e) => L(e) && e.length === 0 || (R(e) || z(e)) && Object.keys(e).length === 0;
604
604
  function Ya(e, t) {
605
- return t.oneOf.some((r) => De(e, r) === e) ? e : null;
605
+ return t.oneOf.some((r) => Le(e, r) === e) ? e : null;
606
606
  }
607
607
  function Ja(e, t) {
608
608
  var o;
609
- let r = t.oneOf.map((a) => Qc(e, a)).filter((a) => a !== null);
609
+ let r = t.oneOf.map((a) => am(e, a)).filter((a) => a !== null);
610
610
  return r.length === 0 ? null : (o = r.find((a) => a.some((n) => n !== null))) != null ? o : r[0];
611
611
  }
612
- function Qc(e, t) {
613
- return !ye(t) || !Ie(t) ? null : fo(e, t);
612
+ function am(e, t) {
613
+ return !ye(t) || !De(t) ? null : po(e, t);
614
614
  }
615
615
  function Za(e) {
616
- return L(e) && !Ft(e) ? e : null;
616
+ return L(e) && !wt(e) ? e : null;
617
617
  }
618
618
  function Xa(e) {
619
- return B(e) ? e : null;
619
+ return N(e) ? e : null;
620
620
  }
621
621
  function Qa(e) {
622
622
  return Ae(e) ? e : null;
623
623
  }
624
- function fo(e, t) {
625
- if (!z(e) || !Ie(t))
624
+ function po(e, t) {
625
+ if (!z(e) || !De(t))
626
626
  return null;
627
627
  if (e.length > 0) {
628
628
  let r = typeof e[0];
629
629
  if (!e.every((o) => typeof o === r))
630
630
  return new Array(e.length).fill(null);
631
631
  }
632
- return e.map((r) => De(r, t.items));
632
+ return e.map((r) => Le(r, t.items));
633
633
  }
634
634
  function en(e, t) {
635
635
  return Object.keys(t.properties).reduce((r, o) => {
636
636
  if (e && !K(e[o])) {
637
- let a = e[o], n = t.properties[o], s = Ht(a, n);
637
+ let a = e[o], n = t.properties[o], s = $t(a, n);
638
638
  if (!E(s))
639
639
  return h(i({}, r), { [o]: s });
640
640
  }
@@ -656,8 +656,8 @@ var require_main_min = __commonJS({
656
656
  return J(a) && J(n) ? h(i({}, r), { [o]: on(a, n) }) : h(i({}, r), { [o]: t[o] });
657
657
  }, i({}, e));
658
658
  }
659
- var Ht = (e, t) => J(e) ? oe(e, t) : uo(e) ? em(e, t) : De(e, t);
660
- function De(e, t) {
659
+ var $t = (e, t) => J(e) ? oe(e, t) : mo(e) ? nm(e, t) : Le(e, t);
660
+ function Le(e, t) {
661
661
  if (E(e))
662
662
  return null;
663
663
  if (t.oneOf)
@@ -681,85 +681,85 @@ var require_main_min = __commonJS({
681
681
  function oe(e, t) {
682
682
  return fe(t) || ye(t) || E(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;
683
683
  }
684
- function em(e, t) {
685
- return me(t) ? Ja(e, t) : ye(t) ? fo(e, t) : null;
684
+ function nm(e, t) {
685
+ return me(t) ? Ja(e, t) : ye(t) ? po(e, t) : null;
686
686
  }
687
- function qt(e, t = false) {
687
+ function Gt(e, t = false) {
688
688
  return !t || !K(e);
689
689
  }
690
690
  function an(e, t = false) {
691
691
  return !t || z(e);
692
692
  }
693
693
  function nn(e, t) {
694
- return !B(t) || L(e) && e.length >= t;
694
+ return !N(t) || L(e) && e.length >= t;
695
695
  }
696
696
  function sn(e, t) {
697
- return !B(t) || L(e) && e.length <= t;
697
+ return !N(t) || L(e) && e.length <= t;
698
698
  }
699
699
  function ln(e, t) {
700
700
  return t === void 0 ? true : e == null ? false : !!new RegExp(t).test(e);
701
701
  }
702
- function yo(e, t) {
703
- return !B(t) && !L(t) || (B(e) || L(e)) && e <= t;
702
+ function fo(e, t) {
703
+ return !N(t) && !L(t) || (N(e) || L(e)) && e <= t;
704
704
  }
705
- function ho(e, t) {
706
- return !B(t) && !L(t) || (B(e) || L(e)) && e >= t;
705
+ function yo(e, t) {
706
+ return !N(t) && !L(t) || (N(e) || L(e)) && e >= t;
707
707
  }
708
708
  function cn(e, t) {
709
- return !B(t) || z(e) && e.length >= t;
709
+ return !N(t) || z(e) && e.length >= t;
710
710
  }
711
711
  function mn(e, t) {
712
- return !B(t) || z(e) && e.length <= t;
712
+ return !N(t) || z(e) && e.length <= t;
713
713
  }
714
714
  function _e(e, t, r) {
715
715
  if (t.const)
716
- return wo(e, t, r);
716
+ return So(e, t, r);
717
717
  if (E(e))
718
718
  return r ? ["required"] : [];
719
719
  if (_a(t))
720
- return go(e, t, r);
720
+ return ho(e, t, r);
721
721
  switch (t.type) {
722
722
  case "number":
723
- return br(e, t, r);
723
+ return Sr(e, t, r);
724
724
  case "integer":
725
- return bo(e, t, r);
725
+ return go(e, t, r);
726
726
  case "boolean":
727
- return So(e, t, r);
727
+ return bo(e, t, r);
728
728
  case "array":
729
- return Ct(e, t, r);
729
+ return Ft(e, t, r);
730
730
  case "object":
731
- return tm(e, t);
731
+ return im(e, t);
732
732
  default:
733
733
  return [];
734
734
  }
735
735
  }
736
- function go(e, t, r) {
736
+ function ho(e, t, r) {
737
737
  if (!L(e) && !E(e))
738
738
  return ["type"];
739
739
  if (e === "" && r)
740
740
  return ["required"];
741
741
  let o = [];
742
- 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"), ho(e, t.minimum) || o.push("minimum"), yo(e, t.maximum) || o.push("maximum"), o;
742
+ return Gt(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"), yo(e, t.minimum) || o.push("minimum"), fo(e, t.maximum) || o.push("maximum"), o;
743
743
  }
744
- function br(e, t, r) {
745
- if (!B(e) && !E(e))
744
+ function Sr(e, t, r) {
745
+ if (!N(e) && !E(e))
746
746
  return ["type"];
747
747
  let o = [];
748
- return qt(e, r) || o.push("required"), ho(e, t.minimum) || o.push("minimum"), yo(e, t.maximum) || o.push("maximum"), o;
748
+ return Gt(e, r) || o.push("required"), yo(e, t.minimum) || o.push("minimum"), fo(e, t.maximum) || o.push("maximum"), o;
749
749
  }
750
- function bo(e, t, r) {
751
- return Ka(e) ? br(e, t, r) : ["type"];
750
+ function go(e, t, r) {
751
+ return Ka(e) ? Sr(e, t, r) : ["type"];
752
752
  }
753
- function So(e, t, r) {
753
+ function bo(e, t, r) {
754
754
  if (!Ae(e) && !E(e))
755
755
  return ["type"];
756
756
  let o = [];
757
- return qt(e, r) || o.push("required"), o;
757
+ return Gt(e, r) || o.push("required"), o;
758
758
  }
759
- function wo(e, t, r) {
760
- return qt(e, r) ? e !== t.const ? ["const"] : [] : ["required"];
759
+ function So(e, t, r) {
760
+ return Gt(e, r) ? e !== t.const ? ["const"] : [] : ["required"];
761
761
  }
762
- function Ct(e, t, r) {
762
+ function Ft(e, t, r) {
763
763
  if (!z(e) && !E(e))
764
764
  return ["type"];
765
765
  if (!an(e, r))
@@ -770,70 +770,70 @@ var require_main_min = __commonJS({
770
770
  function dn(e, t) {
771
771
  return E(e) ? ["type"] : [];
772
772
  }
773
- function tm(e, t) {
773
+ function im(e, t) {
774
774
  return J(e) ? z(t.required) ? t.required.map((o) => typeof e[o] != "undefined").reduce((o, a) => o && a, true) ? [] : ["required"] : [] : ["type"];
775
775
  }
776
- function rm(e, t) {
777
- return !go(e, t).length;
776
+ function sm(e, t) {
777
+ return !ho(e, t).length;
778
778
  }
779
- function om(e, t) {
780
- return !br(e, t).length;
779
+ function lm(e, t) {
780
+ return !Sr(e, t).length;
781
781
  }
782
- function am(e, t) {
782
+ function cm(e, t) {
783
+ return !go(e, t).length;
784
+ }
785
+ function mm(e, t) {
783
786
  return !bo(e, t).length;
784
787
  }
785
- function nm(e, t) {
788
+ function dm(e, t) {
786
789
  return !So(e, t).length;
787
790
  }
788
- function im(e, t) {
789
- return !wo(e, t).length;
790
- }
791
- function sm(e, t) {
792
- return !R(e) || t.type !== "object" || !R(t.properties) ? false : Object.keys(t.properties).map((r) => lm(e[r], t.properties[r], t.required && t.required.includes(r))).every((r) => r);
791
+ function um(e, t) {
792
+ return !R(e) || t.type !== "object" || !R(t.properties) ? false : Object.keys(t.properties).map((r) => pm(e[r], t.properties[r], t.required && t.required.includes(r))).every((r) => r);
793
793
  }
794
- function lm(e, t, r) {
794
+ function pm(e, t, r) {
795
795
  return typeof e == "undefined" ? !r : $(e, t);
796
796
  }
797
- function cm(e, t) {
798
- return t.type !== "array" || !R(t.items) || Ct(e, t).length > 0 ? false : Array.isArray(e) && Ie(t) && e.map((r) => $(r, t.items)).every((r) => r);
797
+ function fm(e, t) {
798
+ return t.type !== "array" || !R(t.items) || Ft(e, t).length > 0 ? false : Array.isArray(e) && De(t) && e.map((r) => $(r, t.items)).every((r) => r);
799
799
  }
800
- function mm(e, t) {
800
+ function ym(e, t) {
801
801
  return z(t.oneOf) ? t.oneOf.some((r) => $(e, r)) : false;
802
802
  }
803
- function dm(e, t) {
803
+ function hm(e, t) {
804
804
  return z(t.allOf) ? t.allOf.map((r) => $(e, r)).every((r) => r) : false;
805
805
  }
806
- function um(e, t) {
806
+ function gm(e, t) {
807
807
  return !dn(e, t).length;
808
808
  }
809
809
  function $(e, t) {
810
810
  if (t.oneOf)
811
- return mm(e, t);
811
+ return ym(e, t);
812
812
  if (t.allOf)
813
- return dm(e, t);
813
+ return hm(e, t);
814
814
  if (t.const)
815
- return im(e, t);
815
+ return dm(e, t);
816
816
  switch (t.type) {
817
817
  case "string":
818
- return rm(e, t);
818
+ return sm(e, t);
819
819
  case "number":
820
- return om(e, t);
820
+ return lm(e, t);
821
821
  case "integer":
822
- return am(e, t);
822
+ return cm(e, t);
823
823
  case "boolean":
824
- return nm(e, t);
824
+ return mm(e, t);
825
825
  case "array":
826
- return cm(e, t);
826
+ return fm(e, t);
827
827
  case "object":
828
- return sm(e, t);
829
- case "blob":
830
828
  return um(e, t);
829
+ case "blob":
830
+ return gm(e, t);
831
831
  default:
832
832
  return false;
833
833
  }
834
834
  }
835
835
  var xn = require("react");
836
- function pm(e) {
836
+ function bm(e) {
837
837
  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;
838
838
  return [a, n, s].join("-");
839
839
  }
@@ -841,10 +841,10 @@ var require_main_min = __commonJS({
841
841
  if (!e)
842
842
  return null;
843
843
  let [t, r, o] = e.split("-").map((a) => parseInt(a, 10));
844
- return !B(t) || !B(r) || !B(o) ? null : new Date(t, r - 1, o);
844
+ return !N(t) || !N(r) || !N(o) ? null : new Date(t, r - 1, o);
845
845
  };
846
- var pn = (e) => pm(e);
847
- var xt = (e, t) => {
846
+ var pn = (e) => bm(e);
847
+ var Ct = (e, t) => {
848
848
  let r, o, a = () => {
849
849
  r && (clearTimeout(r), r = null), o = null;
850
850
  }, n = (...s) => {
@@ -858,13 +858,13 @@ var require_main_min = __commonJS({
858
858
  r !== null && (e(...o), a());
859
859
  }, n;
860
860
  };
861
- var We = (e, t) => e === t ? true : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((r, o) => We(r, t[o])) : !!(fn(e) && fn(t) && fm(e, t));
862
- var fm = (e, t) => {
861
+ var We = (e, t) => e === t ? true : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((r, o) => We(r, t[o])) : !!(fn(e) && fn(t) && Sm(e, t));
862
+ var Sm = (e, t) => {
863
863
  let r = Object.keys(e), o = Object.keys(t);
864
864
  return r.length === o.length && r.every((a) => Object.prototype.hasOwnProperty.call(t, a) && We(e[a], t[a]));
865
865
  };
866
866
  var fn = (e) => typeof e == "object" && e !== null;
867
- function Sr(e) {
867
+ function wr(e) {
868
868
  return Math.floor(e / 1024);
869
869
  }
870
870
  var yn = (e) => new Promise((t, r) => {
@@ -882,52 +882,52 @@ var require_main_min = __commonJS({
882
882
  }
883
883
  var ve = (e = "") => `${e ? `${e}-` : ""}${Math.floor(1e8 * Math.random())}`;
884
884
  var gn = { DAY_MONTH_YEAR: "day-month-year", MONTH_YEAR: "month-year" };
885
- var N = { 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" };
885
+ var B = { 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" };
886
886
  var bn = { SHORT: "short", LONG: "long" };
887
887
  var he = { 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" };
888
888
  var Sn = { EXTRA_SMALL: "xs", SMALL: "sm", MEDIUM: "md", LARGE: "lg", EXTRA_LARGE: "xl" };
889
- var ym = (e) => !!e.readOnly && fe(e);
890
- var hm = (e) => !!e.oneOf && !!e.promotion;
891
- var gm = me;
892
- var bm = zt;
893
- var Fo = (e) => ym(e) ? he.READ_ONLY : wt(e) ? he.PERSIST_ASYNC : Vt(e) ? he.VALIDATION_ASYNC : ce(e) ? he.OBJECT : ye(e) ? he.ARRAY : hm(e) ? he.PROMOTED_ONE_OF : gm(e) ? he.ONE_OF : bm(e) ? he.ALL_OF : fe(e) ? he.BASIC : null;
889
+ var wm = (e) => !!e.readOnly && fe(e);
890
+ var Fm = (e) => !!e.oneOf && !!e.promotion;
891
+ var Cm = me;
892
+ var xm = Ht;
893
+ var wo = (e) => wm(e) ? he.READ_ONLY : St(e) ? he.PERSIST_ASYNC : qt(e) ? he.VALIDATION_ASYNC : ce(e) ? he.OBJECT : ye(e) ? he.ARRAY : Fm(e) ? he.PROMOTED_ONE_OF : Cm(e) ? he.ONE_OF : xm(e) ? he.ALL_OF : fe(e) ? he.BASIC : null;
894
894
  function wn(e) {
895
- return Fo(e) === he.BASIC && e.type !== "boolean" && e.format !== "base64url";
895
+ return wo(e) === he.BASIC && e.type !== "boolean" && e.format !== "base64url";
896
896
  }
897
897
  var Fn = { LAYOUT: "layout", CAMERA: "camera" };
898
- var Sm = (e) => wm(e) && Fm(e) && Cm(e);
899
- var wm = (e) => (e == null ? void 0 : e.type) === "form";
900
- var Fm = (e) => {
898
+ var Om = (e) => Am(e) && vm(e) && Pm(e);
899
+ var Am = (e) => (e == null ? void 0 : e.type) === "form";
900
+ var vm = (e) => {
901
901
  var t;
902
902
  return ((t = e == null ? void 0 : e.actions) == null ? void 0 : t.length) === 1;
903
903
  };
904
- var Cm = (e) => {
904
+ var Pm = (e) => {
905
905
  if (!e.schemas)
906
906
  return false;
907
- let t = wr(e.schemas);
907
+ let t = Fr(e.schemas);
908
908
  if ((t == null ? void 0 : t.length) !== 1)
909
909
  return false;
910
910
  let r = t[0];
911
911
  if (!ce(r) || Object.values(r.properties).length !== 1)
912
912
  return false;
913
913
  let o = Object.values(r.properties)[0];
914
- return po(o) ? o.source === "camera" : false;
914
+ return uo(o) ? o.source === "camera" : false;
915
915
  };
916
- var wr = (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);
917
- var Cn = (e) => Sm(e) ? Fn.CAMERA : Fn.LAYOUT;
916
+ var Fr = (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);
917
+ var Cn = (e) => Om(e) ? Fn.CAMERA : Fn.LAYOUT;
918
918
  function On(e, t) {
919
- return (0, xn.useCallback)(xt(e, t), [e, t]);
919
+ return (0, xn.useCallback)(Ct(e, t), [e, t]);
920
920
  }
921
- var $t = require("react");
921
+ var _t = require("react");
922
922
  function An(e) {
923
- let [t, r] = (0, $t.useState)(null), [o, a] = (0, $t.useState)(false), n = () => a(true);
924
- return (0, $t.useEffect)(() => {
923
+ let [t, r] = (0, _t.useState)(null), [o, a] = (0, _t.useState)(false), n = () => a(true);
924
+ return (0, _t.useEffect)(() => {
925
925
  e && (a(false), r(window.open(e, "_blank")));
926
926
  }, [e]), { requiresManualTrigger: !!(e && !t && !o), dismissConfirmation: n };
927
927
  }
928
- var Gt = require("react");
928
+ var Wt = require("react");
929
929
  function vn(e, t) {
930
- let r = re(), o = (0, Gt.useMemo)(() => {
930
+ let r = re(), o = (0, Wt.useMemo)(() => {
931
931
  if (e)
932
932
  return () => r(e.url).then((n) => {
933
933
  if (n.ok)
@@ -939,7 +939,7 @@ var require_main_min = __commonJS({
939
939
  else
940
940
  throw new Error("failed");
941
941
  });
942
- }, [e, r]), a = (0, Gt.useCallback)((n) => {
942
+ }, [e, r]), a = (0, Wt.useCallback)((n) => {
943
943
  let m = ((e == null ? void 0 : e.responseHandlers) || []).find((d) => d.result === n.result);
944
944
  if (m != null && m.action) {
945
945
  let { action: d } = m;
@@ -954,19 +954,19 @@ var require_main_min = __commonJS({
954
954
  }
955
955
  return true;
956
956
  }, [e == null ? void 0 : e.responseHandlers, t]);
957
- Fr({ 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
+ Cr({ 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, Wt.useCallback)(() => {
958
958
  e && t(e.onError.action);
959
959
  }, [t, e]) });
960
960
  }
961
- var fs = require("react");
962
- var ys = require("react-intl");
961
+ var gs = require("react");
962
+ var bs = require("react-intl");
963
963
  var Pn = require("react-intl");
964
- var _t = (0, Pn.defineMessages)({ genericError: { id: "dynamicFlows.PersistAsyncSchema.genericError", defaultMessage: "Something went wrong, please try again later!", description: "Generic error message for persist async schema" } });
965
- var yt = require("react");
966
- var cs = require("react-intl");
967
- var xm = { 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 Cr = xm;
969
- var ss = qe(lt());
964
+ var Kt = (0, Pn.defineMessages)({ genericError: { id: "dynamicFlows.PersistAsyncSchema.genericError", defaultMessage: "Something went wrong, please try again later!", description: "Generic error message for persist async schema" } });
965
+ var ft = require("react");
966
+ var us = require("react-intl");
967
+ var km = { 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 xr = km;
969
+ var ms = Ee(lt());
970
970
  var ie = require("react");
971
971
  var kn = require("@transferwise/components");
972
972
  var j = (e) => {
@@ -985,7 +985,7 @@ var require_main_min = __commonJS({
985
985
  return "";
986
986
  }
987
987
  };
988
- var Om = (e) => {
988
+ var Mm = (e) => {
989
989
  switch (e) {
990
990
  case "right":
991
991
  return "text-xs-right";
@@ -996,13 +996,13 @@ var require_main_min = __commonJS({
996
996
  return "";
997
997
  }
998
998
  };
999
- var Ke = (e) => `${Om(e.align)} ${j(e.margin)}`;
999
+ var Ke = (e) => `${Mm(e.align)} ${j(e.margin)}`;
1000
1000
  var Mn = require("react/jsx-runtime");
1001
- var Am = (e) => {
1001
+ var Em = (e) => {
1002
1002
  let t = e.component;
1003
- return (0, Mn.jsx)(kn.Alert, { type: Pm(vm(t.context)), className: j(t.margin), message: t.markdown });
1003
+ return (0, Mn.jsx)(kn.Alert, { type: Dm(Im(t.context)), className: j(t.margin), message: t.markdown });
1004
1004
  };
1005
- var vm = (e) => {
1005
+ var Im = (e) => {
1006
1006
  switch (e) {
1007
1007
  case "success":
1008
1008
  return "positive";
@@ -1017,15 +1017,15 @@ var require_main_min = __commonJS({
1017
1017
  return e;
1018
1018
  }
1019
1019
  };
1020
- var Pm = (e) => !e || !["neutral", "warning", "negative", "positive"].includes(e) ? "neutral" : e;
1021
- var ae = Am;
1020
+ var Dm = (e) => !e || !["neutral", "warning", "negative", "positive"].includes(e) ? "neutral" : e;
1021
+ var ae = Em;
1022
1022
  var ct = require("react/jsx-runtime");
1023
- var km = (e) => {
1023
+ var Lm = (e) => {
1024
1024
  let t = e.component, r = j(t.margin || t.border ? "lg" : "xs");
1025
- return !t.width || t.width === "xl" ? (0, ct.jsx)("div", { className: r + En(t.border), children: (0, ct.jsx)(ne, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) : (0, ct.jsx)("div", { className: "row", children: (0, ct.jsx)("div", { className: r + Mm(t), children: (0, ct.jsx)("div", { className: En(t.border), children: (0, ct.jsx)(ne, { 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, ct.jsx)("div", { className: r + En(t.border), children: (0, ct.jsx)(ne, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) : (0, ct.jsx)("div", { className: "row", children: (0, ct.jsx)("div", { className: r + Tm(t), children: (0, ct.jsx)("div", { className: En(t.border), children: (0, ct.jsx)(ne, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) }) });
1026
1026
  };
1027
1027
  var En = (e) => e ? " well p-b-0" : "";
1028
- var Mm = (e) => {
1028
+ var Tm = (e) => {
1029
1029
  switch (e.width) {
1030
1030
  case "xs":
1031
1031
  return " col-md-4 col-md-offset-4";
@@ -1040,15 +1040,15 @@ var require_main_min = __commonJS({
1040
1040
  return " col-xs-12";
1041
1041
  }
1042
1042
  };
1043
- var Co = km;
1043
+ var Fo = Lm;
1044
1044
  var In = require("@transferwise/components");
1045
1045
  var Dn = require("react/jsx-runtime");
1046
- var Em = (e) => {
1047
- let { component: t, onAction: r } = e, o = t.action, { type: a, priority: n } = Lm(o), { loading: s } = cr(), m = j(t.margin || "md") + " " + Im(o);
1048
- return (0, Dn.jsx)(In.Button, { size: Dm(t.size), type: a, priority: n, block: true, className: m, disabled: o.disabled || s, onClick: () => r(o), children: o.title });
1046
+ var Nm = (e) => {
1047
+ let { component: t, onAction: r } = e, o = t.action, { type: a, priority: n } = Um(o), { loading: s } = mr(), m = j(t.margin || "md") + " " + Bm(o);
1048
+ return (0, Dn.jsx)(In.Button, { size: Rm(t.size), type: a, priority: n, block: true, className: m, disabled: o.disabled || s, onClick: () => r(o), children: o.title });
1049
1049
  };
1050
- var Im = (e) => e.primary ? "btn-primary" : "";
1051
- var Dm = (e) => {
1050
+ var Bm = (e) => e.primary ? "btn-primary" : "";
1051
+ var Rm = (e) => {
1052
1052
  switch (e) {
1053
1053
  case "xs":
1054
1054
  case "sm":
@@ -1061,7 +1061,7 @@ var require_main_min = __commonJS({
1061
1061
  return "md";
1062
1062
  }
1063
1063
  };
1064
- var Lm = (e) => {
1064
+ var Um = (e) => {
1065
1065
  switch (e.type) {
1066
1066
  case "link":
1067
1067
  return { type: "accent", priority: "tertiary" };
@@ -1077,17 +1077,17 @@ var require_main_min = __commonJS({
1077
1077
  return { type: "accent", priority: "secondary" };
1078
1078
  }
1079
1079
  };
1080
- var xo = Em;
1080
+ var Co = Nm;
1081
1081
  var mt = require("react/jsx-runtime");
1082
- var Tm = (e) => {
1083
- let t = e.component, { leftWidth: r, rightWidth: o } = Bm(t.bias);
1082
+ var jm = (e) => {
1083
+ let t = e.component, { leftWidth: r, rightWidth: o } = zm(t.bias);
1084
1084
  return (0, mt.jsxs)("div", { className: `${j(t.margin || "xs")} row`, children: [(0, mt.jsx)("div", { className: `${r} m-b-0`, children: (0, mt.jsx)(ne, { components: t.left, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }), (0, mt.jsx)("div", { className: `${o} m-b-0`, children: (0, mt.jsx)(ne, { components: t.right, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) })] });
1085
1085
  };
1086
- var Bm = (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" };
1087
- var Oo = Tm;
1086
+ var zm = (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" };
1087
+ var xo = jm;
1088
1088
  var Pe = require("@transferwise/components");
1089
1089
  var Ye = require("react/jsx-runtime");
1090
- var Nm = (e) => {
1090
+ var Vm = (e) => {
1091
1091
  var t, r, o;
1092
1092
  if ((t = e.icon) != null && t.name)
1093
1093
  return (0, Ye.jsx)(Pe.Avatar, { type: Pe.AvatarType.ICON, children: (0, Ye.jsx)(Je, { type: e.icon.name }) });
@@ -1098,74 +1098,74 @@ var require_main_min = __commonJS({
1098
1098
  return (0, Ye.jsx)("img", { src: a, alt: n });
1099
1099
  }
1100
1100
  };
1101
- var Rm = (e) => {
1101
+ var Hm = (e) => {
1102
1102
  let t = e.component, r = (o, a) => {
1103
- let n = Nm(o);
1103
+ let n = Vm(o);
1104
1104
  return (0, Ye.jsx)(Pe.NavigationOption, { title: o.title, content: o.description, disabled: o.disabled, media: n, showMediaCircle: false, showMediaAtAllSizes: true, onClick: () => a(o.action) }, JSON.stringify(o));
1105
1105
  };
1106
1106
  return (0, Ye.jsx)("div", { className: j(t.margin), children: (0, Ye.jsx)(Pe.NavigationOptionsList, { children: t.options.map((o) => r(o, e.onAction)) }) });
1107
1107
  };
1108
- var Ao = Rm;
1108
+ var Oo = Hm;
1109
1109
  var Ln = require("react/jsx-runtime");
1110
- var Um = ({ component: e }) => {
1110
+ var qm = ({ component: e }) => {
1111
1111
  let r = `m-t-0 ${j(e.margin)}`;
1112
1112
  return (0, Ln.jsx)("hr", { className: r });
1113
1113
  };
1114
- var vo = Um;
1115
- var Ot = require("@transferwise/components");
1116
- var Or = require("react");
1117
- var Nn = require("react-intl");
1114
+ var Ao = qm;
1115
+ var xt = require("@transferwise/components");
1116
+ var Ar = require("react");
1117
+ var Bn = require("react-intl");
1118
1118
  var Tn = require("react-intl");
1119
- var Bn = (0, Tn.defineMessages)({ retryTitle: { id: "dynamicFlows.DynamicExternal.retryTitle", defaultMessage: "Reopen window", description: "" } });
1119
+ var Nn = (0, Tn.defineMessages)({ retryTitle: { id: "dynamicFlows.DynamicExternal.retryTitle", defaultMessage: "Reopen window", description: "" } });
1120
1120
  var Ze = require("react/jsx-runtime");
1121
- var jm = ({ component: e, onAction: t }) => {
1122
- let { requestUrl: r, responseHandlers: o, polling: a, retryTitle: n } = e, s = (0, Nn.useIntl)(), m = (0, Or.useCallback)(() => window.open(r, "df-external-window"), [r]);
1123
- (0, Or.useEffect)(() => {
1121
+ var $m = ({ component: e, onAction: t }) => {
1122
+ let { requestUrl: r, responseHandlers: o, polling: a, retryTitle: n } = e, s = (0, Bn.useIntl)(), m = (0, Ar.useCallback)(() => window.open(r, "df-external-window"), [r]);
1123
+ (0, Ar.useEffect)(() => {
1124
1124
  m();
1125
1125
  }, [m]);
1126
1126
  let d = a && o ? h(i({}, a), { responseHandlers: o }) : void 0;
1127
- return vn(d, t), (0, Ze.jsxs)(Ze.Fragment, { children: [(0, Ze.jsx)(Ot.Loader, { size: Ot.Size.LARGE, classNames: { "tw-loader": "tw-loader m-x-auto" } }), (0, Ze.jsx)("br", {}), (0, Ze.jsx)(Ot.Button, { priority: "tertiary", block: true, onClick: m, children: n || s.formatMessage(Bn.retryTitle) })] });
1127
+ return vn(d, t), (0, Ze.jsxs)(Ze.Fragment, { children: [(0, Ze.jsx)(xt.Loader, { size: xt.Size.LARGE, classNames: { "tw-loader": "tw-loader m-x-auto" } }), (0, Ze.jsx)("br", {}), (0, Ze.jsx)(xt.Button, { priority: "tertiary", block: true, onClick: m, children: n || s.formatMessage(Nn.retryTitle) })] });
1128
1128
  };
1129
- var Po = jm;
1130
- var Rn = qe(lt());
1129
+ var vo = $m;
1130
+ var Rn = Ee(lt());
1131
1131
  var Un = require("react");
1132
1132
  var ke = require("react/jsx-runtime");
1133
- var zm = (e, t) => t.map((r) => oe(e, r) || {});
1134
- var Vm = (e) => e.reduce((t, r) => i(i({}, r), t), {});
1135
- var Hm = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
1133
+ var Gm = (e, t) => t.map((r) => oe(e, r) || {});
1134
+ var _m = (e) => e.reduce((t, r) => i(i({}, r), t), {});
1135
+ var Wm = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
1136
1136
  var jn = (e) => {
1137
1137
  let t = (a, n) => {
1138
1138
  let s = e.schema.allOf[a];
1139
- r[a] = oe(n.model, s) || {}, o(r), e.onChange(h(i({}, n), { model: Vm(r) }));
1140
- }, [r, o] = (0, Un.useState)(zm(e.model, e.schema.allOf));
1141
- return (0, ke.jsxs)(ke.Fragment, { children: [e.schema.title && (0, ke.jsx)("h3", { className: "page-header", children: e.schema.title }), e.schema.description && (0, ke.jsx)("p", { children: e.schema.description }), (0, ke.jsx)("div", { className: "row", children: e.schema.allOf.map((a, n) => (0, ke.jsx)("div", { className: (0, Rn.default)(Hm(a.width)), children: (0, ke.jsx)(de, { schema: a, model: r[n], errors: e.errors, submitted: e.submitted, disabled: e.disabled, onChange: (s) => t(n, h(i({}, s), { model: s.model })), onPersistAsync: e.onPersistAsync }) }, n)) })] });
1139
+ r[a] = oe(n.model, s) || {}, o(r), e.onChange(h(i({}, n), { model: _m(r) }));
1140
+ }, [r, o] = (0, Un.useState)(Gm(e.model, e.schema.allOf));
1141
+ return (0, ke.jsxs)(ke.Fragment, { children: [e.schema.title && (0, ke.jsx)("h3", { className: "page-header", children: e.schema.title }), e.schema.description && (0, ke.jsx)("p", { children: e.schema.description }), (0, ke.jsx)("div", { className: "row", children: e.schema.allOf.map((a, n) => (0, ke.jsx)("div", { className: (0, Rn.default)(Wm(a.width)), children: (0, ke.jsx)(de, { schema: a, model: r[n], errors: e.errors, submitted: e.submitted, disabled: e.disabled, onChange: (s) => t(n, h(i({}, s), { model: s.model })), onPersistAsync: e.onPersistAsync }) }, n)) })] });
1142
1142
  };
1143
1143
  jn.defaultProps = { disabled: false };
1144
- var Ar = jn;
1144
+ var vr = jn;
1145
+ var kr = require("@transferwise/components");
1146
+ var Qn = Ee(lt());
1147
+ var Yt = require("react");
1145
1148
  var Pr = require("@transferwise/components");
1146
- var Qn = qe(lt());
1147
- var Wt = require("react");
1148
- var vr = require("@transferwise/components");
1149
- var ko = require("@transferwise/formatting");
1149
+ var Po = require("@transferwise/formatting");
1150
1150
  var Vn = require("react-intl");
1151
1151
  var zn = require("react-intl");
1152
1152
  var ge = (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: "" } });
1153
- var Le = require("react/jsx-runtime");
1153
+ var Te = require("react/jsx-runtime");
1154
1154
  var Hn = (e) => {
1155
1155
  var m;
1156
- let t = qm(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) && !!((m = e.validations) != null && m.length), n = e.focused && e.schema.description && !a, s = !!e.infoMessage;
1157
- return (0, Le.jsxs)("div", { children: [o ? (0, Le.jsx)(vr.InlineAlert, { type: "error", children: e.errors }) : null, a ? (0, Le.jsx)(vr.InlineAlert, { type: "error", children: e.validations.map((d) => (0, Le.jsx)("div", { children: r[d] }, d)) }) : null, (n || s) && (0, Le.jsxs)(vr.InlineAlert, { type: "info", children: [n && (0, Le.jsx)("div", { children: e.schema.description }), s && (0, Le.jsx)("div", { children: e.infoMessage })] })] });
1156
+ let t = Km(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) && !!((m = e.validations) != null && m.length), n = e.focused && e.schema.description && !a, s = !!e.infoMessage;
1157
+ return (0, Te.jsxs)("div", { children: [o ? (0, Te.jsx)(Pr.InlineAlert, { type: "error", children: e.errors }) : null, a ? (0, Te.jsx)(Pr.InlineAlert, { type: "error", children: e.validations.map((d) => (0, Te.jsx)("div", { children: r[d] }, d)) }) : null, (n || s) && (0, Te.jsxs)(Pr.InlineAlert, { type: "info", children: [n && (0, Te.jsx)("div", { children: e.schema.description }), s && (0, Te.jsx)("div", { children: e.infoMessage })] })] });
1158
1158
  };
1159
1159
  Hn.defaultProps = { errors: "", validations: [], validationMessages: {}, validationAsyncSuccessMessage: null };
1160
- function qm(e) {
1160
+ function Km(e) {
1161
1161
  let { formatMessage: t, locale: r } = (0, Vn.useIntl)(), o = { type: t(ge.type), minimum: t(ge.minimum, { minimum: e.minimum }), maximum: t(ge.maximum, { maximum: e.maximum }), minLength: t(ge.minLength, { minLength: e.minLength }), maxLength: t(ge.maxLength, { maxLength: e.maxLength }), pattern: t(ge.pattern), required: t(ge.required) };
1162
1162
  if (e.format === "date") {
1163
- let a = { pattern: t(ge.patternDate), minimum: e.minimum ? t(ge.minimumDate, { minimum: (0, ko.formatDate)(new Date(e.minimum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0, maximum: e.maximum ? t(ge.maximumDate, { maximum: (0, ko.formatDate)(new Date(e.maximum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0 };
1163
+ let a = { pattern: t(ge.patternDate), minimum: e.minimum ? t(ge.minimumDate, { minimum: (0, Po.formatDate)(new Date(e.minimum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0, maximum: e.maximum ? t(ge.maximumDate, { maximum: (0, Po.formatDate)(new Date(e.maximum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0 };
1164
1164
  return i(i({}, o), a);
1165
1165
  }
1166
1166
  return o;
1167
1167
  }
1168
- var Te = Hn;
1168
+ var Ne = Hn;
1169
1169
  async function qn(e, t) {
1170
1170
  if (t)
1171
1171
  return e;
@@ -1196,10 +1196,10 @@ var require_main_min = __commonJS({
1196
1196
  let { formatMessage: r } = (0, Jn.useIntl)(), { maxFileSizeError: o, maxItemsError: a, minItemsError: n } = Yn;
1197
1197
  return { maxFileSizeErrorMessage: r(o), maxItemsErrorMessage: r(a, { maxItems: e }), minItemsErrorMessage: r(n, { minItems: t }), requiredMessage: r(Wn.required) };
1198
1198
  }
1199
- var At = require("react/jsx-runtime");
1199
+ var Ot = require("react/jsx-runtime");
1200
1200
  var ei = (e) => {
1201
1201
  var w, D;
1202
- let { onChange: t, schema: r } = e, o = Z(), a = Zn(r), n = (0, Wt.useMemo)(() => r.$id || ve(), [r.$id]), [s, m] = (0, Wt.useState)(false), [d, u] = (0, Wt.useState)(() => $m(e.model || [])), c = ti(r.items.persistAsync), b = r.items.persistAsync.schema, y = st(b), l = async (k) => {
1202
+ let { onChange: t, schema: r } = e, o = Z(), a = Zn(r), n = (0, Yt.useMemo)(() => r.$id || ve(), [r.$id]), [s, m] = (0, Yt.useState)(false), [d, u] = (0, Yt.useState)(() => Ym(e.model || [])), c = ti(r.items.persistAsync), b = r.items.persistAsync.schema, y = st(b), l = async (k) => {
1203
1203
  m(true);
1204
1204
  try {
1205
1205
  let I = await qn(k, y);
@@ -1217,21 +1217,21 @@ var require_main_min = __commonJS({
1217
1217
  let q = Xn(k).map((ee) => ee.id);
1218
1218
  t({ model: q, triggerSchema: r, triggerModel: q });
1219
1219
  }
1220
- let g = Xn(d).map((k) => k.id), S = Ct(g, r, e.required), O = !!e.errors || (s || e.submitted) && !!S.length, F = "accepts" in b && b.accepts, C = "maxSize" in b && b.maxSize, A = h(i(i({ multiple: true, className: "form-control", files: d, fileInputName: n, id: n }, F ? { fileTypes: F } : void 0), C ? { sizeLimit: Sr(C) } : void 0), { sizeLimitErrorMessage: ((w = b.validationMessages) == null ? void 0 : w.maxSize) || a.maxFileSizeErrorMessage, maxFiles: e.schema.maxItems, maxFilesErrorMessage: ((D = e.schema.validationMessages) == null ? void 0 : D.maxItems) || a.maxItemsErrorMessage, uploadButtonTitle: b.title, description: b.description, disabled: e.disabled, onUploadFile: (k) => l(k.get(n)), onFilesChange: p, onDeleteFile: () => Promise.resolve() });
1221
- return (0, At.jsxs)("div", { className: (0, Qn.default)("form-group", { "has-error": O }), children: [(0, At.jsx)("label", { className: "d-block control-label", htmlFor: n, children: e.schema.title }), (0, At.jsx)(Pr.UploadInput, i({}, A)), (0, At.jsx)(Te, { changed: s, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: S, validationMessages: _m(r, !!e.required, a), infoMessage: null, focused: false, blurred: true })] });
1220
+ let g = Xn(d).map((k) => k.id), S = Ft(g, r, e.required), O = !!e.errors || (s || e.submitted) && !!S.length, F = "accepts" in b && b.accepts, C = "maxSize" in b && b.maxSize, A = h(i(i({ multiple: true, className: "form-control", files: d, fileInputName: n, id: n }, F ? { fileTypes: F } : void 0), C ? { sizeLimit: wr(C) } : void 0), { sizeLimitErrorMessage: ((w = b.validationMessages) == null ? void 0 : w.maxSize) || a.maxFileSizeErrorMessage, maxFiles: e.schema.maxItems, maxFilesErrorMessage: ((D = e.schema.validationMessages) == null ? void 0 : D.maxItems) || a.maxItemsErrorMessage, uploadButtonTitle: b.title, description: b.description, disabled: e.disabled, onUploadFile: (k) => l(k.get(n)), onFilesChange: p, onDeleteFile: () => Promise.resolve() });
1221
+ return (0, Ot.jsxs)("div", { className: (0, Qn.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)(kr.UploadInput, i({}, A)), (0, Ot.jsx)(Ne, { changed: s, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: S, validationMessages: Zm(r, !!e.required, a), infoMessage: null, focused: false, blurred: true })] });
1222
1222
  };
1223
1223
  ei.defaultProps = { errors: null, required: false };
1224
- var Mo = ei;
1224
+ var ko = ei;
1225
1225
  function Xn(e) {
1226
1226
  return e.filter((t) => !t.error && t.status === "succeeded");
1227
1227
  }
1228
- function $m(e) {
1229
- return e.map((t) => Gm(t) ? { id: t, status: Pr.Status.SUCCEEDED } : null).filter((t) => t !== null);
1228
+ function Ym(e) {
1229
+ return e.map((t) => Jm(t) ? { id: t, status: kr.Status.SUCCEEDED } : null).filter((t) => t !== null);
1230
1230
  }
1231
- function Gm(e) {
1232
- return B(e) || L(e);
1231
+ function Jm(e) {
1232
+ return N(e) || L(e);
1233
1233
  }
1234
- function _m(e, t, r) {
1234
+ function Zm(e, t, r) {
1235
1235
  let { minItems: o, maxItems: a } = e;
1236
1236
  return i(i(i({}, t && { required: r.requiredMessage }), o && { minItems: r.minItemsErrorMessage }), a && { maxItems: r.maxItemsErrorMessage });
1237
1237
  }
@@ -1239,7 +1239,7 @@ var require_main_min = __commonJS({
1239
1239
  var ri = (e) => {
1240
1240
  let { schema: t } = e;
1241
1241
  if (Wa(t))
1242
- return (0, ai.jsx)(Mo, h(i({}, e), { schema: t }));
1242
+ return (0, ai.jsx)(ko, h(i({}, e), { schema: t }));
1243
1243
  throw new Error("Not implemented");
1244
1244
  };
1245
1245
  ri.defaultProps = { errors: null, required: false };
@@ -1247,44 +1247,44 @@ var require_main_min = __commonJS({
1247
1247
  var ii = require("react/jsx-runtime");
1248
1248
  var ni = (e) => {
1249
1249
  let { schema: t } = e;
1250
- if (Ie(t))
1250
+ if (De(t))
1251
1251
  return (0, ii.jsx)(oi, i({}, e));
1252
1252
  throw new Error("Not implemented");
1253
1253
  };
1254
1254
  ni.defaultProps = { required: false };
1255
- var kr = ni;
1256
- var si = qe(lt());
1257
- var Mr = require("react");
1255
+ var Mr = ni;
1256
+ var si = Ee(lt());
1257
+ var Er = require("react");
1258
1258
  var Be = require("react/jsx-runtime");
1259
- var Wm = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
1259
+ var Xm = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
1260
1260
  var li = (e) => {
1261
- let [t, r] = (0, Mr.useState)(() => i({}, oe(e.model, e.schema))), o = (u, c) => {
1261
+ let [t, r] = (0, Er.useState)(() => i({}, oe(e.model, e.schema))), o = (u, c) => {
1262
1262
  c.model !== null ? t[u] = c.model : delete t[u], r(t), e.onChange(h(i({}, c), { model: t }));
1263
1263
  }, a = (u) => e.schema.required && e.schema.required.includes(u);
1264
- (0, Mr.useEffect)(() => {
1264
+ (0, Er.useEffect)(() => {
1265
1265
  let u = oe(t, e.schema) || {};
1266
1266
  r(u), We(u, t) || e.onChange({ model: u, triggerSchema: e.schema, triggerModel: u });
1267
1267
  }, [e.schema]);
1268
1268
  let n = /* @__PURE__ */ new Set([...e.schema.displayOrder || [], ...Object.keys(e.schema.properties)]), s = (u) => typeof e.schema.properties[u] != "undefined", m = Array.from(n).filter(s), d = e.errors;
1269
- return (0, Be.jsxs)("fieldset", { children: [e.schema.title && !e.hideTitle && (0, Be.jsxs)("legend", { children: [" ", e.schema.title, " "] }), e.schema.description && !e.hideTitle && (0, Be.jsxs)("p", { children: [" ", e.schema.description, " "] }), e.schema.alert && (0, Be.jsx)(ae, { component: e.schema.alert }), (0, Be.jsx)("div", { className: "row", children: m.map((u) => (0, Be.jsx)("div", { className: (0, si.default)(Wm(e.schema.properties[u].width)), children: (0, Be.jsx)(de, { schema: e.schema.properties[u], model: e.model && e.model[u], errors: d && d[u], submitted: e.submitted, required: a(u), disabled: e.disabled, onChange: (c) => o(u, c), onPersistAsync: e.onPersistAsync }) }, u)) })] });
1269
+ return (0, Be.jsxs)("fieldset", { children: [e.schema.title && !e.hideTitle && (0, Be.jsxs)("legend", { children: [" ", e.schema.title, " "] }), e.schema.description && !e.hideTitle && (0, Be.jsxs)("p", { children: [" ", e.schema.description, " "] }), e.schema.alert && (0, Be.jsx)(ae, { component: e.schema.alert }), (0, Be.jsx)("div", { className: "row", children: m.map((u) => (0, Be.jsx)("div", { className: (0, si.default)(Xm(e.schema.properties[u].width)), children: (0, Be.jsx)(de, { schema: e.schema.properties[u], model: e.model && e.model[u], errors: d && d[u], submitted: e.submitted, required: a(u), disabled: e.disabled, onChange: (c) => o(u, c), onPersistAsync: e.onPersistAsync }) }, u)) })] });
1270
1270
  };
1271
1271
  li.defaultProps = { hideTitle: false, disabled: false };
1272
- var vt = li;
1273
- var Ai = qe(lt());
1272
+ var At = li;
1273
+ var ki = Ee(lt());
1274
1274
  var Me = require("react");
1275
- var Er = require("@transferwise/components");
1275
+ var Ir = require("@transferwise/components");
1276
1276
  var di = require("react-intl");
1277
1277
  var ci = require("react-intl");
1278
1278
  var mi = (0, ci.defineMessages)({ helpAria: { id: "dynamicFlows.Help.ariaLabel", defaultMessage: "Click here for more info.", description: "Aria label for help." } });
1279
- var Eo = require("react/jsx-runtime");
1280
- var Km = (e) => {
1279
+ var Mo = require("react/jsx-runtime");
1280
+ var Qm = (e) => {
1281
1281
  let t = (0, di.useIntl)();
1282
- return (0, Eo.jsx)(Er.Info, { className: "m-l-1", content: (0, Eo.jsx)(Er.Markdown, { children: e.help.markdown }), presentation: "POPOVER", size: "sm", "aria-label": t.formatMessage(mi.helpAria) });
1282
+ return (0, Mo.jsx)(Ir.Info, { className: "m-l-1", content: (0, Mo.jsx)(Ir.Markdown, { children: e.help.markdown }), presentation: "POPOVER", size: "sm", "aria-label": t.formatMessage(mi.helpAria) });
1283
1283
  };
1284
- var Pt = Km;
1284
+ var vt = Qm;
1285
1285
  var G = require("@transferwise/components");
1286
1286
  var yi = require("react");
1287
- var kt = (e, t = {}) => {
1287
+ var Pt = (e, t = {}) => {
1288
1288
  let { coerceValue: r = false } = t;
1289
1289
  if (!E(e)) {
1290
1290
  if (R(e)) {
@@ -1293,18 +1293,18 @@ var require_main_min = __commonJS({
1293
1293
  }
1294
1294
  if (!L(e)) {
1295
1295
  if (r)
1296
- return Do({ received: typeof e, expected: "string" }), String(e);
1296
+ return Io({ received: typeof e, expected: "string" }), String(e);
1297
1297
  dt({ received: typeof e, expected: "string" });
1298
1298
  return;
1299
1299
  }
1300
1300
  return e;
1301
1301
  }
1302
1302
  };
1303
- var Io = (e, t = {}) => {
1303
+ var Eo = (e, t = {}) => {
1304
1304
  let { coerceValue: r = false } = t;
1305
1305
  if (E(e))
1306
1306
  return;
1307
- if (B(e))
1307
+ if (N(e))
1308
1308
  return e;
1309
1309
  let o = { received: typeof e, expected: "string or number" };
1310
1310
  if (R(e)) {
@@ -1313,7 +1313,7 @@ var require_main_min = __commonJS({
1313
1313
  }
1314
1314
  if (!L(e)) {
1315
1315
  if (r)
1316
- return Do(o), String(e);
1316
+ return Io(o), String(e);
1317
1317
  dt(o);
1318
1318
  return;
1319
1319
  }
@@ -1325,7 +1325,7 @@ var require_main_min = __commonJS({
1325
1325
  return false;
1326
1326
  if (!Ae(e)) {
1327
1327
  if (r)
1328
- return Do({ received: typeof e, expected: "boolean" }), !!e;
1328
+ return Io({ received: typeof e, expected: "boolean" }), !!e;
1329
1329
  dt({ received: typeof e, expected: "boolean" });
1330
1330
  return;
1331
1331
  }
@@ -1348,14 +1348,14 @@ var require_main_min = __commonJS({
1348
1348
  let t = un(e);
1349
1349
  return t === null && console.warn("Incorrectly formatted date string. Falling back to null."), t;
1350
1350
  };
1351
- var Do = ({ received: e, expected: t }) => {
1351
+ var Io = ({ received: e, expected: t }) => {
1352
1352
  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.`);
1353
1353
  };
1354
1354
  var dt = ({ received: e, expected: t, fallback: r = "undefined" }) => {
1355
1355
  console.warn(`Value with type ${e} passed to control that only accepts type ${t}. Falling back to ${r}`);
1356
1356
  };
1357
1357
  var Y = require("react/jsx-runtime");
1358
- var Mt = class extends yi.PureComponent {
1358
+ var kt = class extends yi.PureComponent {
1359
1359
  constructor(r) {
1360
1360
  super(r);
1361
1361
  this.getAutocompleteStatus = () => this.props.autoComplete ? "on" : "disabled";
@@ -1382,7 +1382,7 @@ var require_main_min = __commonJS({
1382
1382
  if (this.props.value !== null && typeof this.props.value != "undefined")
1383
1383
  return r2.find((o) => this.props.value === o.value);
1384
1384
  };
1385
- this.mapOption = (r2) => h(i({}, r2), { value: B(r2.value) || L(r2.value) ? r2.value : void 0, disabled: r2.disabled || this.props.disabled, readOnly: this.props.readOnly });
1385
+ this.mapOption = (r2) => h(i({}, r2), { value: N(r2.value) || L(r2.value) ? r2.value : void 0, disabled: r2.disabled || this.props.disabled, readOnly: this.props.readOnly });
1386
1386
  this.state = { selectedOption: r.selectedOption, touched: false, prevValue: r.value };
1387
1387
  }
1388
1388
  static getDerivedStateFromProps(r, o) {
@@ -1392,47 +1392,47 @@ var require_main_min = __commonJS({
1392
1392
  var ee;
1393
1393
  let { name: r, placeholder: o, step: a, countryCode: n, type: s, options: m, disabled: d, readOnly: u, required: c, minLength: b, maxLength: y, min: l, max: p, searchPlaceholder: f, searchValue: g, onSearchChange: S, size: O, uploadProps: F, label: C, monthFormat: A, id: w, minDate: D, maxDate: k, value: I, mode: q } = this.props;
1394
1394
  switch (s) {
1395
- case N.RADIO:
1396
- return (0, Y.jsx)(G.RadioGroup, { radios: m.map(this.mapOption), name: r, selectedValue: Io(I, { coerceValue: true }), onChange: this.handleOnChange });
1397
- case N.CHECKBOX:
1395
+ case B.RADIO:
1396
+ return (0, Y.jsx)(G.RadioGroup, { radios: m.map(this.mapOption), name: r, selectedValue: Eo(I, { coerceValue: true }), onChange: this.handleOnChange });
1397
+ case B.CHECKBOX:
1398
1398
  return (0, Y.jsx)(G.Checkbox, { checked: ui(I, { coerceValue: true }), disabled: d, label: C, required: c, readOnly: u, onChange: this.handleOnChange, onBlur: this.handleOnBlur, onFocus: this.handleOnFocus });
1399
- case N.SELECT: {
1399
+ case B.SELECT: {
1400
1400
  let v = m.length >= 20;
1401
1401
  return (0, Y.jsx)(G.Select, { id: w, selected: this.getSelectedOption(m), options: m, search: v, required: c, disabled: d, placeholder: o, searchPlaceholder: f, searchValue: g, onChange: (T) => {
1402
1402
  var M;
1403
1403
  this.setState({ selectedOption: T != null ? T : void 0 }), this.props.onChange((M = T == null ? void 0 : T.value) != null ? M : null);
1404
1404
  }, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, onSearchChange: v ? S : void 0 });
1405
1405
  }
1406
- case N.TAB:
1406
+ case B.TAB:
1407
1407
  return (0, Y.jsx)(G.Tabs, { selected: ((ee = this.getSelectedOption(m)) == null ? void 0 : ee.value) || 0, tabs: m.map((v) => ({ title: v.label, content: (0, Y.jsx)(Y.Fragment, {}), disabled: v.disabled || false })), name: w, onTabSelect: (v) => {
1408
1408
  let T = !!this.state.selectedOption;
1409
1409
  this.setState({ selectedOption: m.find((M) => M.value === v) }), this.props.onChange(v, T ? "user" : "init");
1410
1410
  } });
1411
- case N.NUMBER:
1412
- return (0, Y.jsx)("input", { autoComplete: this.getAutocompleteStatus(), className: "form-control", disabled: d, id: w, max: p, min: l, placeholder: o, readOnly: u, required: c, step: a, type: "number", value: Io(I, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: (v) => {
1411
+ case B.NUMBER:
1412
+ return (0, Y.jsx)("input", { autoComplete: this.getAutocompleteStatus(), className: "form-control", disabled: d, id: w, max: p, min: l, placeholder: o, readOnly: u, required: c, step: a, type: "number", value: Eo(I, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: (v) => {
1413
1413
  this.props.onChange(parseFloat(v.target.value));
1414
1414
  }, onFocus: this.handleOnFocus, onWheel: (v) => {
1415
1415
  v.target instanceof HTMLElement && v.target.blur();
1416
1416
  } });
1417
- case N.HIDDEN:
1418
- return (0, Y.jsx)("input", { type: "hidden", name: r, value: kt(I, { coerceValue: true }), id: w });
1419
- case N.PASSWORD:
1420
- return (0, Y.jsx)("input", { autoComplete: this.getAutocompleteStatus(), className: "form-control", disabled: d, id: w, placeholder: o, readOnly: u, required: c, type: "password", value: kt(I, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: this.handleInputOnChange, onFocus: this.handleOnFocus });
1421
- case N.DATE:
1422
- case N.DATETIME:
1417
+ case B.HIDDEN:
1418
+ return (0, Y.jsx)("input", { type: "hidden", name: r, value: Pt(I, { coerceValue: true }), id: w });
1419
+ case B.PASSWORD:
1420
+ return (0, Y.jsx)("input", { autoComplete: this.getAutocompleteStatus(), className: "form-control", disabled: d, id: w, placeholder: o, readOnly: u, required: c, type: "password", value: Pt(I, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: this.handleInputOnChange, onFocus: this.handleOnFocus });
1421
+ case B.DATE:
1422
+ case B.DATETIME:
1423
1423
  return (0, Y.jsx)(G.DateInput, { disabled: d, size: O, value: pi(I), mode: q, monthFormat: A, onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
1424
- case N.DATELOOKUP:
1424
+ case B.DATELOOKUP:
1425
1425
  return (0, Y.jsx)(G.DateLookup, { value: fi(I), min: D, max: k, placeholder: o, monthFormat: A, disabled: d, onChange: (v) => {
1426
1426
  this.handleOnChange(pn(v));
1427
1427
  }, onBlur: this.handleOnBlur, onFocus: this.handleOnFocus });
1428
- case N.TEL:
1429
- return (0, Y.jsx)(G.PhoneNumberInput, { disabled: d, countryCode: n, placeholder: o, required: c, searchPlaceholder: f, size: O, initialValue: kt(I), onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
1430
- case N.TEXTAREA: {
1431
- let v = { className: "form-control tw-form-control", id: w, name: r, placeholder: o, value: kt(I, { coerceValue: true }), readOnly: u, required: c, minLength: b, maxLength: y, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: d, autoComplete: this.getAutocompleteStatus() };
1428
+ case B.TEL:
1429
+ return (0, Y.jsx)(G.PhoneNumberInput, { disabled: d, countryCode: n, placeholder: o, required: c, searchPlaceholder: f, size: O, initialValue: Pt(I), onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
1430
+ case B.TEXTAREA: {
1431
+ let v = { className: "form-control tw-form-control", id: w, name: r, placeholder: o, value: Pt(I, { coerceValue: true }), readOnly: u, required: c, minLength: b, maxLength: y, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: d, autoComplete: this.getAutocompleteStatus() };
1432
1432
  return this.props.displayPattern ? (0, Y.jsx)(G.TextareaWithDisplayFormat, h(i({ displayPattern: this.props.displayPattern }, v), { onChange: this.handleOnChange })) : (0, Y.jsx)("textarea", h(i({}, v), { onChange: this.handleInputOnChange }));
1433
1433
  }
1434
- case N.FILE:
1435
- case N.UPLOAD:
1434
+ case B.FILE:
1435
+ case B.UPLOAD:
1436
1436
  return (0, Y.jsx)(G.Upload, h(i({}, F), { usAccept: F.usAccept || "*", usDisabled: F.usDisabled || d, onSuccess: (v) => {
1437
1437
  this.handleOnChange(v);
1438
1438
  }, onFailure: () => {
@@ -1440,80 +1440,79 @@ var require_main_min = __commonJS({
1440
1440
  }, onCancel: () => {
1441
1441
  this.handleOnChange(null);
1442
1442
  } }));
1443
- case N.TEXT:
1443
+ case B.TEXT:
1444
1444
  default: {
1445
- let v = { type: "text", className: "form-control", id: w, name: r, placeholder: o, value: kt(I, { coerceValue: true }), readOnly: u, required: c, minLength: b, maxLength: y, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: d, autoComplete: this.getAutocompleteStatus() };
1445
+ let v = { type: "text", className: "form-control", id: w, name: r, placeholder: o, value: Pt(I, { coerceValue: true }), readOnly: u, required: c, minLength: b, maxLength: y, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: d, autoComplete: this.getAutocompleteStatus() };
1446
1446
  return this.props.displayPattern ? (0, Y.jsx)(G.InputWithDisplayFormat, h(i({ displayPattern: this.props.displayPattern }, v), { onChange: this.handleOnChange })) : (0, Y.jsx)("input", h(i({}, v), { onChange: this.handleInputOnChange }));
1447
1447
  }
1448
1448
  }
1449
1449
  }
1450
1450
  };
1451
- var be = Mt;
1452
- be.Type = N, be.Size = Sn, be.MonthFormat = bn, be.DateMode = gn, be.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: Mt.DateMode.DAY_MONTH_YEAR, monthFormat: Mt.MonthFormat.LONG, onBlur: null, onFocus: null, onSearchChange: null, options: [], placeholder: null, readOnly: false, required: false, searchPlaceholder: null, searchValue: "", selectedOption: null, size: Mt.Size.MEDIUM, step: 1, type: Mt.Type.TEXT, uploadProps: {}, value: null };
1451
+ var be = kt;
1452
+ be.Type = B, be.Size = Sn, be.MonthFormat = bn, be.DateMode = gn, be.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: kt.DateMode.DAY_MONTH_YEAR, monthFormat: kt.MonthFormat.LONG, onBlur: null, onFocus: null, onSearchChange: null, options: [], placeholder: null, readOnly: false, required: false, searchPlaceholder: null, searchValue: "", selectedOption: null, size: kt.Size.MEDIUM, step: 1, type: kt.Type.TEXT, uploadProps: {}, value: null };
1453
1453
  var Xe = require("@transferwise/components");
1454
- var Lo = qe(require("@transferwise/icons"));
1455
- var Kt = require("react/jsx-runtime");
1456
- var Ym = ({ type: e }) => {
1457
- let t = hi(e);
1458
- if (!Object.keys(Lo).includes(t))
1459
- return (0, Kt.jsx)(Kt.Fragment, {});
1460
- let r = Lo[t];
1461
- return (0, Kt.jsx)(r, { size: 24 });
1462
- };
1463
- function hi(e) {
1464
- return e.split("-").map(Jm).join("");
1465
- }
1466
- function Jm(e) {
1454
+ var gi = require("react/jsx-runtime");
1455
+ var Mt = (e) => Do.some((t) => e === `flag-${t}`);
1456
+ var hi = ({ name: e }) => {
1457
+ if (!Mt(e))
1458
+ return null;
1459
+ let t = e.substring(5);
1460
+ return (0, gi.jsx)("img", { src: `https://wise.com/web-art/assets/flags/${t}.svg`, alt: "", "data-testid": `img-flag-${t}` });
1461
+ };
1462
+ var Do = ["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"];
1463
+ var bi = Ee(require("@transferwise/icons"));
1464
+ var Fi = require("react/jsx-runtime");
1465
+ var Dr = (e) => {
1466
+ let t = wi(e);
1467
+ return Object.keys(bi).includes(t);
1468
+ };
1469
+ var Si = ({ name: e }) => {
1470
+ if (!Dr(e))
1471
+ return null;
1472
+ let t = wi(e), r = bi[t];
1473
+ return (0, Fi.jsx)(r, { size: 24 });
1474
+ };
1475
+ var wi = (e) => e.split("-").map(ed).join("");
1476
+ var ed = (e) => {
1467
1477
  var t;
1468
1478
  return `${(t = e[0]) == null ? void 0 : t.toUpperCase()}${e.slice(1)}`;
1469
- }
1479
+ };
1480
+ var Lo = require("react/jsx-runtime");
1481
+ var td = ({ type: e }) => Mt(e) ? (0, Lo.jsx)(hi, { name: e }) : Dr(e) ? (0, Lo.jsx)(Si, { name: e }) : null;
1470
1482
  function To(e) {
1471
- let t = hi(e);
1472
- return Object.keys(Lo).includes(t);
1483
+ return Dr(e) || Mt(e);
1473
1484
  }
1474
- var Je = Ym;
1475
- function Ir(e) {
1476
- if (e) {
1477
- let t = Zm.indexOf(e);
1478
- if (t >= 0)
1479
- return { currency: gi[t] };
1480
- }
1481
- return null;
1482
- }
1483
- var gi = ["eur", "gbp", "inr", "usd", "aed", "ars", "aud", "bdt", "bgn", "brl", "bwp", "cad", "chf", "clp", "cny", "cop", "crc", "czk", "dkk", "egp", "fjd", "gel", "ghs", "hkd", "hrk", "huf", "idr", "ils", "jpy", "kes", "krw", "lkr", "mad", "mxn", "myr", "mzn", "nad", "ngn", "nok", "npr", "nzd", "pen", "php", "pkr", "pln", "ron", "rub", "sek", "sgd", "thb", "try", "tzs", "uah", "ugx", "uyu", "vnd", "xof", "zar", "zmw"];
1484
- var Zm = gi.map((e) => `flag-${e}`);
1485
+ var Je = td;
1485
1486
  var Se = require("react/jsx-runtime");
1486
- var bi = (e, t) => {
1487
+ var Ci = (e, t) => {
1487
1488
  switch (t) {
1488
1489
  case "select":
1489
- return Qm(e);
1490
+ return od(e);
1490
1491
  case "radio":
1491
1492
  default:
1492
- return Xm(e);
1493
+ return rd(e);
1493
1494
  }
1494
1495
  };
1495
- var Xm = (e) => i(i(i(i(i({ label: e.title, value: e.const }, wi(e.title, e.description)), Dr(e.icon)), Si(e.icon)), Lr(e.image)), Fi(e.disabled));
1496
- var Qm = (e) => i(i(i(i(i(i({ label: e.title, value: e.const }, wi(e.title, e.description)), rd(e.icon)), Si(e.icon)), td(e.image)), Fi(e.disabled)), ed(e.keywords));
1497
- var Si = (e) => e ? Ir(e.name) : null;
1498
- var ed = (e) => z(e) ? { searchStrings: e } : {};
1499
- var td = (e) => e != null && e.url ? { icon: (0, Se.jsx)("div", { className: "media", children: (0, Se.jsx)("div", { className: "np-option__no-media-circle", children: (0, Se.jsx)("img", { src: e.url, alt: e.name || "" }) }) }) } : null;
1500
- var rd = (e) => e != null && e.name && To(e.name) ? { icon: (0, Se.jsx)(Je, { type: e.name }) } : e != null && e.text ? { icon: (0, Se.jsx)("span", { children: e.text }) } : null;
1501
- var Dr = (e) => e != null && e.name && To(e.name) ? { avatar: (0, Se.jsx)(Xe.Avatar, { type: Xe.AvatarType.ICON, children: (0, Se.jsx)(Je, { type: e.name }) }) } : e != null && e.text ? { avatar: (0, Se.jsx)(Xe.Avatar, { type: Xe.AvatarType.INITIALS, children: e.text }) } : null;
1502
- var Lr = (e) => e && e.url ? { avatar: (0, Se.jsx)(Xe.Avatar, { type: Xe.AvatarType.THUMBNAIL, children: (0, Se.jsx)("img", { src: e.url, alt: "User avatar" }) }) } : null;
1503
- var Tr = ({ accepts: e }) => i({}, z(e) && { usAccept: e.join(",") });
1504
- var wi = (e, t) => {
1496
+ var rd = (e) => i(i(i({ label: e.title, value: e.const }, xi(e.title, e.description)), Et(e)), Oi(e.disabled));
1497
+ var od = (e) => i(i(i(i(i({ label: e.title, value: e.const }, xi(e.title, e.description)), id(e.icon)), nd(e.image)), Oi(e.disabled)), ad(e.keywords));
1498
+ var ad = (e) => z(e) ? { searchStrings: e } : {};
1499
+ var nd = (e) => e != null && e.url ? { icon: (0, Se.jsx)("div", { className: "media", children: (0, Se.jsx)("div", { className: "np-option__no-media-circle", children: (0, Se.jsx)("img", { src: e.url, alt: e.name || "" }) }) }) } : null;
1500
+ var id = (e) => e != null && e.name && Mt(e.name) ? { currency: e.name.substring(5) } : e != null && e.name && To(e.name) ? { icon: (0, Se.jsx)(Je, { type: e.name }) } : e != null && e.text ? { icon: (0, Se.jsx)("span", { children: e.text }) } : null;
1501
+ var Et = ({ image: e, icon: t }) => e != null && e.url ? { avatar: (0, Se.jsx)(Xe.Avatar, { type: Xe.AvatarType.THUMBNAIL, children: (0, Se.jsx)("img", { src: e.url, alt: "" }) }) } : t != null && t.name && To(t.name) ? { avatar: (0, Se.jsx)(Xe.Avatar, { type: Xe.AvatarType.ICON, children: (0, Se.jsx)(Je, { type: t.name }) }) } : t != null && t.text ? { avatar: (0, Se.jsx)(Xe.Avatar, { type: Xe.AvatarType.INITIALS, children: t.text }) } : null;
1502
+ var Lr = ({ accepts: e }) => i({}, z(e) && { usAccept: e.join(",") });
1503
+ var xi = (e, t) => {
1505
1504
  if (e && t)
1506
1505
  return { [(e + t).length > 50 ? "secondary" : "note"]: t };
1507
1506
  };
1508
- var Fi = (e) => {
1507
+ var Oi = (e) => {
1509
1508
  if (!K(e) && !E(e))
1510
1509
  return { disabled: e };
1511
1510
  };
1512
- var xi = require("react/jsx-runtime");
1513
- var od = (e) => e === "string" || e === "number";
1514
- var Bo = (e, t) => {
1511
+ var vi = require("react/jsx-runtime");
1512
+ var sd = (e) => e === "string" || e === "number";
1513
+ var No = (e, t) => {
1515
1514
  if (me(e))
1516
- return e.control === N.TAB && e.oneOf.length > 3 ? N.SELECT : 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.'), N.RADIO) : e.control || N.SELECT;
1515
+ return e.control === B.TAB && e.oneOf.length > 3 ? B.SELECT : 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.'), B.RADIO) : e.control || B.SELECT;
1517
1516
  if ("control" in e && e.control)
1518
1517
  return e.control;
1519
1518
  if (e.type === "string")
@@ -1531,53 +1530,53 @@ var require_main_min = __commonJS({
1531
1530
  }
1532
1531
  return e.type === "boolean" ? "checkbox" : e.type === "integer" ? "number" : e.type;
1533
1532
  };
1534
- var ad = (e, t) => e.oneOf ? e.oneOf.map((r) => bi(r, t)) : null;
1535
- var Ci = (e) => {
1536
- let t = Ge(), r = (u) => od(e.schema.type) && (E(u) || K(u)) ? "" : u, o = (u, c) => {
1537
- e.onChange(De(u, e.schema), c);
1538
- }, a = Bo(e.schema, t);
1533
+ var ld = (e, t) => e.oneOf ? e.oneOf.map((r) => Ci(r, t)) : null;
1534
+ var Ai = (e) => {
1535
+ let t = Ge(), r = (u) => sd(e.schema.type) && (E(u) || K(u)) ? "" : u, o = (u, c) => {
1536
+ e.onChange(Le(u, e.schema), c);
1537
+ }, a = No(e.schema, t);
1539
1538
  a === "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.schema.values && t.error("Deprecated schema", "Schema.values is a legacy approach. Please use oneOf.");
1540
- let n = e.schema.values || ad(e.schema, a), s = { onFocus: e.onFocus, onBlur: e.onBlur, onSearchChange: e.onSearchChange, onChange: o }, m = r(e.value), d = { id: e.id, name: e.id, label: e.schema.title, options: n || [], placeholder: e.schema.placeholder, autoComplete: !e.schema.help, disabled: e.disabled || e.schema.disabled, displayPattern: e.schema.displayFormat, uploadProps: Tr(e.schema) };
1541
- return (0, xi.jsx)(be, i(i({ type: a, value: m }, s), d));
1539
+ let n = e.schema.values || ld(e.schema, a), s = { onFocus: e.onFocus, onBlur: e.onBlur, onSearchChange: e.onSearchChange, onChange: o }, m = r(e.value), d = { id: e.id, name: e.id, label: e.schema.title, options: n || [], placeholder: e.schema.placeholder, autoComplete: !e.schema.help, disabled: e.disabled || e.schema.disabled, displayPattern: e.schema.displayFormat, uploadProps: Lr(e.schema) };
1540
+ return (0, vi.jsx)(be, i(i({ type: a, value: m }, s), d));
1542
1541
  };
1543
- Ci.defaultProps = { value: null, onFocus: null, onBlur: null, onSearchChange: null, disabled: false };
1544
- var Yt = Ci;
1545
- function Ne(e) {
1542
+ Ai.defaultProps = { value: null, onFocus: null, onBlur: null, onSearchChange: null, disabled: false };
1543
+ var Jt = Ai;
1544
+ function Re(e) {
1546
1545
  return !K(e == null ? void 0 : e.const);
1547
1546
  }
1548
- function Jt(e) {
1549
- return !!e && !Ne(e);
1547
+ function Zt(e) {
1548
+ return !!e && !Re(e);
1550
1549
  }
1551
- var Oi = (e, t) => {
1552
- let r = Zt(e, t);
1550
+ var Pi = (e, t) => {
1551
+ let r = Xt(e, t);
1553
1552
  if (r >= 0)
1554
1553
  return r;
1555
- if (e.oneOf.length === 1 && Jt(e.oneOf[0]))
1554
+ if (e.oneOf.length === 1 && Zt(e.oneOf[0]))
1556
1555
  return 0;
1557
- if (Ne(e.oneOf[0])) {
1558
- let o = Zt(e, e.default);
1556
+ if (Re(e.oneOf[0])) {
1557
+ let o = Xt(e, e.default);
1559
1558
  if (o >= 0)
1560
1559
  return o;
1561
1560
  }
1562
- return jt(e) && J(t) && Object.keys(t).length >= 1 ? Br(e, t) : jt(e) && !K(e.default) && J(e.default) && Object.keys(e.default).length >= 1 ? Br(e, e.default) : null;
1561
+ return Vt(e) && J(t) && Object.keys(t).length >= 1 ? Tr(e, t) : Vt(e) && !K(e.default) && J(e.default) && Object.keys(e.default).length >= 1 ? Tr(e, e.default) : null;
1563
1562
  };
1564
- var Zt = (e, t) => e.oneOf.findIndex((r) => !K(t) && $(t, r));
1565
- function Br(e, t) {
1563
+ var Xt = (e, t) => e.oneOf.findIndex((r) => !K(t) && $(t, r));
1564
+ function Tr(e, t) {
1566
1565
  if (t == null)
1567
1566
  return null;
1568
- let r = e.oneOf.map((o) => nd(o).reduce((a, [n, s]) => Ne(s) && s.const === t[n] ? a + 2 : Jt(s) && typeof t[n] != "undefined" ? a + 1 : a, 0));
1567
+ let r = e.oneOf.map((o) => cd(o).reduce((a, [n, s]) => Re(s) && s.const === t[n] ? a + 2 : Zt(s) && typeof t[n] != "undefined" ? a + 1 : a, 0));
1569
1568
  return r.every((o) => o === r[0]) ? null : r.indexOf(Math.max(...r));
1570
1569
  }
1571
- function nd(e) {
1570
+ function cd(e) {
1572
1571
  return e.properties !== null && typeof e.properties == "object" ? Object.entries(e.properties) : [];
1573
1572
  }
1574
1573
  var te = require("react/jsx-runtime");
1575
- var vi = (e) => {
1576
- let t = Z(), [r, o] = (0, Me.useState)(false), [a, n] = (0, Me.useState)(false), [s, m] = (0, Me.useState)(false), d = (0, Me.useMemo)(() => e.schema.$id || ve(), [e.schema.$id]), [u, c] = (0, Me.useState)(Oi(e.schema, e.model)), [b, y] = (0, Me.useState)(cd(e.model, e.schema.oneOf)), l = On(t, 200), p = (w) => {
1574
+ var Mi = (e) => {
1575
+ let t = Z(), [r, o] = (0, Me.useState)(false), [a, n] = (0, Me.useState)(false), [s, m] = (0, Me.useState)(false), d = (0, Me.useMemo)(() => e.schema.$id || ve(), [e.schema.$id]), [u, c] = (0, Me.useState)(Pi(e.schema, e.model)), [b, y] = (0, Me.useState)(pd(e.model, e.schema.oneOf)), l = On(t, 200), p = (w) => {
1577
1576
  l("Dynamic Flow - OneOf Searched", { oneOfId: e.schema.analyticsId, searchValueLength: w.length });
1578
1577
  };
1579
1578
  if ((0, Me.useEffect)(() => {
1580
- let w = Zt(e.schema, e.model), D = Zt(e.schema, e.schema.default);
1579
+ let w = Xt(e.schema, e.model), D = Xt(e.schema, e.schema.default);
1581
1580
  w === -1 && D >= 0 && O(D, "init");
1582
1581
  }, [e.schema]), !z(e.schema.oneOf))
1583
1582
  return console.error("Incorrect format", e.schema), null;
@@ -1590,49 +1589,49 @@ var require_main_min = __commonJS({
1590
1589
  }, O = (w, D) => {
1591
1590
  c(w);
1592
1591
  let k = e.schema.oneOf[w];
1593
- if (Ne(k)) {
1592
+ if (Re(k)) {
1594
1593
  let I = k.const;
1595
1594
  e.onChange({ model: I, triggerSchema: e.schema, triggerModel: I, type: D });
1596
1595
  } else
1597
1596
  e.onChange({ model: b[w], triggerSchema: k, triggerModel: b[w], type: D });
1598
1597
  D !== "init" && e.schema.analyticsId && t("Dynamic Flow - OneOf Selected", { oneOfId: e.schema.analyticsId, schemaId: k == null ? void 0 : k.analyticsId });
1599
- }, F = md(e.schema), C = sd(e, u), A = { "form-group": true, "has-error": !r && e.errors && !Ft(e.errors) || (e.submitted || r && s) && C.length };
1600
- return (0, te.jsxs)(te.Fragment, { children: [(e.schema.oneOf.length > 1 || Ne(e.schema.oneOf[0])) && (0, te.jsxs)(te.Fragment, { children: [(0, te.jsxs)("div", { className: (0, Ai.default)(A), children: [id(e.schema, d), (0, te.jsx)(Yt, { id: d, schema: F, value: u, disabled: e.disabled, onChange: O, onFocus: g, onBlur: S, onSearchChange: p }), (0, te.jsx)(Te, { changed: r, focused: a, blurred: s, submitted: e.submitted, errors: ld(e.errors), schema: e.schema, validations: C, infoMessage: null })] }), e.schema.alert && (0, te.jsx)(ae, { component: e.schema.alert })] }), Jt(e.schema.oneOf[u]) && (0, te.jsx)(de, { schema: e.schema.oneOf[u], model: b[u], errors: e.errors, submitted: e.submitted, hideTitle: true, disabled: e.disabled, onChange: (w) => f(u, w), onPersistAsync: e.onPersistAsync })] });
1598
+ }, F = fd(e.schema), C = dd(e, u), A = { "form-group": true, "has-error": !r && e.errors && !wt(e.errors) || (e.submitted || r && s) && C.length };
1599
+ 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, ki.default)(A), children: [md(e.schema, d), (0, te.jsx)(Jt, { id: d, schema: F, value: u, disabled: e.disabled, onChange: O, onFocus: g, onBlur: S, onSearchChange: p }), (0, te.jsx)(Ne, { changed: r, focused: a, blurred: s, submitted: e.submitted, errors: ud(e.errors), schema: e.schema, validations: C, infoMessage: null })] }), e.schema.alert && (0, te.jsx)(ae, { component: e.schema.alert })] }), Zt(e.schema.oneOf[u]) && (0, te.jsx)(de, { schema: e.schema.oneOf[u], model: b[u], errors: e.errors, submitted: e.submitted, hideTitle: true, disabled: e.disabled, onChange: (w) => f(u, w), onPersistAsync: e.onPersistAsync })] });
1601
1600
  };
1602
- function id(e, t) {
1603
- let r = e.help ? (0, te.jsx)(Pt, { help: e.help }) : null, o = Ne(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] });
1601
+ function md(e, t) {
1602
+ 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] });
1604
1603
  return e.title ? o : r;
1605
1604
  }
1606
- function sd(e, t) {
1605
+ function dd(e, t) {
1607
1606
  let r = e.schema.oneOf[t != null ? t : -1];
1608
- return Ne(r) ? _e(r.const, e.schema, !!e.required) : t === null || t < 0 ? _e(null, e.schema, !!e.required) : [];
1607
+ return Re(r) ? _e(r.const, e.schema, !!e.required) : t === null || t < 0 ? _e(null, e.schema, !!e.required) : [];
1609
1608
  }
1610
- function ld(e) {
1609
+ function ud(e) {
1611
1610
  return typeof e == "string" ? e : null;
1612
1611
  }
1613
- function cd(e, t) {
1614
- return t.map((r) => Ht(e, r));
1612
+ function pd(e, t) {
1613
+ return t.map((r) => $t(e, r));
1615
1614
  }
1616
- function md(e) {
1617
- return h(i({}, e), { oneOf: e.oneOf.map(dd) });
1615
+ function fd(e) {
1616
+ return h(i({}, e), { oneOf: e.oneOf.map(yd) });
1618
1617
  }
1619
- function dd(e, t) {
1618
+ function yd(e, t) {
1620
1619
  let { title: r, description: o, disabled: a = false, icon: n, image: s, keywords: m } = e;
1621
1620
  return { title: r, description: o, disabled: a, icon: n, image: s, const: t, keywords: m };
1622
1621
  }
1623
- vi.defaultProps = { required: false, disabled: false };
1624
- var Nr = vi;
1625
- var Ei = qe(lt());
1622
+ Mi.defaultProps = { required: false, disabled: false };
1623
+ var Nr = Mi;
1624
+ var Li = Ee(lt());
1626
1625
  var ut = require("react");
1627
- var Rr = require("@transferwise/components");
1628
- var Pi = require("react");
1629
- var Mi = require("react/jsx-runtime");
1630
- var ki = (e) => {
1631
- let { id: t, httpClient: r = fetch, httpOptions: o, fileId: a, idProperty: n, usAccept: s, maxSize: m, usPlaceholder: d, onSuccess: u, onFailure: c, onCancel: b } = e, y = Z(), l = (0, Pi.useMemo)(() => a ? [{ id: a, status: Rr.Status.SUCCEEDED }] : [], [a]), p = (f) => (y("Dynamic Flow - PersistAsync", { status: "pending", schemaId: t }), r(`${o.url}`, { method: o.method || "POST", body: f }).then((g) => g.ok ? (u && u(g.clone()), g.json().then((S) => ({ id: S[n] }))) : (c && c({ response: g }), Promise.reject())));
1632
- return (0, Mi.jsx)(Rr.UploadInput, { id: t, fileInputName: o.fileInputName, files: l, uploadButtonTitle: e.usLabel, sizeLimit: m ? Sr(m) : void 0, fileTypes: s, description: d, onUploadFile: p, onDeleteFile: (f) => (b && b(), Promise.resolve()) });
1633
- };
1634
- var Xt = require("react/jsx-runtime");
1626
+ var Br = require("@transferwise/components");
1627
+ var Ei = require("react");
1628
+ var Di = require("react/jsx-runtime");
1635
1629
  var Ii = (e) => {
1630
+ let { id: t, httpClient: r = fetch, httpOptions: o, fileId: a, idProperty: n, usAccept: s, maxSize: m, usPlaceholder: d, onSuccess: u, onFailure: c, onCancel: b } = e, y = Z(), l = (0, Ei.useMemo)(() => a ? [{ id: a, status: Br.Status.SUCCEEDED }] : [], [a]), p = (f) => (y("Dynamic Flow - PersistAsync", { status: "pending", schemaId: t }), r(`${o.url}`, { method: o.method || "POST", body: f }).then((g) => g.ok ? (u && u(g.clone()), g.json().then((S) => ({ id: S[n] }))) : (c && c({ response: g }), Promise.reject())));
1631
+ return (0, Di.jsx)(Br.UploadInput, { id: t, fileInputName: o.fileInputName, files: l, uploadButtonTitle: e.usLabel, sizeLimit: m ? wr(m) : void 0, fileTypes: s, description: d, onUploadFile: p, onDeleteFile: (f) => (b && b(), Promise.resolve()) });
1632
+ };
1633
+ var Qt = require("react/jsx-runtime");
1634
+ var Ti = (e) => {
1636
1635
  let [t, r] = (0, ut.useState)({}), [o, a] = (0, ut.useState)(null), [n, s] = (0, ut.useState)([]), [m, d] = (0, ut.useState)(false), u = re(), c = Z();
1637
1636
  (0, ut.useEffect)(() => {
1638
1637
  e.submitted && s(_e(e.model, e.schema, !!e.required));
@@ -1641,7 +1640,7 @@ var require_main_min = __commonJS({
1641
1640
  let A = await F.json(), w = Uo(e.schema.persistAsync.idProperty, A);
1642
1641
  e.onChange({ model: w, triggerSchema: e.schema, triggerModel: w }), d(true), c("Dynamic Flow - PersistAsync", { status: "success", schemaId: e.schema.$id });
1643
1642
  }, l = async (F) => {
1644
- if (F.response && dr(F.response.status)) {
1643
+ if (F.response && ur(F.response.status)) {
1645
1644
  let C = await F.response.json();
1646
1645
  r(C.validation || {}), a([e.schema.persistAsync.param]);
1647
1646
  }
@@ -1649,102 +1648,97 @@ var require_main_min = __commonJS({
1649
1648
  }, p = () => {
1650
1649
  a(null), e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null }), d(true);
1651
1650
  }, { url: f, method: g } = e.schema.persistAsync, S = o || n, O = { "form-group": true, "has-error": (e.submitted || m) && !!S.length };
1652
- return (0, Xt.jsxs)("div", { className: (0, Ei.default)(O), children: [(0, Xt.jsx)(ki, 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: g, fileInputName: e.schema.persistAsync.param }, httpClient: u, onSuccess: y, onFailure: l, onCancel: p }, Tr(e.schema.persistAsync.schema))), (0, Xt.jsx)(Te, { blurred: true, focused: false, changed: m, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: S, validationMessages: i({ required: "Value is required..." }, t), infoMessage: null })] });
1651
+ return (0, Qt.jsxs)("div", { className: (0, Li.default)(O), children: [(0, Qt.jsx)(Ii, 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: g, fileInputName: e.schema.persistAsync.param }, httpClient: u, onSuccess: y, onFailure: l, onCancel: p }, Lr(e.schema.persistAsync.schema))), (0, Qt.jsx)(Ne, { blurred: true, focused: false, changed: m, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: S, validationMessages: i({ required: "Value is required..." }, t), infoMessage: null })] });
1653
1652
  };
1654
- Ii.defaultProps = { required: false };
1655
- var Ro = Ii;
1653
+ Ti.defaultProps = { required: false };
1654
+ var Ro = Ti;
1656
1655
  var jo = require("react/jsx-runtime");
1657
- var Di = (e) => {
1656
+ var Ni = (e) => {
1658
1657
  let { schema: t } = e;
1659
- return t.persistAsync.schema.type === "blob" ? (0, jo.jsx)(Ro, i({}, e)) : (0, jo.jsx)(No, i({}, e));
1658
+ return t.persistAsync.schema.type === "blob" ? (0, jo.jsx)(Ro, i({}, e)) : (0, jo.jsx)(Bo, i({}, e));
1660
1659
  };
1661
- Di.defaultProps = { required: false };
1662
- var Ur = Di;
1663
- var Hi = require("react");
1664
- var Li = (e, t) => {
1665
- let r = Br(e, t);
1660
+ Ni.defaultProps = { required: false };
1661
+ var Rr = Ni;
1662
+ var Gi = require("react");
1663
+ var Bi = (e, t) => {
1664
+ let r = Tr(e, t);
1666
1665
  return r !== null ? e.oneOf[r].promoted ? "promoted" : "other" : null;
1667
1666
  };
1668
- var Ti = require("@transferwise/components");
1667
+ var Ri = require("@transferwise/components");
1669
1668
  var zo = require("react/jsx-runtime");
1670
- var Bi = (e) => {
1669
+ var Ui = (e) => {
1671
1670
  let { id: t, selection: r, setSelection: o } = e, { promoted: a, other: n, checkedMeans: s } = e.promotion, m = s === "other" ? n.title : (a == null ? void 0 : a.title) || e.promotedOneOf.title, d = s === "other" ? "other" : "promoted", u = s === "other" ? "promoted" : "other", c = r === d;
1672
- return (0, zo.jsx)("div", { className: "form-group", children: (0, zo.jsx)(Ti.Checkbox, { id: t, label: m, checked: c, onChange: () => {
1671
+ return (0, zo.jsx)("div", { className: "form-group", children: (0, zo.jsx)(Ri.Checkbox, { id: t, label: m, checked: c, onChange: () => {
1673
1672
  o(c ? u : d);
1674
1673
  } }) });
1675
1674
  };
1676
- Bi.defaultProps = {};
1677
- var Ni = Bi;
1678
- var Ri = require("@transferwise/components");
1679
- var Qt = require("react/jsx-runtime");
1680
- var Ui = (e) => {
1675
+ Ui.defaultProps = {};
1676
+ var ji = Ui;
1677
+ var zi = require("@transferwise/components");
1678
+ var er = require("react/jsx-runtime");
1679
+ var Vi = (e) => {
1681
1680
  var d, u;
1682
- let { id: t, selection: r, setSelection: o, promotion: a, promotedOneOf: n, title: s } = e, m = [i(i({ value: "promoted", label: ((d = a.promoted) == null ? void 0 : d.title) || n.title, secondary: ((u = a.promoted) == null ? void 0 : u.description) || n.description }, Dr(n.icon)), Lr(n.image)), i(i({ value: "other", label: a.other.title, secondary: a.other.description }, Dr(a.other.icon)), Lr(a.other.image))];
1683
- return (0, Qt.jsxs)("div", { className: "form-group", children: [s && (0, Qt.jsx)("label", { className: "control-label", htmlFor: t, children: s }), (0, Qt.jsx)(Ri.RadioGroup, { name: "promoted-selection", selectedValue: r, radios: m, id: t, onChange: o })] });
1681
+ let { id: t, selection: r, setSelection: o, promotion: a, promotedOneOf: n, title: s } = e, m = [i({ value: "promoted", label: ((d = a.promoted) == null ? void 0 : d.title) || n.title, secondary: ((u = a.promoted) == null ? void 0 : u.description) || n.description }, Et(n)), i({ value: "other", label: a.other.title, secondary: a.other.description }, Et(a.other))];
1682
+ return (0, er.jsxs)("div", { className: "form-group", children: [s && (0, er.jsx)("label", { className: "control-label", htmlFor: t, children: s }), (0, er.jsx)(zi.RadioGroup, { name: "promoted-selection", selectedValue: r, radios: m, id: t, onChange: o })] });
1684
1683
  };
1685
- Ui.defaultProps = { title: void 0 };
1686
- var ji = Ui;
1687
- var Et = require("react/jsx-runtime");
1688
- var zi = (e) => {
1684
+ Vi.defaultProps = { title: void 0 };
1685
+ var Hi = Vi;
1686
+ var It = require("react/jsx-runtime");
1687
+ var qi = (e) => {
1689
1688
  switch (e.promotion.control || "radio") {
1690
1689
  case "radio":
1691
- return (0, Et.jsx)(ji, i({}, e));
1690
+ return (0, It.jsx)(Hi, i({}, e));
1692
1691
  case "checkbox":
1693
- return (0, Et.jsx)(Ni, i({}, e));
1692
+ return (0, It.jsx)(ji, i({}, e));
1694
1693
  default:
1695
- return (0, Et.jsx)(Et.Fragment, {});
1694
+ return (0, It.jsx)(It.Fragment, {});
1696
1695
  }
1697
1696
  };
1698
- zi.defaultProps = { id: ve(), title: void 0 };
1699
- var Vi = zi;
1700
- var Re = require("react/jsx-runtime");
1701
- var qi = (e) => e.promoted === true;
1702
- var ud = (e) => {
1697
+ qi.defaultProps = { id: ve(), title: void 0 };
1698
+ var $i = qi;
1699
+ var Ue = require("react/jsx-runtime");
1700
+ var _i = (e) => e.promoted === true;
1701
+ var hd = (e) => {
1703
1702
  var m;
1704
- let [t, r] = (0, Hi.useState)(Li(e.schema, e.model) || ((m = e.schema.promotion) == null ? void 0 : m.default) || "promoted"), o = e.schema.alert, a = e.schema.oneOf.find(qi), n = pd(a), s = fd(e.schema);
1705
- return (0, Re.jsxs)(Re.Fragment, { children: [o && (0, Re.jsx)(ae, { component: o }), (0, Re.jsx)(Vi, { id: e.schema.$id, title: e.schema.title, promotedOneOf: a, promotion: e.schema.promotion, selection: t, setSelection: r }), t === "promoted" && (0, Re.jsx)(vt, h(i({}, e), { schema: n })), t === "other" && (0, Re.jsx)(de, h(i({}, e), { schema: s }))] });
1703
+ let [t, r] = (0, Gi.useState)(Bi(e.schema, e.model) || ((m = e.schema.promotion) == null ? void 0 : m.default) || "promoted"), o = e.schema.alert, a = e.schema.oneOf.find(_i), n = gd(a), s = bd(e.schema);
1704
+ return (0, Ue.jsxs)(Ue.Fragment, { children: [o && (0, Ue.jsx)(ae, { component: o }), (0, Ue.jsx)($i, { id: e.schema.$id, title: e.schema.title, promotedOneOf: a, promotion: e.schema.promotion, selection: t, setSelection: r }), t === "promoted" && (0, Ue.jsx)(At, h(i({}, e), { schema: n })), t === "other" && (0, Ue.jsx)(de, h(i({}, e), { schema: s }))] });
1706
1705
  };
1707
- function pd(e) {
1706
+ function gd(e) {
1708
1707
  return h(i({}, e), { title: void 0, description: void 0 });
1709
1708
  }
1710
- function fd(e) {
1709
+ function bd(e) {
1711
1710
  var o, a, n;
1712
- let t = (o = e.promotion) != null && o.displayTwice ? [...e.oneOf] : e.oneOf.filter((s) => !qi(s)), r = (n = (a = e.promotion) == null ? void 0 : a.other.heading) == null ? void 0 : n.text;
1711
+ let t = (o = e.promotion) != null && o.displayTwice ? [...e.oneOf] : e.oneOf.filter((s) => !_i(s)), r = (n = (a = e.promotion) == null ? void 0 : a.other.heading) == null ? void 0 : n.text;
1713
1712
  return t.length === 1 ? h(i({}, t[0]), { title: r }) : t.length > 1 ? { title: r, oneOf: t, control: e.control } : null;
1714
1713
  }
1715
- var jr = ud;
1716
- var zr = require("@transferwise/components");
1717
- var Gi = require("react-intl");
1718
- var $i = require("react-intl");
1719
- var Vo = (0, $i.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." } });
1720
- var pt = require("react/jsx-runtime");
1721
- var yd = ({ schema: e, model: t }) => {
1722
- let { title: r = "" } = e, { formatMessage: o } = (0, Gi.useIntl)(), a = hd({ schema: e, model: t, formatMessage: o });
1723
- return (0, pt.jsx)(zr.DefinitionList, { layout: zr.Layout.VERTICAL_ONE_COLUMN, definitions: [{ title: r, value: a, key: "" }] });
1714
+ var Ur = hd;
1715
+ var jr = require("@transferwise/components");
1716
+ var Ki = require("react-intl");
1717
+ var Wi = require("react-intl");
1718
+ var Vo = (0, Wi.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." } });
1719
+ var Dt = require("react/jsx-runtime");
1720
+ var Sd = ({ schema: e, model: t }) => {
1721
+ let { title: r = "" } = e, { formatMessage: o } = (0, Ki.useIntl)(), a = wd({ schema: e, model: t, formatMessage: o });
1722
+ return (0, Dt.jsx)(jr.DefinitionList, { layout: jr.Layout.VERTICAL_ONE_COLUMN, definitions: [{ title: r, value: a, key: "" }] });
1724
1723
  };
1725
- var Ho = yd;
1726
- function hd({ schema: e, model: t, formatMessage: r }) {
1727
- return fe(e) ? me(e) ? gd(e, t) : e.type === "boolean" && Ae(t) ? r(t ? Vo.yes : Vo.no) : t && t.toString() || "" : "";
1724
+ var Ho = Sd;
1725
+ function wd({ schema: e, model: t, formatMessage: r }) {
1726
+ return fe(e) ? me(e) ? Fd(e, t) : e.type === "boolean" && Ae(t) ? r(t ? Vo.yes : Vo.no) : t && t.toString() || "" : "";
1728
1727
  }
1729
- function gd(e, t) {
1730
- let r = bd(e, t);
1731
- return r ? Sd(r) : t;
1728
+ function Fd(e, t) {
1729
+ let r = Cd(e, t);
1730
+ return r ? xd(r) : t;
1732
1731
  }
1733
- function bd(e, t) {
1732
+ function Cd(e, t) {
1734
1733
  return e.oneOf.find((r) => "const" in r ? t === r.const : false);
1735
1734
  }
1736
- function Sd(e) {
1737
- let t = e.title && e.description ? `${e.title} - ${e.description}` : e.title || "", r = wd(e);
1738
- return r ? (0, pt.jsxs)(pt.Fragment, { children: [r, " ", t] }) : t;
1739
- }
1740
- function wd(e) {
1741
- var r, o;
1742
- let t = (o = Ir((r = e.icon) == null ? void 0 : r.name)) == null ? void 0 : o.currency;
1743
- return t ? (0, pt.jsx)("i", { className: `currency-flag currency-flag-${t} hidden-xs` }) : null;
1735
+ function xd(e) {
1736
+ let t = e.title && e.description ? `${e.title} - ${e.description}` : e.title || "", r = Et({ icon: e.icon });
1737
+ return r != null && r.avatar ? (0, Dt.jsxs)(Dt.Fragment, { children: [r.avatar, " ", t] }) : t;
1744
1738
  }
1745
1739
  var Qe = require("react");
1746
- var Wi = require("react/jsx-runtime");
1747
- var _i = (e) => {
1740
+ var Ji = require("react/jsx-runtime");
1741
+ var Yi = (e) => {
1748
1742
  let [t, r] = (0, Qe.useState)(e.model), o = (0, Qe.useRef)(null), [a, n] = (0, Qe.useState)(null), [s, m] = (0, Qe.useState)(null), [d, u] = (0, Qe.useState)(false), [c, b] = (0, Qe.useState)(null), y = re(), l = Z(), p = Ge(), f = async (C, A) => {
1749
1743
  let w = g(), D = { [A.param]: C };
1750
1744
  o.current = C, u(true), A.method || p.warning("Invalid schema or model", 'ValidationAsyncSchema without a "method" property would have defaulted to "GET" in previous versions. Now defaults to "POST".', {}), l("Dynamic Flow - ValidationAsync", { status: "pending" });
@@ -1766,30 +1760,30 @@ var require_main_min = __commonJS({
1766
1760
  }, O = (C) => {
1767
1761
  e.onChange(h(i({}, C), { triggerSchema: e.schema, triggerModel: C.model })), m(null), n(null), $(C.model, e.schema) && r(C.model);
1768
1762
  }, F = { required: e.required, submitted: e.submitted || d, schema: e.schema, model: t, errors: s || e.errors, onChange: O, onBlur: S, infoMessage: a };
1769
- return (0, Wi.jsx)(et, i({}, F));
1763
+ return (0, Ji.jsx)(et, i({}, F));
1770
1764
  };
1771
- _i.defaultProps = { required: false };
1772
- var Vr = _i;
1765
+ Yi.defaultProps = { required: false };
1766
+ var zr = Yi;
1773
1767
  var V = require("react/jsx-runtime");
1774
- var Fd = (e) => {
1775
- let { schema: t, model: r = null, errors: o = null, hideTitle: a = false, disabled: n = false } = e, s = h(i({}, e), { model: r, errors: o, hideTitle: a, disabled: n }), m = Fo(t), d = Ge(), u = () => d.error("Invalid schema or model", `Schema of type ${m || "undefined"} requested, but schema did not pass validation.`);
1768
+ var Od = (e) => {
1769
+ let { schema: t, model: r = null, errors: o = null, hideTitle: a = false, disabled: n = false } = e, s = h(i({}, e), { model: r, errors: o, hideTitle: a, disabled: n }), m = wo(t), d = Ge(), u = () => d.error("Invalid schema or model", `Schema of type ${m || "undefined"} requested, but schema did not pass validation.`);
1776
1770
  switch (m) {
1777
1771
  case "readOnly":
1778
1772
  return (0, V.jsx)(Ho, i({}, s));
1779
1773
  case "persistAsync":
1780
- if (wt(t) && $a(r) && St(o)) {
1774
+ if (St(t) && $a(r) && bt(o)) {
1781
1775
  let c = h(i({}, s), { schema: t, model: r, errors: o });
1782
- return (0, V.jsx)(Ur, i({}, c));
1776
+ return (0, V.jsx)(Rr, i({}, c));
1783
1777
  } else
1784
- return u(), (0, V.jsx)(Ur, i({}, e));
1778
+ return u(), (0, V.jsx)(Rr, i({}, e));
1785
1779
  case "validationAsync":
1786
- if (Vt(t) && mo(r) && St(o)) {
1780
+ if (qt(t) && co(r) && bt(o)) {
1787
1781
  let c = h(i({}, s), { schema: t, model: r, errors: o });
1788
- return (0, V.jsx)(Vr, i({}, c));
1782
+ return (0, V.jsx)(zr, i({}, c));
1789
1783
  } else
1790
- return u(), (0, V.jsx)(Vr, i({}, e));
1784
+ return u(), (0, V.jsx)(zr, i({}, e));
1791
1785
  case "basic":
1792
- if (fe(t) && mo(r) && St(o)) {
1786
+ if (fe(t) && co(r) && bt(o)) {
1793
1787
  let c = h(i({ infoMessage: null }, s), { schema: t, model: r, errors: o });
1794
1788
  return (0, V.jsx)(et, i({}, c));
1795
1789
  } else {
@@ -1797,23 +1791,23 @@ var require_main_min = __commonJS({
1797
1791
  return u(), (0, V.jsx)(et, i({}, c));
1798
1792
  }
1799
1793
  case "object":
1800
- if (ce(t) && co(r)) {
1794
+ if (ce(t) && lo(r)) {
1801
1795
  let c = h(i({}, s), { schema: t, model: r, errors: o });
1802
- return (0, V.jsx)(vt, i({}, c), JSON.stringify(t));
1796
+ return (0, V.jsx)(At, i({}, c), JSON.stringify(t));
1803
1797
  } else
1804
- return u(), (0, V.jsx)(vt, i({}, e));
1798
+ return u(), (0, V.jsx)(At, i({}, e));
1805
1799
  case "array":
1806
- if (ye(t) && Ga(r) && St(o)) {
1800
+ if (ye(t) && Ga(r) && bt(o)) {
1807
1801
  let c = h(i({}, s), { schema: t, model: r, errors: o });
1808
- return (0, V.jsx)(kr, i({}, c));
1802
+ return (0, V.jsx)(Mr, i({}, c));
1809
1803
  } else
1810
- return u(), (0, V.jsx)(kr, i({}, e));
1804
+ return u(), (0, V.jsx)(Mr, i({}, e));
1811
1805
  case "promotedOneOf":
1812
- if (jt(t) && co(r)) {
1806
+ if (Vt(t) && lo(r)) {
1813
1807
  let c = h(i({}, s), { schema: t, model: r, errors: o });
1814
- return (0, V.jsx)(jr, i({}, c));
1808
+ return (0, V.jsx)(Ur, i({}, c));
1815
1809
  } else
1816
- return u(), (0, V.jsx)(jr, i({}, e));
1810
+ return u(), (0, V.jsx)(Ur, i({}, e));
1817
1811
  case "oneOf":
1818
1812
  if (me(t)) {
1819
1813
  let c = h(i({}, s), { schema: t, model: r, errors: o });
@@ -1821,85 +1815,85 @@ var require_main_min = __commonJS({
1821
1815
  } else
1822
1816
  return u(), (0, V.jsx)(Nr, i({}, e));
1823
1817
  case "allOf":
1824
- if (zt(t) && J(r)) {
1818
+ if (Ht(t) && J(r)) {
1825
1819
  let c = h(i({}, s), { schema: t, model: r, errors: o });
1826
- return (0, V.jsx)(Ar, i({}, c));
1820
+ return (0, V.jsx)(vr, i({}, c));
1827
1821
  } else
1828
- return u(), (0, V.jsx)(Ar, i({}, e));
1822
+ return u(), (0, V.jsx)(vr, i({}, e));
1829
1823
  }
1830
1824
  return (0, V.jsx)(V.Fragment, {});
1831
1825
  };
1832
- var de = Fd;
1833
- var ft = require("react/jsx-runtime");
1834
- var Cd = (e) => {
1826
+ var de = Od;
1827
+ var pt = require("react/jsx-runtime");
1828
+ var Ad = (e) => {
1835
1829
  let t = i({ model: null, errors: null, disabled: false, baseUrl: "" }, e);
1836
- return hr() || t.baseUrl == null ? (0, ft.jsx)(de, i({}, t)) : (0, ft.jsx)(xd, { baseUrl: t.baseUrl, onEvent: t.onEvent, onLog: t.onLog, children: (0, ft.jsx)(de, i({}, t)) });
1830
+ return gr() || t.baseUrl == null ? (0, pt.jsx)(de, i({}, t)) : (0, pt.jsx)(vd, { baseUrl: t.baseUrl, onEvent: t.onEvent, onLog: t.onLog, children: (0, pt.jsx)(de, i({}, t)) });
1837
1831
  };
1838
- var er = Cd;
1839
- var xd = ({ baseUrl: e, onEvent: t, onLog: r, children: o }) => (0, ft.jsx)(gr, { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm", onLog: r != null ? r : Ki, children: (0, ft.jsx)(mr, { metadata: { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm" }, onEvent: t != null ? t : Ki, children: (0, ft.jsx)(yr, { baseUrl: e, children: o }) }) });
1840
- var Ki = () => {
1832
+ var tr = Ad;
1833
+ var vd = ({ baseUrl: e, onEvent: t, onLog: r, children: o }) => (0, pt.jsx)(br, { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm", onLog: r != null ? r : Zi, children: (0, pt.jsx)(dr, { metadata: { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm" }, onEvent: t != null ? t : Zi, children: (0, pt.jsx)(hr, { baseUrl: e, children: o }) }) });
1834
+ var Zi = () => {
1841
1835
  };
1842
1836
  var qo = require("react/jsx-runtime");
1843
- var Od = (e) => {
1837
+ var Pd = (e) => {
1844
1838
  let t = e.component, r = t.schema;
1845
- return (0, qo.jsx)("div", { className: j(t.margin || "md"), children: (0, qo.jsx)(er, { schema: r, model: e.model, submitted: e.submitted, errors: e.errors, onChange: (o) => {
1839
+ return (0, qo.jsx)("div", { className: j(t.margin || "md"), children: (0, qo.jsx)(tr, { schema: r, model: e.model, submitted: e.submitted, errors: e.errors, onChange: (o) => {
1846
1840
  e.onModelChange(i({ formSchema: r }, o));
1847
1841
  }, onPersistAsync: e.onPersistAsync }) });
1848
1842
  };
1849
- var $o = Od;
1850
- var It = require("react/jsx-runtime");
1851
- var Ad = (e) => {
1843
+ var $o = Pd;
1844
+ var Lt = require("react/jsx-runtime");
1845
+ var kd = (e) => {
1852
1846
  let { text: t, size: r = "md", align: o = "left", margin: a = "md" } = e.component, n = Ke({ align: o, margin: a });
1853
1847
  switch (r) {
1854
1848
  case "xs":
1855
- return (0, It.jsx)("h5", { className: n, children: t });
1849
+ return (0, Lt.jsx)("h5", { className: n, children: t });
1856
1850
  case "sm":
1857
- return (0, It.jsx)("h4", { className: n, children: t });
1851
+ return (0, Lt.jsx)("h4", { className: n, children: t });
1858
1852
  case "lg":
1859
- return (0, It.jsx)("h2", { className: n, children: t });
1853
+ return (0, Lt.jsx)("h2", { className: n, children: t });
1860
1854
  case "xl":
1861
- return (0, It.jsx)("h1", { className: n, children: t });
1855
+ return (0, Lt.jsx)("h1", { className: n, children: t });
1862
1856
  case "md":
1863
1857
  default:
1864
- return (0, It.jsx)("h3", { className: n, children: t });
1858
+ return (0, Lt.jsx)("h3", { className: n, children: t });
1865
1859
  }
1866
1860
  };
1867
- var Go = Ad;
1868
- var Yi = require("@transferwise/components");
1861
+ var Go = kd;
1862
+ var Xi = require("@transferwise/components");
1869
1863
  var _o = require("react/jsx-runtime");
1870
- var vd = ({ component: e }) => (0, _o.jsx)("div", { className: Ke(e), children: (0, _o.jsx)(Yi.Markdown, { config: { link: { target: "_blank" } }, children: e.markdown }) });
1871
- var Wo = vd;
1872
- var Ji = require("@transferwise/components");
1873
- var Hr = require("react");
1864
+ var Md = ({ component: e }) => (0, _o.jsx)("div", { className: Ke(e), children: (0, _o.jsx)(Xi.Markdown, { config: { link: { target: "_blank" } }, children: e.markdown }) });
1865
+ var Wo = Md;
1866
+ var Qi = require("@transferwise/components");
1867
+ var Vr = require("react");
1874
1868
  var Ko = require("react/jsx-runtime");
1875
- var Pd = ({ component: e }) => {
1876
- let { url: t, size: r, text: o, margin: a } = e, n = re(), [s, m] = (0, Hr.useState)("");
1877
- (0, Hr.useEffect)(() => {
1878
- Md(n, t).then(m);
1869
+ var Ed = ({ component: e }) => {
1870
+ let { url: t, size: r, text: o, margin: a } = e, n = re(), [s, m] = (0, Vr.useState)("");
1871
+ (0, Vr.useEffect)(() => {
1872
+ Dd(n, t).then(m);
1879
1873
  }, [t, n]);
1880
1874
  let d = { alt: o || "", src: s, stretch: true, shrink: true };
1881
- return s ? (0, Ko.jsx)("div", { className: `df-image ${r || "xl"}`, children: (0, Ko.jsx)(Ji.Image, i({ className: `img-responsive ${j(a || "lg")}` }, d)) }) : null;
1875
+ return s ? (0, Ko.jsx)("div", { className: `df-image ${r || "xl"}`, children: (0, Ko.jsx)(Qi.Image, i({ className: `img-responsive ${j(a || "lg")}` }, d)) }) : null;
1882
1876
  };
1883
- var kd = (e) => new Promise((t, r) => {
1877
+ var Id = (e) => new Promise((t, r) => {
1884
1878
  let o = new FileReader();
1885
1879
  o.addEventListener("loadend", () => t(o.result)), o.addEventListener("error", (a) => r(a)), o.readAsDataURL(e);
1886
1880
  });
1887
- var Md = async (e, t) => {
1881
+ var Dd = async (e, t) => {
1888
1882
  var r;
1889
1883
  try {
1890
- return ur(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) => {
1884
+ return pr(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) => {
1891
1885
  if (o.ok)
1892
1886
  return o.blob();
1893
1887
  throw new Error("Image fetching failed");
1894
- }).then(kd).catch(() => t) : t;
1888
+ }).then(Id).catch(() => t) : t;
1895
1889
  } catch (o) {
1896
1890
  return t;
1897
1891
  }
1898
1892
  };
1899
- var Yo = Pd;
1893
+ var Yo = Ed;
1900
1894
  var H = require("react/jsx-runtime");
1901
1895
  var X = (e) => JSON.stringify(e);
1902
- var Ed = (e) => {
1896
+ var Ld = (e) => {
1903
1897
  let { components: t, model: r, submitted: o, errors: a, onModelChange: n, onAction: s, onPersistAsync: m, baseUrl: d } = e, u = (c) => {
1904
1898
  switch (c.type) {
1905
1899
  case "heading":
@@ -1913,21 +1907,21 @@ var require_main_min = __commonJS({
1913
1907
  case "review":
1914
1908
  return (0, H.jsx)(Qo, { component: c, onAction: s }, X(c));
1915
1909
  case "divider":
1916
- return (0, H.jsx)(vo, { component: c }, X(c));
1910
+ return (0, H.jsx)(Ao, { component: c }, X(c));
1917
1911
  case "info":
1918
1912
  return (0, H.jsx)(Wo, { component: c }, X(c));
1919
1913
  case "columns":
1920
- return (0, H.jsx)(Oo, { component: c, model: r, submitted: o, errors: a, onModelChange: n, onAction: s, onPersistAsync: m }, X(c));
1914
+ return (0, H.jsx)(xo, { component: c, model: r, submitted: o, errors: a, onModelChange: n, onAction: s, onPersistAsync: m }, X(c));
1921
1915
  case "form":
1922
1916
  return (0, H.jsx)($o, { component: c, model: r, submitted: o, errors: a, onModelChange: n, onPersistAsync: m }, X(c));
1923
1917
  case "button":
1924
- return (0, H.jsx)(xo, { component: c, onAction: s }, X(c));
1918
+ return (0, H.jsx)(Co, { component: c, onAction: s }, X(c));
1925
1919
  case "box":
1926
- return (0, H.jsx)(Co, { component: c, model: r, submitted: o, errors: a, onModelChange: n, onAction: s, onPersistAsync: m }, X(c));
1920
+ return (0, H.jsx)(Fo, { component: c, model: r, submitted: o, errors: a, onModelChange: n, onAction: s, onPersistAsync: m }, X(c));
1927
1921
  case "decision":
1928
- return (0, H.jsx)(Ao, { component: c, onAction: s }, X(c));
1922
+ return (0, H.jsx)(Oo, { component: c, onAction: s }, X(c));
1929
1923
  case "external":
1930
- return (0, H.jsx)(Po, { component: c, onAction: s }, X(c));
1924
+ return (0, H.jsx)(vo, { component: c, onAction: s }, X(c));
1931
1925
  case "list":
1932
1926
  return (0, H.jsx)(Jo, { component: c, onAction: s }, X(c));
1933
1927
  case "loading-indicator":
@@ -1936,65 +1930,65 @@ var require_main_min = __commonJS({
1936
1930
  return (0, H.jsx)("div", {}, X(c));
1937
1931
  }
1938
1932
  };
1939
- return hr() || d == null ? (0, H.jsx)(H.Fragment, { children: t.map(u) }) : (0, H.jsx)(yr, { baseUrl: d, children: t.map(u) });
1933
+ return gr() || d == null ? (0, H.jsx)(H.Fragment, { children: t.map(u) }) : (0, H.jsx)(hr, { baseUrl: d, children: t.map(u) });
1940
1934
  };
1941
- var ne = Ed;
1942
- var Zi = require("@transferwise/components");
1943
- var Dt = require("react/jsx-runtime");
1944
- var Id = ({ component: e }) => (0, Dt.jsxs)("div", { className: j(e.margin || "md"), children: [e.title ? (0, Dt.jsxs)("h4", { className: "m-b-2", children: [" ", e.title, " "] }) : null, e.items.map(Dd)] });
1945
- function Dd({ title: e, description: t, icon: r, status: o }) {
1946
- let a = i(i({ key: `${e}/${t || ""}`, title: e, description: t }, r != null && r.name ? { icon: (0, Dt.jsx)(Je, { type: r.name }) } : {}), o ? { status: Ld[o] } : {});
1947
- return (0, Dt.jsx)(Zi.Summary, i({}, a));
1935
+ var ne = Ld;
1936
+ var es = require("@transferwise/components");
1937
+ var Tt = require("react/jsx-runtime");
1938
+ var Td = ({ component: e }) => (0, Tt.jsxs)("div", { className: j(e.margin || "md"), children: [e.title ? (0, Tt.jsxs)("h4", { className: "m-b-2", children: [" ", e.title, " "] }) : null, e.items.map(Nd)] });
1939
+ function Nd({ title: e, description: t, icon: r, status: o }) {
1940
+ let a = i(i({ key: `${e}/${t || ""}`, title: e, description: t }, r != null && r.name ? { icon: (0, Tt.jsx)(Je, { type: r.name }) } : {}), o ? { status: Bd[o] } : {});
1941
+ return (0, Tt.jsx)(es.Summary, i({}, a));
1948
1942
  }
1949
- var Ld = { positive: "done", warning: "pending", neutral: "notDone" };
1950
- var Jo = Id;
1951
- var Xi = require("@transferwise/components");
1952
- var Qi = require("react/jsx-runtime");
1953
- var Td = ({ component: e }) => {
1943
+ var Bd = { positive: "done", warning: "pending", neutral: "notDone" };
1944
+ var Jo = Td;
1945
+ var ts = require("@transferwise/components");
1946
+ var rs = require("react/jsx-runtime");
1947
+ var Rd = ({ component: e }) => {
1954
1948
  let { margin: t, size: r = "md" } = e;
1955
- return (0, Qi.jsx)(Xi.Loader, { size: r, classNames: { "tw-loader": `tw-loader m-x-auto ${j(t)}` }, "data-testid": "loading-indicator" });
1949
+ return (0, rs.jsx)(ts.Loader, { size: r, classNames: { "tw-loader": `tw-loader m-x-auto ${j(t)}` }, "data-testid": "loading-indicator" });
1956
1950
  };
1957
- var Zo = Td;
1951
+ var Zo = Rd;
1952
+ var ss = require("@transferwise/components");
1953
+ var ls = require("react-intl");
1954
+ var os = require("react-intl");
1955
+ var ea = (0, os.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." } });
1958
1956
  var as = require("@transferwise/components");
1959
- var ns = require("react-intl");
1960
- var es = require("react-intl");
1961
- var ea = (0, es.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." } });
1962
- var ts = require("@transferwise/components");
1963
- var rs = require("react");
1964
- function os() {
1965
- let e = (0, rs.useContext)(ts.SnackbarContext);
1966
- return e ? e.createSnackbar : Bd;
1957
+ var ns = require("react");
1958
+ function is() {
1959
+ let e = (0, ns.useContext)(as.SnackbarContext);
1960
+ return e ? e.createSnackbar : Ud;
1967
1961
  }
1968
- function Bd() {
1962
+ function Ud() {
1969
1963
  }
1970
1964
  var tt = require("react/jsx-runtime");
1971
- var Nd = ({ component: e }) => e.control === "copyable" ? (0, tt.jsx)(Ud, { component: e }) : (0, tt.jsx)(Rd, { component: e });
1972
- var Rd = ({ component: e }) => (0, tt.jsxs)("p", { className: Ke(e), children: [" ", e.text, " "] });
1973
- var Ud = ({ component: e }) => {
1974
- let { formatMessage: t } = (0, ns.useIntl)(), r = os(), { text: o } = e, a = () => {
1965
+ var jd = ({ component: e }) => e.control === "copyable" ? (0, tt.jsx)(Vd, { component: e }) : (0, tt.jsx)(zd, { component: e });
1966
+ var zd = ({ component: e }) => (0, tt.jsxs)("p", { className: Ke(e), children: [" ", e.text, " "] });
1967
+ var Vd = ({ component: e }) => {
1968
+ let { formatMessage: t } = (0, ls.useIntl)(), r = is(), { text: o } = e, a = () => {
1975
1969
  var s;
1976
- (s = navigator.clipboard) == null || s.writeText(o).then(() => r({ text: t(ea.copied) })).catch(jd);
1970
+ (s = navigator.clipboard) == null || s.writeText(o).then(() => r({ text: t(ea.copied) })).catch(Hd);
1977
1971
  }, n = Ke({ align: e.align, margin: "sm" }) + " form-control";
1978
- return (0, tt.jsxs)("div", { className: Ke(e), children: [(0, tt.jsx)("input", { type: "text", className: n, value: o, readOnly: true, style: { textOverflow: "ellipsis" } }), (0, tt.jsx)(as.Button, { block: true, onClick: a, children: t(ea.copy) })] });
1972
+ return (0, tt.jsxs)("div", { className: Ke(e), children: [(0, tt.jsx)("input", { type: "text", className: n, value: o, readOnly: true, style: { textOverflow: "ellipsis" } }), (0, tt.jsx)(ss.Button, { block: true, onClick: a, children: t(ea.copy) })] });
1979
1973
  };
1980
- function jd() {
1974
+ function Hd() {
1981
1975
  }
1982
- var Xo = Nd;
1983
- var is = require("@transferwise/components");
1984
- var Ue = require("react/jsx-runtime");
1985
- var zd = ({ label: e, value: t }, r) => ({ key: String(r), title: e, value: t });
1986
- var Vd = (e) => e === "horizontal" ? "HORIZONTAL_RIGHT_ALIGNED" : "VERTICAL_ONE_COLUMN";
1987
- var Hd = (e) => {
1988
- let t = e.component, r = j(t.margin || "xs"), o = (a) => (0, Ue.jsx)("a", { href: a.url, className: "pull-right", role: "button", onClick: (n) => {
1976
+ var Xo = jd;
1977
+ var cs = require("@transferwise/components");
1978
+ var je = require("react/jsx-runtime");
1979
+ var qd = ({ label: e, value: t }, r) => ({ key: String(r), title: e, value: t });
1980
+ var $d = (e) => e === "horizontal" ? "HORIZONTAL_RIGHT_ALIGNED" : "VERTICAL_ONE_COLUMN";
1981
+ var Gd = (e) => {
1982
+ let t = e.component, r = j(t.margin || "xs"), o = (a) => (0, je.jsx)("a", { href: a.url, className: "pull-right", role: "button", onClick: (n) => {
1989
1983
  n.preventDefault(), e.onAction(a);
1990
1984
  }, children: a.title });
1991
- 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)(is.DefinitionList, { layout: Vd(t.orientation), definitions: t.fields.map(zd) }) })] });
1985
+ return (0, je.jsxs)(je.Fragment, { children: [t.title && (0, je.jsxs)("h6", { className: "m-b-2", children: [t.title, t.action && o(t.action)] }), (0, je.jsx)("div", { className: r, children: (0, je.jsx)(cs.DefinitionList, { layout: $d(t.orientation), definitions: t.fields.map(qd) }) })] });
1992
1986
  };
1993
- var Qo = Hd;
1987
+ var Qo = Gd;
1994
1988
  var se = require("react/jsx-runtime");
1995
1989
  var ta = (e) => E(e) || K(e);
1996
- var qd = (e) => e.type === "boolean" && ta(e.default) ? false : e.default;
1997
- var ls = (e) => {
1990
+ var _d = (e) => e.type === "boolean" && ta(e.default) ? false : e.default;
1991
+ var ds = (e) => {
1998
1992
  var ee, v, T;
1999
1993
  let t = (M) => {
2000
1994
  y(true), o(a(M), "user");
@@ -2004,10 +1998,10 @@ var require_main_min = __commonJS({
2004
1998
  O(pe);
2005
1999
  let le = M;
2006
2000
  c(le), le !== u && e.onChange({ model: le, triggerSchema: e.schema, triggerModel: le, lastTriggerModel: u, type: ue });
2007
- }, a = (M) => De(M, e.schema), n = () => p(true), s = () => {
2001
+ }, a = (M) => Le(M, e.schema), n = () => p(true), s = () => {
2008
2002
  p(false), g(true), e.onBlur && e.onBlur();
2009
2003
  }, [m, d] = (0, ie.useState)((ee = e.model) != null ? ee : null), [u, c] = (0, ie.useState)((v = e.model) != null ? v : null), [b, y] = (0, ie.useState)(false), [l, p] = (0, ie.useState)(false), [f, g] = (0, ie.useState)(false), [S, O] = (0, ie.useState)([]), F = (0, ie.useMemo)(() => e.schema.$id || ve(), [e.schema.$id]), C = () => {
2010
- let M = qd(e.schema);
2004
+ let M = _d(e.schema);
2011
2005
  ta(m) && !ta(M) && o(M, "init"), e.schema.const && o(e.schema.const, "init");
2012
2006
  }, A = () => {
2013
2007
  O(r(m));
@@ -2017,27 +2011,27 @@ var require_main_min = __commonJS({
2017
2011
  return d((M = e.model) != null ? M : null);
2018
2012
  }, [e.model]);
2019
2013
  let k = { "form-group": true, "has-error": (e.submitted || !b) && !!e.errors || (e.submitted || b && f) && !!S.length, "has-info": l && !!e.schema.description || !!e.infoMessage }, I = e.schema.format !== "file" && e.schema.type !== "boolean", q = e.schema.help;
2020
- return D ? null : (0, se.jsxs)(se.Fragment, { children: [e.schema.alert && (0, se.jsx)(ae, { component: e.schema.alert }), (0, se.jsxs)("div", { className: (0, ss.default)(k), children: [I && (0, se.jsxs)("div", { className: "d-inline-block", children: [(0, se.jsx)("label", { className: "control-label d-inline", htmlFor: F, children: e.schema.title }), !!q && (0, se.jsx)(Pt, { help: q })] }), !I && !!q && (0, se.jsx)(Pt, { help: q }), (0, se.jsx)(Yt, { id: F, schema: e.schema, value: m, disabled: !!e.disabled, onChange: t, onFocus: n, onBlur: s }), (0, se.jsx)(Te, { changed: b, focused: l, blurred: f, submitted: e.submitted, errors: (T = e.errors) != null ? T : null, schema: e.schema, validations: S, infoMessage: e.infoMessage })] })] });
2014
+ return D ? null : (0, se.jsxs)(se.Fragment, { children: [e.schema.alert && (0, se.jsx)(ae, { component: e.schema.alert }), (0, se.jsxs)("div", { className: (0, ms.default)(k), children: [I && (0, se.jsxs)("div", { className: "d-inline-block", children: [(0, se.jsx)("label", { className: "control-label d-inline", htmlFor: F, children: e.schema.title }), !!q && (0, se.jsx)(vt, { help: q })] }), !I && !!q && (0, se.jsx)(vt, { help: q }), (0, se.jsx)(Jt, { id: F, schema: e.schema, value: m, disabled: !!e.disabled, onChange: t, onFocus: n, onBlur: s }), (0, se.jsx)(Ne, { changed: b, focused: l, blurred: f, submitted: e.submitted, errors: (T = e.errors) != null ? T : null, schema: e.schema, validations: S, infoMessage: e.infoMessage })] })] });
2021
2015
  };
2022
- ls.defaultProps = { required: false, disabled: false, onBlur: null };
2023
- var et = ls;
2024
- var us = require("react/jsx-runtime");
2016
+ ds.defaultProps = { required: false, disabled: false, onBlur: null };
2017
+ var et = ds;
2018
+ var ys = require("react/jsx-runtime");
2025
2019
  var Uo = (e, t) => t[e];
2026
- var ms = (e, t) => {
2020
+ var ps = (e, t) => {
2027
2021
  var r;
2028
2022
  return (r = t.validation) == null ? void 0 : r[e];
2029
2023
  };
2030
- var $d = /* @__PURE__ */ new Set([N.RADIO, N.SELECT, N.DATELOOKUP, N.FILE, N.UPLOAD]);
2031
- var ds = (e) => {
2032
- let t = (0, cs.useIntl)(), r = re(), o = Z(), [a, n] = (0, yt.useState)(null), s = ps(a), [m, d] = (0, yt.useState)(null), [u, c] = (0, yt.useState)(false), [b, y] = (0, yt.useState)(null), l = Ge();
2033
- (0, yt.useEffect)(() => {
2034
- $d.has(Bo(e.schema.persistAsync.schema, l)) && S();
2024
+ var Wd = /* @__PURE__ */ new Set([B.RADIO, B.SELECT, B.DATELOOKUP, B.FILE, B.UPLOAD]);
2025
+ var fs = (e) => {
2026
+ let t = (0, us.useIntl)(), r = re(), o = Z(), [a, n] = (0, ft.useState)(null), s = hs(a), [m, d] = (0, ft.useState)(null), [u, c] = (0, ft.useState)(false), [b, y] = (0, ft.useState)(null), l = Ge();
2027
+ (0, ft.useEffect)(() => {
2028
+ Wd.has(No(e.schema.persistAsync.schema, l)) && S();
2035
2029
  }, [a]);
2036
- let p = () => d(t.formatMessage(_t.genericError)), f = async (C, A) => {
2030
+ let p = () => d(t.formatMessage(Kt.genericError)), f = async (C, A) => {
2037
2031
  let w = g(), D = { [A.param]: C };
2038
2032
  c(true);
2039
2033
  try {
2040
- o("Dynamic Flow - PersistAsync", { status: "pending", schemaId: Cr.$id });
2034
+ o("Dynamic Flow - PersistAsync", { status: "pending", schemaId: xr.$id });
2041
2035
  let k = r(A.url, { method: A.method, headers: { "Content-Type": "application/json" }, body: JSON.stringify(D), signal: w });
2042
2036
  e.onPersistAsync(k);
2043
2037
  let I = await k, q = await I.json();
@@ -2047,14 +2041,14 @@ var require_main_min = __commonJS({
2047
2041
  if (za(I.status)) {
2048
2042
  let T = Uo(ee, q);
2049
2043
  e.onChange({ model: T, triggerSchema: e.schema, triggerModel: T });
2050
- } else if (dr(I.status)) {
2044
+ } else if (ur(I.status)) {
2051
2045
  let { validation: T } = q, M = R(T) && (T == null ? void 0 : T[v]) || null;
2052
2046
  d(M), e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null });
2053
2047
  } else
2054
2048
  p();
2055
- o("Dynamic Flow - PersistAsync", { status: "success", schemaId: Cr.$id });
2049
+ o("Dynamic Flow - PersistAsync", { status: "success", schemaId: xr.$id });
2056
2050
  } catch (k) {
2057
- o("Dynamic Flow - PersistAsync", { status: "failure", schemaId: Cr.$id }), p();
2051
+ o("Dynamic Flow - PersistAsync", { status: "failure", schemaId: xr.$id }), p();
2058
2052
  }
2059
2053
  }, g = () => {
2060
2054
  b && b.abort();
@@ -2067,12 +2061,12 @@ var require_main_min = __commonJS({
2067
2061
  }, F = ({ model: C }) => {
2068
2062
  d(null), $(C, e.schema.persistAsync.schema) && n(C);
2069
2063
  };
2070
- return (0, us.jsx)(et, { required: e.required, submitted: e.submitted || u, schema: e.schema.persistAsync.schema, errors: m || e.errors, model: null, infoMessage: null, onChange: F, onBlur: O });
2064
+ return (0, ys.jsx)(et, { required: e.required, submitted: e.submitted || u, schema: e.schema.persistAsync.schema, errors: m || e.errors, model: null, infoMessage: null, onChange: F, onBlur: O });
2071
2065
  };
2072
- ds.defaultProps = { required: false };
2073
- var No = ds;
2066
+ fs.defaultProps = { required: false };
2067
+ var Bo = fs;
2074
2068
  var ti = (e) => {
2075
- let [t, r] = (0, fs.useState)(null), o = re(), a = (0, ys.useIntl)(), { schema: n } = e;
2069
+ let [t, r] = (0, gs.useState)(null), o = re(), a = (0, bs.useIntl)(), { schema: n } = e;
2076
2070
  async function s(y) {
2077
2071
  let l = y instanceof Blob ? !st(n) : !$(y, n);
2078
2072
  return (E(y) || l) && b(), await u(y);
@@ -2083,7 +2077,7 @@ var require_main_min = __commonJS({
2083
2077
  return r(y), y.signal;
2084
2078
  };
2085
2079
  function d(y) {
2086
- let l = st(n), p = m(), f = e.param, g = l ? Gd(f, y) : JSON.stringify({ [f]: y });
2080
+ let l = st(n), p = m(), f = e.param, g = l ? Kd(f, y) : JSON.stringify({ [f]: y });
2087
2081
  return { method: e.method, headers: i({}, !l && { "Content-Type": "application/json" }), body: g, signal: p };
2088
2082
  }
2089
2083
  async function u(y) {
@@ -2094,7 +2088,7 @@ var require_main_min = __commonJS({
2094
2088
  let p = await l.json();
2095
2089
  if (R(p)) {
2096
2090
  let f = p[e.idProperty];
2097
- if (L(f) || B(f))
2091
+ if (L(f) || N(f))
2098
2092
  return { data: f };
2099
2093
  }
2100
2094
  return b();
@@ -2106,29 +2100,29 @@ var require_main_min = __commonJS({
2106
2100
  if (y.status === 422) {
2107
2101
  let l = await y.json();
2108
2102
  if (R(l)) {
2109
- let p = ms(e.param, l);
2103
+ let p = ps(e.param, l);
2110
2104
  if (L(p))
2111
2105
  throw new Error(p);
2112
2106
  }
2113
2107
  }
2114
- throw new Error(a.formatMessage(_t.genericError));
2108
+ throw new Error(a.formatMessage(Kt.genericError));
2115
2109
  }
2116
2110
  let b = (y) => {
2117
- let l = _d(y) ? y.message : a.formatMessage(_t.genericError);
2111
+ let l = Yd(y) ? y.message : a.formatMessage(Kt.genericError);
2118
2112
  throw new Error(l);
2119
2113
  };
2120
2114
  return s;
2121
2115
  };
2122
- function Gd(e, t) {
2116
+ function Kd(e, t) {
2123
2117
  let r = new FormData();
2124
2118
  return t !== null && r.append(e, t), r;
2125
2119
  }
2126
- function _d(e) {
2120
+ function Yd(e) {
2127
2121
  return R(e) && "message" in e && typeof e.message == "string";
2128
2122
  }
2129
2123
  var rt = require("react");
2130
- function Fr({ asyncFn: e, interval: t, maxAttempts: r, maxConsecutiveFails: o, onPollingResponse: a, onFailure: n }) {
2131
- let s = (0, rt.useRef)(a), m = (0, rt.useRef)(n), d = (0, rt.useMemo)(() => Wd(e, r, o, (u) => s.current(u), () => m.current()), [e, r, o]);
2124
+ function Cr({ asyncFn: e, interval: t, maxAttempts: r, maxConsecutiveFails: o, onPollingResponse: a, onFailure: n }) {
2125
+ let s = (0, rt.useRef)(a), m = (0, rt.useRef)(n), d = (0, rt.useMemo)(() => Jd(e, r, o, (u) => s.current(u), () => m.current()), [e, r, o]);
2132
2126
  (0, rt.useEffect)(() => {
2133
2127
  if (t > 0) {
2134
2128
  let u = setInterval(() => {
@@ -2140,7 +2134,7 @@ var require_main_min = __commonJS({
2140
2134
  s.current = a, m.current = n;
2141
2135
  }, [a, n]);
2142
2136
  }
2143
- function Wd(e, t, r, o, a) {
2137
+ function Jd(e, t, r, o, a) {
2144
2138
  let n = true, s = 0, m = 0;
2145
2139
  return e ? () => {
2146
2140
  n && (m++, e().then((d) => {
@@ -2153,65 +2147,65 @@ var require_main_min = __commonJS({
2153
2147
  } : () => {
2154
2148
  };
2155
2149
  }
2156
- var qr = require("react");
2157
- var ps = (e) => {
2158
- let t = (0, qr.useRef)();
2159
- return (0, qr.useEffect)(() => {
2150
+ var Hr = require("react");
2151
+ var hs = (e) => {
2152
+ let t = (0, Hr.useRef)();
2153
+ return (0, Hr.useEffect)(() => {
2160
2154
  t.current = e;
2161
2155
  }, [e]), t.current;
2162
2156
  };
2163
- var tr = require("react");
2164
- function hs(e, t) {
2165
- let r = re(), o = (0, tr.useMemo)(() => {
2157
+ var rr = require("react");
2158
+ function Ss(e, t) {
2159
+ let r = re(), o = (0, rr.useMemo)(() => {
2166
2160
  if (e)
2167
2161
  return () => r(e.url).then((n) => {
2168
2162
  if (n.ok)
2169
2163
  return n.json().then((s) => s).catch((s) => null);
2170
2164
  throw new Error("failed");
2171
2165
  });
2172
- }, [e, r]), a = (0, tr.useCallback)((n) => n != null && n.action ? (t(n.action), false) : true, [t]);
2173
- Fr({ 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, tr.useCallback)(() => {
2166
+ }, [e, r]), a = (0, rr.useCallback)((n) => n != null && n.action ? (t(n.action), false) : true, [t]);
2167
+ Cr({ 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)(() => {
2174
2168
  e && t(e.onError.action);
2175
2169
  }, [t, e]) });
2176
2170
  }
2177
- var gs = require("react/jsx-runtime");
2178
- var Kd = (e, t) => {
2171
+ var ws = require("react/jsx-runtime");
2172
+ var Zd = (e, t) => {
2179
2173
  var o;
2180
- if (!e || Ft(e) || !e.layout && !e.type)
2174
+ if (!e || wt(e) || !e.layout && !e.type)
2181
2175
  return [];
2182
- let r = Ut(e, t);
2176
+ let r = zt(e, t);
2183
2177
  return $e({ layout: r, schemas: e.schemas || [], actions: e.actions || [], model: (o = e.model) != null ? o : null });
2184
2178
  };
2185
- var Yd = (e) => {
2186
- let { stepSpecification: t, stepLayoutOptions: r, submitted: o, model: a, formErrors: n, onModelChange: s } = e, m = Kd(t, r), { loading: d, registerPersistAsyncPromise: u } = cr(), c = Z(), b = d ? () => {
2179
+ var Xd = (e) => {
2180
+ let { stepSpecification: t, stepLayoutOptions: r, submitted: o, model: a, formErrors: n, onModelChange: s } = e, m = Zd(t, r), { loading: d, registerPersistAsyncPromise: u } = mr(), c = Z(), b = d ? () => {
2187
2181
  c("Dynamic Flow - onAction supressed", { reason: "LayoutStep - loading state" });
2188
2182
  } : e.onAction;
2189
- return hs(t.polling, b), (0, gs.jsx)(ne, { components: m, submitted: o, model: a, errors: n, onAction: b, onModelChange: s, onPersistAsync: u });
2183
+ return Ss(t.polling, b), (0, ws.jsx)(ne, { components: m, submitted: o, model: a, errors: n, onAction: b, onModelChange: s, onPersistAsync: u });
2190
2184
  };
2191
- var $r = Yd;
2192
- var Yr = require("react");
2185
+ var qr = Xd;
2186
+ var Kr = require("react");
2193
2187
  var Ce = require("react");
2194
- var zs = require("react-intl");
2195
- var Vs = qe(bs());
2196
- var Ss = require("react-intl");
2197
- var or = (0, Ss.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" } });
2188
+ var qs = require("react-intl");
2189
+ var $s = Ee(Fs());
2190
+ var Cs = require("react-intl");
2191
+ var ar = (0, Cs.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" } });
2198
2192
  var Fe = require("@transferwise/components");
2199
- var ws = require("react-intl");
2193
+ var xs = require("react-intl");
2200
2194
  var we = require("react/jsx-runtime");
2201
- var Fs = ({ onCapture: e }) => (0, we.jsx)("div", { className: "bottom-bar", children: (0, we.jsx)(Jd, { onClick: e }) });
2202
- var Cs = ({ onSubmit: e, onRetry: t }) => {
2203
- let r = (0, ws.useIntl)();
2204
- return (0, we.jsx)("div", { className: "bottom-bar p-x-2", children: (0, we.jsx)("div", { className: "row", children: (0, we.jsxs)("div", { className: "col-xs-12 col-md-6 col-md-offset-3", children: [(0, we.jsx)(Fe.Button, { className: "m-b-1", block: true, size: Fe.Size.MEDIUM, type: Fe.ControlType.ACCENT, onClick: e, children: r.formatMessage(or.reviewSubmit) }), (0, we.jsx)(Fe.Button, { className: "m-b-2", block: true, size: Fe.Size.MEDIUM, type: Fe.ControlType.ACCENT, priority: Fe.Priority.SECONDARY, onClick: t, children: r.formatMessage(or.reviewRetry) })] }) }) });
2205
- };
2206
- var Jd = ({ onClick: e }) => (0, we.jsx)("button", { type: "button", className: "camera-capture-btn m-b-2", "data-testid": "camera-capture-button", onClick: e, children: (0, we.jsx)("span", { className: "camera-capture-btn-inner" }) });
2207
- var _r = require("react");
2208
- var xs = (e) => {
2195
+ var Os = ({ onCapture: e }) => (0, we.jsx)("div", { className: "bottom-bar", children: (0, we.jsx)(Qd, { onClick: e }) });
2196
+ var As = ({ onSubmit: e, onRetry: t }) => {
2197
+ let r = (0, xs.useIntl)();
2198
+ return (0, we.jsx)("div", { className: "bottom-bar p-x-2", children: (0, we.jsx)("div", { className: "row", children: (0, we.jsxs)("div", { className: "col-xs-12 col-md-6 col-md-offset-3", children: [(0, we.jsx)(Fe.Button, { className: "m-b-1", block: true, size: Fe.Size.MEDIUM, type: Fe.ControlType.ACCENT, onClick: e, children: r.formatMessage(ar.reviewSubmit) }), (0, we.jsx)(Fe.Button, { className: "m-b-2", block: true, size: Fe.Size.MEDIUM, type: Fe.ControlType.ACCENT, priority: Fe.Priority.SECONDARY, onClick: t, children: r.formatMessage(ar.reviewRetry) })] }) }) });
2199
+ };
2200
+ var Qd = ({ onClick: e }) => (0, we.jsx)("button", { type: "button", className: "camera-capture-btn m-b-2", "data-testid": "camera-capture-button", onClick: e, children: (0, we.jsx)("span", { className: "camera-capture-btn-inner" }) });
2201
+ var Gr = require("react");
2202
+ var vs = (e) => {
2209
2203
  var r;
2210
- let { facingMode: t } = ((r = Gr(e)) == null ? void 0 : r.getSettings()) || {};
2204
+ let { facingMode: t } = ((r = $r(e)) == null ? void 0 : r.getSettings()) || {};
2211
2205
  return t === "user" || t === void 0;
2212
2206
  };
2213
- var Os = (e) => !!((e == null ? void 0 : e.label) || "").match(/camera2? 0/g);
2214
- var As = async (e) => {
2207
+ var Ps = (e) => !!((e == null ? void 0 : e.label) || "").match(/camera2? 0/g);
2208
+ var ks = async (e) => {
2215
2209
  let t = document.createElement("canvas");
2216
2210
  if (e) {
2217
2211
  t.setAttribute("height", `${e.videoHeight}`), t.setAttribute("width", `${e.videoWidth}`);
@@ -2220,35 +2214,35 @@ var require_main_min = __commonJS({
2220
2214
  }
2221
2215
  return t;
2222
2216
  };
2223
- var vs = async () => {
2217
+ var Ms = async () => {
2224
2218
  var e, t;
2225
2219
  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");
2226
2220
  };
2227
- var Ps = async () => {
2221
+ var Es = async () => {
2228
2222
  var e, t;
2229
2223
  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);
2230
2224
  };
2231
- var ks = async (e) => {
2225
+ var Is = async (e) => {
2232
2226
  var r, o, a;
2233
2227
  let t = oa(e);
2234
2228
  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;
2235
2229
  };
2236
- var Gr = (e) => {
2230
+ var $r = (e) => {
2237
2231
  var t;
2238
2232
  return (((t = e == null ? void 0 : e.getVideoTracks) == null ? void 0 : t.call(e)) || [])[0];
2239
2233
  };
2240
2234
  var oa = (e) => {
2241
2235
  var t, r;
2242
- return (r = (t = Gr(e)) == null ? void 0 : t.getCapabilities) == null ? void 0 : r.call(t);
2236
+ return (r = (t = $r(e)) == null ? void 0 : t.getCapabilities) == null ? void 0 : r.call(t);
2243
2237
  };
2244
- var Ms = (e) => {
2245
- let [t, r] = (0, _r.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 };
2246
- (0, _r.useEffect)(() => {
2238
+ var Ds = (e) => {
2239
+ let [t, r] = (0, Gr.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 };
2240
+ (0, Gr.useEffect)(() => {
2247
2241
  a(e).then(r);
2248
2242
  }, [e]);
2249
2243
  let a = async (n) => {
2250
2244
  if (n === "back") {
2251
- let s = (await vs()).find(Os);
2245
+ let s = (await Ms()).find(Ps);
2252
2246
  if (s != null && s.deviceId)
2253
2247
  return h(i({}, o), { deviceId: { exact: s.deviceId } });
2254
2248
  }
@@ -2256,19 +2250,19 @@ var require_main_min = __commonJS({
2256
2250
  };
2257
2251
  return { videoConstraints: t };
2258
2252
  };
2259
- var Wr = require("react");
2253
+ var _r = require("react");
2260
2254
  var _ = require("react/jsx-runtime");
2261
- var Zd = 92;
2262
- var Es = 120;
2263
- var Xd = 40;
2264
- var Qd = 32;
2265
- var eu = 48;
2255
+ var eu = 92;
2256
+ var Ls = 120;
2266
2257
  var tu = 40;
2267
- var Is = 800;
2268
- var ru = ({ overlay: e, outline: t, imageUrl: r, title: o, instructions: a, reviewInstructions: n }) => {
2269
- let s = (0, Wr.useRef)(null);
2270
- (0, Wr.useEffect)(() => {
2271
- let y = xt(() => {
2258
+ var ru = 32;
2259
+ var ou = 48;
2260
+ var au = 40;
2261
+ var Ts = 800;
2262
+ var nu = ({ overlay: e, outline: t, imageUrl: r, title: o, instructions: a, reviewInstructions: n }) => {
2263
+ let s = (0, _r.useRef)(null);
2264
+ (0, _r.useEffect)(() => {
2265
+ let y = Ct(() => {
2272
2266
  var l;
2273
2267
  if ((l = s.current) != null && l.innerHTML) {
2274
2268
  let p = s.current;
@@ -2277,152 +2271,152 @@ var require_main_min = __commonJS({
2277
2271
  }, 100);
2278
2272
  return window.addEventListener("resize", y), () => window.removeEventListener("resize", y);
2279
2273
  });
2280
- let m = (r ? Xd : 0) + (o ? Qd : 0) + (a ? eu : 0), d = (0, _.jsxs)(_.Fragment, { children: [r && (0, _.jsx)("img", { className: "camera-capture-img", src: r, alt: "" }), o && (0, _.jsx)("h4", { className: "camera-capture-title", children: o }), a && (0, _.jsx)("small", { className: "camera-capture-instructions", children: a })] }), u = Zd + m;
2274
+ let m = (r ? tu : 0) + (o ? ru : 0) + (a ? ou : 0), d = (0, _.jsxs)(_.Fragment, { children: [r && (0, _.jsx)("img", { className: "camera-capture-img", src: r, alt: "" }), o && (0, _.jsx)("h4", { className: "camera-capture-title", children: o }), a && (0, _.jsx)("small", { className: "camera-capture-instructions", children: a })] }), u = eu + m;
2281
2275
  if (n) {
2282
- m = u - Es, d = (0, _.jsx)("small", { className: "camera-capture-instructions", children: n });
2283
- let y = Es + tu;
2276
+ m = u - Ls, d = (0, _.jsx)("small", { className: "camera-capture-instructions", children: n });
2277
+ let y = Ls + au;
2284
2278
  u < y && (d = (0, _.jsx)(_.Fragment, {}));
2285
2279
  }
2286
- let c = { x: "50%", y: "5%", width: `min(90%, ${Is}px)`, height: `calc(90% - ${u}px)`, style: { transform: `translateX(max(-45%, -${Is / 2}px))` } }, b = { style: { left: "5%", top: `calc(100% - ${u}px - 5%)`, height: `calc(${m}px + 5%)`, width: "90%" } };
2280
+ let c = { x: "50%", y: "5%", width: `min(90%, ${Ts}px)`, height: `calc(90% - ${u}px)`, style: { transform: `translateX(max(-45%, -${Ts / 2}px))` } }, b = { style: { left: "5%", top: `calc(100% - ${u}px - 5%)`, height: `calc(${m}px + 5%)`, width: "90%" } };
2287
2281
  return (0, _.jsxs)("svg", { ref: s, xmlns: "http://www.w3.org/2000/svg", children: [(0, _.jsx)("defs", { children: (0, _.jsxs)("mask", { id: "mask", children: [(0, _.jsx)("rect", { width: "100%", height: "100%", fill: "#fff" }), (0, _.jsx)("image", i({ href: e }, c))] }) }), e && (0, _.jsx)("rect", { width: "100%", height: "100%", mask: "url(#mask)", fillOpacity: "0.72" }), t && (0, _.jsx)("image", i({ href: t }, c)), (0, _.jsx)("foreignObject", { width: "100%", height: "100%", children: (0, _.jsx)("div", h(i({ className: "camera-capture-text-and-image-container" }, b), { children: d })) })] });
2288
2282
  };
2289
- var aa = ru;
2290
- var Ls = require("@transferwise/components");
2291
- var Ts = require("react-intl");
2292
- var Ds = require("react-intl");
2293
- var Kr = (0, Ds.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" } });
2294
- var je = require("react/jsx-runtime");
2295
- var ou = ({ onAction: e }) => {
2296
- let t = (0, Ts.useIntl)();
2297
- return (0, je.jsx)("div", { id: "no-camera-access", children: (0, je.jsx)("div", { className: "container p-t-5", children: (0, je.jsx)("div", { className: "row", children: (0, je.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, je.jsx)("h2", { className: "text-xs-center m-b-3", children: t.formatMessage(Kr.title) }), (0, je.jsx)("p", { className: "text-xs-center m-b-5", children: t.formatMessage(Kr.paragraph) }), (0, je.jsx)(Ls.Button, { block: true, onClick: e, children: t.formatMessage(Kr.action) })] }) }) }) });
2298
- };
2299
- var na = ou;
2283
+ var aa = nu;
2284
+ var Bs = require("@transferwise/components");
2285
+ var Rs = require("react-intl");
2300
2286
  var Ns = require("react-intl");
2301
- var Bs = require("react-intl");
2302
- var ia = (0, Bs.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" } });
2287
+ var Wr = (0, Ns.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" } });
2288
+ var ze = require("react/jsx-runtime");
2289
+ var iu = ({ onAction: e }) => {
2290
+ let t = (0, Rs.useIntl)();
2291
+ 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(Wr.title) }), (0, ze.jsx)("p", { className: "text-xs-center m-b-5", children: t.formatMessage(Wr.paragraph) }), (0, ze.jsx)(Bs.Button, { block: true, onClick: e, children: t.formatMessage(Wr.action) })] }) }) }) });
2292
+ };
2293
+ var na = iu;
2294
+ var js = require("react-intl");
2295
+ var Us = require("react-intl");
2296
+ var ia = (0, Us.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" } });
2303
2297
  var ot = require("react/jsx-runtime");
2304
- var au = () => {
2305
- let e = (0, Ns.useIntl)();
2298
+ var su = () => {
2299
+ let e = (0, js.useIntl)();
2306
2300
  return (0, ot.jsx)("div", { id: "camera-not-supported", children: (0, ot.jsx)("div", { className: "container p-t-5", children: (0, ot.jsx)("div", { className: "row", children: (0, ot.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, ot.jsx)("h2", { className: "text-xs-center m-b-3", children: e.formatMessage(ia.title) }), (0, ot.jsx)("p", { className: "text-xs-center m-b-5", children: e.formatMessage(ia.paragraph) })] }) }) }) });
2307
2301
  };
2308
- var sa = au;
2309
- var Rs = (e) => e == null ? void 0 : e("Dynamic Flow - Camera Permission Denied", {});
2310
- var Us = async (e, t, r) => e == null ? void 0 : e("Dynamic Flow - Camera Feed Started", await nu(t, r));
2311
- var js = (e, t) => e == null ? void 0 : e("Dynamic Flow - Camera Not Supported", { Error: t });
2312
- var nu = async (e, t) => {
2302
+ var sa = su;
2303
+ var zs = (e) => e == null ? void 0 : e("Dynamic Flow - Camera Permission Denied", {});
2304
+ var Vs = async (e, t, r) => e == null ? void 0 : e("Dynamic Flow - Camera Feed Started", await lu(t, r));
2305
+ var Hs = (e, t) => e == null ? void 0 : e("Dynamic Flow - Camera Not Supported", { Error: t });
2306
+ var lu = async (e, t) => {
2313
2307
  var n;
2314
- let r = Gr(t), o = oa(t), a = (n = r == null ? void 0 : r.getSettings) == null ? void 0 : n.call(r);
2315
- return h(i({}, r && { "Available Video Devices (by label)": await Ps(), "Active Video Device (by label)": await ks(t), "Camera Capabilities": o, "Camera Settings": a }), { "Camera Direction (Asked)": e == null ? void 0 : e.direction });
2308
+ let r = $r(t), o = oa(t), a = (n = r == null ? void 0 : r.getSettings) == null ? void 0 : n.call(r);
2309
+ return h(i({}, r && { "Available Video Devices (by label)": await Es(), "Active Video Device (by label)": await Is(t), "Camera Capabilities": o, "Camera Settings": a }), { "Camera Direction (Asked)": e == null ? void 0 : e.direction });
2316
2310
  };
2317
2311
  var Q = require("react/jsx-runtime");
2318
- var iu = ({ direction: e = "back", overlay: t = "", outline: r = "", imageUrl: o = "", title: a = "", instructions: n = "", showReview: s = false, onCapture: m, onEvent: d }) => {
2319
- let [u, c] = (0, Ce.useState)("CAPTURE"), [b, y] = (0, Ce.useState)(false), [l, p] = (0, Ce.useState)(false), [f, g] = (0, Ce.useState)(), S = (0, Ce.useRef)(null), { videoConstraints: O } = Ms(e), F = (0, zs.useIntl)(), C = (0, Ce.useCallback)(async () => {
2312
+ var cu = ({ direction: e = "back", overlay: t = "", outline: r = "", imageUrl: o = "", title: a = "", instructions: n = "", showReview: s = false, onCapture: m, onEvent: d }) => {
2313
+ let [u, c] = (0, Ce.useState)("CAPTURE"), [b, y] = (0, Ce.useState)(false), [l, p] = (0, Ce.useState)(false), [f, g] = (0, Ce.useState)(), S = (0, Ce.useRef)(null), { videoConstraints: O } = Ds(e), F = (0, qs.useIntl)(), C = (0, Ce.useCallback)(async () => {
2320
2314
  var v, T, M, ue, pe, le;
2321
2315
  if ((v = S == null ? void 0 : S.current) != null && v.video && ((M = (T = S == null ? void 0 : S.current) == null ? void 0 : T.video) == null ? void 0 : M.readyState) >= 3) {
2322
2316
  (pe = (ue = S == null ? void 0 : S.current) == null ? void 0 : ue.video) == null || pe.pause();
2323
- let Ve = await As((le = S == null ? void 0 : S.current) == null ? void 0 : le.video);
2324
- Ve == null || Ve.toBlob((He) => {
2325
- if (He)
2317
+ let He = await ks((le = S == null ? void 0 : S.current) == null ? void 0 : le.video);
2318
+ He == null || He.toBlob((qe) => {
2319
+ if (qe)
2326
2320
  if (s) {
2327
- let Nt = window.URL.createObjectURL(He);
2328
- g({ source: Nt, blob: He }), c("REVIEW");
2321
+ let Ut = window.URL.createObjectURL(qe);
2322
+ g({ source: Ut, blob: qe }), c("REVIEW");
2329
2323
  } else
2330
- m(He);
2324
+ m(qe);
2331
2325
  }, "image/jpeg", 0.92);
2332
2326
  }
2333
2327
  }, [S, s, g, c, m, b]), A = (0, Ce.useCallback)((v) => {
2334
2328
  if (v instanceof DOMException && (v == null ? void 0 : v.name) === "NotAllowedError") {
2335
- c("NO_CAMERA_ACCESS"), Rs(d);
2329
+ c("NO_CAMERA_ACCESS"), zs(d);
2336
2330
  return;
2337
2331
  }
2338
- c("CAMERA_NOT_SUPPORTED"), js(d, v);
2332
+ c("CAMERA_NOT_SUPPORTED"), Hs(d, v);
2339
2333
  }, [c, d]), w = (0, Ce.useCallback)((v) => {
2340
- p(true), y(xs(v)), Us(d, { direction: e }, v);
2334
+ p(true), y(vs(v)), Vs(d, { direction: e }, v);
2341
2335
  }, [y, d, e]), D = () => {
2342
2336
  m((f == null ? void 0 : f.blob) || null);
2343
2337
  }, k = () => {
2344
2338
  c("CAPTURE"), g(void 0);
2345
- }, I = () => c("CAPTURE"), q = (0, Q.jsxs)(Q.Fragment, { children: [O && (0, Q.jsx)(Vs.default, { ref: S, audio: false, videoConstraints: O, mirrored: b, onUserMediaError: A, onUserMedia: w }), (0, Q.jsx)(aa, { overlay: t, outline: r, imageUrl: o, title: a, instructions: n }), l && (0, Q.jsx)(Fs, { onCapture: () => void C() })] }), ee = (0, Q.jsxs)(Q.Fragment, { children: [(0, Q.jsx)("img", { className: "review-image", src: f == null ? void 0 : f.source, alt: "" }), (0, Q.jsx)(aa, { overlay: t, imageUrl: o, title: a, instructions: n, reviewInstructions: F.formatMessage(or.reviewInstructions) }), (0, Q.jsx)(Cs, { onSubmit: D, onRetry: k })] });
2339
+ }, I = () => c("CAPTURE"), q = (0, Q.jsxs)(Q.Fragment, { children: [O && (0, Q.jsx)($s.default, { ref: S, audio: false, videoConstraints: O, mirrored: b, onUserMediaError: A, onUserMedia: w }), (0, Q.jsx)(aa, { overlay: t, outline: r, imageUrl: o, title: a, instructions: n }), l && (0, Q.jsx)(Os, { onCapture: () => void C() })] }), ee = (0, Q.jsxs)(Q.Fragment, { children: [(0, Q.jsx)("img", { className: "review-image", src: f == null ? void 0 : f.source, alt: "" }), (0, Q.jsx)(aa, { overlay: t, imageUrl: o, title: a, instructions: n, reviewInstructions: F.formatMessage(ar.reviewInstructions) }), (0, Q.jsx)(As, { onSubmit: D, onRetry: k })] });
2346
2340
  return (0, Q.jsxs)("section", { className: "camera-capture", children: [u === "CAPTURE" && q, u === "REVIEW" && ee, u === "NO_CAMERA_ACCESS" && (0, Q.jsx)(na, { onAction: I }), u === "CAMERA_NOT_SUPPORTED" && (0, Q.jsx)(sa, {})] });
2347
2341
  };
2348
- var la = iu;
2349
- var qs = require("react/jsx-runtime");
2350
- function su(e) {
2342
+ var la = cu;
2343
+ var _s = require("react/jsx-runtime");
2344
+ function mu(e) {
2351
2345
  return new Promise((t, r) => {
2352
2346
  let o = new FileReader();
2353
2347
  o.onloadend = () => t(o.result), o.readAsDataURL(e);
2354
2348
  });
2355
2349
  }
2356
- var lu = (e) => {
2357
- let { step: t, model: r, onModelChange: o, onAction: a } = e, n = Z(), s = Hs(t), m = cu(t), d = mu(t), { title: u, image: c, cameraConfig: b } = m, { assets: y, direction: l, instructions: p } = b || {}, { overlay: f, outline: g } = y || {}, { url: S } = c || {}, [O, F] = (0, Yr.useState)(false);
2358
- (0, Yr.useEffect)(() => {
2350
+ var du = (e) => {
2351
+ let { step: t, model: r, onModelChange: o, onAction: a } = e, n = Z(), s = Gs(t), m = uu(t), d = pu(t), { title: u, image: c, cameraConfig: b } = m, { assets: y, direction: l, instructions: p } = b || {}, { overlay: f, outline: g } = y || {}, { url: S } = c || {}, [O, F] = (0, Kr.useState)(false);
2352
+ (0, Kr.useEffect)(() => {
2359
2353
  O && a(d);
2360
2354
  }, [r]);
2361
2355
  let C = async (A) => {
2362
2356
  let { $id: w } = m;
2363
2357
  if (A) {
2364
- let D = await su(A), k = { [w || ""]: D };
2358
+ let D = await mu(A), k = { [w || ""]: D };
2365
2359
  F(true), o({ model: k, formSchema: s, triggerModel: D, triggerSchema: m });
2366
2360
  }
2367
2361
  };
2368
- return (0, qs.jsx)(la, { overlay: f, outline: g, title: u, imageUrl: S, instructions: p, direction: l, onEvent: n, onCapture: (A) => {
2362
+ return (0, _s.jsx)(la, { overlay: f, outline: g, title: u, imageUrl: S, instructions: p, direction: l, onEvent: n, onCapture: (A) => {
2369
2363
  C(A);
2370
2364
  } });
2371
2365
  };
2372
- var Jr = lu;
2373
- function Hs(e) {
2374
- let r = wr(e.schemas || [])[0];
2366
+ var Yr = du;
2367
+ function Gs(e) {
2368
+ let r = Fr(e.schemas || [])[0];
2375
2369
  if (!r || !ce(r))
2376
2370
  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...");
2377
2371
  return r;
2378
2372
  }
2379
- function cu(e) {
2380
- let t = Hs(e), r = Object.values(t.properties)[0];
2373
+ function uu(e) {
2374
+ let t = Gs(e), r = Object.values(t.properties)[0];
2381
2375
  if (!r)
2382
2376
  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...");
2383
2377
  return r;
2384
2378
  }
2385
- function mu(e) {
2379
+ function pu(e) {
2386
2380
  var t, r;
2387
- if (!e.schemas || ((t = wr(e.schemas)) == null ? void 0 : t.length) !== 1)
2381
+ if (!e.schemas || ((t = Fr(e.schemas)) == null ? void 0 : t.length) !== 1)
2388
2382
  throw new Error("camera step expects 1 non-hidden object schema");
2389
2383
  if (((r = e == null ? void 0 : e.actions) == null ? void 0 : r.length) !== 1)
2390
2384
  throw new Error("camera step expects 1 action");
2391
2385
  return e.actions[0];
2392
2386
  }
2393
- var _s = require("react-intl");
2394
- var $s = require("react-intl");
2395
- var ar = (0, $s.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." } });
2396
- var Ws = require("react/jsx-runtime");
2397
- var Gs = () => {
2387
+ var Ys = require("react-intl");
2388
+ var Ws = require("react-intl");
2389
+ var nr = (0, Ws.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." } });
2390
+ var Js = require("react/jsx-runtime");
2391
+ var Ks = () => {
2398
2392
  };
2399
- var du = ({ url: e, onClose: t }) => {
2400
- let { formatMessage: r } = (0, _s.useIntl)();
2401
- return (0, Ws.jsx)(ne, { components: [{ type: "box", width: "lg", components: [{ type: "heading", text: r(ar.title), size: "lg", align: "center", margin: "xl" }, { type: "info", markdown: r(ar.description, { origin: uu(e) }), align: "center", margin: "xl" }, { type: "box", width: "md", components: [{ type: "button", action: { title: r(ar.open), type: "primary", url: e, exit: true } }, { type: "button", action: { title: r(ar.cancel), type: "link", url: "", exit: true } }] }] }], submitted: false, onAction: (o) => {
2393
+ var fu = ({ url: e, onClose: t }) => {
2394
+ let { formatMessage: r } = (0, Ys.useIntl)();
2395
+ return (0, Js.jsx)(ne, { 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: yu(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) => {
2402
2396
  o.url && window.open(o.url, "_blank"), t();
2403
- }, onModelChange: Gs, onPersistAsync: Gs });
2397
+ }, onModelChange: Ks, onPersistAsync: Ks });
2404
2398
  };
2405
- var Zr = du;
2406
- function uu(e) {
2399
+ var Jr = fu;
2400
+ function yu(e) {
2407
2401
  try {
2408
2402
  return new URL(e).origin;
2409
2403
  } catch (t) {
2410
2404
  return e;
2411
2405
  }
2412
2406
  }
2413
- var ze = require("react/jsx-runtime");
2414
- var Ks = (e) => {
2407
+ var Ve = require("react/jsx-runtime");
2408
+ var Zs = (e) => {
2415
2409
  var s;
2416
2410
  let { step: t, globalError: r } = e, o = (s = t == null ? void 0 : t.external) == null ? void 0 : s.url, { requiresManualTrigger: a, dismissConfirmation: n } = An(o);
2417
- return t === void 0 ? null : o && a ? (0, ze.jsx)(Zr, { url: o, onClose: n }) : Cn(t) === "camera" ? (0, ze.jsx)(Jr, h(i({}, e), { step: t })) : (0, ze.jsxs)(ze.Fragment, { children: [r ? (0, ze.jsx)(ae, { component: { context: "negative", markdown: r, margin: "lg" } }) : null, (0, ze.jsx)($r, h(i({}, e), { stepSpecification: t }))] });
2411
+ return t === void 0 ? null : o && a ? (0, Ve.jsx)(Jr, { url: o, onClose: n }) : Cn(t) === "camera" ? (0, Ve.jsx)(Yr, h(i({}, e), { step: t })) : (0, Ve.jsxs)(Ve.Fragment, { children: [r ? (0, Ve.jsx)(ae, { component: { context: "negative", markdown: r, margin: "lg" } }) : null, (0, Ve.jsx)(qr, h(i({}, e), { stepSpecification: t }))] });
2418
2412
  };
2419
- var Ys = require("react");
2420
- var pu = 1e3;
2421
- function Js(e) {
2422
- let t = (0, Ys.useRef)(/* @__PURE__ */ new Map()), r = (o) => {
2413
+ var Xs = require("react");
2414
+ var hu = 1e3;
2415
+ function Qs(e) {
2416
+ let t = (0, Xs.useRef)(/* @__PURE__ */ new Map()), r = (o) => {
2423
2417
  if (t.current.has(o))
2424
2418
  return t.current.get(o);
2425
- let a = xt((n, s, m) => e(n, s, m), pu);
2419
+ let a = Ct((n, s, m) => e(n, s, m), hu);
2426
2420
  return t.current.set(o, a), a;
2427
2421
  };
2428
2422
  return function(o, a, n, s) {
@@ -2430,24 +2424,24 @@ var require_main_min = __commonJS({
2430
2424
  d(o, a, n), (!s || !wn(s)) && d.flush();
2431
2425
  };
2432
2426
  }
2433
- var Lt = require("react");
2434
- function Zs(e) {
2427
+ var Nt = require("react");
2428
+ function el(e) {
2435
2429
  return Object.prototype.hasOwnProperty.call(e, "$ref") === false;
2436
2430
  }
2437
- var Qs = (e) => {
2431
+ var rl = (e) => {
2438
2432
  var l, p;
2439
- let [t, r] = (0, Lt.useState)((l = e == null ? void 0 : e.errors) == null ? void 0 : l.validation), [o, a] = (0, Lt.useState)((p = e == null ? void 0 : e.errors) == null ? void 0 : p.error), [n, s] = (0, Lt.useState)({ step: e || void 0, models: e != null && e.model ? Xs(e.model, ca(e)) : {}, etag: void 0 }), { step: m, models: d, etag: u } = n, c = (f, g) => {
2433
+ let [t, r] = (0, Nt.useState)((l = e == null ? void 0 : e.errors) == null ? void 0 : l.validation), [o, a] = (0, Nt.useState)((p = e == null ? void 0 : e.errors) == null ? void 0 : p.error), [n, s] = (0, Nt.useState)({ step: e || void 0, models: e != null && e.model ? tl(e.model, ca(e)) : {}, etag: void 0 }), { step: m, models: d, etag: u } = n, c = (f, g) => {
2440
2434
  var S, O, F, C;
2441
- s((A) => ({ step: f, models: f.model ? Xs(f.model, ca(f)) : A.models, etag: g })), r((O = (S = f == null ? void 0 : f.errors) == null ? void 0 : S.validation) != null ? O : null), a((C = (F = f == null ? void 0 : f.errors) == null ? void 0 : F.error) != null ? C : null);
2435
+ s((A) => ({ step: f, models: f.model ? tl(f.model, ca(f)) : A.models, etag: g })), r((O = (S = f == null ? void 0 : f.errors) == null ? void 0 : S.validation) != null ? O : null), a((C = (F = f == null ? void 0 : f.errors) == null ? void 0 : F.error) != null ? C : null);
2442
2436
  }, b = (f, g, S) => {
2443
2437
  s((O) => {
2444
2438
  let F = h(i({}, O.models), { [f]: g }), C = { step: O.step, models: F, etag: O.etag };
2445
2439
  return S(F), C;
2446
2440
  });
2447
- }, y = (0, Lt.useMemo)(() => fu(d, ca(m)), [d, m]);
2441
+ }, y = (0, Nt.useMemo)(() => gu(d, ca(m)), [d, m]);
2448
2442
  return { formErrors: t, globalError: o, step: m, models: d, etag: u, modelIsValid: y, setFormErrors: r, setGlobalError: a, setStepAndEtag: c, setSchemaModel: b };
2449
2443
  };
2450
- var Xs = (e, t = []) => t.reduce((r, o) => (o.$id || console.warn("Schema without $id property found."), h(i({}, r), { [o.$id || ""]: oe(e, o) || {} })), {});
2444
+ var tl = (e, t = []) => t.reduce((r, o) => (o.$id || console.warn("Schema without $id property found."), h(i({}, r), { [o.$id || ""]: oe(e, o) || {} })), {});
2451
2445
  var ca = (e) => [...ma((e == null ? void 0 : e.layout) || []), ...(e == null ? void 0 : e.schemas) || []];
2452
2446
  var ma = (e) => e.flatMap((t) => {
2453
2447
  switch (t.type) {
@@ -2456,33 +2450,33 @@ var require_main_min = __commonJS({
2456
2450
  case "box":
2457
2451
  return ma(t.components);
2458
2452
  case "form":
2459
- return Zs(t.schema) ? [t.schema] : [];
2453
+ return el(t.schema) ? [t.schema] : [];
2460
2454
  default:
2461
2455
  return [];
2462
2456
  }
2463
2457
  });
2464
- var fu = (e, t = []) => !(t != null && t.some((r) => (r.$id || console.warn("Schema without $id property found."), !$(e[r.$id || ""] || {}, r))));
2465
- var Xr = require("@transferwise/components");
2466
- var el = require("react");
2467
- var rl = require("react/jsx-runtime");
2468
- function tl(e, t) {
2469
- let r = i({ size: Xr.Size.EXTRA_LARGE, initial: true, submission: false }, e), [o, a] = (0, el.useState)(t), s = r.initial && o === "initial" || r.submission && o === "submission" ? (0, rl.jsx)(Xr.Loader, { size: r.size, classNames: { "tw-loader": "tw-loader m-x-auto" }, "data-testid": "loader" }) : null;
2458
+ var gu = (e, t = []) => !(t != null && t.some((r) => (r.$id || console.warn("Schema without $id property found."), !$(e[r.$id || ""] || {}, r))));
2459
+ var Zr = require("@transferwise/components");
2460
+ var ol = require("react");
2461
+ var nl = require("react/jsx-runtime");
2462
+ function al(e, t) {
2463
+ let r = i({ size: Zr.Size.EXTRA_LARGE, initial: true, submission: false }, e), [o, a] = (0, ol.useState)(t), s = r.initial && o === "initial" || r.submission && o === "submission" ? (0, nl.jsx)(Zr.Loader, { size: r.size, classNames: { "tw-loader": "tw-loader m-x-auto" }, "data-testid": "loader" }) : null;
2470
2464
  return { loadingState: o, setLoadingState: a, loader: s };
2471
2465
  }
2472
- var sl = require("react");
2473
- var Qr = require("@transferwise/components");
2474
- var al = require("react-intl");
2475
- var ol = require("react-intl");
2476
- var da = (0, ol.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" } });
2477
- var il = require("react/jsx-runtime");
2478
- var nl = ({ onDismiss: e }) => {
2479
- let { formatMessage: t } = (0, al.useIntl)();
2480
- return (0, il.jsx)(Qr.Alert, { action: { text: t(da.retry), href: window.location.href }, message: t(da.errorAlert), type: Qr.Sentiment.NEGATIVE, className: "m-b-3", onDismiss: e });
2481
- };
2482
- var Tt = require("react/jsx-runtime");
2483
- var yu = () => {
2484
- };
2485
- var ua = class extends sl.Component {
2466
+ var ml = require("react");
2467
+ var Xr = require("@transferwise/components");
2468
+ var sl = require("react-intl");
2469
+ var il = require("react-intl");
2470
+ var da = (0, il.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" } });
2471
+ var cl = require("react/jsx-runtime");
2472
+ var ll = ({ onDismiss: e }) => {
2473
+ let { formatMessage: t } = (0, sl.useIntl)();
2474
+ return (0, cl.jsx)(Xr.Alert, { action: { text: t(da.retry), href: window.location.href }, message: t(da.errorAlert), type: Xr.Sentiment.NEGATIVE, className: "m-b-3", onDismiss: e });
2475
+ };
2476
+ var Bt = require("react/jsx-runtime");
2477
+ var bu = () => {
2478
+ };
2479
+ var ua = class extends ml.Component {
2486
2480
  constructor(r) {
2487
2481
  super(r);
2488
2482
  this.handleErrorReset = () => {
@@ -2494,16 +2488,16 @@ var require_main_min = __commonJS({
2494
2488
  return { hasError: true, isFatalError: true };
2495
2489
  }
2496
2490
  componentDidCatch(r) {
2497
- let { onError: o = yu } = this.props;
2491
+ let { onError: o = bu } = this.props;
2498
2492
  o(r);
2499
2493
  }
2500
2494
  render() {
2501
2495
  let { children: r } = this.props, { hasError: o, isFatalError: a } = this.state;
2502
- return (0, Tt.jsxs)(Tt.Fragment, { children: [o && (0, Tt.jsx)(nl, { onDismiss: this.handleErrorReset }), !a && r] });
2496
+ return (0, Bt.jsxs)(Bt.Fragment, { children: [o && (0, Bt.jsx)(ll, { onDismiss: this.handleErrorReset }), !a && r] });
2503
2497
  }
2504
2498
  };
2505
2499
  var pa = ua;
2506
- var ll = async (e) => {
2500
+ var dl = async (e) => {
2507
2501
  var o;
2508
2502
  if (ha(e), (o = e.headers) != null && o.has("X-Df-Exit"))
2509
2503
  return { type: "exit", result: await fa(e) };
@@ -2519,7 +2513,7 @@ var require_main_min = __commonJS({
2519
2513
  let r = e.headers.get("etag") || void 0;
2520
2514
  return { type: "step", step: t, etag: r };
2521
2515
  };
2522
- var cl = async (e) => {
2516
+ var ul = async (e) => {
2523
2517
  ha(e);
2524
2518
  let t = await ya(e);
2525
2519
  if (!R(t))
@@ -2539,20 +2533,20 @@ var require_main_min = __commonJS({
2539
2533
  }
2540
2534
  };
2541
2535
  var ha = (e) => {
2542
- if (!hu(e))
2536
+ if (!Su(e))
2543
2537
  throw new Error("Incorrect type of response from fetch. Expected object of type Response.");
2544
2538
  if (e.bodyUsed)
2545
2539
  throw new Error("The body of the provided Response object has already been used. Every request must respond with a new Response object.");
2546
2540
  };
2547
- var hu = (e) => typeof e == "object" && e !== null && "clone" in e && "bodyUsed" in e;
2541
+ var Su = (e) => typeof e == "object" && e !== null && "clone" in e && "bodyUsed" in e;
2548
2542
  var at = require("react/jsx-runtime");
2549
- var ml = () => {
2543
+ var pl = () => {
2550
2544
  };
2551
- var gu = ({ flowId: e, httpClient: t, initialAction: r, initialStep: o, loaderConfig: a, displayStepTitle: n = true, onCompletion: s, onError: m, onEvent: d = ml, onLog: u = ml }) => {
2552
- let { locale: c } = (0, ul.useIntl)(), { formErrors: b, globalError: y, step: l, models: p, etag: f, modelIsValid: g, setFormErrors: S, setGlobalError: O, setStepAndEtag: F, setSchemaModel: C } = Qs(o), [A, w] = (0, xe.useState)(false), { loadingState: D, setLoadingState: k, loader: I } = tl(a, o ? "idle" : "initial"), q = Ee("warning", u, e, l == null ? void 0 : l.key), ee = Ee("error", u, e, l == null ? void 0 : l.key), v = Ee("critical", u, e, l == null ? void 0 : l.key), T = (0, xe.useMemo)(() => {
2545
+ var wu = ({ flowId: e, httpClient: t, initialAction: r, initialStep: o, loaderConfig: a, displayStepTitle: n = true, onCompletion: s, onError: m, onEvent: d = pl, onLog: u = pl }) => {
2546
+ let { locale: c } = (0, yl.useIntl)(), { formErrors: b, globalError: y, step: l, models: p, etag: f, modelIsValid: g, setFormErrors: S, setGlobalError: O, setStepAndEtag: F, setSchemaModel: C } = rl(o), [A, w] = (0, xe.useState)(false), { loadingState: D, setLoadingState: k, loader: I } = al(a, o ? "idle" : "initial"), q = Ie("warning", u, e, l == null ? void 0 : l.key), ee = Ie("error", u, e, l == null ? void 0 : l.key), v = Ie("critical", u, e, l == null ? void 0 : l.key), T = (0, xe.useMemo)(() => {
2553
2547
  var x;
2554
2548
  return i({ flowId: e, stepId: l == null ? void 0 : l.key }, (x = l == null ? void 0 : l.analytics) != null ? x : {});
2555
- }, [e, l]), M = (0, xe.useMemo)(() => so(d, T), [d, T]), ue = (0, xe.useCallback)(({ action: x, data: U, etag: P }) => {
2549
+ }, [e, l]), M = (0, xe.useMemo)(() => io(d, T), [d, T]), ue = (0, xe.useCallback)(({ action: x, data: U, etag: P }) => {
2556
2550
  let { url: W, method: Oe = "POST" } = x;
2557
2551
  return t(W != null ? W : "", { method: Oe, headers: i({ "accept-language": c, "Content-Type": "application/json" }, P ? { "If-None-Match": P } : {}), credentials: "include", body: Oe === "GET" ? void 0 : JSON.stringify(U) });
2558
2552
  }, [t, c]), pe = async (x, U = {}) => {
@@ -2562,7 +2556,7 @@ var require_main_min = __commonJS({
2562
2556
  let P = await ue({ action: x, data: U });
2563
2557
  return Oa(P, "submission");
2564
2558
  } catch (P) {
2565
- nr(P, "Error fetching next step");
2559
+ ir(P, "Error fetching next step");
2566
2560
  }
2567
2561
  }, le = async (x, U, P) => {
2568
2562
  k("refresh");
@@ -2571,16 +2565,16 @@ var require_main_min = __commonJS({
2571
2565
  let W = await ue({ action: x, data: U, etag: P });
2572
2566
  await Oa(W, "refresh"), k("idle");
2573
2567
  } catch (W) {
2574
- nr(W, "Error fetching refresh step");
2568
+ ir(W, "Error fetching refresh step");
2575
2569
  }
2576
- }, Ve = async (x, U) => {
2570
+ }, He = async (x, U) => {
2577
2571
  try {
2578
2572
  let P = await ue({ action: x, data: U }), W = await fa(P);
2579
- Nt(i(i({}, W), x.result));
2573
+ Ut(i(i({}, W), x.result));
2580
2574
  } catch (P) {
2581
- nr(P, "Error fetching exit result");
2575
+ ir(P, "Error fetching exit result");
2582
2576
  }
2583
- }, He = Js(le), Nt = (0, xe.useCallback)((x) => {
2577
+ }, qe = Qs(le), Ut = (0, xe.useCallback)((x) => {
2584
2578
  M("Dynamic Flow - Flow Finished", { result: "success" }), s(x);
2585
2579
  }, [s, M]);
2586
2580
  (0, xe.useEffect)(() => {
@@ -2594,37 +2588,37 @@ var require_main_min = __commonJS({
2594
2588
  let Oa = async (x, U) => {
2595
2589
  if (x.ok)
2596
2590
  try {
2597
- let P = await ll(x);
2591
+ let P = await dl(x);
2598
2592
  switch (P.type) {
2599
2593
  case "action":
2600
2594
  pe(P.action, P.action.data);
2601
2595
  return;
2602
2596
  case "exit":
2603
- return Nt(P.result);
2597
+ return Ut(P.result);
2604
2598
  case "step":
2605
2599
  default: {
2606
2600
  let { step: W, etag: Oe } = P;
2607
- return U === "submission" ? uc(W, Oe) : pc(W, Oe);
2601
+ return U === "submission" ? gc(W, Oe) : bc(W, Oe);
2608
2602
  }
2609
2603
  }
2610
2604
  } catch (P) {
2611
- return nr(P, "Error parsing fetch response");
2605
+ return ir(P, "Error parsing fetch response");
2612
2606
  }
2613
- return fc(x, U);
2614
- }, uc = (x, U) => {
2607
+ return Sc(x, U);
2608
+ }, gc = (x, U) => {
2615
2609
  F(x, U), w(false), k("idle"), M("Dynamic Flow - Step Started", i({ stepId: x.key }, x == null ? void 0 : x.analytics));
2616
- }, pc = (x, U) => {
2610
+ }, bc = (x, U) => {
2617
2611
  F(x, U), k("idle"), M("Dynamic Flow - Step Refreshed", { status: "success" });
2618
- }, fc = async (x, U) => {
2612
+ }, Sc = async (x, U) => {
2619
2613
  if (x.status === 304) {
2620
2614
  k("idle");
2621
2615
  return;
2622
2616
  }
2623
2617
  try {
2624
- let P = await cl(x);
2618
+ let P = await ul(x);
2625
2619
  if (P.refreshFormUrl) {
2626
2620
  let W = { url: P == null ? void 0 : P.refreshFormUrl, method: "POST" };
2627
- await le(W, eo(p), f);
2621
+ await le(W, Qr(p), f);
2628
2622
  }
2629
2623
  if (P.validation && S(P.validation), P.error && O(P.error), !P.refreshFormUrl && !P.validation && !P.error)
2630
2624
  throw ee("Invalid response", "Response body must contain at least one of the following properties: refreshFormUrl, validation, or error."), P;
@@ -2632,72 +2626,77 @@ var require_main_min = __commonJS({
2632
2626
  U === "refresh" && M("Dynamic Flow - Step Refreshed", { status: "failure" }), M("Dynamic Flow - Flow Finished", { status: "failure" }), m(P, x.status), ee("Invalid response", "Error response body must be an object.");
2633
2627
  }
2634
2628
  k("idle");
2635
- }, nr = (x, U) => {
2629
+ }, ir = (x, U) => {
2636
2630
  v("Error fetching", U), m(x), k("idle");
2637
- }, yc = (x) => {
2631
+ }, wc = (x) => {
2638
2632
  let { model: U, formSchema: P } = x, { $id: W = "" } = P;
2639
- O(null), J(U) || v("Invalid model on change", "onModelChange was called but the model argument is not an object"), C(W, U, (to) => {
2640
- hc(x, to);
2633
+ O(null), J(U) || v("Invalid model on change", "onModelChange was called but the model argument is not an object"), C(W, U, (eo) => {
2634
+ Fc(x, eo);
2641
2635
  });
2642
- }, hc = (x, U) => {
2636
+ }, Fc = (x, U) => {
2643
2637
  let { triggerSchema: P } = x;
2644
- if (Su(x)) {
2638
+ if (Cu(x)) {
2645
2639
  let Oe = { url: P.refreshFormUrl || (l == null ? void 0 : l.refreshFormUrl), method: "POST" };
2646
- He(Oe, eo(U), f, P);
2640
+ qe(Oe, Qr(U), f, P);
2647
2641
  }
2648
- }, gc = async (x) => {
2649
- let { data: U, method: P, exit: W, url: Oe, result: to } = x, ir = i(i({}, eo(p)), U), Aa = { url: x.url, method: x.method, currency: ir.currency, type: ir.type };
2642
+ }, Cc = async (x) => {
2643
+ let { data: U, method: P, exit: W, url: Oe, result: eo } = x, sr = i(i({}, Qr(p)), U), Aa = { url: x.url, method: x.method, currency: sr.currency, type: sr.type };
2650
2644
  if (D !== "idle" || x.disabled) {
2651
2645
  q("Action supressed", D !== "idle" ? `onAction was supressed because loadingState is ${D}` : "onAction was supressed because action is disabled", Aa);
2652
2646
  return;
2653
2647
  }
2654
2648
  if (W) {
2655
2649
  if (Oe) {
2656
- dl(P) ? (S(null), w(true), g && await Ve(x, ir)) : await Ve(x);
2650
+ fl(P) ? (S(null), w(true), g && await He(x, sr)) : await He(x);
2657
2651
  return;
2658
2652
  }
2659
- Nt(to);
2653
+ Ut(eo);
2660
2654
  return;
2661
2655
  }
2662
- if (dl(P)) {
2663
- S(null), w(true), g ? pe(x, ir) : M("Dynamic Flow - onAction supressed", i({ reason: "invalid model" }, Aa));
2656
+ if (fl(P)) {
2657
+ S(null), w(true), g ? pe(x, sr) : M("Dynamic Flow - onAction supressed", i({ reason: "invalid model" }, Aa));
2664
2658
  return;
2665
2659
  }
2666
2660
  pe(x);
2667
2661
  };
2668
- return (0, at.jsx)(gr, { flowId: e, stepId: l == null ? void 0 : l.key, onLog: u, children: (0, at.jsx)(mr, { metadata: T, onEvent: d, children: (0, at.jsx)(Na, { loading: D !== "idle", children: (0, at.jsx)(Va, { httpClient: t, children: I !== null ? I : (0, at.jsx)(Ks, { step: l, model: eo(p), submitted: A, globalError: y, formErrors: b, stepLayoutOptions: { displayStepTitle: n }, onAction: (x) => {
2669
- gc(x);
2670
- }, onModelChange: yc }) }) }) }) });
2671
- };
2672
- var bu = (e) => (0, at.jsx)(pa, { onError: e.onError, children: (0, at.jsx)(gu, i({}, e)) });
2673
- var ga = bu;
2674
- var eo = (e) => Object.values(e).reduce((t, r) => i(i({}, t), r), {});
2675
- var dl = (e = "POST") => ["POST", "PUT", "PATCH"].includes(e.toUpperCase());
2676
- var Su = (e) => {
2662
+ return (0, at.jsx)(br, { flowId: e, stepId: l == null ? void 0 : l.key, onLog: u, children: (0, at.jsx)(dr, { metadata: T, onEvent: d, children: (0, at.jsx)(Ba, { loading: D !== "idle", children: (0, at.jsx)(Va, { httpClient: t, children: I !== null ? I : (0, at.jsx)(Zs, { step: l, model: Qr(p), submitted: A, globalError: y, formErrors: b, stepLayoutOptions: { displayStepTitle: n }, onAction: (x) => {
2663
+ Cc(x);
2664
+ }, onModelChange: wc }) }) }) }) });
2665
+ };
2666
+ var Fu = (e) => (0, at.jsx)(pa, { onError: e.onError, children: (0, at.jsx)(wu, i({}, e)) });
2667
+ var ga = Fu;
2668
+ var Qr = (e) => Object.values(e).reduce((t, r) => i(i({}, t), r), {});
2669
+ var fl = (e = "POST") => ["POST", "PUT", "PATCH"].includes(e.toUpperCase());
2670
+ var Cu = (e) => {
2677
2671
  let { type: t, triggerSchema: r, triggerModel: o, lastTriggerModel: a = null } = e, n = () => $(o, r), s = () => $(a, r);
2678
2672
  return t !== "init" && (r == null ? void 0 : r.refreshFormOnChange) && (n() || s());
2679
2673
  };
2680
2674
  var ba = {};
2681
- nt(ba, { alert: () => pl, box: () => fl, button: () => yl, columns: () => hl, copyable: () => gl, decision: () => bl, heading: () => Sl, image: () => wl, info: () => Fl, list: () => Cl, loadingIndicator: () => xl, paragraph: () => Ol, review: () => Al });
2682
- var wu = { type: "form", key: "Components/Alert", title: "Alert Component", description: "Alerts can have different contexts.", actions: [], 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" }] };
2683
- var pl = wu;
2684
- var Fu = { type: "form", key: "Components/Box", title: "Box Component", description: "Box is a container for other layour components. It can have a border!", actions: [], 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}".` }] })) };
2685
- var fl = Fu;
2686
- var Cu = ["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 } } }));
2687
- var xu = { type: "form", key: "Components/Button", title: "Button Component", description: "Buttons typically trigger actions.", 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" } }, ...Cu, { type: "paragraph", text: "Press any buttons and see the httpClient calls below.", align: "center" }] }] };
2688
- var yl = xu;
2689
- var Ou = { type: "form", key: "Components/Columns", title: "Columns Component", description: "Arrange components in two columns (when there's enough space)", actions: [], 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" } } }] }] };
2690
- var hl = Ou;
2691
- var Au = { key: "Components/Copyable", type: "form", title: "Copyable Text", description: "Copyable Text Component.", actions: [], 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: [] };
2692
- var gl = Au;
2693
- var vu = { type: "form", key: "Components/Decision", title: "Decision Component", description: "A step with a decision Component.", actions: [], 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" } }] }] };
2675
+ nt(ba, { alert: () => hl, box: () => gl, button: () => bl, columns: () => Sl, copyable: () => wl, decision: () => Fl, decisionFlags: () => Cl, decisionIcons: () => xl, heading: () => Ol, image: () => Al, info: () => vl, list: () => Pl, loadingIndicator: () => kl, paragraph: () => Ml, review: () => El });
2676
+ var xu = { type: "form", key: "Components/Alert", title: "Alert Component", description: "Alerts can have different contexts.", actions: [], 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" }] };
2677
+ var hl = xu;
2678
+ var Ou = { type: "form", key: "Components/Box", title: "Box Component", description: "Box is a container for other layour components. It can have a border!", actions: [], 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}".` }] })) };
2679
+ var gl = Ou;
2680
+ var Au = ["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 } } }));
2681
+ var vu = { type: "form", key: "Components/Button", title: "Button Component", description: "Buttons typically trigger actions.", 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" } }, ...Au, { type: "paragraph", text: "Press any buttons and see the httpClient calls below.", align: "center" }] }] };
2694
2682
  var bl = vu;
2695
- var Pu = { type: "form", key: "Components/Heading", title: "Heading Component", description: 'Headings can have different sizes: "xs", "sm", "md", "lg", "xl".', actions: [], schemas: [], layout: ["xs", "sm", "md", "lg", "xl"].map((e) => ({ type: "heading", text: `This is heading with size: "${e}"`, size: e })) };
2683
+ var Pu = { type: "form", key: "Components/Columns", title: "Columns Component", description: "Arrange components in two columns (when there's enough space)", actions: [], 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" } } }] }] };
2696
2684
  var Sl = Pu;
2697
- var ku = ["xs", "sm", "md", "lg", "xl"];
2698
- var Mu = { type: "form", key: "Components/Image", title: "Image Component", description: 'Images can have different sizes: "xs", "sm", "md", "lg", "xl".', actions: [], schemas: [], layout: ku.flatMap((e) => [{ type: "paragraph", text: `This is an image with size: "${e}"`, align: "center" }, { type: "image", url: "http://placekitten.com/g/400/400", text: `This is an image with size: "${e}"`, size: e }]) };
2699
- var wl = Mu;
2700
- var Eu = { type: "form", key: "Components/Info", title: "Info Component", description: "A block of markdown content.", actions: [], schemas: [], layout: [{ type: "info", markdown: `## The Advantages of Using Bananas for Data Backup
2685
+ var ku = { key: "Components/Copyable", type: "form", title: "Copyable Text", description: "Copyable Text Component.", actions: [], 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: [] };
2686
+ var wl = ku;
2687
+ var Mu = { type: "form", key: "Components/Decision", title: "Decision Component", description: "A step with a decision Component.", actions: [], 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" } }] }] };
2688
+ var Fl = Mu;
2689
+ var Eu = { type: "form", key: "Components/Decision Flags", title: "Decision Component", description: "A step with a decision Component.", actions: [], schemas: [], layout: [{ type: "heading", size: "sm", text: "Please continue using one of the following options:" }, { type: "decision", options: Do.map((e) => ({ title: `${e.toUpperCase()}`, icon: { name: `flag-${e}` }, action: { url: "/" } })) }] };
2690
+ var Cl = Eu;
2691
+ var Iu = Ee(require("@transferwise/icons"));
2692
+ var Du = { type: "form", key: "Components/Decision Icons", title: "Decision Component", description: "A step with a decision Component.", actions: [], schemas: [], layout: [{ type: "heading", size: "sm", text: "Please continue using one of the following options:" }, { type: "decision", options: Object.keys(Iu).map((e) => ({ title: `${e} Icon`, icon: { name: e }, action: { url: "/" } })) }] };
2693
+ var xl = Du;
2694
+ var Lu = { type: "form", key: "Components/Heading", title: "Heading Component", description: 'Headings can have different sizes: "xs", "sm", "md", "lg", "xl".', actions: [], schemas: [], layout: ["xs", "sm", "md", "lg", "xl"].map((e) => ({ type: "heading", text: `This is heading with size: "${e}"`, size: e })) };
2695
+ var Ol = Lu;
2696
+ var Tu = ["xs", "sm", "md", "lg", "xl"];
2697
+ var Nu = { type: "form", key: "Components/Image", title: "Image Component", description: 'Images can have different sizes: "xs", "sm", "md", "lg", "xl".', actions: [], schemas: [], layout: Tu.flatMap((e) => [{ type: "paragraph", text: `This is an image with size: "${e}"`, align: "center" }, { type: "image", url: "http://placekitten.com/g/400/400", text: `This is an image with size: "${e}"`, size: e }]) };
2698
+ var Al = Nu;
2699
+ var Bu = { type: "form", key: "Components/Info", title: "Info Component", description: "A block of markdown content.", actions: [], schemas: [], layout: [{ type: "info", markdown: `## The Advantages of Using Bananas for Data Backup
2701
2700
 
2702
2701
  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:
2703
2702
 
@@ -2714,97 +2713,97 @@ Who needs passwords when you have bananas? With each backup, you can create a un
2714
2713
  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?
2715
2714
 
2716
2715
  `, align: "left" }, { type: "alert", markdown: "Links always open in a new tab.", context: "neutral" }] };
2717
- var Fl = Eu;
2718
- var Iu = { type: "form", key: "Components/List", title: "List Component", description: "A list of items with optional states, subtitles, and images.", actions: [], 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" }] }] };
2719
- var Cl = Iu;
2720
- var Du = { type: "form", key: "Components/Loading Indicator", title: "Loading Indicator Component", description: "A loading indicator to be displayed within a layout.", actions: [], schemas: [], layout: [{ type: "loading-indicator", size: "lg", margin: "md" }] };
2721
- var xl = Du;
2722
- var Lu = { type: "form", key: "Components/Paragraph", title: "Paragraph Component", description: "A block of plain text.", actions: [], 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" }] };
2723
- var Ol = Lu;
2724
- var Tu = { type: "form", key: "Components/Review", title: "Review Component", description: "Show a list of read-only fields.", actions: [], 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" }] }] }] };
2725
- var Al = Tu;
2726
- var Sa = {};
2727
- nt(Sa, { cameraCapture: () => vl, recipient: () => Pl, recipientUpdate: () => kl, singleFileUpload: () => Ml, stepValidationErrors: () => El });
2728
- var Bu = { key: "Examples/Camera Capture", title: "Camera Capture Example", type: "form", 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: "/" };
2729
2716
  var vl = Bu;
2730
- var Nu = { key: "Examples/Recipient Creation", type: "form", title: "Recipient Creation Example", description: "A form step with the typical recipient creation form.", actions: [], 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: {} } };
2731
- var Pl = Nu;
2732
- var Ru = { key: "Examples/Recipient Update", type: "form", title: "Edit recipient", actions: [{ title: "Update", url: "/responses/recipientUpdate/?delay=5000", type: "primary", method: "PATCH", $id: "submit" }], 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: { $ref: "submit" } }] };
2733
- var kl = Ru;
2734
- var Uu = { key: "Examples/Single File Upload", type: "form", title: "Single File Upload Example", actions: [], 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 } };
2735
- var Ml = Uu;
2736
- var ju = { key: "Examples/Step Validation Errors", title: "Step with validation errors", type: "form", errors: { validation: { "bridekeeper-questions": { "favourite-colour": "Auuuuuuuugh" } } }, actions: [], 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 }] } } } } }] };
2737
- var El = ju;
2717
+ var Ru = { type: "form", key: "Components/List", title: "List Component", description: "A list of items with optional states, subtitles, and images.", actions: [], 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" }] }] };
2718
+ var Pl = Ru;
2719
+ var Uu = { type: "form", key: "Components/Loading Indicator", title: "Loading Indicator Component", description: "A loading indicator to be displayed within a layout.", actions: [], schemas: [], layout: [{ type: "loading-indicator", size: "lg", margin: "md" }] };
2720
+ var kl = Uu;
2721
+ var ju = { type: "form", key: "Components/Paragraph", title: "Paragraph Component", description: "A block of plain text.", actions: [], 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" }] };
2722
+ var Ml = ju;
2723
+ var zu = { type: "form", key: "Components/Review", title: "Review Component", description: "Show a list of read-only fields.", actions: [], 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" }] }] }] };
2724
+ var El = zu;
2725
+ var Sa = {};
2726
+ nt(Sa, { cameraCapture: () => Il, recipient: () => Dl, recipientUpdate: () => Ll, singleFileUpload: () => Tl, stepValidationErrors: () => Nl });
2727
+ var Vu = { key: "Examples/Camera Capture", title: "Camera Capture Example", type: "form", 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: "/" };
2728
+ var Il = Vu;
2729
+ var Hu = { key: "Examples/Recipient Creation", type: "form", title: "Recipient Creation Example", description: "A form step with the typical recipient creation form.", actions: [], 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: {} } };
2730
+ var Dl = Hu;
2731
+ var qu = { key: "Examples/Recipient Update", type: "form", title: "Edit recipient", actions: [{ title: "Update", url: "/responses/recipientUpdate/?delay=5000", type: "primary", method: "PATCH", $id: "submit" }], 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: { $ref: "submit" } }] };
2732
+ var Ll = qu;
2733
+ var $u = { key: "Examples/Single File Upload", type: "form", title: "Single File Upload Example", actions: [], 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 } };
2734
+ var Tl = $u;
2735
+ var Gu = { key: "Examples/Step Validation Errors", title: "Step with validation errors", type: "form", errors: { validation: { "bridekeeper-questions": { "favourite-colour": "Auuuuuuuugh" } } }, actions: [], 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 }] } } } } }] };
2736
+ var Nl = Gu;
2738
2737
  var wa = {};
2739
- nt(wa, { actionResponse: () => Il, external: () => Dl, persistAsync: () => Ll, polling: () => Tl, validationAsync: () => Bl });
2740
- var zu = { key: "Features/Action Response", title: "Action Response", description: "", type: "form", actions: [], 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" } }] };
2741
- var Il = zu;
2742
- var Vu = { type: "form", key: "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" }], actions: [], schemas: [] };
2743
- var Dl = Vu;
2744
- var Hu = { type: "form", key: "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" } } } } }], actions: [{ title: "Submit Persist Async", url: "/persist-async-submit", method: "POST", type: "primary" }], layout: [{ type: "form", schema: { $ref: "the-schema" } }] };
2745
- var Ll = Hu;
2746
- var qu = { type: "form", key: "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" } }], actions: [], schemas: [] };
2747
- var Tl = qu;
2748
- var $u = { type: "form", key: "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" } }], actions: [], model: {} };
2749
- var Bl = $u;
2738
+ nt(wa, { actionResponse: () => Bl, external: () => Rl, persistAsync: () => Ul, polling: () => jl, validationAsync: () => zl });
2739
+ var _u = { key: "Features/Action Response", title: "Action Response", description: "", type: "form", actions: [], 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" } }] };
2740
+ var Bl = _u;
2741
+ var Wu = { type: "form", key: "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" }], actions: [], schemas: [] };
2742
+ var Rl = Wu;
2743
+ var Ku = { type: "form", key: "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" } } } } }], actions: [{ title: "Submit Persist Async", url: "/persist-async-submit", method: "POST", type: "primary" }], layout: [{ type: "form", schema: { $ref: "the-schema" } }] };
2744
+ var Ul = Ku;
2745
+ var Yu = { type: "form", key: "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" } }], actions: [], schemas: [] };
2746
+ var jl = Yu;
2747
+ var Ju = { type: "form", key: "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" } }], actions: [], model: {} };
2748
+ var zl = Ju;
2750
2749
  var Fa = {};
2751
- nt(Fa, { allLayoutComponents: () => Nl, finalStepLayout: () => Rl, listLayout: () => Ul, payInLayout: () => jl, reviewLayout: () => zl, successLayout: () => Vl });
2752
- var Gu = [{ 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
2750
+ nt(Fa, { allLayoutComponents: () => Vl, finalStepLayout: () => Hl, listLayout: () => ql, payInLayout: () => $l, reviewLayout: () => Gl, successLayout: () => _l });
2751
+ var Zu = [{ 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
2753
2752
  \r We can use markdown to add [links](https://transferwise.com) and _other_ **formatting**
2754
2753
  \r. It will also let us add simple lists:
2755
2754
  - one
2756
2755
  - two
2757
2756
  - #### 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 } }] }];
2758
- var Nl = Gu;
2759
- var _u = [{ 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" } }] }];
2760
- var Rl = _u;
2761
- var Wu = [{ 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" }] }];
2762
- var Ul = Wu;
2763
- var Ku = { key: "PAY_ID", type: "form", title: "Pay Using PayID", actions: [{ title: "I have paid", type: "primary", exit: true, result: { paid: "POTENTIALLY_PAID" }, $id: "#payNow" }, { title: "I'll transfer my money later", type: "secondary", exit: true, result: { paid: "NOT_PAID" }, $id: "#payLater" }], 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: { $ref: "#payNow" } }, { type: "button", action: { $ref: "#payLater" } }] };
2764
- var jl = Ku;
2765
- var Yu = [{ 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" } }] }];
2766
- var zl = Yu;
2767
- var Ju = [{ 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" } }] }] }];
2768
- var Vl = Ju;
2757
+ var Vl = Zu;
2758
+ var Xu = [{ 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" } }] }];
2759
+ var Hl = Xu;
2760
+ var Qu = [{ 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" }] }];
2761
+ var ql = Qu;
2762
+ var ep = { key: "PAY_ID", type: "form", title: "Pay Using PayID", actions: [{ title: "I have paid", type: "primary", exit: true, result: { paid: "POTENTIALLY_PAID" }, $id: "#payNow" }, { title: "I'll transfer my money later", type: "secondary", exit: true, result: { paid: "NOT_PAID" }, $id: "#payLater" }], 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: { $ref: "#payNow" } }, { type: "button", action: { $ref: "#payLater" } }] };
2763
+ var $l = ep;
2764
+ var tp = [{ 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" } }] }];
2765
+ var Gl = tp;
2766
+ var rp = [{ 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" } }] }] }];
2767
+ var _l = rp;
2769
2768
  var Ca = {};
2770
- nt(Ca, { action: () => Hl, actionResponseFinal: () => ql, exit: () => $l, recipientUpdateFinal: () => Gl });
2771
- var Zu = { action: { url: "/responses/success", method: "POST" } };
2772
- var Hl = Zu;
2773
- var Xu = { type: "form", key: "action-response-final", title: "Action Response Final Step", description: "This step was loaded as a result of an Action Response.", actions: [], 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" } }] };
2774
- var ql = Xu;
2775
- var Qu = { id: "123456", name: "Bob Loblaw", country: "US" };
2776
- var $l = Qu;
2777
- var ep = { type: "form", key: "recipient-update-final", title: "Recipient Update Final Step", description: "The recipient has been updated.", actions: [], schemas: [], layout: [{ type: "alert", markdown: "Nothing to see here.", context: "positive" }, { type: "button", action: { title: "Start Over", type: "primary", url: "/steps/recipientUpdate" } }] };
2778
- var Gl = ep;
2779
- var xa = {};
2780
- nt(xa, { numberAndInteger: () => Wl, oneOf: () => Kl, simpleForm: () => _l, stringFormats: () => Yl });
2781
- var tp = { key: "Schemas/Basic Form", title: "Simple Form", description: "A simple form with text fields and a checkbox.", type: "form", actions: [], 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" } }] };
2782
- var _l = tp;
2783
- var rp = { key: "Schemas/Number And Integer", title: "Number and Integer Schemas", description: "Number and Integer Schemas.", type: "form", actions: [], 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" } }] };
2784
- var Wl = rp;
2785
- var op = [["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"]];
2786
- var ap = { key: "Schemas/OneOf", title: "OneOf Schemas", description: "OneOf Schema using select, radio buttons and tabs.", type: "form", analytics: { custom: "this is the oneOf fixture" }, actions: [], 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", 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: op.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" } }] };
2769
+ nt(Ca, { action: () => Wl, actionResponseFinal: () => Kl, exit: () => Yl, recipientUpdateFinal: () => Jl });
2770
+ var op = { action: { url: "/responses/success", method: "POST" } };
2771
+ var Wl = op;
2772
+ var ap = { type: "form", key: "action-response-final", title: "Action Response Final Step", description: "This step was loaded as a result of an Action Response.", actions: [], 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" } }] };
2787
2773
  var Kl = ap;
2788
- var np = { key: "Schemas/String Formats", title: "String Schema Formats", description: "String schemas with different formats (password, date, telephone).", type: "form", actions: [], 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" } };
2774
+ var np = { id: "123456", name: "Bob Loblaw", country: "US" };
2789
2775
  var Yl = np;
2790
- var Bt = (e) => ({ type: "form", key: `Components/Image-${e}`, title: `Image Component - ${e}`, description: `This is an image with size: "${e}"`, actions: [], schemas: [], layout: [{ type: "image", url: "http://placekitten.com/g/400/400", text: `This is an image with size: "${e}"`, size: e }] });
2791
- var Jl = { steps: h(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 };
2792
- var Zl = { "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" };
2793
- var Xl = { "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" };
2794
- var Ql = { "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" };
2795
- var ec = { "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" };
2796
- var tc = { "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" };
2797
- var rc = { "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" };
2798
- var oc = { "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" };
2799
- var ac = { "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" };
2800
- var nc = { "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 {maximum} lub mniejsz\u0105.", "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 {minimum} lub wi\u0119ksz\u0105.", "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" };
2801
- var ic = { "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" };
2802
- 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" };
2803
- var lc = { "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" };
2804
- var cc = { "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" };
2805
- var mc = { "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\u529F\u80FD\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\u529F\u80FD", "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", "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\u958B\u555F\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\u60F3\u5728\u700F\u89BD\u5668\u7684\u65B0\u5206\u9801\u4E2D\u958B\u555F**{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" };
2806
- var wp = { en: Xl, de: Zl, es: Ql, fr: ec, hu: tc, id: rc, it: oc, ja: ac, pl: nc, pt: ic, ro: sc, ru: lc, tr: cc, zh: mc };
2807
- var dc = wp;
2776
+ var ip = { type: "form", key: "recipient-update-final", title: "Recipient Update Final Step", description: "The recipient has been updated.", actions: [], schemas: [], layout: [{ type: "alert", markdown: "Nothing to see here.", context: "positive" }, { type: "button", action: { title: "Start Over", type: "primary", url: "/steps/recipientUpdate" } }] };
2777
+ var Jl = ip;
2778
+ var xa = {};
2779
+ nt(xa, { numberAndInteger: () => Xl, oneOf: () => Ql, simpleForm: () => Zl, stringFormats: () => ec });
2780
+ var sp = { key: "Schemas/Basic Form", title: "Simple Form", description: "A simple form with text fields and a checkbox.", type: "form", actions: [], 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" } }] };
2781
+ var Zl = sp;
2782
+ var lp = { key: "Schemas/Number And Integer", title: "Number and Integer Schemas", description: "Number and Integer Schemas.", type: "form", actions: [], 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" } }] };
2783
+ var Xl = lp;
2784
+ var cp = [["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"]];
2785
+ var mp = { key: "Schemas/OneOf", title: "OneOf Schemas", description: "OneOf Schema using select, radio buttons and tabs.", type: "form", analytics: { custom: "this is the oneOf fixture" }, actions: [], 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: cp.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" } }] };
2786
+ var Ql = mp;
2787
+ var dp = { key: "Schemas/String Formats", title: "String Schema Formats", description: "String schemas with different formats (password, date, telephone).", type: "form", actions: [], 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" } };
2788
+ var ec = dp;
2789
+ var Rt = (e) => ({ type: "form", key: `Components/Image-${e}`, title: `Image Component - ${e}`, description: `This is an image with size: "${e}"`, actions: [], schemas: [], layout: [{ type: "image", url: "http://placekitten.com/g/400/400", text: `This is an image with size: "${e}"`, size: e }] });
2790
+ var tc = { steps: h(i(i(i(i({}, ba), Sa), wa), xa), { "image-xs": Rt("xs"), "image-sm": Rt("sm"), "image-md": Rt("md"), "image-lg": Rt("lg"), "image-xl": Rt("xl") }), layouts: i({}, Fa), responses: Ca };
2791
+ var rc = { "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" };
2792
+ var oc = { "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" };
2793
+ var ac = { "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" };
2794
+ var nc = { "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" };
2795
+ var ic = { "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" };
2796
+ var sc = { "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" };
2797
+ var lc = { "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" };
2798
+ var cc = { "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" };
2799
+ var mc = { "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" };
2800
+ var dc = { "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" };
2801
+ var uc = { "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" };
2802
+ var pc = { "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" };
2803
+ 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" };
2804
+ var yc = { "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" };
2805
+ var vp = { en: oc, de: rc, es: ac, fr: nc, hu: ic, id: sc, it: lc, ja: cc, pl: mc, pt: dc, ro: uc, ru: pc, tr: fc, zh: yc };
2806
+ var hc = vp;
2808
2807
  }
2809
2808
  });
2810
2809