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