@wise/dynamic-flow-client 2.2.0-beta-f39e6a.11 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/main.min.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var Pl=Object.create;var Kt=Object.defineProperty,Ml=Object.defineProperties,kl=Object.getOwnPropertyDescriptor,El=Object.getOwnPropertyDescriptors,Il=Object.getOwnPropertyNames,qa=Object.getOwnPropertySymbols,Dl=Object.getPrototypeOf,$a=Object.prototype.hasOwnProperty,Ll=Object.prototype.propertyIsEnumerable;var Ga=(e,t,r)=>t in e?Kt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,i=(e,t)=>{for(var r in t||={})$a.call(t,r)&&Ga(e,r,t[r]);if(qa)for(var r of qa(t))Ll.call(t,r)&&Ga(e,r,t[r]);return e},w=(e,t)=>Ml(e,El(t));var Wa=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Tl=(e,t)=>{for(var r in t)Kt(e,r,{get:t[r],enumerable:!0})},_a=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Il(t))!$a.call(e,a)&&a!==r&&Kt(e,a,{get:()=>t[a],enumerable:!(o=kl(t,a))||o.enumerable});return e};var qe=(e,t,r)=>(r=e!=null?Pl(Dl(e)):{},_a(t||!e||!e.__esModule?Kt(r,"default",{value:e,enumerable:!0}):r,e)),Nl=e=>_a(Kt({},"__esModule",{value:!0}),e);var mt=Wa((_f,Br)=>{(function(){"use strict";var e={}.hasOwnProperty,t="[native code]";function r(){for(var o=[],a=0;a<arguments.length;a++){var n=arguments[a];if(n){var s=typeof n;if(s==="string"||s==="number")o.push(n);else if(Array.isArray(n)){if(n.length){var l=r.apply(null,n);l&&o.push(l)}}else if(s==="object"){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){o.push(n.toString());continue}for(var u in n)e.call(n,u)&&n[u]&&o.push(u)}}}return o.join(" ")}typeof Br<"u"&&Br.exports?(r.default=r,Br.exports=r):typeof define=="function"&&typeof define.amd=="object"&&define.amd?define("classnames",[],function(){return r}):window.classNames=r})()});var nm=Wa((pr,Pa)=>{(function(t,r){typeof pr=="object"&&typeof Pa=="object"?Pa.exports=r(require("react")):typeof define=="function"&&define.amd?define(["react"],r):typeof pr=="object"?pr.Webcam=r(require("react")):t.Webcam=r(t.React)})(pr,function(e){return function(t){var r={};function o(a){if(r[a])return r[a].exports;var n=r[a]={i:a,l:!1,exports:{}};return t[a].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=t,o.c=r,o.d=function(a,n,s){o.o(a,n)||Object.defineProperty(a,n,{enumerable:!0,get:s})},o.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},o.t=function(a,n){if(n&1&&(a=o(a)),n&8||n&4&&typeof a=="object"&&a&&a.__esModule)return a;var s=Object.create(null);if(o.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:a}),n&2&&typeof a!="string")for(var l in a)o.d(s,l,function(u){return a[u]}.bind(null,l));return s},o.n=function(a){var n=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(n,"a",n),n},o.o=function(a,n){return Object.prototype.hasOwnProperty.call(a,n)},o.p="",o(o.s="./src/react-webcam.tsx")}({"./src/react-webcam.tsx":function(t,r,o){"use strict";o.r(r);var a=o("react"),n=o.n(a),s=function(){var h=function(f,m){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,y){p.__proto__=y}||function(p,y){for(var g in y)y.hasOwnProperty(g)&&(p[g]=y[g])},h(f,m)};return function(f,m){h(f,m);function p(){this.constructor=f}f.prototype=m===null?Object.create(m):(p.prototype=m.prototype,new p)}}(),l=function(){return l=Object.assign||function(h){for(var f,m=1,p=arguments.length;m<p;m++){f=arguments[m];for(var y in f)Object.prototype.hasOwnProperty.call(f,y)&&(h[y]=f[y])}return h},l.apply(this,arguments)},u=function(h,f){var m={};for(var p in h)Object.prototype.hasOwnProperty.call(h,p)&&f.indexOf(p)<0&&(m[p]=h[p]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,p=Object.getOwnPropertySymbols(h);y<p.length;y++)f.indexOf(p[y])<0&&Object.prototype.propertyIsEnumerable.call(h,p[y])&&(m[p[y]]=h[p[y]]);return m};(function(){typeof window>"u"||(navigator.mediaDevices===void 0&&(navigator.mediaDevices={}),navigator.mediaDevices.getUserMedia===void 0&&(navigator.mediaDevices.getUserMedia=function(f){var m=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;return m?new Promise(function(p,y){m.call(navigator,f,p,y)}):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}))})();function c(){return!!(navigator.mediaDevices&&navigator.mediaDevices.getUserMedia)}var d=function(h){s(f,h);function f(m){var p=h.call(this,m)||this;return p.canvas=null,p.ctx=null,p.requestUserMediaId=0,p.unmounted=!1,p.state={hasUserMedia:!1},p}return f.prototype.componentDidMount=function(){var m=this,p=m.state,y=m.props;if(this.unmounted=!1,!c()){y.onUserMediaError("getUserMedia not supported");return}p.hasUserMedia||this.requestUserMedia(),y.children&&typeof y.children!="function"&&console.warn("children must be a function")},f.prototype.componentDidUpdate=function(m){var p=this.props;if(!c()){p.onUserMediaError("getUserMedia not supported");return}var y=JSON.stringify(m.audioConstraints)!==JSON.stringify(p.audioConstraints),g=JSON.stringify(m.videoConstraints)!==JSON.stringify(p.videoConstraints),b=m.minScreenshotWidth!==p.minScreenshotWidth,S=m.minScreenshotHeight!==p.minScreenshotHeight;(g||b||S)&&(this.canvas=null,this.ctx=null),(y||g)&&(this.stopAndCleanup(),this.requestUserMedia())},f.prototype.componentWillUnmount=function(){this.unmounted=!0,this.stopAndCleanup()},f.stopMediaStream=function(m){m&&(m.getVideoTracks&&m.getAudioTracks?(m.getVideoTracks().map(function(p){m.removeTrack(p),p.stop()}),m.getAudioTracks().map(function(p){m.removeTrack(p),p.stop()})):m.stop())},f.prototype.stopAndCleanup=function(){var m=this.state;m.hasUserMedia&&(f.stopMediaStream(this.stream),m.src&&window.URL.revokeObjectURL(m.src))},f.prototype.getScreenshot=function(m){var p=this,y=p.state,g=p.props;if(!y.hasUserMedia)return null;var b=this.getCanvas(m);return b&&b.toDataURL(g.screenshotFormat,g.screenshotQuality)},f.prototype.getCanvas=function(m){var p=this,y=p.state,g=p.props;if(!this.video||!y.hasUserMedia||!this.video.videoHeight)return null;if(!this.ctx){var b=this.video.videoWidth,S=this.video.videoHeight;if(!this.props.forceScreenshotSourceSize){var F=b/S;b=g.minScreenshotWidth||this.video.clientWidth,S=b/F,g.minScreenshotHeight&&S<g.minScreenshotHeight&&(S=g.minScreenshotHeight,b=S*F)}this.canvas=document.createElement("canvas"),this.canvas.width=m?.width||b,this.canvas.height=m?.height||S,this.ctx=this.canvas.getContext("2d")}var P=this,O=P.ctx,v=P.canvas;return O&&v&&(g.mirrored&&(O.translate(v.width,0),O.scale(-1,1)),O.imageSmoothingEnabled=g.imageSmoothing,O.drawImage(this.video,0,0,m?.width||v.width,m?.height||v.height),g.mirrored&&(O.scale(-1,1),O.translate(-v.width,0))),v},f.prototype.requestUserMedia=function(){var m=this,p=this.props,y=function(S,F){var P={video:typeof F<"u"?F:!0};p.audio&&(P.audio=typeof S<"u"?S:!0),m.requestUserMediaId++;var O=m.requestUserMediaId;navigator.mediaDevices.getUserMedia(P).then(function(v){m.unmounted||O!==m.requestUserMediaId?f.stopMediaStream(v):m.handleUserMedia(null,v)}).catch(function(v){m.handleUserMedia(v)})};if("mediaDevices"in navigator)y(p.audioConstraints,p.videoConstraints);else{var g=function(S){return{optional:[{sourceId:S}]}},b=function(S){var F=S.deviceId;return typeof F=="string"?F:Array.isArray(F)&&F.length>0?F[0]:typeof F=="object"&&F.ideal?F.ideal:null};MediaStreamTrack.getSources(function(S){var F=null,P=null;S.forEach(function(E){E.kind==="audio"?F=E.id:E.kind==="video"&&(P=E.id)});var O=b(p.audioConstraints);O&&(F=O);var v=b(p.videoConstraints);v&&(P=v),y(g(F),g(P))})}},f.prototype.handleUserMedia=function(m,p){var y=this.props;if(m||!p){this.setState({hasUserMedia:!1}),y.onUserMediaError(m);return}this.stream=p;try{this.video&&(this.video.srcObject=p),this.setState({hasUserMedia:!0})}catch{this.setState({hasUserMedia:!0,src:window.URL.createObjectURL(p)})}y.onUserMedia(p)},f.prototype.render=function(){var m=this,p=this,y=p.state,g=p.props,b=g.audio,S=g.forceScreenshotSourceSize,F=g.onUserMedia,P=g.onUserMediaError,O=g.screenshotFormat,v=g.screenshotQuality,E=g.minScreenshotWidth,R=g.minScreenshotHeight,A=g.audioConstraints,L=g.videoConstraints,z=g.imageSmoothing,H=g.mirrored,x=g.style,T=x===void 0?{}:x,M=g.children,ie=u(g,["audio","forceScreenshotSourceSize","onUserMedia","onUserMediaError","screenshotFormat","screenshotQuality","minScreenshotWidth","minScreenshotHeight","audioConstraints","videoConstraints","imageSmoothing","mirrored","style","children"]),Ae=H?l(l({},T),{transform:(T.transform||"")+" scaleX(-1)"}):T,J={getScreenshot:this.getScreenshot.bind(this)};return a.createElement(a.Fragment,null,a.createElement("video",l({autoPlay:!0,src:y.src,muted:!b,playsInline:!0,ref:function(fe){m.video=fe},style:Ae},ie)),M&&M(J))},f.defaultProps={audio:!1,forceScreenshotSourceSize:!1,imageSmoothing:!0,mirrored:!1,onUserMedia:function(){},onUserMediaError:function(){},screenshotFormat:"image/webp",screenshotQuality:.92},f}(a.Component);r.default=d},react:function(t,r){t.exports=e}}).default})});var hp={};Tl(hp,{DynamicFlow:()=>za,JsonSchemaForm:()=>mr,Layout:()=>le,convertStepToLayout:()=>Jt,inlineReferences:()=>Ge,isValidSchema:()=>W,makeHttpClient:()=>Or,translations:()=>Cl});module.exports=Nl(hp);function Jt(e,{displayStepTitle:t=!0}={}){if(e.layout)return Jl(e,t);switch(e.type){case"final":return Vl(e);case"decision":return Ul(e);case"external":return Rl(e);default:return jl(e)}}function So(e){let t=[];if(e.title&&t.push(wo(e.title)),e.image){let r=Ka(e.image);t.push(r)}return e.description&&t.push(Fo(e.description)),t}function Rl(e){return[...So(e),Bl(e)]}function Bl(e){return{type:"external",requestUrl:e.requestUrl,polling:e.polling,responseHandlers:e.responseHandlers,retryTitle:e.retryTitle}}function jl(e){let t=So(e);if(e.reviewFields&&t.push($l(e.reviewFields)),e.schemas&&t.push(..._l(e)),e.actions){let r=e.actions.map(br);t.push(bo(r,"md"))}return t}function Vl(e){let t=[];if(e.details){if(e.details.image){let r=Gl(e.details.image);t.push(r)}e.details.title&&t.push(wo(e.details.title)),e.details.description&&t.push(Fo(e.details.description))}if(e.actions){let r=e.actions.map(o=>br(w(i({},o),{type:o.type||"primary"})));t.push(bo(r,"md"))}return t}function Ul(e){let t=So(e);return e.options&&t.push(Hl(e.options)),t}function bo(e,t){return{type:"box",width:t||"md",components:e}}function wo(e){return{type:"heading",text:e,size:"lg",margin:"lg",align:"center"}}function Fo(e){return{type:"paragraph",text:e,align:"center"}}function zl(e){return{type:"form",schema:e}}function Hl(e){return{type:"decision",options:e.map(ql)}}function ql(e){return{title:e.title,description:e.description,action:{title:e.title,method:"GET",url:e.url,disabled:e.disabled}}}function Ka(e){return{type:"image",url:e.url,text:e.text,margin:e.margin||"lg",size:e.size||"md"}}function Gl(e){return typeof e=="string"?{type:"image",url:e,text:void 0,margin:"lg",size:"md"}:Ka(e)}function br(e){return{type:"button",action:w(i({},e),{title:e.title})}}function $l(e){return{type:"review",title:e.title,fields:e.fields.map(Wl)}}function Wl(e){return{label:e.title,value:e.value}}function _l(e){let t=[];if(e.schemas&&e.schemas[0]){let r=e.schemas[0],o=zl(r);Kl()?t.push(o):t.push(bo([o],"md"))}return t}function Kl(){return!1}function Jl(e,t){return[...t&&e.title?[wo(e.title)]:[],...e.description?[Fo(e.description)]:[],...e.layout||[]]}function Ge({layout:e,schemas:t,actions:r,model:o}){return e?t?e.map(a=>a.type==="form"?Xl({formComponent:a,schemas:t}):a.type==="decision"?Yl({decisionComponent:a,actions:r}):a.type==="button"?Zl({actionComponent:a,actions:r}):a.type==="box"?Ql({boxComponent:a,schemas:t,actions:r,model:o}):a.type==="columns"?ec({columnsComponent:a,schemas:t,actions:r,model:o}):a):e:[]}function Xl({formComponent:e,schemas:t}){if(e.schemaId)return{type:"form",margin:e.margin,schema:Ja(t,e.schemaId)};if(e.schema&&wr(e.schema)&&e.schema.$ref)return{type:"form",margin:e.margin,schema:Ja(t,e.schema.$ref)};if(e.schema&&!wr(e.schema))return i({},e);throw new Error('Invalid form layout component. Missing "schema" or "schemaId" properties.')}function Yl({decisionComponent:e,actions:t}){var o;let r=(o=e==null?void 0:e.options)==null?void 0:o.map(a=>a.action&&wr(a.action)?w(i({},a),{action:Xa(t,a.action.$ref)}):a);return w(i({},e),{options:r})}function Zl({actionComponent:e,actions:t}){var r;if(e.action&&wr(e.action)&&((r=e.action)!=null&&r.$ref)){let o=Xa(t,e.action.$ref);return br(o)}return e}function Ql({boxComponent:e,schemas:t,actions:r,model:o}){return w(i({},e),{components:Ge({layout:e.components,schemas:t,actions:r,model:o})})}function ec({columnsComponent:e,schemas:t,actions:r,model:o}){return w(i({},e),{left:Ge({layout:e.left,schemas:t,actions:r,model:o}),right:Ge({layout:e.right,schemas:t,actions:r,model:o})})}function Ja(e,t){let r=e.find(o=>o.$id===t);if(!r)throw new Error(`Fatal Error. Schema not found. $id ${t}`);return r}function Xa(e,t){let r=e.find(o=>o.$id===t);if(!r)throw new Error(`Fatal Error. Action not found. $id ${t}`);return r}function wr(e){return Object.prototype.hasOwnProperty.call(e,"$ref")}var xe=require("react"),il=require("react-intl");var Ct=require("react");var Fr=require("react");function Ya(){let[e,t]=(0,Fr.useState)(0);return{addPendingPromise:(0,Fr.useCallback)(o=>{t(a=>a+1),o.catch(rc).finally(()=>tc(()=>t(a=>Math.max(0,a-1))))},[t]),pendingPromises:e}}var tc=e=>setTimeout(()=>e(),0),rc=()=>{};var tn=require("react/jsx-runtime"),Za={loading:!1,registerPersistAsyncPromise:e=>{}},Qa=(0,Ct.createContext)(Za),en=({loading:e,children:t})=>{let{pendingPromises:r,addPendingPromise:o}=Ya(),a=(0,Ct.useMemo)(()=>({loading:e||r>0,registerPersistAsyncPromise:o}),[e,r,o]);return(0,tn.jsx)(Qa.Provider,{value:a,children:t})},Cr=()=>(0,Ct.useContext)(Qa)||Za;var xt=require("react");var on=require("react/jsx-runtime"),rn=(0,xt.createContext)({triggerEvent:()=>{}}),xr=({metadata:e,children:t,onEvent:r})=>{let o=(0,xt.useMemo)(()=>({triggerEvent:Co(r,e)}),[r,e]);return(0,on.jsx)(rn.Provider,{value:o,children:t})};function te(){let{triggerEvent:e}=(0,xt.useContext)(rn);return e}var Co=(e,t)=>(r,o={})=>{try{e(r,i(i({},t),o))}catch(a){}};var at=require("react");function an(e){return e>=200&&e<300}function Ar(e){return e===422}function vr(e=""){return["https://","http://","data:"].some(t=>e.slice(0,t.length)===t&&e.length>t.length)===!1}var Or=(e,t)=>(r,o)=>{let a=oc(r,e||""),n=ac(o==null?void 0:o.headers,t);return fetch(a,w(i({},o||{}),{headers:n}))},oc=(e,t)=>typeof e=="string"&&vr(e)?t+e:e,ac=(e,t)=>{if(!e&&!t)return{};let r=new Headers(e);for(let[o,a]of Object.entries(t||{}))r.set(o,a);return r};var xo=require("react/jsx-runtime"),Pr=(0,at.createContext)(void 0),nn=({httpClient:e,children:t})=>(0,xo.jsx)(Pr.Provider,{value:e,children:t}),Mr=({baseUrl:e,children:t})=>{let r=(0,at.useMemo)(()=>Or(e),[e]);return(0,xo.jsx)(Pr.Provider,{value:r,children:t})},re=()=>(0,at.useContext)(Pr)||fetch,kr=()=>!!(0,at.useContext)(Pr);var At=require("react");var mn=require("react/jsx-runtime"),nt=(e,t,r="UNKNOWN-FLOW-ID",o="UNKNOWN-FLOW-ID")=>(a,n,s)=>{try{t(e,`Dynamic Flow ${e} - ${a} - ${n}`,i({flowId:r,stepId:o},s))}catch(l){}},sn=(0,At.createContext)(null),Er=({flowId:e,stepId:t,children:r,onLog:o})=>{let a=(0,At.useMemo)(()=>({debug:nt("debug",o,e,t),info:nt("info",o,e,t),warning:nt("warning",o,e,t),error:nt("error",o,e,t),critical:nt("critical",o,e,t)}),[o,e,t]);return(0,mn.jsx)(sn.Provider,{value:a,children:r})},vt=()=>{let e=(0,At.useContext)(sn);if(e==null)throw new Error("Logging context not found. Did you forget to wrap your component in a <LogProvider />?");return e};var I=e=>typeof e=="string",j=e=>typeof e=="number"&&!Number.isNaN(e),ln=e=>j(e)&&Math.floor(e)===e,ve=e=>typeof e=="boolean",N=e=>!k(e)&&!X(e)&&(e==null?void 0:e.constructor)===Object,q=e=>Array.isArray(e),k=e=>e===null,X=e=>typeof e=="undefined";var Ot=e=>I(e)&&e.length===0||(N(e)||q(e))&&Object.keys(e).length===0;function cn(e,t){return t.oneOf.some(r=>$e(e,r)===e)?e:null}function dn(e,t){var o;let r=t.oneOf.map(a=>nc(e,a)).filter(a=>a!==null);return r.length===0?null:(o=r.find(a=>a.some(n=>n!==null)))!=null?o:r[0]}function nc(e,t){return!Le(t)||!Oe(t)?null:Ao(e,t)}function un(e){return I(e)&&!Ot(e)?e:null}function pn(e){return j(e)?e:null}function fn(e){return ve(e)?e:null}function Ao(e,t){if(!q(e)||!Oe(t))return null;if(e.length>0){let r=typeof e[0];if(!e.every(o=>typeof o===r))return new Array(e.length).fill(null)}return e.map(r=>Pt(r,t.items))}function yn(e,t){return Object.keys(t.properties).reduce((r,o)=>{if(e&&!X(e[o])){let a=e[o],n=t.properties[o],s=Pt(a,n);if(!k(s))return w(i({},r),{[o]:s})}return r},{})}function hn(e,t){return t.allOf.reduce((r,o)=>{let a=se(e,o);return $(a)?i(i({},r),a):r},{})}function gn(e,t){return t.oneOf.map(r=>se(e,r)).reduce((r,o)=>k(r)?o:$(r)&&$(o)?Sn(r,o):k(o)?r:o,null)}function Sn(e,t){return Object.keys(t).reduce((r,o)=>{let a=e[o],n=t[o];return $(a)&&$(n)?w(i({},r),{[o]:Sn(a,n)}):w(i({},r),{[o]:t[o]})},i({},e))}var Pt=(e,t)=>$(e)?se(e,t):vo(e)?ic(e,t):$e(e,t);function $e(e,t){if(k(e))return null;if(t.oneOf)return cn(e,t);if(!X(t.const)&&e===t.const)return e;if(t.type)switch(t.type){case"string":return un(e);case"number":case"integer":return pn(e);case"boolean":return fn(e);default:return null}return null}function se(e,t){return Te(t)||Le(t)||k(e)?null:t.allOf?hn(e,t):t.oneOf?gn(e,t):!X(t.const)&&e===t.const?e:Pe(t)?yn(e,t):null}function ic(e,t){return ye(t)?dn(e,t):Le(t)?Ao(e,t):null}function Xt(e,t=!1){return!t||!X(e)}function bn(e,t=!1){return!t||q(e)}function wn(e,t){return!j(t)||I(e)&&e.length>=t}function Fn(e,t){return!j(t)||I(e)&&e.length<=t}function Cn(e,t){return t===void 0?!0:e==null?!1:!!new RegExp(t).test(e)}function Oo(e,t){return!j(t)&&!I(t)||(j(e)||I(e))&&e<=t}function Po(e,t){return!j(t)&&!I(t)||(j(e)||I(e))&&e>=t}function xn(e,t){return!j(t)||q(e)&&e.length>=t}function An(e,t){return!j(t)||q(e)&&e.length<=t}function We(e,t,r){if(t.const)return Io(e,t,r);if(k(e))return r?["required"]:[];if(On(t))return Mo(e,t,r);switch(t.type){case"number":return Ir(e,t,r);case"integer":return ko(e,t,r);case"boolean":return Eo(e,t,r);case"array":return Mt(e,t,r);case"object":return sc(e,t);default:return[]}}function Mo(e,t,r){if(!I(e)&&!k(e))return["type"];if(e===""&&r)return["required"];let o=[];return Xt(e,r)||o.push("required"),wn(e,t.minLength)||o.push("minLength"),Fn(e,t.maxLength)||o.push("maxLength"),Cn(e,t.pattern)||o.push("pattern"),Po(e,t.minimum)||o.push("minimum"),Oo(e,t.maximum)||o.push("maximum"),o}function Ir(e,t,r){if(!j(e)&&!k(e))return["type"];let o=[];return Xt(e,r)||o.push("required"),Po(e,t.minimum)||o.push("minimum"),Oo(e,t.maximum)||o.push("maximum"),o}function ko(e,t,r){return ln(e)?Ir(e,t,r):["type"]}function Eo(e,t,r){if(!ve(e)&&!k(e))return["type"];let o=[];return Xt(e,r)||o.push("required"),o}function Io(e,t,r){return Xt(e,r)?e!==t.const?["const"]:[]:["required"]}function Mt(e,t,r){if(!q(e)&&!k(e))return["type"];if(!bn(e,r))return["required"];let o=[];return xn(e,t.minItems)||o.push("minItems"),An(e,t.maxItems)||o.push("maxItems"),o}function vn(e,t){return k(e)?["type"]:[]}function sc(e,t){return $(e)?q(t.required)?t.required.map(o=>typeof e[o]!="undefined").reduce((o,a)=>o&&a,!0)?[]:["required"]:[]:["type"]}function mc(e,t){return!Mo(e,t).length}function lc(e,t){return!Ir(e,t).length}function cc(e,t){return!ko(e,t).length}function dc(e,t){return!Eo(e,t).length}function uc(e,t){return!Io(e,t).length}function pc(e,t){return!N(e)||t.type!=="object"||!N(t.properties)?!1:Object.keys(t.properties).map(r=>fc(e[r],t.properties[r],t.required&&t.required.includes(r))).every(r=>r)}function fc(e,t,r){return t.hidden?!0:typeof e=="undefined"?!r:W(e,t)}function yc(e,t){return t.type!=="array"||!N(t.items)||Mt(e,t).length>0?!1:Array.isArray(e)&&Oe(t)&&e.map(r=>W(r,t.items)).every(r=>r)}function hc(e,t){return q(t.oneOf)?t.oneOf.some(r=>W(e,r)):!1}function gc(e,t){return q(t.allOf)?t.allOf.map(r=>W(e,r)).every(r=>r):!1}function Sc(e,t){return!vn(e,t).length}function W(e,t){if(t.oneOf)return hc(e,t);if(t.allOf)return gc(e,t);if(t.const)return uc(e,t);switch(t.type){case"string":return mc(e,t);case"number":return lc(e,t);case"integer":return cc(e,t);case"boolean":return dc(e,t);case"array":return yc(e,t);case"object":return pc(e,t);case"blob":return Sc(e,t);default:return!1}}function bc(e){let t=new Date(e),r=`${t.getMonth()+1}`,o=`${t.getDate()}`,a=t.getFullYear(),n=r.length<2?`0${r}`:r,s=o.length<2?`0${o}`:o;return[a,n,s].join("-")}var Pn=e=>{if(!e)return null;let[t,r,o]=e.split("-").map(a=>parseInt(a,10));return!j(t)||!j(r)||!j(o)?null:new Date(t,r-1,o)},Mn=e=>bc(e);var _e=(e,t)=>{let r,o,a=()=>{r&&(clearTimeout(r),r=null),o=null},n=(...s)=>{o=s,r!==null&&clearTimeout(r),r=setTimeout(()=>{e(...o),r=null,o=null},t)};return n.cancel=()=>{r!==null&&a()},n.flush=()=>{r!==null&&(e(...o),a())},n};var Ke=(e,t)=>e===t?!0:Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((r,o)=>Ke(r,t[o])):!!(kn(e)&&kn(t)&&wc(e,t)),wc=(e,t)=>{let r=Object.keys(e),o=Object.keys(t);return r.length===o.length&&r.every(a=>Object.prototype.hasOwnProperty.call(t,a)&&Ke(e[a],t[a]))},kn=e=>typeof e=="object"&&e!==null;function Dr(e){return Math.floor(e/1024)}var En=e=>new Promise((t,r)=>{let o=new FileReader;o.readAsDataURL(e),o.addEventListener("load",()=>t(o.result)),o.addEventListener("error",a=>r(a))});function In(e,t){let r=t.reduce((o,a)=>w(i({},o),{[a.id]:a}),{});for(let o of e){let a=r[o.id];if(!a||a.status!==o.status)return!1}return!0}var Me=(e="")=>`${e?`${e}-`:""}${Math.floor(1e8*Math.random())}`;function he(e){return!X(e==null?void 0:e.const)}function Yt(e){return!!e&&!he(e)}var Fc=e=>!!e.readOnly&&Te(e),Cc=e=>!!e.oneOf&&!!e.promotion,xc=new Set(["string","number","integer","boolean"]);function Te(e){return xc.has(e.type||"")||"const"in e&&e.const!==void 0}function Pe(e){return e.type==="object"}function it(e){return ye(e)&&e.oneOf.every(t=>t.type==="object")}function ye(e){return!!e.oneOf}function Do(e){return!!e.allOf}function kt(e){return e.type==="blob"}function Le(e){return e.type==="array"}function Oe(e){let t=e.items;return!Array.isArray(t)}function On(e){return e.type==="string"}function Lr(e){return!!e.persistAsync}function Ac(e){return Lr(e)&&(kt(e.persistAsync.schema)||vc(e.persistAsync.schema))}var Lo=e=>Te(e)&&!!e.validationAsync;function vc(e){return e.type==="string"&&e.format==="base64url"}function Dn(e){return e.type==="string"&&e.format==="base64url"}var Ln=e=>Le(e)&&Oe(e)&&Ac(e.items),st=e=>Fc(e)?"readOnly":Lr(e)?"persistAsync":Lo(e)?"validationAsync":Pe(e)?"object":Le(e)?"array":Cc(e)?"promotedOneOf":ye(e)?"oneOf":Do(e)?"allOf":Te(e)?"basic":null;var Tn=e=>Oc(e)&&Pc(e)&&Mc(e),Oc=e=>!e.type||e.type==="form",Pc=e=>{var t;return((t=e==null?void 0:e.actions)==null?void 0:t.length)===1},Mc=e=>{if(!e.schemas)return!1;let t=Tr(e.schemas);if((t==null?void 0:t.length)!==1)return!1;let r=t[0];if(!Pe(r)||Object.values(r.properties).length!==1)return!1;let o=Object.values(r.properties)[0];return Dn(o)?o.source==="camera":!1},Tr=e=>e.filter(t=>Pe(t)?Object.values((t==null?void 0:t.properties)||{}).find(r=>(r==null?void 0:r.hidden)!==!0):(t==null?void 0:t.hidden)!==!0);var $=e=>typeof e=="object"&&e!==null&&e.constructor===Object,To=e=>k(e)||$(e),No=e=>ve(e)||j(e)||I(e)||k(e),Nr=e=>I(e)||k(e),vo=e=>q(e)?e.length===0?!0:e.every(t=>typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="object"):!1,Nn=e=>k(e)?!0:vo(e);var Zt=e=>I(e)||k(e);var Rn=()=>Ec()&&(Ic()||kc()),kc=(e=window.navigator.userAgent)=>/Mobi|\b(iPhone|Android|BlackBerry|webOS|Windows Phone)\b/i.test(e),Ec=(e=window.screen.width,t=window.screen.height)=>e<768||t<768,Ic=(e=window.navigator,t=window.matchMedia)=>{if("maxTouchPoints"in e)return e.maxTouchPoints>0;if("msMaxTouchPoints"in e)return e.msMaxTouchPoints>0;let r=t==null?void 0:t("(pointer:coarse)");return(r==null?void 0:r.media)==="(pointer:coarse)"?!!r.matches:!1};var Bn=require("react");function jn(e,t){return(0,Bn.useCallback)(_e(e,t),[e,t])}var Qt=require("react");function Vn(e){let[t,r]=(0,Qt.useState)(null),[o,a]=(0,Qt.useState)(!1),n=()=>a(!0);return(0,Qt.useEffect)(()=>{e&&(a(!1),r(window.open(e,"_blank")))},[e]),{requiresManualTrigger:!!(e&&!t&&!o),dismissConfirmation:n}}var er=require("react");function Un(e,t){let r=re(),o=(0,er.useMemo)(()=>{if(e)return()=>r(e.url).then(n=>{if(n.ok)try{return n.json()}catch(s){throw new Error("failed")}else throw new Error("failed")})},[e,r]),a=(0,er.useCallback)(n=>{let l=((e==null?void 0:e.responseHandlers)||[]).find(u=>u.result===n.result);if(l!=null&&l.action){let{action:u}=l;if(u.exit){let c=i(i({},u.result||{}),n.data||{});t(w(i({},u),{result:c}))}else{let c=i(i({},u.data||{}),n.data||{});t(w(i({},u),{data:c}))}return!1}return!0},[e==null?void 0:e.responseHandlers,t]);Rr({asyncFn:o,interval:(e==null?void 0:e.interval)||0,maxAttempts:(e==null?void 0:e.maxAttempts)||0,maxConsecutiveFails:(e==null?void 0:e.maxConsecutiveFails)||0,onPollingResponse:a,onFailure:(0,er.useCallback)(()=>{e&&t(e.onError.action)},[t,e])})}var tm=require("react"),rm=require("react-intl");var zn=require("react-intl"),tr=(0,zn.defineMessages)({genericError:{id:"dynamicFlows.PersistAsyncSchema.genericError",defaultMessage:"Something went wrong, please try again later!",description:"Generic error message for persist async schema"}});var wt=require("react"),Xs=require("react-intl");var Hn={DAY_MONTH_YEAR:"day-month-year",MONTH_YEAR:"month-year"};var V={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"};var qn={SHORT:"short",LONG:"long"};var Gn={EXTRA_SMALL:"xs",SMALL:"sm",MEDIUM:"md",LARGE:"lg",EXTRA_LARGE:"xl"};var Ks=qe(mt()),ce=require("react");var Yn=require("@transferwise/components");var It=require("@transferwise/components");var Wn=require("react/jsx-runtime"),Et=e=>Dc(e)||Lc(e),Dc=e=>Tc.some(t=>e===`flag-${t}`),Lc=e=>Nc.some(t=>e===`flag-${t}`),$n=({name:e})=>{if(!Et(e))return null;let t=e.substring(5);return(0,Wn.jsx)("img",{src:`https://wise.com/web-art/assets/flags/${t}.svg`,alt:"","data-testid":`img-flag-${t}`})},Tc=["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"],Nc=["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"];var _n=qe(require("@transferwise/icons")),Xn=require("react/jsx-runtime"),jr=e=>{let t=Jn(e);return Object.keys(_n).includes(t)},Kn=({name:e})=>{if(!jr(e))return null;let t=Jn(e),r=_n[t];return(0,Xn.jsx)(r,{size:24})},Jn=e=>e.split("-").map(Rc).join(""),Rc=e=>{var t;return`${(t=e[0])==null?void 0:t.toUpperCase()}${e.slice(1)}`};var Ro=require("react/jsx-runtime"),Bc=({type:e})=>Et(e)?(0,Ro.jsx)($n,{name:e}):jr(e)?(0,Ro.jsx)(Kn,{name:e}):null;function Bo(e){return jr(e)||Et(e)}var Je=Bc;var rr=require("react/jsx-runtime"),lt=({icon:e,image:t})=>{if(e!=null&&e.name)return(0,rr.jsx)(It.Avatar,{type:It.AvatarType.ICON,children:(0,rr.jsx)(Je,{type:e.name})});if(e!=null&&e.text)return(0,rr.jsx)(It.Avatar,{type:It.AvatarType.INITIALS,children:e.text});if(t!=null&&t.url){let{url:r,text:o}=t;return(0,rr.jsx)("img",{src:r,alt:o})}return null};var B=e=>{switch(e){case"xs":return"m-t-0";case"sm":return"m-t-1";case"md":return"m-t-2";case"lg":return"m-t-3";case"xl":return"m-t-5";default:return""}},jc=e=>{switch(e){case"right":return"text-xs-right";case"center":return"text-xs-center";case"left":default:return""}},Ne=e=>`${jc(e.align)} ${B(e.margin)}`;var Zn=require("react/jsx-runtime"),Vc=e=>{let t=e.component;return(0,Zn.jsx)(Yn.Alert,{type:zc(Uc(t.context)),className:B(t.margin),message:t.markdown})},Uc=e=>{switch(e){case"success":return"positive";case"failure":return"negative";case"warning":return"warning";case"info":case"primary":return"neutral";default:return e}},zc=e=>!e||!["neutral","warning","negative","positive"].includes(e)?"neutral":e,me=Vc;var ct=require("react/jsx-runtime"),Hc=e=>{let t=e.component,r=B(t.margin||t.border?"lg":"xs");return!t.width||t.width==="xl"?(0,ct.jsx)("div",{className:r+Qn(t.border),children:(0,ct.jsx)(le,{components:t.components,model:e.model,submitted:e.submitted,errors:e.errors,onModelChange:e.onModelChange,onAction:e.onAction,onPersistAsync:e.onPersistAsync})}):(0,ct.jsx)("div",{className:"row",children:(0,ct.jsx)("div",{className:r+qc(t),children:(0,ct.jsx)("div",{className:Qn(t.border),children:(0,ct.jsx)(le,{components:t.components,model:e.model,submitted:e.submitted,errors:e.errors,onModelChange:e.onModelChange,onAction:e.onAction,onPersistAsync:e.onPersistAsync})})})})},Qn=e=>e?" well p-b-0":"",qc=e=>{switch(e.width){case"xs":return" col-md-4 col-md-offset-4";case"sm":return" col-md-6 col-md-offset-3 col-lg-4 col-lg-offset-4";case"md":return" col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3";case"lg":return" col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2";case"xl":default:return" col-xs-12"}},jo=Hc;var oi=require("@transferwise/components");var Gc={primary:"primary",secondary:"secondary",link:"tertiary",positive:"primary",negative:"primary"},ei=e=>{var r;let t=e.action.type;return(r=e.control)!=null?r:t?Gc[t]:"secondary"},$c={primary:"neutral",secondary:"neutral",link:"neutral",positive:"positive",negative:"negative"},ti=e=>{var o;let t=e.action.type,r=(o=e.context)!=null?o:t?$c[t]:"neutral";return r==="neutral"?"accent":r},ri=e=>{switch(e){case"xs":case"sm":return"sm";case"lg":case"xl":return"lg";case"md":default:return"md"}};var ai=require("react/jsx-runtime"),Wc=e=>{var u;let{component:t,onAction:r}=e,o=t.action,a=ti(t),n=ei(t),{loading:s}=Cr(),l=B(t.margin||"md");return(0,ai.jsx)(oi.Button,{size:ri(t.size),type:a,priority:n,block:!0,className:l,disabled:t.disabled||o.disabled||s,onClick:()=>r(o),children:(u=t.title)!=null?u:o.title})},Vo=Wc;var dt=require("react/jsx-runtime"),_c=e=>{let t=e.component,{leftWidth:r,rightWidth:o}=Kc(t.bias);return(0,dt.jsxs)("div",{className:`${B(t.margin||"xs")} row`,children:[(0,dt.jsx)("div",{className:`${r} m-b-0`,children:(0,dt.jsx)(le,{components:t.left,model:e.model,submitted:e.submitted,errors:e.errors,onModelChange:e.onModelChange,onAction:e.onAction,onPersistAsync:e.onPersistAsync})}),(0,dt.jsx)("div",{className:`${o} m-b-0`,children:(0,dt.jsx)(le,{components:t.right,model:e.model,submitted:e.submitted,errors:e.errors,onModelChange:e.onModelChange,onAction:e.onAction,onPersistAsync:e.onPersistAsync})})]})},Kc=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"},Uo=_c;var Ur=require("@transferwise/components");var Vr=require("react/jsx-runtime"),Jc=({component:e,onAction:t})=>(0,Vr.jsx)("div",{className:B(e.margin),children:(0,Vr.jsx)(Ur.NavigationOptionsList,{children:e.options.map(r=>(0,Vr.jsx)(Ur.NavigationOption,{title:r.title,content:r.description,disabled:r.disabled,media:lt(r),showMediaCircle:!1,showMediaAtAllSizes:!0,onClick:()=>t(r.action)},JSON.stringify(r)))})}),zo=Jc;var ni=require("react/jsx-runtime"),Xc=({component:e})=>{let r=`m-t-0 ${B(e.margin)}`;return(0,ni.jsx)("hr",{className:r})},Ho=Xc;var Dt=require("@transferwise/components"),zr=require("react"),mi=require("react-intl");var ii=require("react-intl"),si=(0,ii.defineMessages)({retryTitle:{id:"dynamicFlows.DynamicExternal.retryTitle",defaultMessage:"Reopen window",description:""}});var Xe=require("react/jsx-runtime"),Yc=({component:e,onAction:t})=>{let{requestUrl:r,responseHandlers:o,polling:a,retryTitle:n}=e,s=(0,mi.useIntl)(),l=(0,zr.useCallback)(()=>window.open(r,"df-external-window"),[r]);(0,zr.useEffect)(()=>{l()},[l]);let u=a&&o?w(i({},a),{responseHandlers:o}):void 0;return Un(u,t),(0,Xe.jsxs)(Xe.Fragment,{children:[(0,Xe.jsx)(Dt.Loader,{size:Dt.Size.LARGE,classNames:{"tw-loader":"tw-loader m-x-auto"}}),(0,Xe.jsx)("br",{}),(0,Xe.jsx)(Dt.Button,{priority:"tertiary",block:!0,onClick:l,children:n||s.formatMessage(si.retryTitle)})]})},qo=Yc;var Os=require("react");var li=qe(mt()),ci=require("react");var ke=require("react/jsx-runtime"),Zc=(e,t)=>t.map(r=>se(e,r)||{}),Qc=e=>e.reduce((t,r)=>i(i({},r),t),{}),ed=e=>({"col-xs-12":!0,"col-sm-6":e==="md","col-sm-4":e==="sm"}),di=e=>{let t=(a,n)=>{let s=e.schema.allOf[a];r[a]=se(n.model,s)||{},o(r),e.onChange(w(i({},n),{model:Qc(r)}))},[r,o]=(0,ci.useState)(Zc(e.model,e.schema.allOf));return(0,ke.jsxs)(ke.Fragment,{children:[e.schema.title&&(0,ke.jsx)("h3",{className:"page-header",children:e.schema.title}),e.schema.description&&(0,ke.jsx)("p",{children:e.schema.description}),(0,ke.jsx)("div",{className:"row",children:e.schema.allOf.map((a,n)=>(0,ke.jsx)("div",{className:(0,li.default)(ed(a.width)),children:(0,ke.jsx)(ue,{schema:a,model:r[n],errors:e.errors,submitted:e.submitted,disabled:e.disabled,onChange:s=>t(n,w(i({},s),{model:s.model})),onPersistAsync:e.onPersistAsync})},n))})]})};di.defaultProps={disabled:!1};var Go=di;var qr=require("@transferwise/components"),vi=qe(mt()),or=require("react");var Hr=require("@transferwise/components"),$o=require("@transferwise/formatting"),pi=require("react-intl");var ui=require("react-intl"),ge=(0,ui.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:""}});var Re=require("react/jsx-runtime"),fi=e=>{var l;let t=td(e.schema),r=i(i(i({},t),e.validationMessages),e.schema.validationMessages),o=(e.submitted||!e.changed)&&!!e.errors,a=!o&&(e.submitted||e.changed&&e.blurred)&&!!((l=e.validations)!=null&&l.length),n=e.focused&&e.schema.description&&!a,s=!!e.infoMessage;return(0,Re.jsxs)("div",{id:e.id,children:[o?(0,Re.jsx)(Hr.InlineAlert,{type:"error",children:e.errors}):null,a?(0,Re.jsx)(Hr.InlineAlert,{type:"error",children:e.validations.map(u=>(0,Re.jsx)("div",{children:r[u]},u))}):null,(n||s)&&(0,Re.jsxs)(Hr.InlineAlert,{type:"info",children:[n&&(0,Re.jsx)("div",{children:e.schema.description}),s&&(0,Re.jsx)("div",{children:e.infoMessage})]})]})};fi.defaultProps={errors:"",validations:[],validationMessages:{},validationAsyncSuccessMessage:null};function td(e){let{formatMessage:t,locale:r}=(0,pi.useIntl)(),o={type:t(ge.type),minimum:t(ge.minimum,{minimum:e.minimum}),maximum:t(ge.maximum,{maximum:e.maximum}),minLength:t(ge.minLength,{minLength:e.minLength}),maxLength:t(ge.maxLength,{maxLength:e.maxLength}),pattern:t(ge.pattern),required:t(ge.required)};if(e.format==="date"){let a={pattern:t(ge.patternDate),minimum:e.minimum?t(ge.minimumDate,{minimum:(0,$o.formatDate)(new Date(e.minimum),r,{timeZone:"UTC",dateStyle:"long"})}):void 0,maximum:e.maximum?t(ge.maximumDate,{maximum:(0,$o.formatDate)(new Date(e.maximum),r,{timeZone:"UTC",dateStyle:"long"})}):void 0};return i(i({},o),a)}return o}var Be=fi;async function yi(e,t){if(t)return e;if(e instanceof Blob)return En(e);throw new Error("Error creating payload for MultipleFileUploadSchema. Uploaded file is not an instance of Blob.")}function hi(e){let t=e.data;return i({id:t},e)}function gi(e){let t=e instanceof Error;if(!(N(e)&&"data"in e)&&!t)return I(e)?e:void 0;if(t){let a=e;return{id:Me(),message:a.message}}else return i({message:I(e.message)?e.message:""},e)}var Ci=require("react-intl");var Si=require("react-intl"),bi=(0,Si.defineMessages)({required:{id:"dynamicFlows.DefaultErrorMessages.required",defaultMessage:"Please fill out this field.",description:"Customer has left the required field empty"}});var wi=require("react-intl"),Fi=(0,wi.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."}});function xi({maxItems:e,minItems:t}){let{formatMessage:r}=(0,Ci.useIntl)(),{maxFileSizeError:o,maxItemsError:a,minItemsError:n}=Fi;return{maxFileSizeErrorMessage:r(o),maxItemsErrorMessage:r(a,{maxItems:e}),minItemsErrorMessage:r(n,{minItems:t}),requiredMessage:r(bi.required)}}var ut=require("react/jsx-runtime"),Oi=e=>{var E,R;let{onChange:t,schema:r}=e,o=te(),a=xi(r),n=(0,or.useMemo)(()=>r.$id||Me(),[r.$id]),[s,l]=(0,or.useState)(!1),[u,c]=(0,or.useState)(()=>rd(e.model||[])),d=Pi(r.items.persistAsync),h=r.items.persistAsync.schema,f=kt(h),m=async A=>{l(!0);try{let L=await yi(A,f);o("Dynamic Flow - PersistAsync",{status:"pending",schemaId:r.$id});let z=await d(L);return o("Dynamic Flow - PersistAsync",{status:"success",schemaId:r.$id}),hi(z)}catch(L){return o("Dynamic Flow - PersistAsync",{status:"failure",schemaId:r.$id}),Promise.reject(gi(L))}};function p(A){if(In(A,u))return;c(A);let z=Ai(A).map(H=>H.id);t({model:z,triggerSchema:r,triggerModel:z})}let g=Ai(u).map(A=>A.id),b=Mt(g,r,e.required),S=!!e.errors||(s||e.submitted)&&!!b.length,F="accepts"in h&&h.accepts,P="maxSize"in h&&h.maxSize,O=w(i(i({multiple:!0,className:"form-control",files:u,fileInputName:n,id:n},F?{fileTypes:F}:void 0),P?{sizeLimit:Dr(P)}:void 0),{sizeLimitErrorMessage:((E=h.validationMessages)==null?void 0:E.maxSize)||a.maxFileSizeErrorMessage,maxFiles:e.schema.maxItems,maxFilesErrorMessage:((R=e.schema.validationMessages)==null?void 0:R.maxItems)||a.maxItemsErrorMessage,uploadButtonTitle:h.title,description:h.description,disabled:e.disabled,onUploadFile:A=>m(A.get(n)),onFilesChange:p,onDeleteFile:()=>Promise.resolve()}),v=`${n}-feedback`;return(0,ut.jsxs)("div",{className:(0,vi.default)("form-group",{"has-error":S}),children:[(0,ut.jsx)("label",{className:"d-block control-label",htmlFor:n,children:e.schema.title}),(0,ut.jsx)("div",{"aria-describedby":v,children:(0,ut.jsx)(qr.UploadInput,i({},O))}),(0,ut.jsx)(Be,{id:v,changed:s,submitted:e.submitted,errors:e.errors,schema:e.schema,validations:b,validationMessages:ad(r,!!e.required,a),infoMessage:null,focused:!1,blurred:!0})]})};Oi.defaultProps={errors:null,required:!1};var Wo=Oi;function Ai(e){return e.filter(t=>!t.error&&t.status==="succeeded")}function rd(e){return e.map(t=>od(t)?{id:t,status:qr.Status.SUCCEEDED}:null).filter(t=>t!==null)}function od(e){return j(e)||I(e)}function ad(e,t,r){let{minItems:o,maxItems:a}=e;return i(i(i({},t&&{required:r.requiredMessage}),o&&{minItems:r.minItemsErrorMessage}),a&&{maxItems:r.maxItemsErrorMessage})}var Tt=require("@transferwise/components"),Ri=require("@transferwise/icons"),Wr=require("react"),Bi=require("react-intl");var Mi=require("@transferwise/components");var Ei=require("react/jsx-runtime"),ki=({item:e,onClick:t})=>(0,Ei.jsx)(Mi.NavigationOption,{onClick:t,media:lt(e),title:e.title,content:e.description});var Ii=require("react-intl"),pt=(0,Ii.defineMessages)({addItemTitle:{id:"dynamicFlows.ArraySchema.addItemTitle",defaultMessage:"Add Item",description:"Label on the button used to open a form to add an item"},addItem:{id:"dynamicFlows.ArraySchema.addItem",defaultMessage:"Save",description:"Label on the add button used to submit a form that adds an item"},editItem:{id:"dynamicFlows.ArraySchema.editItem",defaultMessage:"Save",description:"Label on the edit button used to submit a form that edits an item"},removeItem:{id:"dynamicFlows.ArraySchema.removeItem",defaultMessage:"Remove",description:"Label on the remove button used to confirm deletion of an item"}});var Di=require("react-intl");var Ti=require("react/jsx-runtime"),nd=({type:e,schema:t,model:r,errors:o,submitted:a,onModelChange:n,onAction:s})=>{let{formatMessage:l}=(0,Di.useIntl)(),u={layout:[{type:"form",schema:t.items},{type:"button",control:"primary",action:{url:e,title:l(e==="add"?pt.addItem:pt.editItem)}},...e==="edit"?[{type:"button",context:"negative",action:{url:"remove",title:l(pt.removeItem)}}]:[]],title:"",actions:[],schemas:[]};return(0,Ti.jsx)(Gr,{step:u,model:r,stepLayoutOptions:{displayStepTitle:!1},submitted:a,formErrors:o,globalError:null,onAction:c=>{s(c.url)},onModelChange:n})},Li=nd;var $r=(e,t)=>{let r=ar(e,t);if(r>=0)return r;if(e.oneOf.length===1&&Yt(e.oneOf[0]))return 0;if(he(e.oneOf[0])){let o=ar(e,e.default);if(o>=0)return o}return it(e)&&$(t)&&Object.keys(t).length>=1?Lt(e,t):it(e)&&!X(e.default)&&$(e.default)&&Object.keys(e.default).length>=1?Lt(e,e.default):null},ar=(e,t)=>e.oneOf.findIndex(r=>!X(t)&&W(t,r));function Lt(e,t){if(t==null)return null;let r=e.oneOf.map(o=>id(o).reduce((a,[n,s])=>he(s)&&s.const===t[n]?a+2:Yt(s)&&typeof t[n]!="undefined"?a+1:a,0));return r.every(o=>o===r[0])?null:r.indexOf(Math.max(...r))}function id(e){return e.properties!==null&&typeof e.properties=="object"?Object.entries(e.properties):[]}var _o=(e,t,r={})=>{let{defaultTitle:o="",defaultDescription:a="",defaultIcon:n,defaultImage:s}=r,l=Ye({schema:e,model:t,providesProp:"providesTitle",getValueFromSchema:Ni}),u=Ye({schema:e,model:t,providesProp:"providesDescription",getValueFromSchema:Ni}),c=Ye({schema:e,model:t,providesProp:"providesIcon",getValueFromSchema:h=>{var f;return(f=h.icon)!=null?f:null}}),d=Ye({schema:e,model:t,providesProp:"providesImage",getValueFromSchema:h=>{var f;return(f=h.image)!=null?f:null}});return{value:t,title:l||o,description:u||a,icon:c||n,image:d||s}},Ye=e=>{let{schema:t,model:r,providesProp:o,getValueFromSchema:a}=e;if(cd(t.summary,o))return a(t,r);switch(st(t)){case"object":return sd(e);case"oneOf":return md(e);case"allOf":return ld(e);default:return null}},sd=e=>{let{schema:t,model:r}=e,o=t;for(let a in o.properties){let n=o.properties[a],s=$(r)&&a in r?r[a]:null,l=Ye(w(i({},e),{schema:n,model:s}));if(l)return l}return null},md=e=>{let{schema:t,model:r}=e;if(it(t)){if(!$(r))return null;let n=Lt(t,r);if(n===null||n<0)return null;let s=t.oneOf[n];return Ye(w(i({},e),{schema:s}))}let o=t,a=$r(o,r);return a===null||a<0?null:Ye(w(i({},e),{schema:o.oneOf[a]}))},ld=e=>{let{schema:t}=e,r=t;for(let o of r.allOf){let a=Ye(w(i({},e),{schema:o}));if(a)return a}return null},Ni=(e,t)=>he(e)?e.title?e.title:I(e.const)?e.const:null:Nr(t)?t:null,cd=(e,t)=>!!e&&Object.hasOwnProperty.call(e,t)&&!!e[t];var Se=require("react/jsx-runtime"),dd=({schema:e,model:t,errors:r,submitted:o,onChange:a})=>{let[n,s]=(0,Wr.useState)(null),[l,u]=(0,Wr.useState)(()=>{if(N(t)&&!q(t))throw new Error("RepeatableSchema does not support object models. Ensure your array schema is wrapped inside an object schema.");return t?t.map(b=>_o(e.items,b,e==null?void 0:e.summary)):null}),[c,d]=(0,Wr.useState)({item:null,model:null}),h=b=>{let S=b?b.map(({value:F})=>F):null;a({model:S,triggerSchema:e.items,triggerModel:S})},f=()=>{s("add")},m=b=>{d({item:b,model:b.value}),s("edit")},p=b=>{let S=b==="remove"?null:_o(e.items,c.model,e==null?void 0:e.summary),F=ud(b,{originalItem:c.item,updatedItem:S,itemSummaries:l});u(F),h(F),d({item:null,model:null}),s(null)},y=()=>{d({item:null,model:null}),s(null)},{formatMessage:g}=(0,Bi.useIntl)();return(0,Se.jsxs)(Se.Fragment,{children:[e.title&&(0,Se.jsx)(Tt.Header,{title:e.title}),l&&l.map(b=>(0,Se.jsx)(ki,{item:b,onClick:()=>m(b)},JSON.stringify(b))),(0,Se.jsx)(Tt.NavigationOption,{onClick:f,media:(0,Se.jsx)(Ri.Plus,{}),title:e.addItemTitle||g(pt.addItemTitle)}),(0,Se.jsx)(Tt.Modal,{open:n!==null,onClose:y,title:(n==="add"?e.addItemTitle:e.editItemTitle)||g(pt.addItemTitle),body:(0,Se.jsx)(Li,{type:n!=null?n:"add",schema:e,model:c.model,errors:r,submitted:o,onAction:p,onModelChange:({model:b})=>d(w(i({},c),{model:b}))})})]})},ud=(e,{originalItem:t,updatedItem:r,itemSummaries:o})=>{if(e==="remove")return(o||[]).filter(a=>a!==t);if(!r)return o;switch(e){case"add":return[...o||[],r];case"edit":return(o||[]).map(a=>a===t?r:a);default:return null}},ji=dd;var Ko=require("react/jsx-runtime"),Vi=e=>{let{schema:t}=e;if(Ln(t))return(0,Ko.jsx)(Wo,w(i({},e),{schema:t}));if(Oe(t))return(0,Ko.jsx)(ji,w(i({},e),{schema:t}));throw new Error("Invalid array list schema")};Vi.defaultProps={errors:null,required:!1};var Ui=Vi;var Hi=require("react/jsx-runtime"),zi=e=>{let{schema:t}=e;if(Oe(t))return(0,Hi.jsx)(Ui,i({},e));throw new Error("Not implemented")};zi.defaultProps={required:!1};var Jo=zi;var qi=qe(mt()),_r=require("react");var je=require("react/jsx-runtime"),pd=e=>({"col-xs-12":!0,"col-sm-6":e==="md","col-sm-4":e==="sm"}),Gi=e=>{let[t,r]=(0,_r.useState)(()=>i({},se(e.model,e.schema))),o=(c,d)=>{d.model!==null?t[c]=d.model:delete t[c],r(t),e.onChange(w(i({},d),{model:t}))},a=c=>e.schema.required&&e.schema.required.includes(c);(0,_r.useEffect)(()=>{let c=se(t,e.schema)||{};r(c),Ke(c,t)||e.onChange({model:c,triggerSchema:e.schema,triggerModel:c})},[e.schema]);let n=new Set([...e.schema.displayOrder||[],...Object.keys(e.schema.properties)]),s=c=>typeof e.schema.properties[c]!="undefined",l=Array.from(n).filter(s),u=e.errors;return(0,je.jsxs)("fieldset",{children:[e.schema.title&&!e.hideTitle&&(0,je.jsxs)("legend",{children:[" ",e.schema.title," "]}),e.schema.description&&!e.hideTitle&&(0,je.jsxs)("p",{children:[" ",e.schema.description," "]}),e.schema.alert&&(0,je.jsx)(me,{component:e.schema.alert}),(0,je.jsx)("div",{className:"row",children:l.map(c=>(0,je.jsx)("div",{className:(0,qi.default)(pd(e.schema.properties[c].width)),children:(0,je.jsx)(ue,{schema:e.schema.properties[c],model:e.model&&e.model[c],errors:u&&u[c],submitted:e.submitted,required:a(c),disabled:e.disabled,onChange:d=>o(c,d),onPersistAsync:e.onPersistAsync})},c))})]})};Gi.defaultProps={hideTitle:!1,disabled:!1};var nr=Gi;var os=qe(mt()),Ee=require("react");var Kr=require("@transferwise/components"),_i=require("react-intl");var $i=require("react-intl"),Wi=(0,$i.defineMessages)({helpAria:{id:"dynamicFlows.Help.ariaLabel",defaultMessage:"Click here for more info.",description:"Aria label for help."}});var Xo=require("react/jsx-runtime"),fd=e=>{let t=(0,_i.useIntl)();return(0,Xo.jsx)(Kr.Info,{className:"m-l-1",content:(0,Xo.jsx)(Kr.Markdown,{children:e.help.markdown}),presentation:"POPOVER",size:"sm","aria-label":t.formatMessage(Wi.helpAria)})},Ve=fd;var ts=require("react");var _=require("@transferwise/components"),Yi=require("react");var Nt=(e,t={})=>{let{coerceValue:r=!1}=t;if(!k(e)){if(N(e)){ft({received:"object",expected:"string"});return}if(!I(e)){if(r)return Zo({received:typeof e,expected:"string"}),String(e);ft({received:typeof e,expected:"string"});return}return e}},Yo=(e,t={})=>{let{coerceValue:r=!1}=t;if(k(e))return;if(j(e))return e;let o={received:typeof e,expected:"string or number"};if(N(e)){ft(o);return}if(!I(e)){if(r)return Zo(o),String(e);ft(o);return}return e},Ki=(e,t={})=>{let{coerceValue:r=!1}=t;if(k(e))return!1;if(!ve(e)){if(r)return Zo({received:typeof e,expected:"boolean"}),!!e;ft({received:typeof e,expected:"boolean"});return}return e},Ji=e=>{if(!k(e)){if(!(e instanceof Date)&&!I(e)){ft({received:typeof e,expected:"string or Date"});return}return e}},Xi=e=>{if(k(e))return null;if(!I(e))return ft({received:typeof e,expected:"string",fallback:"null"}),null;let t=Pn(e);return t===null&&console.warn("Incorrectly formatted date string. Falling back to null."),t},Zo=({received:e,expected:t})=>{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.`)},ft=({received:e,expected:t,fallback:r="undefined"})=>{console.warn(`Value with type ${e} passed to control that only accepts type ${t}. Falling back to ${r}`)};var Y=require("react/jsx-runtime"),Rt=class extends Yi.PureComponent{constructor(r){super(r);this.getAutocompleteStatus=()=>this.props.autoComplete?"on":"disabled";this.handleOnChange=r=>{this.props.onChange(r)};this.handleInputOnChange=r=>{this.props.onChange(r.target.value)};this.handleOnFocus=()=>{var r,o;(o=(r=this.props).onFocus)==null||o.call(r)};this.handleOnBlur=()=>{var r,o;(o=(r=this.props).onBlur)==null||o.call(r)};this.getSelectedOption=r=>{if(this.state.selectedOption!==null&&typeof this.state.selectedOption!="undefined")return r.find(o=>{var a;return((a=this.state.selectedOption)==null?void 0:a.value)===o.value});if(this.props.value!==null&&typeof this.props.value!="undefined")return r.find(o=>this.props.value===o.value)};this.mapOption=r=>w(i({},r),{value:j(r.value)||I(r.value)?r.value:void 0,secondary:r.note,disabled:r.disabled||this.props.disabled,readOnly:this.props.readOnly});this.state={selectedOption:r.selectedOption,touched:!1,prevValue:r.value}}static getDerivedStateFromProps(r,o){return o.prevValue!==r.value?{prevValue:r.value,value:r.value}:null}render(){var H;let{name:r,placeholder:o,step:a,countryCode:n,type:s,options:l,disabled:u,readOnly:c,required:d,minLength:h,maxLength:f,min:m,max:p,searchPlaceholder:y,searchValue:g,onSearchChange:b,size:S,uploadProps:F,label:P,monthFormat:O,id:v,minDate:E,maxDate:R,value:A,mode:L,describedBy:z}=this.props;switch(s){case V.RADIO:return(0,Y.jsx)(_.RadioGroup,{radios:l.map(this.mapOption),name:r,selectedValue:Yo(A,{coerceValue:!0}),onChange:this.handleOnChange});case V.CHECKBOX:return(0,Y.jsx)(_.Checkbox,{checked:Ki(A,{coerceValue:!0}),disabled:u,label:P,required:d,readOnly:c,onChange:this.handleOnChange,onBlur:this.handleOnBlur,onFocus:this.handleOnFocus});case V.SELECT:{let x=l.length>=20;return(0,Y.jsx)(_.Select,{id:v,selected:this.getSelectedOption(l),options:l,search:x,required:d,disabled:u,placeholder:o,searchPlaceholder:y,searchValue:g,onChange:T=>{var M;this.setState({selectedOption:T!=null?T:void 0}),this.props.onChange((M=T==null?void 0:T.value)!=null?M:null)},onFocus:this.handleOnFocus,onBlur:this.handleOnBlur,onSearchChange:x?b:void 0})}case V.TAB:return(0,Y.jsx)(_.Tabs,{selected:((H=this.getSelectedOption(l))==null?void 0:H.value)||0,tabs:l.map(x=>({title:x.label,content:(0,Y.jsx)(Y.Fragment,{}),disabled:x.disabled||!1})),name:v,onTabSelect:x=>{let T=!!this.state.selectedOption;this.setState({selectedOption:l.find(M=>M.value===x)}),this.props.onChange(x,T?"user":"init")}});case V.NUMBER:return(0,Y.jsx)("input",{autoComplete:this.getAutocompleteStatus(),className:"form-control",disabled:u,id:v,max:p,min:m,placeholder:o,readOnly:c,required:d,step:a,type:"number",value:Yo(A,{coerceValue:!0}),onBlur:this.handleOnBlur,onChange:x=>{this.props.onChange(parseFloat(x.target.value))},onFocus:this.handleOnFocus,onWheel:x=>{x.target instanceof HTMLElement&&x.target.blur()},"aria-describedby":z});case V.HIDDEN:return(0,Y.jsx)("input",{type:"hidden",name:r,value:Nt(A,{coerceValue:!0}),id:v});case V.PASSWORD:return(0,Y.jsx)("input",{autoComplete:this.getAutocompleteStatus(),className:"form-control",disabled:u,id:v,placeholder:o,readOnly:c,required:d,type:"password",value:Nt(A,{coerceValue:!0}),onBlur:this.handleOnBlur,onChange:this.handleInputOnChange,onFocus:this.handleOnFocus,"aria-describedby":z});case V.DATE:case V.DATETIME:return(0,Y.jsx)(_.DateInput,{disabled:u,size:S,value:Ji(A),mode:L,monthFormat:O,onBlur:this.handleOnBlur,onChange:this.handleOnChange,onFocus:this.handleOnFocus});case V.DATELOOKUP:return(0,Y.jsx)(_.DateLookup,{value:Xi(A),min:E,max:R,placeholder:o,monthFormat:O,disabled:u,onChange:x=>{this.handleOnChange(Mn(x))},onBlur:this.handleOnBlur,onFocus:this.handleOnFocus});case V.TEL:return(0,Y.jsx)(_.PhoneNumberInput,{disabled:u,countryCode:n,placeholder:o,required:d,searchPlaceholder:y,size:S,initialValue:Nt(A),onBlur:this.handleOnBlur,onChange:this.handleOnChange,onFocus:this.handleOnFocus});case V.TEXTAREA:{let x={className:"form-control tw-form-control",id:v,name:r,placeholder:o,value:Nt(A,{coerceValue:!0}),readOnly:c,required:d,minLength:h,maxLength:f,onFocus:this.handleOnFocus,onBlur:this.handleOnBlur,disabled:u,autoComplete:this.getAutocompleteStatus()};return this.props.displayPattern?(0,Y.jsx)(_.TextareaWithDisplayFormat,w(i({displayPattern:this.props.displayPattern},x),{onChange:this.handleOnChange})):(0,Y.jsx)("textarea",w(i({},x),{onChange:this.handleInputOnChange,"aria-describedby":z}))}case V.FILE:case V.UPLOAD:return(0,Y.jsx)(_.Upload,w(i({},F),{usAccept:F.usAccept||"*",usDisabled:F.usDisabled||u,onSuccess:x=>{this.handleOnChange(x)},onFailure:()=>{this.handleOnChange(null)},onCancel:()=>{this.handleOnChange(null)}}));case V.TEXT:default:{let x={type:"text",className:"form-control",id:v,name:r,placeholder:o,value:Nt(A,{coerceValue:!0}),readOnly:c,required:d,minLength:h,maxLength:f,onFocus:this.handleOnFocus,onBlur:this.handleOnBlur,disabled:u,autoComplete:this.getAutocompleteStatus()};return this.props.displayPattern?(0,Y.jsx)(_.InputWithDisplayFormat,w(i({displayPattern:this.props.displayPattern},x),{onChange:this.handleOnChange})):(0,Y.jsx)("input",w(i({},x),{onChange:this.handleInputOnChange,"aria-describedby":z}))}}}},be=Rt;be.Type=V,be.Size=Gn,be.MonthFormat=qn,be.DateMode=Hn,be.defaultProps={autoComplete:!0,countryCode:null,disabled:!1,displayPattern:null,id:null,label:"",max:null,maxDate:null,maxLength:null,min:null,minDate:null,minLength:null,mode:Rt.DateMode.DAY_MONTH_YEAR,monthFormat:Rt.MonthFormat.LONG,onBlur:null,onFocus:null,onSearchChange:null,options:[],placeholder:null,readOnly:!1,required:!1,searchPlaceholder:null,searchValue:"",selectedOption:null,size:Rt.Size.MEDIUM,step:1,type:Rt.Type.TEXT,uploadProps:{},value:null};var Ze=require("@transferwise/components");var we=require("react/jsx-runtime"),Zi=(e,t)=>{switch(t){case"select":return hd(e);case"radio":default:return yd(e)}},yd=e=>i(i(i({label:e.title,value:e.const},Qi(e.title,e.description)),Bt(e)),es(e.disabled)),hd=e=>i(i(i(i(i({label:e.title,value:e.const},Qi(e.title,e.description)),bd(e.icon)),Sd(e.image)),es(e.disabled)),gd(e.keywords)),gd=e=>q(e)?{searchStrings:e}:{},Sd=e=>e!=null&&e.url?{icon:(0,we.jsx)("div",{className:"media",children:(0,we.jsx)("div",{className:"np-option__no-media-circle",children:(0,we.jsx)("img",{src:e.url,alt:e.name||""})})})}:null,bd=e=>e!=null&&e.name&&Et(e.name)?{currency:e.name.substring(5)}:e!=null&&e.name&&Bo(e.name)?{icon:(0,we.jsx)(Je,{type:e.name})}:e!=null&&e.text?{icon:(0,we.jsx)("span",{children:e.text})}:null,Bt=({image:e,icon:t})=>e!=null&&e.url?{avatar:(0,we.jsx)(Ze.Avatar,{type:Ze.AvatarType.THUMBNAIL,children:(0,we.jsx)("img",{src:e.url,alt:""})})}:t!=null&&t.name&&Bo(t.name)?{avatar:(0,we.jsx)(Ze.Avatar,{type:Ze.AvatarType.ICON,children:(0,we.jsx)(Je,{type:t.name})})}:t!=null&&t.text?{avatar:(0,we.jsx)(Ze.Avatar,{type:Ze.AvatarType.INITIALS,children:t.text})}:null,Jr=({accepts:e})=>i({},q(e)&&{usAccept:e.join(",")}),Qi=(e,t)=>{if(e&&t)return{[(e+t).length>50?"secondary":"note"]:t}},es=e=>{if(!X(e)&&!k(e))return{disabled:e}};var Qo=require("react/jsx-runtime"),wd=e=>e==="string"||e==="number",ea=e=>{if(ye(e))return e.control===V.TAB&&e.oneOf.length>3?V.SELECT:e.oneOf.length===2&&!e.control?V.RADIO:e.control||V.SELECT;if("control"in e&&e.control)return e.control;if(e.type==="string")switch(e.format){case"date":return"date";case"password":return"password";case"phone-number":return"tel";case"base64url":return"file";default:return"text"}return e.type==="boolean"?"checkbox":e.type==="integer"?"number":e.type},Fd=(e,t)=>e.oneOf?e.oneOf.map(r=>Zi(r,t)):null,rs=e=>{let{id:t,schema:r,value:o,disabled:a,onChange:n,onFocus:s,onBlur:l,onSearchChange:u,describedBy:c}=e,d=vt(),h=S=>wd(r.type)&&(k(S)||X(S))?"":S,f=(S,F)=>{n($e(S,r),F)},m=ea(r);(0,ts.useEffect)(()=>{Cd(r,d,m)},[JSON.stringify(r),d,m]);let p=r.values||Fd(r,m),y={onFocus:s,onBlur:l,onSearchChange:u,onChange:f},g=h(o),b={id:t,name:t,label:r.title,options:p||[],placeholder:r.placeholder,autoComplete:!r.help,disabled:a||r.disabled,displayPattern:r.displayFormat,uploadProps:Jr(r),describedBy:c};return(0,Qo.jsx)("div",{"aria-describedby":c,children:(0,Qo.jsx)(be,i(i({type:m,value:g},y),b))})};rs.defaultProps={value:null,onFocus:null,onBlur:null,onSearchChange:null,disabled:!1};var Cd=(e,t,r)=>{ye(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.")},ir=rs;var oe=require("react/jsx-runtime"),as=e=>{let t=te(),[r,o]=(0,Ee.useState)(!1),[a,n]=(0,Ee.useState)(!1),[s,l]=(0,Ee.useState)(!1),u=(0,Ee.useMemo)(()=>e.schema.$id||Me(),[e.schema.$id]),[c,d]=(0,Ee.useState)($r(e.schema,e.model)),[h,f]=(0,Ee.useState)(Od(e.model,e.schema.oneOf)),m=jn(t,200),p=E=>{m("Dynamic Flow - OneOf Searched",{oneOfId:e.schema.analyticsId,searchValueLength:E.length})};if((0,Ee.useEffect)(()=>{let E=ar(e.schema,e.model),R=ar(e.schema,e.schema.default);E===-1&&R>=0&&S(R,"init")},[e.schema]),!q(e.schema.oneOf))return console.error("Incorrect format",e.schema),null;let y=(E,R)=>{f([...h.slice(0,E),R.model,...h.slice(E+1)]),o(!0),e.onChange(R)},g=()=>{n(!0)},b=()=>{n(!1),l(!0)},S=(E,R)=>{d(E);let A=e.schema.oneOf[E];if(he(A)){let L=A.const;e.onChange({model:L,triggerSchema:e.schema,triggerModel:L,type:R})}else e.onChange({model:h[E],triggerSchema:A,triggerModel:h[E],type:R});R!=="init"&&e.schema.analyticsId&&t("Dynamic Flow - OneOf Selected",{oneOfId:e.schema.analyticsId,schemaId:A==null?void 0:A.analyticsId})},F=Pd(e.schema),P=Ad(e,c),O={"form-group":!0,"has-error":!r&&e.errors&&!Ot(e.errors)||(e.submitted||r&&s)&&P.length},v=`${u}-feedback`;return(0,oe.jsxs)(oe.Fragment,{children:[(e.schema.oneOf.length>1||he(e.schema.oneOf[0]))&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsxs)("div",{className:(0,os.default)(O),children:[xd(e.schema,u),(0,oe.jsx)(ir,{id:u,schema:F,value:c,disabled:e.disabled,onChange:S,onFocus:g,onBlur:b,onSearchChange:p,describedBy:v}),(0,oe.jsx)(Be,{id:v,changed:r,focused:a,blurred:s,submitted:e.submitted,errors:vd(e.errors),schema:e.schema,validations:P,infoMessage:null})]}),e.schema.alert&&(0,oe.jsx)(me,{component:e.schema.alert})]}),Yt(e.schema.oneOf[c])&&(0,oe.jsx)(ue,{schema:e.schema.oneOf[c],model:h[c],errors:e.errors,submitted:e.submitted,hideTitle:!0,disabled:e.disabled,onChange:E=>y(c,E),onPersistAsync:e.onPersistAsync})]})};function xd(e,t){let r=e.help?(0,oe.jsx)(Ve,{help:e.help}):null,o=he(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]});return e.title?o:r}function Ad(e,t){let r=e.schema.oneOf[t!=null?t:-1];return he(r)?We(r.const,e.schema,!!e.required):t===null||t<0?We(null,e.schema,!!e.required):[]}function vd(e){return typeof e=="string"?e:null}function Od(e,t){return t.map(r=>Pt(e,r))}function Pd(e){return w(i({},e),{oneOf:e.oneOf.map(Md)})}function Md(e,t){let{title:r,description:o,disabled:a=!1,icon:n,image:s,keywords:l}=e;return{title:r,description:o,disabled:a,icon:n,image:s,const:t,keywords:l}}as.defaultProps={required:!1,disabled:!1};var ta=as;var ms=qe(mt()),yt=require("react");var Xr=require("@transferwise/components"),ns=require("react");var ss=require("react/jsx-runtime"),is=e=>{let{id:t,httpClient:r=fetch,httpOptions:o,fileId:a,idProperty:n,usAccept:s,maxSize:l,usPlaceholder:u,onSuccess:c,onFailure:d,onCancel:h}=e,f=te(),m=(0,ns.useMemo)(()=>a?[{id:a,status:Xr.Status.SUCCEEDED}]:[],[a]),p=y=>(f("Dynamic Flow - PersistAsync",{status:"pending",schemaId:t}),r(`${o.url}`,{method:o.method||"POST",body:y}).then(g=>g.ok?(c&&c(g.clone()),g.json().then(b=>({id:b[n]}))):(d&&d({response:g}),Promise.reject())));return(0,ss.jsx)(Xr.UploadInput,{id:t,fileInputName:o.fileInputName,files:m,uploadButtonTitle:e.usLabel,sizeLimit:l?Dr(l):void 0,fileTypes:s,description:u,onUploadFile:p,onDeleteFile:y=>(h&&h(),Promise.resolve())})};var jt=require("react/jsx-runtime"),ls=e=>{let[t,r]=(0,yt.useState)({}),[o,a]=(0,yt.useState)(null),[n,s]=(0,yt.useState)([]),[l,u]=(0,yt.useState)(!1),c=re(),d=te();(0,yt.useEffect)(()=>{e.submitted&&s(We(e.model,e.schema,!!e.required))},[e.model,e.submitted]);let f=async(O,v)=>{let E=await O.json(),R=aa(e.schema.persistAsync.idProperty,E);e.onChange({model:R,triggerSchema:e.schema,triggerModel:R}),u(!0),d("Dynamic Flow - PersistAsync",{status:"success",schemaId:e.schema.$id})},m=async O=>{if(O.response&&Ar(O.response.status)){let v=await O.response.json();r(v.validation||{}),a([e.schema.persistAsync.param])}e.onChange({model:null,triggerSchema:e.schema,triggerModel:null}),u(!0),d("Dynamic Flow - PersistAsync",{status:"failure",schemaId:e.schema.$id})},p=()=>{a(null),e.onChange({model:null,triggerSchema:e.schema,triggerModel:null}),u(!0)},{url:y,method:g}=e.schema.persistAsync,b=o||n,S={"form-group":!0,"has-error":(e.submitted||l)&&!!b.length},F=e.schema.$id||e.schema.persistAsync.schema.$id||e.schema.persistAsync.idProperty,P=`${F}-feedback`;return(0,jt.jsxs)("div",{className:(0,ms.default)(S),children:[(0,jt.jsx)("div",{"aria-describedby":P,children:(0,jt.jsx)(is,i({id:F,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:c,onSuccess:f,onFailure:m,onCancel:p},Jr(e.schema.persistAsync.schema)))}),(0,jt.jsx)(Be,{id:P,blurred:!0,focused:!1,changed:l,submitted:e.submitted,errors:e.errors,schema:e.schema,validations:b,validationMessages:i({required:"Value is required..."},t),infoMessage:null})]})};ls.defaultProps={required:!1};var oa=ls;var na=require("react/jsx-runtime"),cs=e=>{let{schema:t}=e;return t.persistAsync.schema.type==="blob"?(0,na.jsx)(oa,i({},e)):(0,na.jsx)(ra,i({},e))};cs.defaultProps={required:!1};var ia=cs;var ws=require("react");var ds=(e,t)=>{let r=Lt(e,t);return r!==null?e.oneOf[r].promoted?"promoted":"other":null};var us=require("@transferwise/components"),sa=require("react/jsx-runtime"),ps=e=>{let{id:t,selection:r,setSelection:o}=e,{promoted:a,other:n,checkedMeans:s}=e.promotion,l=s==="other"?n.title:(a==null?void 0:a.title)||e.promotedOneOf.title,u=s==="other"?"other":"promoted",c=s==="other"?"promoted":"other",d=r===u;return(0,sa.jsx)("div",{className:"form-group",children:(0,sa.jsx)(us.Checkbox,{id:t,label:l,checked:d,onChange:()=>{o(d?c:u)}})})};ps.defaultProps={};var fs=ps;var ys=require("@transferwise/components");var sr=require("react/jsx-runtime"),hs=e=>{var u,c;let{id:t,selection:r,setSelection:o,promotion:a,promotedOneOf:n,title:s}=e,l=[i({value:"promoted",label:((u=a.promoted)==null?void 0:u.title)||n.title,secondary:((c=a.promoted)==null?void 0:c.description)||n.description},Bt(n)),i({value:"other",label:a.other.title,secondary:a.other.description},Bt(a.other))];return(0,sr.jsxs)("div",{className:"form-group",children:[s&&(0,sr.jsx)("label",{className:"control-label",htmlFor:t,children:s}),(0,sr.jsx)(ys.RadioGroup,{name:"promoted-selection",selectedValue:r,radios:l,id:t,onChange:o})]})};hs.defaultProps={title:void 0};var gs=hs;var Vt=require("react/jsx-runtime"),Ss=e=>{switch(e.promotion.control||"radio"){case"radio":return(0,Vt.jsx)(gs,i({},e));case"checkbox":return(0,Vt.jsx)(fs,i({},e));default:return(0,Vt.jsx)(Vt.Fragment,{})}};Ss.defaultProps={id:Me(),title:void 0};var bs=Ss;var Ue=require("react/jsx-runtime"),Fs=e=>e.promoted===!0,kd=e=>{var l;let[t,r]=(0,ws.useState)(ds(e.schema,e.model)||((l=e.schema.promotion)==null?void 0:l.default)||"promoted"),o=e.schema.alert,a=e.schema.oneOf.find(Fs),n=Ed(a),s=Id(e.schema);return(0,Ue.jsxs)(Ue.Fragment,{children:[o&&(0,Ue.jsx)(me,{component:o}),(0,Ue.jsx)(bs,{id:e.schema.$id,title:e.schema.title,promotedOneOf:a,promotion:e.schema.promotion,selection:t,setSelection:r}),t==="promoted"&&(0,Ue.jsx)(nr,w(i({},e),{schema:n})),t==="other"&&(0,Ue.jsx)(ue,w(i({},e),{schema:s}))]})};function Ed(e){return w(i({},e),{title:void 0,description:void 0})}function Id(e){var o,a,n;let t=(o=e.promotion)!=null&&o.displayTwice?[...e.oneOf]:e.oneOf.filter(s=>!Fs(s)),r=(n=(a=e.promotion)==null?void 0:a.other.heading)==null?void 0:n.text;return t.length===1?w(i({},t[0]),{title:r}):t.length>1?{title:r,oneOf:t,control:e.control}:null}var ma=kd;var Yr=require("@transferwise/components"),xs=require("react-intl");var Cs=require("react-intl"),la=(0,Cs.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."}});var Ut=require("react/jsx-runtime"),Dd=({schema:e,model:t})=>{let{title:r=""}=e,{formatMessage:o}=(0,xs.useIntl)(),a=Ld({schema:e,model:t,formatMessage:o});return(0,Ut.jsx)(Yr.DefinitionList,{layout:Yr.Layout.VERTICAL_ONE_COLUMN,definitions:[{title:r,value:a,key:""}]})},ca=Dd;function Ld({schema:e,model:t,formatMessage:r}){return Te(e)?ye(e)?Td(e,t):e.type==="boolean"&&ve(t)?r(t?la.yes:la.no):t&&t.toString()||"":""}function Td(e,t){let r=Nd(e,t);return r?Rd(r):t}function Nd(e,t){return e.oneOf.find(r=>"const"in r?t===r.const:!1)}function Rd(e){let t=e.title&&e.description?`${e.title} - ${e.description}`:e.title||"",r=Bt({icon:e.icon});return r!=null&&r.avatar?(0,Ut.jsxs)(Ut.Fragment,{children:[r.avatar," ",t]}):t}var Ie=require("react");var vs=require("react/jsx-runtime"),As=e=>{let{schema:t,model:r,required:o,submitted:a,errors:n,onChange:s}=e,[l,u]=(0,Ie.useState)(r),c=(0,Ie.useRef)(null),[d,h]=(0,Ie.useState)(null),[f,m]=(0,Ie.useState)(null),[p,y]=(0,Ie.useState)(!1),[g,b]=(0,Ie.useState)(null),S=re(),F=te(),P=vt();(0,Ie.useEffect)(()=>{t.validationAsync.method||P.warning("Invalid schema or model",'ValidationAsyncSchema without a "method" property would have defaulted to "GET" in previous versions. Now defaults to "POST".',{})},[P,t.validationAsync.method]);let O=async(L,z)=>{let H=v(),x={[z.param]:L};c.current=L,y(!0),F("Dynamic Flow - ValidationAsync",{status:"pending"});let T=await S(z.url,{method:z.method||"POST",headers:{"Content-Type":"application/json"},body:z.method==="GET"?void 0:JSON.stringify(x),signal:H});try{let M=await T.json();if(!N(M))throw new Error("Response body is not an object");F("Dynamic Flow - ValidationAsync",{status:"success"}),T.status===200?h(I(M.message)?M.message:null):T.status===422&&m(I(M.message)?M.message:null)}catch(M){F("Dynamic Flow - ValidationAsync",{status:"failure"})}},v=()=>{g&&g.abort();let L=new AbortController;return b(L),L.signal};return(0,vs.jsx)(ht,i({},{submitted:a||p,model:l,errors:f||n,infoMessage:d,onChange:L=>{s(w(i({},L),{triggerSchema:t,triggerModel:L.model})),m(null),h(null),u(L.model)},onBlur:()=>{!k(l)&&!Ke(l,c.current)&&W(l,t)&&O(l,t.validationAsync)},required:o,schema:t}))};As.defaultProps={required:!1};var da=As;var pe=require("react/jsx-runtime"),Ps=require("react"),Bd=e=>{let{schema:t,model:r=null,errors:o=null,hideTitle:a=!1,disabled:n=!1}=e,s=w(i({},e),{model:r,errors:o,hideTitle:a,disabled:n}),l=st(t),u=vt();switch((0,Os.useEffect)(()=>{jd(t,r,o)||u.error("Invalid schema or model",`Schema of type ${l||"undefined"} requested, but schema did not pass validation.`)},[JSON.stringify(t),JSON.stringify(r),JSON.stringify(o),l,u]),l){case"readOnly":return(0,pe.jsx)(ca,i({},s));case"persistAsync":return(0,pe.jsx)(ia,i({},s));case"validationAsync":return(0,pe.jsx)(da,i({},s));case"basic":{let c=i({infoMessage:null},s);return(0,pe.jsx)(ht,i({},c))}case"object":return(0,Ps.createElement)(nr,w(i({},s),{key:JSON.stringify(t)}));case"array":return(0,pe.jsx)(Jo,i({},s));case"promotedOneOf":return(0,pe.jsx)(ma,i({},s));case"oneOf":return(0,pe.jsx)(ta,i({},s));case"allOf":return(0,pe.jsx)(Go,i({},s))}return(0,pe.jsx)(pe.Fragment,{})},ue=Bd,jd=(e,t,r)=>{switch(st(e)){case"persistAsync":return Lr(e)&&Nr(t)&&Zt(r);case"validationAsync":return Lo(e)&&No(t)&&Zt(r);case"basic":return Te(e)&&No(t)&&Zt(r);case"object":return Pe(e)&&To(t);case"array":return Le(e)&&Nn(t)&&Zt(r);case"promotedOneOf":return it(e)&&To(t);case"oneOf":return ye(e);case"allOf":return Do(e)&&$(t)}return!1};var gt=require("react/jsx-runtime"),Vd=e=>{let t=i({model:null,errors:null,disabled:!1,baseUrl:""},e);return kr()||t.baseUrl==null?(0,gt.jsx)(ue,i({},t)):(0,gt.jsx)(Ud,{baseUrl:t.baseUrl,onEvent:t.onEvent,onLog:t.onLog,children:(0,gt.jsx)(ue,i({},t))})},mr=Vd,Ud=({baseUrl:e,onEvent:t,onLog:r,children:o})=>(0,gt.jsx)(Er,{flowId:"JsonSchemaForm",stepId:"JsonSchemaForm",onLog:r!=null?r:Ms,children:(0,gt.jsx)(xr,{metadata:{flowId:"JsonSchemaForm",stepId:"JsonSchemaForm"},onEvent:t!=null?t:Ms,children:(0,gt.jsx)(Mr,{baseUrl:e,children:o})})}),Ms=()=>{};var ua=require("react/jsx-runtime"),zd=e=>{let t=e.component,r=t.schema;return(0,ua.jsx)("div",{className:B(t.margin||"md"),children:(0,ua.jsx)(mr,{schema:r,model:e.model,submitted:e.submitted,errors:e.errors,onChange:o=>{e.onModelChange(i({formSchema:r},o))},onPersistAsync:e.onPersistAsync})})},pa=zd;var zt=require("react/jsx-runtime"),Hd=e=>{let{text:t,size:r="md",align:o="left",margin:a="md"}=e.component,n=Ne({align:o,margin:a});switch(r){case"xs":return(0,zt.jsx)("h5",{className:n,children:t});case"sm":return(0,zt.jsx)("h4",{className:n,children:t});case"lg":return(0,zt.jsx)("h2",{className:n,children:t});case"xl":return(0,zt.jsx)("h1",{className:n,children:t});case"md":default:return(0,zt.jsx)("h3",{className:n,children:t})}},fa=Hd;var ya=require("@transferwise/components");var lr=require("react/jsx-runtime"),ha=({component:e})=>{let{content:t,align:r,margin:o}=e;return(0,lr.jsx)("div",{className:Ne({align:r,margin:o}),children:(0,lr.jsx)(ya.Markdown,{config:{link:{target:"_blank"}},children:t})})},ga=({component:e})=>(0,lr.jsx)("div",{className:Ne(e),children:(0,lr.jsx)(ya.Markdown,{config:{link:{target:"_blank"}},children:e.markdown})});var ks=require("@transferwise/components"),Zr=require("react");var Sa=require("react/jsx-runtime"),qd=({component:e})=>{let{url:t,size:r,text:o,margin:a,accessibilityDescription:n}=e,s=re(),[l,u]=(0,Zr.useState)("");(0,Zr.useEffect)(()=>{$d(s,t).then(u)},[t,s]);let c={alt:n||o||"",src:l,stretch:!0,shrink:!0};return l?(0,Sa.jsx)("div",{className:`df-image ${r||"md"}`,children:(0,Sa.jsx)(ks.Image,i({className:`img-responsive ${B(a||"md")}`},c))}):null},Gd=e=>new Promise((t,r)=>{let o=new FileReader;o.addEventListener("loadend",()=>t(o.result)),o.addEventListener("error",a=>r(a)),o.readAsDataURL(e)}),$d=async(e,t)=>{var r;try{return vr(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=>{if(o.ok)return o.blob();throw new Error("Image fetching failed")}).then(Gd).catch(()=>t):t}catch(o){return t}},ba=qd;var Qr=require("@transferwise/components");var cr=require("react/jsx-runtime"),Wd=["positive","neutral"],_d=["warning","negative"],Kd=({component:e})=>{let{items:t}=e,r=t.filter(a=>Wd.includes(a.context)).map(({text:a})=>a),o=t.filter(a=>_d.includes(a.context)).map(({text:a})=>a);return(0,cr.jsxs)("div",{className:B(e.margin||"md"),children:[e.title?(0,cr.jsx)(Qr.Header,{title:e.title}):null,(0,cr.jsx)(Qr.InstructionsList,{dos:r,donts:o})]})},wa=Kd;var G=require("react/jsx-runtime"),Z=e=>JSON.stringify(e),Jd=e=>{let{components:t,model:r,submitted:o,errors:a,onModelChange:n,onAction:s,onPersistAsync:l,baseUrl:u}=e,c=d=>{switch(d.type){case"heading":return(0,G.jsx)(fa,{component:d},Z(d));case"paragraph":return(0,G.jsx)(Ca,{component:d},Z(d));case"image":return(0,G.jsx)(ba,{component:d},Z(d));case"alert":return(0,G.jsx)(me,{component:d},Z(d));case"review":return(0,G.jsx)(xa,{component:d,onAction:s},Z(d));case"divider":return(0,G.jsx)(Ho,{component:d},Z(d));case"info":return(0,G.jsx)(ga,{component:d},Z(d));case"instructions":return(0,G.jsx)(wa,{component:d},Z(d));case"markdown":return(0,G.jsx)(ha,{component:d},Z(d));case"columns":return(0,G.jsx)(Uo,{component:d,model:r,submitted:o,errors:a,onModelChange:n,onAction:s,onPersistAsync:l},Z(d));case"form":return(0,G.jsx)(pa,{component:d,model:r,submitted:o,errors:a,onModelChange:n,onPersistAsync:l},Z(w(i({},d),{errors:a!=null?a:null})));case"button":return(0,G.jsx)(Vo,{component:d,onAction:s},Z(d));case"box":return(0,G.jsx)(jo,{component:d,model:r,submitted:o,errors:a,onModelChange:n,onAction:s,onPersistAsync:l},Z(d));case"decision":return(0,G.jsx)(zo,{component:d,onAction:s},Z(d));case"external":return(0,G.jsx)(qo,{component:d,onAction:s},Z(d));case"list":case"status-list":return(0,G.jsx)(Fa,{component:d,onAction:s},Z(d));case"loading-indicator":return(0,G.jsx)(dr,{component:d},Z(d));case"search":return(0,G.jsx)(Aa,{component:d,onAction:s},Z(d));default:return(0,G.jsx)("div",{},Z(d))}};return kr()||u==null?(0,G.jsx)(G.Fragment,{children:t.map(c)}):(0,G.jsx)(Mr,{baseUrl:u,children:t.map(c)})},le=Jd;var Es=require("@transferwise/components");var Ht=require("react/jsx-runtime"),Xd=({component:e})=>(0,Ht.jsxs)("div",{className:B(e.margin||"md"),children:[e.title?(0,Ht.jsxs)("h4",{className:"m-b-2",children:[" ",e.title," "]}):null,e.items.map(Yd)]}),Yd=({title:e,description:t,icon:r,status:o})=>{let a=i(i({key:`${e}/${t||""}`,title:e,description:t},r!=null&&r.name?{icon:(0,Ht.jsx)(Je,{type:r.name})}:{}),o?{status:eu[o]}:{});return(0,Ht.jsx)(Es.Summary,i({},a))},Zd={done:"done",pending:"pending","not-done":"notDone"},Qd={positive:"done",warning:"pending",neutral:"notDone"},eu=i(i({},Zd),Qd),Fa=Xd;var Is=require("@transferwise/components");var Ds=require("react/jsx-runtime"),tu=({component:e})=>{let{margin:t,size:r="md"}=e;return(0,Ds.jsx)(Is.Loader,{size:r,classNames:{"tw-loader":`tw-loader m-x-auto ${B(t)}`},"data-testid":"loading-indicator"})},dr=tu;var Bs=require("@transferwise/components"),js=require("react-intl");var Ls=require("react-intl"),va=(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."}});var Ts=require("@transferwise/components"),Ns=require("react");function Rs(){let e=(0,Ns.useContext)(Ts.SnackbarContext);return e?e.createSnackbar:ru}function ru(){}var Qe=require("react/jsx-runtime"),ou=({component:e})=>e.control==="copyable"?(0,Qe.jsx)(nu,{component:e}):(0,Qe.jsx)(au,{component:e}),au=({component:e})=>(0,Qe.jsxs)("p",{className:Ne(e),children:[" ",e.text," "]}),nu=({component:e})=>{let{formatMessage:t}=(0,js.useIntl)(),r=Rs(),{text:o}=e,a=()=>{var s;(s=navigator.clipboard)==null||s.writeText(o).then(()=>r({text:t(va.copied)})).catch(iu)},n=Ne({align:e.align})+" form-control";return(0,Qe.jsxs)("div",{className:Ne(e),children:[(0,Qe.jsx)("input",{type:"text",className:n,value:o,readOnly:!0,style:{textOverflow:"ellipsis"}}),(0,Qe.jsx)(Bs.Button,{block:!0,onClick:a,className:B("sm"),children:t(va.copy)})]})};function iu(){}var Ca=ou;var Vs=require("@transferwise/components");var ae=require("react/jsx-runtime"),su=(e,t)=>t.fields.map(({label:r,value:o,help:a},n)=>({key:String(n),title:r,value:mu(o,a,e)})),mu=(e,t,r)=>t?r==="HORIZONTAL_RIGHT_ALIGNED"?(0,ae.jsxs)(ae.Fragment,{children:[(0,ae.jsx)(Ve,{help:t})," ",e]}):(0,ae.jsxs)(ae.Fragment,{children:[e," ",(0,ae.jsx)(Ve,{help:t})]}):e,lu=e=>(e.control||e.orientation)==="horizontal"?"HORIZONTAL_RIGHT_ALIGNED":"VERTICAL_ONE_COLUMN",cu=e=>{let t=e.component,r=B(t.margin||"xs"),o=n=>(0,ae.jsx)("a",{href:n.url,className:"pull-right",role:"button",onClick:s=>{s.preventDefault(),e.onAction(n)},children:n.title}),a=lu(t);return(0,ae.jsxs)(ae.Fragment,{children:[t.title&&(0,ae.jsxs)("h6",{className:`m-b-2 ${r}`,children:[t.title,t.action&&o(t.action)]}),(0,ae.jsx)("div",{className:t.title?"":r,children:(0,ae.jsx)(Vs.DefinitionList,{layout:a,definitions:su(a,t)})})]})},xa=cu;var ro=require("react");var Us=require("@transferwise/components"),eo=require("react/jsx-runtime"),zs=({title:e,value:t,onChange:r})=>(0,eo.jsxs)("label",{className:"control-label d-inline",children:[e,(0,eo.jsx)(Us.Input,{type:"text",value:t,onChange:o=>r(o.currentTarget.value)})]});var to=require("@transferwise/components"),qs=require("react-intl");var Hs=require("react-intl"),qt=(0,Hs.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."}});var St=require("react/jsx-runtime"),Gs=({results:e,emptyMessage:t,onSelect:r})=>e.length===0?(0,St.jsx)("p",{className:"m-t-2",children:t}):(0,St.jsx)(to.NavigationOptionsList,{children:e.map(o=>(0,St.jsx)(to.NavigationOption,{title:o.title,content:o.description,media:lt(o),showMediaCircle:!1,showMediaAtAllSizes:!0,onClick:()=>r(o)},JSON.stringify(o)))}),$s=({onRetrySearch:e})=>{let t=(0,qs.useIntl)();return(0,St.jsxs)("p",{className:"m-t-2",children:[t.formatMessage(qt.errorAlert),"\xA0",(0,St.jsx)("a",{href:"/",onClick:r=>{r.preventDefault(),e()},children:t.formatMessage(qt.retry)})]})};var Gt=require("react");var Ws={"Content-Type":"application/json"},_s=e=>{let[t,r]=(0,Gt.useState)({status:"idle"}),o=(0,Gt.useRef)(null),a=re(),n=(0,Gt.useCallback)(async(c,{url:d,method:h,param:f}=e)=>{var p;if((p=o.current)==null||p.abort(),!c){r({status:"idle"});return}o.current=new AbortController;let m=o.current.signal;r({status:"loading"});try{let g=await(h==="GET"?a(pu(d,f,c),{method:h,signal:m,headers:Ws}):a(d,{method:h,signal:m,headers:Ws,body:JSON.stringify({[f]:c})}));s(g,c)}catch(y){l(y,c)}},[a,JSON.stringify(e)]),s=async(c,d)=>{if(c.ok){let h=await c.json().catch(()=>null);if(du(h)){r({status:"success",results:h.results});return}}r({status:"error"})},l=(c,d)=>{uu(c)===!1&&r({status:"error"})},u=t.status==="success"?t.results:[];return{status:t.status,results:u,search:n}},du=e=>N(e)&&"results"in e&&q(e.results)&&e.results.every(t=>N(t)&&"title"in t&&"type"in t&&"value"in t),uu=e=>e instanceof DOMException&&e.name==="AbortError",pu=(e,t,r)=>{let[o,a]=e.split("?"),n=new URLSearchParams(a);return n.set(t,r),`${o}?${n.toString()}`};var bt=require("react/jsx-runtime"),fu=400,yu=({component:e,onAction:t})=>{let[r,o]=(0,ro.useState)(""),{title:a,margin:n,url:s,method:l,param:u,emptyMessage:c}=e,{status:d,results:h,search:f}=_s({url:s,method:l,param:u}),m=(0,ro.useMemo)(()=>_e(f,fu),[f]),p=b=>{o(b),m(b)},y=({type:b,value:S})=>{if(b==="action"&&t(S),b==="search"){o(S.query);let{url:F,method:P,param:O,query:v}=S;f(v,{url:F,method:P,param:O})}},g=()=>{o(r),f(r)};return(0,bt.jsxs)("div",{className:B(n),children:[(0,bt.jsx)(zs,{title:a,value:r,onChange:p}),d==="loading"&&(0,bt.jsx)(dr,{component:{type:"loading-indicator",size:"sm"}}),d==="error"&&(0,bt.jsx)($s,{onRetrySearch:g}),d==="success"&&(0,bt.jsx)(Gs,{results:h,emptyMessage:c,onSelect:y})]})},Aa=yu;var de=require("react/jsx-runtime"),Oa=e=>k(e)||X(e),hu=e=>e.type==="boolean"&&Oa(e.default)?!1:e.default,Js=e=>{var H,x,T;let t=M=>{f(!0),o(a(M),"user")},r=M=>We(M,e.schema,e.required),o=(M,ie)=>{u(M);let Ae=r(M);S(Ae);let J=M;d(J),J!==c&&e.onChange({model:J,triggerSchema:e.schema,triggerModel:J,lastTriggerModel:c,type:ie})},a=M=>$e(M,e.schema),n=()=>p(!0),s=()=>{p(!1),g(!0),e.onBlur&&e.onBlur()},[l,u]=(0,ce.useState)((H=e.model)!=null?H:null),[c,d]=(0,ce.useState)((x=e.model)!=null?x:null),[h,f]=(0,ce.useState)(!1),[m,p]=(0,ce.useState)(!1),[y,g]=(0,ce.useState)(!1),[b,S]=(0,ce.useState)([]),F=(0,ce.useMemo)(()=>e.schema.$id||Me(),[e.schema.$id]),P=()=>{let M=hu(e.schema);Oa(l)&&!Oa(M)&&o(M,"init"),e.schema.const&&o(e.schema.const,"init")},O=()=>{S(r(l))},v=e.schema.const,E=e.schema.hidden||v;(0,ce.useEffect)(O,[e.model,e.submitted]),(0,ce.useEffect)(P,[e.schema]),(0,ce.useEffect)(()=>{var ie;let M=(ie=e.model)!=null?ie:null;M!==l&&u(M)},[e.model]);let R={"form-group":!0,"has-error":(e.submitted||!h)&&!!e.errors||(e.submitted||h&&y)&&!!b.length,"has-info":m&&!!e.schema.description||!!e.infoMessage},A=e.schema.format!=="file"&&e.schema.type!=="boolean",L=e.schema.help,z=`${F}-feedback`;return E?null:(0,de.jsxs)(de.Fragment,{children:[e.schema.alert&&(0,de.jsx)(me,{component:e.schema.alert}),(0,de.jsxs)("div",{className:(0,Ks.default)(R),children:[A&&(0,de.jsxs)("div",{className:"d-inline-block",children:[(0,de.jsx)("label",{className:"control-label d-inline",htmlFor:F,children:e.schema.title}),!!L&&(0,de.jsx)(Ve,{help:L})]}),!A&&!!L&&(0,de.jsx)(Ve,{help:L}),(0,de.jsx)(ir,{id:F,schema:e.schema,value:l,disabled:!!e.disabled,onChange:t,onFocus:n,onBlur:s,describedBy:z}),(0,de.jsx)(Be,{id:z,changed:h,focused:m,blurred:y,submitted:e.submitted,errors:(T=e.errors)!=null?T:null,schema:e.schema,validations:b,infoMessage:e.infoMessage})]})]})};Js.defaultProps={required:!1,disabled:!1,onBlur:null};var ht=Js;var Qs=require("react/jsx-runtime"),aa=(e,t)=>t[e],Ys=(e,t)=>{var r;return(r=t.validation)==null?void 0:r[e]},gu=new Set([V.RADIO,V.SELECT,V.DATELOOKUP,V.FILE,V.UPLOAD]),Zs=e=>{let{schema:t,required:r,submitted:o,errors:a,onChange:n,onPersistAsync:s}=e,l=(0,Xs.useIntl)(),u=re(),c=te(),[d,h]=(0,wt.useState)(null),f=em(d),[m,p]=(0,wt.useState)(null),[y,g]=(0,wt.useState)(!1),[b,S]=(0,wt.useState)(null);(0,wt.useEffect)(()=>{gu.has(ea(t.persistAsync.schema))&&v()},[d]);let F=()=>p(l.formatMessage(tr.genericError)),P=async(A,L)=>{let z=O(),H={[L.param]:A};g(!0);try{c("Dynamic Flow - PersistAsync",{status:"pending",schemaId:t.$id});let x=u(L.url,{method:L.method,headers:{"Content-Type":"application/json"},body:JSON.stringify(H),signal:z});s(x);let T=await x,M=await T.json();if(!N(M))throw new Error("Response is not an object");let{idProperty:ie,param:Ae}=t.persistAsync;if(an(T.status)){let J=aa(ie,M);n({model:J,triggerSchema:t,triggerModel:J})}else if(Ar(T.status)){let{validation:J}=M,fe=N(J)&&(J==null?void 0:J[Ae])||null;p(fe),n({model:null,triggerSchema:t,triggerModel:null})}else F();c("Dynamic Flow - PersistAsync",{status:"success",schemaId:t.$id})}catch(x){c("Dynamic Flow - PersistAsync",{status:"failure",schemaId:t.$id}),F()}},O=()=>{b&&b.abort();let A=new AbortController;return S(A),A.signal},v=()=>{!k(d)&&!Ke(d,f)&&P(d,t.persistAsync)},E=()=>{v()},R=({model:A})=>{p(null),W(A,t.persistAsync.schema)&&h(A)};return(0,Qs.jsx)(ht,{required:r,submitted:o||y,schema:t.persistAsync.schema,errors:m||a,model:null,infoMessage:null,onChange:R,onBlur:E})};Zs.defaultProps={required:!1};var ra=Zs;var Pi=e=>{let[t,r]=(0,tm.useState)(null),o=re(),a=(0,rm.useIntl)(),{schema:n}=e;async function s(f){let m=f instanceof Blob?!kt(n):!W(f,n);return(k(f)||m)&&h(),await c(f)}let l=()=>{t&&t.abort();let f=new AbortController;return r(f),f.signal};function u(f){let m=kt(n),p=l(),y=e.param,g=m?Su(y,f):JSON.stringify({[y]:f});return{method:e.method,headers:i({},!m&&{"Content-Type":"application/json"}),body:g,signal:p}}async function c(f){try{let m=await o(e.url,u(f));if(!m.ok)return d(m);let p=await m.json();if(N(p)){let y=p[e.idProperty];if(I(y)||j(y))return{data:y}}return h()}catch(m){return h(m)}}async function d(f){if(f.status===422){let m=await f.json();if(N(m)){let p=Ys(e.param,m);if(I(p))throw new Error(p)}}throw new Error(a.formatMessage(tr.genericError))}let h=f=>{let m=bu(f)?f.message:a.formatMessage(tr.genericError);throw new Error(m)};return s};function Su(e,t){let r=new FormData;return t!==null&&r.append(e,t),r}function bu(e){return N(e)&&"message"in e&&typeof e.message=="string"}var et=require("react");function Rr({asyncFn:e,interval:t,maxAttempts:r,maxConsecutiveFails:o,onPollingResponse:a,onFailure:n}){let s=(0,et.useRef)(a),l=(0,et.useRef)(n),u=(0,et.useMemo)(()=>wu(e,r,o,c=>s.current(c),()=>l.current()),[e,r,o]);(0,et.useEffect)(()=>{if(t>0){let c=setInterval(()=>{u()},t);return()=>clearInterval(c)}},[u,t]),(0,et.useEffect)(()=>{s.current=a,l.current=n},[a,n])}function wu(e,t,r,o,a){let n=!0,s=0,l=0;return e?()=>{n&&(l++,e().then(u=>{s=0,n=o(u)}).catch(()=>{s++}).finally(()=>{(s>=r||l>=t)&&(a(),n=!1)}))}:()=>{}}var oo=require("react"),em=e=>{let t=(0,oo.useRef)();return(0,oo.useEffect)(()=>{t.current=e},[e]),t.current};var ur=require("react");function om(e,t){let r=re(),o=(0,ur.useMemo)(()=>{if(e)return()=>r(e.url).then(n=>{if(n.ok)return n.json().then(s=>s).catch(s=>null);throw new Error("failed")})},[e,r]),a=(0,ur.useCallback)(n=>n!=null&&n.action?(t(n.action),!1):!0,[t]);Rr({asyncFn:o,interval:1e3*((e==null?void 0:e.interval)||0),maxAttempts:(e==null?void 0:e.maxAttempts)||0,maxConsecutiveFails:1,onPollingResponse:a,onFailure:(0,ur.useCallback)(()=>{e&&t(e.onError.action)},[t,e])})}var am=require("react/jsx-runtime"),Fu=(e,t)=>{var o;if(Ot(e))return[];let r=Jt(e,t);return Ge({layout:r,schemas:e.schemas||[],actions:e.actions||[],model:(o=e.model)!=null?o:null})},Cu=e=>{let{stepSpecification:t,stepLayoutOptions:r,submitted:o,model:a,formErrors:n,onModelChange:s}=e,l=Fu(t,r),{loading:u,registerPersistAsyncPromise:c}=Cr(),d=te(),h=u?()=>{d("Dynamic Flow - onAction supressed",{reason:"LayoutStep - loading state"})}:e.onAction;return om(t.polling,h),(0,am.jsx)(le,{components:l,submitted:o,model:a,errors:n,onAction:h,onModelChange:s,onPersistAsync:c})},ao=Cu;var lo=require("react");var ne=require("react"),km=require("react-intl"),Em=qe(nm());var im=require("react-intl"),fr=(0,im.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"}});var Ce=require("@transferwise/components"),lm=require("react-intl");var mm=require("react-intl");var sm=require("react-intl"),Ma=(0,sm.defineMessages)({text:{id:"dynamicFlows.CameraCapture.rotatePhone.text",defaultMessage:"Rotate your phone to portrait view to take a photo",description:"Prompt the user to rotate their phone from landscape to portrait mode when attempting to take a photo"},imgAlt:{id:"dynamicFlows.CameraCapture.rotatePhone.imgAlt",defaultMessage:"Rotate your phone icon",description:"Rotate phone icon alt text"}});var yr=require("react/jsx-runtime"),xu=()=>{let e=(0,mm.useIntl)();return(0,yr.jsxs)("div",{className:"orientation-lock-overlay p-x-3 p-y-3","data-testid":"orientation-lock",children:[(0,yr.jsx)("img",{className:"m-b-3",src:"https://transferwise.com/public-resources/assets/camera-guidelines/icon-rotate-phone.svg",width:"96",height:"96",alt:e.formatMessage(Ma.imgAlt)}),(0,yr.jsx)("p",{className:"text-center m-b-0",children:e.formatMessage(Ma.text)})]})},ka=xu;var Fe=require("react/jsx-runtime"),cm=({onCapture:e})=>(0,Fe.jsx)("div",{className:"bottom-bar",children:(0,Fe.jsx)(Au,{onClick:e})}),dm=({onSubmit:e,onRetry:t})=>{let r=(0,lm.useIntl)();return(0,Fe.jsx)("div",{className:"bottom-bar p-x-2",children:(0,Fe.jsx)("div",{className:"row",children:(0,Fe.jsxs)("div",{className:"col-xs-12 col-md-6 col-md-offset-3",children:[(0,Fe.jsx)(Ce.Button,{className:"m-b-1",block:!0,size:Ce.Size.MEDIUM,type:Ce.ControlType.ACCENT,onClick:e,children:r.formatMessage(fr.reviewSubmit)}),(0,Fe.jsx)(Ce.Button,{className:"m-b-2",block:!0,size:Ce.Size.MEDIUM,type:Ce.ControlType.ACCENT,priority:Ce.Priority.SECONDARY,onClick:t,children:r.formatMessage(fr.reviewRetry)})]})})})},Au=({onClick:e})=>(0,Fe.jsx)("button",{type:"button",className:"camera-capture-btn m-b-2","data-testid":"camera-capture-button",onClick:e,children:(0,Fe.jsx)("span",{className:"camera-capture-btn-inner"})});var io=require("react");var um=e=>{var r;let{facingMode:t}=((r=no(e))==null?void 0:r.getSettings())||{};return t==="user"||t===void 0},pm=e=>!!((e==null?void 0:e.label)||"").match(/camera2? 0/g),fm=async e=>{let t=document.createElement("canvas");if(e){t.setAttribute("height",`${e.videoHeight}`),t.setAttribute("width",`${e.videoWidth}`);let r=t==null?void 0:t.getContext("2d");r&&(await new Promise(o=>setTimeout(o,100)),r.drawImage(e,0,0,t.width,t.height))}return t},ym=async()=>{var e,t;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")},hm=async()=>{var e,t;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)},gm=async e=>{var r,o,a;let t=Ea(e);return(a=(await((o=(r=navigator==null?void 0:navigator.mediaDevices)==null?void 0:r.enumerateDevices)==null?void 0:o.call(r))||[]).filter(n=>n.kind==="videoinput").find(n=>n.deviceId===(t==null?void 0:t.deviceId)))==null?void 0:a.label},no=e=>{var t;return(((t=e==null?void 0:e.getVideoTracks)==null?void 0:t.call(e))||[])[0]},Ea=e=>{var t,r;return(r=(t=no(e))==null?void 0:t.getCapabilities)==null?void 0:r.call(t)};var Sm=e=>{let[t,r]=(0,io.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};(0,io.useEffect)(()=>{a(e).then(r)},[e]);let a=async n=>{if(n==="back"){let s=(await ym()).find(pm);if(s!=null&&s.deviceId)return w(i({},o),{deviceId:{exact:s.deviceId}})}return o};return{videoConstraints:t}};var so=require("react");var K=require("react/jsx-runtime"),vu=92,bm=120,Ou=40,Pu=32,Mu=48,ku=40,wm=800,Eu=({overlay:e,outline:t,imageUrl:r,title:o,instructions:a,reviewInstructions:n})=>{let s=(0,so.useRef)(null);(0,so.useEffect)(()=>{let f=_e(()=>{var m;if((m=s.current)!=null&&m.innerHTML){let p=s.current;p.innerHTML+=""}},100);return window.addEventListener("resize",f),()=>window.removeEventListener("resize",f)});let l=(r?Ou:0)+(o?Pu:0)+(a?Mu:0),u=(0,K.jsxs)(K.Fragment,{children:[r&&(0,K.jsx)("img",{className:"camera-capture-img",src:r,alt:""}),o&&(0,K.jsx)("h4",{className:"camera-capture-title",children:o}),a&&(0,K.jsx)("small",{className:"camera-capture-instructions",children:a})]}),c=vu+l;if(n){l=c-bm,u=(0,K.jsx)("small",{className:"camera-capture-instructions",children:n});let f=bm+ku;c<f&&(u=(0,K.jsx)(K.Fragment,{}))}let d={x:"50%",y:"5%",width:`min(90%, ${wm}px)`,height:`calc(90% - ${c}px)`,style:{transform:`translateX(max(-45%, -${wm/2}px))`}},h={style:{left:"5%",top:`calc(100% - ${c}px - 5%)`,height:`calc(${l}px + 5%)`,width:"90%"}};return(0,K.jsxs)("svg",{ref:s,xmlns:"http://www.w3.org/2000/svg",children:[(0,K.jsx)("defs",{children:(0,K.jsxs)("mask",{id:"mask",children:[(0,K.jsx)("rect",{width:"100%",height:"100%",fill:"#fff"}),(0,K.jsx)("image",i({href:e},d))]})}),e&&(0,K.jsx)("rect",{width:"100%",height:"100%",mask:"url(#mask)",fillOpacity:"0.72"}),t&&(0,K.jsx)("image",i({href:t},d)),(0,K.jsx)("foreignObject",{width:"100%",height:"100%",children:(0,K.jsx)("div",w(i({className:"camera-capture-text-and-image-container"},h),{children:u}))})]})},Ia=Eu;var Cm=require("@transferwise/components"),xm=require("react-intl");var Fm=require("react-intl"),mo=(0,Fm.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"}});var ze=require("react/jsx-runtime"),Iu=({onAction:e})=>{let t=(0,xm.useIntl)();return(0,ze.jsx)("div",{id:"no-camera-access",children:(0,ze.jsx)("div",{className:"container p-t-5",children:(0,ze.jsx)("div",{className:"row",children:(0,ze.jsxs)("div",{className:"col-md-6 col-md-offset-3",children:[(0,ze.jsx)("h2",{className:"text-xs-center m-b-3",children:t.formatMessage(mo.title)}),(0,ze.jsx)("p",{className:"text-xs-center m-b-5",children:t.formatMessage(mo.paragraph)}),(0,ze.jsx)(Cm.Button,{block:!0,onClick:e,children:t.formatMessage(mo.action)})]})})})})},Da=Iu;var vm=require("react-intl");var Am=require("react-intl"),La=(0,Am.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"}});var tt=require("react/jsx-runtime"),Du=()=>{let e=(0,vm.useIntl)();return(0,tt.jsx)("div",{id:"camera-not-supported",children:(0,tt.jsx)("div",{className:"container p-t-5",children:(0,tt.jsx)("div",{className:"row",children:(0,tt.jsxs)("div",{className:"col-md-6 col-md-offset-3",children:[(0,tt.jsx)("h2",{className:"text-xs-center m-b-3",children:e.formatMessage(La.title)}),(0,tt.jsx)("p",{className:"text-xs-center m-b-5",children:e.formatMessage(La.paragraph)})]})})})})},Ta=Du;var Om=e=>e==null?void 0:e("Dynamic Flow - Camera Permission Denied",{}),Pm=async(e,t,r)=>e==null?void 0:e("Dynamic Flow - Camera Feed Started",await Lu(t,r)),Mm=(e,t)=>e==null?void 0:e("Dynamic Flow - Camera Not Supported",{Error:t}),Lu=async(e,t)=>{var n;let r=no(t),o=Ea(t),a=(n=r==null?void 0:r.getSettings)==null?void 0:n.call(r);return w(i({},r&&{"Available Video Devices (by label)":await hm(),"Active Video Device (by label)":await gm(t),"Camera Capabilities":o,"Camera Settings":a}),{"Camera Direction (Asked)":e==null?void 0:e.direction})};var ee=require("react/jsx-runtime"),Tu=({direction:e="back",overlay:t="",outline:r="",imageUrl:o="",title:a="",instructions:n="",showReview:s=!1,onCapture:l,onEvent:u})=>{let[c,d]=(0,ne.useState)("CAPTURE"),[h,f]=(0,ne.useState)(!1),[m,p]=(0,ne.useState)(!1),[y,g]=(0,ne.useState)(),b=(0,ne.useMemo)(()=>Rn(),[]),S=(0,ne.useRef)(null),{videoConstraints:F}=Sm(e),P=(0,km.useIntl)(),O=(0,ne.useCallback)(async()=>{var x,T,M,ie,Ae,J;if((x=S==null?void 0:S.current)!=null&&x.video&&((M=(T=S==null?void 0:S.current)==null?void 0:T.video)==null?void 0:M.readyState)>=3){(Ae=(ie=S==null?void 0:S.current)==null?void 0:ie.video)==null||Ae.pause();let fe=await fm((J=S==null?void 0:S.current)==null?void 0:J.video);fe==null||fe.toBlob(ot=>{if(ot)if(s){let go=window.URL.createObjectURL(ot);g({source:go,blob:ot}),d("REVIEW")}else l(ot)},"image/jpeg",.92)}},[S,s,g,d,l,h]),v=(0,ne.useCallback)(x=>{if(x instanceof DOMException&&(x==null?void 0:x.name)==="NotAllowedError"){d("NO_CAMERA_ACCESS"),Om(u);return}d("CAMERA_NOT_SUPPORTED"),Mm(u,x)},[d,u]),E=(0,ne.useCallback)(x=>{p(!0),f(um(x)),Pm(u,{direction:e},x)},[f,u,e]),R=()=>{l((y==null?void 0:y.blob)||null)},A=()=>{d("CAPTURE"),g(void 0)},L=()=>d("CAPTURE");(0,ne.useEffect)(()=>(c==="CAPTURE"&&b&&window.screen.orientation&&"lock"in window.screen.orientation&&typeof window.screen.orientation.lock=="function"&&window.screen.orientation.lock("portrait").catch(()=>{}),()=>{var x,T;(T=(x=window.screen)==null?void 0:x.orientation)!=null&&T.unlock&&window.screen.orientation.unlock()}),[c,b]);let z=(0,ee.jsxs)(ee.Fragment,{children:[F&&(0,ee.jsx)(Em.default,{ref:S,audio:!1,videoConstraints:F,mirrored:h,onUserMediaError:v,onUserMedia:E}),(0,ee.jsx)(Ia,{overlay:t,outline:r,imageUrl:o,title:a,instructions:n}),b&&(0,ee.jsx)(ka,{}),m&&(0,ee.jsx)(cm,{onCapture:()=>void O()})]}),H=(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)("img",{className:"review-image",src:y==null?void 0:y.source,alt:""}),(0,ee.jsx)(Ia,{overlay:t,imageUrl:o,title:a,instructions:n,reviewInstructions:P.formatMessage(fr.reviewInstructions)}),(0,ee.jsx)(dm,{onSubmit:R,onRetry:A})]});return(0,ee.jsxs)("section",{className:"camera-capture",children:[c==="CAPTURE"&&z,c==="REVIEW"&&H,c==="NO_CAMERA_ACCESS"&&(0,ee.jsx)(Da,{onAction:L}),c==="CAMERA_NOT_SUPPORTED"&&(0,ee.jsx)(Ta,{})]})},Na=Tu;var Dm=require("react/jsx-runtime");function Nu(e){return new Promise((t,r)=>{let o=new FileReader;o.onloadend=()=>t(o.result),o.readAsDataURL(e)})}var Ru=e=>{let{step:t,model:r,onModelChange:o,onAction:a}=e,n=te(),s=Im(t),l=Bu(t),u=ju(t),{title:c,image:d,cameraConfig:h}=l,{assets:f,direction:m,instructions:p}=h||{},{overlay:y,outline:g}=f||{},{url:b}=d||{},[S,F]=(0,lo.useState)(!1);(0,lo.useEffect)(()=>{S&&a(u)},[r]);let P=async O=>{let{$id:v}=l;if(O){let E=await Nu(O),R={[v||""]:E};F(!0),o({model:R,formSchema:s,triggerModel:E,triggerSchema:l})}};return(0,Dm.jsx)(Na,{overlay:y,outline:g,title:c,imageUrl:b,instructions:p,direction:m,onEvent:n,onCapture:O=>{P(O)}})},co=Ru;function Im(e){let r=Tr(e.schemas||[])[0];if(!r||!Pe(r))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...");return r}function Bu(e){let t=Im(e),r=Object.values(t.properties)[0];if(!r)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...");return r}function ju(e){var t,r;if(!e.schemas||((t=Tr(e.schemas))==null?void 0:t.length)!==1)throw new Error("camera step expects 1 non-hidden object schema");if(((r=e==null?void 0:e.actions)==null?void 0:r.length)!==1)throw new Error("camera step expects 1 action");return e.actions[0]}var Nm=require("react-intl");var Lm=require("react-intl"),hr=(0,Lm.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."}});var Rm=require("react/jsx-runtime"),Tm=()=>{},Vu=({url:e,onClose:t})=>{let{formatMessage:r}=(0,Nm.useIntl)();return(0,Rm.jsx)(le,{components:[{type:"box",width:"lg",components:[{type:"heading",text:r(hr.title),size:"lg",align:"center",margin:"xl"},{type:"info",markdown:r(hr.description,{origin:Uu(e)}),align:"center",margin:"xl"},{type:"box",width:"md",components:[{type:"button",action:{title:r(hr.open),type:"primary",url:e,exit:!0}},{type:"button",action:{title:r(hr.cancel),type:"link",url:"",exit:!0}}]}]}],submitted:!1,onAction:o=>{o.url&&window.open(o.url,"_blank"),t()},onModelChange:Tm,onPersistAsync:Tm})},uo=Vu;function Uu(e){try{return new URL(e).origin}catch(t){return e}}var Bm=require("@transferwise/components"),jm=require("@transferwise/icons");var $t=require("react/jsx-runtime"),zu=({title:e,action:t,onAction:r})=>(0,$t.jsxs)("a",{onClick:o=>{o.preventDefault(),r(w(i({},t),{skipValidation:!0}))},href:"/",className:"df-back-btn","aria-label":e,children:[(0,$t.jsx)("span",{className:"sr-only",children:e}),(0,$t.jsx)(Bm.Avatar,{type:"icon",children:(0,$t.jsx)(jm.ArrowLeft,{size:"24"})})]}),Vm=zu;var De=require("react/jsx-runtime"),Gr=e=>{var u,c,d;let{step:t,globalError:r,onAction:o}=e,a=(u=t==null?void 0:t.external)==null?void 0:u.url,n=((c=t==null?void 0:t.navigation)==null?void 0:c.back)||((d=t==null?void 0:t.navigation)==null?void 0:d.backButton),{requiresManualTrigger:s,dismissConfirmation:l}=Vn(a);return t===void 0?null:a&&s?(0,De.jsx)(uo,{url:a,onClose:l}):Tn(t)?(0,De.jsx)(co,w(i({},e),{step:t})):(0,De.jsxs)(De.Fragment,{children:[n&&(0,De.jsx)(Vm,w(i({},n),{onAction:o})),r?(0,De.jsx)(me,{component:{context:"negative",markdown:r,margin:"lg"}}):null,(0,De.jsx)(ao,w(i({},e),{stepSpecification:t}))]})};var Um=require("react");var Hu=1e3;function zm(e){let t=(0,Um.useRef)(new Map),r=o=>{if(t.current.has(o))return t.current.get(o);let a=_e((n,s,l)=>e(n,s,l),Hu);return t.current.set(o,a),a};return function(o,a,n,s){let l=r(o);l(o,a,n),(!s||!qu(s))&&l.flush()}}var qu=e=>st(e)==="basic"&&e.type!=="boolean"&&e.format!=="base64url";var Wt=require("react");var Gm=e=>{var m,p;let[t,r]=(0,Wt.useState)((m=e==null?void 0:e.errors)==null?void 0:m.validation),[o,a]=(0,Wt.useState)((p=e==null?void 0:e.errors)==null?void 0:p.error),[n,s]=(0,Wt.useState)({step:e||void 0,models:e!=null&&e.model?Hm(e.model,qm(e)):{},etag:void 0}),{step:l,models:u,etag:c}=n,d=(y,g)=>{var b,S,F,P;s(O=>({step:y,models:y.model?Hm(y.model,qm(y)):O.models,etag:g})),r((S=(b=y==null?void 0:y.errors)==null?void 0:b.validation)!=null?S:null),a((P=(F=y==null?void 0:y.errors)==null?void 0:F.error)!=null?P:null)},h=(y,g,b)=>{s(S=>{let F=w(i({},S.models),{[y]:g}),P={step:S.step,models:F,etag:S.etag};return b(F),P})},f=(0,Wt.useMemo)(()=>$u(u,Gu(l)),[u,l]);return{formErrors:t,globalError:o,step:l,models:u,etag:c,modelIsValid:f,setFormErrors:r,setGlobalError:a,setStepAndEtag:d,setSchemaModel:h}},Hm=(e,t=[])=>t.reduce((r,o)=>(o.$id||console.warn("Schema without $id property found."),w(i({},r),{[o.$id||""]:se(e,o)||{}})),{}),qm=e=>[...po((e==null?void 0:e.layout)||[]),...(e==null?void 0:e.schemas)||[]],po=e=>e.flatMap(t=>{switch(t.type){case"columns":return[...po([...t.left,...t.right])];case"box":return po(t.components);case"form":return $m(t.schema)?[t.schema]:[];default:return[]}}),Gu=e=>[...Ra((e==null?void 0:e.layout)||[]).map(t=>((e==null?void 0:e.schemas)||[]).find(r=>r.$id===t)).filter(Boolean),...po((e==null?void 0:e.layout)||[])],Ra=e=>e.flatMap(t=>{switch(t.type){case"columns":return[...Ra([...t.left,...t.right])];case"box":return Ra(t.components);case"form":return[Wu(t)];default:return[]}}).filter(Boolean),$u=(e,t=[])=>!(t!=null&&t.some(r=>(r.$id||console.warn("Schema without $id property found."),!W(e[r.$id||""]||{},r)))),Wu=e=>e.schema&&!$m(e.schema)?e.schema.$ref:e.schemaId,$m=e=>e!==void 0&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"$ref")===!1;var fo=require("@transferwise/components"),Wm=require("react");var Km=require("react/jsx-runtime");function _m(e,t){let r=i({size:fo.Size.EXTRA_LARGE,initial:!0,submission:!1},e),[o,a]=(0,Wm.useState)(t),s=r.initial&&o==="initial"||r.submission&&o==="submission"?(0,Km.jsx)(fo.Loader,{size:r.size,classNames:{"tw-loader":"tw-loader m-x-auto"},"data-testid":"loader"}):null;return{isLoading:o!=="idle",setLoadingState:a,loader:s}}var Zm=require("react");var yo=require("@transferwise/components"),Jm=require("react-intl");var Ym=require("react/jsx-runtime"),Xm=({onDismiss:e})=>{let{formatMessage:t}=(0,Jm.useIntl)();return(0,Ym.jsx)(yo.Alert,{action:{text:t(qt.retry),href:window.location.href},message:t(qt.errorAlert),type:yo.Sentiment.NEGATIVE,className:"m-b-3",onDismiss:e})};var _t=require("react/jsx-runtime"),_u=()=>{},Ba=class extends Zm.Component{constructor(r){super(r);this.handleErrorReset=()=>{this.setState({hasError:!1,isFatalError:!1})};this.state={hasError:!1,isFatalError:!1}}static getDerivedStateFromError(){return{hasError:!0,isFatalError:!0}}componentDidCatch(r){let{onError:o=_u}=this.props;o(r)}render(){let{children:r}=this.props,{hasError:o,isFatalError:a}=this.state;return(0,_t.jsxs)(_t.Fragment,{children:[o&&(0,_t.jsx)(Xm,{onDismiss:this.handleErrorReset}),!a&&r]})}},ja=Ba;var Qm=async(e,t)=>{switch(t){case"step":return el(e);case"exit":return rl(e);case"action":return tl(e);default:throw new Error("Unsupported X-Df-Response-Type. Allowed values are 'step', 'action', 'exit'.")}},el=async e=>{let t=await gr(e);if(!N(t))throw new Error("Incorrect response body in response. Expected an object.");let r=e.headers.get("etag")||void 0;return{type:"step",step:t,etag:r}},tl=async e=>{let t=await gr(e);if(!N(t))throw new Error("Incorrect response body in response. Expected an object.");if(!N(t.action))throw new Error("Incorrect response body in action response. Expected an object satisfying the type { action: Action }.");let r=t.action;return r.exit===!0&&N(r.result)?{type:"exit",result:r.result}:{type:"action",action:t.action}},rl=async e=>({type:"exit",result:await Va(e)}),ol=async e=>{var r,o,a;if(Ua(e),(r=e.headers)!=null&&r.has("X-Df-Response-Type")){let n=e.headers.get("X-Df-Response-Type");return Qm(e,n)}if((o=e.headers)!=null&&o.has("X-Df-ResponseType")){let n=e.headers.get("X-Df-ResponseType");return Qm(e,n)}if((a=e.headers)!=null&&a.has("X-Df-Exit"))return rl(e);let t=await gr(e.clone());return N(t)&&t.action?tl(e):el(e)},al=async e=>{Ua(e);let t=await gr(e);if(!N(t))throw new Error("Incorrect response body in error response. Expected an object.");if(!t.refreshFormUrl&&!t.refreshUrl&&!t.validation&&!t.error)throw t;return t},Va=async e=>{Ua(e);let t=await gr(e);return N(t)?t:null},gr=async e=>{try{return await e.json()}catch(t){return null}},Ua=e=>{if(!Ku(e))throw new Error("Incorrect type of response from fetch. Expected object of type Response.");if(e.bodyUsed)throw new Error("The body of the provided Response object has already been used. Every request must respond with a new Response object.")},Ku=e=>typeof e=="object"&&e!==null&&"clone"in e&&"bodyUsed"in e;var rt=require("react/jsx-runtime"),nl=()=>{},Ju=({flowId:e,httpClient:t,initialAction:r,initialStep:o,loaderConfig:a,displayStepTitle:n=!0,onCompletion:s,onError:l,onEvent:u=nl,onLog:c=nl})=>{let{locale:d}=(0,il.useIntl)(),{formErrors:h,globalError:f,step:m,models:p,etag:y,modelIsValid:g,setFormErrors:b,setGlobalError:S,setStepAndEtag:F,setSchemaModel:P}=Gm(o),[O,v]=(0,xe.useState)(!1),{isLoading:E,loader:R,setLoadingState:A}=_m(a,o?"idle":"initial"),L=nt("critical",c,e,(m==null?void 0:m.id)||(m==null?void 0:m.key)),z=(0,xe.useMemo)(()=>{var C;return i({flowId:e,stepId:(m==null?void 0:m.id)||(m==null?void 0:m.key)},(C=m==null?void 0:m.analytics)!=null?C:{})},[e,m]),H=(0,xe.useMemo)(()=>Co(u,z),[u,z]),x=(0,xe.useCallback)(({action:C,data:U,etag:D})=>{let{url:Q,method:He="POST"}=C;return t(Q!=null?Q:"",{method:He,headers:i({"accept-language":d,"Content-Type":"application/json"},D?{"If-None-Match":D}:{}),credentials:"include",body:He==="GET"?void 0:JSON.stringify(U)})},[t,d]),T=async(C,U={})=>{A(m?"submission":"initial"),H("Dynamic Flow - Step Submitted",{actionId:C.id||C.$id});try{let D=await x({action:C,data:U});await ot(D,"submission")}catch(D){Sr(D,"Error fetching next step")}},M=async(C,U,D)=>{A("refresh"),H("Dynamic Flow - Step Refreshed",{status:"pending"});try{let Q=await x({action:{url:C,method:"POST"},data:U,etag:D});await ot(Q,"refresh")}catch(Q){Sr(Q,"Error fetching refresh step")}},ie=async(C,U)=>{A("submission");try{let D=await x({action:C,data:U});await Ae(D,C.result)}catch(D){Sr(D,"Error fetching exit result")}},Ae=async(C,U)=>{let D=await Va(C);fe(i(i({},D),U))},J=zm(M),fe=(0,xe.useCallback)(C=>{H("Dynamic Flow - Flow Finished",{result:"success"}),s(C)},[s,H]);(0,xe.useEffect)(()=>{H("Dynamic Flow - Flow Started",{})},[]),(0,xe.useEffect)(()=>{if(!o){let C=i({id:"#initial-step-request",method:"GET"},r);T(C,C.data)}},[t,d,JSON.stringify(o),JSON.stringify(r)]);let ot=async(C,U)=>{try{if(C.status===304){A("idle");return}if(!C.ok){let Q=await al(C);xl(Q);return}let D=await ol(C);D.type==="action"?T(D.action,D.action.data):D.type==="exit"?fe(D.result):go(D.step,D.etag,U)}catch(D){return Sr(D,"Error parsing fetch response",U,C.status)}},go=(C,U,D)=>{F(C,U),A("idle"),D==="submission"?(v(!1),H("Dynamic Flow - Step Started",i({stepId:C.id||C.key},C==null?void 0:C.analytics))):H("Dynamic Flow - Step Refreshed",{status:"success"})},xl=async C=>{let U=C.refreshUrl||C.refreshFormUrl;U&&await M(U,ho(p),y),C.validation&&b(C.validation),C.error&&S(C.error),A("idle")},Sr=(C,U,D,Q)=>{L("Error fetching",U),D==="refresh"&&H("Dynamic Flow - Step Refreshed",{status:"failure"}),H("Dynamic Flow - Flow Finished",{status:"failure"}),l(C,Q),A("idle")},Al=C=>{let{model:U,formSchema:D}=C,{$id:Q=""}=D;S(null),$(U)||L("Invalid model on change","onModelChange was called but the model argument is not an object"),P(Q,U,Ft=>{vl(C,Ft)})},vl=(C,U)=>{let{triggerSchema:D}=C;if(Zu(C)){let Q=D.refreshUrl||D.refreshFormUrl,He=(m==null?void 0:m.refreshUrl)||(m==null?void 0:m.refreshFormUrl),Ft=Q||He;Ft&&J(Ft,ho(U),y,D)}},Ol=async C=>{if(E||C.disabled)return;if(C.exit&&!C.url){fe(C.result);return}let U=C.exit?ie:T,{data:D,method:Q,skipValidation:He}=C,Ft=i(i({},ho(p)),D);Yu(Q)?(b(null),He||v(!0),(g||He)&&await U(C,Ft)):await U(C)};return(0,rt.jsx)(Er,{flowId:e,stepId:(m==null?void 0:m.id)||(m==null?void 0:m.key),onLog:c,children:(0,rt.jsx)(xr,{metadata:z,onEvent:u,children:(0,rt.jsx)(en,{loading:E,children:(0,rt.jsx)(nn,{httpClient:t,children:R!==null?R:(0,rt.jsx)(Gr,{step:m,model:ho(p),submitted:O,globalError:f,formErrors:h,stepLayoutOptions:{displayStepTitle:n},onAction:C=>{Ol(C)},onModelChange:Al})})})})})},Xu=e=>(0,rt.jsx)(ja,{onError:e.onError,children:(0,rt.jsx)(Ju,i({},e))}),za=Xu,ho=e=>Object.values(e).reduce((t,r)=>i(i({},t),r),{}),Yu=(e="POST")=>["POST","PUT","PATCH"].includes(e.toUpperCase()),Zu=e=>{let{type:t,triggerSchema:r,triggerModel:o,lastTriggerModel:a=null}=e,n=()=>W(o,r),s=()=>W(a,r),l=(r==null?void 0:r.refreshStepOnChange)||(r==null?void 0:r.refreshFormOnChange);return t!=="init"&&l&&(n()||s())};var sl={"dynamicFlows.ArraySchema.addItem":"Speichern","dynamicFlows.ArraySchema.addItemTitle":"Artikel hinzuf\xFCgen","dynamicFlows.ArraySchema.editItem":"Speichern","dynamicFlows.ArraySchema.maxItemsError":"Bitte f\xFCge {maxItems} oder weniger hinzu.","dynamicFlows.ArraySchema.minItemsError":"Bitte f\xFCge mindestens {minItems} hinzu.","dynamicFlows.ArraySchema.removeItem":"Entfernen","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"};var ml={"dynamicFlows.ArraySchema.addItem":"Save","dynamicFlows.ArraySchema.addItemTitle":"Add Item","dynamicFlows.ArraySchema.editItem":"Save","dynamicFlows.ArraySchema.maxItemsError":"Please add {maxItems} or fewer.","dynamicFlows.ArraySchema.minItemsError":"Please add at least {minItems}.","dynamicFlows.ArraySchema.removeItem":"Remove","dynamicFlows.CameraCapture.CameraNotSupported.paragraph":"The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.","dynamicFlows.CameraCapture.CameraNotSupported.title":"Camera not supported","dynamicFlows.CameraCapture.NoCameraAccess.action":"Enable camera access","dynamicFlows.CameraCapture.NoCameraAccess.paragraph":"Enable camera access in your browser's settings to get going again.","dynamicFlows.CameraCapture.NoCameraAccess.title":"We can't access your camera","dynamicFlows.CameraCapture.reviewInstructions":"Is your picture clear, readable and complete?","dynamicFlows.CameraCapture.reviewRetry":"No, try again","dynamicFlows.CameraCapture.reviewSubmit":"Yes, submit","dynamicFlows.CameraCapture.rotatePhone.imgAlt":"Rotate your phone icon","dynamicFlows.CameraCapture.rotatePhone.text":"Rotate your phone to portrait view to take a photo","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"};var ll={"dynamicFlows.ArraySchema.addItem":"Guardar","dynamicFlows.ArraySchema.addItemTitle":"A\xF1adir elemento","dynamicFlows.ArraySchema.editItem":"Guardar","dynamicFlows.ArraySchema.maxItemsError":"A\xF1ade {maxItems} o menos.","dynamicFlows.ArraySchema.minItemsError":"A\xF1ade al menos {minItems}.","dynamicFlows.ArraySchema.removeItem":"Eliminar","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"};var cl={"dynamicFlows.ArraySchema.addItem":"Enregistrer","dynamicFlows.ArraySchema.addItemTitle":"Ajouter un \xE9l\xE9ment","dynamicFlows.ArraySchema.editItem":"Enregistrer","dynamicFlows.ArraySchema.maxItemsError":"Veuillez ajouter {maxItems} ou moins.","dynamicFlows.ArraySchema.minItemsError":"Veuillez ajouter au moins {minItems}.","dynamicFlows.ArraySchema.removeItem":"Supprimer","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"};var dl={"dynamicFlows.ArraySchema.addItem":"Ment\xE9s","dynamicFlows.ArraySchema.addItemTitle":"Elem hozz\xE1ad\xE1sa","dynamicFlows.ArraySchema.editItem":"Ment\xE9s","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.ArraySchema.removeItem":"Elt\xE1vol\xEDt\xE1sra","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"};var ul={"dynamicFlows.ArraySchema.addItem":"Simpan","dynamicFlows.ArraySchema.addItemTitle":"Tambahkan Item","dynamicFlows.ArraySchema.editItem":"Simpan","dynamicFlows.ArraySchema.maxItemsError":"Harap tambahkan {maxItems} atau kurang.","dynamicFlows.ArraySchema.minItemsError":"Harap tambahkan setidaknya {minItems}.","dynamicFlows.ArraySchema.removeItem":"Hapus","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"};var pl={"dynamicFlows.ArraySchema.addItem":"Salva","dynamicFlows.ArraySchema.addItemTitle":"Aggiungi elemento","dynamicFlows.ArraySchema.editItem":"Salva","dynamicFlows.ArraySchema.maxItemsError":"Aggiungi al massimo {maxItems}.","dynamicFlows.ArraySchema.minItemsError":"Aggiungi almeno {minItems}.","dynamicFlows.ArraySchema.removeItem":"Rimuovi","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"};var fl={"dynamicFlows.ArraySchema.addItem":"\u4FDD\u5B58\u3059\u308B","dynamicFlows.ArraySchema.addItemTitle":"\u30A2\u30A4\u30C6\u30E0\u3092\u8FFD\u52A0\u3059\u308B","dynamicFlows.ArraySchema.editItem":"\u4FDD\u5B58\u3059\u308B","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.ArraySchema.removeItem":"\u524A\u9664\u3059\u308B","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"};var yl={"dynamicFlows.ArraySchema.addItem":"Zapisz","dynamicFlows.ArraySchema.addItemTitle":"Dodaj pozycj\u0119","dynamicFlows.ArraySchema.editItem":"Zapisz","dynamicFlows.ArraySchema.maxItemsError":"Prosimy doda\u0107 maksymalnie {maxItems}.","dynamicFlows.ArraySchema.minItemsError":"Prosimy doda\u0107 co najmniej {minItems}.","dynamicFlows.ArraySchema.removeItem":"Usu\u0144","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"};var hl={"dynamicFlows.ArraySchema.addItem":"Salvar","dynamicFlows.ArraySchema.addItemTitle":"Add Item","dynamicFlows.ArraySchema.editItem":"Salvar","dynamicFlows.ArraySchema.maxItemsError":"Adicione {maxItems} ou menos.","dynamicFlows.ArraySchema.minItemsError":"Adicione pelo menos {minItems}.","dynamicFlows.ArraySchema.removeItem":"Remover","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"};var gl={"dynamicFlows.ArraySchema.addItem":"Salvare","dynamicFlows.ArraySchema.addItemTitle":"Adaug\u0103 produs","dynamicFlows.ArraySchema.editItem":"Salvare","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.ArraySchema.removeItem":"Elimin\u0103","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"};var Sl={"dynamicFlows.ArraySchema.addItem":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C","dynamicFlows.ArraySchema.addItemTitle":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0443\u043D\u043A\u0442","dynamicFlows.ArraySchema.editItem":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C","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.ArraySchema.removeItem":"\u0423\u0434\u0430\u043B\u0438\u0442\u044C","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"};var bl={"dynamicFlows.ArraySchema.addItem":"\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01","dynamicFlows.ArraySchema.addItemTitle":"Add Item","dynamicFlows.ArraySchema.editItem":"\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01","dynamicFlows.ArraySchema.maxItemsError":"\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21 {maxItems} \u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32","dynamicFlows.ArraySchema.minItemsError":"\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minItems}","dynamicFlows.ArraySchema.removeItem":"\u0E25\u0E1A","dynamicFlows.CameraCapture.CameraNotSupported.paragraph":"\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C\u0E17\u0E35\u0E48\u0E04\u0E38\u0E13\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E23\u0E2D\u0E07\u0E23\u0E31\u0E1A\u0E01\u0E25\u0E49\u0E2D\u0E07 \u0E43\u0E2B\u0E49\u0E25\u0E2D\u0E07\u0E43\u0E0A\u0E49\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C\u0E41\u0E25\u0E30\u0E2D\u0E38\u0E1B\u0E01\u0E23\u0E13\u0E4C\u0E2D\u0E37\u0E48\u0E19 \u0E2B\u0E23\u0E37\u0E2D\u0E14\u0E32\u0E27\u0E19\u0E4C\u0E42\u0E2B\u0E25\u0E14\u0E41\u0E2D\u0E1B\u0E21\u0E37\u0E2D\u0E16\u0E37\u0E2D\u0E02\u0E2D\u0E07\u0E40\u0E23\u0E32\u0E14\u0E39","dynamicFlows.CameraCapture.CameraNotSupported.title":"\u0E44\u0E21\u0E48\u0E23\u0E2D\u0E07\u0E23\u0E31\u0E1A\u0E01\u0E25\u0E49\u0E2D\u0E07","dynamicFlows.CameraCapture.NoCameraAccess.action":"\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E0A\u0E49\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E01\u0E25\u0E49\u0E2D\u0E07","dynamicFlows.CameraCapture.NoCameraAccess.paragraph":"\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E01\u0E25\u0E49\u0E2D\u0E07\u0E43\u0E19\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E40\u0E23\u0E34\u0E48\u0E21\u0E15\u0E49\u0E19\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07","dynamicFlows.CameraCapture.NoCameraAccess.title":"\u0E40\u0E23\u0E32\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E01\u0E25\u0E49\u0E2D\u0E07\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E44\u0E14\u0E49","dynamicFlows.CameraCapture.reviewInstructions":"\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E0A\u0E31\u0E14\u0E40\u0E08\u0E19 \u0E2D\u0E48\u0E32\u0E19\u0E44\u0E14\u0E49 \u0E41\u0E25\u0E30\u0E04\u0E23\u0E1A\u0E16\u0E49\u0E27\u0E19\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48","dynamicFlows.CameraCapture.reviewRetry":"\u0E44\u0E21\u0E48 \u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E17\u0E31\u0E49\u0E07","dynamicFlows.CameraCapture.reviewSubmit":"\u0E43\u0E0A\u0E48 \u0E2A\u0E48\u0E07\u0E40\u0E25\u0E22","dynamicFlows.ControlFeedback.maxLength":"\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19 {maxLength} \u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32","dynamicFlows.ControlFeedback.maximum":"\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 {maximum} \u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32","dynamicFlows.ControlFeedback.maximumDate":"\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E15\u0E23\u0E07\u0E1E\u0E2D\u0E14\u0E35\u0E2B\u0E23\u0E37\u0E2D\u0E01\u0E48\u0E2D\u0E19 {maximum}","dynamicFlows.ControlFeedback.minLength":"\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minLength} \u0E15\u0E31\u0E27","dynamicFlows.ControlFeedback.minimum":"\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 {minimum} \u0E2B\u0E23\u0E37\u0E2D\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32","dynamicFlows.ControlFeedback.minimumDate":"\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E15\u0E23\u0E07\u0E1E\u0E2D\u0E14\u0E35\u0E2B\u0E23\u0E37\u0E2D\u0E2B\u0E25\u0E31\u0E07 {minimum}","dynamicFlows.ControlFeedback.pattern":"\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E43\u0E19\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07","dynamicFlows.ControlFeedback.patternDate":"\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E43\u0E19\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07","dynamicFlows.ControlFeedback.required":"\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E43\u0E19\u0E0A\u0E48\u0E2D\u0E07\u0E19\u0E35\u0E49","dynamicFlows.ControlFeedback.type":"\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07","dynamicFlows.DynamicExternal.retryTitle":"\u0E40\u0E1B\u0E34\u0E14\u0E2B\u0E19\u0E49\u0E32\u0E15\u0E48\u0E32\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07","dynamicFlows.DynamicParagraph.copied":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14","dynamicFlows.DynamicParagraph.copy":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01","dynamicFlows.ErrorBoundary.errorAlert":"\u0E2D\u0E4A\u0E30 \u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E1A\u0E32\u0E07\u0E2D\u0E22\u0E48\u0E32\u0E07...","dynamicFlows.ErrorBoundary.retry":"\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07","dynamicFlows.ExternalConfirmation.cancel":"\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01","dynamicFlows.ExternalConfirmation.description":"\u0E42\u0E1B\u0E23\u0E14\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E27\u0E48\u0E32\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E34\u0E14 **{origin}** \u0E40\u0E1B\u0E47\u0E19\u0E41\u0E17\u0E47\u0E1A\u0E43\u0E2B\u0E21\u0E48\u0E43\u0E19\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C","dynamicFlows.ExternalConfirmation.open":"\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E19\u0E41\u0E17\u0E47\u0E1A\u0E43\u0E2B\u0E21\u0E48","dynamicFlows.ExternalConfirmation.title":"\u0E42\u0E1B\u0E23\u0E14\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19","dynamicFlows.Help.ariaLabel":"\u0E04\u0E25\u0E34\u0E01\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E39\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21","dynamicFlows.MultipleFileUploadSchema.maxFileSizeError":"\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E44\u0E1F\u0E25\u0E4C\u0E19\u0E31\u0E49\u0E19\u0E43\u0E2B\u0E0D\u0E48\u0E40\u0E01\u0E34\u0E19\u0E44\u0E1B \u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14\u0E44\u0E1F\u0E25\u0E4C\u0E17\u0E35\u0E48\u0E21\u0E35\u0E02\u0E19\u0E32\u0E14\u0E40\u0E25\u0E47\u0E01\u0E25\u0E07","dynamicFlows.MultipleFileUploadSchema.maxItemsError":"\u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14 {maxItems} \u0E44\u0E1F\u0E25\u0E4C\u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32","dynamicFlows.MultipleFileUploadSchema.minItemsError":"\u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minItems} \u0E44\u0E1F\u0E25\u0E4C","dynamicFlows.PersistAsyncSchema.genericError":"\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E42\u0E1B\u0E23\u0E14\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E20\u0E32\u0E22\u0E2B\u0E25\u0E31\u0E07!","dynamicFlows.ReadOnlySchema.no":"\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48","dynamicFlows.ReadOnlySchema.yes":"\u0E43\u0E0A\u0E48"};var wl={"dynamicFlows.ArraySchema.addItem":"Kaydet","dynamicFlows.ArraySchema.addItemTitle":"Add Item","dynamicFlows.ArraySchema.editItem":"Kaydet","dynamicFlows.ArraySchema.maxItemsError":"L\xFCtfen {maxItems} veya daha az ekleme yap\u0131n","dynamicFlows.ArraySchema.minItemsError":"L\xFCtfen en az {minItems} ekleme yap\u0131n.","dynamicFlows.ArraySchema.removeItem":"Kald\u0131r","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"};var Ha={"dynamicFlows.ArraySchema.addItem":"\u4FDD\u5B58","dynamicFlows.ArraySchema.addItemTitle":"Add Item","dynamicFlows.ArraySchema.editItem":"\u4FDD\u5B58","dynamicFlows.ArraySchema.maxItemsError":"\u8BF7\u6DFB\u52A0 {maxItems} \u4E2A\u6216\u66F4\u5C11\u3002","dynamicFlows.ArraySchema.minItemsError":"\u8BF7\u81F3\u5C11\u6DFB\u52A0 {minItems}\u3002","dynamicFlows.ArraySchema.removeItem":"\u5220\u9664","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":"\u4E0D\u652F\u6301\u6444\u50CF\u5934","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":"\u60A8\u7684\u56FE\u7247\u662F\u5426\u6E05\u6670\u3001\u53EF\u8BFB\u548C\u5B8C\u6574\uFF1F","dynamicFlows.CameraCapture.reviewRetry":"\u5426\uFF0C\u91CD\u8BD5","dynamicFlows.CameraCapture.reviewSubmit":"\u662F\uFF0C\u63D0\u4EA4","dynamicFlows.ControlFeedback.maxLength":"\u8BF7\u8F93\u5165 {maxLength} \u4E2A\u6216\u66F4\u5C11\u5B57\u7B26","dynamicFlows.ControlFeedback.maximum":"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5C0F\u4E8E\u6216\u7B49\u4E8E {maximum} \u7684\u6570\u5B57","dynamicFlows.ControlFeedback.maximumDate":"\u8BF7\u8F93\u5165 {maximum} \u6216\u4E4B\u524D\u7684\u65E5\u671F","dynamicFlows.ControlFeedback.minLength":"\u8BF7\u81F3\u5C11\u8F93\u5165 {minLength} \u4E2A\u5B57\u7B26","dynamicFlows.ControlFeedback.minimum":"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5927\u4E8E\u6216\u7B49\u4E8E {minimum} \u7684\u6570\u5B57","dynamicFlows.ControlFeedback.minimumDate":"\u8BF7\u8F93\u5165 {minimum} \u6216\u4E4B\u540E\u7684\u65E5\u671F","dynamicFlows.ControlFeedback.pattern":"\u8BF7\u4EE5\u6B63\u786E\u7684\u683C\u5F0F\u8F93\u5165","dynamicFlows.ControlFeedback.patternDate":"\u8BF7\u4EE5\u6B63\u786E\u7684\u683C\u5F0F\u8F93\u5165\u65E5\u671F","dynamicFlows.ControlFeedback.required":"\u8BF7\u586B\u5199\u6B64\u5B57\u6BB5\u3002","dynamicFlows.ControlFeedback.type":"\u7C7B\u578B\u4E0D\u6B63\u786E","dynamicFlows.DynamicExternal.retryTitle":"\u91CD\u65B0\u6253\u5F00\u7A97\u53E3","dynamicFlows.DynamicParagraph.copied":"\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F","dynamicFlows.DynamicParagraph.copy":"\u590D\u5236","dynamicFlows.ErrorBoundary.errorAlert":"\u7CDF\u7CD5\u3002\u51FA\u95EE\u9898\u4E86\u2026","dynamicFlows.ErrorBoundary.retry":"\u91CD\u8BD5","dynamicFlows.ExternalConfirmation.cancel":"\u53D6\u6D88","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":"\u70B9\u51FB\u6B64\u5904\u83B7\u53D6\u66F4\u591A\u4FE1\u606F\u3002","dynamicFlows.MultipleFileUploadSchema.maxFileSizeError":"\u62B1\u6B49\uFF0C\u8BE5\u6587\u4EF6\u592A\u5927\u3002\u8BF7\u4E0A\u4F20\u4E00\u4E2A\u66F4\u5C0F\u7684\u6587\u4EF6\u3002","dynamicFlows.MultipleFileUploadSchema.maxItemsError":"\u8BF7\u4E0A\u4F20 {maxItems} \u4E2A\u6216\u66F4\u5C11\u7684\u6587\u4EF6\u3002","dynamicFlows.MultipleFileUploadSchema.minItemsError":"\u8BF7\u81F3\u5C11\u4E0A\u4F20 {minItems} \u4E2A\u6587\u4EF6\u3002","dynamicFlows.PersistAsyncSchema.genericError":"\u51FA\u73B0\u4E00\u4E9B\u95EE\u9898\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\uFF01","dynamicFlows.ReadOnlySchema.no":"\u5426","dynamicFlows.ReadOnlySchema.yes":"\u662F"};var Fl={"dynamicFlows.ArraySchema.addItem":"\u5132\u5B58","dynamicFlows.ArraySchema.addItemTitle":"\u6DFB\u52A0\u9805\u76EE","dynamicFlows.ArraySchema.editItem":"\u5132\u5B58","dynamicFlows.ArraySchema.maxItemsError":"\u8ACB\u6DFB\u52A0\u4E0D\u8D85\u904E{maxItems}\u9805\u3002","dynamicFlows.ArraySchema.minItemsError":"\u8ACB\u81F3\u5C11\u6DFB\u52A0{minItems}\u9805\u3002","dynamicFlows.ArraySchema.removeItem":"\u79FB\u9664","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"};var yp={en:ml,de:sl,es:ll,fr:cl,hu:dl,id:ul,it:pl,ja:fl,pl:yl,pt:hl,ro:gl,ru:Sl,th:bl,tr:wl,zh:Ha,"zh-CN":Ha,"zh-HK":Fl},Cl=yp;
1
+ "use strict";var yl=Object.create;var pr=Object.defineProperty;var hl=Object.getOwnPropertyDescriptor;var gl=Object.getOwnPropertyNames;var Sl=Object.getPrototypeOf,bl=Object.prototype.hasOwnProperty;var Na=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),wl=(e,t)=>{for(var r in t)pr(e,r,{get:t[r],enumerable:!0})},Ba=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of gl(t))!bl.call(e,a)&&a!==r&&pr(e,a,{get:()=>t[a],enumerable:!(o=hl(t,a))||o.enumerable});return e};var Be=(e,t,r)=>(r=e!=null?yl(Sl(e)):{},Ba(t||!e||!e.__esModule?pr(r,"default",{value:e,enumerable:!0}):r,e)),Fl=e=>Ba(pr({},"__esModule",{value:!0}),e);var rt=Na((wf,Dr)=>{"use strict";(function(){"use strict";var e={}.hasOwnProperty,t="[native code]";function r(){for(var o=[],a=0;a<arguments.length;a++){var n=arguments[a];if(n){var i=typeof n;if(i==="string"||i==="number")o.push(n);else if(Array.isArray(n)){if(n.length){var m=r.apply(null,n);m&&o.push(m)}}else if(i==="object"){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){o.push(n.toString());continue}for(var u in n)e.call(n,u)&&n[u]&&o.push(u)}}}return o.join(" ")}typeof Dr<"u"&&Dr.exports?(r.default=r,Dr.exports=r):typeof define=="function"&&typeof define.amd=="object"&&define.amd?define("classnames",[],function(){return r}):window.classNames=r})()});var Ks=Na((mr,Fa)=>{"use strict";(function(t,r){typeof mr=="object"&&typeof Fa=="object"?Fa.exports=r(require("react")):typeof define=="function"&&define.amd?define(["react"],r):typeof mr=="object"?mr.Webcam=r(require("react")):t.Webcam=r(t.React)})(mr,function(e){return function(t){var r={};function o(a){if(r[a])return r[a].exports;var n=r[a]={i:a,l:!1,exports:{}};return t[a].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=t,o.c=r,o.d=function(a,n,i){o.o(a,n)||Object.defineProperty(a,n,{enumerable:!0,get:i})},o.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},o.t=function(a,n){if(n&1&&(a=o(a)),n&8||n&4&&typeof a=="object"&&a&&a.__esModule)return a;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:a}),n&2&&typeof a!="string")for(var m in a)o.d(i,m,function(u){return a[u]}.bind(null,m));return i},o.n=function(a){var n=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(n,"a",n),n},o.o=function(a,n){return Object.prototype.hasOwnProperty.call(a,n)},o.p="",o(o.s="./src/react-webcam.tsx")}({"./src/react-webcam.tsx":function(t,r,o){"use strict";o.r(r);var a=o("react"),n=o.n(a),i=function(){var f=function(p,s){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,y){d.__proto__=y}||function(d,y){for(var h in y)y.hasOwnProperty(h)&&(d[h]=y[h])},f(p,s)};return function(p,s){f(p,s);function d(){this.constructor=p}p.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}}(),m=function(){return m=Object.assign||function(f){for(var p,s=1,d=arguments.length;s<d;s++){p=arguments[s];for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&(f[y]=p[y])}return f},m.apply(this,arguments)},u=function(f,p){var s={};for(var d in f)Object.prototype.hasOwnProperty.call(f,d)&&p.indexOf(d)<0&&(s[d]=f[d]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,d=Object.getOwnPropertySymbols(f);y<d.length;y++)p.indexOf(d[y])<0&&Object.prototype.propertyIsEnumerable.call(f,d[y])&&(s[d[y]]=f[d[y]]);return s};(function(){typeof window>"u"||(navigator.mediaDevices===void 0&&(navigator.mediaDevices={}),navigator.mediaDevices.getUserMedia===void 0&&(navigator.mediaDevices.getUserMedia=function(p){var s=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;return s?new Promise(function(d,y){s.call(navigator,p,d,y)}):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}))})();function c(){return!!(navigator.mediaDevices&&navigator.mediaDevices.getUserMedia)}var l=function(f){i(p,f);function p(s){var d=f.call(this,s)||this;return d.canvas=null,d.ctx=null,d.requestUserMediaId=0,d.unmounted=!1,d.state={hasUserMedia:!1},d}return p.prototype.componentDidMount=function(){var s=this,d=s.state,y=s.props;if(this.unmounted=!1,!c()){y.onUserMediaError("getUserMedia not supported");return}d.hasUserMedia||this.requestUserMedia(),y.children&&typeof y.children!="function"&&console.warn("children must be a function")},p.prototype.componentDidUpdate=function(s){var d=this.props;if(!c()){d.onUserMediaError("getUserMedia not supported");return}var y=JSON.stringify(s.audioConstraints)!==JSON.stringify(d.audioConstraints),h=JSON.stringify(s.videoConstraints)!==JSON.stringify(d.videoConstraints),g=s.minScreenshotWidth!==d.minScreenshotWidth,w=s.minScreenshotHeight!==d.minScreenshotHeight;(h||g||w)&&(this.canvas=null,this.ctx=null),(y||h)&&(this.stopAndCleanup(),this.requestUserMedia())},p.prototype.componentWillUnmount=function(){this.unmounted=!0,this.stopAndCleanup()},p.stopMediaStream=function(s){s&&(s.getVideoTracks&&s.getAudioTracks?(s.getVideoTracks().map(function(d){s.removeTrack(d),d.stop()}),s.getAudioTracks().map(function(d){s.removeTrack(d),d.stop()})):s.stop())},p.prototype.stopAndCleanup=function(){var s=this.state;s.hasUserMedia&&(p.stopMediaStream(this.stream),s.src&&window.URL.revokeObjectURL(s.src))},p.prototype.getScreenshot=function(s){var d=this,y=d.state,h=d.props;if(!y.hasUserMedia)return null;var g=this.getCanvas(s);return g&&g.toDataURL(h.screenshotFormat,h.screenshotQuality)},p.prototype.getCanvas=function(s){var d=this,y=d.state,h=d.props;if(!this.video||!y.hasUserMedia||!this.video.videoHeight)return null;if(!this.ctx){var g=this.video.videoWidth,w=this.video.videoHeight;if(!this.props.forceScreenshotSourceSize){var b=g/w;g=h.minScreenshotWidth||this.video.clientWidth,w=g/b,h.minScreenshotHeight&&w<h.minScreenshotHeight&&(w=h.minScreenshotHeight,g=w*b)}this.canvas=document.createElement("canvas"),this.canvas.width=s?.width||g,this.canvas.height=s?.height||w,this.ctx=this.canvas.getContext("2d")}var O=this,x=O.ctx,C=O.canvas;return x&&C&&(C.width=s?.width||C.width,C.height=s?.height||C.height,h.mirrored&&(x.translate(C.width,0),x.scale(-1,1)),x.imageSmoothingEnabled=h.imageSmoothing,x.drawImage(this.video,0,0,s?.width||C.width,s?.height||C.height),h.mirrored&&(x.scale(-1,1),x.translate(-C.width,0))),C},p.prototype.requestUserMedia=function(){var s=this,d=this.props,y=function(w,b){var O={video:typeof b<"u"?b:!0};d.audio&&(O.audio=typeof w<"u"?w:!0),s.requestUserMediaId++;var x=s.requestUserMediaId;navigator.mediaDevices.getUserMedia(O).then(function(C){s.unmounted||x!==s.requestUserMediaId?p.stopMediaStream(C):s.handleUserMedia(null,C)}).catch(function(C){s.handleUserMedia(C)})};if("mediaDevices"in navigator)y(d.audioConstraints,d.videoConstraints);else{var h=function(w){return{optional:[{sourceId:w}]}},g=function(w){var b=w.deviceId;return typeof b=="string"?b:Array.isArray(b)&&b.length>0?b[0]:typeof b=="object"&&b.ideal?b.ideal:null};MediaStreamTrack.getSources(function(w){var b=null,O=null;w.forEach(function(v){v.kind==="audio"?b=v.id:v.kind==="video"&&(O=v.id)});var x=g(d.audioConstraints);x&&(b=x);var C=g(d.videoConstraints);C&&(O=C),y(h(b),h(O))})}},p.prototype.handleUserMedia=function(s,d){var y=this.props;if(s||!d){this.setState({hasUserMedia:!1}),y.onUserMediaError(s);return}this.stream=d;try{this.video&&(this.video.srcObject=d),this.setState({hasUserMedia:!0})}catch{this.setState({hasUserMedia:!0,src:window.URL.createObjectURL(d)})}y.onUserMedia(d)},p.prototype.render=function(){var s=this,d=this,y=d.state,h=d.props,g=h.audio,w=h.forceScreenshotSourceSize,b=h.onUserMedia,O=h.onUserMediaError,x=h.screenshotFormat,C=h.screenshotQuality,v=h.minScreenshotWidth,k=h.minScreenshotHeight,A=h.audioConstraints,D=h.videoConstraints,z=h.imageSmoothing,S=h.mirrored,V=h.style,H=V===void 0?{}:V,G=h.children,Ht=u(h,["audio","forceScreenshotSourceSize","onUserMedia","onUserMediaError","screenshotFormat","screenshotQuality","minScreenshotWidth","minScreenshotHeight","audioConstraints","videoConstraints","imageSmoothing","mirrored","style","children"]),qt=S?m(m({},H),{transform:(H.transform||"")+" scaleX(-1)"}):H,Oe={getScreenshot:this.getScreenshot.bind(this)};return a.createElement(a.Fragment,null,a.createElement("video",m({autoPlay:!0,src:y.src,muted:!g,playsInline:!0,ref:function(Ye){s.video=Ye},style:qt},Ht)),G&&G(Oe))},p.defaultProps={audio:!1,forceScreenshotSourceSize:!1,imageSmoothing:!0,mirrored:!1,onUserMedia:function(){},onUserMediaError:function(){},screenshotFormat:"image/webp",screenshotQuality:.92},p}(a.Component);r.default=l},react:function(t,r){t.exports=e}}).default})});var Zu={};wl(Zu,{DynamicFlow:()=>La,JsonSchemaForm:()=>or,Layout:()=>ae,convertStepToLayout:()=>Gt,inlineReferences:()=>je,isValidSchema:()=>U,makeHttpClient:()=>Fr,translations:()=>ll});module.exports=Fl(Zu);function Gt(e,{displayStepTitle:t=!0}={}){if(e.layout)return Rl(e,t);switch(e.type){case"final":return Al(e);case"decision":return Ol(e);case"external":return Cl(e);default:return xl(e)}}function uo(e){let t=[];if(e.title&&t.push(fo(e.title)),e.image){let r=ja(e.image);t.push(r)}return e.description&&t.push(yo(e.description)),t}function Cl(e){return[...uo(e),vl(e)]}function vl(e){return{type:"external",requestUrl:e.requestUrl,polling:e.polling,responseHandlers:e.responseHandlers,retryTitle:e.retryTitle}}function xl(e){let t=uo(e);if(e.reviewFields&&t.push(Il(e.reviewFields)),e.schemas&&t.push(...Ll(e)),e.actions){let r=e.actions.map(fr);t.push(po(r,"md"))}return t}function Al(e){let t=[];if(e.details){if(e.details.image){let r=kl(e.details.image);t.push(r)}e.details.title&&t.push(fo(e.details.title)),e.details.description&&t.push(yo(e.details.description))}if(e.actions){let r=e.actions.map(o=>fr({...o,type:o.type||"primary"}));t.push(po(r,"md"))}return t}function Ol(e){let t=uo(e);return e.options&&t.push(Ml(e.options)),t}function po(e,t){return{type:"box",width:t||"md",components:e}}function fo(e){return{type:"heading",text:e,size:"lg",margin:"lg",align:"center"}}function yo(e){return{type:"paragraph",text:e,align:"center"}}function Pl(e){return{type:"form",schema:e}}function Ml(e){return{type:"decision",options:e.map(El)}}function El(e){return{title:e.title,description:e.description,action:{title:e.title,method:"GET",url:e.url,disabled:e.disabled}}}function ja(e){return{type:"image",url:e.url,text:e.text,margin:e.margin||"lg",size:e.size||"md"}}function kl(e){return typeof e=="string"?{type:"image",url:e,text:void 0,margin:"lg",size:"md"}:ja(e)}function fr(e){return{type:"button",action:{...e,title:e.title}}}function Il(e){return{type:"review",title:e.title,fields:e.fields.map(Dl)}}function Dl(e){return{label:e.title,value:e.value}}function Ll(e){let t=[];if(e.schemas&&e.schemas[0]){let r=e.schemas[0],o=Pl(r);Tl()?t.push(o):t.push(po([o],"md"))}return t}function Tl(){return!1}function Rl(e,t){return[...t&&e.title?[fo(e.title)]:[],...e.description?[yo(e.description)]:[],...e.layout||[]]}function je({layout:e,schemas:t,actions:r,model:o}){return e?t?e.map(a=>a.type==="form"?Nl({formComponent:a,schemas:t}):a.type==="decision"?Bl({decisionComponent:a,actions:r}):a.type==="button"?jl({actionComponent:a,actions:r}):a.type==="box"?Vl({boxComponent:a,schemas:t,actions:r,model:o}):a.type==="columns"?Ul({columnsComponent:a,schemas:t,actions:r,model:o}):a):e:[]}function Nl({formComponent:e,schemas:t}){if(e.schemaId)return{type:"form",margin:e.margin,schema:Va(t,e.schemaId)};if(e.schema&&yr(e.schema)&&e.schema.$ref)return{type:"form",margin:e.margin,schema:Va(t,e.schema.$ref)};if(e.schema&&!yr(e.schema))return{...e};throw new Error('Invalid form layout component. Missing "schema" or "schemaId" properties.')}function Bl({decisionComponent:e,actions:t}){let r=e?.options?.map(o=>o.action&&yr(o.action)?{...o,action:Ua(t,o.action.$ref)}:o);return{...e,options:r}}function jl({actionComponent:e,actions:t}){if(e.action&&yr(e.action)&&e.action?.$ref){let r=Ua(t,e.action.$ref);return fr(r)}return e}function Vl({boxComponent:e,schemas:t,actions:r,model:o}){return{...e,components:je({layout:e.components,schemas:t,actions:r,model:o})}}function Ul({columnsComponent:e,schemas:t,actions:r,model:o}){return{...e,left:je({layout:e.left,schemas:t,actions:r,model:o}),right:je({layout:e.right,schemas:t,actions:r,model:o})}}function Va(e,t){let r=e.find(o=>o.$id===t);if(!r)throw new Error(`Fatal Error. Schema not found. $id ${t}`);return r}function Ua(e,t){let r=e.find(o=>o.$id===t);if(!r)throw new Error(`Fatal Error. Action not found. $id ${t}`);return r}function yr(e){return Object.prototype.hasOwnProperty.call(e,"$ref")}var ge=require("react"),Wm=require("react-intl");var ht=require("react");var hr=require("react");function za(){let[e,t]=(0,hr.useState)(0);return{addPendingPromise:(0,hr.useCallback)(o=>{t(a=>a+1),o.catch(Hl).finally(()=>zl(()=>t(a=>Math.max(0,a-1))))},[t]),pendingPromises:e}}var zl=e=>setTimeout(()=>e(),0),Hl=()=>{};var $a=require("react/jsx-runtime"),Ha={loading:!1,registerPersistAsyncPromise:e=>{}},qa=(0,ht.createContext)(Ha),Ga=({loading:e,children:t})=>{let{pendingPromises:r,addPendingPromise:o}=za(),a=(0,ht.useMemo)(()=>({loading:e||r>0,registerPersistAsyncPromise:o}),[e,r,o]);return(0,$a.jsx)(qa.Provider,{value:a,children:t})},gr=()=>(0,ht.useContext)(qa)||Ha;var gt=require("react"),Wa=require("react/jsx-runtime"),_a=(0,gt.createContext)({triggerEvent:()=>{}}),Sr=({metadata:e,children:t,onEvent:r})=>{let o=(0,gt.useMemo)(()=>({triggerEvent:ho(r,e)}),[r,e]);return(0,Wa.jsx)(_a.Provider,{value:o,children:t})};function X(){let{triggerEvent:e}=(0,gt.useContext)(_a);return e}var ho=(e,t)=>(r,o={})=>{try{e(r,{...t,...o})}catch{}};var Ze=require("react");function Ka(e){return e>=200&&e<300}function br(e){return e===422}function wr(e=""){return["https://","http://","data:"].some(t=>e.slice(0,t.length)===t&&e.length>t.length)===!1}var Fr=(e,t)=>(r,o)=>{let a=ql(r,e||""),n=Gl(o?.headers,t);return fetch(a,{...o||{},headers:n})},ql=(e,t)=>typeof e=="string"&&wr(e)?t+e:e,Gl=(e,t)=>{if(!e&&!t)return{};let r=new Headers(e);for(let[o,a]of Object.entries(t||{}))r.set(o,a);return r};var go=require("react/jsx-runtime"),Cr=(0,Ze.createContext)(void 0),Ja=({httpClient:e,children:t})=>(0,go.jsx)(Cr.Provider,{value:e,children:t}),vr=({baseUrl:e,children:t})=>{let r=(0,Ze.useMemo)(()=>Fr(e),[e]);return(0,go.jsx)(Cr.Provider,{value:r,children:t})},Y=()=>(0,Ze.useContext)(Cr)||fetch,xr=()=>!!(0,Ze.useContext)(Cr);var St=require("react"),Ya=require("react/jsx-runtime"),Qe=(e,t,r="UNKNOWN-FLOW-ID",o="UNKNOWN-FLOW-ID")=>(a,n,i)=>{try{t(e,`Dynamic Flow ${e} - ${a} - ${n}`,{flowId:r,stepId:o,...i})}catch{}},Xa=(0,St.createContext)(null),Ar=({flowId:e,stepId:t,children:r,onLog:o})=>{let a=(0,St.useMemo)(()=>({debug:Qe("debug",o,e,t),info:Qe("info",o,e,t),warning:Qe("warning",o,e,t),error:Qe("error",o,e,t),critical:Qe("critical",o,e,t)}),[o,e,t]);return(0,Ya.jsx)(Xa.Provider,{value:a,children:r})},bt=()=>{let e=(0,St.useContext)(Xa);if(e==null)throw new Error("Logging context not found. Did you forget to wrap your component in a <LogProvider />?");return e};var M=e=>typeof e=="string",T=e=>typeof e=="number"&&!Number.isNaN(e),Za=e=>T(e)&&Math.floor(e)===e,Se=e=>typeof e=="boolean",I=e=>!P(e)&&!W(e)&&e?.constructor===Object,B=e=>Array.isArray(e),P=e=>e===null,W=e=>typeof e>"u";var wt=e=>M(e)&&e.length===0||(I(e)||B(e))&&Object.keys(e).length===0;function Qa(e,t){return t.oneOf.some(r=>Ve(e,r)===e)?e:null}function en(e,t){let r=t.oneOf.map(o=>$l(e,o)).filter(o=>o!==null);return r.length===0?null:r.find(o=>o.some(a=>a!==null))??r[0]}function $l(e,t){return!Pe(t)||!be(t)?null:So(e,t)}function tn(e){return M(e)&&!wt(e)?e:null}function rn(e){return T(e)?e:null}function on(e){return Se(e)?e:null}function So(e,t){if(!B(e)||!be(t))return null;if(e.length>0){let r=typeof e[0];if(!e.every(o=>typeof o===r))return new Array(e.length).fill(null)}return e.map(r=>Ft(r,t.items))}function an(e,t){return Object.keys(t.properties).reduce((r,o)=>{if(e&&!W(e[o])){let a=e[o],n=t.properties[o],i=Ft(a,n);if(!P(i))return{...r,[o]:i}}return r},{})}function nn(e,t){return t.allOf.reduce((r,o)=>{let a=re(e,o);return q(a)?{...r,...a}:r},{})}function sn(e,t){return t.oneOf.map(r=>re(e,r)).reduce((r,o)=>P(r)?o:q(r)&&q(o)?mn(r,o):P(o)?r:o,null)}function mn(e,t){return Object.keys(t).reduce((r,o)=>{let a=e[o],n=t[o];return q(a)&&q(n)?{...r,[o]:mn(a,n)}:{...r,[o]:t[o]}},{...e})}var Ft=(e,t)=>q(e)?re(e,t):bo(e)?_l(e,t):Ve(e,t);function Ve(e,t){if(P(e))return null;if(t.oneOf)return Qa(e,t);if(!W(t.const)&&e===t.const)return e;if(t.type)switch(t.type){case"string":return tn(e);case"number":case"integer":return rn(e);case"boolean":return on(e);default:return null}return null}function re(e,t){return Me(t)||Pe(t)||P(e)?null:t.allOf?nn(e,t):t.oneOf?sn(e,t):!W(t.const)&&e===t.const?e:we(t)?an(e,t):null}function _l(e,t){return le(t)?en(e,t):Pe(t)?So(e,t):null}function $t(e,t=!1){return!t||!W(e)}function ln(e,t=!1){return!t||B(e)}function cn(e,t){return!T(t)||M(e)&&e.length>=t}function dn(e,t){return!T(t)||M(e)&&e.length<=t}function un(e,t){return t===void 0?!0:e==null?!1:!!new RegExp(t).test(e)}function wo(e,t){return!T(t)&&!M(t)||(T(e)||M(e))&&e<=t}function Fo(e,t){return!T(t)&&!M(t)||(T(e)||M(e))&&e>=t}function pn(e,t){return!T(t)||B(e)&&e.length>=t}function fn(e,t){return!T(t)||B(e)&&e.length<=t}function Ue(e,t,r){if(t.const)return Ao(e,t,r);if(P(e))return r?["required"]:[];if(hn(t))return Co(e,t,r);switch(t.type){case"number":return Or(e,t,r);case"integer":return vo(e,t,r);case"boolean":return xo(e,t,r);case"array":return Ct(e,t,r);case"object":return Wl(e,t);default:return[]}}function Co(e,t,r){if(!M(e)&&!P(e))return["type"];if(e===""&&r)return["required"];let o=[];return $t(e,r)||o.push("required"),cn(e,t.minLength)||o.push("minLength"),dn(e,t.maxLength)||o.push("maxLength"),un(e,t.pattern)||o.push("pattern"),Fo(e,t.minimum)||o.push("minimum"),wo(e,t.maximum)||o.push("maximum"),o}function Or(e,t,r){if(!T(e)&&!P(e))return["type"];let o=[];return $t(e,r)||o.push("required"),Fo(e,t.minimum)||o.push("minimum"),wo(e,t.maximum)||o.push("maximum"),o}function vo(e,t,r){return Za(e)?Or(e,t,r):["type"]}function xo(e,t,r){if(!Se(e)&&!P(e))return["type"];let o=[];return $t(e,r)||o.push("required"),o}function Ao(e,t,r){return $t(e,r)?e!==t.const?["const"]:[]:["required"]}function Ct(e,t,r){if(!B(e)&&!P(e))return["type"];if(!ln(e,r))return["required"];let o=[];return pn(e,t.minItems)||o.push("minItems"),fn(e,t.maxItems)||o.push("maxItems"),o}function yn(e,t){return P(e)?["type"]:[]}function Wl(e,t){return q(e)?B(t.required)?t.required.map(o=>typeof e[o]<"u").reduce((o,a)=>o&&a,!0)?[]:["required"]:[]:["type"]}function Kl(e,t){return!Co(e,t).length}function Jl(e,t){return!Or(e,t).length}function Xl(e,t){return!vo(e,t).length}function Yl(e,t){return!xo(e,t).length}function Zl(e,t){return!Ao(e,t).length}function Ql(e,t){return!I(e)||t.type!=="object"||!I(t.properties)?!1:Object.keys(t.properties).map(r=>ec(e[r],t.properties[r],t.required&&t.required.includes(r))).every(r=>r)}function ec(e,t,r){return t.hidden?!0:typeof e>"u"?!r:U(e,t)}function tc(e,t){return t.type!=="array"||!I(t.items)||Ct(e,t).length>0?!1:Array.isArray(e)&&be(t)&&e.map(r=>U(r,t.items)).every(r=>r)}function rc(e,t){return B(t.oneOf)?t.oneOf.some(r=>U(e,r)):!1}function oc(e,t){return B(t.allOf)?t.allOf.map(r=>U(e,r)).every(r=>r):!1}function ac(e,t){return!yn(e,t).length}function U(e,t){if(t.oneOf)return rc(e,t);if(t.allOf)return oc(e,t);if(t.const)return Zl(e,t);switch(t.type){case"string":return Kl(e,t);case"number":return Jl(e,t);case"integer":return Xl(e,t);case"boolean":return Yl(e,t);case"array":return tc(e,t);case"object":return Ql(e,t);case"blob":return ac(e,t);default:return!1}}function nc(e){let t=new Date(e),r=`${t.getMonth()+1}`,o=`${t.getDate()}`,a=t.getFullYear(),n=r.length<2?`0${r}`:r,i=o.length<2?`0${o}`:o;return[a,n,i].join("-")}var gn=e=>{if(!e)return null;let[t,r,o]=e.split("-").map(a=>parseInt(a,10));return!T(t)||!T(r)||!T(o)?null:new Date(t,r-1,o)},Sn=e=>nc(e);var ze=(e,t)=>{let r,o,a=()=>{r&&(clearTimeout(r),r=null),o=null},n=(...i)=>{o=i,r!==null&&clearTimeout(r),r=setTimeout(()=>{e(...o),r=null,o=null},t)};return n.cancel=()=>{r!==null&&a()},n.flush=()=>{r!==null&&(e(...o),a())},n};var He=(e,t)=>e===t?!0:Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((r,o)=>He(r,t[o])):!!(bn(e)&&bn(t)&&ic(e,t)),ic=(e,t)=>{let r=Object.keys(e),o=Object.keys(t);return r.length===o.length&&r.every(a=>Object.prototype.hasOwnProperty.call(t,a)&&He(e[a],t[a]))},bn=e=>typeof e=="object"&&e!==null;function Pr(e){return Math.floor(e/1024)}var wn=e=>new Promise((t,r)=>{let o=new FileReader;o.readAsDataURL(e),o.addEventListener("load",()=>t(o.result)),o.addEventListener("error",a=>r(a))});function Fn(e,t){let r=t.reduce((o,a)=>({...o,[a.id]:a}),{});for(let o of e){let a=r[o.id];if(!a||a.status!==o.status)return!1}return!0}var Fe=(e="")=>`${e?`${e}-`:""}${Math.floor(1e8*Math.random())}`;function ce(e){return!W(e?.const)}function _t(e){return!!e&&!ce(e)}var sc=e=>!!e.readOnly&&Me(e),mc=e=>!!e.oneOf&&!!e.promotion,lc=new Set(["string","number","integer","boolean"]);function Me(e){return lc.has(e.type||"")||"const"in e&&e.const!==void 0}function we(e){return e.type==="object"}function et(e){return le(e)&&e.oneOf.every(t=>t.type==="object")}function le(e){return!!e.oneOf}function Oo(e){return!!e.allOf}function vt(e){return e.type==="blob"}function Pe(e){return e.type==="array"}function be(e){let t=e.items;return!Array.isArray(t)}function hn(e){return e.type==="string"}function Mr(e){return!!e.persistAsync}function cc(e){return Mr(e)&&(vt(e.persistAsync.schema)||dc(e.persistAsync.schema))}var Po=e=>Me(e)&&!!e.validationAsync;function dc(e){return e.type==="string"&&e.format==="base64url"}function Cn(e){return e.type==="string"&&e.format==="base64url"}var vn=e=>Pe(e)&&be(e)&&cc(e.items),tt=e=>sc(e)?"readOnly":Mr(e)?"persistAsync":Po(e)?"validationAsync":we(e)?"object":Pe(e)?"array":mc(e)?"promotedOneOf":le(e)?"oneOf":Oo(e)?"allOf":Me(e)?"basic":null;var xn=e=>uc(e)&&pc(e)&&fc(e),uc=e=>!e.type||e.type==="form",pc=e=>e?.actions?.length===1,fc=e=>{if(!e.schemas)return!1;let t=Er(e.schemas);if(t?.length!==1)return!1;let r=t[0];if(!we(r)||Object.values(r.properties).length!==1)return!1;let o=Object.values(r.properties)[0];return Cn(o)?o.source==="camera":!1},Er=e=>e.filter(t=>we(t)?Object.values(t?.properties||{}).find(r=>r?.hidden!==!0):t?.hidden!==!0);var q=e=>typeof e=="object"&&e!==null&&e.constructor===Object,Mo=e=>P(e)||q(e),Eo=e=>Se(e)||T(e)||M(e)||P(e),kr=e=>M(e)||P(e),bo=e=>B(e)?e.length===0?!0:e.every(t=>typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="object"):!1,An=e=>P(e)?!0:bo(e);var Wt=e=>M(e)||P(e);var On=require("react");function Pn(e,t){return(0,On.useCallback)(ze(e,t),[e,t])}var Kt=require("react");function Mn(e){let[t,r]=(0,Kt.useState)(null),[o,a]=(0,Kt.useState)(!1),n=()=>a(!0);return(0,Kt.useEffect)(()=>{e&&(a(!1),r(window.open(e,"_blank")))},[e]),{requiresManualTrigger:!!(e&&!t&&!o),dismissConfirmation:n}}var Jt=require("react");function En(e,t){let r=Y(),o=(0,Jt.useMemo)(()=>{if(e)return()=>r(e.url).then(n=>{if(n.ok)try{return n.json()}catch{throw new Error("failed")}else throw new Error("failed")})},[e,r]),a=(0,Jt.useCallback)(n=>{let m=(e?.responseHandlers||[]).find(u=>u.result===n.result);if(m?.action){let{action:u}=m;if(u.exit){let c={...u.result||{},...n.data||{}};t({...u,result:c})}else{let c={...u.data||{},...n.data||{}};t({...u,data:c})}return!1}return!0},[e?.responseHandlers,t]);Ir({asyncFn:o,interval:e?.interval||0,maxAttempts:e?.maxAttempts||0,maxConsecutiveFails:e?.maxConsecutiveFails||0,onPollingResponse:a,onFailure:(0,Jt.useCallback)(()=>{e&&t(e.onError.action)},[t,e])})}var Gs=require("react"),$s=require("react-intl");var kn=require("react-intl"),Xt=(0,kn.defineMessages)({genericError:{id:"dynamicFlows.PersistAsyncSchema.genericError",defaultMessage:"Something went wrong, please try again later!",description:"Generic error message for persist async schema"}});var ft=require("react"),Vs=require("react-intl");var In={DAY_MONTH_YEAR:"day-month-year",MONTH_YEAR:"month-year"};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"};var Dn={SHORT:"short",LONG:"long"};var Ln={EXTRA_SMALL:"xs",SMALL:"sm",MEDIUM:"md",LARGE:"lg",EXTRA_LARGE:"xl"};var Bs=Be(rt()),ne=require("react");var Un=require("@transferwise/components");var At=require("@transferwise/components");var Rn=require("react/jsx-runtime"),xt=e=>yc(e)||hc(e),yc=e=>gc.some(t=>e===`flag-${t}`),hc=e=>Sc.some(t=>e===`flag-${t}`),Tn=({name:e})=>{if(!xt(e))return null;let t=e.substring(5);return(0,Rn.jsx)("img",{src:`https://wise.com/web-art/assets/flags/${t}.svg`,alt:"","data-testid":`img-flag-${t}`})},gc=["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"],Sc=["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"];var Nn=Be(require("@transferwise/icons")),Vn=require("react/jsx-runtime"),Lr=e=>{let t=jn(e);return Object.keys(Nn).includes(t)},Bn=({name:e})=>{if(!Lr(e))return null;let t=jn(e),r=Nn[t];return(0,Vn.jsx)(r,{size:24})},jn=e=>e.split("-").map(bc).join(""),bc=e=>`${e[0]?.toUpperCase()}${e.slice(1)}`;var ko=require("react/jsx-runtime"),wc=({type:e})=>xt(e)?(0,ko.jsx)(Tn,{name:e}):Lr(e)?(0,ko.jsx)(Bn,{name:e}):null;function Io(e){return Lr(e)||xt(e)}var qe=wc;var Yt=require("react/jsx-runtime"),ot=({icon:e,image:t})=>{if(e?.name)return(0,Yt.jsx)(At.Avatar,{type:At.AvatarType.ICON,children:(0,Yt.jsx)(qe,{type:e.name})});if(e?.text)return(0,Yt.jsx)(At.Avatar,{type:At.AvatarType.INITIALS,children:e.text});if(t?.url){let{url:r,text:o}=t;return(0,Yt.jsx)("img",{src:r,alt:o})}return null};var L=e=>{switch(e){case"xs":return"m-t-0";case"sm":return"m-t-1";case"md":return"m-t-2";case"lg":return"m-t-3";case"xl":return"m-t-5";default:return""}},Fc=e=>{switch(e){case"right":return"text-xs-right";case"center":return"text-xs-center";case"left":default:return""}},Ee=e=>`${Fc(e.align)} ${L(e.margin)}`;var zn=require("react/jsx-runtime"),Cc=e=>{let t=e.component;return(0,zn.jsx)(Un.Alert,{type:xc(vc(t.context)),className:L(t.margin),message:t.markdown})},vc=e=>{switch(e){case"success":return"positive";case"failure":return"negative";case"warning":return"warning";case"info":case"primary":return"neutral";default:return e}},xc=e=>!e||!["neutral","warning","negative","positive"].includes(e)?"neutral":e,oe=Cc;var at=require("react/jsx-runtime"),Ac=e=>{let t=e.component,r=L(t.margin||t.border?"lg":"xs");return!t.width||t.width==="xl"?(0,at.jsx)("div",{className:r+Hn(t.border),children:(0,at.jsx)(ae,{components:t.components,model:e.model,submitted:e.submitted,errors:e.errors,onModelChange:e.onModelChange,onAction:e.onAction,onPersistAsync:e.onPersistAsync})}):(0,at.jsx)("div",{className:"row",children:(0,at.jsx)("div",{className:r+Oc(t),children:(0,at.jsx)("div",{className:Hn(t.border),children:(0,at.jsx)(ae,{components:t.components,model:e.model,submitted:e.submitted,errors:e.errors,onModelChange:e.onModelChange,onAction:e.onAction,onPersistAsync:e.onPersistAsync})})})})},Hn=e=>e?" well p-b-0":"",Oc=e=>{switch(e.width){case"xs":return" col-md-4 col-md-offset-4";case"sm":return" col-md-6 col-md-offset-3 col-lg-4 col-lg-offset-4";case"md":return" col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3";case"lg":return" col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2";case"xl":default:return" col-xs-12"}},Do=Ac;var _n=require("@transferwise/components");var Pc={primary:"primary",secondary:"secondary",link:"tertiary",positive:"primary",negative:"primary"},qn=e=>{let t=e.action.type;return e.control??(t?Pc[t]:"secondary")},Mc={primary:"neutral",secondary:"neutral",link:"neutral",positive:"positive",negative:"negative"},Gn=e=>{let t=e.action.type,r=e.context??(t?Mc[t]:"neutral");return r==="neutral"?"accent":r},$n=e=>{switch(e){case"xs":case"sm":return"sm";case"lg":case"xl":return"lg";case"md":default:return"md"}};var Wn=require("react/jsx-runtime"),Ec=e=>{let{component:t,onAction:r}=e,o=t.action,a=Gn(t),n=qn(t),{loading:i}=gr(),m=L(t.margin||"md");return(0,Wn.jsx)(_n.Button,{size:$n(t.size),type:a,priority:n,block:!0,className:m,disabled:t.disabled||o.disabled||i,onClick:()=>r(o),children:t.title??o.title})},Lo=Ec;var nt=require("react/jsx-runtime"),kc=e=>{let t=e.component,{leftWidth:r,rightWidth:o}=Ic(t.bias);return(0,nt.jsxs)("div",{className:`${L(t.margin||"xs")} row`,children:[(0,nt.jsx)("div",{className:`${r} m-b-0`,children:(0,nt.jsx)(ae,{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)(ae,{components:t.right,model:e.model,submitted:e.submitted,errors:e.errors,onModelChange:e.onModelChange,onAction:e.onAction,onPersistAsync:e.onPersistAsync})})]})},Ic=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"},To=kc;var Rr=require("@transferwise/components");var Tr=require("react/jsx-runtime"),Dc=({component:e,onAction:t})=>(0,Tr.jsx)("div",{className:L(e.margin),children:(0,Tr.jsx)(Rr.NavigationOptionsList,{children:e.options.map(r=>(0,Tr.jsx)(Rr.NavigationOption,{title:r.title,content:r.description,disabled:r.disabled,media:ot(r),showMediaCircle:!1,showMediaAtAllSizes:!0,onClick:()=>t(r.action)},JSON.stringify(r)))})}),Ro=Dc;var Kn=require("react/jsx-runtime"),Lc=({component:e})=>{let r=`m-t-0 ${L(e.margin)}`;return(0,Kn.jsx)("hr",{className:r})},No=Lc;var Ot=require("@transferwise/components"),Nr=require("react"),Yn=require("react-intl");var Jn=require("react-intl"),Xn=(0,Jn.defineMessages)({retryTitle:{id:"dynamicFlows.DynamicExternal.retryTitle",defaultMessage:"Reopen window",description:""}});var Ge=require("react/jsx-runtime"),Tc=({component:e,onAction:t})=>{let{requestUrl:r,responseHandlers:o,polling:a,retryTitle:n}=e,i=(0,Yn.useIntl)(),m=(0,Nr.useCallback)(()=>window.open(r,"df-external-window"),[r]);(0,Nr.useEffect)(()=>{m()},[m]);let u=a&&o?{...a,responseHandlers:o}:void 0;return En(u,t),(0,Ge.jsxs)(Ge.Fragment,{children:[(0,Ge.jsx)(Ot.Loader,{size:Ot.Size.LARGE,classNames:{"tw-loader":"tw-loader m-x-auto"}}),(0,Ge.jsx)("br",{}),(0,Ge.jsx)(Ot.Button,{priority:"tertiary",block:!0,onClick:m,children:n||i.formatMessage(Xn.retryTitle)})]})},Bo=Tc;var ys=require("react");var Zn=Be(rt()),Qn=require("react");var Ce=require("react/jsx-runtime"),Rc=(e,t)=>t.map(r=>re(e,r)||{}),Nc=e=>e.reduce((t,r)=>({...r,...t}),{}),Bc=e=>({"col-xs-12":!0,"col-sm-6":e==="md","col-sm-4":e==="sm"}),ei=e=>{let t=(a,n)=>{let i=e.schema.allOf[a];r[a]=re(n.model,i)||{},o(r),e.onChange({...n,model:Nc(r)})},[r,o]=(0,Qn.useState)(Rc(e.model,e.schema.allOf));return(0,Ce.jsxs)(Ce.Fragment,{children:[e.schema.title&&(0,Ce.jsx)("h3",{className:"page-header",children:e.schema.title}),e.schema.description&&(0,Ce.jsx)("p",{children:e.schema.description}),(0,Ce.jsx)("div",{className:"row",children:e.schema.allOf.map((a,n)=>(0,Ce.jsx)("div",{className:(0,Zn.default)(Bc(a.width)),children:(0,Ce.jsx)(se,{schema:a,model:r[n],errors:e.errors,submitted:e.submitted,disabled:e.disabled,onChange:i=>t(n,{...i,model:i.model}),onPersistAsync:e.onPersistAsync})},n))})]})};ei.defaultProps={disabled:!1};var jo=ei;var jr=require("@transferwise/components"),fi=Be(rt()),Zt=require("react");var Br=require("@transferwise/components"),Vo=require("@transferwise/formatting"),ri=require("react-intl");var ti=require("react-intl"),de=(0,ti.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:""}});var ke=require("react/jsx-runtime"),oi=e=>{let r={...jc(e.schema),...e.validationMessages,...e.schema.validationMessages},o=(e.submitted||!e.changed)&&!!e.errors,a=!o&&(e.submitted||e.changed&&e.blurred)&&!!e.validations?.length,n=e.focused&&e.schema.description&&!a,i=!!e.infoMessage;return(0,ke.jsxs)("div",{id:e.id,children:[o?(0,ke.jsx)(Br.InlineAlert,{type:"error",children:e.errors}):null,a?(0,ke.jsx)(Br.InlineAlert,{type:"error",children:e.validations.map(m=>(0,ke.jsx)("div",{children:r[m]},m))}):null,(n||i)&&(0,ke.jsxs)(Br.InlineAlert,{type:"info",children:[n&&(0,ke.jsx)("div",{children:e.schema.description}),i&&(0,ke.jsx)("div",{children:e.infoMessage})]})]})};oi.defaultProps={errors:"",validations:[],validationMessages:{},validationAsyncSuccessMessage:null};function jc(e){let{formatMessage:t,locale:r}=(0,ri.useIntl)(),o={type:t(de.type),minimum:t(de.minimum,{minimum:e.minimum}),maximum:t(de.maximum,{maximum:e.maximum}),minLength:t(de.minLength,{minLength:e.minLength}),maxLength:t(de.maxLength,{maxLength:e.maxLength}),pattern:t(de.pattern),required:t(de.required)};if(e.format==="date"){let a={pattern:t(de.patternDate),minimum:e.minimum?t(de.minimumDate,{minimum:(0,Vo.formatDate)(new Date(e.minimum),r,{timeZone:"UTC",dateStyle:"long"})}):void 0,maximum:e.maximum?t(de.maximumDate,{maximum:(0,Vo.formatDate)(new Date(e.maximum),r,{timeZone:"UTC",dateStyle:"long"})}):void 0};return{...o,...a}}return o}var Ie=oi;async function ai(e,t){if(t)return e;if(e instanceof Blob)return wn(e);throw new Error("Error creating payload for MultipleFileUploadSchema. Uploaded file is not an instance of Blob.")}function ni(e){return{id:e.data,...e}}function ii(e){let t=e instanceof Error;if(!(I(e)&&"data"in e)&&!t)return M(e)?e:void 0;if(t){let a=e;return{id:Fe(),message:a.message}}else return{message:M(e.message)?e.message:"",...e}}var di=require("react-intl");var si=require("react-intl"),mi=(0,si.defineMessages)({required:{id:"dynamicFlows.DefaultErrorMessages.required",defaultMessage:"Please fill out this field.",description:"Customer has left the required field empty"}});var li=require("react-intl"),ci=(0,li.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."}});function ui({maxItems:e,minItems:t}){let{formatMessage:r}=(0,di.useIntl)(),{maxFileSizeError:o,maxItemsError:a,minItemsError:n}=ci;return{maxFileSizeErrorMessage:r(o),maxItemsErrorMessage:r(a,{maxItems:e}),minItemsErrorMessage:r(n,{minItems:t}),requiredMessage:r(mi.required)}}var it=require("react/jsx-runtime"),yi=e=>{let{onChange:t,schema:r}=e,o=X(),a=ui(r),n=(0,Zt.useMemo)(()=>r.$id||Fe(),[r.$id]),[i,m]=(0,Zt.useState)(!1),[u,c]=(0,Zt.useState)(()=>Vc(e.model||[])),l=hi(r.items.persistAsync),f=r.items.persistAsync.schema,p=vt(f),s=async v=>{m(!0);try{let k=await ai(v,p);o("Dynamic Flow - PersistAsync",{status:"pending",schemaId:r.$id});let A=await l(k);return o("Dynamic Flow - PersistAsync",{status:"success",schemaId:r.$id}),ni(A)}catch(k){return o("Dynamic Flow - PersistAsync",{status:"failure",schemaId:r.$id}),Promise.reject(ii(k))}};function d(v){if(Fn(v,u))return;c(v);let A=pi(v).map(D=>D.id);t({model:A,triggerSchema:r,triggerModel:A})}let h=pi(u).map(v=>v.id),g=Ct(h,r,e.required),w=!!e.errors||(i||e.submitted)&&!!g.length,b="accepts"in f&&f.accepts,O="maxSize"in f&&f.maxSize,x={multiple:!0,className:"form-control",files:u,fileInputName:n,id:n,...b?{fileTypes:b}:void 0,...O?{sizeLimit:Pr(O)}:void 0,sizeLimitErrorMessage:f.validationMessages?.maxSize||a.maxFileSizeErrorMessage,maxFiles:e.schema.maxItems,maxFilesErrorMessage:e.schema.validationMessages?.maxItems||a.maxItemsErrorMessage,uploadButtonTitle:f.title,description:f.description,disabled:e.disabled,onUploadFile:v=>s(v.get(n)),onFilesChange:d,onDeleteFile:()=>Promise.resolve()},C=`${n}-feedback`;return(0,it.jsxs)("div",{className:(0,fi.default)("form-group",{"has-error":w}),children:[(0,it.jsx)("label",{className:"d-block control-label",htmlFor:n,children:e.schema.title}),(0,it.jsx)("div",{"aria-describedby":C,children:(0,it.jsx)(jr.UploadInput,{...x})}),(0,it.jsx)(Ie,{id:C,changed:i,submitted:e.submitted,errors:e.errors,schema:e.schema,validations:g,validationMessages:zc(r,!!e.required,a),infoMessage:null,focused:!1,blurred:!0})]})};yi.defaultProps={errors:null,required:!1};var Uo=yi;function pi(e){return e.filter(t=>!t.error&&t.status==="succeeded")}function Vc(e){return e.map(t=>Uc(t)?{id:t,status:jr.Status.SUCCEEDED}:null).filter(t=>t!==null)}function Uc(e){return T(e)||M(e)}function zc(e,t,r){let{minItems:o,maxItems:a}=e;return{...t&&{required:r.requiredMessage},...o&&{minItems:r.minItemsErrorMessage},...a&&{maxItems:r.maxItemsErrorMessage}}}var Mt=require("@transferwise/components"),Ai=require("@transferwise/icons"),zr=require("react"),Oi=require("react-intl");var gi=require("@transferwise/components");var bi=require("react/jsx-runtime"),Si=({item:e,onClick:t})=>(0,bi.jsx)(gi.NavigationOption,{onClick:t,media:ot(e),title:e.title,content:e.description});var wi=require("react-intl"),st=(0,wi.defineMessages)({addItemTitle:{id:"dynamicFlows.ArraySchema.addItemTitle",defaultMessage:"Add Item",description:"Label on the button used to open a form to add an item"},addItem:{id:"dynamicFlows.ArraySchema.addItem",defaultMessage:"Save",description:"Label on the add button used to submit a form that adds an item"},editItem:{id:"dynamicFlows.ArraySchema.editItem",defaultMessage:"Save",description:"Label on the edit button used to submit a form that edits an item"},removeItem:{id:"dynamicFlows.ArraySchema.removeItem",defaultMessage:"Remove",description:"Label on the remove button used to confirm deletion of an item"}});var Fi=require("react-intl");var vi=require("react/jsx-runtime"),Hc=({type:e,schema:t,model:r,errors:o,submitted:a,onModelChange:n,onAction:i})=>{let{formatMessage:m}=(0,Fi.useIntl)(),u={layout:[{type:"form",schema:t.items},{type:"button",control:"primary",action:{url:e,title:m(e==="add"?st.addItem:st.editItem)}},...e==="edit"?[{type:"button",context:"negative",action:{url:"remove",title:m(st.removeItem)}}]:[]],title:"",actions:[],schemas:[]};return(0,vi.jsx)(Vr,{step:u,model:r,stepLayoutOptions:{displayStepTitle:!1},submitted:a,formErrors:o,globalError:null,onAction:c=>{i(c.url)},onModelChange:n})},Ci=Hc;var Ur=(e,t)=>{let r=Qt(e,t);if(r>=0)return r;if(e.oneOf.length===1&&_t(e.oneOf[0]))return 0;if(ce(e.oneOf[0])){let o=Qt(e,e.default);if(o>=0)return o}return et(e)&&q(t)&&Object.keys(t).length>=1?Pt(e,t):et(e)&&!W(e.default)&&q(e.default)&&Object.keys(e.default).length>=1?Pt(e,e.default):null},Qt=(e,t)=>e.oneOf.findIndex(r=>!W(t)&&U(t,r));function Pt(e,t){if(t==null)return null;let r=e.oneOf.map(o=>qc(o).reduce((a,[n,i])=>ce(i)&&i.const===t[n]?a+2:_t(i)&&typeof t[n]<"u"?a+1:a,0));return r.every(o=>o===r[0])?null:r.indexOf(Math.max(...r))}function qc(e){return e.properties!==null&&typeof e.properties=="object"?Object.entries(e.properties):[]}var zo=(e,t,r={})=>{let{defaultTitle:o="",defaultDescription:a="",defaultIcon:n,defaultImage:i}=r,m=$e({schema:e,model:t,providesProp:"providesTitle",getValueFromSchema:xi}),u=$e({schema:e,model:t,providesProp:"providesDescription",getValueFromSchema:xi}),c=$e({schema:e,model:t,providesProp:"providesIcon",getValueFromSchema:f=>f.icon??null}),l=$e({schema:e,model:t,providesProp:"providesImage",getValueFromSchema:f=>f.image??null});return{value:t,title:m||o,description:u||a,icon:c||n,image:l||i}},$e=e=>{let{schema:t,model:r,providesProp:o,getValueFromSchema:a}=e;if(Wc(t.summary,o))return a(t,r);switch(tt(t)){case"object":return Gc(e);case"oneOf":return $c(e);case"allOf":return _c(e);default:return null}},Gc=e=>{let{schema:t,model:r}=e,o=t;for(let a in o.properties){let n=o.properties[a],i=q(r)&&a in r?r[a]:null,m=$e({...e,schema:n,model:i});if(m)return m}return null},$c=e=>{let{schema:t,model:r}=e;if(et(t)){if(!q(r))return null;let n=Pt(t,r);if(n===null||n<0)return null;let i=t.oneOf[n];return $e({...e,schema:i})}let o=t,a=Ur(o,r);return a===null||a<0?null:$e({...e,schema:o.oneOf[a]})},_c=e=>{let{schema:t}=e,r=t;for(let o of r.allOf){let a=$e({...e,schema:o});if(a)return a}return null},xi=(e,t)=>ce(e)?e.title?e.title:M(e.const)?e.const:null:kr(t)?t:null,Wc=(e,t)=>!!e&&Object.hasOwnProperty.call(e,t)&&!!e[t];var ue=require("react/jsx-runtime"),Kc=({schema:e,model:t,errors:r,submitted:o,onChange:a})=>{let[n,i]=(0,zr.useState)(null),[m,u]=(0,zr.useState)(()=>{if(I(t)&&!B(t))throw new Error("RepeatableSchema does not support object models. Ensure your array schema is wrapped inside an object schema.");return t?t.map(g=>zo(e.items,g,e?.summary)):null}),[c,l]=(0,zr.useState)({item:null,model:null}),f=g=>{let w=g?g.map(({value:b})=>b):null;a({model:w,triggerSchema:e.items,triggerModel:w})},p=()=>{i("add")},s=g=>{l({item:g,model:g.value}),i("edit")},d=g=>{let w=g==="remove"?null:zo(e.items,c.model,e?.summary);if(g!=="remove"&&!U(w?.value??null,e.items))return;let b=Jc(g,{originalItem:c.item,updatedItem:w,itemSummaries:m});u(b),f(b),l({item:null,model:null}),i(null)},y=()=>{l({item:null,model:null}),i(null)},{formatMessage:h}=(0,Oi.useIntl)();return(0,ue.jsxs)(ue.Fragment,{children:[e.title&&(0,ue.jsx)(Mt.Header,{title:e.title}),m&&m.map(g=>(0,ue.jsx)(Si,{item:g,onClick:()=>s(g)},JSON.stringify(g))),(0,ue.jsx)(Mt.NavigationOption,{onClick:p,media:(0,ue.jsx)(Ai.Plus,{}),title:e.addItemTitle||h(st.addItemTitle)}),(0,ue.jsx)(Mt.Modal,{open:n!==null,onClose:y,title:(n==="add"?e.addItemTitle:e.editItemTitle)||h(st.addItemTitle),body:(0,ue.jsx)(Ci,{type:n??"add",schema:e,model:c.model,errors:r,submitted:o,onAction:d,onModelChange:({model:g})=>l({...c,model:g})})})]})},Jc=(e,{originalItem:t,updatedItem:r,itemSummaries:o})=>{if(e==="remove")return(o||[]).filter(a=>a!==t);if(!r)return o;switch(e){case"add":return[...o||[],r];case"edit":return(o||[]).map(a=>a===t?r:a);default:return null}},Pi=Kc;var Ho=require("react/jsx-runtime"),Mi=e=>{let{schema:t}=e;if(vn(t))return(0,Ho.jsx)(Uo,{...e,schema:t});if(be(t))return(0,Ho.jsx)(Pi,{...e,schema:t});throw new Error("Invalid array list schema")};Mi.defaultProps={errors:null,required:!1};var Ei=Mi;var Ii=require("react/jsx-runtime"),ki=e=>{let{schema:t}=e;if(be(t))return(0,Ii.jsx)(Ei,{...e});throw new Error("Not implemented")};ki.defaultProps={required:!1};var qo=ki;var Di=Be(rt()),Hr=require("react");var De=require("react/jsx-runtime"),Xc=e=>({"col-xs-12":!0,"col-sm-6":e==="md","col-sm-4":e==="sm"}),Li=e=>{let[t,r]=(0,Hr.useState)(()=>({...re(e.model,e.schema)})),o=(c,l)=>{l.model!==null?t[c]=l.model:delete t[c],r(t),e.onChange({...l,model:t})},a=c=>e.schema.required&&e.schema.required.includes(c);(0,Hr.useEffect)(()=>{let c=re(t,e.schema)||{};r(c),He(c,t)||e.onChange({model:c,triggerSchema:e.schema,triggerModel:c})},[e.schema]);let n=new Set([...e.schema.displayOrder||[],...Object.keys(e.schema.properties)]),i=c=>typeof e.schema.properties[c]<"u",m=Array.from(n).filter(i),u=e.errors;return(0,De.jsxs)("fieldset",{children:[e.schema.title&&!e.hideTitle&&(0,De.jsxs)("legend",{children:[" ",e.schema.title," "]}),e.schema.description&&!e.hideTitle&&(0,De.jsxs)("p",{children:[" ",e.schema.description," "]}),e.schema.alert&&(0,De.jsx)(oe,{component:e.schema.alert}),(0,De.jsx)("div",{className:"row",children:m.map(c=>(0,De.jsx)("div",{className:(0,Di.default)(Xc(e.schema.properties[c].width)),children:(0,De.jsx)(se,{schema:e.schema.properties[c],model:e.model&&e.model[c],errors:u&&u[c],submitted:e.submitted,required:a(c),disabled:e.disabled,onChange:l=>o(c,l),onPersistAsync:e.onPersistAsync})},c))})]})};Li.defaultProps={hideTitle:!1,disabled:!1};var er=Li;var _i=Be(rt()),ve=require("react");var qr=require("@transferwise/components"),Ni=require("react-intl");var Ti=require("react-intl"),Ri=(0,Ti.defineMessages)({helpAria:{id:"dynamicFlows.Help.ariaLabel",defaultMessage:"Click here for more info.",description:"Aria label for help."}});var Go=require("react/jsx-runtime"),Yc=e=>{let t=(0,Ni.useIntl)();return(0,Go.jsx)(qr.Info,{className:"m-l-1",content:(0,Go.jsx)(qr.Markdown,{children:e.help.markdown}),presentation:"POPOVER",size:"sm","aria-label":t.formatMessage(Ri.helpAria)})},Le=Yc;var Gi=require("react");var $=require("@transferwise/components"),Ui=require("react");var Et=(e,t={})=>{let{coerceValue:r=!1}=t;if(!P(e)){if(I(e)){mt({received:"object",expected:"string"});return}if(!M(e)){if(r)return _o({received:typeof e,expected:"string"}),String(e);mt({received:typeof e,expected:"string"});return}return e}},$o=(e,t={})=>{let{coerceValue:r=!1}=t;if(P(e))return;if(T(e))return e;let o={received:typeof e,expected:"string or number"};if(I(e)){mt(o);return}if(!M(e)){if(r)return _o(o),String(e);mt(o);return}return e},Bi=(e,t={})=>{let{coerceValue:r=!1}=t;if(P(e))return!1;if(!Se(e)){if(r)return _o({received:typeof e,expected:"boolean"}),!!e;mt({received:typeof e,expected:"boolean"});return}return e},ji=e=>{if(!P(e)){if(!(e instanceof Date)&&!M(e)){mt({received:typeof e,expected:"string or Date"});return}return e}},Vi=e=>{if(P(e))return null;if(!M(e))return mt({received:typeof e,expected:"string",fallback:"null"}),null;let t=gn(e);return t===null&&console.warn("Incorrectly formatted date string. Falling back to null."),t},_o=({received:e,expected:t})=>{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.`)},mt=({received:e,expected:t,fallback:r="undefined"})=>{console.warn(`Value with type ${e} passed to control that only accepts type ${t}. Falling back to ${r}`)};var K=require("react/jsx-runtime"),kt=class e extends Ui.PureComponent{constructor(r){super(r);this.getAutocompleteStatus=()=>this.props.autoComplete?"on":"disabled";this.handleOnChange=r=>{this.props.onChange(r)};this.handleInputOnChange=r=>{this.props.onChange(r.target.value)};this.handleOnFocus=()=>{this.props.onFocus?.()};this.handleOnBlur=()=>{this.props.onBlur?.()};this.getSelectedOption=r=>{if(this.state.selectedOption!==null&&typeof this.state.selectedOption<"u")return r.find(o=>this.state.selectedOption?.value===o.value);if(this.props.value!==null&&typeof this.props.value<"u")return r.find(o=>this.props.value===o.value)};this.mapOption=r=>({...r,value:T(r.value)||M(r.value)?r.value:void 0,secondary:r.note,disabled:r.disabled||this.props.disabled,readOnly:this.props.readOnly});this.state={selectedOption:r.selectedOption,touched:!1,prevValue:r.value}}static{this.Type=R}static{this.Size=Ln}static{this.MonthFormat=Dn}static{this.DateMode=In}static getDerivedStateFromProps(r,o){return o.prevValue!==r.value?{prevValue:r.value,value:r.value}:null}render(){let{name:r,placeholder:o,step:a,countryCode:n,type:i,options:m,disabled:u,readOnly:c,required:l,minLength:f,maxLength:p,min:s,max:d,searchPlaceholder:y,searchValue:h,onSearchChange:g,size:w,uploadProps:b,label:O,monthFormat:x,id:C,minDate:v,maxDate:k,value:A,mode:D,describedBy:z}=this.props;switch(i){case R.RADIO:return(0,K.jsx)($.RadioGroup,{radios:m.map(this.mapOption),name:r,selectedValue:$o(A,{coerceValue:!0}),onChange:this.handleOnChange});case R.CHECKBOX:return(0,K.jsx)($.Checkbox,{checked:Bi(A,{coerceValue:!0}),disabled:u,label:O,required:l,readOnly:c,onChange:this.handleOnChange,onBlur:this.handleOnBlur,onFocus:this.handleOnFocus});case R.SELECT:{let S=m.length>=20;return(0,K.jsx)($.Select,{id:C,selected:this.getSelectedOption(m),options:m,search:S,required:l,disabled:u,placeholder:o,searchPlaceholder:y,searchValue:h,onChange:V=>{this.setState({selectedOption:V??void 0}),this.props.onChange(V?.value??null)},onFocus:this.handleOnFocus,onBlur:this.handleOnBlur,onSearchChange:S?g:void 0})}case R.TAB:return(0,K.jsx)($.Tabs,{selected:this.getSelectedOption(m)?.value||0,tabs:m.map(S=>({title:S.label,content:(0,K.jsx)(K.Fragment,{}),disabled:S.disabled||!1})),name:C,onTabSelect:S=>{let V=!!this.state.selectedOption;this.setState({selectedOption:m.find(H=>H.value===S)}),this.props.onChange(S,V?"user":"init")}});case R.NUMBER:return(0,K.jsx)("input",{autoComplete:this.getAutocompleteStatus(),className:"form-control",disabled:u,id:C,max:d,min:s,placeholder:o,readOnly:c,required:l,step:a,type:"number",value:$o(A,{coerceValue:!0}),onBlur:this.handleOnBlur,onChange:S=>{this.props.onChange(parseFloat(S.target.value))},onFocus:this.handleOnFocus,onWheel:S=>{S.target instanceof HTMLElement&&S.target.blur()},"aria-describedby":z});case R.HIDDEN:return(0,K.jsx)("input",{type:"hidden",name:r,value:Et(A,{coerceValue:!0}),id:C});case R.PASSWORD:return(0,K.jsx)("input",{autoComplete:this.getAutocompleteStatus(),className:"form-control",disabled:u,id:C,placeholder:o,readOnly:c,required:l,type:"password",value:Et(A,{coerceValue:!0}),onBlur:this.handleOnBlur,onChange:this.handleInputOnChange,onFocus:this.handleOnFocus,"aria-describedby":z});case R.DATE:case R.DATETIME:return(0,K.jsx)($.DateInput,{disabled:u,size:w,value:ji(A),mode:D,monthFormat:x,onBlur:this.handleOnBlur,onChange:this.handleOnChange,onFocus:this.handleOnFocus});case R.DATELOOKUP:return(0,K.jsx)($.DateLookup,{value:Vi(A),min:v,max:k,placeholder:o,monthFormat:x,disabled:u,onChange:S=>{this.handleOnChange(Sn(S))},onBlur:this.handleOnBlur,onFocus:this.handleOnFocus});case R.TEL:return(0,K.jsx)($.PhoneNumberInput,{disabled:u,countryCode:n,placeholder:o,required:l,searchPlaceholder:y,size:w,initialValue:Et(A),onBlur:this.handleOnBlur,onChange:this.handleOnChange,onFocus:this.handleOnFocus});case R.TEXTAREA:{let S={className:"form-control tw-form-control",id:C,name:r,placeholder:o,value:Et(A,{coerceValue:!0}),readOnly:c,required:l,minLength:f,maxLength:p,onFocus:this.handleOnFocus,onBlur:this.handleOnBlur,disabled:u,autoComplete:this.getAutocompleteStatus()};return this.props.displayPattern?(0,K.jsx)($.TextareaWithDisplayFormat,{displayPattern:this.props.displayPattern,...S,onChange:this.handleOnChange}):(0,K.jsx)("textarea",{...S,onChange:this.handleInputOnChange,"aria-describedby":z})}case R.FILE:case R.UPLOAD:return(0,K.jsx)($.Upload,{...b,usAccept:b.usAccept||"*",usDisabled:b.usDisabled||u,onSuccess:S=>{this.handleOnChange(S)},onFailure:()=>{this.handleOnChange(null)},onCancel:()=>{this.handleOnChange(null)}});case R.TEXT:default:{let S={type:"text",className:"form-control",id:C,name:r,placeholder:o,value:Et(A,{coerceValue:!0}),readOnly:c,required:l,minLength:f,maxLength:p,onFocus:this.handleOnFocus,onBlur:this.handleOnBlur,disabled:u,autoComplete:this.getAutocompleteStatus()};return this.props.displayPattern?(0,K.jsx)($.InputWithDisplayFormat,{displayPattern:this.props.displayPattern,...S,onChange:this.handleOnChange}):(0,K.jsx)("input",{...S,onChange:this.handleInputOnChange,"aria-describedby":z})}}}static{this.defaultProps={autoComplete:!0,countryCode:null,disabled:!1,displayPattern:null,id:null,label:"",max:null,maxDate:null,maxLength:null,min:null,minDate:null,minLength:null,mode:e.DateMode.DAY_MONTH_YEAR,monthFormat:e.MonthFormat.LONG,onBlur:null,onFocus:null,onSearchChange:null,options:[],placeholder:null,readOnly:!1,required:!1,searchPlaceholder:null,searchValue:"",selectedOption:null,size:e.Size.MEDIUM,step:1,type:e.Type.TEXT,uploadProps:{},value:null}}};var _e=require("@transferwise/components");var pe=require("react/jsx-runtime"),zi=(e,t)=>{switch(t){case"select":return Qc(e);case"radio":default:return Zc(e)}},Zc=e=>({label:e.title,value:e.const,...Hi(e.title,e.description),...It(e),...qi(e.disabled)}),Qc=e=>({label:e.title,value:e.const,...Hi(e.title,e.description),...rd(e.icon),...td(e.image),...qi(e.disabled),...ed(e.keywords)}),ed=e=>B(e)?{searchStrings:e}:{},td=e=>e?.url?{icon:(0,pe.jsx)("div",{className:"media",children:(0,pe.jsx)("div",{className:"np-option__no-media-circle",children:(0,pe.jsx)("img",{src:e.url,alt:e.name||""})})})}:null,rd=e=>e?.name&&xt(e.name)?{currency:e.name.substring(5)}:e?.name&&Io(e.name)?{icon:(0,pe.jsx)(qe,{type:e.name})}:e?.text?{icon:(0,pe.jsx)("span",{children:e.text})}:null,It=({image:e,icon:t})=>e?.url?{avatar:(0,pe.jsx)(_e.Avatar,{type:_e.AvatarType.THUMBNAIL,children:(0,pe.jsx)("img",{src:e.url,alt:""})})}:t?.name&&Io(t.name)?{avatar:(0,pe.jsx)(_e.Avatar,{type:_e.AvatarType.ICON,children:(0,pe.jsx)(qe,{type:t.name})})}:t?.text?{avatar:(0,pe.jsx)(_e.Avatar,{type:_e.AvatarType.INITIALS,children:t.text})}:null,Gr=({accepts:e})=>({...B(e)&&{usAccept:e.join(",")}}),Hi=(e,t)=>{if(e&&t)return{[(e+t).length>50?"secondary":"note"]:t}},qi=e=>{if(!W(e)&&!P(e))return{disabled:e}};var Wo=require("react/jsx-runtime"),od=e=>e==="string"||e==="number",Ko=e=>{if(le(e))return e.control===R.TAB&&e.oneOf.length>3?R.SELECT:e.oneOf.length===2&&!e.control?R.RADIO:e.control||R.SELECT;if("control"in e&&e.control)return e.control;if(e.type==="string")switch(e.format){case"date":return"date";case"password":return"password";case"phone-number":return"tel";case"base64url":return"file";default:return"text"}return e.type==="boolean"?"checkbox":e.type==="integer"?"number":e.type},ad=(e,t)=>e.oneOf?e.oneOf.map(r=>zi(r,t)):null,$i=e=>{let{id:t,schema:r,value:o,disabled:a,onChange:n,onFocus:i,onBlur:m,onSearchChange:u,describedBy:c}=e,l=bt(),f=w=>od(r.type)&&(P(w)||W(w))?"":w,p=(w,b)=>{n(Ve(w,r),b)},s=Ko(r);(0,Gi.useEffect)(()=>{nd(r,l,s)},[JSON.stringify(r),l,s]);let d=r.values||ad(r,s),y={onFocus:i,onBlur:m,onSearchChange:u,onChange:p},h=f(o),g={id:t,name:t,label:r.title,options:d||[],placeholder:r.placeholder,autoComplete:!r.help,disabled:a||r.disabled,displayPattern:r.displayFormat,uploadProps:Gr(r),describedBy:c};return(0,Wo.jsx)("div",{"aria-describedby":c,children:(0,Wo.jsx)(kt,{type:s,value:h,...y,...g})})};$i.defaultProps={value:null,onFocus:null,onBlur:null,onSearchChange:null,disabled:!1};var nd=(e,t,r)=>{le(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.")},tr=$i;var ee=require("react/jsx-runtime"),Wi=e=>{let t=X(),[r,o]=(0,ve.useState)(!1),[a,n]=(0,ve.useState)(!1),[i,m]=(0,ve.useState)(!1),u=(0,ve.useMemo)(()=>e.schema.$id||Fe(),[e.schema.$id]),[c,l]=(0,ve.useState)(Ur(e.schema,e.model)),[f,p]=(0,ve.useState)(ld(e.model,e.schema.oneOf)),s=Pn(t,200),d=v=>{s("Dynamic Flow - OneOf Searched",{oneOfId:e.schema.analyticsId,searchValueLength:v.length})};if((0,ve.useEffect)(()=>{let v=Qt(e.schema,e.model),k=Qt(e.schema,e.schema.default);v===-1&&k>=0&&w(k,"init")},[e.schema]),!B(e.schema.oneOf))return console.error("Incorrect format",e.schema),null;let y=(v,k)=>{p([...f.slice(0,v),k.model,...f.slice(v+1)]),o(!0),e.onChange(k)},h=()=>{n(!0)},g=()=>{n(!1),m(!0)},w=(v,k)=>{l(v);let A=e.schema.oneOf[v];if(ce(A)){let D=A.const;e.onChange({model:D,triggerSchema:e.schema,triggerModel:D,type:k})}else e.onChange({model:f[v],triggerSchema:A,triggerModel:f[v],type:k});k!=="init"&&e.schema.analyticsId&&t("Dynamic Flow - OneOf Selected",{oneOfId:e.schema.analyticsId,schemaId:A?.analyticsId})},b=cd(e.schema),O=sd(e,c),x={"form-group":!0,"has-error":!r&&e.errors&&!wt(e.errors)||(e.submitted||r&&i)&&O.length},C=`${u}-feedback`;return(0,ee.jsxs)(ee.Fragment,{children:[(e.schema.oneOf.length>1||ce(e.schema.oneOf[0]))&&(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsxs)("div",{className:(0,_i.default)(x),children:[id(e.schema,u),(0,ee.jsx)(tr,{id:u,schema:b,value:c,disabled:e.disabled,onChange:w,onFocus:h,onBlur:g,onSearchChange:d,describedBy:C}),(0,ee.jsx)(Ie,{id:C,changed:r,focused:a,blurred:i,submitted:e.submitted,errors:md(e.errors),schema:e.schema,validations:O,infoMessage:null})]}),e.schema.alert&&(0,ee.jsx)(oe,{component:e.schema.alert})]}),_t(e.schema.oneOf[c])&&(0,ee.jsx)(se,{schema:e.schema.oneOf[c],model:f[c],errors:e.errors,submitted:e.submitted,hideTitle:!0,disabled:e.disabled,onChange:v=>y(c,v),onPersistAsync:e.onPersistAsync})]})};function id(e,t){let r=e.help?(0,ee.jsx)(Le,{help:e.help}):null,o=ce(e.oneOf[0])?(0,ee.jsxs)("label",{className:"control-label d-inline",htmlFor:t,children:[e.title," ",r]}):(0,ee.jsxs)("h4",{className:"m-b-2",children:[e.title," ",r]});return e.title?o:r}function sd(e,t){let r=e.schema.oneOf[t??-1];return ce(r)?Ue(r.const,e.schema,!!e.required):t===null||t<0?Ue(null,e.schema,!!e.required):[]}function md(e){return typeof e=="string"?e:null}function ld(e,t){return t.map(r=>Ft(e,r))}function cd(e){return{...e,oneOf:e.oneOf.map(dd)}}function dd(e,t){let{title:r,description:o,disabled:a=!1,icon:n,image:i,keywords:m}=e;return{title:r,description:o,disabled:a,icon:n,image:i,const:t,keywords:m}}Wi.defaultProps={required:!1,disabled:!1};var Jo=Wi;var Yi=Be(rt()),lt=require("react");var $r=require("@transferwise/components"),Ki=require("react");var Xi=require("react/jsx-runtime"),Ji=e=>{let{id:t,httpClient:r=fetch,httpOptions:o,fileId:a,idProperty:n,usAccept:i,maxSize:m,usPlaceholder:u,onSuccess:c,onFailure:l,onCancel:f}=e,p=X(),s=(0,Ki.useMemo)(()=>a?[{id:a,status:$r.Status.SUCCEEDED}]:[],[a]),d=y=>(p("Dynamic Flow - PersistAsync",{status:"pending",schemaId:t}),r(`${o.url}`,{method:o.method||"POST",body:y}).then(h=>h.ok?(c&&c(h.clone()),h.json().then(g=>({id:g[n]}))):(l&&l({response:h}),Promise.reject())));return(0,Xi.jsx)($r.UploadInput,{id:t,fileInputName:o.fileInputName,files:s,uploadButtonTitle:e.usLabel,sizeLimit:m?Pr(m):void 0,fileTypes:i,description:u,onUploadFile:d,onDeleteFile:y=>(f&&f(),Promise.resolve())})};var Dt=require("react/jsx-runtime"),Zi=e=>{let[t,r]=(0,lt.useState)({}),[o,a]=(0,lt.useState)(null),[n,i]=(0,lt.useState)([]),[m,u]=(0,lt.useState)(!1),c=Y(),l=X();(0,lt.useEffect)(()=>{e.submitted&&i(Ue(e.model,e.schema,!!e.required))},[e.model,e.submitted]);let p=async(x,C)=>{let v=await x.json(),k=Zo(e.schema.persistAsync.idProperty,v);e.onChange({model:k,triggerSchema:e.schema,triggerModel:k}),u(!0),l("Dynamic Flow - PersistAsync",{status:"success",schemaId:e.schema.$id})},s=async x=>{if(x.response&&br(x.response.status)){let C=await x.response.json();r(C.validation||{}),a([e.schema.persistAsync.param])}e.onChange({model:null,triggerSchema:e.schema,triggerModel:null}),u(!0),l("Dynamic Flow - PersistAsync",{status:"failure",schemaId:e.schema.$id})},d=()=>{a(null),e.onChange({model:null,triggerSchema:e.schema,triggerModel:null}),u(!0)},{url:y,method:h}=e.schema.persistAsync,g=o||n,w={"form-group":!0,"has-error":(e.submitted||m)&&!!g.length},b=e.schema.$id||e.schema.persistAsync.schema.$id||e.schema.persistAsync.idProperty,O=`${b}-feedback`;return(0,Dt.jsxs)("div",{className:(0,Yi.default)(w),children:[(0,Dt.jsx)("div",{"aria-describedby":O,children:(0,Dt.jsx)(Ji,{id:b,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:h,fileInputName:e.schema.persistAsync.param},httpClient:c,onSuccess:p,onFailure:s,onCancel:d,...Gr(e.schema.persistAsync.schema)})}),(0,Dt.jsx)(Ie,{id:O,blurred:!0,focused:!1,changed:m,submitted:e.submitted,errors:e.errors,schema:e.schema,validations:g,validationMessages:{required:"Value is required...",...t},infoMessage:null})]})};Zi.defaultProps={required:!1};var Yo=Zi;var Qo=require("react/jsx-runtime"),Qi=e=>{let{schema:t}=e;return t.persistAsync.schema.type==="blob"?(0,Qo.jsx)(Yo,{...e}):(0,Qo.jsx)(Xo,{...e})};Qi.defaultProps={required:!1};var ea=Qi;var ls=require("react");var es=(e,t)=>{let r=Pt(e,t);return r!==null?e.oneOf[r].promoted?"promoted":"other":null};var ts=require("@transferwise/components"),ta=require("react/jsx-runtime"),rs=e=>{let{id:t,selection:r,setSelection:o}=e,{promoted:a,other:n,checkedMeans:i}=e.promotion,m=i==="other"?n.title:a?.title||e.promotedOneOf.title,u=i==="other"?"other":"promoted",c=i==="other"?"promoted":"other",l=r===u;return(0,ta.jsx)("div",{className:"form-group",children:(0,ta.jsx)(ts.Checkbox,{id:t,label:m,checked:l,onChange:()=>{o(l?c:u)}})})};rs.defaultProps={};var os=rs;var as=require("@transferwise/components");var rr=require("react/jsx-runtime"),ns=e=>{let{id:t,selection:r,setSelection:o,promotion:a,promotedOneOf:n,title:i}=e,m=[{value:"promoted",label:a.promoted?.title||n.title,secondary:a.promoted?.description||n.description,...It(n)},{value:"other",label:a.other.title,secondary:a.other.description,...It(a.other)}];return(0,rr.jsxs)("div",{className:"form-group",children:[i&&(0,rr.jsx)("label",{className:"control-label",htmlFor:t,children:i}),(0,rr.jsx)(as.RadioGroup,{name:"promoted-selection",selectedValue:r,radios:m,id:t,onChange:o})]})};ns.defaultProps={title:void 0};var is=ns;var Lt=require("react/jsx-runtime"),ss=e=>{switch(e.promotion.control||"radio"){case"radio":return(0,Lt.jsx)(is,{...e});case"checkbox":return(0,Lt.jsx)(os,{...e});default:return(0,Lt.jsx)(Lt.Fragment,{})}};ss.defaultProps={id:Fe(),title:void 0};var ms=ss;var Te=require("react/jsx-runtime"),cs=e=>e.promoted===!0,ud=e=>{let[t,r]=(0,ls.useState)(es(e.schema,e.model)||e.schema.promotion?.default||"promoted"),o=e.schema.alert,a=e.schema.oneOf.find(cs),n=pd(a),i=fd(e.schema);return(0,Te.jsxs)(Te.Fragment,{children:[o&&(0,Te.jsx)(oe,{component:o}),(0,Te.jsx)(ms,{id:e.schema.$id,title:e.schema.title,promotedOneOf:a,promotion:e.schema.promotion,selection:t,setSelection:r}),t==="promoted"&&(0,Te.jsx)(er,{...e,schema:n}),t==="other"&&(0,Te.jsx)(se,{...e,schema:i})]})};function pd(e){return{...e,title:void 0,description:void 0}}function fd(e){let t=e.promotion?.displayTwice?[...e.oneOf]:e.oneOf.filter(o=>!cs(o)),r=e.promotion?.other.heading?.text;return t.length===1?{...t[0],title:r}:t.length>1?{title:r,oneOf:t,control:e.control}:null}var ra=ud;var _r=require("@transferwise/components"),us=require("react-intl");var ds=require("react-intl"),oa=(0,ds.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."}});var Tt=require("react/jsx-runtime"),yd=({schema:e,model:t})=>{let{title:r=""}=e,{formatMessage:o}=(0,us.useIntl)(),a=hd({schema:e,model:t,formatMessage:o});return(0,Tt.jsx)(_r.DefinitionList,{layout:_r.Layout.VERTICAL_ONE_COLUMN,definitions:[{title:r,value:a,key:""}]})},aa=yd;function hd({schema:e,model:t,formatMessage:r}){return Me(e)?le(e)?gd(e,t):e.type==="boolean"&&Se(t)?r(t?oa.yes:oa.no):t&&t.toString()||"":""}function gd(e,t){let r=Sd(e,t);return r?bd(r):t}function Sd(e,t){return e.oneOf.find(r=>"const"in r?t===r.const:!1)}function bd(e){let t=e.title&&e.description?`${e.title} - ${e.description}`:e.title||"",r=It({icon:e.icon});return r?.avatar?(0,Tt.jsxs)(Tt.Fragment,{children:[r.avatar," ",t]}):t}var xe=require("react");var fs=require("react/jsx-runtime"),ps=e=>{let{schema:t,model:r,required:o,submitted:a,errors:n,onChange:i}=e,[m,u]=(0,xe.useState)(r),c=(0,xe.useRef)(null),[l,f]=(0,xe.useState)(null),[p,s]=(0,xe.useState)(null),[d,y]=(0,xe.useState)(!1),[h,g]=(0,xe.useState)(null),w=Y(),b=X(),O=bt();(0,xe.useEffect)(()=>{t.validationAsync.method||O.warning("Invalid schema or model",'ValidationAsyncSchema without a "method" property would have defaulted to "GET" in previous versions. Now defaults to "POST".',{})},[O,t.validationAsync.method]);let x=async(D,z)=>{let S=C(),V={[z.param]:D};c.current=D,y(!0),b("Dynamic Flow - ValidationAsync",{status:"pending"});let H=await w(z.url,{method:z.method||"POST",headers:{"Content-Type":"application/json"},body:z.method==="GET"?void 0:JSON.stringify(V),signal:S});try{let G=await H.json();if(!I(G))throw new Error("Response body is not an object");b("Dynamic Flow - ValidationAsync",{status:"success"}),H.status===200?f(M(G.message)?G.message:null):H.status===422&&s(M(G.message)?G.message:null)}catch{b("Dynamic Flow - ValidationAsync",{status:"failure"})}},C=()=>{h&&h.abort();let D=new AbortController;return g(D),D.signal};return(0,fs.jsx)(ct,{...{submitted:a||d,model:m,errors:p||n,infoMessage:l,onChange:D=>{i({...D,triggerSchema:t,triggerModel:D.model}),s(null),f(null),u(D.model)},onBlur:()=>{!P(m)&&!He(m,c.current)&&U(m,t)&&x(m,t.validationAsync)},required:o,schema:t}})};ps.defaultProps={required:!1};var na=ps;var me=require("react/jsx-runtime"),hs=require("react"),wd=e=>{let{schema:t,model:r=null,errors:o=null,hideTitle:a=!1,disabled:n=!1}=e,i={...e,model:r,errors:o,hideTitle:a,disabled:n},m=tt(t),u=bt();switch((0,ys.useEffect)(()=>{Fd(t,r,o)||u.error("Invalid schema or model",`Schema of type ${m||"undefined"} requested, but schema did not pass validation.`)},[JSON.stringify(t),JSON.stringify(r),JSON.stringify(o),m,u]),m){case"readOnly":return(0,me.jsx)(aa,{...i});case"persistAsync":return(0,me.jsx)(ea,{...i});case"validationAsync":return(0,me.jsx)(na,{...i});case"basic":{let c={infoMessage:null,...i};return(0,me.jsx)(ct,{...c})}case"object":return(0,hs.createElement)(er,{...i,key:JSON.stringify(t)});case"array":return(0,me.jsx)(qo,{...i});case"promotedOneOf":return(0,me.jsx)(ra,{...i});case"oneOf":return(0,me.jsx)(Jo,{...i});case"allOf":return(0,me.jsx)(jo,{...i})}return(0,me.jsx)(me.Fragment,{})},se=wd,Fd=(e,t,r)=>{switch(tt(e)){case"persistAsync":return Mr(e)&&kr(t)&&Wt(r);case"validationAsync":return Po(e)&&Eo(t)&&Wt(r);case"basic":return Me(e)&&Eo(t)&&Wt(r);case"object":return we(e)&&Mo(t);case"array":return Pe(e)&&An(t)&&Wt(r);case"promotedOneOf":return et(e)&&Mo(t);case"oneOf":return le(e);case"allOf":return Oo(e)&&q(t)}return!1};var dt=require("react/jsx-runtime"),Cd=e=>{let t={model:null,errors:null,disabled:!1,baseUrl:"",...e};return xr()||t.baseUrl==null?(0,dt.jsx)(se,{...t}):(0,dt.jsx)(vd,{baseUrl:t.baseUrl,onEvent:t.onEvent,onLog:t.onLog,children:(0,dt.jsx)(se,{...t})})},or=Cd,vd=({baseUrl:e,onEvent:t,onLog:r,children:o})=>(0,dt.jsx)(Ar,{flowId:"JsonSchemaForm",stepId:"JsonSchemaForm",onLog:r??gs,children:(0,dt.jsx)(Sr,{metadata:{flowId:"JsonSchemaForm",stepId:"JsonSchemaForm"},onEvent:t??gs,children:(0,dt.jsx)(vr,{baseUrl:e,children:o})})}),gs=()=>{};var ia=require("react/jsx-runtime"),xd=e=>{let t=e.component,r=t.schema;return(0,ia.jsx)("div",{className:L(t.margin||"md"),children:(0,ia.jsx)(or,{schema:r,model:e.model,submitted:e.submitted,errors:e.errors,onChange:o=>{e.onModelChange({formSchema:r,...o})},onPersistAsync:e.onPersistAsync})})},sa=xd;var Rt=require("react/jsx-runtime"),Ad=e=>{let{text:t,size:r="md",align:o="left",margin:a="md"}=e.component,n=Ee({align:o,margin:a});switch(r){case"xs":return(0,Rt.jsx)("h5",{className:n,children:t});case"sm":return(0,Rt.jsx)("h4",{className:n,children:t});case"lg":return(0,Rt.jsx)("h2",{className:n,children:t});case"xl":return(0,Rt.jsx)("h1",{className:n,children:t});case"md":default:return(0,Rt.jsx)("h3",{className:n,children:t})}},ma=Ad;var la=require("@transferwise/components");var ar=require("react/jsx-runtime"),ca=({component:e})=>{let{content:t,align:r,margin:o}=e;return(0,ar.jsx)("div",{className:Ee({align:r,margin:o}),children:(0,ar.jsx)(la.Markdown,{config:{link:{target:"_blank"}},children:t})})},da=({component:e})=>(0,ar.jsx)("div",{className:Ee(e),children:(0,ar.jsx)(la.Markdown,{config:{link:{target:"_blank"}},children:e.markdown})});var Ss=require("@transferwise/components"),Wr=require("react");var ua=require("react/jsx-runtime"),Od=({component:e})=>{let{url:t,size:r,text:o,margin:a,accessibilityDescription:n}=e,i=Y(),[m,u]=(0,Wr.useState)("");(0,Wr.useEffect)(()=>{Md(i,t).then(u)},[t,i]);let c={alt:n||o||"",src:m,stretch:!0,shrink:!0};return m?(0,ua.jsx)("div",{className:`df-image ${r||"md"}`,children:(0,ua.jsx)(Ss.Image,{className:`img-responsive ${L(a||"md")}`,...c})}):null},Pd=e=>new Promise((t,r)=>{let o=new FileReader;o.addEventListener("loadend",()=>t(o.result)),o.addEventListener("error",a=>r(a)),o.readAsDataURL(e)}),Md=async(e,t)=>{try{return wr(t)||t?.indexOf(`${window?.location?.origin}/`)===0?e(t,{method:"GET",headers:{"Content-Type":"image/image"},credentials:"same-origin"}).then(r=>{if(r.ok)return r.blob();throw new Error("Image fetching failed")}).then(Pd).catch(()=>t):t}catch{return t}},pa=Od;var Kr=require("@transferwise/components");var nr=require("react/jsx-runtime"),Ed=["positive","neutral"],kd=["warning","negative"],Id=({component:e})=>{let{items:t}=e,r=t.filter(a=>Ed.includes(a.context)).map(({text:a})=>a),o=t.filter(a=>kd.includes(a.context)).map(({text:a})=>a);return(0,nr.jsxs)("div",{className:L(e.margin||"md"),children:[e.title?(0,nr.jsx)(Kr.Header,{title:e.title}):null,(0,nr.jsx)(Kr.InstructionsList,{dos:r,donts:o})]})},fa=Id;var j=require("react/jsx-runtime"),J=e=>JSON.stringify(e),Dd=e=>{let{components:t,model:r,submitted:o,errors:a,onModelChange:n,onAction:i,onPersistAsync:m,baseUrl:u}=e,c=l=>{switch(l.type){case"heading":return(0,j.jsx)(ma,{component:l},J(l));case"paragraph":return(0,j.jsx)(ha,{component:l},J(l));case"image":return(0,j.jsx)(pa,{component:l},J(l));case"alert":return(0,j.jsx)(oe,{component:l},J(l));case"review":return(0,j.jsx)(ga,{component:l,onAction:i},J(l));case"divider":return(0,j.jsx)(No,{component:l},J(l));case"info":return(0,j.jsx)(da,{component:l},J(l));case"instructions":return(0,j.jsx)(fa,{component:l},J(l));case"markdown":return(0,j.jsx)(ca,{component:l},J(l));case"columns":return(0,j.jsx)(To,{component:l,model:r,submitted:o,errors:a,onModelChange:n,onAction:i,onPersistAsync:m},J(l));case"form":return(0,j.jsx)(sa,{component:l,model:r,submitted:o,errors:a,onModelChange:n,onPersistAsync:m},J({...l,errors:a??null}));case"button":return(0,j.jsx)(Lo,{component:l,onAction:i},J(l));case"box":return(0,j.jsx)(Do,{component:l,model:r,submitted:o,errors:a,onModelChange:n,onAction:i,onPersistAsync:m},J(l));case"decision":return(0,j.jsx)(Ro,{component:l,onAction:i},J(l));case"external":return(0,j.jsx)(Bo,{component:l,onAction:i},J(l));case"list":case"status-list":return(0,j.jsx)(ya,{component:l,onAction:i},J(l));case"loading-indicator":return(0,j.jsx)(ir,{component:l},J(l));case"search":return(0,j.jsx)(Sa,{component:l,onAction:i},J(l));default:return(0,j.jsx)("div",{},J(l))}};return xr()||u==null?(0,j.jsx)(j.Fragment,{children:t.map(c)}):(0,j.jsx)(vr,{baseUrl:u,children:t.map(c)})},ae=Dd;var bs=require("@transferwise/components");var Nt=require("react/jsx-runtime"),Ld=({component:e})=>(0,Nt.jsxs)("div",{className:L(e.margin||"md"),children:[e.title?(0,Nt.jsxs)("h4",{className:"m-b-2",children:[" ",e.title," "]}):null,e.items.map(Td)]}),Td=({title:e,description:t,icon:r,status:o})=>{let a={key:`${e}/${t||""}`,title:e,description:t,...r?.name?{icon:(0,Nt.jsx)(qe,{type:r.name})}:{},...o?{status:Bd[o]}:{}};return(0,Nt.jsx)(bs.Summary,{...a})},Rd={done:"done",pending:"pending","not-done":"notDone"},Nd={positive:"done",warning:"pending",neutral:"notDone"},Bd={...Rd,...Nd},ya=Ld;var ws=require("@transferwise/components");var Fs=require("react/jsx-runtime"),jd=({component:e})=>{let{margin:t,size:r="md"}=e;return(0,Fs.jsx)(ws.Loader,{size:r,classNames:{"tw-loader":`tw-loader m-x-auto ${L(t)}`},"data-testid":"loading-indicator"})},ir=jd;var Os=require("@transferwise/components"),Ps=require("react-intl");var Cs=require("react-intl"),ba=(0,Cs.defineMessages)({copy:{id:"dynamicFlows.DynamicParagraph.copy",defaultMessage:"Copy",description:"Copy to clipboard button label."},copied:{id:"dynamicFlows.DynamicParagraph.copied",defaultMessage:"Copied to clipboard",description:"Appears in a snackbar when the copy operation succeeds."}});var vs=require("@transferwise/components"),xs=require("react");function As(){let e=(0,xs.useContext)(vs.SnackbarContext);return e?e.createSnackbar:Vd}function Vd(){}var We=require("react/jsx-runtime"),Ud=({component:e})=>e.control==="copyable"?(0,We.jsx)(Hd,{component:e}):(0,We.jsx)(zd,{component:e}),zd=({component:e})=>(0,We.jsxs)("p",{className:Ee(e),children:[" ",e.text," "]}),Hd=({component:e})=>{let{formatMessage:t}=(0,Ps.useIntl)(),r=As(),{text:o}=e,a=()=>{navigator.clipboard?.writeText(o).then(()=>r({text:t(ba.copied)})).catch(qd)},n=Ee({align:e.align})+" form-control";return(0,We.jsxs)("div",{className:Ee(e),children:[(0,We.jsx)("input",{type:"text",className:n,value:o,readOnly:!0,style:{textOverflow:"ellipsis"}}),(0,We.jsx)(Os.Button,{block:!0,onClick:a,className:L("sm"),children:t(ba.copy)})]})};function qd(){}var ha=Ud;var Ms=require("@transferwise/components");var te=require("react/jsx-runtime"),Gd=(e,t)=>t.fields.map(({label:r,value:o,help:a},n)=>({key:String(n),title:r,value:$d(o,a,e)})),$d=(e,t,r)=>t?r==="HORIZONTAL_RIGHT_ALIGNED"?(0,te.jsxs)(te.Fragment,{children:[(0,te.jsx)(Le,{help:t})," ",e]}):(0,te.jsxs)(te.Fragment,{children:[e," ",(0,te.jsx)(Le,{help:t})]}):e,_d=e=>(e.control||e.orientation)==="horizontal"?"HORIZONTAL_RIGHT_ALIGNED":"VERTICAL_ONE_COLUMN",Wd=e=>{let t=e.component,r=L(t.margin||"xs"),o=n=>(0,te.jsx)("a",{href:n.url,className:"pull-right",role:"button",onClick:i=>{i.preventDefault(),e.onAction(n)},children:n.title}),a=_d(t);return(0,te.jsxs)(te.Fragment,{children:[t.title&&(0,te.jsxs)("h6",{className:`m-b-2 ${r}`,children:[t.title,t.action&&o(t.action)]}),(0,te.jsx)("div",{className:t.title?"":r,children:(0,te.jsx)(Ms.DefinitionList,{layout:a,definitions:Gd(a,t)})})]})},ga=Wd;var Yr=require("react");var Es=require("@transferwise/components"),Jr=require("react/jsx-runtime"),ks=({title:e,value:t,onFocus:r,onChange:o})=>(0,Jr.jsxs)("label",{className:"control-label d-inline",children:[e,(0,Jr.jsx)(Es.Input,{type:"text",value:t,onFocus:r,onChange:a=>o(a.currentTarget.value)})]});var Xr=require("@transferwise/components"),Ds=require("react-intl");var Is=require("react-intl"),Bt=(0,Is.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."}});var ut=require("react/jsx-runtime"),Ls=({results:e,emptyMessage:t,onSelect:r})=>e.length===0?(0,ut.jsx)("p",{className:"m-t-2",children:t}):(0,ut.jsx)(Xr.NavigationOptionsList,{children:e.map(o=>(0,ut.jsx)(Xr.NavigationOption,{title:o.title,content:o.description,media:ot(o),showMediaCircle:!1,showMediaAtAllSizes:!0,onClick:()=>r(o)},JSON.stringify(o)))}),Ts=({onRetrySearch:e})=>{let t=(0,Ds.useIntl)();return(0,ut.jsxs)("p",{className:"m-t-2",children:[t.formatMessage(Bt.errorAlert),"\xA0",(0,ut.jsx)("a",{href:"/",onClick:r=>{r.preventDefault(),e()},children:t.formatMessage(Bt.retry)})]})};var jt=require("react");var Rs={"Content-Type":"application/json"},Ns=e=>{let[t,r]=(0,jt.useState)({status:"idle"}),o=(0,jt.useRef)(null),a=Y(),n=(0,jt.useCallback)(async(c,{url:l,method:f,param:p}=e)=>{if(o.current?.abort(),!c){r({status:"idle"});return}o.current=new AbortController;let s=o.current.signal;r({status:"loading"});try{let y=await(f==="GET"?a(Xd(l,p,c),{method:f,signal:s,headers:Rs}):a(l,{method:f,signal:s,headers:Rs,body:JSON.stringify({[p]:c})}));i(y,c)}catch(d){m(d,c)}},[a,JSON.stringify(e)]),i=async(c,l)=>{if(c.ok){let f=await c.json().catch(()=>null);if(Kd(f)){r({status:"success",results:f.results});return}}r({status:"error"})},m=(c,l)=>{Jd(c)===!1&&r({status:"error"})},u=t.status==="success"?t.results:[];return{status:t.status,results:u,search:n}},Kd=e=>I(e)&&"results"in e&&B(e.results)&&e.results.every(t=>I(t)&&"title"in t&&"type"in t&&"value"in t),Jd=e=>e instanceof DOMException&&e.name==="AbortError",Xd=(e,t,r)=>{let[o,a]=e.split("?"),n=new URLSearchParams(a);return n.set(t,r),`${o}?${n.toString()}`};var pt=require("react/jsx-runtime"),Yd=400,Zd=({component:e,onAction:t})=>{let[r,o]=(0,Yr.useState)(""),{title:a,margin:n,url:i,method:m,param:u,emptyMessage:c}=e,{status:l,results:f,search:p}=Ns({url:i,method:m,param:u}),s=X(),d=(0,Yr.useMemo)(()=>ze(p,Yd),[p]),y=()=>{s("Dynamic Flow - Search Started",{})},h=b=>{o(b),d(b)},g=({type:b,value:O})=>{if(b==="action"&&(s("Dynamic Flow - Search Result Selected",{type:"action",actionId:O.id||O.$id}),t(O)),b==="search"){o(O.query);let{url:x,method:C,param:v,query:k}=O;s("Dynamic Flow - Search Result Selected",{type:"search"}),p(k,{url:x,method:C,param:v})}},w=()=>{o(r),p(r)};return(0,pt.jsxs)("div",{className:L(n),children:[(0,pt.jsx)(ks,{title:a,value:r,onChange:h,onFocus:y}),l==="loading"&&(0,pt.jsx)(ir,{component:{type:"loading-indicator",size:"sm"}}),l==="error"&&(0,pt.jsx)(Ts,{onRetrySearch:w}),l==="success"&&(0,pt.jsx)(Ls,{results:f,emptyMessage:c,onSelect:g})]})},Sa=Zd;var ie=require("react/jsx-runtime"),wa=e=>P(e)||W(e),Qd=e=>e.type==="boolean"&&wa(e.default)?!1:e.default,js=e=>{let t=S=>{p(!0),o(a(S),"user")},r=S=>Ue(S,e.schema,e.required),o=(S,V)=>{u(S);let H=r(S);w(H);let G=S;l(G),G!==c&&e.onChange({model:G,triggerSchema:e.schema,triggerModel:G,lastTriggerModel:c,type:V})},a=S=>Ve(S,e.schema),n=()=>d(!0),i=()=>{d(!1),h(!0),e.onBlur&&e.onBlur()},[m,u]=(0,ne.useState)(e.model??null),[c,l]=(0,ne.useState)(e.model??null),[f,p]=(0,ne.useState)(!1),[s,d]=(0,ne.useState)(!1),[y,h]=(0,ne.useState)(!1),[g,w]=(0,ne.useState)([]),b=(0,ne.useMemo)(()=>e.schema.$id||Fe(),[e.schema.$id]),O=()=>{let S=Qd(e.schema);wa(m)&&!wa(S)&&o(S,"init"),e.schema.const&&o(e.schema.const,"init")},x=()=>{w(r(m))},C=e.schema.const,v=e.schema.hidden||C;(0,ne.useEffect)(x,[e.model,e.submitted]),(0,ne.useEffect)(O,[e.schema]),(0,ne.useEffect)(()=>{let S=e.model??null;S!==m&&u(S)},[e.model]);let k={"form-group":!0,"has-error":(e.submitted||!f)&&!!e.errors||(e.submitted||f&&y)&&!!g.length,"has-info":s&&!!e.schema.description||!!e.infoMessage},A=e.schema.format!=="file"&&e.schema.type!=="boolean",D=e.schema.help,z=`${b}-feedback`;return v?null:(0,ie.jsxs)(ie.Fragment,{children:[e.schema.alert&&(0,ie.jsx)(oe,{component:e.schema.alert}),(0,ie.jsxs)("div",{className:(0,Bs.default)(k),children:[A&&(0,ie.jsxs)("div",{className:"d-inline-block",children:[(0,ie.jsx)("label",{className:"control-label d-inline",htmlFor:b,children:e.schema.title}),!!D&&(0,ie.jsx)(Le,{help:D})]}),!A&&!!D&&(0,ie.jsx)(Le,{help:D}),(0,ie.jsx)(tr,{id:b,schema:e.schema,value:m,disabled:!!e.disabled,onChange:t,onFocus:n,onBlur:i,describedBy:z}),(0,ie.jsx)(Ie,{id:z,changed:f,focused:s,blurred:y,submitted:e.submitted,errors:e.errors??null,schema:e.schema,validations:g,infoMessage:e.infoMessage})]})]})};js.defaultProps={required:!1,disabled:!1,onBlur:null};var ct=js;var Hs=require("react/jsx-runtime"),Zo=(e,t)=>t[e],Us=(e,t)=>t.validation?.[e],eu=new Set([R.RADIO,R.SELECT,R.DATELOOKUP,R.FILE,R.UPLOAD]),zs=e=>{let{schema:t,required:r,submitted:o,errors:a,onChange:n,onPersistAsync:i}=e,m=(0,Vs.useIntl)(),u=Y(),c=X(),[l,f]=(0,ft.useState)(null),p=qs(l),[s,d]=(0,ft.useState)(null),[y,h]=(0,ft.useState)(!1),[g,w]=(0,ft.useState)(null);(0,ft.useEffect)(()=>{eu.has(Ko(t.persistAsync.schema))&&C()},[l]);let b=()=>d(m.formatMessage(Xt.genericError)),O=async(A,D)=>{let z=x(),S={[D.param]:A};h(!0);try{c("Dynamic Flow - PersistAsync",{status:"pending",schemaId:t.$id});let V=u(D.url,{method:D.method,headers:{"Content-Type":"application/json"},body:JSON.stringify(S),signal:z});i(V);let H=await V,G=await H.json();if(!I(G))throw new Error("Response is not an object");let{idProperty:Ht,param:qt}=t.persistAsync;if(Ka(H.status)){let Oe=Zo(Ht,G);n({model:Oe,triggerSchema:t,triggerModel:Oe})}else if(br(H.status)){let{validation:Oe}=G,Ye=I(Oe)&&Oe?.[qt]||null;d(Ye),n({model:null,triggerSchema:t,triggerModel:null})}else b();c("Dynamic Flow - PersistAsync",{status:"success",schemaId:t.$id})}catch{c("Dynamic Flow - PersistAsync",{status:"failure",schemaId:t.$id}),b()}},x=()=>{g&&g.abort();let A=new AbortController;return w(A),A.signal},C=()=>{!P(l)&&!He(l,p)&&O(l,t.persistAsync)},v=()=>{C()},k=({model:A})=>{d(null),U(A,t.persistAsync.schema)&&f(A)};return(0,Hs.jsx)(ct,{required:r,submitted:o||y,schema:t.persistAsync.schema,errors:s||a,model:null,infoMessage:null,onChange:k,onBlur:v})};zs.defaultProps={required:!1};var Xo=zs;var hi=e=>{let[t,r]=(0,Gs.useState)(null),o=Y(),a=(0,$s.useIntl)(),{schema:n}=e;async function i(p){let s=p instanceof Blob?!vt(n):!U(p,n);return(P(p)||s)&&f(),await c(p)}let m=()=>{t&&t.abort();let p=new AbortController;return r(p),p.signal};function u(p){let s=vt(n),d=m(),y=e.param,h=s?tu(y,p):JSON.stringify({[y]:p});return{method:e.method,headers:{...!s&&{"Content-Type":"application/json"}},body:h,signal:d}}async function c(p){try{let s=await o(e.url,u(p));if(!s.ok)return l(s);let d=await s.json();if(I(d)){let y=d[e.idProperty];if(M(y)||T(y))return{data:y}}return f()}catch(s){return f(s)}}async function l(p){if(p.status===422){let s=await p.json();if(I(s)){let d=Us(e.param,s);if(M(d))throw new Error(d)}}throw new Error(a.formatMessage(Xt.genericError))}let f=p=>{let s=ru(p)?p.message:a.formatMessage(Xt.genericError);throw new Error(s)};return i};function tu(e,t){let r=new FormData;return t!==null&&r.append(e,t),r}function ru(e){return I(e)&&"message"in e&&typeof e.message=="string"}var Ke=require("react");function Ir({asyncFn:e,interval:t,maxAttempts:r,maxConsecutiveFails:o,onPollingResponse:a,onFailure:n}){let i=(0,Ke.useRef)(a),m=(0,Ke.useRef)(n),u=(0,Ke.useMemo)(()=>ou(e,r,o,c=>i.current(c),()=>m.current()),[e,r,o]);(0,Ke.useEffect)(()=>{if(t>0){let c=setInterval(()=>{u()},t);return()=>clearInterval(c)}},[u,t]),(0,Ke.useEffect)(()=>{i.current=a,m.current=n},[a,n])}function ou(e,t,r,o,a){let n=!0,i=0,m=0;return e?()=>{n&&(m++,e().then(u=>{i=0,n=o(u)}).catch(()=>{i++}).finally(()=>{(i>=r||m>=t)&&(a(),n=!1)}))}:()=>{}}var Zr=require("react"),qs=e=>{let t=(0,Zr.useRef)();return(0,Zr.useEffect)(()=>{t.current=e},[e]),t.current};var sr=require("react");function _s(e,t){let r=Y(),o=(0,sr.useMemo)(()=>{if(e)return()=>r(e.url).then(n=>{if(n.ok)return n.json().then(i=>i).catch(i=>null);throw new Error("failed")})},[e,r]),a=(0,sr.useCallback)(n=>n?.action?(t(n.action),!1):!0,[t]);Ir({asyncFn:o,interval:1e3*(e?.interval||0),maxAttempts:e?.maxAttempts||0,maxConsecutiveFails:1,onPollingResponse:a,onFailure:(0,sr.useCallback)(()=>{e&&t(e.onError.action)},[t,e])})}var Ws=require("react/jsx-runtime"),au=(e,t)=>{if(wt(e))return[];let r=Gt(e,t);return je({layout:r,schemas:e.schemas||[],actions:e.actions||[],model:e.model??null})},nu=e=>{let{stepSpecification:t,stepLayoutOptions:r,submitted:o,model:a,formErrors:n,onModelChange:i}=e,m=au(t,r),{loading:u,registerPersistAsyncPromise:c}=gr(),l=X(),f=u?()=>{l("Dynamic Flow - onAction supressed",{reason:"LayoutStep - loading state"})}:e.onAction;return _s(t.polling,f),(0,Ws.jsx)(ae,{components:m,submitted:o,model:a,errors:n,onAction:f,onModelChange:i,onPersistAsync:c})},Qr=nu;var ao=require("react");var he=require("react"),hm=require("react-intl"),gm=Be(Ks());var Js=require("react-intl"),lr=(0,Js.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"}});var ye=require("@transferwise/components"),Xs=require("react-intl");var fe=require("react/jsx-runtime"),Ys=({onCapture:e})=>(0,fe.jsx)("div",{className:"bottom-bar",children:(0,fe.jsx)(iu,{onClick:e})}),Zs=({onSubmit:e,onRetry:t})=>{let r=(0,Xs.useIntl)();return(0,fe.jsx)("div",{className:"bottom-bar p-x-2",children:(0,fe.jsx)("div",{className:"row",children:(0,fe.jsxs)("div",{className:"col-xs-12 col-md-6 col-md-offset-3",children:[(0,fe.jsx)(ye.Button,{className:"m-b-1",block:!0,size:ye.Size.MEDIUM,type:ye.ControlType.ACCENT,onClick:e,children:r.formatMessage(lr.reviewSubmit)}),(0,fe.jsx)(ye.Button,{className:"m-b-2",block:!0,size:ye.Size.MEDIUM,type:ye.ControlType.ACCENT,priority:ye.Priority.SECONDARY,onClick:t,children:r.formatMessage(lr.reviewRetry)})]})})})},iu=({onClick:e})=>(0,fe.jsx)("button",{type:"button",className:"camera-capture-btn m-b-2","data-testid":"camera-capture-button",onClick:e,children:(0,fe.jsx)("span",{className:"camera-capture-btn-inner"})});var to=require("react");var Qs=e=>{let{facingMode:t}=eo(e)?.getSettings()||{};return t==="user"||t===void 0},em=e=>!!(e?.label||"").match(/camera2? 0/g),tm=async e=>{let t=document.createElement("canvas");if(e){t.setAttribute("height",`${e.videoHeight}`),t.setAttribute("width",`${e.videoWidth}`);let r=t?.getContext("2d");r&&(await new Promise(o=>setTimeout(o,100)),r.drawImage(e,0,0,t.width,t.height))}return t},rm=async()=>(await navigator?.mediaDevices?.enumerateDevices?.()||[]).filter(e=>e.kind==="videoinput"),om=async()=>(await navigator?.mediaDevices?.enumerateDevices?.()||[]).filter(e=>e.kind==="videoinput").map(e=>e.label),am=async e=>{let t=Ca(e);return(await navigator?.mediaDevices?.enumerateDevices?.()||[]).filter(r=>r.kind==="videoinput").find(r=>r.deviceId===t?.deviceId)?.label},eo=e=>(e?.getVideoTracks?.()||[])[0],Ca=e=>eo(e)?.getCapabilities?.();var nm=e=>{let[t,r]=(0,to.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};(0,to.useEffect)(()=>{a(e).then(r)},[e]);let a=async n=>{if(n==="back"){let i=(await rm()).find(em);if(i?.deviceId)return{...o,deviceId:{exact:i.deviceId}}}return o};return{videoConstraints:t}};var ro=require("react");var _=require("react/jsx-runtime"),su=92,im=120,mu=40,lu=32,cu=48,du=40,sm=800,uu=({overlay:e,outline:t,imageUrl:r,title:o,instructions:a,reviewInstructions:n})=>{let i=(0,ro.useRef)(null);(0,ro.useEffect)(()=>{let p=ze(()=>{if(i.current?.innerHTML){let s=i.current;s.innerHTML+=""}},100);return window.addEventListener("resize",p),()=>window.removeEventListener("resize",p)});let m=(r?mu:0)+(o?lu:0)+(a?cu:0),u=(0,_.jsxs)(_.Fragment,{children:[r&&(0,_.jsx)("img",{className:"camera-capture-img",src:r,alt:""}),o&&(0,_.jsx)("h4",{className:"camera-capture-title",children:o}),a&&(0,_.jsx)("small",{className:"camera-capture-instructions",children:a})]}),c=su+m;if(n){m=c-im,u=(0,_.jsx)("small",{className:"camera-capture-instructions",children:n});let p=im+du;c<p&&(u=(0,_.jsx)(_.Fragment,{}))}let l={x:"50%",y:"5%",width:`min(90%, ${sm}px)`,height:`calc(90% - ${c}px)`,style:{transform:`translateX(max(-45%, -${sm/2}px))`}},f={style:{left:"5%",top:`calc(100% - ${c}px - 5%)`,height:`calc(${m}px + 5%)`,width:"90%"}};return(0,_.jsxs)("svg",{ref:i,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",{href:e,...l})]})}),e&&(0,_.jsx)("rect",{width:"100%",height:"100%",mask:"url(#mask)",fillOpacity:"0.72"}),t&&(0,_.jsx)("image",{href:t,...l}),(0,_.jsx)("foreignObject",{width:"100%",height:"100%",children:(0,_.jsx)("div",{className:"camera-capture-text-and-image-container",...f,children:u})})]})},va=uu;var lm=require("@transferwise/components"),cm=require("react-intl");var mm=require("react-intl"),oo=(0,mm.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"}});var Re=require("react/jsx-runtime"),pu=({onAction:e})=>{let t=(0,cm.useIntl)();return(0,Re.jsx)("div",{id:"no-camera-access",children:(0,Re.jsx)("div",{className:"container p-t-5",children:(0,Re.jsx)("div",{className:"row",children:(0,Re.jsxs)("div",{className:"col-md-6 col-md-offset-3",children:[(0,Re.jsx)("h2",{className:"text-xs-center m-b-3",children:t.formatMessage(oo.title)}),(0,Re.jsx)("p",{className:"text-xs-center m-b-5",children:t.formatMessage(oo.paragraph)}),(0,Re.jsx)(lm.Button,{block:!0,onClick:e,children:t.formatMessage(oo.action)})]})})})})},xa=pu;var um=require("react-intl");var dm=require("react-intl"),Aa=(0,dm.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"}});var Je=require("react/jsx-runtime"),fu=()=>{let e=(0,um.useIntl)();return(0,Je.jsx)("div",{id:"camera-not-supported",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:e.formatMessage(Aa.title)}),(0,Je.jsx)("p",{className:"text-xs-center m-b-5",children:e.formatMessage(Aa.paragraph)})]})})})})},Oa=fu;var pm=e=>e?.("Dynamic Flow - Camera Permission Denied",{}),fm=async(e,t,r)=>e?.("Dynamic Flow - Camera Feed Started",await yu(t,r)),ym=(e,t)=>e?.("Dynamic Flow - Camera Not Supported",{Error:t}),yu=async(e,t)=>{let r=eo(t),o=Ca(t),a=r?.getSettings?.();return{...r&&{"Available Video Devices (by label)":await om(),"Active Video Device (by label)":await am(t),"Camera Capabilities":o,"Camera Settings":a},"Camera Direction (Asked)":e?.direction}};var Z=require("react/jsx-runtime"),hu=({direction:e="back",overlay:t="",outline:r="",imageUrl:o="",title:a="",instructions:n="",showReview:i=!1,onCapture:m,onEvent:u})=>{let[c,l]=(0,he.useState)("CAPTURE"),[f,p]=(0,he.useState)(!1),[s,d]=(0,he.useState)(!1),[y,h]=(0,he.useState)(),g=(0,he.useRef)(null),{videoConstraints:w}=nm(e),b=(0,hm.useIntl)(),O=(0,he.useCallback)(async()=>{g?.current?.video&&g?.current?.video?.readyState>=3&&(g?.current?.video?.pause(),(await tm(g?.current?.video))?.toBlob(V=>{if(V)if(i){let H=window.URL.createObjectURL(V);h({source:H,blob:V}),l("REVIEW")}else m(V)},"image/jpeg",.92))},[g,i,h,l,m,f]),x=(0,he.useCallback)(S=>{if(S instanceof DOMException&&S?.name==="NotAllowedError"){l("NO_CAMERA_ACCESS"),pm(u);return}l("CAMERA_NOT_SUPPORTED"),ym(u,S)},[l,u]),C=(0,he.useCallback)(S=>{d(!0),p(Qs(S)),fm(u,{direction:e},S)},[p,u,e]),v=()=>{m(y?.blob||null)},k=()=>{l("CAPTURE"),h(void 0)},A=()=>l("CAPTURE"),D=(0,Z.jsxs)(Z.Fragment,{children:[w&&(0,Z.jsx)(gm.default,{ref:g,audio:!1,videoConstraints:w,mirrored:f,onUserMediaError:x,onUserMedia:C}),(0,Z.jsx)(va,{overlay:t,outline:r,imageUrl:o,title:a,instructions:n}),s&&(0,Z.jsx)(Ys,{onCapture:()=>void O()})]}),z=(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("img",{className:"review-image",src:y?.source,alt:""}),(0,Z.jsx)(va,{overlay:t,imageUrl:o,title:a,instructions:n,reviewInstructions:b.formatMessage(lr.reviewInstructions)}),(0,Z.jsx)(Zs,{onSubmit:v,onRetry:k})]});return(0,Z.jsxs)("section",{className:"camera-capture",children:[c==="CAPTURE"&&D,c==="REVIEW"&&z,c==="NO_CAMERA_ACCESS"&&(0,Z.jsx)(xa,{onAction:A}),c==="CAMERA_NOT_SUPPORTED"&&(0,Z.jsx)(Oa,{})]})},Pa=hu;var bm=require("react/jsx-runtime");function gu(e){return new Promise((t,r)=>{let o=new FileReader;o.onloadend=()=>t(o.result),o.readAsDataURL(e)})}var Su=e=>{let{step:t,model:r,onModelChange:o,onAction:a}=e,n=X(),i=Sm(t),m=bu(t),u=wu(t),{title:c,image:l,cameraConfig:f}=m,{assets:p,direction:s,instructions:d}=f||{},{overlay:y,outline:h}=p||{},{url:g}=l||{},[w,b]=(0,ao.useState)(!1);(0,ao.useEffect)(()=>{w&&a(u)},[r]);let O=async x=>{let{$id:C}=m;if(x){let v=await gu(x),k={[C||""]:v};b(!0),o({model:k,formSchema:i,triggerModel:v,triggerSchema:m})}};return(0,bm.jsx)(Pa,{overlay:y,outline:h,title:c,imageUrl:g,instructions:d,direction:s,onEvent:n,onCapture:x=>{O(x)}})},no=Su;function Sm(e){let r=Er(e.schemas||[])[0];if(!r||!we(r))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...");return r}function bu(e){let t=Sm(e),r=Object.values(t.properties)[0];if(!r)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...");return r}function wu(e){if(!e.schemas||Er(e.schemas)?.length!==1)throw new Error("camera step expects 1 non-hidden object schema");if(e?.actions?.length!==1)throw new Error("camera step expects 1 action");return e.actions[0]}var Cm=require("react-intl");var wm=require("react-intl"),cr=(0,wm.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."}});var vm=require("react/jsx-runtime"),Fm=()=>{},Fu=({url:e,onClose:t})=>{let{formatMessage:r}=(0,Cm.useIntl)();return(0,vm.jsx)(ae,{components:[{type:"box",width:"lg",components:[{type:"heading",text:r(cr.title),size:"lg",align:"center",margin:"xl"},{type:"info",markdown:r(cr.description,{origin:Cu(e)}),align:"center",margin:"xl"},{type:"box",width:"md",components:[{type:"button",action:{title:r(cr.open),type:"primary",url:e,exit:!0}},{type:"button",action:{title:r(cr.cancel),type:"link",url:"",exit:!0}}]}]}],submitted:!1,onAction:o=>{o.url&&window.open(o.url,"_blank"),t()},onModelChange:Fm,onPersistAsync:Fm})},io=Fu;function Cu(e){try{return new URL(e).origin}catch{return e}}var xm=require("@transferwise/components"),Am=require("@transferwise/icons"),Vt=require("react/jsx-runtime"),vu=({title:e,action:t,onAction:r})=>(0,Vt.jsxs)("a",{onClick:o=>{o.preventDefault(),r({...t,skipValidation:!0})},href:"/",className:"df-back-btn","aria-label":e,children:[(0,Vt.jsx)("span",{className:"sr-only",children:e}),(0,Vt.jsx)(xm.Avatar,{type:"icon",children:(0,Vt.jsx)(Am.ArrowLeft,{size:"24"})})]}),Om=vu;var Ae=require("react/jsx-runtime"),Vr=e=>{let{step:t,globalError:r,onAction:o}=e,a=t?.external?.url,n=t?.navigation?.back||t?.navigation?.backButton,{requiresManualTrigger:i,dismissConfirmation:m}=Mn(a);return t===void 0?null:a&&i?(0,Ae.jsx)(io,{url:a,onClose:m}):xn(t)?(0,Ae.jsx)(no,{...e,step:t}):(0,Ae.jsxs)(Ae.Fragment,{children:[n&&(0,Ae.jsx)(Om,{...n,onAction:o}),r?(0,Ae.jsx)(oe,{component:{context:"negative",markdown:r,margin:"lg"}}):null,(0,Ae.jsx)(Qr,{...e,stepSpecification:t})]})};var Pm=require("react");var xu=1e3;function Mm(e){let t=(0,Pm.useRef)(new Map),r=o=>{if(t.current.has(o))return t.current.get(o);let a=ze((n,i,m)=>e(n,i,m),xu);return t.current.set(o,a),a};return function(o,a,n,i){let m=r(o);m(o,a,n),(!i||!Au(i))&&m.flush()}}var Au=e=>tt(e)==="basic"&&e.type!=="boolean"&&e.format!=="base64url";var Ut=require("react");var Im=e=>{let[t,r]=(0,Ut.useState)(e?.errors?.validation),[o,a]=(0,Ut.useState)(e?.errors?.error),[n,i]=(0,Ut.useState)({step:e||void 0,models:e?.model?Em(e.model,km(e)):{},etag:void 0}),{step:m,models:u,etag:c}=n,l=(s,d)=>{i(y=>({step:s,models:s.model?Em(s.model,km(s)):y.models,etag:d})),r(s?.errors?.validation??null),a(s?.errors?.error??null)},f=(s,d,y)=>{i(h=>{let g={...h.models,[s]:d},w={step:h.step,models:g,etag:h.etag};return y(g),w})},p=(0,Ut.useMemo)(()=>Pu(u,Ou(m)),[u,m]);return{formErrors:t,globalError:o,step:m,models:u,etag:c,modelIsValid:p,setFormErrors:r,setGlobalError:a,setStepAndEtag:l,setSchemaModel:f}},Em=(e,t=[])=>t.reduce((r,o)=>(o.$id||console.warn("Schema without $id property found."),{...r,[o.$id||""]:re(e,o)||{}}),{}),km=e=>[...so(e?.layout||[]),...e?.schemas||[]],so=e=>e.flatMap(t=>{switch(t.type){case"columns":return[...so([...t.left,...t.right])];case"box":return so(t.components);case"form":return Dm(t.schema)?[t.schema]:[];default:return[]}}),Ou=e=>[...Ma(e?.layout||[]).map(t=>(e?.schemas||[]).find(r=>r.$id===t)).filter(Boolean),...so(e?.layout||[])],Ma=e=>e.flatMap(t=>{switch(t.type){case"columns":return[...Ma([...t.left,...t.right])];case"box":return Ma(t.components);case"form":return[Mu(t)];default:return[]}}).filter(Boolean),Pu=(e,t=[])=>!t?.some(r=>(r.$id||console.warn("Schema without $id property found."),!U(e[r.$id||""]||{},r))),Mu=e=>e.schema&&!Dm(e.schema)?e.schema.$ref:e.schemaId,Dm=e=>e!==void 0&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"$ref")===!1;var mo=require("@transferwise/components"),Lm=require("react"),Rm=require("react/jsx-runtime");function Tm(e,t){let r={size:mo.Size.EXTRA_LARGE,initial:!0,submission:!1,...e},[o,a]=(0,Lm.useState)(t),i=r.initial&&o==="initial"||r.submission&&o==="submission"?(0,Rm.jsx)(mo.Loader,{size:r.size,classNames:{"tw-loader":"tw-loader m-x-auto"},"data-testid":"loader"}):null;return{isLoading:o!=="idle",setLoadingState:a,loader:i}}var Vm=require("react");var lo=require("@transferwise/components"),Nm=require("react-intl");var jm=require("react/jsx-runtime"),Bm=({onDismiss:e})=>{let{formatMessage:t}=(0,Nm.useIntl)();return(0,jm.jsx)(lo.Alert,{action:{text:t(Bt.retry),href:window.location.href},message:t(Bt.errorAlert),type:lo.Sentiment.NEGATIVE,className:"m-b-3",onDismiss:e})};var zt=require("react/jsx-runtime"),Eu=()=>{},Ea=class extends Vm.Component{constructor(r){super(r);this.handleErrorReset=()=>{this.setState({hasError:!1,isFatalError:!1})};this.state={hasError:!1,isFatalError:!1}}static getDerivedStateFromError(){return{hasError:!0,isFatalError:!0}}componentDidCatch(r){let{onError:o=Eu}=this.props;o(r)}render(){let{children:r}=this.props,{hasError:o,isFatalError:a}=this.state;return(0,zt.jsxs)(zt.Fragment,{children:[o&&(0,zt.jsx)(Bm,{onDismiss:this.handleErrorReset}),!a&&r]})}},ka=Ea;var Um=async(e,t)=>{switch(t){case"step":return zm(e);case"exit":return qm(e);case"action":return Hm(e);default:throw new Error("Unsupported X-Df-Response-Type. Allowed values are 'step', 'action', 'exit'.")}},zm=async e=>{let t=await dr(e);if(!I(t))throw new Error("Incorrect response body in response. Expected an object.");let r=e.headers.get("etag")||void 0;return{type:"step",step:t,etag:r}},Hm=async e=>{let t=await dr(e);if(!I(t))throw new Error("Incorrect response body in response. Expected an object.");if(!I(t.action))throw new Error("Incorrect response body in action response. Expected an object satisfying the type { action: Action }.");let r=t.action;return r.exit===!0&&I(r.result)?{type:"exit",result:r.result}:{type:"action",action:t.action}},qm=async e=>({type:"exit",result:await Ia(e)}),Gm=async e=>{if(Da(e),e.headers?.has("X-Df-Response-Type")){let r=e.headers.get("X-Df-Response-Type");return Um(e,r)}if(e.headers?.has("X-Df-ResponseType")){let r=e.headers.get("X-Df-ResponseType");return Um(e,r)}if(e.headers?.has("X-Df-Exit"))return qm(e);let t=await dr(e.clone());return I(t)&&t.action?Hm(e):zm(e)},$m=async e=>{Da(e);let t=await dr(e);if(!I(t))throw new Error("Incorrect response body in error response. Expected an object.");if(!t.refreshFormUrl&&!t.refreshUrl&&!t.validation&&!t.error)throw t;return t},Ia=async e=>{Da(e);let t=await dr(e);return I(t)?t:null},dr=async e=>{try{return await e.json()}catch{return null}},Da=e=>{if(!ku(e))throw new Error("Incorrect type of response from fetch. Expected object of type Response.");if(e.bodyUsed)throw new Error("The body of the provided Response object has already been used. Every request must respond with a new Response object.")},ku=e=>typeof e=="object"&&e!==null&&"clone"in e&&"bodyUsed"in e;var Xe=require("react/jsx-runtime"),_m=()=>{},Iu=({flowId:e,httpClient:t,initialAction:r,initialStep:o,loaderConfig:a,displayStepTitle:n=!0,onCompletion:i,onError:m,onEvent:u=_m,onLog:c=_m})=>{let{locale:l}=(0,Wm.useIntl)(),{formErrors:f,globalError:p,step:s,models:d,etag:y,modelIsValid:h,setFormErrors:g,setGlobalError:w,setStepAndEtag:b,setSchemaModel:O}=Im(o),[x,C]=(0,ge.useState)(!1),{isLoading:v,loader:k,setLoadingState:A}=Tm(a,o?"idle":"initial"),D=Qe("critical",c,e,s?.id||s?.key),z=(0,ge.useMemo)(()=>({flowId:e,stepId:s?.id||s?.key,...s?.analytics??{}}),[e,s]),S=(0,ge.useMemo)(()=>ho(u,z),[u,z]),V=(0,ge.useCallback)(({action:F,data:N,etag:E})=>{let{url:Q,method:Ne="POST"}=F;return t(Q??"",{method:Ne,headers:{"accept-language":l,"Content-Type":"application/json",...E?{"If-None-Match":E}:{}},credentials:"include",body:Ne==="GET"?void 0:JSON.stringify(N)})},[t,l]),H=async(F,N={})=>{A(s?"submission":"initial"),S("Dynamic Flow - Step Submitted",{actionId:F.id||F.$id});try{let E=await V({action:F,data:N});await Ra(E,"submission")}catch(E){ur(E,"Error fetching next step")}},G=async(F,N,E)=>{A("refresh"),S("Dynamic Flow - Step Refreshed",{status:"pending"});try{let Q=await V({action:{url:F,method:"POST"},data:N,etag:E});await Ra(Q,"refresh")}catch(Q){ur(Q,"Error fetching refresh step")}},Ht=async(F,N)=>{A("submission");try{let E=await V({action:F,data:N});await qt(E,F.result)}catch(E){ur(E,"Error fetching exit result")}},qt=async(F,N)=>{let E=await Ia(F);Ye({...E,...N})},Oe=Mm(G),Ye=(0,ge.useCallback)(F=>{S("Dynamic Flow - Flow Finished",{result:"success"}),i(F)},[i,S]);(0,ge.useEffect)(()=>{S("Dynamic Flow - Flow Started",{})},[]),(0,ge.useEffect)(()=>{if(!o){let F={id:"#initial-step-request",method:"GET",...r};H(F,F.data)}},[t,l,JSON.stringify(o),JSON.stringify(r)]);let Ra=async(F,N)=>{try{if(F.status===304){A("idle");return}if(!F.ok){let Q=await $m(F);dl(Q);return}let E=await Gm(F);E.type==="action"?H(E.action,E.action.data):E.type==="exit"?Ye(E.result):cl(E.step,E.etag,N)}catch(E){return ur(E,"Error parsing fetch response",N,F.status)}},cl=(F,N,E)=>{b(F,N),A("idle"),E==="submission"?(C(!1),S("Dynamic Flow - Step Started",{stepId:F.id||F.key,...F?.analytics})):S("Dynamic Flow - Step Refreshed",{status:"success"})},dl=async F=>{let N=F.refreshUrl||F.refreshFormUrl;N&&await G(N,co(d),y),F.validation&&g(F.validation),F.error&&w(F.error),A("idle")},ur=(F,N,E,Q)=>{D("Error fetching",N),E==="refresh"&&S("Dynamic Flow - Step Refreshed",{status:"failure"}),S("Dynamic Flow - Flow Finished",{status:"failure"}),m(F,Q),A("idle")},ul=F=>{let{model:N,formSchema:E}=F,{$id:Q=""}=E;w(null),q(N)||D("Invalid model on change","onModelChange was called but the model argument is not an object"),O(Q,N,yt=>{pl(F,yt)})},pl=(F,N)=>{let{triggerSchema:E}=F;if(Tu(F)){let Q=E.refreshUrl||E.refreshFormUrl,Ne=s?.refreshUrl||s?.refreshFormUrl,yt=Q||Ne;yt&&Oe(yt,co(N),y,E)}},fl=async F=>{if(v||F.disabled)return;if(F.exit&&!F.url){Ye(F.result);return}let N=F.exit?Ht:H,{data:E,method:Q,skipValidation:Ne}=F,yt={...co(d),...E};Lu(Q)?(g(null),Ne||C(!0),(h||Ne)&&await N(F,yt)):await N(F)};return(0,Xe.jsx)(Ar,{flowId:e,stepId:s?.id||s?.key,onLog:c,children:(0,Xe.jsx)(Sr,{metadata:z,onEvent:u,children:(0,Xe.jsx)(Ga,{loading:v,children:(0,Xe.jsx)(Ja,{httpClient:t,children:k!==null?k:(0,Xe.jsx)(Vr,{step:s,model:co(d),submitted:x,globalError:p,formErrors:f,stepLayoutOptions:{displayStepTitle:n},onAction:F=>{fl(F)},onModelChange:ul})})})})})},Du=e=>(0,Xe.jsx)(ka,{onError:e.onError,children:(0,Xe.jsx)(Iu,{...e})}),La=Du,co=e=>Object.values(e).reduce((t,r)=>({...t,...r}),{}),Lu=(e="POST")=>["POST","PUT","PATCH"].includes(e.toUpperCase()),Tu=e=>{let{type:t,triggerSchema:r,triggerModel:o,lastTriggerModel:a=null}=e,n=()=>U(o,r),i=()=>U(a,r),m=r?.refreshStepOnChange||r?.refreshFormOnChange;return t!=="init"&&m&&(n()||i())};var Km={"dynamicFlows.ArraySchema.addItem":"Speichern","dynamicFlows.ArraySchema.addItemTitle":"Artikel hinzuf\xFCgen","dynamicFlows.ArraySchema.editItem":"Speichern","dynamicFlows.ArraySchema.maxItemsError":"Bitte f\xFCge {maxItems} oder weniger hinzu.","dynamicFlows.ArraySchema.minItemsError":"Bitte f\xFCge mindestens {minItems} hinzu.","dynamicFlows.ArraySchema.removeItem":"Entfernen","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"};var Jm={"dynamicFlows.ArraySchema.addItem":"Save","dynamicFlows.ArraySchema.addItemTitle":"Add Item","dynamicFlows.ArraySchema.editItem":"Save","dynamicFlows.ArraySchema.maxItemsError":"Please add {maxItems} or fewer.","dynamicFlows.ArraySchema.minItemsError":"Please add at least {minItems}.","dynamicFlows.ArraySchema.removeItem":"Remove","dynamicFlows.CameraCapture.CameraNotSupported.paragraph":"The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.","dynamicFlows.CameraCapture.CameraNotSupported.title":"Camera not supported","dynamicFlows.CameraCapture.NoCameraAccess.action":"Enable camera access","dynamicFlows.CameraCapture.NoCameraAccess.paragraph":"Enable camera access in your browser's settings to get going again.","dynamicFlows.CameraCapture.NoCameraAccess.title":"We can't access your camera","dynamicFlows.CameraCapture.reviewInstructions":"Is your picture clear, readable and complete?","dynamicFlows.CameraCapture.reviewRetry":"No, try again","dynamicFlows.CameraCapture.reviewSubmit":"Yes, submit","dynamicFlows.ControlFeedback.maxLength":"Please enter {maxLength} or fewer characters.","dynamicFlows.ControlFeedback.maximum":"Please enter a number that's {maximum} or less.","dynamicFlows.ControlFeedback.maximumDate":"Please enter a date that's on or before {maximum}.","dynamicFlows.ControlFeedback.minLength":"Please enter at least {minLength} characters.","dynamicFlows.ControlFeedback.minimum":"Please enter a number that's {minimum} or more.","dynamicFlows.ControlFeedback.minimumDate":"Please enter a date that's on or after {minimum}.","dynamicFlows.ControlFeedback.pattern":"Please enter this in the correct format.","dynamicFlows.ControlFeedback.patternDate":"Please enter a date in the corrrect format.","dynamicFlows.ControlFeedback.required":"Please fill out this field.","dynamicFlows.ControlFeedback.type":"Incorrect type","dynamicFlows.DynamicExternal.retryTitle":"Reopen window","dynamicFlows.DynamicParagraph.copied":"Copied to clipboard","dynamicFlows.DynamicParagraph.copy":"Copy","dynamicFlows.ErrorBoundary.errorAlert":"Oops. Something went wrong...","dynamicFlows.ErrorBoundary.retry":"Retry","dynamicFlows.ExternalConfirmation.cancel":"Cancel","dynamicFlows.ExternalConfirmation.description":"Please confirm you want to open **{origin}** in a new browser tab.","dynamicFlows.ExternalConfirmation.open":"Open in new tab","dynamicFlows.ExternalConfirmation.title":"Please confirm","dynamicFlows.Help.ariaLabel":"Click here for more info.","dynamicFlows.MultipleFileUploadSchema.maxFileSizeError":"Sorry, that file is too big. Please upload a smaller file.","dynamicFlows.MultipleFileUploadSchema.maxItemsError":"Please upload {maxItems} or fewer files.","dynamicFlows.MultipleFileUploadSchema.minItemsError":"Please upload at least {minItems} file(s).","dynamicFlows.PersistAsyncSchema.genericError":"Something went wrong, please try again later!","dynamicFlows.ReadOnlySchema.no":"No","dynamicFlows.ReadOnlySchema.yes":"Yes"};var Xm={"dynamicFlows.ArraySchema.addItem":"Guardar","dynamicFlows.ArraySchema.addItemTitle":"A\xF1adir elemento","dynamicFlows.ArraySchema.editItem":"Guardar","dynamicFlows.ArraySchema.maxItemsError":"A\xF1ade {maxItems} o menos.","dynamicFlows.ArraySchema.minItemsError":"A\xF1ade al menos {minItems}.","dynamicFlows.ArraySchema.removeItem":"Eliminar","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"};var Ym={"dynamicFlows.ArraySchema.addItem":"Enregistrer","dynamicFlows.ArraySchema.addItemTitle":"Ajouter un \xE9l\xE9ment","dynamicFlows.ArraySchema.editItem":"Enregistrer","dynamicFlows.ArraySchema.maxItemsError":"Veuillez ajouter {maxItems} ou moins.","dynamicFlows.ArraySchema.minItemsError":"Veuillez ajouter au moins {minItems}.","dynamicFlows.ArraySchema.removeItem":"Supprimer","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"};var Zm={"dynamicFlows.ArraySchema.addItem":"Ment\xE9s","dynamicFlows.ArraySchema.addItemTitle":"Elem hozz\xE1ad\xE1sa","dynamicFlows.ArraySchema.editItem":"Ment\xE9s","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.ArraySchema.removeItem":"Elt\xE1vol\xEDt\xE1sra","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"};var Qm={"dynamicFlows.ArraySchema.addItem":"Simpan","dynamicFlows.ArraySchema.addItemTitle":"Tambahkan Item","dynamicFlows.ArraySchema.editItem":"Simpan","dynamicFlows.ArraySchema.maxItemsError":"Harap tambahkan {maxItems} atau kurang.","dynamicFlows.ArraySchema.minItemsError":"Harap tambahkan setidaknya {minItems}.","dynamicFlows.ArraySchema.removeItem":"Hapus","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"};var el={"dynamicFlows.ArraySchema.addItem":"Salva","dynamicFlows.ArraySchema.addItemTitle":"Aggiungi elemento","dynamicFlows.ArraySchema.editItem":"Salva","dynamicFlows.ArraySchema.maxItemsError":"Aggiungi al massimo {maxItems}.","dynamicFlows.ArraySchema.minItemsError":"Aggiungi almeno {minItems}.","dynamicFlows.ArraySchema.removeItem":"Rimuovi","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"};var tl={"dynamicFlows.ArraySchema.addItem":"\u4FDD\u5B58\u3059\u308B","dynamicFlows.ArraySchema.addItemTitle":"\u30A2\u30A4\u30C6\u30E0\u3092\u8FFD\u52A0\u3059\u308B","dynamicFlows.ArraySchema.editItem":"\u4FDD\u5B58\u3059\u308B","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.ArraySchema.removeItem":"\u524A\u9664\u3059\u308B","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"};var rl={"dynamicFlows.ArraySchema.addItem":"Zapisz","dynamicFlows.ArraySchema.addItemTitle":"Dodaj pozycj\u0119","dynamicFlows.ArraySchema.editItem":"Zapisz","dynamicFlows.ArraySchema.maxItemsError":"Prosimy doda\u0107 maksymalnie {maxItems}.","dynamicFlows.ArraySchema.minItemsError":"Prosimy doda\u0107 co najmniej {minItems}.","dynamicFlows.ArraySchema.removeItem":"Usu\u0144","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"};var ol={"dynamicFlows.ArraySchema.addItem":"Salvar","dynamicFlows.ArraySchema.addItemTitle":"Add Item","dynamicFlows.ArraySchema.editItem":"Salvar","dynamicFlows.ArraySchema.maxItemsError":"Adicione {maxItems} ou menos.","dynamicFlows.ArraySchema.minItemsError":"Adicione pelo menos {minItems}.","dynamicFlows.ArraySchema.removeItem":"Remover","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"};var al={"dynamicFlows.ArraySchema.addItem":"Salvare","dynamicFlows.ArraySchema.addItemTitle":"Adaug\u0103 produs","dynamicFlows.ArraySchema.editItem":"Salvare","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.ArraySchema.removeItem":"Elimin\u0103","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"};var nl={"dynamicFlows.ArraySchema.addItem":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C","dynamicFlows.ArraySchema.addItemTitle":"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0443\u043D\u043A\u0442","dynamicFlows.ArraySchema.editItem":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C","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.ArraySchema.removeItem":"\u0423\u0434\u0430\u043B\u0438\u0442\u044C","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"};var il={"dynamicFlows.ArraySchema.addItem":"\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01","dynamicFlows.ArraySchema.addItemTitle":"Add Item","dynamicFlows.ArraySchema.editItem":"\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01","dynamicFlows.ArraySchema.maxItemsError":"\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21 {maxItems} \u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32","dynamicFlows.ArraySchema.minItemsError":"\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minItems}","dynamicFlows.ArraySchema.removeItem":"\u0E25\u0E1A","dynamicFlows.CameraCapture.CameraNotSupported.paragraph":"\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C\u0E17\u0E35\u0E48\u0E04\u0E38\u0E13\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E23\u0E2D\u0E07\u0E23\u0E31\u0E1A\u0E01\u0E25\u0E49\u0E2D\u0E07 \u0E43\u0E2B\u0E49\u0E25\u0E2D\u0E07\u0E43\u0E0A\u0E49\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C\u0E41\u0E25\u0E30\u0E2D\u0E38\u0E1B\u0E01\u0E23\u0E13\u0E4C\u0E2D\u0E37\u0E48\u0E19 \u0E2B\u0E23\u0E37\u0E2D\u0E14\u0E32\u0E27\u0E19\u0E4C\u0E42\u0E2B\u0E25\u0E14\u0E41\u0E2D\u0E1B\u0E21\u0E37\u0E2D\u0E16\u0E37\u0E2D\u0E02\u0E2D\u0E07\u0E40\u0E23\u0E32\u0E14\u0E39","dynamicFlows.CameraCapture.CameraNotSupported.title":"\u0E44\u0E21\u0E48\u0E23\u0E2D\u0E07\u0E23\u0E31\u0E1A\u0E01\u0E25\u0E49\u0E2D\u0E07","dynamicFlows.CameraCapture.NoCameraAccess.action":"\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E0A\u0E49\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E01\u0E25\u0E49\u0E2D\u0E07","dynamicFlows.CameraCapture.NoCameraAccess.paragraph":"\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E01\u0E25\u0E49\u0E2D\u0E07\u0E43\u0E19\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E40\u0E23\u0E34\u0E48\u0E21\u0E15\u0E49\u0E19\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07","dynamicFlows.CameraCapture.NoCameraAccess.title":"\u0E40\u0E23\u0E32\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E01\u0E25\u0E49\u0E2D\u0E07\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E44\u0E14\u0E49","dynamicFlows.CameraCapture.reviewInstructions":"\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E0A\u0E31\u0E14\u0E40\u0E08\u0E19 \u0E2D\u0E48\u0E32\u0E19\u0E44\u0E14\u0E49 \u0E41\u0E25\u0E30\u0E04\u0E23\u0E1A\u0E16\u0E49\u0E27\u0E19\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48","dynamicFlows.CameraCapture.reviewRetry":"\u0E44\u0E21\u0E48 \u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E17\u0E31\u0E49\u0E07","dynamicFlows.CameraCapture.reviewSubmit":"\u0E43\u0E0A\u0E48 \u0E2A\u0E48\u0E07\u0E40\u0E25\u0E22","dynamicFlows.ControlFeedback.maxLength":"\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19 {maxLength} \u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32","dynamicFlows.ControlFeedback.maximum":"\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 {maximum} \u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32","dynamicFlows.ControlFeedback.maximumDate":"\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E15\u0E23\u0E07\u0E1E\u0E2D\u0E14\u0E35\u0E2B\u0E23\u0E37\u0E2D\u0E01\u0E48\u0E2D\u0E19 {maximum}","dynamicFlows.ControlFeedback.minLength":"\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minLength} \u0E15\u0E31\u0E27","dynamicFlows.ControlFeedback.minimum":"\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 {minimum} \u0E2B\u0E23\u0E37\u0E2D\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32","dynamicFlows.ControlFeedback.minimumDate":"\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E15\u0E23\u0E07\u0E1E\u0E2D\u0E14\u0E35\u0E2B\u0E23\u0E37\u0E2D\u0E2B\u0E25\u0E31\u0E07 {minimum}","dynamicFlows.ControlFeedback.pattern":"\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E43\u0E19\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07","dynamicFlows.ControlFeedback.patternDate":"\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E43\u0E19\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07","dynamicFlows.ControlFeedback.required":"\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E43\u0E19\u0E0A\u0E48\u0E2D\u0E07\u0E19\u0E35\u0E49","dynamicFlows.ControlFeedback.type":"\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07","dynamicFlows.DynamicExternal.retryTitle":"\u0E40\u0E1B\u0E34\u0E14\u0E2B\u0E19\u0E49\u0E32\u0E15\u0E48\u0E32\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07","dynamicFlows.DynamicParagraph.copied":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14","dynamicFlows.DynamicParagraph.copy":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01","dynamicFlows.ErrorBoundary.errorAlert":"\u0E2D\u0E4A\u0E30 \u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E1A\u0E32\u0E07\u0E2D\u0E22\u0E48\u0E32\u0E07...","dynamicFlows.ErrorBoundary.retry":"\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07","dynamicFlows.ExternalConfirmation.cancel":"\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01","dynamicFlows.ExternalConfirmation.description":"\u0E42\u0E1B\u0E23\u0E14\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E27\u0E48\u0E32\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E34\u0E14 **{origin}** \u0E40\u0E1B\u0E47\u0E19\u0E41\u0E17\u0E47\u0E1A\u0E43\u0E2B\u0E21\u0E48\u0E43\u0E19\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C","dynamicFlows.ExternalConfirmation.open":"\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E19\u0E41\u0E17\u0E47\u0E1A\u0E43\u0E2B\u0E21\u0E48","dynamicFlows.ExternalConfirmation.title":"\u0E42\u0E1B\u0E23\u0E14\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19","dynamicFlows.Help.ariaLabel":"\u0E04\u0E25\u0E34\u0E01\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E39\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21","dynamicFlows.MultipleFileUploadSchema.maxFileSizeError":"\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E44\u0E1F\u0E25\u0E4C\u0E19\u0E31\u0E49\u0E19\u0E43\u0E2B\u0E0D\u0E48\u0E40\u0E01\u0E34\u0E19\u0E44\u0E1B \u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14\u0E44\u0E1F\u0E25\u0E4C\u0E17\u0E35\u0E48\u0E21\u0E35\u0E02\u0E19\u0E32\u0E14\u0E40\u0E25\u0E47\u0E01\u0E25\u0E07","dynamicFlows.MultipleFileUploadSchema.maxItemsError":"\u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14 {maxItems} \u0E44\u0E1F\u0E25\u0E4C\u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32","dynamicFlows.MultipleFileUploadSchema.minItemsError":"\u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minItems} \u0E44\u0E1F\u0E25\u0E4C","dynamicFlows.PersistAsyncSchema.genericError":"\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E42\u0E1B\u0E23\u0E14\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E20\u0E32\u0E22\u0E2B\u0E25\u0E31\u0E07!","dynamicFlows.ReadOnlySchema.no":"\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48","dynamicFlows.ReadOnlySchema.yes":"\u0E43\u0E0A\u0E48"};var sl={"dynamicFlows.ArraySchema.addItem":"Kaydet","dynamicFlows.ArraySchema.addItemTitle":"Add Item","dynamicFlows.ArraySchema.editItem":"Kaydet","dynamicFlows.ArraySchema.maxItemsError":"L\xFCtfen {maxItems} veya daha az ekleme yap\u0131n","dynamicFlows.ArraySchema.minItemsError":"L\xFCtfen en az {minItems} ekleme yap\u0131n.","dynamicFlows.ArraySchema.removeItem":"Kald\u0131r","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"};var Ta={"dynamicFlows.ArraySchema.addItem":"\u4FDD\u5B58","dynamicFlows.ArraySchema.addItemTitle":"Add Item","dynamicFlows.ArraySchema.editItem":"\u4FDD\u5B58","dynamicFlows.ArraySchema.maxItemsError":"\u8BF7\u6DFB\u52A0 {maxItems} \u4E2A\u6216\u66F4\u5C11\u3002","dynamicFlows.ArraySchema.minItemsError":"\u8BF7\u81F3\u5C11\u6DFB\u52A0 {minItems}\u3002","dynamicFlows.ArraySchema.removeItem":"\u5220\u9664","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":"\u4E0D\u652F\u6301\u6444\u50CF\u5934","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":"\u60A8\u7684\u56FE\u7247\u662F\u5426\u6E05\u6670\u3001\u53EF\u8BFB\u548C\u5B8C\u6574\uFF1F","dynamicFlows.CameraCapture.reviewRetry":"\u5426\uFF0C\u91CD\u8BD5","dynamicFlows.CameraCapture.reviewSubmit":"\u662F\uFF0C\u63D0\u4EA4","dynamicFlows.ControlFeedback.maxLength":"\u8BF7\u8F93\u5165 {maxLength} \u4E2A\u6216\u66F4\u5C11\u5B57\u7B26","dynamicFlows.ControlFeedback.maximum":"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5C0F\u4E8E\u6216\u7B49\u4E8E {maximum} \u7684\u6570\u5B57","dynamicFlows.ControlFeedback.maximumDate":"\u8BF7\u8F93\u5165 {maximum} \u6216\u4E4B\u524D\u7684\u65E5\u671F","dynamicFlows.ControlFeedback.minLength":"\u8BF7\u81F3\u5C11\u8F93\u5165 {minLength} \u4E2A\u5B57\u7B26","dynamicFlows.ControlFeedback.minimum":"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5927\u4E8E\u6216\u7B49\u4E8E {minimum} \u7684\u6570\u5B57","dynamicFlows.ControlFeedback.minimumDate":"\u8BF7\u8F93\u5165 {minimum} \u6216\u4E4B\u540E\u7684\u65E5\u671F","dynamicFlows.ControlFeedback.pattern":"\u8BF7\u4EE5\u6B63\u786E\u7684\u683C\u5F0F\u8F93\u5165","dynamicFlows.ControlFeedback.patternDate":"\u8BF7\u4EE5\u6B63\u786E\u7684\u683C\u5F0F\u8F93\u5165\u65E5\u671F","dynamicFlows.ControlFeedback.required":"\u8BF7\u586B\u5199\u6B64\u5B57\u6BB5\u3002","dynamicFlows.ControlFeedback.type":"\u7C7B\u578B\u4E0D\u6B63\u786E","dynamicFlows.DynamicExternal.retryTitle":"\u91CD\u65B0\u6253\u5F00\u7A97\u53E3","dynamicFlows.DynamicParagraph.copied":"\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F","dynamicFlows.DynamicParagraph.copy":"\u590D\u5236","dynamicFlows.ErrorBoundary.errorAlert":"\u7CDF\u7CD5\u3002\u51FA\u95EE\u9898\u4E86\u2026","dynamicFlows.ErrorBoundary.retry":"\u91CD\u8BD5","dynamicFlows.ExternalConfirmation.cancel":"\u53D6\u6D88","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":"\u70B9\u51FB\u6B64\u5904\u83B7\u53D6\u66F4\u591A\u4FE1\u606F\u3002","dynamicFlows.MultipleFileUploadSchema.maxFileSizeError":"\u62B1\u6B49\uFF0C\u8BE5\u6587\u4EF6\u592A\u5927\u3002\u8BF7\u4E0A\u4F20\u4E00\u4E2A\u66F4\u5C0F\u7684\u6587\u4EF6\u3002","dynamicFlows.MultipleFileUploadSchema.maxItemsError":"\u8BF7\u4E0A\u4F20 {maxItems} \u4E2A\u6216\u66F4\u5C11\u7684\u6587\u4EF6\u3002","dynamicFlows.MultipleFileUploadSchema.minItemsError":"\u8BF7\u81F3\u5C11\u4E0A\u4F20 {minItems} \u4E2A\u6587\u4EF6\u3002","dynamicFlows.PersistAsyncSchema.genericError":"\u51FA\u73B0\u4E00\u4E9B\u95EE\u9898\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\uFF01","dynamicFlows.ReadOnlySchema.no":"\u5426","dynamicFlows.ReadOnlySchema.yes":"\u662F"};var ml={"dynamicFlows.ArraySchema.addItem":"\u5132\u5B58","dynamicFlows.ArraySchema.addItemTitle":"\u6DFB\u52A0\u9805\u76EE","dynamicFlows.ArraySchema.editItem":"\u5132\u5B58","dynamicFlows.ArraySchema.maxItemsError":"\u8ACB\u6DFB\u52A0\u4E0D\u8D85\u904E{maxItems}\u9805\u3002","dynamicFlows.ArraySchema.minItemsError":"\u8ACB\u81F3\u5C11\u6DFB\u52A0{minItems}\u9805\u3002","dynamicFlows.ArraySchema.removeItem":"\u79FB\u9664","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"};var Yu={en:Jm,de:Km,es:Xm,fr:Ym,hu:Zm,id:Qm,it:el,ja:tl,pl:rl,pt:ol,ro:al,ru:nl,th:il,tr:sl,zh:Ta,"zh-CN":Ta,"zh-HK":ml},ll=Yu;
2
2
  /*! Bundled license information:
3
3
 
4
4
  classnames/index.js: