PageSourceSearch

https://www.valr.com/static/js/6809.de856a50.chunk.js

js valr.com collected 2026-09-25 19:07:06 UTC 19,794 bytes, 2 lines download raw bytes

1try{!function(){var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f9f45861-0adb-4330-8ea0-c784ca84bad3",e._sentryDebugIdIdentifier="sentry-dbid-f9f45861-0adb-4330-8ea0-c784ca84bad3")}()}catch(e){}try{("u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{}).SENTRY_RELEASE={id:"[email protected]"}}catch(e){}"use strict";(self["chunk_host "]=self["chunk_host "]||[]).push([["6809"],{37897(e,t,r){r.d(t,{t:()=>b});var i=r(46160),a=r(71397),n=r(3334),l=r(83328),o=r(21647),s=r(33710),c=r(72701),u=r.n(c),d=r(63219),m=r(39977),p=r(81848),f=r(84365),h=r(29619),v=r.n(h),x=r(11712),y=function(e){function t(){var e,r,i,l=this;(0,n.default)(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return e=r=(0,o.default)(this,(i=t.__proto__||Object.getPrototypeOf(t)).call.apply(i,[this].concat(c))),r.hasMounted=!1,r.state={entities:void 0},r.getQueryResult=function(){return(0,a.default)({fetchData:r.fetchData},r.state,r.props.requestState)},r.updateState=function(e){r.hasMounted&&r.setState(e)},r.fetchData=(0,x.default)(v().mark(function e(){var t,i,a,n,o,s;return v().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!r.props.shouldSkip){e.next=2;break}return e.abrupt("return",null);case 2:return i=(t=r.props).query,a=t.fetchStart,o=void 0===(n=t.action)?a:n,e.prev=3,e.next=6,new Promise(function(e,t){var r=o(i,{resolve:e,reject:t});r.then&&r.then(function(t){return e(t)}).catch(function(e){return t(e)})});case 6:return s=e.sent,r.updateState({entities:s?s.entities:void 0}),e.abrupt("return",s);case 11:throw e.prev=11,e.t0=e.catch(3),e.t0;case 14:case"end":return e.stop()}},e,l,[[3,11]])})),(0,o.default)(r,e)}
1return(0,s.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.fetchData(),this.hasMounted=!0}},{key:"componentDidUpdate",value:function(e){var t=this,r=e.query;Object.keys(r).some(function(e){return r[e]!==t.props.query[e]})&&this.fetchData()}},{key:"componentWillUnmount",value:function(){this.hasMounted=!1}},{key:"render",value:function(){return(0,this.props.children)(this.getQueryResult())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=e.requestState,i=t.entities;return r&&r.result?{entities:i}:{entities:void 0}}}]),t}(c.Component);y.defaultProps={query:{},options:{}};var g=(0,d.connect)(function(e,t){var r=t.name;return{requestState:(0,f.iq)(e,{operation:r})}},function(e,t){var r=t.action;return function(){return(0,m.bindActionCreators)((0,a.default)({action:r},p.V),e)}})(y),b=function(e){return function(t){var r=void 0,m=e.name,p=e.method,f=e.serialize,h=e.executor,v=e.prepareExecutor,x=e.query,y=e.payload,b=e.options,w=e.skip,j=e.placeholder,C=c.Component;function _(){(0,n.default)(this,_);for(var e,t,r,i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return t=r=(0,o.default)(this,(e=_.__proto__||Object.getPrototypeOf(_)).call.apply(e,[this].concat(a))),r.applyProps=function(e){return"function"==typeof e?e(r.props):e},(0,o.default)(r,t)}return(0,s.default)(_,C),(0,l.default)(_,[{key:"render",value:function(){var n=this;e.query=(0,a.default)({name:m,method:p,payload:y,serialize:f,executor:h,prepareExecutor:v},x,this.applyProps(b)),w&&(e.shouldSkip=this.applyProps(w));var l=this.props.context||d.ReactReduxContext;return u().createElement(l.Consumer,null,function(l){var o=l.store;return u().createElement(g,(0,a.default)({store:o},e,n.props),function(l){var o=e.name||"data",s=(0,i.default)({},o,l);if(e.props){var c,d=(c={},(0,i.default)(c,o,l),(0,i.default)(c,"ownProps",n.props),c);s=r=e.props(d,r)}return j&&l.loading?u().createElement(j,n.props):u().createElement(t,(0,a.default)({},n.props,s))})})}}]),_}}},74562(e,t,r){r.d(t,{A:()=>d});var i=r(87529);r(72701);var a=r(46292),n=r.n(a),l=r(13417),o=r(66387);let s=n().div.withConfig({displayName:"styles__Container"})(["display:flex;flex-direction:",";align-items:center;margin-right:",";cursor:pointer;"],e=>{let{direction:t="vertical"}=e;return"vertical"===t?"column":"row"},e=>{let{withoutMargin:t}=e;return t?"0":"13px"}),c=n().button.attrs({type:"button"}).withConfig({displayName:"styles__ContainerButton"})(["",";display:flex;flex-direction:",";align-items:center;margin-right:",";cursor:pointer;"],o.AF,e=>{let{direction:t="vertical"}=e;return"vertical"===t?"column":"row"},e=>{let{withoutMargin:t}=e;return t?"0":"13px"}),u=n()(l.A).withConfig({displayName:"styles__Icon"})(["margin-right:13px;cursor:pointer;"]),d=e=>{let{onClick:t,text:r,checked:a,withoutMargin:n,direction:l="vertical",isButton:o=!1}=e;return(0,i.jsxs)(o?c:s,{onClick:t,withoutMargin:n,direction:l,children:[(0,i.jsx)(u,{name:a?"icon-radio-checked":"icon-radio-unchecked",width:26,height:25}),r]})}},58192(e,t,r){r.d(t,{A:()=>o});var i=r(87529);r(72701);var a=r(68568),n=r(18438),l=r(56086);let o=e=>{let{isForm:t=!1}=e,{TRAVEL_RULE_FAQ:r,NO_SUPPORT:o}=(0,l.oF)(),s=r&&r!==o;return t?(0,i.jsxs)(n.A,{variant:"text-md-medium",color:"foreground.800",textAlign:"center",children:["To comply with local and global regulations, crypto service providers now need to collect this information. Capturing incorrect information might lead to failed transactions."," ",!!s&&(0,i.jsx)(a.A,{href:r,children:"Learn more"})]}):(0,i.jsxs)(n.A,{variant:"text-md-medium",color:"foreground.800",children:["Why do we need recipient info? We are required by law to collect certain information about your withdrawals. ",!!s&&(0,i.jsx)(a.A,{href:r,children:"Learn more"})]})}},85018(e,t,r){r.d(t,{l:()=>G});var i=r(33469),a=r(97160),n=r(96395),l=r(87529),o=r(52663),s=r(72701),c=r(76349),u=r(13417),d=r(74562),m=r(58192),p=r(1873),f=r(60803);let h=e=>{let{path:t}=e;return"".concat(t," is required")},v=new RegExp(RegExp("^[\\p{L}\\p{N}]+[\\p{L}\\p{Z}\\p{N}\\-'&.(),+]{0,}$","u")),x=e=>{let t=(0,f.bv)({message:e});return{name:"no-invalid-characters",message:e,test:e=>!e||!t(e)}},y=p.Ik().shape({isCorporate:p.zM().nullable().required("Recipient type is required"),isSelfHosted:p.zM().nullable().required("Wallet type is required"),name:p.Yj().nullable().when("isCorporate",{is:!1,then:p.Yj().label("Name").required(h).min(2,"Name must be at least ".concat(2," characters")).max(127).trim().test(x("Name must not contain numbers or special characters"))}),lastName:p.Yj().nullable().when("isCorporate",{is:!1,then:p.Yj().label("Last name").required(h).min(2,"Last name must be at least ".concat(2," characters")).max(127).trim().test(x("Last name must not contain numbers or special characters"))}),corporateRegisteredName:p.Yj().nullable().when("isCorporate",{is:!0,then:p.Yj().label("Registered name").required(h).min(1).max(127).matches(v,"Registered name must not include special characters")}),serviceProviderOther:p.Yj().nullable().when("serviceProvider",{is:"other",then:p.Yj().required("Please specify service provider").min(1).max(127).matches(v,"Service provider name must not include special characters")}),serviceProvider:p.Yj().nullable().when("isSelfHosted",{is:!1,then:p.Yj().label("Service provider").required(h)}),certifiedAccurate:p.zM().required("You must certify the information is accurate before continuing").oneOf([!0],"You must certify the information is accurate before continuing")});var g=r(19792),b=r(71481),w=r(1010),j=r(6525);let C=(0,s.forwardRef)((e,t)=>{let{field:r,form:o}=e,s=(0,n._)(e,["field","form"]),{name:c,value:u,onChange:d,onBlur:m}=r,{getFieldMeta:p}=o,{error:f,touched:h,initialValue:v}=p(c);return(0,l.jsx)(j.A,(0,a._)((0,i._)({}
1,s),{input:{onBlur:m,onChange:d,name:c},onBlur:m,onChange:d,value:u,meta:{error:f,touched:h,dirty:u!==v}}))});var _=r(37121),N=r(75210),R=r(18438),k=r(33702),S=r(46292),A=r.n(S),P=r(43602),E=r(53833);let F=A().div.withConfig({displayName:"TravelRuleForm.styles__RadioGroupInner"})(["display:flex;flex-direction:row;justify-content:flex-start;align-items:center;@media (max-width:","){flex-direction:column;align-items:flex-start;gap:8px;}> button{display:flex;flex-direction:row;",";}"],E.fi.sm,(0,P.J)("md-semibold")),D=A().div.withConfig({displayName:"TravelRuleForm.styles__RadioGroupOuter"})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;"]),q=A().div.withConfig({displayName:"TravelRuleForm.styles__FormInnerContainer"})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;gap:18px;"]),T=A()(o.lV).withConfig({displayName:"TravelRuleForm.styles__FormOuterContainer"})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:32px;width:min(440px,100%);max-width:440px;"]),M=A().div.withConfig({displayName:"TravelRuleForm.styles__BackContainer"})(["display:flex;align-items:center;align-self:stretch;"]),L=A()(R.A).attrs({variant:"text-sm-semibold",color:"foreground.900"}).withConfig({displayName:"TravelRuleForm.styles__BackText"})(["cursor:pointer;"]),O=A().label.withConfig({displayName:"TravelRuleForm.styles__CheckboxLabel"})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:center;font-size:12px;margin-bottom:4px;"]),B=A().div.withConfig({displayName:"TravelRuleForm.styles__ButtonGroup"})(["display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;gap:16px;> button{flex:1 1 50%;}@media (max-width:","){flex-direction:column;> button{width:100%;}}"],E.fi.sm),H=A().div.withConfig({displayName:"TravelRuleForm.styles__WarningBoxOuter"})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:center;padding:12px;gap:4px;border-radius:6px;background:",";> div:nth-child(1){display:flex;flex-direction:column;align-items:center;flex:0 0 auto;color:",";}> div:nth-child(2){display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;}"],(0,E.Ry)("warning","300"),(0,E.Ry)("warning","900")),I=A().div.withConfig({displayName:"TravelRuleForm.styles__ErrorBox"})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;"]),Y=e=>e?Array.isArray(e)?e[0].toString():e.toString():"",z=(e,t)=>{let{touched:r,errors:i,dirty:a}=e,n=r[t],l=!!n&&!!i[t],o=i[t];return(a||n)&&l?Y(o):""},W=(0,s.forwardRef)((e,t)=>{let{field:r,form:o,label:c}=e,u=(0,n._)(e,["field","form","label"]),{name:m,value:p,checked:f}=r,{setFieldValue:h}=o,v=(0,s.useCallback)(()=>{h(m,p,!0)},[m,h,p]);return(0,l.jsx)(d.A,(0,a._)((0,i._)({},u),{onClick:v,text:c,checked:null!=f&&f,isButton:!0}))}),V=(0,s.forwardRef)((e,t)=>{let{field:r,form:n}=e,{setFieldValue:o,errors:c,touched:u,setFieldTouched:d,validateField:m}=n,{name:p,value:f}=r,h=u[p],v=c[p],x=!!h&&!!c[p],y=(0,s.useRef)(r.value),g=(0,s.useMemo)(()=>Y(v),[v]),b=(0,s.useCallback)(e=>{var t;let r=null!=(t=null==e?void 0:e.value)?t:e;o(p,r,!0),y.current=r,d(p,!0,!1)},[p,o,d]),w=(0,s.useCallback)(()=>{y.current||(d(p,!0,!1),m(p))},[p,d,m]),j=(0,s.useMemo)(()=>{var t;return f?null==e||null==(t=e.options)?void 0:t.find(e=>e.value===f):null},[null==e?void 0:e.options,f]);return(0,l.jsx)(N.A,(0,a._)((0,i._)({},e),{value:j,onChange:b,onBlur:w,error:x,alwaysDisplayOther:!0,caption:x?g:""}))}),J=(0,s.memo)(e=>{let{buttonLabelSubmit:t,buttonLabelCancel:r,onClickCancel:n,externalError:d,showBackButton:p,onClickBack:f}=e,h=(0,o.j7)(),{values:v,touched:x,isValid:y,setTouched:j,setValues:N,isSubmitting:S=!1,setStatus:A,status:P}=h,E=null==v?void 0:v.isCorporate,T=null==v?void 0:v.isSelfHosted,Y=(null==v?void 0:v.serviceProvider)==="other",J=!(null==v?void 0:v.certifiedAccurate)||Object.keys(x).length>0&&!y;(e=>{let{isCorporate:t,isSelfHosted:r,selectedServiceProvider:n,setValues:l,setTouched:o,externalError:c,setStatus:u}=e,d=(0,g.Z)(c);(0,s.useEffect)(()=>{!d&&c?u(c):d&&!c&&u("")},[c]),(0,s.useEffect)(()=>{o({recipient:!1,name:!1,lastName:!1,corporateRegisteredName:!1},!1)},[t,o,l]),(0,s.useEffect)(()=>{r&&(l(e=>(0,a._)((0,i._)({},e),{serviceProvider:"",serviceProviderOther:void 0}),!0),o({},!1))},[r,o,l]),(0,s.useEffect)(()=>{o({name:!0,lastName:!0,corporateRegisteredName:!0},!0)},[n,o])})({isCorporate:E,isSelfHosted:T,selectedServiceProvider:null==v?void 0:v.serviceProvider,setTouched:j,setValues:N,externalError:d,setStatus:A});let{isLoading:G,providersList:Q}=(()=>
1{let[e,t]=(0,s.useState)(!0),[r,i]=(0,s.useState)([]);return(0,s.useEffect)(()=>{(async()=>{t(!0);try{let e=await (0,k.H)();i(e)}catch(e){i([]),console.log(e)}finally{t(!1)}})()},[]),(0,s.useMemo)(()=>({isLoading:e,providersList:r}),[e,r])})(),U=(0,s.useMemo)(()=>Q.map(e=>({label:e.name,value:e.id})),[Q]),Z=z(h,"isCorporate"),$=z(h,"isSelfHosted");return(0,l.jsxs)(l.Fragment,{children:[p&&f&&(0,l.jsx)(M,{children:(0,l.jsx)(L,{onClick:f,children:"<- Back"})}),(0,l.jsxs)(q,{children:[(0,l.jsxs)(D,{children:[(0,l.jsx)(O,{for:"isCorporate",children:"Recipient"}),(0,l.jsxs)(F,{children:[(0,l.jsx)(o.D0,{type:"radio",component:W,label:"Individual",name:"isCorporate",value:!1}),(0,l.jsx)(o.D0,{type:"radio",component:W,label:"Corporate",name:"isCorporate",value:!0})]}),!!Z&&(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{style:{width:"100%",marginBottom:"4px"}}),(0,l.jsx)(_.HL,{hasError:!0,children:Z})]})]}),!E&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.D0,{name:"name",label:"Name",component:C,width:"100%",placeholder:"Full legal name"}),(0,l.jsx)(o.D0,{name:"lastName",label:"Last name",component:C,width:"100%",placeholder:"Full legal last name"})]}),E&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(o.D0,{name:"corporateRegisteredName",label:"Corporate's Registered Name",component:C,width:"100%",placeholder:"Company Name"})}),(0,l.jsxs)(D,{children:[(0,l.jsx)(O,{for:"isSelfHosted",children:"Wallet"}),(0,l.jsxs)(F,{children:[(0,l.jsx)(o.D0,{type:"radio",component:W,label:"Self Hosted",
1name:"isSelfHosted",value:!0}),(0,l.jsx)(o.D0,{type:"radio",component:W,label:"Crypto service provider",name:"isSelfHosted",value:!1})]}),!!$&&(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{style:{width:"100%",marginBottom:"4px"}}),(0,l.jsx)(_.HL,{hasError:!0,children:$})]})]}),!1===T&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.D0,{isLoading:G,name:"serviceProvider",label:"Service provider",component:V,width:"100%",placeholder:"Select platform",options:U}),Y&&(0,l.jsx)(o.D0,{name:"serviceProviderOther",label:"Other Service Provider",component:C,width:"100%",placeholder:"Specify service provider"})]})]}),(0,l.jsx)(o.D0,{name:"certifiedAccurate",children:e=>{let{field:t,form:r}=e;return(0,l.jsx)(w.A,{checked:!!t.value,onChange:e=>r.setFieldValue("certifiedAccurate",e.target.checked,!0),name:"certifiedAccurate",dataQa:"travel-rule-certify",useCssVars:!0,children:(0,l.jsx)(R.A,{variant:"text-md-medium",color:"foreground.900",children:"By checking this box, I certify that the information provided are true, accurate, complete and not misleading in any respect."})})}}),P&&(0,l.jsx)(I,{children:(0,l.jsx)(c.A,{mb:0,mt:0,children:P})}),(0,l.jsxs)(B,{children:[(0,l.jsx)(b.A,{variant:"light",type:"button",onClick:n,children:r}),(0,l.jsx)(b.A,{variant:"primary",isLoading:S,type:S?"button":"submit",disabled:J,children:t})]}),(0,l.jsxs)(H,{children:[(0,l.jsx)("div",{children:(0,l.jsx)(u.A,{name:"icon-warning-circle-yellow",size:18})}),(0,l.jsx)("div",{children:(0,l.jsx)(m.A,{isForm:!0})})]})]})}),G=e=>{let{onSubmit:t,onClickCancel:r,buttonLabelSubmit:n,buttonLabelCancel:c,initialTravelRuleInfo:u,externalError:d,showBackButton:m,onClickBack:p}=e,f=(0,s.useMemo)(()=>({isCorporate:!1,isSelfHosted:null,recipient:"",name:"",lastName:"",corporateRegisteredName:"",serviceProvider:"",serviceProviderOther:"",certifiedAccurate:!1}),[]),h=(0,s.useMemo)(()=>{let e=u?(0,i._)({},f,u):f;return(0,a._)((0,i._)({},e),{certifiedAccurate:!1})},[u,f]);return(0,l.jsx)(o.l1,{onSubmit:t,initialValues:h,validationSchema:y,enableReinitialize:!0,children:(0,l.jsx)(T,{children:(0,l.jsx)(J,{buttonLabelSubmit:n,buttonLabelCancel:c,onClickCancel:r,externalError:d,showBackButton:m,onClickBack:p})})})}},86727(e,t,r){r.d(t,{Li:()=>o,_E:()=>n,kv:()=>s});var i=r(34814),a=r.n(i);let n=e=>!!e&&!!e.beneficiaryName,l=["corporateRegisteredName","beneficiaryName","serviceProviderName","serviceProviderId"],o=e=>{let t,{corporateRegisteredName:r,isSelfHosted:i,recipient:n,name:o,lastName:s,serviceProvider:c,isCorporate:u,serviceProviderOther:d}=e;t=i?null:d?"NAME":"ID";let m=[o,s].filter(Boolean).map(e=>(null!=e?e:"").trim()).join(" ")||(null!=n?n:"").trim(),p={isSelfHosted:i,beneficiaryName:u?r:m,isCorporate:u};return"ID"===t&&(p.serviceProviderId=c),"NAME"===t&&(p.serviceProviderName=d),l.forEach(e=>{(a()(p[e])||""===p[e])&&delete p[e]}),p},s=e=>{let{serviceProviderName:t,serviceProviderId:r,beneficiaryName:i,isSelfHosted:a,isCorporate:n}=e,l={isSelfHosted:a,isCorporate:n,recipient:"",name:"",lastName:"",corporateRegisteredName:"",serviceProvider:"",serviceProviderOther:"",certifiedAccurate:!1};return n&&(l.corporateRegisteredName=i),a||(r?l.serviceProvider=r:null!=t&&(l.serviceProvider="other",l.serviceProviderOther=t)),l}},77416(e,t,r){r.d(t,{H:()=>i.beautifyCamelString});var i=r(26623)},41690(e,t,r){r.d(t,{H:()=>l,_:()=>n});var i=r(68171),a=r(77416);let n=(e,t)=>"".concat((0,a.H)(e)," ").concat(t),l=e=>{let t=!1,r="",a=[];if((0,i.F0)(e)){var l,o,s,c,u,d,m;let i=null!=(l=null==e||null==(c=e.response)||null==(s=c.data)||null==(o=s.validationErrors)?void 0:o.errors)?l:[];a.push(...i),r=(t=!!i.length)?i.map(e=>{let{field:t,message:r}=e;return n(t,r)}).join(". "):null!=(u=null==e||null==(m=e.response)||null==(d=m.data)?void 0:d.message)?u:null==e?void 0:e.toString()}else"string"==typeof e?r=e:e&&(r=null==e?void 0:e.toString()).startsWith("Error: ")&&(r=r.slice(7));return{isFieldValidationError:t,extractedErrorMessage:r,fieldValidationErrors:a}}},90449(e,t,r){r.d(t,{i:()=>n});var i=r(18952),a=r(10655);function n(e,t){if(!e||!t)return!0;try{let r={chain:t.toLowerCase(),networkType:a.Cu?i.z1.TestNet:i.z1.MainNet};return(0,i.tf)(e,r)}catch(e){return!0}}},33702(e,t,r){r.d(t,{H:()=>l,w:()=>o}),r(99198);var i=r(63914),a=r(13176);r(42570);let n=(0,i.Ay)(),l=async()=>{var e;let t,r=await n.get("/beneficiary-information/exchanges");return t=null!=(e=null==r?void 0:r.data)?e:[],[...(0,a.orderBy)(t,[e=>e.name.toLowerCase()],["asc"]),{name:"Other",id:"other"}]},o=async e=>{let{addressBookIdentifier:t}=e,r=(0,a.omit)(e,["addressBookIdentifier"]),i=await n.put("/address-book/".concat(t),r);return[200,201].some(e=>i.status===e)}},51338(e,t,r){r.d(t,{D:()=>d,J:()=>m});var i=r(95506),a=r(96877),n=r(63219),l=r(72701),o=r(19655),s=r(40805),c=r(99198),u=r(61689);let d=()=>
1{let e=(0,n.useSelector)(e=>(0,i.Fo)(a.gH.TravelRule,"webTravelRule")(e)),t=(0,n.useSelector)(e=>(0,i.Fo)(a.gH.TravelRuleWithdrawals,"webTravelRuleWithdrawals")(e));return(0,l.useMemo)(()=>({isTravelRuleEnabledForWithdrawals:t,isTravelRuleEnabled:e}),[e,t])},m=e=>{var t;let r=(0,o.gs)(null==e?void 0:e.currency),{isTravelRuleEnabledForWithdrawals:i}=d(),a=!!(0,n.useSelector)(s.a),m=null!=(t=(0,n.useSelector)(s.zv))?t:[],{isInternalAddress:p=!1}=null!=e?e:{},f=!a||(0,c.RS)([u.qJ.WithdrawFiat],null!=m?m:[]),h=!a||(0,c.RS)([u.qJ.WithdrawCrypto],null!=m?m:[]),v=(0,l.useMemo)(()=>!a||(r?f:h),[h,f,r,a]),x=!!(null==e?void 0:e.beneficiaryName);return(0,l.useMemo)(()=>!!v&&(!!p||!i||x),[v,x,p,i])}},23975(e,t,r){r.d(t,{w:()=>o});var i=r(13176),a=r(63914),n=r(22027);let l=(0,a.Ay)(),o=async e=>{var t;let{symbol:r,address:a,networkType:o,paymentReference:s}=e,c="".concat("https://api.valr.com","/account/wallet/internal/address/check");r&&(c="".concat("https://api.valr.com","/account/wallet/send/internal/").concat(r));let u=(0,n.O)(c,{address:a,networkType:o,paymentReference:s}),d=await l.get(u);return null!=(t=(0,i.get)(d,"data.internal"))&&t}}}]);
2//# sourceMappingURL=6809.de856a50.chunk.js.map

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.