PageSourceSearch

https://secure.getborderless.com/_next/static/chunks/1860-37e13abab4ef59b2.js

js getborderless.com collected 2026-09-26 05:35:39 UTC 39,903 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1860],{6472:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var r=l(95155),s=l(12115),a=l(58961),i=l(87650),o=l(61610),n=l(53965),d=l(67407);let c=({form:e,country:t,required:l=!1,disabled:c,fieldName:u,labelStyle:p={},inputStyle:m={}})=>{let[h,y]=(0,s.useState)(""),{loading:f,error:g,data:x}=(0,a.Cgt)();if(f||g||x&&!x?.supportedCountries?.find(e=>e.code===t))return(0,r.jsx)(d.A,{name:"Phone Number",fieldName:u||"phone",required:l,form:e,component:(0,r.jsx)(o.A,{className:"ant-input ant-input-lg",disabled:!0,style:{height:"45px",...m&&m}}),labelStyle:p});let{phoneCountryCode:A,phoneFormat:b}=x.supportedCountries.find(e=>e.code===t);return(0,r.jsx)(d.A,{name:"Phone Number",fieldName:u||"phone",required:l,form:e,component:(0,r.jsx)(n.K9,{className:"custom-input",placeholder:`+${A}`,disabled:c,format:b?`+${A} ${b}`:null,prefix:b?"":`+${A} `,onChange:e=>y(e.target.value),style:{height:"45px",...m&&m},...!["BR","AR","FI","PT","TH","ID"].includes(t)&&{mask:"_"}}),options:{...(l||h.length>0)&&{rules:[{validator:async(e,l)=>{let r=(0,i.F6)({phone:l,country:t,validateByCountry:!0});if(!r?.valid)throw Error(`Must be valid and follow this format: +${A} ${b}`)},message:`Must be valid and follow this format: +${A} ${b}`}]}},labelStyle:p})}},6627:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});var r=l(95155);l(12115);var s=l(62272);let a=({form:e,required:t,fieldName:l,inputStyle:a={},labelStyle:i={},disabled:o=!1,className:n})=>(0,r.jsx)(s.A,{name:"Registered Business Name",fieldName:l||"name",className:n,form:e,required:t,explain:"Your legal business name must exactly match your tax I.D.",isAlphanumeric:!0,inputStyle:a,disabled:o,labelStyle:i})},9961:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var r=l(95155),s=l(87650);l(12115);var a=l(62272);let i=({form:e,country:t,inputStyle:l={},labelStyle:i={}})=>{let o=e.getFieldValue("accountNumber"),n=new RegExp(o),d=(0,s.hR)(t),c={rules:[{required:!0,message:`Please confirm the ${d}`},{pattern:n,len:o?.length,message:"Account numbers must match."}]};return(0,r.jsx)(a.A,{fieldName:"confirmAccountNumber",name:`Confirm ${d}`,inputProps:{type:"string"},required:!0,isAlphanumeric:s.xi.includes(t)||"AR"===t,allCaps:s.xi.includes(t)||"AR"===t,options:c,spacesAllowed:!1,form:e,inputStyle:{...l&&l},labelStyle:i,inputClassName:"custom-input"})}},17428:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var r=l(95155);l(12115);var s=l(58961),a=l(69869),i=l(87650),o=l(41585),n=l(87695),d=l(67407);let c=({form:e,required:t,defaultCurrency:l,currencyCountry:c,locked:u=!1,selectStyle:p={},labelStyle:m={},classNames:h,accountType:y,accountProvider:f,widgetId:g})=>{let{tenant:x}=(0,n.Q)(),{data:A,loading:b,error:C}=(0,s.Cgt)({variables:{...f&&{provider:f},...x&&{tenant:x},...g&&{widgetId:g}}}),_=A&&A.supportedCountries.find(e=>e.code===c),v=_&&(0,i.A7)(c,_.currency,y),S=v&&v[0];return b||C?(0,r.jsx)(d.A,{form:e,name:"Currency",fieldName:"currency",required:t,component:(0,r.jsx)(a.A,{size:"large",placeholder:"Select a Currency",disabled:!0,loading:b,style:p,status:!!C&&"error",suffixIcon:C&&(0,r.jsx)(o.A,{style:{fontSize:"1.25rem"}})},c),labelStyle:m},c):(0,r.jsx)(d.A,{form:e,name:"Currency",fieldName:"currency",required:t,component:(0,r.jsx)(a.A,{showSearch:!0,size:"large",placeholder:"Select a Currency",disabled:u,style:p,classNames:h,children:c?!b&&c&&A.supportedCountries.map(t=>{if(t.code===c){let s="CN"===c?(0,i.A7)(t.code,t.currency,y):t.currency;return e.getFieldValue("currency")&&!s.includes(e.getFieldValue("currency"))&&e.setFieldValue("currency","first"===l?s[0]:l),s.map(e=>(0,r.jsx)(a.A.Option,{value:e,children:e},e))}}):!b&&A.supportedCountries.map(e=>e.currency.map(e=>(0,r.jsx)(a.A.Option,{value:e,children:e},e)))},c),options:{initialValue:"first"===l?S:l,rules:[{required:!0,message:"Please select your currency"}]},labelStyle:m},c)}},18356:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var r=l(95155);l(12115);var s=l(58961),a=l(54174);let i=({form:e,country:t,required:l,labelStyle:i={},inputStyle:o={}})=>{let{data:n,loading:d,error:c}=(0,s.mQS)({variables:{country:t},skip:!t});if(d||c)return(0,r.jsx)(a.A,{name:"Bank Code",fieldName:"bankCode",form:e,required:l,inputStyle:{color:"unset",...o&&o},labelStyle:i,disabled:!0,cleaveOptions:{numericOnly:!0}});let u=n?.bankCodes,p=new RegExp(u?.rule?.replace(/^\/|\/$/g,""));return(0,r.jsx)(a.A,{name:u?.name||"Bank Code",fieldName:"bankCode",form:e,required:l,cleaveOptions:{...u?.cleave},options:{rules:[{len:u?.length,pattern:p,message:u?.message}]},htmlInputProps:{maxLength:u?.length},inputStyle:{color:"unset",...o&&o},labelStyle:i})}},18479:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var r=l(95155);l(12115);var s=l(85265),a=l(87027),i=l(61866),o=l(57219),n=l.n(o),d=l(65424);let c=({label:e,value:t,isCopyable:l,style:o,icon:c,iconPlacement:u,span:p,fontWeight:m="font-bolder",isAccentColor:h=!0,fontSize:y})=>{let f;if(!e&&!t)return null;let g=getComputedStyle(document.documentElement).getPropertyValue("--primary-color"),x=()=>{let e={};return l&&h&&(e.color=g),24===p&&(e.maxWidth="unset"),e};return(0,r.jsxs)(s.A,{span:"string"==typeof t&&t.length>=75?12:p,style:(f={...o},l&&"string"==typeof t&&t&&(f.wordBreak="keep-all",f.whiteSpace="nowrap"),"string"==typeof t&&t.length>=75&&(f.wordBreak="break-all"),f),children:[e&&(0,r.jsx)("p",{className:`text-sm font-bolder ${n().rowTitle}`,children:e}),l?(0,r.jsxs)(a.A,{align:"middle",wrap:!1,children:[(0,r.jsx)("h5",{className:`${m} ${y} ${n().detailsText}`,style:x(),title:"string"==typeof t&&t,children:t}),t&&"string"==typeof t&&(0,r.jsx)(d.A,{text:"string"==typeof t?t:"",type:"ICON"})]}):(0,r.jsxs)(a.A,{align:"middle",wrap:!c,children:[c&&(!u||"left"===u)&&(0,r.jsx)(i.Ay,{size:"small",type:"text",style:{cursor:"unset",marginRight:".25rem"},icon:c}),(0,r.jsx)("h5",{className:n().detailsText,style:x(),title:"string"==typeof t&&t,children:t}),c&&"right"===u&&(0,r.jsx)(i.Ay,{size:"small",type:"text",style:{marginLeft:"0.5rem",cursor:"unset"},icon:c})]})]})}},22780:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var r=l(95155);l(12115);var s=l(58961),a=l(54174);let i=({form:e,country:t,required:l,labelStyle:i={},inputStyle:o={}})=>{let{data:n,loading:d,error:c}=(0,s.sz7)({variables:{country:t},skip:!t});if(d||c)return(0,r.jsx)(a.A,{name:"Routing Number",fieldName:"routingNumber",form:e,required:l,inputStyle:{color:"unset",...o&&o},labelStyle:i,disabled:!0,cleaveOptions:{numericOnly:!0}});let u=n?.routingCodes,p=new RegExp(u?.rule?.replace(/^\/|\/$/g,""));return(0,r.jsx)(a.A,{name:u?.name||"Routing Number",fieldName:"routingNumber",form:e,required:l,cleaveOptions:{...u?.cleave},options:{rules:[{len:u?.length,pattern:p,message:u?.message}]},htmlInputProps:{maxLength:u?.length},inputStyle:{color:"unset",...o&&o},labelStyle:i})}},28658:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var r=l(95155);l(12115);var s=l(58961),a=l(13099),i=l(79465),o=l(54174);let n=({form:e,country:t,required:l,disabled:n=!1,fieldName:d="postalCode",inputStyle:c={},labelStyle:u={}})=>{let{data:p,loading:m,error:h}=(0,s.$z6)({variables:{country:t}}
1);if(m)return(0,r.jsx)(o.A,{name:"Postal Code",fieldName:d,cleaveOptions:{blocks:[]},form:e,required:l,disabled:!0,inputStyle:c,labelStyle:u});if(h)return(0,r.jsx)(i.A,{});let y=p?.postalCodes,f=new RegExp(y.rule.replace(/^\/|\/$/g,""));return(0,r.jsx)(o.A,{name:y.name,fieldName:d,form:e,required:l,disabled:void 0!==a.Mp[t],cleaveOptions:{...y?.cleave},options:{initialValue:void 0!==a.Mp[t]?e.setFieldValue(d,a.Mp[t]):"",rules:[{len:y?.length,pattern:f,message:y?.message}]},htmlInputProps:{maxLength:y?.length,disabled:n},inputStyle:c,labelStyle:u})}},32243:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var r=l(95155);l(12115);var s=l(58961),a=l(69869),i=l(87650),o=l(79465),n=l(67407);let d=({form:e,country:t,required:l})=>{let d=(0,s.Cgt)(),c=(0,s.C_3)({variables:{country:t}});if(c.loading||d.loading)return(0,r.jsx)(n.A,{name:"where business is incorporated",fieldName:"zoneCodeOfIncorporation",form:e,required:l,component:(0,r.jsx)(a.A,{size:"large",disabled:!0,showSearch:!0,placeholder:"where business is incorporated"})});if(c.error||d.error)return(0,r.jsx)(o.A,{});let{zoneCodeName:u}=d.data.supportedCountries.find(e=>e.code===t),{zoneCodes:p}=c.data;return(0,r.jsx)(n.A,{name:`${u} where business is incorporated`,fieldName:"zoneCodeOfIncorporation",form:e,required:l,component:(0,r.jsx)(a.A,{size:"large",showSearch:!0,filterOption:i.z2,placeholder:`${u} where business is incorporated`,children:p.map(({code:e,name:t})=>(0,r.jsx)(a.A.Option,{value:e,children:t},e))})})}},34859:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var r=l(95155),s=l(12115),a=l(58961),i=l(79465),o=l(73590),n=l.n(o),d=l(54174);let c=({form:e,country:t,disabled:l=!1,initialValue:o,setDateOfBirthFormatted:c,labelStyle:u={},inputStyle:p={}})=>{let{loading:m,error:h,data:y}=(0,a.Cgt)();if((0,s.useEffect)(()=>{if((o&&3===o.split("-").length||e.getFieldValue("dateOfBirth")&&3===e.getFieldValue("dateOfBirth").split("-").length)&&y){let l=o||e.getFieldValue("dateOfBirth"),{dateFormat:r}=y.supportedCountries.find(e=>e.code===t),s=r.map(e=>"Y"!==e?e+e:"YYYY").join("/"),a=n()(l,"YYYY-MM-DD");e.setFieldValue("dateOfBirth",a.format(s)),c(a.format("YYYY-MM-DD"))}},[o,y,e.getFieldValue("dateOfBirth")]),m||y&&!y?.supportedCountries?.find(e=>e.code===t))return(0,r.jsx)(d.A,{fieldName:"dateOfBirth",name:"Date of Birth",required:!0,form:e,cleaveOptions:{date:!0,delimiter:"/"},inputStyle:p,labelStyle:u,disabled:!0});if(h)return(0,r.jsx)(i.A,{});let{dateFormat:f}=y.supportedCountries.find(e=>e.code===t),g=f.map(e=>{let t=e.toLowerCase();return"y"!==t?t:"Y"}),x=f.map(e=>"Y"!==e?e+e:"YYYY").join("/");return(0,r.jsx)(d.A,{fieldName:"dateOfBirth",name:"Date of Birth",required:!0,placeholder:x,form:e,onChange:e=>{let t=n()(e.target.value,x),l=t.get("y"),r=`0${t.get("M")+1}`.slice(-2),s=`0${t.get("D")}`.slice(-2);c(`${l}-${r}-${s}`)},cleaveOptions:{date:!0,datePattern:g,delimiter:"/"},inputStyle:p,labelStyle:u,disabled:l,options:{rules:[{validator:async(e,t)=>{if(!t)return!1;let l=n()(t,x).isSameOrBefore(n()().subtract(18,"y"),"day"),r=n()(t,x).isSameOrAfter(n()().subtract(91,"y"),"day");if(!l)throw Error("You must be over 18 to use borderless™");if(!r)throw Error("Are you sure you're over 90? What's your secret? Please contact support.");return!0}}]}})}},37745:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var r=l(95155),s=l(12115),a=l(58961),i=l(69869),o=l(87650),n=l(41585),d=l(67407);let c=({form:e,country:t,required:l,initialValue:c,disabled:u=!1,selectStyle:p={},labelStyle:m={},fieldName:h})=>{let y=(0,a.Cgt)(),f=(0,a.C_3)({variables:{country:t},skip:!t}),g=e.getFieldValue("zoneCode");(0,s.useEffect)(()=>{if(f?.data?.zoneCodes?.length){let t=e.getFieldValue("zoneCode");t&&f?.data?.zoneCodes.some(e=>e.code===t)||e.setFieldValue("zoneCode",void 0)}},[f?.data,y?.data,e,g]);let x=f.loading||y.loading,A=f.error||y.error;if(x||A||y?.data&&!y?.data?.supportedCountries.find(e=>e.code===t))return(0,r.jsx)(d.A,{name:"State",fieldName:h||"zoneCode",form:e,required:l,component:(0,r.jsx)(i.A,{size:"large",placeholder:"State",disabled:!0,status:!!A&&"error",suffixIcon:A&&(0,r.jsx)(n.A,{style:{fontSize:"1.25rem"}}),style:p}),labelStyle:m});let{zoneCodeName:b}=y.data.supportedCountries.find(e=>e.code===t);return(0,r.jsx)(d.A,{name:b,fieldName:h||"zoneCode",form:e,required:l,options:{initialValue:"HK"===t?"HK":c},component:(0,r.jsx)(i.A,{size:"large",filterOption:o.z2,showSearch:!0,placeholder:b,disabled:u,style:p,children:!f.loading&&!y.loading&&f.data?.zoneCodes.map(({code:e,name:t})=>(0,r.jsx)(i.A.Option,{value:e,children:t},e))}),labelStyle:m})}},46135:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var r=l(95155);l(12115);
1var s=l(61866),a=l(87027),i=l(52590),o=l(45013),n=l(63857),d=l.n(n);let c=({footerButton1:e,footerButton2:t,deemphasizedButton:l,className:n,style:c})=>{let u=(0,o.U)(o.f.down("sm")),p=e&&"function"==typeof e?.onClick,m=t&&!!(t?.text||t?.icon);return(0,r.jsxs)("div",{className:`${d().modalButtons} ${p&&m?d().spaceBetween:p?d().flexStart:d().flexEnd} ${n}`,style:c,children:[p&&(0,r.jsx)(s.Ay,{type:"default",onClick:e.onClick,icon:e?.icon,disabled:e?.disabled,loading:e?.loading,...e?.props,children:e?.text}),m&&(0,r.jsxs)(a.A,{style:{gap:".75rem"},children:[l&&(0,r.jsx)(i.A,{title:l?.tooltip,open:!u&&!!l?.tooltip&&void 0,children:(0,r.jsx)(s.Ay,{onClick:l?.onClick,icon:l?.icon,disabled:l?.disabled,loading:l?.loading,...l?.props,children:l?.text})}),(0,r.jsx)(s.Ay,{type:"primary",onClick:t?.onClick,icon:t?.icon,disabled:t?.disabled,loading:t?.loading,...t?.props,children:t?.text})]})]})}},46475:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var r=l(95155);l(12115);var s=l(58961),a=l(13099),i=l(79465),o=l(54174);let n=({form:e,country:t,required:l,disabled:n,fieldName:d,labelStyle:c={},inputStyle:u={}})=>{let{data:p,loading:m,error:h}=(0,s.Rvq)({variables:{country:t,type:s.w8n.Personal}});if(m)return(0,r.jsx)(o.A,{name:"Personal Tax Id",fieldName:d||"personalTaxId",form:e,required:l,disabled:!0,cleaveOptions:{blocks:[]},htmlInputProps:{disabled:n},inputStyle:u,labelStyle:c});if(h)return(0,r.jsx)(i.A,{});if(a.i8.includes(t))return null;let y=p?.taxIds,f=new RegExp(y.regex.replace(/^\/|\/$/g,"")),g=(0,r.jsxs)("div",{style:{padding:"1rem"},children:[(0,r.jsx)("h3",{style:{color:"white"},children:"Why do we need this?"}),(0,r.jsxs)("p",{children:["The security of your money is very important to us. Your"," ","CH"===t?`OASI (Old Age and Survivor's Insurance) or AHV (Alters-und Hinterlassenenversicherung)
2          in German or AVS (Assurance vieillesse et survivants) in French`:y.name," "," helps us prevent fraud by verifying your identity and preventing others from linking your account to other borderless profiles. This policy is based on "," ",(0,r.jsx)("a",{href:"https://www.fincen.gov/resources/statutes-and-regulations/cdd-final-rule",target:"_blank",rel:"noreferrer",children:" the Bank Secrecy Act Regulation "}),". All data is stored securely, encrypted and kept private."]})]});return(0,r.jsx)(o.A,{name:y.name,fieldName:d||"personalTaxId",form:e,required:l,disabled:m,cleaveOptions:{...y?.cleave},htmlInputProps:{disabled:n},tooltip:g,options:{getValueFromEvent:e=>e.target.rawValue,rules:[{len:y?.length,pattern:f,message:y.message}]},inputStyle:u,labelStyle:c})}},47526:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var r=l(95155);l(12115);var s=l(61610),a=l(46189),i=l(67407);let o=({form:e,required:t,labelStyle:l={},inputStyle:o={}})=>(0,r.jsx)(i.A,{name:"Bank Name",fieldName:"bankName",form:e,required:t,options:{rules:[{min:1,max:80,pattern:/^[a-zA-Z0-9 ]{1,80}$/i,message:"Bank name is between 1 and 80 characters long."}]},component:(0,r.jsx)(s.A,{size:"large",autoComplete:"off",placeholder:"Bank Name",maxLength:80,style:{height:a.lineHeight,...o&&o}}),labelStyle:l})},54174:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var r=l(95155),s=l(24698),a=l.n(s),i=l(87650),o=l(67407);let n=({id:e,name:t,fieldName:l,form:s,options:n,required:d,cleaveOptions:c,htmlInputProps:u,tooltip:p,disabled:m=!1,inputStyle:h={},labelStyle:y={},placeholder:f=t,onChange:g})=>(0,r.jsx)(o.A,{name:t,fieldName:l,form:s,tooltip:p,component:(0,r.jsx)(a(),{className:"custom-input",placeholder:f,options:!m&&c,...u,disabled:m,style:h,onChange:g},m?(0,i.eW)():e),options:n,required:d,labelStyle:y})},57219:e=>{e.exports={primaryColor:"#21b8a2",secondaryColor:"#221c34",accentColor:"#21b8a2",errorColor:"#ed1c24",processingColor:"#fbb03b",textColor:"#221c34",borderRadiusBase:"6px",lightModeBackground:"#FFF",defaultShadow:"0px 2px 15px 0px rgba(0, 0, 0, 0.1019607843)",lineHeight:"37px",greyText:"rgb(133, 131, 131)",pendingColor:"#5250a7",successColor:"success-color",xs:"0px",sm:"600px",md:"960px",lg:"1280px",xl:"1920px",rowTitle:"styles_rowTitle__Uoynl",detailsText:"styles_detailsText__VxR6G",copyButton:"styles_copyButton__X0cYm",list:"styles_list__6qVsH"}},57581:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var r=l(95155);l(12115);var s=l(87650),a=l(62272);let i=({form:e,required:t,country:l,disabled:i=!1,inputStyle:o={},labelStyle:n={},fieldName:d})=>(0,r.jsx)(a.A,{name:"City",fieldName:d||"city",form:e,explain:"City name",required:t,disabled:i,inputProps:{maxLength:35},options:{initialValue:"HK"===l?"Hong Kong":"",rules:[{validator:async(e,t)=>{let l=t.trim();if("CITY"===l.toUpperCase())throw Error("Enter valid city name");if(l?.length<2)throw Error("City name must be at least 2 characters long")},required:!0},{pattern:s.Xw.city,message:"City must contain only letters and basic punctuation."}]},inputStyle:o,labelStyle:n})},62272:(e,t,l)=>{"use strict";l.d(t,{A:()=>p});var r=l(95155),s=l(12115),a=l(52590),i=l(41195),o=l(61610),n=l(68822),d=l(87650),c=l(93408),u=l.n(c);let p=({name:e,fieldName:t,form:l,explain:c,inputProps:p,options:m={},required:h,isAlphanumeric:y=!1,spacesAllowed:f=!0,allCaps:g=!1,style:x,className:A,inputClassName:b,tooltip:C,inputStyle:_={},labelStyle:v={},disabled:S=!1,placeholder:j})=>{let N=getComputedStyle(document.documentElement).getPropertyValue("--line-height"),[B,T]=(0,s.use
2State)(!1),{getFieldError:w}=l,R=w(t),O=!!R&&!!R.length,D=h?{...m,rules:[...m&&m.rules||[],{required:!0,message:`${e} is a required field`}]}:m;return(0,r.jsxs)("div",{style:x,className:A,children:[(0,r.jsxs)("div",{className:u().labelWrapper,children:[(0,r.jsx)("h4",{className:`${u().label} font-regular`,style:v,children:(0,d.mK)({name:e,required:h})}),C&&(0,r.jsx)(a.A,{className:u().tooltip,style:{color:"white"},title:C,children:(0,r.jsx)(n.A,{style:{fontSize:"14px",marginLeft:".5em",marginTop:"10px"}})})]}),(0,r.jsx)(i.A.Item,{name:t,help:O?R[0]:B?c:null,getValueFromEvent:y?e=>{let t=e.target.value.replace(f?/[^a-zA-Z0-9 ]/g:/[^a-zA-Z0-9]/g,"");return g?t.toUpperCase():t}:void 0,...D,children:(0,r.jsx)(o.A,{disabled:S,size:"large",autoComplete:"off",onFocus:()=>T(!0),className:b,onBlur:()=>T(!1),placeholder:j||e,style:{..._,height:N},...["firstName","lastName","middleName","name"].includes(t)?{...p,maxLength:50}:p})})]})}},63301:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var r=l(95155);l(12115);var s=l(58961),a=l(69869),i=l(87650),o=l(41585),n=l(87695),d=l(67407);let c=({form:e,required:t=!0,locked:l=!1,selectStyle:c={},labelStyle:u={},defaultCountry:p,label:m,classNames:h,accountProvider:y,fieldName:f,widgetId:g,externalClaimPaymentId:x,onChange:A})=>{let b,{tenant:C}=(0,n.Q)(),{data:_,loading:v,error:S}=(0,s.Cgt)({variables:{...y&&{provider:y},...C&&{tenant:C},...g&&{widgetId:g},...x&&{externalClaimPaymentId:x}}}),j=()=>m&&"none"===m?null:m||"Country";if(v||S)return(0,r.jsx)(d.A,{form:e,name:j(),fieldName:f||"country",required:t,component:(0,r.jsx)(a.A,{size:"large",placeholder:"Select a Country",disabled:!0,loading:v,onChange:null,style:c,status:!!S&&"error",suffixIcon:S&&(0,r.jsx)(o.A,{style:{fontSize:"1.25rem"}})}),labelStyle:u});let{supportedCountries:N}=_,B=(b=e=>{let t=N.length>0?N?.map(e=>e.code):[];return["US","AU","CA","GB","CH"].filter(e=>t.length>0?t.includes(e):e).includes(e.code)},[...N.filter(e=>b(e)).sort((e,t)=>{let l={US:1,CA:2,AU:3,GB:4,CH:5};return l[e.code]<l[t.code]?-1:+(l[e.code]>l[t.code])}),...N.filter(e=>!b(e)).sort((e,t)=>e.name<t.name?-1:+(e.name>t.name))]);return(0,r.jsx)(d.A,{form:e,name:j(),fieldName:f||"country",required:t,component:(0,r.jsx)(a.A,{showSearch:!0,size:"large",placeholder:"Select a Country",filterOption:i.z2,disabled:l,classNames:h,onChange:A||null,style:c,children:!v&&B.map(e=>(0,r.jsx)(a.A.Option,{value:e.code,children:e.name},e.code))}),options:{initialValue:B.some(e=>e.code===p)?p:void 0,rules:[{required:t,message:"Please select your country"}]},labelStyle:u})}},63597:(e,t,l)=>{"use strict";l.d(t,{Q:()=>a});var r=l(12115),s=l(41195);let a=(e,t=!1)=>{let[l,a]=(0,r.useState)(t),i=s.A.useWatch([],e);return(0,r.useEffect)(()=>{e.validateFields({validateOnly:!0}).then(()=>a(!0)).catch(()=>{void 0!==i&&a(!1)})},[e,i]),l}},63777:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var r=l(95155);l(12115);var s=l(45013),a=l(18479),i=l(57219),o=l.n(i);let n=({items:e,itemsPerRow:t,style:l})=>{let i=(0,s.U)(s.f.down("xs")),n=(0,s.U)(s.f.down("sm")),d=(0,s.U)(s.f.down("md")),c=(0,s.U)(s.f.down("lg"));return(0,r.jsx)("div",{className:o().list,style:{gridTemplateColumns:`repeat(${i?1:n?2:d?Math.min(3,Math.floor(t/1.33)):c?Math.min(4,Math.floor(t)):t}, 1fr)`},children:e?.length?e?.filter(e=>!!e?.value)?.map((e,t)=>(0,r.jsx)(a.A,{...e,style:l},t)):void 0})}},63857:e=>{e.exports={primaryColor:"#21b8a2",secondaryColor:"#221c34",accentColor:"#21b8a2",errorColor:"#ed1c24",processingColor:"#fbb03b",textColor:"#221c34",borderRadiusBase:"6px",lightModeBackground:"#FFF",defaultShadow:"0px 2px 15px 0px rgba(0, 0, 0, 0.1019607843)",lineHeight:"37px",greyText:"rgb(133, 131, 131)",pendingColor:"#5250a7",successColor:"success-color",xs:"0px",sm:"600px",md:"960px",lg:"1280px",xl:"1920px",flex:"styles_flex__pVYgJ",modal:"styles_modal__COYVH",modalScrollable:"styles_modalScrollable__UqM_k",modal__small:"styles_modal__small__etdbj",modal__medium:"styles_modal__medium__BaRmb",modal__large:"styles_modal__large__JDJ0F",backButton:"styles_backButton__OFXOa",footer:"styles_footer__uGLUT",deemphasizedButton:"styles_deemphasizedButton__vkB62",modalButtons:"styles_modalButtons__CQMmY",flexStart:"styles_flexStart__Axf1Z",flexEnd:"styles_flexEnd__TTX_F",
2spaceBetween:"styles_spaceBetween__RfEnH"}},65424:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var r=l(95155),s=l(12115),a=l(87056),i=l(61866),o=l(94514),n=l(67635);let d=({text:e,type:t,buttonProps:l,buttonText:d})=>{let[c,u]=(0,s.useState)(!1),p=getComputedStyle(document.documentElement).getPropertyValue("--primary-color"),m=t=>{t.stopPropagation(),"string"==typeof e&&navigator.clipboard.writeText(e).then(()=>{u(!0),a.Ay.success("Copied to clipboard")})};return(0,s.useEffect)(()=>{let e=setTimeout(()=>{u(!1)},5e3);return()=>clearTimeout(e)},[c]),"BUTTON"===t?(0,r.jsx)(i.Ay,{...l,onClick:m,children:d||"Copy"}):(0,r.jsx)(i.Ay,{...l,size:"small",type:"text",style:{marginLeft:"0.5rem",height:"fit-content"},icon:c?(0,r.jsx)(o.A,{color:p,className:"icon-base"}):(0,r.jsx)(n.A,{color:p,className:"icon-base"}),onClick:m})}},65714:(e,t,l)=>{"use strict";l.d(t,{Ic:()=>c,Ij:()=>a,S1:()=>s});var r=l(58961);let s={USD:"$",AUD:"$",CAD:"$",CNY:"\xa5",EUR:"€",GBP:"\xa3",ILS:"₪",JPY:"\xa5",MXN:"$",SGD:"S$",CNH:"\xa5",HKD:"$",BGN:"лв",JOD:"JD",THB:"฿",NZD:"$",BHD:"BD",DKK:"Kr",HRK:"kn",RON:"lei",PLN:"zł",IDR:"Rp",AED:"D",QAR:"QR",ZAR:"R",GHS:"GH\xa2",MUR:"₨",RUB:"₽",NOK:"kr",INR:"₹",ARS:"$",PHP:"₱",TRY:"₺",COP:"$",BRL:"R$",CHF:"CHF",NGN:"₦",RSD:"din",CLP:"$",KRW:"₩",CRC:"₡",PKR:"₨",KES:"KSh",UAH:"₴",BDT:"৳",PEN:"S/",TND:"DT",SEK:"kr",MYR:"RM",VND:"₫",MAD:"DH",CZK:"Kč",SAR:"SR",AFN:"AFN",TWD:"NT$",MGA:"Ar",KWD:"KD",BOB:"Bs",PYG:"₲",ETB:"Br",GTQ:"Q",TZS:"TSh",UGX:"USh",LKR:"RS",WST:"WS$",EGP:"E\xa3",XPF:"₣",XCD:"EC$",MVR:"Rf",BZD:"BZ$",GYD:"GY$",OMR:"R.O",JMD:"J$",DOP:"RD$",HNL:"L",NIO:"C$",HUF:"Ft",HTG:"G",GEL:"ლ",KHR:"៛",RWF:"R₣",BBD:"Bds$",FJD:"FJ$",UYU:"$U",DZD:"دج",AOA:"Kz",AMD:"֏",BAM:"KM",MKD:"ден"},a=["CNY","PHP","INR","ARS","NGN","COP","BRL","RSD","CLP","KRW","CRC","PKR","KES","UAH","BDT","SAR","TWD","AFN","PEN","MYR","VND","ETB","GTQ","BOB","PYG","TZS","LKR","WST","RUB","EGP","XPF","XCD","MVR","GYD","BZD","MGA","KWD","OMR","HNL","JMD","DOP","HTG","GEL","KHR","RWF","BBD","UYU","DZD","AOA","AMD"],i=["USD","CAD","AUD","GBP","CHF","EUR","MXN","JPY","HKD","NZD","SGD","THB","AED","INR","KWD","SAR","TRY","ZAR","BHD","CZK","DKK","ILS","SEK","PLN","NOK","GHS","KES","OMR","QAR","RON","HUF","TND"],o=["USD","GBP","EUR"],n=["USD"],d=["USD"],c=(e,t)=>{switch(e){case r.KqW.Nium:return o;case r.KqW.NiumOne:return[t];case r.KqW.Astra:return n;case r.KqW.Lightspark:return d;default:return i}}},66982:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var r=l(95155);l(12115);var s=l(65714),a=l(54174);let i=({form:e,country:t,currency:l,required:i})=>{let o=s.S1[l];return(0,r.jsx)(a.A,{name:"Monthly Volume",fieldName:"estimatedMonthlyVolume",form:e,required:i,cleaveOptions:{numeral:!0,numeralThousandsGroupStyle:"thousand",numeralIntegerScale:8,stripLeadingZeroes:!0,prefix:`${o} `,rawValueTrimPrefix:!0,numericOnly:!0,blocks:[8]},options:{getValueFromEvent:e=>""!==e.target.rawValue?parseFloat(e.target.rawValue):0,rules:[{pattern:/[0-9]{2,8}/,message:"Estimated Volume is Required"}]}})}},67407:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var r=l(95155);l(12115);var s=l(52590),a=l(41195),i=l(87650),o=l(68822),n=l(73699),d=l.n(n);let c=({name:e,fieldName:t,form:l,component:n,options:c={},tooltip:u,required:p,inlineName:m=!1,style:h={},labelStyle:y={},className:f})=>{let{getFieldError:g}=l,x=g(t),A=!!x&&!!x.length,b=p?{...c||{},rules:[...c&&c.rules||[],{required:!0,message:`${e} is a required field`}]}:c;return(0,r.jsxs)("div",{style:h,className:f,children:[!m&&(0,r.jsxs)("div",{className:d().labelWrapper,children:[(0,r.jsx)("h4",{className:`${d().label}
2 font-regular`,style:y,children:(0,i.mK)({name:e,required:p})}),u&&(0,r.jsx)(s.A,{className:d().tooltip,style:{color:"white"},title:u,children:(0,r.jsx)(o.A,{style:{fontSize:"14px",marginLeft:".5em",marginTop:"10px"}})})]}),(0,r.jsx)(a.A.Item,{name:t,help:A?x[0]:null,...b,children:n})]})}},69560:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var r=l(95155);l(12115);var s=l(58961),a=l(69869),i=l(87650),o=l(79465),n=l(67407);let d=({form:e,country:t,required:l,selectStyle:d={},labelStyle:c={}})=>{let{data:u,loading:p,error:m}=(0,s.z1c)();if(p)return(0,r.jsx)(n.A,{name:"Citizenship",fieldName:"citizenship",form:e,component:(0,r.jsx)(a.A,{placeholder:"Citizenship",disabled:!0,size:"large",showSearch:!0,style:d}),required:l,labelStyle:c});if(m)return(0,r.jsx)(o.A,{});let h=u.allCountries,y=h.find(e=>t===e.code),f=h.filter(e=>e.code!==t);return(0,r.jsx)(n.A,{name:"Citizenship",fieldName:"citizenship",form:e,component:(0,r.jsxs)(a.A,{placeholder:"Citizenship",size:"large",filterOption:i.z2,showSearch:!0,style:d,children:[(0,r.jsx)(a.A.Option,{value:y.code,children:y.name},t),f.map(e=>(0,r.jsx)(a.A.Option,{value:e.code,children:e.name},e.code))]}),required:l,labelStyle:c})}},72113:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var r=l(95155),s=l(12115),a=l(58961),i=l(69869),o=l(87650),n=l(67407);let d=({form:e,country:t,required:l,selectStyle:d={},labelStyle:c={}})=>{let u=(0,a.C_3)({variables:{country:t}});if((0,s.useEffect)(()=>{let t=e.getFieldValue("placeOfBirthRegion");if(t&&u?.data){let l=u?.data?.zoneCodes?.find(e=>e.code===t);e.setFieldValue("placeOfBirthRegion",l?.code)}else e.setFieldValue("placeOfBirthRegion",void 0)},[t,u?.data,e]),u.loading||u?.error)return(0,r.jsx)(n.A,{name:"Birth State",fieldName:"placeOfBirthRegion",form:e,required:l,component:(0,r.jsx)(i.A,{size:"large",filterOption:o.z2,showSearch:!0,placeholder:"Place of Birth",style:d}),labelStyle:c});let{zoneCodes:p}=u.data;return(0,r.jsx)(n.A,{name:"Birth State",fieldName:"placeOfBirthRegion",form:e,required:l,options:{initialValue:void 0},component:(0,r.jsx)(i.A,{size:"large",filterOption:o.z2,showSearch:!0,placeholder:"Place of Birth",style:d,children:p.map(({code:e,name:t})=>(0,r.jsx)(i.A.Option,{value:e,children:t},e))}),labelStyle:c})}},73090:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});var r=l(95155);l(12115);var s=l(62272);let a=({form:e,required:t,inputStyle:l={},labelStyle:a={},fieldName:i})=>(0,r.jsx)(s.A,{name:"Address Line 2",fieldName:i||"addressLine2",form:e,explain:"Apartment, Suite, etc.",required:t,isAlphanumeric:!0,inputProps:{maxLength:100},inputStyle:l,labelStyle:a})},73245:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var r=l(95155);l(12115);var s=l(58961),a=l(69869),i=l(87650),o=l(67407);let n=({form:e,country:t,required:l,selectStyle:n={},labelStyle:d={}})=>{let{data:c,loading:u,error:p}=(0,s.z1c)();if(u||p)return(0,r.jsx)(o.A,{name:"Birth Country",fieldName:"placeOfBirthCountry",form:e,component:(0,r.jsx)(a.A,{placeholder:"Country of Birth",size:"large",filterOption:i.z2,showSearch:!0,style:n}),required:l,labelStyle:d});let m=c.allCountries,h=m.find(e=>t===e.code),y=m.filter(e=>e.code!==t);return(0,r.jsx)(o.A,{name:"Birth Country",fieldName:"placeOfBirthCountry",form:e,options:{initialValue:e.getFieldValue("placeOfBirthCountry")||t||"IN"},component:(0,r.jsxs)(a.A,{placeholder:"Country of Birth",size:"large",filterOption:i.z2,showSearch:!0,style:n,children:[(0,r.jsx)(a.A.Option,{value:h.code,children:h.name},t),y.map(e=>(0,r.jsx)(a.A.Option,{value:e.code,children:e.name},e.code))]}),required:l,labelStyle:d})}},73699:e=>{e.exports={labelWrapper:"styles_labelWrapper__uIy5J",label:"styles_label__kBGv3",tooltip:"styles_tooltip__TvtSA"}},77786:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});var r=l(95155);l(12115);var s=l(54174);let a=({form:e,required:t,inputStyle:l={},labelStyle:a={}})=>(0,r.jsx)(s.A,{name:"Bank Identifier Code (Swift BIC)",fieldName:"bankSwiftBic",form:e,required:t,cleaveOptions:{uppercase:!0},options:{rules:[{min:8,max:11,pattern:/^[a-zA-Z0-9]{8}$|^[a-zA-Z0-9]{11}$/,message:"Swift BIC has 8 or 11 alphanumeric digits (format: XXXXXXXX)."}]},htmlInputProps:{minLength:8,maxLength:11},inputStyle:{color:"unset",...l&&l},labelStyle:a})},78412:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var r=l(95155);l(12115);var s=l(58961),a=l(54174);let i=({form:e,country:t,required:l,labelStyle:i={},inputStyle:o={}})=>{let{data:n,loading:d,error:c}=(0,s.elY)({variables:{country:t},skip:!t});if(d||c)return(0,r.jsx)(a.A,{name:"Branch Code",fieldName:"branchCode",form:e,required:l,inputStyle:{color:"unset",...o&&o},labelStyle:i,disabled:!0,cleaveOptions:{numericOnly:!0}});let u=n?.branchCodes,p=new RegExp(u?.rule?.replace(/^\/|\/$/g,""));return(0,r.jsx)(a.A,{name:u?.name||"Branch Code",fieldName:"branchCode",form:e,required:l,cleaveOptions:{...u?.cleave},options:{rules:[{len:u?.length,pattern:p,message:u?.message}]},htmlInputProps:{maxLength:u?.length},inputStyle:{color:"unset",...o&&o},labelStyle:i})}},79391:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var r=l(95155);l(12115);var s=l(58961),a=l(79465),i=l(87650),o=l(54174);let n=({form:e,country:t,required:l,labelStyle:n={},inputStyle:d={}})=>{let{data:c,loading:u,error:p}=(0,s.hMN)({variables:{country:t}}
2);if(u)return(0,r.jsx)(o.A,{name:(0,i.hR)(t),fieldName:"accountNumber",form:e,disabled:!0,required:l,cleaveOptions:{blocks:[]},inputStyle:{color:"unset",...d&&d},labelStyle:n});if(p)return(0,r.jsx)(a.A,{});let m=c?.accountNumbers,h=new RegExp(m.rule.replace(/^\/|\/$/g,""));return(0,r.jsx)(o.A,{name:(0,i.hR)(t),fieldName:"accountNumber",form:e,disabled:u,required:l,cleaveOptions:{...m?.cleave},options:{rules:[{len:m.length,pattern:h,message:m.message},({getFieldValue:e})=>({validator:(t,l)=>l&&e("accountNumber")!==l?Promise.reject(Error("Account numbers do not match")):Promise.resolve()})]},htmlInputProps:{maxLength:m.length,placeholder:m?.placeholder?m.placeholder:""},inputStyle:{color:"unset",...d&&d},labelStyle:n})}},81828:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var r=l(95155);l(12115);var s=l(69869),a=l(58961),i=l(67407),o=l(98028),n=l.n(o);let d=({form:e,country:t,required:l})=>{let{data:o,error:d,loading:c}=(0,a.J6P)();return c?(0,r.jsx)(i.A,{form:e,name:"Entity Type",fieldName:"businessType",required:l,component:(0,r.jsx)(s.A,{disabled:!0,showSearch:!0,size:"large",placeholder:"Business Type"})}):d?(0,r.jsx)("div",{children:`Error: ${d.message}`}):(0,r.jsx)(i.A,{form:e,name:"Entity Type",fieldName:"businessType",required:l,component:(0,r.jsx)(s.A,{showSearch:!0,size:"large",placeholder:"Business Type",children:Object.keys(o.businessTypes.data[t]).map((e,l)=>{let a=o.businessTypes.data[t][e],i=`${l}-${a.replace(/\s+/g,"-").toLowerCase().replace(/[^0-9a-z-]/gi,"")}`;return(0,r.jsx)(s.A.Option,{value:a,className:n().wrapText,children:a},i)})}),options:{rules:[{required:l,message:"Please select business type"}]}})}},84891:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var r=l(95155);l(12115);var s=l(58961),a=l(69869),i=l(79465),o=l(67407);let n=({form:e,required:t,initialValue:l})=>{let{data:n,error:d,loading:c}=(0,s.gp5)();return c?(0,r.jsx)(o.A,{name:"Job Title",fieldName:"jobTitle",form:e,required:t,component:(0,r.jsx)(a.A,{showSearch:!0,disabled:!0,size:"large",placeholder:"Job Title"})}):d?(0,r.jsx)(i.A,{}):(0,r.jsx)(o.A,{name:"Job Title",fieldName:"jobTitle",form:e,options:{initialValue:l},required:t,component:(0,r.jsx)(a.A,{showSearch:!0,size:"large",placeholder:"Job Title",children:n.jobTitles.map(e=>(0,r.jsx)(a.A.Option,{value:e,children:e},e))})})}},87695:(e,t,l)=>{"use strict";l.d(t,{Q:()=>a});var r=l(51514),s=l(12115);let a=()=>{let e=(0,s.use)(r.Pd);return e?.state?.customTheme}},90726:e=>{e.exports={primaryColor:"#21b8a2",secondaryColor:"#221c34",accentColor:"#21b8a2",errorColor:"#ed1c24",processingColor:"#fbb03b",textColor:"#221c34",borderRadiusBase:"6px",lightModeBackground:"#FFF",defaultShadow:"0px 2px 15px 0px rgba(0, 0, 0, 0.1019607843)",lineHeight:"37px",greyText:"rgb(133, 131, 131)",pendingColor:"#5250a7",successColor:"success-color",xs:"0px",sm:"600px",md:"960px",lg:"1280px",xl:"1920px",skeletonCard:"styles_skeletonCard__xNTTA",graph:"styles_graph__lpsdM",headerText:"styles_headerText__bUko2",smallContainer:"styles_smallContainer__nu4ls",detailsBox:"styles_detailsBox__vV_ef",italicDisclaimer:"styles_italicDisclaimer__zym4b",sidebar:"styles_sidebar__AKC7L",borderlessLogo:"styles_borderlessLogo__iyjVI",borderlessImg:"styles_borderlessImg__Mpn5L",borderlessImgCollapsed:"styles_borderlessImgCollapsed__h21I9",thumbnail:"styles_thumbnail__4jUdV",layoutFlexContainer:"styles_layoutFlexContainer__flfyH",avatarContainer:"styles_avatarContainer__DiKXT",menu:"styles_menu__AF062",helpmenu:"styles_helpmenu__hnKCH",grow:"styles_grow__a5ogc",footerMenu:"styles_footerMenu__16RwK",sider:"styles_sider__u0zPS",collapsed:"styles_collapsed__F5bRb",personName:"styles_personName__8CpVK",deliveryMethodGroup:"styles_deliveryMethodGroup__7esXJ",deliveryMethodContainer:"styles_deliveryMethodContainer__xSzKX",deliveryMethodTextContainer:"styles_deliveryMethodTextContainer__cs8zl",deliveryMethodTitleTimeFrameContainer:"styles_deliveryMethodTitleTimeFrameContainer__SyDo_",deliveryMethodTitle:"styles_deliveryMethodTitle__CRfsb",deliveryMethodDescription:"styles_deliveryMethodDescription__7IZKL",timeFrame:"styles_timeFrame___lNIV",LoadingSkeletonAvatar:"styles_LoadingSkeletonAvatar__hg7uL"}},92171:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var r=l(95155);l(12115);var s=l(69869),a=l(87650),i=l(67407),o=l(98028),n=l.n(o);let d=[{name:"1 to 5 transactions",value:5},{name:"6 to 10 transactions",value:10},{name:"11 to 25 transactions",value:25},{name:"26 to 50 transactions",value:50},{name:"51 to 100 transactions",value:100},{name:"100+ transactions",value:200}],c=({form:e,required:t})=>(0,r.jsx)(i.A,{form:e,name:"Monthly Transactions",fieldName:"estimatedMonthlyTransactions",required:t,component:(0,r.jsx)(s.A,{showSearch:!0,size:"large",placeholder:"Number of Monthly Transactions",filterOption:a.Xz,children:d.map(e=>(0,r.jsx)(s.A.Option,{value:e.value,className:n().wrapText,children:e.name},e.value))})})},93408:e=>{e.exports={labelWrapper:"styles_labelWrapper__heSJf",label:"styles_label__TWJk6",tooltip:"styles_tooltip__dYBVx"}},95601:(e,t,l)=>{"use strict";l.d(t,{A:()=>h});var r=l(95155),s=l(12115),a=l(44736),i=l(21034),o=l(58961),n=l(46526),d=l(87650),c=l(62272),u=l(98028),p=l.n(u);let m={"add-card":{addressLine1:"billingAddressLine1",addressLine2:"billingAddressLine2",city:"billingCity",zoneCode:"billingZoneCode",postalCode:"billingPostalCode"},"w9-tax":{addressLine1:"addressLine1",city:"city",zoneCode:"zoneCode",postalCode:"postalCode"},default:{addressLine1:"addressLine1",addressLine2:"addressLine2",city:"city",zoneCode:"zoneCode",postalCode:"postalCode"}},h=({form:e,required:t,disabled:l=!1,name:u,labelStyle:h={},inputStyle:y={},fieldName:f,formType:g="default",country:x})=>
2{let[A,b]=(0,s.useState)([]),[C,_]=(0,s.useState)(!1),[v,S]=(0,s.useState)(!1),[j,N]=(0,s.useState)(-1);(0,s.useEffect)(()=>{d.Rb.includes(x)||n.A.initialize("prj_live_pk_f19a839934639d2a289f7d515ff0498a27c4b533")},[]);let B=async()=>{if(!d.Rb.includes(x)&&!C)try{_(!0);let t=e.getFieldValue(f||"addressLine1"),l=await n.A.autocomplete({query:t,limit:5,countryCode:x});l?.addresses?.length?(b(l.addresses),S(!0)):(b([]),S(!1))}catch(e){console.error(e)}finally{_(!1)}},T=null,w=t=>{let l=m[g],r={};if(l.addressLine1){let e=t?.unit?t.addressLabel.replace(t.unit,"").trimEnd():t.addressLabel;r[l.addressLine1]=(0,a.A)(e)}if(l.city&&(r[l.city]=(0,a.A)(t.city)),l.zoneCode&&(r[l.zoneCode]=t.stateCode),l.postalCode){let e=x===o.TP9.Ca?t.postalCode.replace(" ",""):t.postalCode;r[l.postalCode]=e}l.addressLine2&&t?.unit&&(r[l.addressLine2]=(0,a.A)(t.unit)),e.setFieldsValue(r),e.validateFields(),S(!1),b([]),N(-1)};return(0,r.jsxs)("div",{style:{position:"relative"},children:[(0,r.jsx)(c.A,{name:u||"Address Line 1",fieldName:f||"addressLine1",form:e,explain:"Street address with number",required:t,isAlphanumeric:!0,disabled:l,options:{rules:[{validator:async(e,t)=>t&&(0,d.xp)(t,"po_box")?Promise.reject(Error("PO Box addresses aren’t allowed. Please enter a physical street address.")):t&&t?.trim()?.length<2?Promise.reject(Error("Address must contain at least 2 characters")):Promise.resolve()}]},inputProps:{maxLength:100,minLength:2,onChange:e=>{N(-1),e.target.value.length>=2&&!C?(T&&clearTimeout(T),T=setTimeout(B,500)):(S(!1),b([]))},onFocus:()=>{A.length>0&&S(!0)},onBlur:()=>{setTimeout(()=>{S(!1),N(-1)},200)},onKeyDown:e=>{v&&0!==A.length&&["ArrowDown","ArrowUp","Enter"].includes(e.key)&&(e.preventDefault(),"ArrowDown"===e.key?N(e=>(e+1)%A.length):"ArrowUp"===e.key?N(e=>e<=0?A.length-1:e-1):"Enter"===e.key&&j>=0&&j<A.length&&w(A[j]))}},labelStyle:h,inputStyle:y}),v&&A.length>0&&(0,r.jsx)(i.A,{itemLayout:"horizontal",dataSource:A,className:p().addressDropdown,renderItem:(e,t)=>(0,r.jsx)(i.A.Item,{className:j===t?p().item_selected:p().item,onClick:()=>w(e),children:e.formattedAddress})})]})}},96712:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var r=l(95155);l(12115);var s=l(69869),a=l(67407);let i=({form:e,labelStyle:t={},selectStyle:l={}})=>(0,r.jsx)(a.A,{form:e,name:"Bank Account Type",fieldName:"bankAccountType",required:!0,component:(0,r.jsx)(s.A,{showSearch:!0,size:"large",placeholder:"Select a Bank Account Type",style:l,children:["Checking","Savings"].map(e=>(0,r.jsx)(s.A.Option,{value:e,children:e},e))}),options:{rules:[{required:!0,message:"Please select a bank account type"}]},labelStyle:t})},98028:e=>{e.exports={primaryColor:"#21b8a2",secondaryColor:"#221c34",accentColor:"#21b8a2",errorColor:"#ed1c24",processingColor:"#fbb03b",textColor:"#221c34",borderRadiusBase:"6px",lightModeBackground:"#FFF",defaultShadow:"0px 2px 15px 0px rgba(0, 0, 0, 0.1019607843)",lineHeight:"37px",greyText:"rgb(133, 131, 131)",pendingColor:"#5250a7",successColor:"success-color",xs:"0px",sm:"600px",md:"960px",lg:"1280px",xl:"1920px",wrapText:"styles_wrapText__m0ebG",slugField:"styles_slugField__Q_eC_",clickToCopyRow:"styles_clickToCopyRow___uieD",clickToCopyButton:"styles_clickToCopyButton__aOg2w",clickToCopyInput:"styles_clickToCopyInput__arywc",url:"styles_url__EFuzt",addressDropdown:"styles_addressDropdown__sb3h4",item:"styles_item__NaTrD",item_selected:"styles_item_selected__qtdSH"}},99208:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var r=l(95155);l(12115);var s=l(58961),a=l(13099),i=l(54174);let o=({form:e,country:t,required:l,disabled:o=!1,fieldName:n,labelStyle:d={},inputStyle:c={}})=>{let{data:u,loading:p,error:m}=(0,s.Rvq)({variables:{country:t,type:s.w8n.Business}});if(p)return(0,r.jsx)(i.A,{name:"Business Tax Id",fieldName:n||"businessTaxId",form:e,disabled:!0,required:l,cleaveOptions:{blocks:[]},inputStyle:c,labelStyle:d});if(m||a.cw.includes(t))return null;let h=u?.taxIds,y=new RegExp(h.regex.replace(/^\/|\/$/g,""));return(0,r.jsx)(i.A,{name:h.name,fieldName:n||"businessTaxId",form:e,disabled:o,required:l,cleaveOptions:{...h?.cleave},options:{getValueFromEvent:e=>e.target.rawValue,rules:[{pattern:y,message:h.message}]},inputStyle:c,labelStyle:d})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.