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