1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1781],{20437:function(e,n,t){Promise.resolve().then(t.bind(t,11751))},11751:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return el}});var l=t(86764),a=t(24005),o=t(31272),i=t(64409);let s=(0,o.R)({locales:["en","zh","zh-HK","en-SG","en-AU","en-US","en-HK","zh-Hant","ja","ko","fr","vi"],defaultLocale:"en"}),{Link:r,redirect:c,usePathname:u,useRouter:d}=(0,i.iV)(s);var p=t(62761),m=t(7481),x=t(31647),f=t(76621),b=e=>{let{onClick:n}=e;return(0,l.jsx)("button",{className:"w-[144px]",onClick:n,children:(0,l.jsx)(f.default,{src:"/img/uqpay-logo.png",alt:"UQPAY logo",width:576,height:128,priority:!0,className:"w-full h-[32px] object-contain object-center block no-scroll-fade cursor-pointer"})})},g=t(88456),h=t(70576),v=t(89538),k=t(8403),y=t(23723),w=t(98681);let j=[{name:"Global",langs:[{label:"English",locale:"en"},{label:"ç®ä½ä¸æ",locale:"zh"},{label:"ç¹é«ä¸æ",locale:"zh-Hant"},{label:"Tiếng Viá»t",locale:"vi"},{label:"Fran\xe7ais",locale:"fr"},{label:"æ¥æ¬èª",locale:"ja"},{label:"íêµì´",locale:"ko"}]},{name:"Singapore",region:"SG",flag:"https://flagcdn.com/w40/sg.png",langs:[{label:"English",locale:"en-SG"}]},{name:"United States",region:"US",flag:"https://flagcdn.com/w40/us.png",langs:[{label:"English",locale:"en-US"}]},{name:"Australia",region:"AU",flag:"https://flagcdn.com/w40/au.png",langs:[{label:"English",locale:"en-AU"}]},{name:"Hong Kong SAR",region:"HK",flag:"https://flagcdn.com/w40/hk.png",langs:[{label:"English",locale:"en-HK"},{label:"ç¹é«ä¸æ",locale:"zh-HK"}]}];function _(e){let{r:n}=e;return n.flag?(0,l.jsx)("img",{src:n.flag,alt:n.name,className:"h-[26px] w-[26px] rounded-full object-cover no-scroll-fade",loading:"lazy"}):(0,l.jsx)(v.Z,{className:"h-[26px] w-[26px] text-brand",strokeWidth:1.6})}function N(e){let{placement:n="down"}=e,t=(0,a.useLocale)(),o=(0,p.usePathname)(),i=(0,m.useRef)(null),{requestNavigate:s}=(0,y.d)(),[r,c]=(0,m.useState)(!1),u=t.split("-")[0]||"en",d=(0,m.useMemo)(()=>{var e,n,l;let a=null!==(n=j.find(e=>e.langs.some(e=>e.locale===t)))&&void 0!==n?n:j[0],o=null!==(l=null===(e=a.langs.find(e=>e.locale===t))||void 0===e?void 0:e.label)&&void 0!==l?l:"zh"===u?"ç®ä½ä¸æ":"English";return{regionName:a.name,langLabel:o}},[t,u]);(0,m.useEffect)(()=>{if(!r)return;let e=e=>{i.current&&!i.current.contains(e.target)&&c(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[r]);let x=e=>{c(!1),e!==t&&s(t.split("-")[1]===e.split("-")[1]?(0,w.nA)(null!=o?o:"/",t,e):"/".concat(e),e)};return(0,l.jsxs)("div",{className:"relative",ref:i,children:[(0,l.jsxs)("button",{onClick:()=>c(e=>!e),className:"flex items-center gap-2 rounded-lg px-2.5 py-2 text-[14px] font-medium text-[#41506a] transition-colors hover:bg-[#f1f5fd] hover:text-ink",children:[(0,l.jsx)(v.Z,{className:"h-4 w-4 opacity-70",strokeWidth:1.7}),(0,l.jsx)("span",{className:"whitespace-nowrap",children:d.regionName}),(0,l.jsx)("span",{className:"text-muted-uq",children:"\xb7"}),(0,l.jsx)("span",{className:"whitespace-nowrap",children:d.langLabel}),(0,l.jsx)("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none",className:"opacity-60",children:(0,l.jsx)("path",{d:"M2.5 4.5 6 8l3.5-3.5",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})})]}),r&&(0,l.jsxs)("div",{className:"absolute right-0 z-50 w-[320px] overflow-hidden rounded-2xl border border-line bg-white shadow-[0_30px_60px_-26px_rgba(12,23,48,.35)] ".concat("up"===n?"bottom-full mb-2":"top-full mt-2"),children:[(0,l.jsx)("div",{className:"uq-mono border-b border-line-soft px-5 py-3 text-[11px] uppercase tracking-[.14em] text-muted-uq",children:"Location and language"}),(0,l.jsx)("div",{className:"max-h-[60vh] overflow-auto py-1.5",children:j.map(e=>{let n=e.langs.some(e=>e.locale===t);return(0,l.jsxs)("div",{className:"flex items-start gap-3 px-5 py-2.5",children:[(0,l.jsx)("div",{className:"mt-0.5 flex-none",children:(0,l.jsx)(_,{r:e})}),(0,l.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"text-[15px] font-semibold text-ink",children:e.name}),n&&(0,l.jsx)(k.Z,{className:"h-4 w-4 text-brand",strokeWidth:2.4})]}),(0,l.jsx)("div",{className:"mt-1 flex flex-wrap items-center gap-x-2 gap-y-1",children:e.langs.map((e,n)=>{let a=e.locale===t;return(0,l.jsxs)(m.Fragment,{children:[n>0&&(0,l.jsx)("span",{className:"text-[#cdd5e4]",children:"\xb7"}),(0,l.jsx)("button",{onClick:()=>x(e.locale),className:"text-[13px] transition-colors ".concat(a?"font-semibold text-brand":"text-[#6b7a93] hover:text-brand"),children:e.label})]},e.locale)})})]})]},e.name)})})]})]})}let U=e=>"https://flagcdn.com/w40/".concat(e,".png"),S=[{name:"Global \xb7 English",flagUrl:U("gb"),key:"en"},{name:"Global \xb7 ç®ä½ä¸æ",flagUrl:U("cn"),key:"zh"},{name:"Global \xb7 ç¹é«ä¸æ",flagUrl:U("hk"),key:"zh-Hant"},{name:"Global \xb7 Tiếng Viá»t",flagUrl:U("vn"),key:"vi"},{name:"Global \xb7 Fran\xe7ais",flagUrl:U("fr"),key:"fr"},{name:"Global \xb7 æ¥æ¬èª",flagUrl:U("jp"),key:"ja"},{name:"Global \xb7 íêµì´",flagUrl:U("kr"),key:"ko"},{name:"Singapore \xb7 English",flagUrl:U("sg"),key:"en-SG"},{name:"United States \xb7 English",flagUrl:U("us"),key:"en-US"},{name:"Australia \xb7 English",flagUrl:U("au"),key:"en-AU"},{name:"Hong Kong \xb7 English",flagUrl:U("hk"),key:"en-HK"},{name:"Hong Kong \xb7 ç¹é«ä¸æ",flagUrl:U("hk"),key:"zh-HK"}];var C=e=>{var n;let{loginText:t,signupText:o,onLogin:i,onSignup:s,className:r=""}=e,c=(0,a.useLocale)(),u=(0,p.usePathname)(),{requestNavigate:d}=(0,y.d)(),m=null!==(n=S.find(e=>e.key===c))&&void 0!==n?n:S[0];return(0,l.jsxs)("div",{className:"flex flex-col lg:flex-row gap-4 py-5 lg:py-0 ".concat(r," z-50 h-fit my-auto"),children:[(0,l.jsx)("div",{className:"hidden lg:block my-auto",children:(0,l.jsx)(N,{})}),(0,l.jsx)("div",{className:"flex flex-col gap-2 lg:hidden",children:(0,l.jsx)(h.Z,{selectedCountry:m,handleCountryChange:e=>{u&&d(c.split("-")[1]===e.key.split("-")[1]?(0,w.nA)(u,c,e.key):"/".concat(e.key),e.key)},countryList:S,label:"Language",labelClassName:"text-[16px] font-semibold text-black",selectStyle:"md:max-w-full"})}),(0,l.jsx)(g.Z,{variant:"outlined",className:"font-semibold h-fit my-auto",onClick:i,children:t}),(0,l.jsx)(g.Z,{variant:"contained",className:"font-semibold h-fit my-auto",onClick:s,children:o})]})},A=t(95586),L=e=>{let{item:n,tabDirection:t,variant:a="default",navigateTo:o,closeMenu:i}=e,[s,r]=(0,m.useState)(null),c=(null==n?void 0:n.label)?(0,l.jsx)("div",{className:"uq-mono border-b border-neutral-100 pb-[12px] text-[12px] font-semibold uppercase tracking-[.14em] text-muted-uq ".concat((null==n?void 0:n.mobileShowLabel)?"block":"hidden lg:block"),children:n.label}):null;return"columns"===a?(0,l.jsxs)("div",{className:"text-gray-800 flex flex-1 flex-col gap-[14px] w-full min-w-[280px] overflow-hidden lg:overflow-visible",children:[c,(0,l.jsx)("div",{className:"flex flex-col gap-[2px]",children:n.links&&n.links.map((e,t)=>(0,l.jsxs)("a",{onClick:()=>{i(),e.link&&o(e.link,e.link.startsWith("http")?"_blank":void 0)},className:"group flex min-w-0 flex-col gap-[2px] rounded-xl p-[10px] transition-colors hover:bg-neutral-50 cursor-pointer",children:[(0,l.jsx)("span",{className:"text-[15px] font-semibold text-neutral-900 group-hover:text-blue-600",children:e.name}),e.description&&(0,l.jsx)("span",{className:"text-[13.5px] font-normal leading-relaxed text-body",children:e.description})]},"".concat(n.label,"-").concat(e.name,"-").concat(t)))})]}):(0,l.jsxs)("div",{className:"text-gray-800 flex flex-1 flex-col gap-[14px] w-full min-w-[300px] overflow-hidden lg:overflow-visible",children:[c,(0,l.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-[16px] overflow-auto lg:overflow-visible",children:n.links&&n.links.map((e,t)=>{let a="".concat(n.label,"-").concat(e.name),c=s===t;return(0,l.jsxs)("a",{onClick:()=>{i(),e.link&&o(e.link,"_blank")},className:"flex flex-col items-start cursor-pointer hover:text-black text-body transition-all duration-500 ease-in-out w-full min-w-0 ",onMouseEnter:()=>{r(t)},onMouseLeave:()=>{r(null)},children:[(0,l.jsxs)("div",{className:"flex flex-row items-center",children:[(0,l.jsx)("span",{className:"text-left block w-full font-semibold text-[15px] pr-[12px] py-[10px]",children:e.name}),(0,l.jsx)(A.Z,{className:" text-gray-900 w-[14px] h-[14px] flex-shrink-0 transition-transform duration-2000 ease-out ".concat(c?"lg:block":"hidden")})]}),(0,l.jsx)("span",{className:"text-left block w-full font-normal text-[14px] break-words leading-relaxed",children:e.description})]},a)})})]})},E=e=>{var n,t;let{categories:a,navigateTo:o,closeMenu:i}=e,s=a.filter(e=>!e.hide),[r,c]=(0,m.useState)(0),[u,d]=(0,m.useState)(null),p=(0,m.useRef)([]);(0,m.useEffect)(()=>{d(null)},[r]);let x=null!==(t=s[r])&&void 0!==t?t:s[0];return x?(0,l.jsxs)("div",{className:"flex w-full min-w-0",children:[(0,l.jsx)("div",{className:"w-[240px] flex-shrink-0 flex flex-col gap-[4px] pr-[16px] border-r border-neutral-100",role:"tablist","aria-orientation":"vertical",children:s.map((e,n)=>{let t=r===n;return(0,l.jsxs)("button",{ref:e=>{p.current[n]=e},id:"rail-tab-".concat(n),role:"tab",type:"button","aria-selected":t,"aria-controls":"rail-panel-".concat(n),tabIndex:t?0:-1,className:"group relative flex items-center gap-[8px] pl-[16px] pr-[12px] py-[12px] rounded-lg text-left text-[15px] font-semibold transition-colors duration-200 cursor-pointer ".concat(t?"text-blue-600 bg-blue-50":"text-neutral-700 hover:text-blue-600 hover:bg-neutral-50"),onMouseEnter:()=>c(n),onFocus:()=>c(n),onClick:()=>{e.link&&(o(e.link),i())},onKeyDown:e=>{var t,l,a,o;switch(e.key){case"ArrowDown":{e.preventDefault();let l=(n+1)%s.length;c(l),null===(t=p.current[l])||void 0===t||t.focus();break}case"ArrowUp":{e.preventDefault();let t=0===n?s.length-1:n-1;c(t),null===(l=p.current[t])||void 0===l||l.focus();break}case"Home":e.preventDefault(),c(0),null===(a=p.current[0])||void 0===a||a.focus();break;case"End":{e.preventDefault();let n=s.length-1;c(n),null===(o=p.current[n])||void 0===o||o.focus();break}case"Escape":e.preventDefault(),i()}},children:[t&&(0,l.jsx)("span",{className:"absolute left-0 top-[10px] bottom-[
110px] w-[3px] rounded-r bg-blue-600"}),e.icon&&(0,l.jsx)(f.default,{src:e.icon,alt:"",width:24,height:24,className:"h-[24px] w-[24px] flex-shrink-0 no-scroll-fade"}),(0,l.jsx)("span",{className:"flex-1",children:e.label}),(0,l.jsx)(A.Z,{className:"w-[14px] h-[14px] flex-shrink-0 transition-all duration-200 ".concat(t?"translate-x-1 opacity-100 text-blue-600":"opacity-0 group-hover:opacity-100")})]},"rail-".concat(e.label))})}),(0,l.jsx)("div",{id:"rail-panel-".concat(r),role:"tabpanel","aria-labelledby":"rail-tab-".concat(r),className:"flex-1 min-w-0 pl-[24px] grid grid-cols-3 gap-x-[24px] gap-y-[16px] content-start",children:null===(n=x.links)||void 0===n?void 0:n.map((e,n)=>{let t=u===n;return(0,l.jsxs)("a",{onClick:()=>{i(),e.link&&o(e.link,"_blank")},className:"flex flex-col items-start cursor-pointer hover:text-black text-body transition-all duration-500 ease-in-out w-full min-w-0",onMouseEnter:()=>d(n),onMouseLeave:()=>d(null),children:[(0,l.jsxs)("div",{className:"flex flex-row items-center",children:[(0,l.jsx)("span",{className:"text-left block w-full font-semibold text-[15px] pr-[12px] py-[10px] text-neutral-900",children:e.name}),(0,l.jsx)(A.Z,{className:"text-gray-900 w-[14px] h-[14px] flex-shrink-0 transition-transform duration-[2000ms] ease-out ".concat(t?"lg:block translate-x-1":"hidden")})]}),(0,l.jsx)("span",{className:"text-left block w-full font-normal text-[14px] break-words leading-relaxed",children:e.description})]},"".concat(x.label,"-").concat(e.name))})},x.label)]}):null},q=t(33249),M=e=>{let{tabsData:n,activeTab:t,setActiveTab:a,navigateTo:o}=e,[i,s]=m.useState(-1),r=m.useRef([]),[c,u]=m.useState({left:0,width:0,opacity:0}),[d,p]=m.useState(!1),x=(0,m.useCallback)((e,n)=>{let t;return function(){for(var l=arguments.length,a=Array(l),o=0;o<l;o++)a[o]=arguments[o];clearTimeout(t),t=setTimeout(()=>{clearTimeout(t),e(...a)},n)}},[]),f=(0,m.useCallback)(()=>{let e=-1!==i?i:t;if(-1===t){s(-1),u(e=>({...e,opacity:0}));return}if(-1!==e&&r.current[e]){let n=r.current[e];if(!n){console.warn("Tab element is null for current tab:",e);return}let t=n.getBoundingClientRect(),l=n.parentElement;if(!l){console.warn("Container element is null for tab:",e);return}let a=l.getBoundingClientRect();u({left:t.left-a.left,width:t.width,opacity:1})}else -1===t&&-1===i&&u(e=>({...e,opacity:0}))},[t,i]),b=(0,m.useCallback)(x(f,100),[f,x]);return m.useEffect(()=>(f(),window.addEventListener("resize",b),()=>window.removeEventListener("resize",b)),[f,b]),(0,l.jsxs)("div",{className:"lg:flex hidden items-center xl:gap-[16px] 2xl:gap-[24px] text-[#232F42] font-semibold relative",children:[(0,l.jsx)("div",{className:"absolute bottom-0 h-[3px] bg-blue-600 transition-all duration-300 ease-out",style:{left:"".concat(c.left,"px"),width:"".concat(c.width,"px"),opacity:c.opacity}}),n.map((e,c)=>(null==e?void 0:e.hide)?null:(0,l.jsxs)("div",{ref:e=>{r.current[c]=e},className:"flex flex-col items-center hover:text-blue-700 cursor-default z-50 rounded-md gap-[24px]",tabIndex:0,role:"tab","aria-selected":t===c,"aria-expanded":t===c&&!!e.menu,onMouseEnter:()=>{e.menu&&(s(c),a(c),d||setTimeout(()=>{p(!0)},1e3))},onMouseLeave:()=>{s(-1)},onKeyDown:e=>{var t,l;let o,i;switch(e.key){case"Enter":case" ":e.preventDefault(),a(c);break;case"ArrowRight":e.preventDefault(),a(o=(c+1)%n.length),null===(t=r.current[o])||void 0===t||t.focus();break;case"ArrowLeft":e.preventDefault(),a(i=0===c?n.length-1:c-1),null===(l=r.current[i])||void 0===l||l.focus();break;case"Escape":e.preventDefault(),a(-1)}},children:[(0,l.jsx)("a",{href:e.url||"#",onClick:n=>{e.url&&(n.preventDefault(),o(e.url),a(-1))},className:"text-[15px] font-semibold z-50 transition-colors duration-200 px-[12px] py-[10px] ".concat(t===c||i===c?"text-blue-600":"text-gray-600"," ").concat(e.url?"cursor-pointer":"cursor-default"),children:e.title}),t===c&&e.menu&&(0,l.jsx)("div",{className:"fixed top-[55px] left-0 right-0 bg-white rounded-b-lg pt-[16px] px-[32px] pb-[32px] z-30 shadow-lg w-full transform origin-top max-h-[95vh] overflow-y-auto",style:{animation:t===c?"slide-down 0.5s ease-out 0.1s forwards":"none",transform:"translateY(-100%)",opacity:0}
1,children:(0,l.jsxs)("div",{className:"flex border-neutral-100",onMouseEnter:()=>a(c),onMouseLeave:()=>a(-1),children:[e.useRail?(0,l.jsx)("div",{className:"w-[80%] flex-1 min-w-0 border-r border-neutral-100 pr-[32px]",children:(0,l.jsx)(E,{categories:e.menu,navigateTo:o,closeMenu:()=>a(-1)})}):(0,l.jsx)("div",{className:"w-[80%] flex flex-1 min-w-0 border-r border-neutral-100 pr-[32px] ".concat(e.columns?"flex-row gap-[48px]":"justify-between flex-col gap-[16px]"),children:e.menu.map((n,t)=>!n.hide&&(0,l.jsx)(L,{item:n,tabDirection:e.direction,variant:e.columns?"columns":"default",navigateTo:o,closeMenu:()=>a(-1)},"".concat(e.title,"-").concat(n.label||t)))}),(0,l.jsx)(G,{setActiveTab:a,hasAnimated:d})]})})]},"tab-".concat(e.title)))]})};let G=e=>{let{setActiveTab:n,hasAnimated:t}=e,o=(0,x.Z)(),i=(0,a.useLocale)(),s=(0,q.a)(),r=(0,w.ye)(i),c=r?s("Unified Money Account","ç»ä¸èµéè´¦æ·"):s("Business Account","ä¼ä¸è´¦æ·"),u=r?s("Collect, hold, convert, and pay worldwide, across fiat and stablecoins, in one account.","å¨ä¸ä¸ªè´¦æ·å
,å
¨ç宿æ³å¸ä¸ç¨³å®å¸çæ¶ãæãå
ãä»ã"):s("Collect locally in multiple currencies, hold as received, and manage global funds in one account.","å¤å¸ç§æ¬å°æ¶æ¬¾,åå¸çå,ä¸ä¸ªè´¦æ·ç®¡çå
¨çèµéã"),[d,p]=m.useState(!1),b=(e,t)=>{o(e,t),n(-1)};return(0,l.jsxs)("div",{className:"w-[20%] pl-[32px] origin-left overflow-hidden",style:{animation:t?"none":"scale-in 0.1s ease-in-out 500ms both"},children:[(0,l.jsx)("div",{className:"".concat("uq-mono text-[11px] uppercase tracking-[.14em] text-muted-uq"," mb-2"),children:s("Featured","ç²¾é")}),(0,l.jsx)("div",{className:"my-1 bg-neutral-100 rounded-lg w-full aspect-[1280/761] overflow-hidden",children:(0,l.jsx)(f.default,{src:r?"/img/navigation/nav-featured.png":"/img/navigation/nav-featured-nc.png",alt:"featured",width:1280,height:761,className:"w-full h-full object-contain no-scroll-fade"})}),(0,l.jsxs)("div",{className:"flex flex-col gap-1.5 pt-3",children:[(0,l.jsx)("span",{className:"text-ink text-sm font-semibold",children:c}),(0,l.jsx)("div",{className:"text-body text-xs font-normal break-words",children:u}),(0,l.jsxs)("button",{className:"font-semibold w-max text-brand flex items-center text-xs mt-2 cursor-pointer",onClick:()=>b("/products/banking"),onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),children:[s("Learn More","äºè§£æ´å¤"),(0,l.jsx)(A.Z,{className:"w-[14px] h-[14px] inline-block ml-2 transition-transform duration-300 ".concat(d?"translate-x-1":"")})]})]})]})};var P=e=>{let{isOpen:n,onToggle:t}=e;return(0,l.jsx)("div",{className:"lg:hidden flex",children:(0,l.jsx)("button",{className:"border-0 bg-transparent p-0 cursor-pointer",onClick:t,children:(0,l.jsx)(f.default,{src:"/img/menu.svg",alt:"Menu icon",width:24,height:24,className:"flex cursor-pointer"})})})},z=t(36169),T=t(22504),H=e=>{let{isOpen:n,onClose:t,tabsData:a,openMenuIndex:o,toggleMenu:i,setIsMobileMenuOpen:s,navigateTo:r,loginText:c,signupText:u,onLogin:d,onSignup:p}=e,[x,b]=(0,m.useState)(null);return((0,m.useEffect)(()=>{b(null)},[o]),n)?(0,l.jsxs)("div",{className:"lg:hidden absolute top-0 left-0 w-full bg-white z-50 flex flex-col h-screen",children:[(0,l.jsxs)("div",{className:"flex justify-between items-center px-[24px] flex-shrink-0",children:[(0,l.jsx)("button",{onClick:()=>{r("/"),t()},className:"border-0 bg-transparent p-0 cursor-pointer",children:(0,l.jsx)(f.default,{src:"/img/uqpay-logo.png",alt:"UQPAY logo",width:576,height:128,priority:!0,className:"h-[32px] w-auto object-contain no-scroll-fade"})}),(0,l.jsx)("button",{onClick:t,className:"border-0 bg-transparent p-0 cursor-pointer",children:(0,l.jsx)(f.default,{src:"/img/menu.svg",alt:"Menu icon",width:24,height:24,className:"cursor-pointer no-scroll-fade"})})]}),(0,l.jsxs)("div",{className:"flex-1 overflow-y-auto no-scrollbar px-[24px]",children:[(0,l.jsx)("nav",{className:"flex flex-col gap-[16px]",children:a.map((e,n)=>(null==e?void 0:e.hide)?null:(0,l.jsxs)("div",{className:"",children:[(0,l.jsxs)("div",{className:"text-xl font-semibold flex justify-between items-center cursor-pointer w-full",onClick:()=>{e.url?(r(e.url),s(!1)):e.menu&&i(n)},children:[(0,l.jsx)("button",{onClick:t=>{t.stopPropagation(),(null==e?void 0:e.url)?(r(e.url),s(!1)):e.menu&&i(n)},className:"px-[12px] py-[10px] text-[15px]",children:e.title}),e.menu&&(0,l.jsx)("span",{children:o===n?(0,l.jsx)(z.Z,{}):(0,l.jsx)(T.Z,{})})]}),(0,l.jsx)("div",{className:"no-scrollbar",children:o===n&&e.menu&&(0,l.jsx)("div",{className:"flex flex-col justify-between",children:(null==e?void 0:e.useRail)?e.menu.filter(e=>!e.hide).map((e,n)=>{let t=x===n;return(0,l.jsxs)("div",{className:"border-b border-neutral-100 last:border-b-0",children:[(0,l.jsxs)("button",{type:"button",onClick:()=>b(t?null:n),className:"flex justify-between items-center w-full py-[12px] pl-[12px] pr-[4px] text-left cursor-pointer","aria-expanded":t,children:[(0,l.jsxs)("span",{className:"flex items-center gap-[8px]",children:[e.icon&&(0,l.jsx)(f.default,{src:e.icon,alt:"",width:20,height:20,className:"h-[20px] w-[20px] flex-shrink-0 no-scroll-fade"}),(0,l.jsx)("span",{className:"text-[16px] font-semibold text-neutral-900",children:e.label})]}),t?(0,l.jsx)(z.Z,{className:"w-[18px] h-[18px] text-body"}):(0,l.jsx)(T.Z,{className:"w-[18px] h-[18px] text-body"})]}),t&&e.links&&(0,l.jsx)("div",{className:"flex flex-col gap-[14px] pl-[40px] pr-[4px] pb-[14px]",children:e.links.map(n=>(0,l.jsxs)("a",{onClick:()=>{s(!1),n.link&&r(n.link)}
1,className:"flex flex-col gap-[2px] cursor-pointer",children:[(0,l.jsx)("span",{className:"text-[14px] font-semibold text-neutral-900",children:n.name}),n.description&&(0,l.jsx)("span",{className:"text-[13px] font-normal text-body leading-relaxed",children:n.description})]},"mobile-link-".concat(e.label,"-").concat(n.name)))})]},"mobile-cat-".concat(e.label))}):(null==e?void 0:e.mobilFlat)?e.menu.flatMap(e=>e.links||[]).map((e,n)=>(0,l.jsxs)("button",{onClick:()=>{s(!1),r(e.link||"")},className:"flex items-center space-x-2 py-2 ml-4",children:[(0,l.jsx)("span",{className:"w-5 h-5 flex-shrink-0 inline-flex items-center justify-center",children:e.icon&&(0,l.jsx)(f.default,{src:e.icon,alt:"",width:20,height:20,unoptimized:!0})}),(0,l.jsx)("span",{className:"text-sm md:text-base",children:e.name})]},"flat-".concat(e.name,"-").concat(n))):e.menu.map((n,t)=>!n.hide&&(0,l.jsx)(L,{item:n,tabDirection:e.direction,navigateTo:r,closeMenu:()=>s(!1)},"".concat(e.title,"-").concat(n.label||t)))})})]},"mobile-tab-".concat(e.title)))}),(0,l.jsx)("div",{className:"flex flex-col py-[56px]",children:(0,l.jsx)(C,{loginText:c,signupText:u,onLogin:d,onSignup:p,className:"w-full py-0"})})]})]}):null},K=t(49053),D=t(4744),R=t(74667),Z=t(80021),Y=t(7177),F=t(56860);let W={ja:R,ko:Z,fr:Y,vi:F},I=(e,n)=>{let t=n.startsWith("zh"),l="zh-HK"===n||"zh-Hant"===n,a=(e,a)=>{var o,i;if(t)return l&&null!==(o=D[a])&&void 0!==o?o:a;let s=W[n];return s&&null!==(i=s[e])&&void 0!==i?i:e},o=(0,w.ye)(n);return{ProductsMenu:[{label:o?a("Unified Money Account","ç»ä¸èµéè´¦æ·"):a("Business Account","ä¼ä¸è´¦æ·"),icon:"/icon/bank.svg",link:"/products/banking",mobileShowLabel:!0,links:o?[{name:a("Unified Accounts","ç»ä¸è´¦æ·"),link:"/products/banking/global-collect",description:a("Collect and hold fiat and stablecoins in one account.","æ³å¸ä¸ç¨³å®å¸,ä¸ç«æ¶æ¬¾ä¸çåã")},{name:a("Unified Transfer","ç»ä¸ä»æ¬¾"),link:"/products/banking/global-payout",description:a("Pay globally in fiat and stablecoins.","æ³å¸ä¸ç¨³å®å¸,ä»å°å
¨çã")},{name:a("Unified FX","ç»ä¸æ¢æ±"),link:"/products/banking/global-forex",description:a("Real-time FX across fiat and stablecoins.","宿¶æ¢æ±,æ³å¸ä¸ç¨³å®å¸å轨èå¨ã")}]:[{name:a("Global Accounts","å¤å¸ç§è´¦æ·"),link:"/products/banking/global-collect",description:a("Multi-currency local accounts to collect worldwide.","å¤å¸ç§æ¬å°è´¦æ·,å
¨çæ¶æ¬¾")},{name:a("Global Transfer","å
¨ç仿¬¾"),link:"/products/banking/global-payout",description:a("Batch cross-border payouts to suppliers and employees.","æ¹éè·¨å¢ä»£ä»ç»ä¾åºåä¸åå·¥")},{name:a("FX","å
¨çæ¢æ±"),link:"/products/banking/global-forex",description:a("Interbank rates â multi-currency conversion and rate-lock.","é¶è¡é´æ±ç,å¤å¸ç§å
æ¢ä¸éæ±")}]},{label:o?a("Unified Payments","ç»ä¸æ¶å"):a("Global Payment","å
¨çæ¶æ¬¾"),icon:"/icon/credit-card-scanner.svg",link:"/products/acquiring",mobileShowLabel:!0,hide:(0,w.Ai)(n,"US")||(0,w.Ai)(n,"AU"),links:[{name:e("in_store_payment"),link:"/products/acquiring/in-store-payment",description:e("menu_description_in_store_payment")},{name:e("online_payment"),link:"/products/acquiring/online-payment",description:e("menu_description_online_payment")},{name:e("menu_payment_links"),link:"/products/acquiring/link-payment",description:e("menu_description_payment_links")},{name:e("menu_subscription_payments"),link:"/products/acquiring/subscription-payment",description:e("menu_description_subscription_payments")}]},{label:e("footer_products_cards"),icon:"/icon/card.svg",link:"/products/cards",mobileShowLabel:!0,hide:(0,w.Xy)(n),links:[{name:e("menu_physical_card"),link:"/products/cards/physical",description:e("menu_description_physical_card")},{name:e("menu_virtual_card"),link:"/products/cards/virtual",description:e("menu_description_virtual_card")},{name:e("menu_co_brand_card"),link:"/products/cards/co-brand",description:e("menu_description_co_brand_card")},{name:a("Spend Management","æ¯åºç®¡ç"),link:"/products/cards/expense-manage",description:a("Manage employee card spend end to end.","ç»ä¸ç®¡çåå·¥ç¨å¡ä¸æ¯åºã")}]},{label:a("Embedded Finance","åµå
¥å¼éè"),icon:"/icon/keyboard-open.svg",link:"/products/embedded-finance",mobileShowLabel:!0,links:[{name:a("Payments","æ¶æ¬¾"),link:"/products/embedded-finance/payments",description:a("Accept global payments in your platform. Fully programmable.","å¨ä½ çå¹³å°å
åçå
¨çæ¶æ¬¾ ââ å®å
¨å¯ç¼ç¨ã")},{name:a("Accounts","è´¦æ·"),link:"/products/embedded-finance/accounts",description:a("Spin up multi-currency sub-accounts via API. With KYC & split payments.","éè¿ API å¿«éå¼ç«å¤å¸ç§åè´¦æ·,æ¯æ KYC ä¸åè´¦ã")},{name:a("Issuing","åå¡"),link:"/products/embedded-finance/issuing",description:a("Issue cards globally via API. Configurable for any use case.","éè¿ API å
¨çåå¡,éé
ä»»æä¸å¡åºæ¯ã")},{name:a("Global Transfer","å
¨ç仿¬¾"),link:"/products/embedded-finance/global-transfer",description:a("Batch cross-border payouts to suppliers and users via API.","éè¿ API æ¹éè·¨å¢ä»£ä»ç»ä¾åºåä¸ç¨æ·ã")},{name:a("FX","æ¢æ±"),link:"/products/embedded-finance/fx",description:a("Convert currencies at interbank rates via API.","éè¿ API 以é¶è¡é´æ±çæ¢æ±ã
1")}]}],SolutionsMenu:[{label:e("solutions"),mobileShowLabel:!1,links:[{name:e("menu_b2b_trade"),link:"/solutions/b2b",icon:"/icon/keyboard-open.svg",description:e("menu_description_b2b_trade")},{name:e("menu_ecommerce"),link:"/solutions/ecommerce",icon:"/icon/keyboard-open.svg",description:e("menu_description_ecommerce")},{name:e("menu_retail"),link:"/solutions/retail",icon:"/icon/keyboard-open.svg",description:e("menu_description_retail")},{name:e("menu_software"),link:"/solutions/software",icon:"/icon/keyboard-open.svg",description:e("menu_description_software")},{name:e("menu_healthcare"),link:"/solutions/healthcare",icon:"/icon/keyboard-open.svg",description:e("menu_description_healthcare")},{name:e("menu_travel"),link:"/solutions/travel",icon:"/icon/keyboard-open.svg",description:e("menu_description_travel")},{name:e("menu_gaming"),link:"/solutions/gaming",icon:"/icon/keyboard-open.svg",description:e("menu_description_gaming")},{name:e("menu_saas"),link:"/solutions/saas",icon:"/icon/keyboard-open.svg",description:e("menu_description_saas")}]}],DevelopersMenu:[{label:e("menu_developers"),mobileShowLabel:!1,links:[{name:e("acquiring"),link:(0,K.bv)("acquiring",n),description:e("menu_description_acquiring")},{name:e("banking"),link:(0,K.bv)("banking",n),description:e("menu_description_banking")},{name:e("issuing"),link:(0,K.bv)("issuing",n),description:e("menu_description_issuing")},{name:e("test_account"),link:"https://app-sandbox.uqpaytech.com/",description:e("menu_description_test_account")}]}],CompanyMenu:[{label:e("menu_company"),mobileShowLabel:!0,links:[{name:e("about_uqpay"),link:"/company/about",icon:"/icon/building.svg",description:e("menu_description_about_uqpay")},{name:e("contact_us"),link:"/company/contact",icon:"/icon/phone-call.svg",description:e("menu_description_contact_us")},{name:e("legal_privacy"),link:"/company/terms",icon:"/icon/document-filter.svg",description:e("menu_description_legal_privacy")},{name:e("licenses"),link:"/company/license",icon:"/icon/security.svg",description:e("menu_description_licenses")}]},{label:e("resources"),mobileShowLabel:!0,links:[{name:a("Newsroom","æ°é»ä¸å¿"),link:"/resources/news",icon:"/icon/document-filter.svg",description:a("Latest news and announcements from UQPAY.","UQPAY ææ°å¨æä¸å
¬åã")},{name:a("Blog","å客"),link:"/resources/blog",icon:"/icon/keyboard-open.svg",description:a("Industry insights and product updates.","è¡ä¸æ´å¯ä¸äº§åæ´æ°ã")},{name:e("media_assets"),link:"/company/media",icon:"/icon/document-filter.svg",description:e("menu_description_media_assets")},{name:e("support"),link:"https://help.uqpay.com/en",icon:"/icon/security-user.svg",description:e("menu_description_support")}]}],PricingMenu:[{label:e("pricing"),mobileShowLabel:!1,link:"/pricing",icon:"/icon/document-filter.svg"}]}};var Q=t(94439);function B(){let e=(0,p.useRouter)(),n=(0,a.useLocale)(),t=(0,a.useTranslations)("Common"),o=(0,x.Z)(),[i,s]=(0,m.useState)(-1),[r,c]=(0,m.useState)(!1),[u,d]=(0,m.useState)(null),[f,g]=(0,m.useState)(!0),[h,v]=(0,m.useState)(0),k=(0,m.useMemo)(()=>I(t,n),[t,n]),y=(0,m.useMemo)(()=>[{title:t("products"),menu:k.ProductsMenu,useRail:!0},{title:t("solutions"),menu:k.SolutionsMenu},{title:t("company"),columns:!0,menu:k.CompanyMenu},{title:t("developers"),hide:(0,w.Xy)(n),direction:"col",menu:k.DevelopersMenu},{title:t("pricing"),url:"/pricing"}],[t,n,k]),j=(0,m.useMemo)(()=>y.filter(e=>"/pricing"!==e.url||"en"===n||"zh"===n),[y,n]),_=(0,m.useCallback)(()=>{let e=window.scrollY;e>h&&e>50?(g(!1),c(!1)):g(!0),v(e)},[h]),N=(0,m.useCallback)(e=>{d(u===e?null:e)},[u]),U=(0,m.useCallback)(()=>{e.push("https://app.uqpay.com/")},[e]),S=(0,m.useCallback)(()=>{e.push((0,Q.Gj)())},[e]),A=(0,m.useCallback)(()=>{o("/")},[o]),L=(0,m.useCallback)(()=>{c(!r)},[r]),E=(0,m.useCallback)(()=>{c(!1)},[]);return(0,m.useEffect)(()=>(r?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"}),[r]),(0,m.useEffect)(()=>(window.addEventListener("scroll",_),()=>{window.removeEventListener("scroll",_)}),[_]),(0,l.jsx)("header",{className:"sticky top-0 z-50 border-b border-line-soft bg-white/80 backdrop-blur-[14px] backdrop-saturate-150 transform transition-transform duration-300 ease-in-out xl:px-[96px] px-[24px] ".concat(f?"translate-y-0":"-translate-y-full"),children:(0,l.jsxs)("div",{className:"mx-auto flex justify-between items-center py-[16px]",children:[(0,l.jsx)(b,{onClick:A}),(0,l.jsx)(M,{tabsData:j,activeTab:i,setActiveTab:s,navigateTo:o}),(0,l.jsx)(C,{loginText:t("login_in"),signupText:t("sign_up"),onLogin:U,onSignup:S,className:"lg:flex hidden"}),(0,l.jsx)(P,{isOpen:r,onToggle:L}),(0,l.jsx)(H,{isOpen:r,onClose:E,tabsData:j,openMenuIndex:u,toggleMenu:N,setIsMobileMenuOpen:c,navigateTo:o,loginText:t("login_in"),signupText:t("sign_up"),onLogin:U,onSignup:S})]})})}let X=e=>"en"===e||e.startsWith("en-"),O={ja:R,ko:Z,fr:Y,vi:F};function V(e){let{t:n}=e,t=(0,a.useLocale)(),o=(0,x.Z)(),i=t.startsWith("zh"),s="zh-HK"===t||"zh-Hant"===t,r=(e,n)=>{var l,a;if(i)return s&&null!==(l=D[n])&&void 0!==l?l:n;let o=O[t];return o&&null!==(a=o[e])&&void 0!==a?a:e},c=(0,w.ye)(t),u=(0,m.useMemo)(()=>[{title:n("products"),children:[{label:c?r("Unified Payments","ç»ä¸æ¶å"):r("Global Payment","å
¨çæ¶æ¬¾"),url:"/products/acquiring",hide:(0,w.Ai)(t,"US")||(0,w.Ai)(t,"AU")},{label:c?r("Unified Money Account","ç»ä¸èµéè´¦æ·"):r("Business Account","ä¼ä¸è´¦æ·"),url:"/products/banking"},{label:n("footer_products_cards"),url:"/products/cards",hide:(0,w.Xy)(t)},{label:r("Embedded Finance","åµå
¥å¼éè"),url:"/products/embedded-finance"}]},{title:n("solutions"),children:[{label:n("footer_solutions_b2b"),url:"/solutions/b2b"},{label:n("footer_solutions_ecommerce"),url:"/solutions/ecommerce"},{label:n("footer_solutions_retail"),url:"/solutions/retail"},{label:n("footer_solutions_software"),url:"/solutions/software"},{label:n("footer_solutions_healthcare"),url:"/solutions/healthcare"},{label:n("footer_solutions_travel"),url:"/solutions/travel"},{label:n("footer_solutions_gaming"),url:"/solutions/gaming"},{label:n("footer_solutions_saas"),url:"/solutions/saas"}]},{title:n("resources"),children:[{label:n("blog"),url:"/resources/news"},{label:n("support"),url:"https://help.uqpay.com/en"}]},{title:n("developers"),hide:(0,w.Xy)(t),children:[{label:"".concat(n("acquiring")," ").concat(n("api_reference")),url:(0,K.bv)("acquiring",t)},{label:"".concat(n("banking")," ").concat(n("api_reference")),url:(0,K.bv)("banking",t)},{label:"".concat(n("issuing")," ").concat(n("api_reference")),url:(0,K.bv)("issuing",t)},{label:n("test_account"),url:"https://app-sandbox.uqpaytech.com/"}]},{title:n("company"),children:[{label:n("about_uqpay"),url:"/company/about"},{label:n("uqcap"),url:"https://www.uqcap.com"},{label:n("contact_us"),url:"/company/contact"},{label:n("legal_privacy"),url:"/company/terms"},{label:n("licenses"),url:"/company/license"},{label:n("media_assets"),url:"/company/media"},{label:"Affiliate Programme",url:"/partners/affiliate",hide:!X(t)}]}],[n,t]);return(0,l.jsxs)("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 lg:grid-cols-6 gap-11",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-6 lg:col-span-1 md:col-span-2 col-span-1",children:[(0,l.jsx)("button",{onClick:()=>{o("/")},children:(0,l.jsx)(f.default,{src:"/img/uq_logo_black.svg",alt:"UQPAY logo",width:96,height:24,className:"h-6 w-auto no-scroll-fade",unoptimized:!0})}),(0,l.jsx)("p",{className:"max-w-[240px] text-[14px] leading-relaxed text-body",children:r("The future-ready, full-stack payments platform. Every rail, one core.","é¢åæªæ¥çå
¨æ æ¯ä»å¹³å°ãå¤è½¨å¹¶è¡,䏿 ¸é©±å¨ã")})]}),u.map((e,t)=>!e.hide&&(0,l.jsxs)("div",{className:"flex flex-col gap-4 text-left",children:[(null==e?void 0:e.url)?(0,l.jsx)("button",{className:"uq-mono curs
1or-pointer text-left text-[11px] font-medium uppercase tracking-[.14em] text-[#9aa6bb] hover:text-brand",onClick:()=>o(e.url),children:e.title}):(0,l.jsx)("h3",{className:"uq-mono text-[11px] font-medium uppercase tracking-[.14em] text-[#9aa6bb]",children:e.title}),e.children&&e.children.map((t,a)=>(null==t?void 0:t.hide)?null:(0,l.jsx)("button",{onClick:()=>{e.title===n("developers")?o((null==t?void 0:t.url)||"","_blank"):o((null==t?void 0:t.url)||"")},className:"cursor-pointer text-left text-[14px] text-body transition-colors hover:text-brand",children:t.label},"".concat(t.label,"-").concat(a)))]},"".concat(e.title,"-").concat(t)))]})}function J(){let{isVisible:e,show:n,scheduleHide:t,clearHideTimer:a}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200,[n,t]=(0,m.useState)(!1),l=(0,m.useRef)(null),a=()=>{l.current&&(clearTimeout(l.current),l.current=null)};return(0,m.useEffect)(()=>a,[]),{isVisible:n,show:()=>{a(),t(!0)},scheduleHide:()=>{a(),l.current=setTimeout(()=>t(!1),e)},clearHideTimer:a}}(),o=e=>{(null==e?void 0:e.image)&&n()};return(0,l.jsx)("div",{className:"w-full flex flex-row gap-4",children:[{imgUrl:"/icon/icon_wechat.svg",linkUrl:"",name:"UQPAY WeChat",image:"/strapi-mirror/resources/UQPAYCN_45d25f3549.png"},{imgUrl:"/icon/icon_linkedin.svg",linkUrl:"https://www.linkedin.com/company/uqpay-technology-s-pte-ltd",name:"UQPAY on LinkedIn"},{imgUrl:"/icon/icon_facebook.svg",linkUrl:"https://www.facebook.com/UQPAYTechnology",name:"UQPAY on Facebook"},{imgUrl:"/icon/icon_twitter.svg",linkUrl:"https://twitter.com/UQPAYSG",name:"UQPAY on Twitter"}].map((n,i)=>{var s;return(0,l.jsxs)("div",{className:"relative",children:[n.linkUrl?(0,l.jsx)("a",{href:n.linkUrl,"aria-label":n.name,target:n.linkUrl&&n.linkUrl.includes(".com")?"blank":"",onMouseEnter:()=>{o(n)},onMouseLeave:t,children:(0,l.jsx)(f.default,{onClick:()=>{window.open(null==n?void 0:n.linkUrl,"_blank")},src:null==n?void 0:n.imgUrl,alt:null!==(s=n.name)&&void 0!==s?s:"",width:24,height:24})}):(0,l.jsx)("div",{onMouseEnter:()=>{o(n)},onMouseLeave:t,children:(0,l.jsx)(f.default,{src:null==n?void 0:n.imgUrl,alt:"logo",width:24,height:24})}),n.image&&e&&(0,l.jsx)("div",{className:"absolute top-[-150px] left-0 z-10 w-[256px]",onMouseEnter:a,onMouseLeave:t,children:(0,l.jsx)(f.default,{src:null==n?void 0:n.image,alt:"logo",width:256,height:128})})]},i)})})}function $(){let e=(0,a.useTranslations)("Common"),n=new Date().getFullYear();return(0,l.jsxs)("footer",{className:"uq-scope uq-body relative overflow-hidden border-t border-line bg-surface",children:[(0,l.jsx)("div",{className:"mx-auto max-w-[1240px] px-6 pb-9 pt-16 md:px-8",children:(0,l.jsx)(V,{t:e})}),(0,l.jsx)("div",{className:"border-t border-line",children:(0,l.jsxs)("div",{className:"mx-auto flex max-w-[1240px] flex-col gap-4 px-6 py-6 md:flex-row md:items-center md:justify-between md:px-8",children:[(0,l.jsxs)("div",{className:"text-ink/60",children:[(0,l.jsxs)("div",{className:"uq-mono text-[12.5px] leading-relaxed",children:["\xa9 UQPAY ",n,". All rights reserved."]}),(0,l.jsx)("div",{className:"mt-1 text-[12.5px] leading-relaxed text-muted-uq",dangerouslySetInnerHTML:{__html:e.raw("footer_desc")}})]}),(0,l.jsx)("div",{className:"shrink-0",children:(0,l.jsx)(J,{})})]})})]})}var ee=t(44815),en=t(27820);function et(){var e,n,t;let o=(0,a.useLocale)(),i=null!==(e=(0,p.usePathname)())&&void 0!==e?e:"/".concat(o),s=(0,a.useTranslations)("GeoBanner"),r=(0,a.useTranslations)("GeoModal"),[c,u]=(0,m.useState)(null);(0,m.useEffect)(()=>{let e=(0,en.ej)("geoCountry");if(!e||(0,en.ej)("geoOverrideLocale")||(0,en.ej)("geoBannerDismissed"))return;let n=(0,w.Zv)(e);n&&n!==o&&u(n)},[o]);let d=(0,m.useCallback)(()=>{(0,en.d8)("geoBannerDismissed","1",2592e3),u(null)},[]),x=(0,m.useCallback)(()=>{c&&((0,en.d8)("geoOverrideLocale",c),window.location.href=(0,w.KE)(i,o,c))},[c,i,o]);if(!c)return null;let f=r(null!==(n=w.tG[c])&&void 0!==n?n:"country_US"),b=r(null!==(t=w.$J[c])&&void 0!==t?t:"site_global"),g=w.ib[c];return(0,l.jsxs)("div",{className:"relative bg-[#0c0d11] px-12 py-2.5 text-white",children:[(0,l.jsxs)("p",{className:"text-center text-[13px] leading-relaxed",children:[s.rich("message",{country:f,flag:()=>g?(0,l.jsx)("img",{src:g,alt:"","aria-hidden":"true",className:"ml-1 inline-block h-[14px] w-[14px] rounded-full object-cover align-[-2px]"}):null})," ",(0,l.jsx)("button",{onClick:x,className:"underline underline-offset-2 transition-opacity hover:opacity-75 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-offset-2 focus-visible:ring-offset-[#0c0d11]",children:s("switch_link",{site:b})})]}),(0,l.jsx)("button",{onClick:d,"aria-label":s("dismiss"),className:"absolute right-4 top-1/2 -translate-y-1/2 p-1 transition-opacity hover:opacity-75 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-offset-2 focus-visible:ring-offset-[#0c0d11]",children:(0,l.jsx)(ee.Z,{className:"h-4 w-4"})})]})}function el(e){return(0,a.useLocale)(),(0,p.useRouter)(),u(),(0,l.jsxs)("div",{className:"uq-scope uq-body text-ink",children:[(0,l.jsx)(et,{}),(0,l.jsx)(B,{}),e.children,(0,l.jsx)($,{})]})}},88456:function(e,n,t){"use strict";var l=t(86764);t(7481);var a=t(45669);n.Z=e=>{let{variant:n,children:t,onClick:o,className:i,type:s="button"}=e;return(0,l.jsx)("button",{type:s,className:(0,a.cn)("".concat("px-6 py-2 rounded-xl border text-[15px] font-semibold focus:outline-none transition-all"," ").concat({contained:"bg-[var(--uq-brand)] text-white border-[var(--uq-brand)] hover:bg-[var(--uq-brand-press)] hover:border-[var(--uq-brand-press)] hover:-translate-y-0.5",outlined:"bg-white text-[var(--uq-brand)] border-[#d7dded] hover:border-[var(--uq-brand)]",white:"bg-white text-[var(--uq-brand)] border-white hover:-translate-y-0.5",whiteOutline:"text-white border-white/30 bg-white/10 hover:bg-white/20"}[n]),i),onClick:o,children:t})}},23723:function(e,n,t){"use strict";t.d(n,{GeoRedirectProvider:function(){return m},d:function(){return x}});
1var l=t(86764),a=t(7481),o=t(76621),i=t(8474),s=t(89538),r=t(24005),c=t(98681);function u(e){var n,t;let{homeLocale:u,targetLocale:d,onConfirm:p,onCancel:m}=e,x=(0,r.useTranslations)("GeoModal"),[f,b]=(0,a.useState)(!1),g=(0,a.useRef)(null);(0,a.useEffect)(()=>{b(!0)},[]),(0,a.useEffect)(()=>{var e;if(!f)return;let n=null===(e=g.current)||void 0===e?void 0:e.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');null==n||n.focus();let t=e=>{if("Escape"===e.key){m();return}if("Tab"!==e.key||!g.current)return;let n=Array.from(g.current.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'));if(0===n.length)return;let t=n[0],l=n[n.length-1];e.shiftKey?document.activeElement===t&&(e.preventDefault(),l.focus()):document.activeElement===l&&(e.preventDefault(),t.focus())};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[f,m]);let h=x(null!==(n=c.$J[d])&&void 0!==n?n:"site_global"),v=c.tG[u]?x(c.tG[u]):u,k=x(null!==(t=c.$J[u])&&void 0!==t?t:"site_SG"),y=c.ib[u],w=c.ib[d];return f?(0,i.createPortal)((0,l.jsx)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center bg-black/40",onClick:m,children:(0,l.jsxs)("div",{ref:g,role:"dialog","aria-modal":"true","aria-labelledby":"geo-modal-title","aria-describedby":"geo-modal-desc",className:"bg-white w-[calc(100vw-2rem)] max-w-[480px] rounded-[16px] pb-[18px]",onClick:e=>e.stopPropagation(),children:[(0,l.jsx)("div",{className:"flex items-center px-5 py-[18px] border-b border-[#f5f5f5] rounded-tl-[16px] rounded-tr-[16px]",children:(0,l.jsx)(o.default,{src:"/img/uqpay-logo.png",alt:"UQPAY logo",width:576,height:128,className:"h-[32px] w-auto object-contain no-scroll-fade"})}),(0,l.jsxs)("div",{className:"flex flex-col gap-4 pt-[18px] px-5",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-[10px]",children:[(0,l.jsx)("p",{id:"geo-modal-title",className:"font-medium text-[14px] sm:text-base text-[#0a0a0a] tracking-[0.07px] sm:tracking-[0.08px]",children:x("title",{country:v})}),(0,l.jsx)("p",{id:"geo-modal-desc",className:"text-[12px] sm:text-sm text-body tracking-[0.06px] sm:tracking-[0.07px]",children:x("subtitle",{country:k})})]}),(0,l.jsxs)("div",{className:"flex flex-col-reverse sm:flex-row gap-4",children:[(0,l.jsxs)("button",{onClick:p,className:"flex flex-1 items-center justify-center gap-2 rounded-[8px] px-3 py-[10px] text-[13px] font-medium text-[#6b7280] hover:bg-gray-50 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-400 focus-visible:ring-offset-2",children:[w?(0,l.jsx)("img",{src:w,alt:h,className:"w-[14px] h-[14px] sm:w-[18px] sm:h-[18px] rounded-full object-cover shrink-0 shadow-[0px_4px_4px_0px_rgba(0,0,0,0.08)]"}):(0,l.jsx)(s.Z,{className:"w-3.5 h-3.5 shrink-0"}),x("proceed_button",{site:h})]}),(0,l.jsxs)("button",{onClick:m,className:"flex flex-1 items-center justify-center gap-2 border border-[#0177fd] rounded-[8px] px-3 py-[10px] text-[13px] font-medium text-brand hover:bg-blue-50 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#0177fd] focus-visible:ring-offset-2",children:[y?(0,l.jsx)("img",{src:y,alt:k,className:"w-[14px] h-[14px] sm:w-[18px] sm:h-[18px] rounded-full object-cover shrink-0 shadow-[0px_4px_4px_0px_rgba(0,0,0,0.08)]"}):(0,l.jsx)(s.Z,{className:"w-3.5 h-3.5 shrink-0"}),x("stay_button",{country:k})]})]})]})]})}),document.body):null}var d=t(27820);let p=(0,a.createContext)(void 0);function m(e){let{children:n}=e,t=(0,r.useLocale)(),{modalOpen:o,pendingLocale:i,requestNavigate:s,handleModalConfirm:m,handleModalCancel:x}=function(){let e=(0,r.useLocale)(),[n,t]=(0,a.useState)(!1),[l,o]=(0,a.useState)(""),[i,s]=(0,a.useState)(""),u=(0,a.useCallback)((e,n)=>{(0,d.d8)("geoOverrideLocale",n),window.location.href=e},[]),p=(0,a.useCallback)((n,l)=>{var a;if(l===e)return;let i=null!==(a=(0,d.ej)("geoCountry"))&&void 0!==a?a:"XX",r=c.k7.includes((0,c.LG)(i)),p=e===(0,c.LG)(i);r&&p?(o(n),s(l),t(!0)):u(n,l)},[e,u]),m=(0,a.useCallback)(()=>{t(!1),u(l,i)},[u,l,i]);return{modalOpen:n,pendingLocale:i,requestNavigate:p,handleModalConfirm:m,handleModalCancel:(0,a.useCallback)(()=>{t(!1)},[])}}(),f=(0,a.useMemo)(()=>({requestNavigate:s}),[s]);return(0,l.jsxs)(p.Provider,{value:f,children:[n,o&&(0,l.jsx)(u,{homeLocale:t,targetLocale:i,onConfirm:m,onCancel:x})]})}function x(){let e=(0,a.useContext)(p);if(void 0===e)throw Error("useGeoRedirectContext must be used within a GeoRedirectProvider");return e}},70576:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});
1var l=t(86764),a=t(45669),o=t(7481);let i=[{name:"Global",flagUrl:"/icon/global.svg"},{name:"Singapore",flagUrl:"https://flagcdn.com/w320/sg.png"},{name:"United States",flagUrl:"https://flagcdn.com/w320/us.png"},{name:"Australia",flagUrl:"https://flagcdn.com/w320/au.png"}];function s(e){let{selectedCountry:n,handleCountryChange:t,countryList:s,label:r="Country or Region",labelClassName:c="",selectStyle:u=""}=e,[d,p]=(0,o.useState)(!1),m=(0,o.useRef)(null),x=e=>{t(e),p(!1)},f=s||i;return(0,o.useEffect)(()=>{let e=e=>{m.current&&!m.current.contains(e.target)&&p(!1)};return d&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[d]),(0,l.jsxs)("div",{ref:m,className:(0,a.cn)("w-full md:max-w-xs inline-block",u),children:[(0,l.jsx)("label",{className:(0,a.cn)("block text-gray-700 text-sm font-bold mb-2",c),htmlFor:"country",children:r}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)("button",{className:"w-full bg-white border border-gray-300 text-gray-700 py-2 px-4 rounded-lg flex justify-between items-center focus:outline-none focus:ring-2 focus:ring-blue-500",onClick:()=>p(!d),children:[(0,l.jsx)("div",{className:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none",children:(0,l.jsx)("img",{src:null==n?void 0:n.flagUrl,alt:"".concat(null==n?void 0:n.name," flag"),className:"h-6 w-6 rounded-full no-scroll-fade",loading:"lazy"})}),(0,l.jsx)("span",{className:"pl-10",children:null==n?void 0:n.name}),(0,l.jsx)("svg",{className:"w-5 h-5 text-gray-500 transition-transform duration-200 ".concat(d?"rotate-180":"rotate-0"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})]}),d&&(0,l.jsx)("div",{className:"absolute z-10 mt-2 w-full bg-white border border-gray-200 rounded-lg shadow-lg",children:(0,l.jsx)("ul",{className:"py-1",children:f&&f.map((e,n)=>(0,l.jsx)("li",{className:"hover:bg-gray-100 text-gray-700",children:(0,l.jsxs)("button",{className:"w-full text-left px-4 py-2 cursor-pointer",onClick:()=>x(e),children:[(0,l.jsx)("img",{src:e.flagUrl,alt:"".concat(e.name," flag"),className:"h-6 w-6 rounded-full inline-block mr-2 no-scroll-fade",loading:"lazy"}),e.name]})},"".concat(e.name,"-").concat(n)))})})]})]})}},27820:function(e,n,t){"use strict";function l(e){var n;if("undefined"!=typeof document)return null===(n=document.cookie.split("; ").find(n=>n.startsWith("".concat(e,"="))))||void 0===n?void 0:n.split("=").slice(1).join("=")}function a(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:31536e3;if("undefined"==typeof document)return;let l="https:"===window.location.protocol?"; Secure":"";document.cookie="".concat(e,"=").concat(n,"; path=/; max-age=").concat(t,"; SameSite=Lax").concat(l)}t.d(n,{d8:function(){return a},ej:function(){return l}})},49053:function(e,n,t){"use strict";t.d(n,{bv:function(){return i},iL:function(){return s}});let l="https://developers.uqpay.com",a={acquiring:"global-acquiring",banking:"global-account",issuing:"card-issuance"},o=e=>e.startsWith("zh")?"zh":"",i=(e,n)=>{let t=o(n);return"".concat(l).concat(t?"/".concat(t):"","/").concat(a[e],"/").concat("v1.6","/guide/overview")},s=e=>{let n=o(e);return n?"".concat(l,"/").concat(n):l}},98681:function(e,n,t){"use strict";t.d(n,{$J:function(){return k},Ai:function(){return m},He:function(){return u},KE:function(){return h},LG:function(){return f},Xy:function(){return r},Zv:function(){return b},ib:function(){return v},k7:function(){return i},nA:function(){return g},tG:function(){return y},ye:function(){return p}});let l={SG:"en-SG",US:"en-US",AU:"en-AU",HK:"en-HK"},a=["SG"],o=e=>a.includes(e),i=["en-SG","en-US","en-AU","en-HK","zh-HK"],s=["en-US","en-AU","en-HK","zh-HK"],r=e=>s.includes(e),c=["en-SG","en-US","en-HK","zh-HK"],u=e=>c.includes(e),d=["en","en-AU","zh","zh-Hant","ja","ko","fr","vi"],p=e=>d.includes(e),m=(e,n)=>e.split("-")[1]===n,x={"en-SG":["/pricing"],"en-US":["/pricing"],"en-AU":["/pricing"],"en-HK":["/pricing","/products/cards"],"zh-HK":["/pricing","/products/cards"]};function f(e){var n;return null!==(n=l[e])&&void 0!==n?n:"en"}function b(e){var n;return o(e)?null:null!==(n=l[e])&&void 0!==n?n:null}function g(e,n,t){return e.startsWith("/".concat(n,"/"))?"/".concat(t).concat(e.slice(n.length+1)):e==="/".concat(n)?"/".concat(t):"/".concat(t).concat(e)}function h(e,n,t){var l;let a=e.startsWith("/".concat(n))?e.slice(1+n.length):e;return(null!==(l=x[t])&&void 0!==l?l:[]).some(e=>a===e||a.startsWith(e+"/"))?"/".concat(t):"/".concat(t).concat(a)}let v={"en-SG":"https://flagcdn.com/w40/sg.png","en-US":"https://flagcdn.com/w40/us.png","en-AU":"https://flagcdn.com/w40/au.png","en-HK":"https://flagcdn.com/w40/hk.png"},k={"en-SG":"site_SG","en-US":"site_US","en-AU":"site_AU","en-HK":"site_HK",en:"site_global",zh:"site_global_chinese"},y={"en-SG":"country_SG","en-US":"country_US","en-AU":"country_AU","en-HK":"country_HK"}},94439:function(e,n,t){"use strict";t.d(n,{Fc:function(){return s},Gj:function(){return c},sV:function(){return r}});
1var l=t(97670),a=t(66906),o=t(62726),i=t(13685);let s="https://app.uqpay.com/signup";function r(e){try{let n=new URL(e),t=n.hostname;return("uqpay.com"===t||t.endsWith(".uqpay.com"))&&n.pathname.startsWith("/signup")}catch(e){return!1}}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s;try{let n=new URL(e),t=new URLSearchParams(window.location.search),s=(0,a.Tb)();for(let e of l.UJ){let l=t.get(e)||function(e,n){let t=null==e?void 0:e[n];return"string"==typeof t&&""!==t?t:void 0}(s,e);l&&n.searchParams.set(e,l)}return function(e,n){try{var t,l;let a=null!==(l=(0,o.je)(n))&&void 0!==l?l:null===(t=(0,i.A4)())||void 0===t?void 0:t.click_id;a&&e.searchParams.set(o.zN,a)}catch(e){}}(n,t),n.toString()}catch(n){return e}}},31647:function(e,n,t){"use strict";var l=t(62761),a=t(94439);n.Z=()=>{let e=(0,l.useRouter)(),n=(0,l.usePathname)()||"";return(t,l)=>{let o;let i=n.split("/");o=i.length>=4||i[1].includes("-")||["zh","en","id"].includes(i[1])?"/".concat(i[1],"/").concat(t):"".concat(t),t.includes(".com")||t.includes("http")?((0,a.sV)(t)&&(t=(0,a.Gj)(t)),l&&"_blank"===l?window.open(t,l):window.location.href=t):e.push(o)}}},45669:function(e,n,t){"use strict";t.d(n,{cn:function(){return o},p6:function(){return i}});var l=t(17090),a=t(11786);let o=function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];return(0,a.m6)((0,l.W)(n))},i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return"".concat(e.getFullYear(),"-").concat(e.getMonth()+1,"-").concat(e.getDate())}}},function(e){e.O(0,[4005,3068,8953,7699,2969,9702,3249,3677,3014,1744],function(){return e(e.s=20437)}),_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.