PageSourceSearch

https://www.xe.com/_next/static/chunks/pages/[locale]/currencyconverter/convert-65113f36604e64e8.js

js xe.com collected 2026-09-24 08:26:37 UTC 17,952 bytes, 5 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9760],{814:e=>{"use strict";e.exports=JSON.parse('{"EUR":"FR","AED":"AE","AFN":"AF","XCD":"GD","ALL":"AL","AMD":"AM","AOA":"AO","USD":"US","ARS":"AR","AUD":"AU","AWG":"AW","AZN":"AZ","BAM":"BA","BBD":"BB","BDT":"BD","XOF":"TG","BGN":"BG","BHD":"BH","BIF":"BI","BMD":"BM","BND":"BN","BOB":"BO","BRL":"BR","BSD":"BS","BTN":"BT","NOK":"NO","BWP":"BW","BYN":"BY","BZD":"BZ","CAD":"CA","CDF":"CD","XAF":"CM","CHF":"CH","CLP":"CL","CNY":"CN","COP":"CO","CRC":"CR","CUC":"CU","CVE":"CV","ANG":"SX","CZK":"CZ","DJF":"DJ","DKK":"DK","DOP":"DO","DZD":"DZ","EGP":"EG","MAD":"MA","ERN":"ER","ETB":"ET","FJD":"FJ","FKP":"FK","GBP":"GB","GEL":"GE","GGP":"GG","GHS":"GH","GIP":"GI","GMD":"GM","GNF":"GN","GTQ":"GT","GYD":"GY","HKD":"HK","HNL":"HN","HTG":"HT","HUF":"HU","IDR":"ID","ILS":"IL","IMP":"IM","INR":"IN","IQD":"IQ","IRR":"IR","ISK":"IS","JEP":"JE","JMD":"JM","JOD":"JO","JPY":"JP","KES":"KE","KGS":"KG","KHR":"KH","KMF":"KM","KPW":"KP","KRW":"KR","KWD":"KW","KYD":"KY","KZT":"KZ","LAK":"LA","LBP":"LB","LKR":"LK","LRD":"LR","LSL":"LS","LYD":"LY","MDL":"MD","MGA":"MG","MKD":"MK","MMK":"MM","MNT":"MN","MOP":"MO","MRU":"MR","MUR":"MU","MVR":"MV","MWK":"MW","MXN":"MX","MYR":"MY","MZN":"MZ","NAD":"NA","NGN":"NG","NIO":"NI","NPR":"NP","NZD":"NZ","OMR":"OM","PAB":"PA","P
1EN":"PE","XPF":"PF","PGK":"PG","PHP":"PH","PKR":"PK","PLN":"PL","PYG":"PY","QAR":"QA","RON":"RO","RSD":"RS","RUB":"RU","RWF":"RW","SAR":"SA","SBD":"SB","SCR":"SC","SDG":"SD","SEK":"SE","SGD":"SG","SHP":"SH","SLL":"SL","SPL":"SN","SOS":"SO","SRD":"SR","STN":"ST","SVC":"SV","SYP":"SY","SZL":"SZ","THB":"TH","TJS":"TJ","TMT":"TM","TND":"TN","TOP":"TO","TRY":"TR","TTD":"TT","TVD":"TV","TWD":"TW","TZS":"TZ","UAH":"UA","UGX":"UG","UYU":"UY","UZS":"UZ","VES":"VE","VND":"VN","VUV":"VU","WST":"WS","YER":"YE","ZAR":"ZA","ZMW":"ZM","ZWD":"ZW"}')},1215:(e,t,r)=>{"use strict";r.d(t,{ej:()=>i,fF:()=>l});var n=r(47870),o=r(58949);let i=(e,t)=>{if(!e)return a(0,t,2);let r=2;if(e<=.01){let t=e.toString().split(".")[1];if(t){let e=0;for(let r=0;r<t.length;r++)if("0"!==t[r]){e=r;break}r=Math.max(4,e+2)}}else e>.01&&e<100&&(r=4);return a(e,t,r)},a=(e,t,r)=>{let n=void 0!==r?parseFloat((0,o.G)(e,r)):e;try{return new Intl.NumberFormat(t??"en",{minimumFractionDigits:r,maximumFractionDigits:r,useGrouping:!0}).format(n)}catch{return new Intl.NumberFormat("en",{minimumFractionDigits:r,maximumFractionDigits:r,useGrouping:!0}).format(n)}},s=(e,t,r)=>{let o=e=>r?((e,t,r)=>{try{let o=new n.A(e).times(t);return i(o.toNumber(),r)}catch{return"0.00"}})(r,e,t):i(e,t);return{low:e?.low?o(e.low):"-",high:e?.high?o(e.high):"-",average:e?.average?o(e.average):"-",volatility:e?.volatility?((e,t)=>{if("number"!=typeof e||isNaN(e))return"0%";let r=a(e,t,2);return`${r}%`})(e.volatility,t):"-"}},l=(e,t,r)=>({last7Days:s(e.last7Days,t,r),last30Days:s(e.last30Days,t,r),last90Days:s(e.last90Days,t,r)})},22695:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(60982),o=r(14343);function i(e){let{allCookies:t,setCookie:r,removeCookie:i}=(0,n.$)();return[t[e],(0,o.useCallback)((t,n)=>{r(e,t,n)},[e,r]),(0,o.useCallback)(t=>{i(e,t)},[e,i])]}},23835:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n,o=r(14343);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var a=(0,o.forwardRef)(function(e,t){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 12","aria-hidden":"true",ref:t},e),n||(n=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1.05 10.95 0 6 4.95 1.05 0 0 1.05 4.95 6 0 10.95 1.05 12 6 7.05 10.95 12 12 10.95 7.05 6 12 1.05z",clipRule:"evenodd"})))});let s=(0,o.memo)(a)},37775:(e,t,r)=>{"use strict";r.d(t,{t:()=>o});var n=r(47870);let o=(e,t)=>{let r=new n.A(e),o=new n.A(t).times(r);return o.round(2,n.A.roundDown).toNumber()||o.toNumber()}},50509:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(40328),o=r.n(n),i=r(89550);function a(e){return o()(e.toUpperCase())??i.U[e.toUpperCase()]??null}},51427:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,O:()=>i});var n=r(14343),o=r(22695);let i={sendingAmount:1e3,sendingCurrency:"USD",receivingAmount:0,receivingCurrency:"EUR",fixedField:"sending",destinationCountry:"US"};function a(){let[e,t]=(0,o.A)("lastQuote"),r=(0,n.useMemo)(()=>({sendingAmount:e?.sendingAmount??i.sendingAmount,sendingCurrency:e?.sendingCurrency??i.sendingCurrency,receivingAmount:e?.receivingAmount??i.receivingAmount,receivingCurrency:e?.receivingCurrency??i.receivingCurrency,fixedField:e?.fixedField??i.fixedField,destinationCountry:e?.destinationCountry??i.destinationCountry}),[e]),a=(0,n.useRef)(e);(0,n.useEffect)(()=>{a.current=e},[e]);let s=(0,n.useRef)(r);return(0,n.useEffect)(()=>{s.current=r},[r]),[r,(0,n.useCallback)((e,r)=>{let n="function"==typeof e?e(s.current):e;t({...a.current&&"object"==typeof a.current?a.current:{},...n},{expires:30,...r})},[t]),e]}},56203:(e,t,r)=>{"use strict";r.d(t,{HH:()=>l,UX:()=>i,Yx:()=>n,gI:()=>a,oK:()=>s,qK:()=>o});let n="//js-na2.hs-scripts.com/243316708.js",o={SUCCESS:"success",ERROR:"error",ABORT:"abort",NO_SESSION:"no-session"},i="5jAn9CINYyppS1Da0vAhH6",a="1T9RryU8YpM8ZcQNW430gi",s="USD",l="EUR"},61252:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(1215);let o=(e,t)=>{let r={};return Object.entries(e).forEach(([e,n])=>
1{Object.entries(n).forEach(([n,o])=>{r[`${t}${e.charAt(0).toUpperCase()+e.slice(1)}${n.charAt(0).toUpperCase()+n.slice(1)}`]=o})}),r},i=(e,t,r="en")=>{if(!e||!t)return{};let i=(0,n.fF)(e,r),a=(0,n.fF)(e,r,t);return{...o(i,"historical"),...o(a,"converted")}}},61859:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(15383),o=r(14343),i=r(18079),a=r(37775);function s({children:e}){let t=(0,i.rd)(),r=(0,o.useRef)(t);return r.current=t,(0,o.useEffect)(()=>{if("modelContext"in navigator)try{navigator.modelContext.registerTool({name:"fill_converter",description:"Fill the XE currency converter and navigate to the conversion result page. Use this tool instead of clicking or typing into the form — it sets all fields atomically and navigates to /currencyconverter/convert. After navigation completes, call get_conversion_result to retrieve the live rate and result.",inputSchema:{type:"object",required:["from","to"],properties:{from:{type:"string",description:"ISO 4217 source currency (e.g. USD)"},to:{type:"string",description:"ISO 4217 target currency (e.g. GBP)"},amount:{type:"number",description:"Amount to convert. Defaults to 1."}}},execute:async e=>{let t=e.from.toUpperCase(),n=e.to.toUpperCase(),o=e.amount||1,i=`/currencyconverter/convert/?Amount=${o}&From=${t}&To=${n}`;return setTimeout(()=>r.current.push(i),0),JSON.stringify({content:[{type:"text",text:JSON.stringify({status:"filled",navigatesTo:i})}]})}}),navigator.modelContext.registerTool({name:"get_conversion_result",description:"Returns the live mid-market conversion result on this page. Call this after fill_converter has navigated here — do not read the page visually or interact with any elements. Returns JSON: { from, to, amount, rate, result, timestamp } where result is amount \xd7 rate rounded to 2 decimal places and timestamp is Unix epoch ms.",inputSchema:{type:"object",properties:{}},execute:async()=>{let e=window.__mcpConversionData;if(!e)for(let t=0;t<30&&(await new Promise(e=>setTimeout(e,100)),!(e=window.__mcpConversionData));t++);return e?JSON.stringify({content:[{type:"text",text:JSON.stringify({from:e.fromCurrency,to:e.toCurrency,amount:e.amount,rate:e.sendingRate,result:(0,a.t)(e.sendingRate,e.amount),timestamp:e.ratesData?.timestamp})}]}):JSON.stringify({content:[{type:"text",text:JSON.stringify({error:"Not on the convert page — call fill_converter first and wait for navigation"})}]})}})}catch(e){}},[]),(0,n.jsx)(n.Fragment,{children:e})}},62783:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(15383),o=r(28845),i=r(55280),a=r(78090),s=r(20796),l=r(14343);let c=({initialAmount:e,initialFrom:t,initialTo:r,initialRatesData:c,heading:u,subheading:m,onConversion:d})=>{let p=(0,a.Ym)(),f=(0,s.useRouter)(),g=p===i.D.defaultLocale?"":`/${p}`,h=(0,l.useCallback)(e=>{f.push({pathname:"/[locale]/currencyconverter/convert/",query:{locale:p,Amount:e,From:t,To:r}},`${g}/currencyconverter/convert/?Amount=${e}&From=${t}&To=${r}`,{shallow:!0})},[t,r,p,g,f]),y=(0,l.useCallback)((t,r)=>{f.push({pathname:"/[locale]/currencyconverter/convert/",query:{locale:p,Amount:e,From:t,To:r}},`${g}/currencyconverter/convert/?Amount=${e}&From=${t}&To=${r}`,{shallow:!0})},[e,p,g,f]);return(0,n.jsxs)("section",{className:"from-blue-850 relative w-full bg-linear-to-l to-blue-700 bg-no-repeat",children:[(0,n.jsxs)("div",{className:"m-auto max-w-5xl px-4 py-8 md:px-10 md:pt-16 lg:pt-20",children:[u&&(0,n.jsx)("h1",{className:"mb-2 text-center text-2xl font-semibold text-white md:mb-4 md:text-4xl",children:u}),m&&(0,n.jsx)("p",{className:"mb-8 text-center text-sm font-light text-white md:text-2xl",children:m}),(0,n.jsx)(o.default,{initialAmount:e,initialFrom:t,initialTo:r,initialRatesData:c,onConversion:d,onAmountChange:h,onCurrencyChange:y})]}),(0,n.jsx)("div",{className:"absolute bottom-0 z-auto h-75 w-full overflow-hidden before:absolute before:top-0 before:-right-50 before:-bottom-25 before:-left-50 before:rounded-[100%] before:bg-white md:h-50"})]})}},65044:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/currencyconverter/convert",function(){return r(86446)}])},65284:(e,t,r)=>{"use strict";r.d(t,{br:()=>m,fh:()=>d,ks:()=>p});var n=r(15383),o=r(14343),i=r(50084),a=r.n(i),s=r(71705),l=r(20263),c=r(77016);let u="1.5em",m=({initialValue:e="",validator:t,errorDelay:r=1e3}={})=>{let n=(0,o.useCallback)(e=>t?t(e):[!0],[t]),[i,a]=(0,o.useState)(e),[s,l]=(0,o.useState)(n(i)[0]),[c,u]=(0,o.useState)(!1),m=(0,o.useRef)(),[d,p]=(0,o.useState)();return(0,o.useEffect)(()=>{let[e,t]=n(i);l(e),p(t),e&&(m.current&&clearTimeout(m.current),u(!1))},[i,n]),{value:i,isValid:s,isErrorDelayOver:c,errorMessage:d,onChange:e=>{a(e.target.value),u(!1),m.current&&clearTimeout(m.current),m.current=setTimeout(()=>{u(!0)},r)},onBlur:()=>{m.current&&clearTimeout(m.current),u(!0)}}},d=(0,o.forwardRef)(function(e,t){let{label:r,helperText:o,Icon:i,name:a,value:s,required:l,disabled:u,isValid:m,errorMessage:d,isErrorDelayOver:v,className:x,style:C,as:A,$usedOn:S,hideTopHelperTextPadding:b,topInputText:N,inputTextColor:D="black",...T}=e,R=a?.replace(/[\W]/g,"")??null,w=!m&&v;return(0,n.jsxs)(y,{$disabled:u,className:x,style:C,$usedOn:S,children:[r&&(0,n.jsx)(c.A,{htmlFor:R,$required:l,style:{marginBottom:"4px"},$usedOn:S,children:r}),(0,n.jsxs)(f,{children:[N&&(0,n.jsx)(g,{children:N}),i&&(0,n.jsx)(i,{className:"text-input-icon"}),(0,n.jsx)(p,{id:R,name:a,value:s,required:l,disabled:u,$usedOn:S,isError:w,hasIcon:!!i,"aria-invalid":w,as:A,ref:t,style:{background:"white"},inputTextColor:D,...T})]}),(0,n.jsx)(h,{"aria-live":"assertive",isError:w,style:b?{marginTop:"0px"}:{marginTop:"4px"},children:w?d:o||"\xa0"})]})});d.propTypes={as:a().oneOf(["input","textarea"]),className:a().string,disabled:a().bool,errorMessage:a().string,isErrorDelayOver:a().bool,isValid:a().bool,label:a().string,name:a().string,Icon:a().elementType,required:a().bool,style:a().object,value:a().string,helperText:a().string,$usedOn:a().string,hideTopHelperTextPadding:a().bool,topInputText:a().string,inputTextColor:a().string};let p=s.Ay.input.withConfig({componentId:"sc-2e817aad-0"})(["width:100%;border-width:",";border-style:solid;border-color:",";border-radius:6px;box-shadow:",";padding:",";",'{padding:"12px";}height:',";color:",';&::placeholder{color:var(--color-gray-750);opacity:0.3;}background:none;&&:focus,&&:focus-within{border-color:var(--color-xe-primary-500);box-shadow:0px 3px 15px rgba(0,17,51,0.05);}:-webkit-autofill{box-shadow:0 0 0px 1000px #fffde8 inset;}input&[type="number"]::-webkit-inner-spin-button,input&[type="number"]::-webkit-outer-spin-button{appearance:none;margin:0;}input&[type="number"]{appearance:textfield;}'],"1px",({isError:e,highValueLeadErrorMessage:t})=>e?t?"var(--color-xe-primary-600)":"#ed5f74":"#ddd",({$usedOn:e})=>"rate-alert-modal"===e||"high-value-lead-form"===e?"none":"0px 3px 15px rgba(0, 17, 51, 0.05)",({hasIcon:e,$usedOn:t})=>e?`12px 12px 12px calc(12px + ${u} + 12px)`:"rate-alert-modal"===t||"high-value-lead-form"===t?"8px":"12px",l.Wi.minWidthSm,({$usedOn:e})=>e&&"50px",({theme:e,inputTextColor:t})=>t||e.paragraph.color),f=s.Ay.div.withConfig({componentId:"sc-2e817aad-1"})(["display:flex;align-items:center;position:relative;.text-input-icon{position:absolute;
1left:calc(12px + ",");width:",";height:",";}"],"1px",u,u),g=s.Ay.div.withConfig({componentId:"sc-2e817aad-2"})(["position:absolute;top:0px;left:6px;font-size:10px;opacity:0.4;"]),h=s.Ay.div.withConfig({componentId:"sc-2e817aad-3"})(["color:",";font-size:12px;"],({isError:e})=>e?"var(--color-red-400)":"var(--color-gray-750)"),y=s.Ay.div.withConfig({componentId:"sc-2e817aad-4"})(["opacity:",";margin-bottom:",";","{margin-bottom:",";}"],({$disabled:e})=>e?.38:1,({$usedOn:e})=>e&&"0px",l.Wi.minWidthSm,({$usedOn:e})=>e&&"8px")},67569:(e,t,r)=>{"use strict";r.d(t,{o:()=>s});var n=r(14343),o=r(1887),i=r(78090),a=r(45771);let s=()=>{let e=(0,i.Ym)(),t=(0,a.useSearchParams)(),r=t.get("Amount"),s=t.get("From"),l=t.get("To"),c="string"==typeof s?s.toUpperCase():"USD",u="string"==typeof l?l.toUpperCase():"EUR",m=(0,n.useMemo)(()=>{let e=r&&"string"==typeof r?+r:1;return isNaN(e)||e<=0?1:e},[r]),d=new o.A(e).parse(String(m));return{amount:m,amountParsed:d,fromCurrency:c,toCurrency:u}}},77016:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(71705),o=r(20263);let i=n.Ay.label.withConfig({componentId:"sc-ff19726b-0"})(["display:inline-block;color:",";"," ","{font-size:16px;}font-size:",";font-weight:",";"],({theme:e,$usedOn:t})=>"high-value-lead-form"===t?"black":e.paragraph.color,({$required:e})=>e?`
2    ::after {
3      content: "*";
4    }
5  `:"",o.Wi.minWidthSm,({$usedOn:e})=>"rate-alert-modal"===e||"high-value-lead-form"===e?"14px":"16px",({$usedOn:e})=>"rate-alert-modal"===e||"high-value-lead-form"===e?"400":"550")},86446:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>D,default:()=>T});var n=r(15383),o=r(14343),i=r(78090),a=r(47049),s=r(50509),l=r(814),c=r(20054),u=r(37775),m=r(67569),d=r(64863),p=r.n(d),f=r(81219),g=r(62783),h=r(26329),y=r(20755),v=r(99104),x=r(12909);function C({pageTitle:e,metaDescription:t,heading:r,subheading:i,initialRatesData:s,sections:l,dynamicTags:c}){let{amountParsed:u,fromCurrency:d,toCurrency:A}=(0,m.o)(),S=(0,a.c)("converter"),{setState:b,INITIAL_STATE:N}=(0,y.JP)(),D=`${u} ${d} ${S("toLabel")} ${A} - ${S("convertCtaText")} ${d} ${S("toLabel")} ${A}`;(0,o.useEffect)(()=>(b(e=>({...e,...c})),()=>{b(N)}),[b,N,c]);let T=(0,o.useCallback)(({fromCurrency:e,toCurrency:t,fromAmount:r,sendingRate:n})=>{v.Ay.trackEvent("Currency Converter Triggered",{fromCurrency:e,toCurrency:t,fromAmount:r,toAmount:isNaN(r)?0:r*n})},[]);return(0,n.jsxs)("div",{className:"bg-white",children:[(0,n.jsxs)(p(),{children:[(0,n.jsx)("title",{children:(0,x.G)(e||"",c)}),(0,n.jsx)("meta",{name:"description",content:(0,x.G)(t||"",c)},"description"),(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org/","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://www.xe.com/"},{"@type":"ListItem",position:2,name:"Currency Converter",item:"https://www.xe.com/currencyconverter/"},{"@type":"ListItem",position:3,name:D}]})}})]}),(0,n.jsx)(g.default,{initialAmount:u,initialFrom:d,initialTo:A,initialRatesData:s,heading:r&&(0,x.G)(r,c),subheading:i&&(0,x.G)(i,c),onConversion:T}),l?.map((e,t)=>(0,n.jsx)(f.A,{children:(0,n.jsx)(h.A,{index:t,contentfulEntry:e})},`${t} ${e.sys.id}`))]})}var A=r(61859),S=r(61252),b=r(1215),N=r(84163),D=!0;let T=({fields:e,initialRatesData:t,initialCurrencyStatsData:r})=>{let d=(0,i.Ym)(),{amount:p,fromCurrency:f,toCurrency:g}=(0,m.o)(),{sendingRate:h,ratesData:v}=(0,c.A)({initialRatesData:t,fromCurrency:f,toCurrency:g}),x=(0,a.c)(),D=(0,N.gq)(),T=(0,N.ix)({hour:"numeric",minute:"numeric",hourCycle:"h23",timeZone:"UTC",timeZoneName:"short"}),R=(0,o.useMemo)(()=>{let e=(0,S.Z)(r,p,d)??{},t=(0,u.t)(h,p);return{nsSeparator:"^",amount:D.format(p),fromAmount:D.format(p),toAmount:D.format(t),from:f,fromCurrency:f,fromCurrencySymbol:(0,s.A)(f),fromName:x(`currencies.${f}.name`),fromPlural:x(`currencies.${f}.name_plural`),fromCountry:x(`countries.${l[f]}.name`),to:g,toCurrency:g,toCurrencySymbol:(0,s.A)(g),toName:x(`currencies.${g}.name`),toPlural:x(`currencies.${g}.name_plural`),toCountry:x(`countries.${l[g]}.name`),midMarketTime:T.format(v?.timestamp),midMarketRate:(0,b.ej)(h),...e}},[x,D,p,f,g,r,h,v?.timestamp,T,d]);return(0,o.useEffect)(()=>(window.__mcpConversionData={fromCurrency:f,toCurrency:g,amount:p,sendingRate:h,ratesData:v??null},()=>{window.__mcpConversionData=void 0}),[f,g,p,h,v]),(0,n.jsx)(A.A,{children:(0,n.jsx)(y.Ay,{value:R,children:(0,n.jsx)(C,{initialRatesData:t,dynamicTags:R,...e})})})}},89550:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});let n={XCG:"Cg"}},98122:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(14343),o=r(22695),i=r(56203),a=r(57180);function s(){let[e,t]=(0,o.A)("lastConversion"),r=(0,n.useMemo)(()=>{let t=e?.fromCurrency,r=e?.toCurrency;return{amount:e?.amount??1,fromCurrency:t&&!a.R9.has(t)?t:i.oK,toCurrency:r&&!a.R9.has(r)?r:i.HH,destinationCountry:e?.destinationCountry}},[e]),s=(0,n.useRef)(e);(0,n.useEffect)(()=>{s.current=e},[e]);let l=(0,n.useRef)(r);return(0,n.useEffect)(()=>{l.current=r},[r]),[r,(0,n.useCallback)((e,r)=>{let n="function"==typeof e?e(l.current):e;t({...s.current,...n},{expires:30,...r})},[t])]}}},e=>{e.O(0,[4715,5150,5201,1505,9824,2721,9951,7870,5633,8653,9370,7859,6265,7765,8845,636,6593,8792],()=>e(e.s=65044)),_N_E=e.O()}]);

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.