1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9090],{8053:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>n,UB:()=>s,dU:()=>a,uB:()=>o});var l=i(37876);i(14232);let n=e=>{let{children:t,className:i,outChildren:n}=e;return n?(0,l.jsxs)("div",{className:"overflow-auto flex items-center w-full flex-col h-full",children:[(0,l.jsx)("div",{className:"w-full sm:w-[592px]",children:n}),(0,l.jsx)("div",{id:"ShadowContainer",className:"\n overflow-auto grow bg-bg1\n relative flex flex-col h-full sm:h-[calc(100%-40px)]\n px-5 max-h-[860px] border-line\n sm:rounded-[20px] my-0 sm:mt-4 sm:mb-10\n sm:border sm:px-0\n w-full sm:w-[592px] mx-auto text-primary-text !text-sm\n ".concat(i,"\n "),children:t})]}):(0,l.jsx)("div",{id:"ShadowContainer",className:"\n overflow-auto grow\n relative flex flex-col h-full sm:h-[calc(100%-40px)]\n px-5 max-h-[860px] border-line\n sm:rounded-[20px] my-0 sm:mt-4 sm:mb-10\n sm:border sm:px-0\n w-full sm:w-[592px] mx-auto text-primary-text !text-sm\n ".concat(i,"\n "),children:t})},s=e=>{let{children:t,className:i}=e;return(0,l.jsx)("div",{id:"ContainerWithoutShadow",className:"\n relative w-full mx-auto text-primary-text !text-sm my-0 h-full\n sm:my-5 sm:w-[486px]\n ".concat(i,"\n "),children:t})},a=e=>{let{children:t,className:i,outChildren:n}=e;return n?(0,l.jsxs)("div",{className:"relative m-auto sm:w-[592px] sm:h-[680px] ",children:[(0,l.jsx)("div",{className:" sm:w-[592px]",children:n}),(0,l.jsx)("div",{id:"FixedHeightContainer",className:"\n border rounded-[20px] border-transparent text-primary-text h-screen mt-8\n sm:w-[592px] sm:h-[680px] sm:border-line\n ".concat(i,"\n "),children:t})]}):(0,l.jsx)("div",{className:"relative m-auto sm:w-[592px] sm:h-[680px] ",children:(0,l.jsx)("div",{id:"FixedHeightContainer",className:"\n border rounded-[20px] border-transparent text-primary-text h-screen mt-8\n sm:w-[592px] sm:h-[680px] sm:border-line\n ".concat(i,"\n "),children:t})})},o=e=>{let{children:t,className:i}=e;return(0,l.jsx)("div",{className:"\n w-full sm:w-[486px] mx-auto relative\n flex flex-col flex-1 px-4 sm:px-0\n ".concat(i||"","\n "),children:t})}},13715:(e,t,i)=>{"use strict";i.d(t,{A:()=>c});var l=i(37876),n=i(14232),s=i(54587),a=i.n(s);let o={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/gift.35dab164.svg",height:48,width:48,blurWidth:0,blurHeight:0},d={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/fullColorGo.71c06ffe.svg",height:24,width:24,blurWidth:0,blurHeight:0};var r=i(99190);let c=e=>{let{childrenText:t,className:i="",textClassName:s="",extra:c,showPop:m=!1,popTitle:u="",popText:x=""}
1=e,[h,v]=(0,n.useState)(!1);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"relative bg-alertbg bg-gradient-to-b px-5 py-3\n from-alertbg to-bg1 -mx-5 sm:mx-0 ".concat(i),children:[(0,l.jsx)("div",{className:"test-small-body bg-transparent whitespace-normal break-words\n flex flex-wrap items-center justify-start ".concat(s),dangerouslySetInnerHTML:{__html:t}}),m&&(0,l.jsx)("button",{onClick:()=>v(!0),className:" absolute right-5 top-1/2 transform -translate-y-1/2 rounded-full shadow-sm h-6 w-6 flex items-center justify-center ","aria-label":"show details",children:(0,l.jsx)(a(),{src:d,alt:"info",width:24,height:24})}),!m&&(0,l.jsx)(a(),{alt:"giftSvg",src:o,className:"h-full w-auto absolute right-0 top-0"}),c]}),(0,l.jsx)(r.Ay,{open:h,title:u,onClose:()=>v(!1),showMask:!0,children:(0,l.jsx)("div",{className:"prose dark:prose-invert max-h-[70vh] overflow-auto",dangerouslySetInnerHTML:{__html:x}})})]})}},19548:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lng]/user-migration",function(){return i(20979)}])},20979:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>S});var l=i(37876),n=i(8053),s=i(92094),a=i(34846),o=i(14232),d=i(34636),r=i(51259),c=i(7419),m=i(44164),u=i(84952),x=i(81996),h=i(94021),v=i(79829),p=i(66852),f=i(52397);let w={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/QuestionnaireIcon.c4bc805b.svg",height:20,width:20,blurWidth:0,blurHeight:0},g={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/IdentityVerificationIcon.bc80d0a9.svg",height:20,width:20,blurWidth:0,blurHeight:0};var y=i(24009),b=i(90612),j=i(60216),N=i(80647),_=i(13715),k=i(36327),C=i(61329);let S=()=>{var e,t,i;let{t:S}=(0,a.Bd)(),{accountInfo:I}=(0,d.A)(),{kycInfo:A}=I||{},{entitySwitchDeadline:L,overDeadLine:T}=A||{},[q,B]=(0,o.useState)(!0),{trackAndGa:E}=(0,c.A)(),[H,P]=(0,o.useState)(!1);(0,o.useEffect)(()=>{A&&E({elementId:"".concat((0,x.QH)(),"_move_pageview"),extraData:{kycFlow:null==A?void 0:A.kycFlow}})},[E,A]);let{agreeLogV2:M}=(0,h.A)(),{goAcctStatusPageByEntity:D,goAcctStatusPage:F}=(0,r.A)(),[O,Q]=(0,o.useState)([]),{promotionLoading:W,migrateCashback:R,setMigrateCashback:V,setPromotionAccountCheck:G,setPormotionLoading:U,welcomePageDescription:Z,setWelcomePageDescription:K,welcomePageNeedPop:X,setWelcomePageNeedPop:Y,welcomePagePopTitle:z,setWelcomePagePopTitle:J,welcomePagePopDescription:$,setWelcomePagePopDescription:ee}=(0,k.A)(),et=(0,f._W)(s.Bm.email)||"";(0,o.useEffect)(()=>{U(!0),(0,C.LU)({email:et,flowStep:"MIGRATE_LI"}).then(e=>{var t,i,l,n,s,a,o,d,r,c,m,u,x,h,v,p;U(!1),G((null===(t=e.data)||void 0===t?void 0:t.entityOfCurrentAccounts)||[]),V(null===(n=e.data)||void 0===n?void 0:null===(l=n.promotionList)||void 0===l?void 0:null===(i=l[0])||void 0===i?void 0:i.name),K((null===(o=e.data)||void 0===o?void 0:null===(a=o.promotionList)||void 0===a?void 0:null===(s=a[0])||void 0===s?void 0:s.welcomePageDescription)||""),Y((null===(c=e.data)||void 0===c?void 0:null===(r=c.promotionList)||void 0===r?void 0:null===(d=r[0])||void 0===d?void 0:d.welcomePageNeedPop)||!1),J((null===(x=e.data)||void 0===x?void 0:null===(u=x.promotionList)||void 0===u?void 0:null===(m=u[0])||void 0===m?void 0:m.welcomePagePopTitle)||""),ee((null===(p=e.data)||void 0===p?void 0:null===(v=p.promotionList)||void 0===v?void 0:null===(h=v[0])||void 0===h?void 0:h.welcomePagePopDescription)||"")}).catch(e=>{U(!0)})},[et,R,V,U,G,K,Y,ee,J]),(0,o.useEffect)(()=>{W||(console.log("promition_logElementID","promition_".concat(R||"nopromotion","_pageview"),{email:et}),E({elementId:"promition_".concat(R||"nopromotion","_pageview"),extraData:{email:et}}))},[et,R,W,E]),(0,o.useEffect)(()=>{(async()=>{var e;let{data:t}=await (0,v.x)((null==I?void 0:null===(e=I.kycInfo)||void 0===e?void 0:e.entitySwitch)||(0,x.f9)());Q(t.requiredItems),B(!1)})()},[null==I?void 0:null===(e=I.kycInfo)||void 0===e?void 0:e.entitySwitch]);let ei=async()=>{try{var e,t,i;P(!0),E({elementId:"".concat((0,x.QH)(),"_move_Continue")}),await M({entityTag:(null==I?void 0:null===(e=I.kycInfo)||void 0===e?void 0:e.entitySwitch)||
1(0,x.f9)()});let{data:l}=await (0,v.ab)((null==I?void 0:null===(t=I.kycInfo)||void 0===t?void 0:t.entitySwitch)||(0,x.f9)());l.token&&((0,p.UG)(s.y4)?(0,f.KY)(s.Bm.businessToken,l.token):(0,f.KY)(s.Bm.token,l.token)),((null==I?void 0:null===(i=I.kycInfo)||void 0===i?void 0:i.entitySwitch)||(0,x.f9)())===x.qq?D():F()}catch(e){P(!1)}},{setEntity:el}=(0,b.A)();(0,o.useEffect)(()=>{var e,t,i;(null==I?void 0:null===(e=I.kycInfo)||void 0===e?void 0:e.entitySwitch)||(0,x.f9)()?el((null==I?void 0:null===(i=I.kycInfo)||void 0===i?void 0:i.entitySwitch)||(0,x.f9)()||null):null==I||!I.kycInfo||(null==I?void 0:null===(t=I.kycInfo)||void 0===t?void 0:t.entitySwitch)||((null==I?void 0:I.entityTag)===x.qq?D():F())},[null==I?void 0:null===(t=I.kycInfo)||void 0===t?void 0:t.entitySwitch,el,D,F,null==I?void 0:I.kycInfo,null==I?void 0:I.entityTag]);let[en,es]=(0,o.useState)([]);(0,o.useEffect)(()=>{var e,t;let i=[];((null==I?void 0:null===(e=I.kycInfo)||void 0===e?void 0:e.entitySwitch)||(0,x.f9)())===x.qq&&(null==O?void 0:O.indexOf("question"))>-1&&i.push({image:w,imagealt:"Questionnaire",title:S("Questionnaire"),duration:S("30s")}),(null==O?void 0:O.indexOf("IDV"))>-1&&i.push({image:g,imagealt:"IdentityVerification",title:S("IdentityVerification"),duration:S("1 min")}),(null==O?void 0:O.indexOf("LC"))>-1&&i.push({image:y.A,imagealt:"LivenessCheck",title:S("LivenessCheck"),duration:S("30s")}),((null==I?void 0:null===(t=I.kycInfo)||void 0===t?void 0:t.entitySwitch)||(0,x.f9)())===x.Nd&&(null==O?void 0:O.indexOf("question"))>-1&&i.push({image:w,imagealt:"Questionnaire",title:S("Questionnaire"),duration:S("30s")}),es(i)},[O,I,S]);let ea=(0,o.useMemo)(()=>{var e;return!(null==I?void 0:null===(e=I.kycInfo)||void 0===e?void 0:e.entitySwitch)&&!(0,x.f9)()},[I]);return(0,o.useEffect)(()=>{(0,j.y)({key:s.xN.fromMigration,value:!0})},[]),(0,l.jsxs)(n.Ay,{children:[!W&&R&&(0,l.jsx)(_.A,{childrenText:Z,showPop:X,popText:$,popTitle:z}),(null==I?void 0:null===(i=I.kycInfo)||void 0===i?void 0:i.entitySwitch)===x.qq&&(0,l.jsx)(_.A,{childrenText:S("migrationTips")}),(0,l.jsx)(N.A,{image:m.A,title:S("ActionRequired"),desc:"".concat(((null==A?void 0:A.entitySwitch)||(0,x.f9)())===x.qq?S("ActionRequiredDesc_LI"):S("ActionRequiredDesc_PL")),loading:!1,steps:[],footer:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(u.A,{showContinue:!0,inactive:ea,loading:H,showContinueBtnText:S("AgreeContinue"),onClick:ei,className:"max-w-[400px] mb-0!"})})})]})}},24009:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});let l={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/LivenessCheckIcon.b6051c39.svg",height:20,width:20,blurWidth:0,blurHeight:0}},36327:(e,t,i)=>{"use strict";i.d(t,{A:()=>a,l:()=>s});var l=i(10252),n=i(14232);let s=e=>"migrateCashback1"===e?"1%":"migrateCashback3a"===e||"migrateCashback3b"===e?"3%":"5%",a=(0,l.kQ)(()=>
1{let[e,t]=(0,n.useState)(!0),[i,l]=(0,n.useState)(),[s,a]=(0,n.useState)(""),[o,d]=(0,n.useState)([]),[r,c]=(0,n.useState)(""),[m,u]=(0,n.useState)(!1),[x,h]=(0,n.useState)(""),[v,p]=(0,n.useState)("");return{migrateCashbackText:s,setMigrateCashbackText:a,migrateCashback:i,promotionLoading:e,setPormotionLoading:t,setMigrateCashback:l,promotionAccountCheck:o,setPromotionAccountCheck:d,welcomePageDescription:r,setWelcomePageDescription:c,welcomePageNeedPop:m,setWelcomePageNeedPop:u,welcomePagePopTitle:x,setWelcomePagePopTitle:h,welcomePagePopDescription:v,setWelcomePagePopDescription:p}})},44164:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});let l={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/Remediation.1bb83a21.svg",height:88,width:88,blurWidth:0,blurHeight:0}},80647:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var l=i(37876);i(14232);let n=()=>(0,l.jsxs)("div",{className:"w-full mt-2 p-3 bg-bg2 h-[128px] rounded-xl flex flex-col items-center ",children:[(0,l.jsxs)("div",{className:"flex w-full justify-between my-[6px]",children:[(0,l.jsx)("div",{className:"bg-line h-2 w-[200px] animate-pulse"}),(0,l.jsx)("div",{className:"bg-line h-2 w-[48px] animate-pulse"})]}),(0,l.jsxs)("div",{className:"flex w-full justify-between my-[6px] mt-[14px]",children:[(0,l.jsx)("div",{className:"bg-line h-2 w-[160px] animate-pulse"}),(0,l.jsx)("div",{className:"bg-line h-2 w-[32px] animate-pulse"})]}),(0,l.jsxs)("div",{className:"flex w-full justify-between my-[6px] mt-[14px]",children:[(0,l.jsx)("div",{className:"bg-line h-2 w-[200px] animate-pulse"}),(0,l.jsx)("div",{className:"bg-line h-2 w-[48px] animate-pulse"})]}),(0,l.jsxs)("div",{className:"flex w-full justify-between my-[6px] mt-[14px]",children:[(0,l.jsx)("div",{className:"bg-line h-2 w-[160px] animate-pulse"}),(0,l.jsx)("div",{className:"bg-line h-2 w-[32px] animate-pulse"})]})]});var s=i(34846),a=i(54587),o=i.n(a);let d=e=>{let{className:t="",...i}=e;return(0,l.jsx)("svg",{viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"fill-current ".concat(t),...i,children:(0,l.jsx)("path",{d:"M8.28585 2C12.0729 2 15.143 4.6863 15.143 8C15.143 11.3137 12.0729 14 8.28585 14C6.88863 14 5.58904 13.6343 4.5052 13.0064L2.30687 13.7164C2.21055 13.7475 2.10633 13.7435 2.01267 13.7051C1.79366 13.6154 1.68885 13.3651 1.77858 13.1461L2.54315 11.2801C1.83843 10.3374 1.42871 9.21056 1.42871 8C1.42871 4.6863 4.49875 2 8.28585 2ZM8.28585 7.14285C7.81247 7.14285 7.4287 7.52662 7.4287 8C7.4287 8.47338 7.81247 8.85715 8.28585 8.85715C8.75923 8.85715 9.143 8.47338 9.143 8C9.143 7.52662 8.75923 7.14285 8.28585 7.14285ZM4.85728 7.14285C4.38388 7.14285 4.00013 7.52662 4.00013 8C4.00013 8.47338 4.38388 8.85715 4.85728 8.85715C5.33066 8.85715 5.71441 8.47338 5.71441 8C5.71441 7.52662 5.33066 7.14285 4.85728 7.14285ZM11.7144 7.14285C11.241 7.14285 10.8573 7.52662 10.8573 8C10.8573 8.47338 11.241 8.85715 11.7144 8.85715C12.1878 8.85715 12.5716 8.47338 12.5716 8C12.5716 7.52662 12.1878 7.14285 11.7144 7.14285Z",fill:"#A7EA33"})})},r=e=>{let{classname:t,image:i,title:a,desc:r,loading:c,steps:m,child:u,footer:x,extraTitle:h}=e,{t:v}=(0,s.Bd)();return(0,l.jsxs)("div",{className:"px-5 flex flex-col items-center h-full sm:mx-0 mx-[-20px] overflow-auto ".concat(t),children:[(0,l.jsxs)("div",{className:"text-center grow w-full pb-6",children:[(0,l.jsx)(o(),{src:i,className:"mx-auto mt-12 w-[88px] h-[88px]",alt:i}),(0,l.jsx)("div",{className:"text-h6 mt-6 ",children:a}),(0,l.jsx)("div",{className:"text-regular-body text-secondary mt-2 [&_a]:text-link [&_a]:hover:text-primary [&_a]:active:text-primary",dangerouslySetInnerHTML:{__html:r}}),u,c||void 0===c||m.length?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"mt-6 flex justify-between text-left text-small-body-sub text-primary-text",children:[(0,l.jsx)("div",{children:v("VerificationProcess")}),h&&(0,l.jsx)("div",{className:"text-small-body-sub text-third",children:h})]}),c&&(0,l.jsx)(n,{}),!c&&void 0!==c&&(0,l.jsxs)("div",{className:"mt-2 bg-alertbg rounded-xl flex flex-col items-center w-full relative",children:[null==m?void 0:m.map((e,t)=>(0,l.jsxs)("div",{className:"".concat(t===m.length-1?"pb-3":""," px-3 pt-3 rounded-xl bg-bg2 flex justify-between items-start w-full text-secondary"),children:[(0,l.jsxs)("div",{className:"flex items-start text-secondary ".concat(e.flex||""),children:[(0,l.jsx)(o(),{src:e.image,alt:e.imagealt,className:"mr-2"}),(0,l.jsxs)("div",{className:"text-left",children:[(0,l.jsx)("div",{className:"text-primary-text",children:e.title}),(0,l.jsx)("div",{className:"text-caption mt-1",children:e.desc2})]})]}),(0,l.jsx)("div",{className:"text-secondary shrink-0 font-medium",children:e.duration})]},t)),(0,l.jsxs)("div",{className:"rounded-b-xl flex items-center justify-center gap-2 text-small-body bg-alertbg pt-1 pb-2 w-full -mx-[12px]",children:[(0,l.jsx)(d,{className:"w-4 h-4"}),(0,l.jsx)("span",{children:v("NeedAssistance")}),(0,l.jsx)("span",{className:"text-link cursor-pointer",onClick:()=>{window.__setSuperBigLemonBalltab("home"),window.__setSuperBigLemonBallSecondarypageType(void 0),window.__setSuperBigLemonBallOpen(!0)},children:v("GetHelp")})]})]})]}):(0,l.jsx)(l.Fragment,{})]}),(0,l.jsx)("div",{className:"flex justify-center w-full flex-col items-center pt-2 pb-4 sticky bottom-0 bg-bg1",children:x})]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[636,6593,8792],()=>t(19548)),_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.