1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4b4c237e-9fff-4d22-9b01-2aab104590b8",e._sentryDebugIdIdentifier="sentry-dbid-4b4c237e-9fff-4d22-9b01-2aab104590b8")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2125,9625],{10870:(e,t,i)=>{"use strict";i.d(t,{A:()=>p});var n=i(37876);i(14232);var s=i(48011),o=i(72590),r=i(73676),l=i(78071),a=i(34219),c=i(81415),d=i(93814);let h={primary:{bg:"A.4",color:"BT.1",iconSize:12,justifyContent:"center"},secondary:{bg:"none",color:"A.4",iconSize:16,justifyContent:"flex-start"}},p=e=>{var t;let{onClick:i,variant:p="primary",textProps:u={},showAmount:g=!1,showIcon:m=!0,hideWhenLimitExhausted:A=!0,isStaticBanner:x=!1,..._}=e,{strings:{general:{cash_instant_banner:{title_default:f,title_amount:b,title_exhausted:v}}}}=(0,l.Ym)(),C=(0,s.d4)(e=>(0,c.getIsFeatureEnabled)(e,"CASH_INSTANT")),j=(0,s.d4)(c.selectAccountWithdrawalConfig),y=null==j||null==(t=j.instantWithdrawalLimit)?void 0:t[d.S.SGD],w=0===y,I=x||!w&&!!i;return!C||A&&w?null:(0,n.jsx)(a.pT,{alignItems:"center",bg:h[p].bg,borderRadius:2,cp:I,justifyContent:h[p].justifyContent,onClick:I?i:void 0,py:1,..._,children:(0,n.jsxs)(a.pT,{alignItems:"center",color:h[p].color,gap:2,justifyContent:"center",children:[(0,n.jsx)(a.C0,{height:h[p].iconSize,name:"lightning",width:h[p].iconSize}),(0,n.jsx)(a.EY,{variant:"subtitle2",...u,children:x?f:!A&&w?v:g?w?v:(0,l.GW)(b,{amount:"".concat((0,o.I)(d.S.SGD)).concat((0,r.PN)(y))}):f}),m&&I&&(0,n.jsx)(a.C0,{height:8,name:"arrowRight",strokeWidth:3,width:8})]})})}},40241:e=>{e.exports={polling:"PollingPopup_polling__CQyYB",polling__container:"PollingPopup_polling__container__tC0dq",polling__overlay:"PollingPopup_polling__overlay__cR5OG","polling__profile-img":"PollingPopup_polling__profile-img__Corn2",polling__content:"PollingPopup_polling__content__saib4",polling__options:"PollingPopup_polling__options__oXxDO","polling__person-text":"PollingPopup_polling__person-text__JJN3i","polling__options-img":"PollingPopup_polling__options-img__BAt2p",polling__input:"PollingPopup_polling__input__aqJGm",polling__button:"PollingPopup_polling__button__zCVuf","polling-success":"PollingPopup_polling-success__QEnZ9","polling-success__title":"PollingPopup_polling-success__title__EZGhS","polling-success__help-text":"PollingPopup_polling-success__help-text__OQnUI","polling__rating-container":"PollingPopup_polling__rating-container__obkFH","polling__rating-label":"PollingPopup_polling__rating-label__EacOr","polling__rating-active":"PollingPopup_polling__rating-active___ys97",polling__rating:"PollingPopup_polling__rating___Yehl"}},46308:e=>{e.exports={"reminder-mobile":"ReminderMobile_reminder-mobile__IP79A","reminder-mobile__cross-icon":"ReminderMobile_reminder-mobile__cross-icon__8baCa"}},48479:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});var n=i(37876);i(14232);var s=i(72590),o=i(78071),r=i(34219);let l=function(e){var t,i,l;let{open:a,onOpenChange:c,data:d,learnMoreLink:h}=e,{currentLang:p,strings:u}=(0,o.Ym)(),g=null!=(l=null==u||null==(i=u.account_home_page)||null==(t=i.portfolio_overview)?void 0:t.balance_in_transit)?l:{};if(!a)return null;let m=()=>{null==c||c(!1)};return(0,n.jsx)(r.Wh,{onClose:m,showCloseIcon:!1,theme:"dashboard",width:"410px",children:(0,n.jsxs)(r.az,{children:[(0,n.jsxs)(r.pT,{alignItems:"center",justifyContent:"space-between",mb:8,mt:-4,children:[(0,n.jsx)(r.EY,{color:"BT.2",variant:"subtitle1",children:1===d.length?g.modal_title_singular:g.modal_title_plural}),(0,n.jsx)(r.pT,{alignItems:"center",color:"B.1",height:3,justifyContent:"center",onClick:m,role:"button",width:3,children:(0,n.jsx)(r.C0,{height:"20px",name:"cross",width:"20px"})})]}),(0,n.jsxs)(r.EY,{color:"BT.2",lineHeight:"20px",mb:8,variant:"body2",children:[g.modal_body,h?(0,n.jsxs)(n.Fragment,{children:[" ",(0,n.jsx)(r.A,{href:h,children:g.learn_more})]}):null]}),d&&d.length>0?(0,n.jsx)(r.pT,{flexDirection:"column",gap:2,children:d.map(e=>{var t;return(0,n.jsxs)(r.pT,{alignItems:"center",justifyContent:"space-between",children:[(0,n.jsx)(r.EY,{color:"BT.1",fontWeight:"semibold",letterSpacing:"0",lineHeight:"120%",variant:"body2",children:e.name}),(0,n.jsx)(r.EY,{color:"BT.1",fontWeight:"semibold",letterSpacing:"0",lineHeight:"120%",variant:"body2",children:(0,s.T)(e.currency,e.amount,p)})]},null!=(t=e.portfolioId)?t:e.name)}
1)}):null]})})}},69543:(e,t,i)=>{"use strict";i.d(t,{A:()=>e6});var n=i(37876),s=i(14232),o=i(77328),r=i.n(o),l=i(50177),a=i(46513),c=i(95706),d=i(47582),h=i(86260),p=i(57086),u=i(76249),g=i(65058),m=i(26058),A=i(34219),x=i(1414),_=i(86849),f=i.n(_);let b={src:"/_next/static/media/liam.c294765a.jpg",height:64,width:64,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/2wBDAQoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/wgARCAAIAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAUAQEAAAAAAAAAAAAAAAAAAAAD/9oADAMBAAIQAxAAAAC+Db//xAAfEAABBAAHAAAAAAAAAAAAAAACAQMEEgAFExUiM1L/2gAIAQEAAT8AKQ9vL8kFklJDNhY01Q+pVrWvmvK2P//EABcRAAMBAAAAAAAAAAAAAAAAAAACQnL/2gAIAQIBAT8AStH/xAAZEQABBQAAAAAAAAAAAAAAAAABAAMhMkL/2gAIAQMBAT8AcxAoF//Z",blurWidth:8,blurHeight:8};var v=i(51607);let C={name:"Lim Jiaxuan - Wealth advisor",img:b,srcSet:"".concat(b,", ").concat({src:"/_next/static/media/[email protected]",height:128,width:128,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/2wBDAQoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/wgARCAAIAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAUAQEAAAAAAAAAAAAAAAAAAAAD/9oADAMBAAIQAxAAAAC+Db//xAAgEAABAwIHAAAAAAAAAAAAAAACAQMSAAQFExQVIjNS/9oACAEBAAE/ACuHt4fuQ1JXIYsLGWqH1KsYx8x5Sr//xAAYEQACAwAAAAAAAAAAAAAAAAAAAQIycv/aAAgBAgEBPwCCto//xAAZEQABBQAAAAAAAAAAAAAAAAABAAMhMkP/2gAIAQMBAT8Aczg
1UC//Z",blurWidth:8,blurHeight:8}," 2x, ").concat({src:"/_next/static/media/[email protected]",height:192,width:192,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/2wBDAQoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/wgARCAAIAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAUAQEAAAAAAAAAAAAAAAAAAAAD/9oADAMBAAIQAxAAAAC+Db//xAAeEAACAgEFAQAAAAAAAAAAAAABAgMSBAAFFSIzUv/aAAgBAQABPwBp5uZnyUOS2Sm7LAIyH8ia1r817a//xAAYEQACAwAAAAAAAAAAAAAAAAAAAQIycv/aAAgBAgEBPwCCto//xAAZEQABBQAAAAAAAAAAAAAAAAABAAMhMkP/2gAIAQMBAT8AczgUC//Z",blurWidth:8,blurHeight:8}," 3x")},j=e=>{let{name:t,img:i,srcSet:o}=e,r=d.getJSON(a.H6)||{},[l,c]=(0,s.useState)(r.showPrompt&&!r.isWhatsAppClicked||!1),h=()=>{(0,m.A)({showPrompt:!1,isWhatsAppClicked:!0}),c(!1),p(),window.open((0,x.Jv8)("",x.SHh),"_blank")},p=()=>c(!1);return l?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(A.Ph,{wait:(()=>{let e=d.getItem("validTill"),t=e?(0,g.A)(new Date(e)):"";return r.validTill<t})()?1e4:5e3,children:(0,n.jsx)("div",{className:f()["advisor-prompt"],children:(0,n.jsxs)(A.tu,{className:f()["advisor-prompt__container"],elevation:"z2",overlayClassName:f()["advisor-prompt__overlay"],theme:"dashboard",children:[(0,n.jsx)("div",{className:f()["advisor-prompt__img-container"],children:(0,n.jsx)(A._V,{alt:t,className:f()["advisor-prompt__img"],src:b,srcSet:o||""})}),(0,n.jsx)(A._V,{alt:"close",className:f()["advisor-prompt__cross-img"],onClick:p,src:v.A}),(0,n.jsxs)("div",{className:f()["advisor-prompt__content"],children:[(0,n.jsx)(A.EY,{as:"h6",className:f()["advisor-prompt__name"],variant:"subtitle2",children:t}),(0,n.jsx)(A.EY,{className:f()["advisor-prompt__question"],variant:"body1",children:"I can help answer your queries, would you like to connect?"}),(0,n.jsx)(A.$n,{fullWidth:!0,onClick:()=>{h()},type:"primary",children:"Connect on WhatsApp"})]})]})})})}):null},{name:y,img:w,srcSet:I}=C;j.defaultProps={name:y,img:w,srcSet:I};var k=i(61328),T=i(17853),E=i(48011),P=i(74222),S=i(19461),D=i(71776);let N=(0,E.Ng)(e=>({overviewInfo:S.jZ.getOverviewInfo(e),pricing:S.$u.getPricing(e),postKycFlowStatus:S.B2.getPostKycFlowStatus(e),pendingPortfolioCreation:S.$u.getPendingPortfolioCreation(e),isWealthOnboardingCompleted:S.$u.isWealthOnboardingCompleted(e),allRecurringTransfers:S.gC.getAllRecurringTransfers(e),pollInfo:S.AU.getPollInfo(e),isSjpClient:S.$u.getIsSjpClient(e)}),e=>({getOverviewInfo:(t,i,n)=>e(D.$G.getOverviewInfo(t,i,n)),getAllRecurringTransfers:()=>e(D.Mw.getAllRecurringTransfers()),navigate:t=>e((0,P.VC)(t)),getPollData:()=>e(D.mD.getPollData())}),(e,t,i)=>({...e,...t,...i}));var B=i(21651),R=i(82167),L=i(142),F=i(91794),O=i(96344),M=i(78071),Y=i(48479);let U=function(e){let{balanceInTransit:t,learnMoreLink:i}=e,[o,r]=(0,s.useState)(!1),{strings:{account_home_page:{portfolio_overview:{balance_in_transit:l}}}}=(0,M.Ym)();if(!t||0===t.length)return null;let a=1===t.length?l.nudge_singular:l.nudge_plural;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(A.pT,{alignItems:"center",gap:1,mb:6,onClick:()=>r(!0),role:"button",width:"fit-content",children:[(0,n.jsxs)(A.EY,{color:"BT.3",fontWeight:"semibold",style:{fontSize:12},variant:"caption1",children:[t.length," ",a]}),(0,n.jsx)(A.C0,{height:"16px",name:"help",width:"16px"})]}),(0,n.jsx)(Y.A,{data:t,learnMoreLink:i,open:o,onOpenChange:r})]})},Q=(0,R.Ay)(A.pT).withConfig({componentId:"sc-ef83ca07-0"})(["background:rgba(80,86,110,0.24);border:1px solid #515a75;border-radius:8px;padding:12px;gap:8px;max-width:493px;"]),z=(0,R.Ay)(A.EY).withConfig({componentId:"sc-ef83ca07-1"})(["font-family:'Proxima Nova Wide',sans-serif;font-weight:700;font-size:12px;line-height:12px;text-transform:uppercase;cursor:pointer;color:#2f51c9;"]),W=(0,R.Ay)(A.EY).withConfig({componentId:"sc-ef83ca07-2"})(["font-family:'Proxima Nova',sans-serif;font-weight:600;font-size:16px;line-height:1.1;"]),H=(0,R.Ay)(A.EY).withConfig({componentId:"sc-ef83ca07-3"})(["font-family:'Proxima Nova',sans-serif;font-weight:400;font-size:14px;line-height:1.1;"]),V={NOT_UPLOADED:"NOT_UPLOADED",IN_PROGRESS:"IN_PROGRESS",AMENDMENT_REQUIRED:"AMENDMENT_REQUIRED",VERIFICATION_COMPLETED:"VERIFICATION_COMPLETED",APPROVED:"APPROVED",REJECTED:"REJECTED"};function G(e){let{onUploadClick:t,docInfo:i}=e,{strings:{general:{genesis_kyc_banner:s}}}=(0,M.Ym)(),o=function(e,t){if(!e)return null;let{status:i,postKycDocStatus:n}=e,{showUploadAgain:s,uploadAgainMessage:o}=null!=n?n:{},r=s||i===V.NOT_UPLOADED,l={[V.NOT_UPLOADED]:{title:t.documents_required_title,de
1scription:t.documents_required_description,iconFill:"#8990a5",iconName:"announcements"},[V.AMENDMENT_REQUIRED]:{title:t.documents_pending_title,description:o,iconFill:"#8990a5",iconName:"announcements"},[V.IN_PROGRESS]:{title:t.documents_in_review_title,description:t.documents_in_review_description,iconFill:"#d2a867",iconName:"filledInfo"},[V.VERIFICATION_COMPLETED]:{title:t.documents_in_review_title,description:t.documents_in_review_description,iconFill:"#d2a867",iconName:"filledInfo"},[V.APPROVED]:{title:t.account_in_review_title,description:t.account_in_review_description,iconFill:"#d2a867",iconName:"filledInfo"},[V.REJECTED]:{title:t.documents_rejected_title,description:t.documents_rejected_description,iconFill:"#8990a5",iconName:"announcements"}}[i];return l?{...l,ctaLabel:r?t.upload_cta:null,showCta:r}:null}(i,s);return o?(0,n.jsxs)(Q,{alignItems:"flex-start",mb:8,children:[(0,n.jsx)(A.pT,{alignItems:"center",flexShrink:0,height:"20px",children:(0,n.jsx)(A.C0,{fill:o.iconFill,height:"16px",name:o.iconName,width:"16px"})}),(0,n.jsxs)(A.az,{flex:"1",minHeight:"1px",minWidth:"1px",children:[(0,n.jsx)(A.az,{mb:"2px",children:(0,n.jsx)(W,{color:"BT.1",children:o.title})}),(0,n.jsx)(H,{color:"BT.1",children:o.description}),o.showCta?(0,n.jsx)(A.az,{mt:2,children:(0,n.jsx)(z,{onClick:t,children:o.ctaLabel})}):null]})]}):null}var K=i(73676);let X=(0,R.Ay)(A.EY).withConfig({componentId:"sc-c3e65b48-0"})(["font-family:'Redaction',serif;font-style:italic;font-size:36px;line-height:36px;"]),q=(0,R.Ay)(A.EY).withConfig({componentId:"sc-c3e65b48-1"})(["font-family:'Proxima Nova',sans-serif;font-size:14px;line-height:1.2;"]),$=(0,R.Ay)(A.EY).withConfig({componentId:"sc-c3e65b48-2"})(["font-family:'Redaction',serif;font-size:16px;line-height:16px;align-self:flex-end;margin-bottom:4px;"]),J=(0,R.Ay)(A.pT).withConfig({componentId:"sc-c3e65b48-3"})(["cursor:pointer;align-items:center;justify-content:center;"]),Z=(0,R.Ay)(A.EY).withConfig({componentId:"sc-c3e65b48-4"})(["font-family:'Redaction',serif;font-size:36px;line-height:36px;letter-spacing:4px;"]);function ee(){var e,t,i,o,r;let{fallback:l=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=(0,E.d4)(S.Qs.getInvestments),c=(0,E.d4)(S.Qs.getAccountStatus),[d,h]=(0,s.use
1State)(!1),{strings:{general:{genesis_welcome:p}}}=(0,M.Ym)(),u=(0,s.useMemo)(()=>{var e,t;return a?[{key:"managedPortfolios",status:null==c||null==(e=c.managedPortfolioStatus)?void 0:e.toLowerCase()},{key:"brokerage",status:null},{key:"cashManagement",status:null==c||null==(t=c.cashPortfolioStatus)?void 0:t.toLowerCase()}].reduce((e,t)=>{var i,n;let{key:s,status:o}=t,r=(null==(n=a[s])||null==(i=n.currentWorth)?void 0:i.value)||0;return"brokerage"===s?e+Math.floor(100*r)/100:o&&"active"!==o?e:e+Number(parseFloat(r.toString()).toFixed(2))},0):0},[a,c]);if(!(u>0))return l;let g=(null==a||null==(t=a.netWorth)||null==(e=t.currentWorth)?void 0:e.currency)||(null==a||null==(o=a.managedPortfolios)||null==(i=o.currentWorth)?void 0:i.currency)||"SGD",m=(null==(r=L.n4[g])?void 0:r.EN)||"S$";return(0,n.jsxs)(A.pT,{"data-testId":"net-worth-summary",flexDirection:"column",mb:6,children:[(0,n.jsx)(q,{color:"BT.1",mb:2,children:p.net_worth_text}),(0,n.jsxs)(A.pT,{alignItems:"flex-end",gap:"8px",children:[(0,n.jsxs)(A.pT,{alignItems:"flex-end",children:[!d&&(0,n.jsx)($,{color:"BT.1",children:m}),d?(0,n.jsx)(Z,{color:"BT.1",children:"â¢â¢â¢â¢â¢â¢"}):(0,n.jsx)(X,{color:"BT.1",children:(0,K.PN)(u,!0)})]}),(0,n.jsx)(J,{color:"BT.1",mb:"4px",onClick:()=>h(e=>!e),children:(0,n.jsx)(A.C0,{color:"BT.1",height:"24px",name:d?"eyeCross":"eye",width:"24px"})})]})]})}let et={src:"/_next/static/media/illu-success.7051f9d4.gif"};function ei(e){let{onClose:t}=e,{strings:{general:{genesis_welcome:{onboarding_welcome_popup:i}}}}=(0,M.Ym)();return(0,n.jsx)(A.aF,{modalMaxWidth:"480px",onClose:t,showCloseIcon:!1,styles:{backgroundColor:"#FDFCF8",width:{_:"100%",lg:"480px"}},children:(0,n.jsxs)(A.pT,{alignItems:"center",flexDirection:"column",gap:4,p:6,pt:8,mt:-8,children:[(0,n.jsx)("img",{alt:"",src:et.src,style:{width:"180px",height:"180px",objectFit:"contain"}}),(0,n.jsxs)(A.pT,{alignItems:"center",flexDirection:"column",gap:2,px:6,mt:-8,children:[(0,n.jsx)(A.EY,{color:"#263159",fontSize:"20px",fontWeight:600,textAlign:"center",children:i.title_text}),(0,n.jsx)(A.EY,{color:"#49547b",fontSize:"16px",style:{whiteSpace:"pre-line"},textAlign:"center",children:i.subtitle_text})]})]})})}var en=i(89099),es=i(82424),eo=i(30053),er=i(72217),el=i(71950);function ea(e){let{onClose:t}=e,{strings:{general:{genesis_welcome:{brokerage_popup:i}}},localeCode:s}=(0,M.Ym)(),o=(0,en.useRouter)(),r=(0,eo.BK)(o,s);return(0,n.jsx)(A.aF,{modalMaxWidth:"612px",onClose:t,showCloseIcon:!0,styles:{backgroundColor:"#FDFCF8"},children:(0,n.jsxs)(A.pT,{alignItems:"center",flexDirection:"column",gap:4,p:6,children:[(0,n.jsx)(A.EY,{color:"#263159",fontFamily:"'Proxima Nova', sans-serif",fontSize:"28px",fontStyle:"italic",fontWeight:500,textAlign:"center",children:i.title_text}),(0,n.jsx)(A.EY,{color:"#263159",fontFamily:"'Proxima Nova', sans-serif",fontSize:"16px",textAlign:"center",children:i.subtitle_text}),(0,n.jsx)(A.pT,{justifyContent:"center",mb:4,mt:4,children:(0,n.jsx)(el.hp,{size:240,value:r})}),(0,n.jsx)(A.EY,{color:"BT.7",fontFamily:"'Proxima Nova', sans-serif",fontSize:"16px",fontWeight:600,mb:2,textAlign:"center",children:i.or_text}),(0,n.jsx)(A.az,{mb:4,width:"100%",children:(0,n.jsx)(er.A,{buttonMarginRight:{_:0,md:3},heightPerIcon:"45px",justifyContent:"center",width:"100%"})})]})})}let ec={invest:{product:"WEALTH",icon:{src:"/_next/static/media/illu-invest.3ce964d2.svg",height:21,width:20,blurWidth:0,blurHeight:0}},trade:{product:"ACTIVE_TRADING",icon:{src:"/_next/static/media/illu-trade.382bef41.svg",height:17,width:29,blurWidth:0,blurHeight:0}},save:{product:"CASH",icon:{src:"/_next/static/media/illu-save.3b994a5f.svg",height:23,width:22,blurWidth:0,blurHeight:0}}},ed=(0,R.Ay)(A.az).withConfig({componentId:"sc-3f8202ea-0"})(["background-color:#092663;border-radius:10px;overflow:hidden;cursor:",";"],e=>e.$clickable?"pointer":"default"),eh=R.Ay.img.withConfig({componentId:"sc-3f8202ea-1"})(["width:20px;height:20px;"]),ep=R.Ay.ul.withConfig({componentId:"sc-3f8202ea-2"})(["list-style:disc;padding-left:21px;margin:0;"]),eu=R.Ay.li.withConfig({componentId:"sc-3f8202ea-3"})(["color:white;
1font-family:'Proxima Nova',sans-serif;font-size:14px;line-height:1.2;margin-bottom:2px;&:last-child{margin-bottom:0;}"]);function eg(e){let{config:t,onCtaClick:i,testId:s}=e;return(0,n.jsxs)(ed,{$clickable:!1,"data-testId":s,p:6,children:[(0,n.jsxs)(A.pT,{alignItems:"center",mb:6,children:[(0,n.jsx)(eh,{alt:t.title,src:t.icon.src}),(0,n.jsx)(A.EY,{color:"BT.1",mb:0,ml:3,variant:"h4",children:t.title})]}),(0,n.jsx)(A.az,{mb:8,ml:3,children:(0,n.jsx)(ep,{children:t.bulletPoints.map((e,t)=>(0,n.jsx)(eu,{children:e},t))})}),(0,n.jsx)(A.pT,{cp:!0,alignItems:"center",ml:8,onClick:i,children:(0,n.jsx)(A.$n,{fillType:"text",icon:(0,n.jsx)(A.C0,{color:"F.3",height:"10px",name:"arrowRight"}),iconDirection:"right",type:"secondary",children:(0,n.jsx)(A.EY,{color:"F.3",fontFamily:"'Proxima Nova', sans-serif",fontSize:"14px",fontWeight:600,children:t.ctaText})})})]})}function em(e){var t;let{config:i,amount:s,currency:o,onClick:r,testId:l}=e,a=(null==(t=L.n4[o])?void 0:t.EN)||"S$",c=(0,K.PN)(s,!0);return(0,n.jsxs)(ed,{$clickable:!0,"data-testId":l,onClick:r,p:6,children:[(0,n.jsxs)(A.pT,{justifyContent:"space-between",children:[(0,n.jsxs)(A.pT,{alignItems:"center",mb:2,children:[(0,n.jsx)(eh,{alt:i.title,src:i.icon.src}),(0,n.jsx)(A.EY,{color:"BT.1",mb:0,ml:3,variant:"h4",children:i.title})]}),(0,n.jsxs)(A.pT,{alignItems:"center",color:"BT.1",gap:4,children:[(0,n.jsxs)(A.EY,{color:"white",mb:0,variant:"h4",children:[(0,n.jsx)(A.EY,{as:"span",color:"#abc0f0",children:a}),c]}),(0,n.jsx)(A.C0,{color:"BT.1",height:"20px",name:"arrowRight"})]})]}),(0,n.jsx)(A.EY,{color:"white",fontFamily:"'Proxima Nova', sans-serif",fontSize:"14px",ml:8,children:i.subtitle})]})}function eA(e){var t,i,s;let{type:o,investmentData:r,isOnboardingComplete:l,portfolioStatus:a,onCtaClick:c,onCardClick:d,rate:h}=e,{strings:{general:{genesis_welcome:p}}}=(0,M.Ym)(),u=ec[o],g=function(e,t,i){let n=t["".concat(e,"_card")];return n?{title:n.title_text,subtitle:n.subtitle_text,ctaText:n.cta_text,bulletPoints:Object.keys(n).filter(e=>e.startsWith("bullet_")).sort().map(e=>(function(e,t){if(!e.includes("{{"))return e;try{return(0,M.GW)(e,t)}catch(e){return null}})(n[e],i)).filter(Boolean)}:null}(o,p,{rate:h});if(!u||!g)return null;let m={...u,...g},A=null==r||null==(t=r.currentWorth)?void 0:t.value,x=null!=(s=null==r||null==(i=r.currentWorth)?void 0:i.currency)?s:"SGD",_=!!r&&!!A&&(null==a||"active"===a)||l,f="product-card-".concat(o);return _?(0,n.jsx)(em,{amount:null!=A?A:0,config:m,currency:x,onClick:()=>d(u.product),testId:f}):(0,n.jsx)(eg,{config:m,onCtaClick:()=>c(u.product),testId:f})}let ex={WEALTH:"investments",CASH:"cashPlus",ACTIVE_TRADING:null},e_={CASH:"CASH"},ef="onboardingInProgressProduct",eb=(0,R.Ay)(A.az).withConfig({componentId:"sc-dee07f0a-0"})(["max-width:493px;display:flex;flex-direction:column;gap:16px;"]);function ev(){var e,t;let{brokerageAppOnly:i=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=(0,E.wA)(),r=(0,en.useRouter)(),{geography:l}=(0,M.Ym)(),a=(0,E.d4)(S.Qs.getInvestments),d=(0,E.d4)(S.Qs.getIsLoading),h=(0,E.d4)(S.Qs.getAccountStatus),p=(0,E.d4)(S.$u.getIsManagedOnboardingCompleted),u=(0,E.d4)(S.$u.getIsCashOnboardingCompleted),g=(0,E.d4)(S.$u.getIsTradeOnboardingCompleted),m=(0,E.d4)(S.$u.getPendingPortfolioCreation),x=(0,E.d4)(S.et.portfolioContentData),_=(0,E.d4)(S.et.getAllPortfolios),[f,b]=(0,s.useState)(!1);(0,s.useEffect)(()=>{o(D.c4.fetchCommonHomeData())},[o]),(0,s.useEffect)(()=>{x||o(D.s4.getPortfolioContentDataV1())},[x,o]);let v=(0,s.useMemo)(()=>(function(e){var t;if(!e||!e.length)return null;let i=null,n=e=>{let t=function(e){if(!e)return null;let t=String(e).replace(/<[^>]+>/g,"").match(/[\d.]+/);if(!t)return null;let i=parseFloat(t[0]);return Number.isNaN(i)?null:{num:i,display:t[0]}}(e);t&&(!i||t.num>i.num)&&(i=t)};return e.filter(e=>e.portfolioType&&e.portfolioType.includes("CASH")).forEach(e=>{var t,i,s,o,r;n(null==(t=e.guaranteedReturn)?void 0:t.value),n(null==(i=e.monthlyPayoutTarget)?void 0:i.value),n(null==(s=e.pastReturn)?void 0:s.value),n(null==(o=e.dividendYield)?void 0:o.value),n(null==(r=e.yieldToMaturity)?void 0:r.value),e.guaranteedReturns&&Object.values(e.guaranteedReturns).forEac
1h(e=>n(null==e?void 0:e.value))}),null!=(t=null==i?void 0:i.display)?t:null})(_),[_]),C=e=>o((0,P.VC)(e)),j=()=>sessionStorage.getItem(ef),y=e=>sessionStorage.setItem(ef,e),w=()=>sessionStorage.removeItem(ef),I=e=>{switch(e){case"WEALTH":return!!p&&!(p&&(null==m?void 0:m.type)===L.jv.CUSTOM_USD);case"CASH":return!!u;case"ACTIVE_TRADING":return!!g;default:return!1}},k=e=>{if(i){let t=e_[e];t?C("".concat(c.oVb,"?category=").concat(t)):"ACTIVE_TRADING"===e?b(!0):C(c.oVb);return}I(e)?T(e):(y(e),(0,es.k)("".concat(c.CEw.PRODUCT_EXTENSION_INTRO,"?product=").concat(e),r,{geography:l}))},T=e=>{let t=ex[e];t?C("".concat(c.Sls,"?type=").concat(t)):b(!0)};return((0,s.useEffect)(()=>{"ACTIVE_TRADING"===j()&&g&&(b(!0),w())},[g]),d)?(0,n.jsx)(A.pT,{justifyContent:"center",py:8,children:(0,n.jsx)(A.aH,{})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(eb,{children:[(0,n.jsx)(eA,{investmentData:null==a?void 0:a.managedPortfolios,isOnboardingComplete:!!p,onCardClick:T,onCtaClick:k,portfolioStatus:null==h||null==(e=h.managedPortfolioStatus)?void 0:e.toLowerCase(),type:"invest"}),(0,n.jsx)(eA,{investmentData:null==a?void 0:a.brokerage,isOnboardingComplete:!!(null==a?void 0:a.brokerage),onCardClick:T,onCtaClick:k,type:"trade"}),(0,n.jsx)(eA,{investmentData:null==a?void 0:a.cashManagement,isOnboardingComplete:!!u,onCardClick:T,onCtaClick:k,portfolioStatus:null==h||null==(t=h.cashPortfolioStatus)?void 0:t.toLowerCase(),rate:v,type:"save"})]}),f?(0,n.jsx)(ea,{onClose:()=>b(!1)}):null]})}var eC=i(81415),ej=i(31766);let ey=(0,E.Ng)(e=>({firstName:S.$u.getFirstName(e),responsiveUtility:e.responsiveUtility,investments:S.Qs.getInvestments(e),isLoading:S.Qs.getIsLoading(e),loadingFailed:S.Qs.getLoadingFailed(e),isManagedOnboardingCompleted:S.$u.getIsManagedOnboardingCompleted(e),isCashOnboardingCompleted:S.$u.getIsCashOnboardingCompleted(e),isTradeOnboardingCompleted:S.$u.getIsTradeOnboardingCompleted(e),accountStatus:S.Qs.getAccountStatus(e),postKycFlowStatus:S.B2.getPostKycFlowStatus(e),docInfo:S.$u.getDocInfo(e),userDetails:S.$u.getUserDetails(e),isUnifiedOnboarding:S.$u.getIsUnifiedOnboarding(e),isKycCompletedForWealth:S.$u.isKycCompletedForWealth(e),pendingPortfolioCreation:S.$u.getPendingPortfolioCreation(e),portfolioContentData:S.et.portfolioContentData(e),allPortfolios:S.et.getAllPortfolios(e),balanceInTransit:S.B2.selectFxBalanceInTransit(e),balanceInTransitLearnMoreLink:S.B2.selectBalanceInTransitLearnMoreLink(e),isBalanceInTransitEnabled:(0,eC.getIsFeatureEnabled)(e,ej.gH.BALANCE_IN_TRANSIT)}),e=>({fetchCommonHomeData:()=>e(D.c4.fetchCommonHomeData()),navigate:t=>e((0,P.VC)(t)),refreshKycInfo:()=>e(D.Xn.getKycInfo()),getPortfolioContentDataV1:()=>e(D.s4.getPortfolioContentDataV1()),getFundsInTransit:()=>e(D.vc.getFundsInTransit())})),ew={src:"/_next/static/media/grouped-portfolio-bg.b480c338.png",height:417,width:1440,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAACVBMVEUiNFcRJ0gKHz9b8T3WAAAAAnRSTlP67t9yC3AAAAAJcEhZcwAACxMAAAsTAQCanBgAAAARSURBVHicY2CCAgZGMMnAAAABHgAasslfaAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:2},eI=(0,R.Ay)(A.az).withConfig({componentId:"sc-a73ad856-0"})(["z-index:-1;"," border-bottom-left-radius:50% ","px;border-bottom-right-radius:50% ","px;"],e=>e.backgroundImage&&"\n background-image: url(".concat(e.backgroundImage.src,");\n background-repeat: no-repeat;\n background-position: ").concat(e.isPhone?"left center":"45% bottom",";\n ").concat(e.isPhone?"background-size:200px;":"","\n "),(0,B.y)("space.10"),(0,B.y)("space.10")),ek=(0,R.Ay)(A.EY).withConfig({componentId:"sc-a73ad856-1"})(["font-family:'Redaction',serif;font-style:italic;font-size:36px;line-height:36px;"]),eT=(0,R.Ay)(A.EY).withConfig({componentId:"sc-a73ad856-2"})(["font-family:'Proxima Nova',sans-serif;font-size:14px;line-height:1.2;"]),eE=ey(function(e){let{firstName:t,responsiveUtility:{isPhone:i},docInfo:o,isUnifiedOnboarding:r,isKycCompletedForWealth:l,portfolioContentData:c,getPortfolioContentDataV1:d,balanceInTransit:h,balanceInTransitLearnMoreLink:p,isBalanceInTransitEnabled:u,getFundsInTransit:g}
1=e,[m,x]=(0,s.useState)(!1),{geography:_,strings:{general:{genesis_welcome:f}}}=(0,M.Ym)();(0,s.useEffect)(()=>{c||d()},[c,d]),(0,s.useEffect)(()=>{u&&g()},[u]);let b=()=>{localStorage.removeItem(a.gi),x(!1)};return(0,s.useEffect)(()=>{if(!localStorage.getItem(a.gi))return;x(!0);let e=setTimeout(b,2e3);return()=>clearTimeout(e)},[]),(0,n.jsxs)(A.az,{mb:10,position:"relative",children:[(0,n.jsx)(eI,{backgroundImage:ew,bg:"B.5",height:"100%",isPhone:i,position:"absolute",width:"100%"}),(0,n.jsx)(O.A,{renderOn:["desktop"],children:(0,n.jsx)(F.QI,{})}),(0,n.jsx)(O.A,{renderOn:["phone","tablet"],children:(0,n.jsx)(F.id,{})}),(0,n.jsxs)(A.mc,{"data-testId":"genesis-welcome-container",flexDirection:"column",justifyContent:{_:"center",md:"flex-start"},mx:"auto",pb:20,pt:6,px:{_:4,md:20},children:[r&&!l&&_===L.XN.SG?(0,n.jsx)(G,{docInfo:o,onUploadClick:()=>{window.location.href="/onboarding/identity-information"}}):null,(0,n.jsx)(ee,{fallback:(0,n.jsxs)(A.pT,{flexDirection:"column",mb:6,children:[(0,n.jsx)(ek,{color:"BT.1",mb:2,children:(0,M.GW)(f.welcome_text,{firstName:t||""})}),(0,n.jsx)(eT,{color:"BT.1",children:f.subtitle_text})]})}),u?(0,n.jsx)(U,{balanceInTransit:h,learnMoreLink:p}):null,(0,n.jsx)(ev,{})]}),m?(0,n.jsx)(ei,{onClose:b}):null]})});var eP=i(74610),eS=i(23983),eD=i(7533),eN=i(15039),eB=i.n(eN),eR=i(46308),eL=i.n(eR);let eF=e=>{let{children:t,className:i,onClose:s}=e,o=eB()(eL()["reminder-mobile"],i||"");return(0,n.jsxs)(A.az,{className:o,children:[(0,n.jsx)("div",{className:eL()["reminder-mobile__cross-icon"],onClick:s,children:(0,n.jsx)(A.C0,{height:"24",name:"cross",width:"24"})}),t]})},eO=(0,E.Ng)(e=>({postKycFlowStatus:S.B2.getPostKycFlowStatus(e),portfolios:S.B2.getPortfolios(e),responsiveUtility:e.responsiveUtility,referralCode:S.B2.getReferralCode(e),groupedPortfolios:S.B2.getGroupedPortfolios(e),nudges:S.B2.getPorfolioNudges(e),isPastReturnsDataLoaded:S.et.isPastReturnsDataLoaded(e),lockInRequired:S.B2.getLockInRequired(e),balanceInTransit:S.B2.selectFxBalanceInTransit(e),balanceInTransitLearnMoreLink:S.B2.selectBalanceInTransitLearnMoreLink(e),isBalanceInTransitEnabled:(0,eC.getIsFeatureEnabled)(e,ej.gH.BALANCE_IN_TRANSIT)}),e=>({navigate:t=>e((0,P.VC)(t)),getPortfolioPastPerformance:()=>e(D.s4.getPortfolioPastPerformance()),refreshAccountInfo:()=>e(D.vc.getAccountInfo()),refreshAccountPortfoliosInfo:t=>e(D.vc.getAccountPortfoliosInfo(t)),getFundsInTransit:()=>e(D.vc.getFundsInTransit())}));var eM=i(30967),eY=i(24376),eU=i(57197),eQ=i(87963);function ez(e){let{nudges:t}=e,{title:i,description:s,cta:o}=t.cashPlusLockIn;return(0,n.jsxs)(A.pT,{alignItems:"center",bg:"BT.5",borderRadius:2,gap:3,justifyContent:"space-between",p:3,children:[(0,n.jsxs)(A.pT,{alignItems:"center",gap:3,children:[(0,n.jsx)(A._V,{alt:"tick",height:"18px",src:eQ.A,width:"18px"}),(0,n.jsxs)(A.az,{children:[(0,n.jsx)(A.EY,{color:"BT.2",variant:{_:"caption2",md:"subtitle2"},children:i}),(0,n.jsx)(A.EY,{as:"div",color:"BT.1",mb:{_:0,md:2},mt:"2px",variant:{_:"subtitle3",md:"subtitle2"},children:s})]})]}),(0,n.jsx)(A.$n,{alignItems:"center",as:A.A,fillType:"text",hoverColor:"G.4",iconDirection:"right",textProps:{color:"G.4"},to:"".concat(c.Sls,"?type=cashPlus&from=lock-in-nudge&asn=true"),icon:(0,n.jsx)(A.pT,{color:"G.4",ml:-2,children:(0,n.jsx)(A.sX,{direction:"right",height:"10px",name:"caret",strokeWidth:"5px",width:"10px"})}),children:o})]})}var eW=i(85950),eH=i(48779);let eV=(0,R.Ay)(A.az).withConfig({componentId:"sc-893c227a-0"})(["box-shadow:0px ","px ","px rgba(0,0,0,0.1);border-radius:","px;"],(0,B.y)("space.1"),(0,B.y)("space.3"),(0,B.y)("space.2")),eG=function(e){let{children:t,boxStyles:i,onClick:s,...o}=e;return(0,n.jsx)(eV,{...s&&{onClick:s,cp:!0},px:{_:4,sm:6},py:{_:5,sm:6},...i,...o,children:t})};function eK(e){let{title:t,description:i,primaryActionLabel:s,category:o,navigate:r,maxWidth:l}=e;return(0,n.jsxs)(eG,{"data-testId":"nudge-card",boxStyles:{bg:"B.7",border:"1px solid",mt:4,borderColor:"B.2",alignItems:"center"},children:[(0,n.jsxs)(A.az,{maxWidth:l,children:[(0,n.jsx)(A.EY,{color:"BT.1","data-testId":"nudge-title",variant:{sm:"h5",_:"subtitle2"},children:t}),(0,n.jsx)(A.EY,{as:"p",color:"B.2",mb:0,mt:1,variant:{sm:"subtitle2",_:"caption1"},children:i&&i.includes("<highlight>")?(0,n.jsx)(M.In,{components:{highlight:(0,n.jsx)(A.EY,{color:"BT.2"})},str:i}):i})]}),(0,n.jsx)(A.az,{cp:!0,color:"F.4",onClick:()=>
1{(0,eH.Ay)((0,eW.Rs)(o,s)),r((0,eY.D3)(o))},children:s})]})}eK.defaultProps={maxWidth:{sm:"230px",_:"160px"}};var eX=i(72590),eq=i(10870);let e$=function(e){let{title:t,type:i,amount:s,currency:o,navigate:r,grpIcon:a,...d}=e,{trackClickFn:h}=(0,l.A)(),p=h("Portfolios overview"),{currentLang:u}=(0,M.Ym)(),g="cashPlus"===i;return(0,n.jsxs)(eG,{isCursor:!0,boxStyles:{bg:"B.6",...d},"data-testId":"grp-portfolio-card",onClick:()=>{p(i),(0,eH.Ay)((0,eW.ZN)(i)),r("".concat(c.Sls,"?type=").concat(i))},children:[(0,n.jsxs)(A.pT,{gap:2,justifyContent:"space-between",width:"100%",children:[(0,n.jsxs)(A.pT,{children:[(0,n.jsx)(A.az,{height:"30px",position:"relative",width:"30px",children:(0,n.jsx)(A._V,{alt:"","data-testId":"grp-icon",layout:"fill",src:a})}),(0,n.jsx)(A.EY,{color:"BT.1","data-testId":"grp-title",mb:0,ml:3,variant:{sm:"h4",_:"body2"},children:t})]}),(0,n.jsxs)(A.EY,{color:"BT.1","data-testId":"currency-amount",mb:0,variant:{sm:"h4",_:"subtitle2"},children:[(0,n.jsx)(A.EY,{as:"span",color:"BT.2",children:(0,eX.I)(o,u)}),(0,K.PN)(s)]})]}),!!g&&(0,n.jsx)(eq.A,{isStaticBanner:!0,hideWhenLimitExhausted:!1,mt:3,onClick:e=>{e.stopPropagation(),p("Cash instant withdrawal"),r("".concat(c.Sls,"?type=").concat(i,"&source=banner"))}})]})};function eJ(e){let{groupedPortfolios:t,navigate:i}=e,s=(0,eU.Kb)();return(0,n.jsx)(n.Fragment,{children:t.map((e,t)=>{let{title:o,aggregatedCurrentAmount:r,currency:l,type:a,grpIconType:c}=e,d=(s.portfolioBgAndIconByType[c]||{}).icon;return(0,n.jsx)(e$,{amount:r,currency:l,grpIcon:d,navigate:i,title:o,type:a,...t?{mt:4}:{}},a)})})}function eZ(e){let{nudges:t,title:i,navigate:s}=e,o=e=>{switch(e){case eM.zR.CASH_PLUS_GUARANTEED_SGD:case eM.zR.CASH_PLUS_GUARANTEED_USD:return{sm:"300px",_:"191px"};default:return{sm:"230px",_:"160px"}}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(A.EY,{as:"p",color:"BT.4","data-testId":"nudge-header",mb:4,ml:6,mt:6,children:i}),t.map(e=>(0,n.jsx)(eK,{category:e.category,description:e.description,maxWidth:o(e.category),navigate:s,primaryActionLabel:e.cta,title:e.title},e.category))]})}let e0=function(e){let{groupedPortfolios:t,nudges:i,navigate:o,lockInRequired:r,portfolios:l,balanceInTransit:a,balanceInTransitLearnMoreLink:c,isBalanceInTransitEnabled:d}
1=e,[h,p]=(0,s.useState)(!1),{rateOnHoldData:u}=(0,eU.Kb)(),{geography:g,strings:{account_home_page:{portfolio_overview:{balance_in_transit:m}}}}=(0,M.Ym)(),{visibilityFlags:{activeTrade:x}}=(0,eS.Q)(g),_=g===L.XN.SG&&x,f=Object.values(u).some(e=>!!e),b=(0,eY.nv)(l,i,f),v=a&&(null==a?void 0:a.length)>0&&d,C=(null==a?void 0:a.length)===1?m.nudge_singular:m.nudge_plural;return(0,n.jsx)(A.mc,{"data-testId":"grouped-container",flexDirection:"column",justifyContent:{_:"center",md:"flex-start"},mx:"auto",pb:20,pt:6,children:(0,n.jsxs)(A.az,{maxWidth:"492px",ml:{md:20},children:[v?(0,n.jsxs)(A.pT,{alignItems:"center",gap:1,mb:4,onClick:()=>p(!0),role:"button",width:"fit-content",children:[(0,n.jsxs)(A.EY,{color:"BT.3",fontWeight:"semibold",style:{fontSize:12},variant:"caption1",children:[null==a?void 0:a.length," ",C]}),(0,n.jsx)(A.C0,{height:"16px",name:"help",width:"16px"})]}):null,(0,n.jsx)(Y.A,{data:null!=a?a:[],learnMoreLink:c,onOpenChange:p,open:h}),_?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ee,{}),(0,n.jsx)(ev,{brokerageAppOnly:!0})]}):(0,n.jsx)(eJ,{groupedPortfolios:t,navigate:o}),!!(r&&!f)&&(0,n.jsx)(A.az,{mt:2,children:(0,n.jsx)(ez,{nudges:i})}),(null==b?void 0:b.length)?(0,n.jsx)(eZ,{navigate:o,nudges:b,title:i.nudgeCaption}):null]})})},e1=(0,R.Ay)(A.az).withConfig({componentId:"sc-706ccdc5-0"})(["z-index:-1;"," border-bottom-left-radius:50% ","px;border-bottom-right-radius:50% ","px;"],e=>e.backgroundImage&&"\n background-image: url(".concat(e.backgroundImage.src,");\n background-repeat: no-repeat;\n background-position: ").concat(e.isPhone?"left center":"45% bottom",";\n ").concat(e.isPhone?"background-size:200px;":"","\n "),(0,B.y)("space.10"),(0,B.y)("space.10")),e2=eO(function(e){let{strings:{account_home_page:{portfolio_overview:{transfer_amount_cta:t}}},geography:i}=(0,M.Ym)(),{visibilityFlags:{customPortfolios:o}}=(0,eS.Q)(i),r=["REIT_PLUS","GLOBAL_EQUITY_100","GLOBAL_RISK_MANAGED"];o&&r.splice(2,1),r=["CASH_PLUS",...r];let{portfolios:l,navigate:c,refreshAccountInfo:h,refreshAccountPortfoliosInfo:p,postKycFlowStatus:u,responsiveUtility:{isPhone:g,isDesktop:m},groupedPortfolios:x,nudges:_,lockInRequired:f,balanceInTransit:b,balanceInTransitLearnMoreLink:v,isBalanceInTransitEnabled:C,getFundsInTransit:j}=e,[y,w]=s.useState({}),[I,k]=s.useState(!1);return s.useEffect(()=>{let e=l.find(e=>"inactive"===e.status&&!e.depositConfirmed);e&&!d.getItem(a.q4)&&(setTimeout(()=>{w({portfolio:e,showReminderPopup:!0})},5e3),d.putItem(a.q4,"shown"))},[l]),s.useEffect(()=>{C&&j()},[C]),(0,n.jsxs)(A.az,{mb:10,position:"relative",children:[(0,n.jsx)(e1,{backgroundImage:m?ew:"",bg:"B.5",height:"100%",isPhone:g,position:"absolute",width:"100%"}),(0,n.jsx)(O.A,{renderOn:["desktop"],children:(0,n.jsx)(F.QI,{})}),(0,n.jsx)(O.A,{renderOn:["phone","tablet"],children:(0,n.jsx)(F.id,{})}),(0,n.jsx)(e0,{balanceInTransit:b,balanceInTransitLearnMoreLink:v,groupedPortfolios:x,isBalanceInTransitEnabled:C,lockInRequired:f,navigate:c,nudges:_,portfolios:l}),!!I&&(0,n.jsx)(A.M1,{onCancel:()=>k(!1),theme:"dashboard",title:t,children:(0,n.jsx)(eD.A,{portfolio:y.portfolio,type:"single",onSuccess:()=>{k(!1),h(),p()}})}),!!((null==u?void 0:u.showConfirmDeposit)&&y.portfolio&&y.showReminderPopup)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(O.A,{renderOn:["desktop"],children:(0,n.jsx)(A.gX,{primaryActionLabel:"Cancel",secondaryActionLabel:t,theme:"dashboard-blue",onPrimaryAction:()=>w({...y,showReminderPopup:!1}),onSecondaryAction:()=>{w({...y,showReminderPopup:!1}),k(!0)},children:(0,n.jsx)(A.EY,{variant:"body1",children:"Have you transferred funds to ".concat(y.portfolio.name," (").concat(y.portfolio.id,")?")})})}),(0,n.jsx)(O.A,{renderOn:["phone","tablet"],children:(0,n.jsx)(eF,{onClose:()=>w({...y,showReminderPopup:!1}),children:(0,n.jsx)(A.az,{bg:"B.4",boxShadow:"0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)",p:6,pr:10,onClick:()=>{w({...y,showReminderPopup:!1}),k(!0)},children:(0,n.jsxs)(A.EY,{color:"#c2cce1",variant:"body2",children:["Have you transferred funds to ".concat(y.portfolio.name,"
1(").concat(y.portfolio.id,")? "),(0,n.jsx)(A.EY,{color:"A.4",children:t})]})})})})]})]})});var e4=i(64713);let e6=N(function(e){(0,l.A)({shouldTrackPageLoad:!0});let t=(0,p.A)(),{overviewInfo:i,getOverviewInfo:o,navigate:g,postKycFlowStatus:m,pendingPortfolioCreation:x,isWealthOnboardingCompleted:_,allRecurringTransfers:f,getAllRecurringTransfers:b,pollInfo:v,getPollData:C,isSjpClient:y}=e,w=e.pricing||{},I=m&&null!==m,E=a.I,P=d.getItem(E),[S,D]=(0,s.useState)(!1),N=()=>{D(!0),f||b()},B=e=>{e&&0!==e.length||N()},R=()=>{N()};(0,s.useEffect)(()=>{(!i||P)&&o({isFirstImpressionOfRecurringTransfer:!P},B,R)},[P]),(0,s.useEffect)(()=>{v||C()},[C,v]);let L=["".concat(c.Vkm,"/").concat(c.HyN.CONFIRM_DEPOSIT),"".concat(c.Vkm,"/").concat(c.HyN.FUNDS_DEPOSIT)];return((0,h.A)("",e=>-1!==L.indexOf(e),I),_||t)?x&&!t?(g(c.v4v(x)),null):y?(g(c.SKY),null):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(r(),{children:[(0,n.jsx)("title",{children:"Syfe Home"}),(0,n.jsx)("meta",{content:"Syfe Home: Track your investments",name:"description"})]}),(0,n.jsxs)(A.az,{children:[!!t&&(0,n.jsx)(eE,{}),!t&&(0,n.jsxs)(n.Fragment,{children:[!I&&(0,n.jsx)(e2,{}),(0,n.jsx)(eP.A,{})]}),i?(0,n.jsx)(n.Fragment,{children:i.filter(e=>{var t,i;return(null==(t=e.content)?void 0:t.length)||(null==(i=e.context)?void 0:i.length)}).map((e,t)=>(0,n.jsx)(A.q5,{widgetData:e},t))}):(0,n.jsx)(A.pT,{justifyContent:"center",children:(0,n.jsx)(A.aH,{})}),!!S&&(0,n.jsxs)(n.Fragment,{children:[(null==f?void 0:f.length)?(0,n.jsx)(T.A,{widgetData:{content:f.map(e=>({data:e,id:e.id})),style:{backgroundColor:"#F5F5F5"}}}):(0,n.jsx)(k.A,{}),(0,n.jsx)(e4.A,{widgetData:{header:{title:"Frequently asked questions",theme:"dark",navigation:{external:!1,url:"/faq"}},style:{backgroundColor:"#ffffff"}}})]}),(0,n.jsx)(u.A,{}),"Black"===w&&(0,n.jsx)(j,{})]})]}):(g(c.teY),null)})},74309:(e,t,i)=>{"use strict";i.d(t,{A:()=>m});var n=i(37876),s=i(14232),o=i(15039),r=i.n(o),l=i(82167),a=i(21651),c=i(34219),d=i(86930),h=i.n(d);let p=(0,l.Ay)(c.pT).withConfig({componentId:"sc-eee4ada3-0"})(["",""],e=>"dashboard"===e.theme&&"@media (min-width: ".concat((0,a.y)("breakpoints.md"),") {\n color: ").concat((0,a.y)("colors.B.1"),";\n }")),u=(0,l.Ay)(c.EY).withConfig({componentId:"sc-eee4ada3-1"})(["",""],e=>"dashboard"===e.theme&&"@media (min-width: ".concat((0,a.y)("breakpoints.md")(e),") {\n color: ").concat((0,a.y)("colors.BT.4")(e),";\n }"));class g extends s.Component{componentDidMount(){"sample"===this.props.type&&this.sliderElement&&this.sliderElement.addEventListener("mousemove",this.handleMouseMovement)}componentWillUnmount(){this.handleMouseUp(),"sample"===this.props.type&&this.sliderElement&&this.sliderElement.removeEventListener("mousemove",this.handleMouseMove)}render(){var e;let t=this.props.maxValue,i=this.props.minValue,s=(this.props.value-i)/(t-i)*this.state.sliderLength,o="".concat(Math.max(s-22,0),"px");this.props.value===t&&(o="".concat(s-44,"px"));let l=r()(h()["drisk-slider__value-container"],{[h()["drisk-slider__value-container--start"]]:this.props.value===i},{[h()["drisk-slider__value-container--end"]]:this.props.value===t}),{leftHelpText:a,rightHelpText:d,helpTextClassName:u,recommendedRisk:g}=this.props;return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:r()(h()["drisk-slider drisk-slider--"+this.props.theme],{[null!=(e=this.props.sliderClassName)?e:""]:!!this.props.sliderClassName}),children:[(0,n.jsx)("div",{className:h()["drisk-slider__outer-bar"]}),(0,n.jsxs)(p,{color:"dashboard"===this.props.theme&&"B.3",justifyContent:"space-between",mb:4,theme:this.props.theme,className:r()(h()["drisk-slider__help-text"],{[u||""]:!!u}),children:[(0,n.jsx)(c.EY,{color:"B.1",variant:"caption1",children:a}),(0,n.jsx)(c.EY,{color:"B.1",variant:"caption1",children:d})]}),(0,n.jsxs)("div",{className:h()["drisk-slider__container"],onClick:this.handleClick,ref:this.setRef,children:[(0,n.jsx)("div",{className:h()["drisk-slider__bar"],children:(0,n.jsx)("div",{onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,className:r()(h()["drisk-slider__knob"],{[h()["drisk-slider__knob--disabled"]]:this.props.disabled}),style:{left:o},children:this.renderKnobArrows()})}),(0,n.jsx)("div",{className:h()["drisk-slider__dots"],children:this.renderMarkers()}),(0,n.jsx)("div",{className:h()["drisk-slider__labels"],children:this.renderLabels()}),this.props.showActiveValue&&(0,n.jsx)("div",{className:l,style:{left:o},children:(0,n.jsxs)(c.EY,{as:"div",className:h()["drisk-slider__value"],color:"dashboard"===this.props.theme&&"BT.2",mt:"-12px",variant:{_:"h4",md:"h5"},children:[this.props.value,"%"]})})]})]}),g&&this.props.value>g&&(0,n.jsxs)(c.EY,{as:"p",className:h()["drisk-slider__high-risk-disclaimer"],variant:"caption1",children:["Please be aware that you are cho
1osing a ",this.props.value,"% downside risk that is higher than recommended for this portfolio"]})]})}constructor(...e){super(...e),this.sliderElement=null,this.state={startValue:0,startPosition:0,sliderLength:0},this.setRef=e=>{this.sliderElement=e,this.sliderElement&&this.setState({sliderLength:this.sliderElement.getBoundingClientRect().width})},this.handleMouseMovement=e=>{e.preventDefault();let t=e.pageX,i=this.props.maxValue,n=this.props.minValue,s=i-n;if(!this.sliderElement)return null;let o=this.sliderElement.getBoundingClientRect(),r=n+(t-o.left)*s/o.width;r=Math.max(Math.min(r,i),n),r=n+Math.round((r-n)*(this.props.numSteps-1)/s)*s/(this.props.numSteps-1),this.sliderElement&&(r===n||r===(n+i)/2||r===i?this.sliderElement.style.cursor="pointer":this.sliderElement.style.cursor="unset")},this.handleTouchStart=e=>{document.addEventListener("touchend",this.handleTouchEnd,!1),document.addEventListener("touchmove",this.handleTouchMove,!1);let t=e.touches[0].pageX;this.setState(e=>({startValue:this.props.value,startPosition:t}))},this.handleTouchEnd=()=>{document.removeEventListener("touchend",this.handleTouchEnd,!1),document.removeEventListener("touchmove",this.handleTouchMove,!1)},this.handleTouchMove=e=>{let t=e.touches[0].pageX;this.handleKnobMove(t)},this.handleMouseDown=e=>{e.preventDefault(),document.addEventListener("mouseup",this.handleMouseUp,!1),document.addEventListener("mousemove",this.handleMouseMove,!1);let t=e.pageX;this.setState(e=>({startValue:this.props.value,startPosition:t}))},this.handleMouseUp=()=>{document.removeEventListener("mouseup",this.handleMouseUp,!1),document.removeEventListener("mousemove",this.handleMouseMove,!1)},this.handleMouseMove=e=>{e.preventDefault();let t=e.pageX;this.handleKnobMove(t)},this.handleKnobMove=e=>{if(!this.sliderElement)return null;let t=this.props.maxValue,i=this.props.minValue,n=t-i,s=this.sliderElement.getBoundingClientRect().width,o=(e-this.state.startPosition)*n/s,r=Math.max(Math.min(this.state.startValue+o,t),i);if((r=i+Math.round((r-i)*(this.props.numSteps-1)/n)*n/(this.props.numSteps-1))!==this.props.value)if("sample"===this.props.type){let n=(i+t)/2;e-this.state.startPosition<0?r<n?this.props.onChange(i):this.props.onChange(n):r<n?this.props.onChange(n):this.props.onChange(t)}else this.props.onChange(r)},this.handleClick=e=>{let t=e.pageX;if(!this.sliderElement)return null;let i=this.props.maxValue,n=this.props.minValue,s=i-n,o=this.sliderElement.getBoundingClientRect(),r=n+(t-o.left)*s/o.width;if(r=Math.max(Math.min(r,i),n),(r=n+Math.round((r-n)*(this.props.numSteps-1)/s)*s/(this.props.numSteps-1))!==this.props.value)if("sample"===this.props.type){let e=(n+i)/2;(r===n||r===e||r===i)&&this.props.onChange(r)}else this.props.onChange(r)},this.handleKnobArrowClick=e=>{let{maxValue:t,minValue:i,numSteps:n,value:s}=this.props,o=t-i,r=s;"left"===e&&s!==i?(r=s-o/(n-1),this.props.onChange(r)):"right"===e&&s!==t&&(r=s+o/(n-1),this.props.onChange(r))},this.renderLabels=()=>{let{maxValue:e,minValue:t,numSteps:i,value:s,type:o}=this.props,l=e-t,a=[],c=(e,s,o)=>{let a,c=t+s*l/(i-1),d=r()(h()["drisk-slider__label"],{[h()["drisk-slider__label--sample"]]:0!==s&&s!==i-1&&"sample"===o});return this.props.renderCustomLabel?this.props.renderCustomLabel({value:c,selectedValue:e,index:s,labelClassName:d}):c===e?(0,n.jsx)(u,{className:d,color:"dashboard"===this.props.theme&&"B.1",theme:this.props.theme,variant:"caption1"},"".concat(s,"-placeholder-label")):(0,n.jsx)(u,{className:d,color:"dashboard"===this.props.theme&&"B.1",theme:this.props.theme,variant:"caption1",children:c},s)};for(let e=0;e<i;e++)a.push(c(s,e,o));return a},this.renderMarkers=()=>{let{maxValue:e,minValue:t,numSteps:i,marker:s,type:o,value:l}=this.props,a=e-t,c=[];for(let e=0;e<i;e++){let d=r()(h()["drisk-slider__dot"],{[h()["drisk-slider__dot--sample"]]:0!==e&&e!==i-1&&"sample"===o},{[h()["drisk-slider__dot--marked"]]:s&&t+e*a/(i-1)===s&&l!==s});c.push((0,n.jsx)("div",{className:h()["drisk-slider__dot-wrapper"],children:(0,n.jsx)("div",{className:d})},"".concat(e,"-dot")))}return c},this.renderKnobArrows=()=>{let{maxValue:e,minValue:t}=this.props,i="".concat(h()["drisk-slider__knob-caret"]," "),o="".concat(h()["drisk-slider__knob-caret"]," ");return this.props.value===t&&(i+=h()["drisk-slider__knob-caret--disabled"]),this.props.value===e&&(o+=h()["drisk-slider__knob-caret--disabled"]),(0,n.jsxs)(s.Fragment,{children:[(0,n.jsx)("div",{onClick:()=>this.handleKnobArrowClick("left"),children:(0,n.jsx)(c.sX,{className:i,direction:"left",height:"24",strokeWidth:"6"})}),(0,n.jsx)("div",{onClick:()=>this.handleKnobArrowClick("right"),children:(0,n.jsx)(c.sX,{className:o,direction:"right",he
1ight:"24",strokeWidth:"6"})})]})}}}g.defaultProps={leftHelpText:"Low risk",rightHelpText:"High risk",showActiveValue:!0};let m=g},74610:(e,t,i)=>{"use strict";i.d(t,{A:()=>J});var n=i(37876),s=i(14232),o=i(48011),r=i(74222),l=i(71776),a=i(19461);let c=(0,o.Ng)(e=>({transferPlan:a.B2.getTransferPlan(e),postKycFlowStatus:a.B2.getPostKycFlowStatus(e),portfolios:a.B2.getPortfolios(e),userDetails:a.$u.getUserDetails(e),isSjpClient:a.$u.getIsSjpClient(e)}),e=>({showToast:(t,i)=>e(l.v_.showToast(t,i)),navigate:t=>e((0,r.VC)(t)),refreshKycInfo:()=>e(l.Xn.getKycInfo()),refreshAccountInfo:()=>e(l.vc.getAccountInfo()),refreshAccountPortfoliosInfo:t=>e(l.vc.getAccountPortfoliosInfo(t)),getTransferPlan:()=>e(l.vc.getTransferPlan())}));var d=i(95706),h=i(48779),p=i(23983),u=i(78071),g=i(85931),m=i(46112),A=i(96344),x=i(91794),_=i(57555),f=i(72878),b=i(55601),v=i(48322),C=i(34219),j=i(82167),y=i(21651),w=i(57197);let I=(0,j.Ay)(C.pT).withConfig({componentId:"sc-8e4be20d-0"})(["cursor:pointer;border:1px solid ",";border-radius:8px;"],(0,y.y)("colors.OT.1"));function k(e){var t;let{portfolio:i,navigate:s}=e,o=(0,w.Kb)();return(0,n.jsxs)(I,{alignItems:"center",height:"60px",justifyContent:"center",onClick:()=>{(0,h.Ay)({action:"view_your_portfolios_click",category:"incomplete_kyc"}),s(d.teY)},width:"350px",children:[i&&(0,n.jsx)(C.az,{height:"30px",mr:4,position:"relative",width:"30px",children:(0,n.jsx)(C._V,{alt:"portfolio-icon",layout:"fill",src:(o.portfolioBgAndIconByType[null!=(t=i.theme)?t:i.type]||{}).icon},i.id)}),(0,n.jsx)(C.EY,{color:"F.4",variant:"button1",children:"View your portfolios"})]})}var T=i(62694);let E=(0,j.Ay)(C.pT).withConfig({componentId:"sc-a9db5e1a-0"})(["background-color:",";border-radius:10px;box-shadow:0 11px 17px 6px rgba(0,0,0,0.14);"],(0,y.y)("colors.primary.1")),P=(0,j.Ay)(C.pT).withConfig({componentId:"sc-a9db5e1a-1"})(["background-color:",";border-radius:10px;"],e=>(0,y.y)(D(e.status))(e)),S=(0,j.Ay)(C.pT).withConfig({componentId:"sc-a9db5e1a-2"})(["color:",";"],(0,y.y)("colors.B.1")),D=e=>{switch(e.toLowerCase()){case"pending":return"colors.RT.3";case"attention":return"colors.O.4";default:return""}},N=e=>{let{strings:{general:{kyc_banner_section:{whats_next_text:t}}}}=(0,u.Ym)(),{width:i,height:s,header:o,status:r,description:l,illustration:a,primaryCtaLabel:c,secondaryCtaLabel:d,onPrimaryCtaClick:h,onSecondaryCtaClick:p,showWhatNextText:g,infoText:m,infoCtaIcon:A,infoCtaText:x,onInfoCtaClick:_}=e;return(0,n.jsxs)(C.pT,{alignItems:"center",flexDirection:"column",height:s,justifyContent:"space-between",width:i,children:[(0,n.jsxs)(C.pT,{alignItems:"center",flexDirection:"column",width:"100%",children:[(0,n.jsxs)(E,{alignItems:"center",justifyContent:{_:"center",md:"space-between"},mb:6,p:6,width:"100%",children:[(0,n.jsxs)(C.pT,{alignItems:{_:"center",md:"flex-start"},flexDirection:"column",children:[(0,n.jsxs)(C.pT,{alignItems:"center",mb:4,children:[(0,n.jsx)(C.EY,{color:"primary.3",variant:"subtitle1",children:o}),(0,n.jsx)(P,{ml:2,px:2,py:"2px",status:r,children:(0,n.jsx)(C.EY,{color:"primary.3",variant:"caption1",children:r})})]}),(0,n.jsx)(C.EY,{color:"N.7",textAlign:{_:"center",md:"left"},variant:"caption1",children:l}),(0,n.jsxs)(C.pT,{alignItems:"center",mt:6,children:[c&&(0,n.jsx)(C.az,{cp:!0,onClick:h,children:(0,n.jsx)(C.EY,{color:"secondary.6",variant:"button2",children:c})}),d&&(0,n.jsx)(C.az,{cp:!0,ml:6,onClick:p,children:(0,n.jsx)(C.EY,{color:"B.1",variant:"button2",children:d})})]})]}),(0,n.jsx)(T.A,{renderOn:["tablet","desktop"],children:(0,n.jsx)(C.az,{ml:8,children:(0,n.jsx)(C._V,{alt:"",src:a})})})]}),(0,n.jsxs)(C.pT,{alignItems:"center",flexDirection:"column",width:{_:"100%",md:"80%"},children:[g&&(0,n.jsx)(C.EY,{color:"B.1",mb:2,variant:"subtitle1",children:t}),(0,n.jsx)(C.EY,{color:"B.1",textAlign:"center",variant:"caption1",children:m})]})]}),(0,n.jsxs)(S,{cp:!0,alignItems:"center",mt:6,onClick:_,children:[A&&(0,n.jsx)(C.az,{mr:1,children:A}),(0,n.jsx)(C.EY,{variant:"button2",children:x})]})]})},B=(0,j.Ay)(C.pT).withConfig({componentId:"sc-8f5b1e69-0"})(["background-color:",";border-radius:10px;box-shadow:0 11px 17px 6px rgba(0,0,0,0.14);"],(0,y.y)("colors.primary.1")),R=(0,j.Ay)(C.pT).withConfig({componentId:"sc-8f5b1e69-1"})(["background-color:",";border-radius:10px;"],e=>(0,y.y)(O(e.status))(e)),L=(0,j.Ay)(C.pT).withConfig({componentId:"sc-8f5b1e69-2"})(["color:",";"],(0,y.y)("colors.B.1")),F=(0,j.Ay)(e=>(0,n.jsx)(C.$n,{...e})).withConfig({componentId:"sc-8f5b1e69-3"})(["height:34px;"]),O=e=>
1{switch(e.toLowerCase()){case"pending":return"colors.RT.3";case"attention":return"colors.O.4";default:return""}},M=e=>{let{strings:{general:{kyc_banner_section:{whats_next_text:t,account_verified_text:i}}}}=(0,u.Ym)(),{width:s,height:o,header:r,status:l,description:a,illustration:c,primaryCtaLabel:d,onPrimaryCtaClick:h,transferInstructionsCta:p,handleGoToTransferInstruction:g,showWhatNextText:m,infoText:A,infoCtaText:x,seeTransferSummaryCtaText:_,onInfoCtaClick:f,onSeeTransferSummaryCtaClick:b,isVerified:v}=e;return(0,n.jsxs)(C.pT,{alignItems:"center",flexDirection:"column",height:o,justifyContent:"space-between",width:s,children:[(0,n.jsxs)(C.pT,{alignItems:"center",flexDirection:"column",width:"100%",children:[(0,n.jsxs)(B,{alignItems:"center",justifyContent:{_:"center",md:"space-between"},mb:6,p:6,width:"100%",children:[(0,n.jsxs)(C.pT,{alignItems:{_:"center",md:"flex-start"},flexDirection:"column",children:[(0,n.jsxs)(C.pT,{alignItems:"center",mb:4,children:[(0,n.jsx)(C.EY,{color:"primary.3",variant:"subtitle1",children:r}),(0,n.jsx)(R,{ml:2,px:2,py:"2px",status:l,children:(0,n.jsx)(C.EY,{color:"primary.3",variant:"caption1",children:l})})]}),(0,n.jsx)(C.EY,{color:"N.7",textAlign:{_:"center",md:"left"},variant:"caption1",children:a}),p&&(0,n.jsx)(C.az,{py:6,children:(0,n.jsx)(F,{fullWidth:!0,onClick:g,type:"primary",children:p})}),(0,n.jsx)(C.pT,{alignItems:"center",mt:6,children:d&&(0,n.jsx)(C.az,{cp:!0,onClick:h,children:(0,n.jsx)(C.EY,{color:"F.3",variant:"button2",children:d})})})]}),(0,n.jsx)(T.A,{renderOn:["tablet","desktop"],children:(0,n.jsx)(C.az,{ml:8,children:(0,n.jsx)(C._V,{alt:"",src:c})})})]}),(0,n.jsxs)(C.pT,{alignItems:"center",flexDirection:"column",width:{_:"100%",md:"80%"},children:[m&&(0,n.jsx)(C.EY,{color:"B.1",mb:2,variant:"subtitle1",children:v?i:t}),(0,n.jsx)(C.EY,{color:"B.1",px:{_:0,md:12},textAlign:"center",variant:"caption1",children:A})]})]}),_&&(0,n.jsx)(L,{cp:!0,alignItems:"center",mt:6,onClick:b,children:(0,n.jsx)(C.EY,{color:"F.3",variant:"button2",children:_})}),(0,n.jsx)(L,{cp:!0,alignItems:"center",mt:6,onClick:f,children:(0,n.jsx)(C.EY,{color:"F.3",variant:"button2",children:x})})]})},Y=e=>{let{geography:t}=(0,u.Ym)(),{visibilityFlags:{enableTransferPlan:i}}=(0,p.Q)(t);return(0,n.jsx)(n.Fragment,{children:i?(0,n.jsx)(M,{...e}):(0,n.jsx)(N,{...e})})};Y.defaultProps={width:"100%",height:"100%",showWhatNextText:!0};let U=(0,j.Ay)(C.pT).withConfig({componentId:"sc-3279aca0-0"})(["color:",";"],(0,y.y)("colors.B.1")),Q=e=>{let{strings:{general:{kyc_banner_section:{almost_there_text:t,view_information_text:i}}}}=(0,u.Ym)(),{width:s,height:o,description:r,illustration:l,onCtaClick:a}=e;return(0,n.jsxs)(C.pT,{alignItems:"center",flexDirection:"column",height:o,justifyContent:"space-between",width:s,children:[(0,n.jsxs)(C.pT,{alignItems:"center",flexDirection:"column",width:"100%",children:[(0,n.jsx)(C.az,{height:{_:"178px",md:"200px"},mb:{_:6,md:4},children:(0,n.jsx)(C._V,{alt:"",height:"100%",src:l,width:"100%"})}),(0,n.jsxs)(C.pT,{alignItems:"center",flexDirection:"column",width:{_:"100%",md:"80%"},children:[(0,n.jsx)(C.EY,{color:"primary.3",mb:2,variant:"h5",children:t}),(0,n.jsx)(C.EY,{color:"B.1",textAlign:"center",variant:"h6",children:r})]})]}),(0,n.jsxs)(U,{cp:!0,alignItems:"center",mt:6,onClick:a,children:[(0,n.jsx)(C.az,{cp:!0,mr:1,children:(0,n.jsx)(C.C0,{height:"18px",name:"eye",width:"18px"})}),(0,n.jsx)(C.EY,{variant:"button2",children:i})]})]})},z=(0,j.Ay)(C.pT).withConfig({componentId:"sc-de61c183-0"})(["color:",";"],(0,y.y)("colors.B.1")),W=e=>{let{width:t,height:i,description:s,illustration:o,primaryText:r,seeTransferSummaryCtaText:l,infoCtaText:a,onInfoCtaClick:c,onSeeTransferSummaryCtaClick:d}=e;return(0,n.jsxs)(C.pT,{alignItems:"center",flexDirection:"column",height:i,justifyContent:"space-between",width:t,children:[(0,n.jsxs)(C.pT,{alignItems:"center",flexDirection:"column",width:"100%",children:[(0,n.jsx)(C.az,{height:{_:"178px",md:"200px"},mb:{_:6,md:4},children:(0,n.jsx)(C._V,{alt:"",height:"100%",src:o,width:"100%"})}),(0,n.jsxs)(C.pT,{alignItems:"center",flexDirection:"column",width:{_:"100%",md:"80%"},children:[(0,n.jsx)(C.EY,{color:"primary.3",mb:2,variant:"h5",children:r}),(0,n.jsx)(C.EY,{color:"B.1",textAlign:"center",variant:"h6",children:s})]})]}),l&&(0,n.jsx)(z,{cp:!0,alignItems:"center",mt:6,onClick:d,children:(0,n.jsx)(C.EY,{color:"F.3",variant:"button2",children:l})}),(0,n.jsx)(z,{cp:!0,alignItems:"center",mt:6,onClick:c,children:(0,n.jsx)(C.EY,{color:"F.3",variant:"button2",children:a})})]})},H=e=>{let{geography:t}=(0,u.Ym)(),{visibilityFlags:{enableTransferPlan:i}}=(0,p.Q)(t);return(0,n.jsx)(n.Fragment,{children:i?(0,n.jsx)(W,{...e}):(0,n.jsx)(Q,{...e})})};H.defaultProps={width:"100%",height:"100%"};let V={src:"/_next/static/media/upload-documents.321dc55d.svg",height:140,width:203,blurWidth:0,blurHeight:0},G={src:"/_next/static/media/add-funds.3b8f83ef.svg",height:135,width:203,blurWidth:0,blurHeight:0},K={src:"/_next/static/media/documents-review.f3c18921.svg",height:200,width:291,blurWidth:0,blurHeight:0},X=(e,t,i,s,o,r,l,a,c,d,h,p,u,g,m,A,x)=>{var _;let{showUploadAgain:f,uploadAgainMessage:b}=null!=(_=e.kycDocuments)?_:{},{upload_now_message:v,see_transfer_summary_cta:j,view_personal_info_cta:y,upload_doc_text:w,documents_required_text:I,chips:{attention_text:k,pending_text:T},upload_again_text:E,upload_now_text:P,edit_personal_info_cta:S,add_funds_text:D,fund_portfolio_text:N,edit_transfer_plan_cta:B,setup_transfer_plan_cta:R,go_to_transfer_instruction_cta:L,processing_funds_text:F,upload_doc_add_funds_v2_text:O,upload_doc_awaited_funds_text:M,processing_fund_info_text:U,document_being_reviewed_text:Q,reviewing_doc_text:z,processing_funds_and_reviewing_doc_text:W,add_funds_to_activate_v2_text:X,account_verified_awaited_funds_text:q,account_verified_processing_funds_text:$,upload_doc_add_funds_v1_text:J,edit_info_text:Z,add_funds_to_activate_v1_text:ee,view_verified_details_text:et,details_being_reviewed_text:ei}=g,en=Y,es={},eo={illustration:K,onCtaClick:s,seeTransferSummaryCtaText:j,onSeeTransferSummaryCtaCl
1ick:a,infoCtaText:y,onInfoCtaClick:()=>{i(!0)}};if(p){let s="NOT_AVAILABLE"===e.fundTransferStatus,o="CONFIRMED_BY_USER"===e.fundTransferStatus,r="RECEIVED"===e.fundTransferStatus;if(e.showEditDocuments||f){en=Y;let e={header:f?w:I,status:f?k:T,description:f?b:v.upload_nric_text,illustration:V,primaryCtaLabel:f?E:P,onPrimaryCtaClick:t,infoCtaText:S,onInfoCtaClick:()=>i(!0)};s?es={...e,infoText:O}:o?es={...e,seeTransferSummaryCtaText:j,onSeeTransferSummaryCtaClick:a,infoText:M}:r&&(es={...e,seeTransferSummaryCtaText:j,onSeeTransferSummaryCtaClick:a,infoText:U})}return e.showUploadedDocs&&!e.showEditDocuments&&!f&&(en=H,s?(en=Y,es={header:D,status:T,description:N,illustration:G,primaryCtaLabel:u?B:R,onPrimaryCtaClick:u?c:d,infoCtaText:y,onInfoCtaClick:()=>{i(!0)},transferInstructionsCta:u?L:"",handleGoToTransferInstruction:h,showWhatNextText:!1,infoText:Q}):o?es={...eo,description:z,primaryText:A}:r&&(es={...eo,description:W,primaryText:F})),e.showUploadedDocs||e.showEditDocuments||f||(en=H,s?(en=Y,es={header:D,status:T,description:N,illustration:G,primaryCtaLabel:B,onPrimaryCtaClick:c,infoCtaText:y,onInfoCtaClick:()=>{i(!0)},isVerified:!0,transferInstructionsCta:L,infoText:X,handleGoToTransferInstruction:h}):o?es={...eo,description:q,primaryText:A}:r&&(es={...eo,description:$,primaryText:F})),(0,n.jsx)(en,{...es})}return e.showEditDocuments||f?(0,n.jsx)(Y,{header:I,illustration:V,infoCtaIcon:(0,n.jsx)(C.C0,{height:"18px",name:"editInfo",width:"18px"}),infoCtaText:Z,infoText:J,onInfoCtaClick:()=>i(!0),onPrimaryCtaClick:t,status:f?k:T,description:f?b:(e=>{switch(e){case"fr":return v.upload_work_pass_and_poa_text;case"fro":return v.upload_passport_and_poa_text;default:return v.upload_nric_text}})(l.residentialStatus),primaryCtaLabel:f?E:P}):e.showConfirmDeposit?(0,n.jsx)(Y,{description:N,header:D,illustration:G,infoCtaIcon:(0,n.jsx)(C.C0,{height:"18px",name:"eye",width:"18px"}),infoCtaText:et,infoText:ee,onPrimaryCtaClick:o,...!x&&{onSecondaryCtaClick:r,secondaryCtaLabel:m},primaryCtaLabel:D,status:T,onInfoCtaClick:()=>{i(!0)}}):e.showUploadedDocs?(0,n.jsx)(H,{description:ei,illustration:K,onCtaClick:s}):void 0},q=(0,j.Ay)(C.pT).withConfig({componentId:"sc-a4d9af99-0"})(["border-bottom-left-radius:50% ","px;border-bottom-right-radius:50% ","px;"],(0,y.y)("space.10"),(0,y.y)("space.10")),$=(0,j.Ay)(C.az).withConfig({componentId:"sc-a4d9af99-1"})(["background-color:",";"],(0,y.y)("colors.B.5")),J=c(function(e){let{strings:{general:{transferred_cta:t,kyc_banner_section:i},dashboard_home_page:{waiting_for_funds_text:r}},geography:l}=(0,u.Ym)(),{visibilityFlags:{enableTransferPlan:c}}=(0,p.Q)(l),{showToast:j,refreshKycInfo:y,refreshAccountInfo:w,refreshAccountPortfoliosInfo:I,postKycFlowStatus:T,portfolios:E,navigate:P,userDetails:S,transferPlan:D,getTransferPlan:N,isSjpClient:B}=e,[R,L]=(0,s.useState)(!1),[F,O]=(0,s.useState)(!1),[M,Y]=(0,s.useState)(!1),[U,Q]=(0,s.use
1State)(!1),z=T&&null!==T,W=(0,o.d4)(e=>a.AU.getAccountMetaInfo(e));if((0,s.useEffect)(()=>{c&&!D&&N()},[D]),!z)return null;let{showUploadAgain:H}=T.kycDocuments?T.kycDocuments:{},{GENERAL:V}=m.Ay,G=W.features.SRS_PORTFOLIO,K=X(T,()=>{(0,h.Ay)({category:"incomplete_kyc",action:"upload_now_click"}),L(!0)},Q,()=>{H&&(0,h.Ay)({action:"update_details",category:"amend_kyc"}),Q(!0)},()=>{(0,h.Ay)((0,g.kls)());let e=E[0];G?V[e.type].isIncomePortfolio?P("".concat(d.Sls,"?type=cashPlus")):P("".concat(d.Sls,"?type=investments")):O(!0)},()=>{(0,h.Ay)((0,g.rAx)()),Y(!0)},S,()=>{P(d.YQT)},()=>{P(d.GBS)},()=>{P(d.dbp)},()=>{P(d.vPN)},c,D,i,t,r,G),J=()=>{j("Update successful","success"),w()};return z&&(0,n.jsxs)(C.pT,{alignItems:"center",flexDirection:"column",mb:{_:0,md:10},children:[!B&&(0,n.jsxs)($,{width:"100%",children:[(0,n.jsx)(A.A,{renderOn:["desktop"],children:(0,n.jsx)(x.QI,{})}),(0,n.jsx)(A.A,{renderOn:["phone","tablet"],children:(0,n.jsx)(x.id,{})})]}),(0,n.jsx)(C.az,{mb:10,width:"100%",children:(0,n.jsx)(q,{bg:"B.5",justifyContent:"center",children:(0,n.jsx)(C.pT,{maxWidth:"590px",p:6,pb:10,
1children:K})})}),!B&&(0,n.jsx)(k,{navigate:P,portfolio:E[0]}),R&&(0,n.jsx)(f.A,{onModalClose:()=>L(!1),onUpdateSuccess:J,showInModal:!0,theme:"dashboard"}),F&&(0,n.jsx)(b.A,{onModalClose:()=>{O(!1),w(),I()},showInModal:!0}),M&&(0,n.jsx)(v.A,{onModalClose:()=>Y(!1),onUpdateSuccess:()=>{w(),I(),y()},showInModal:!0}),U&&(0,n.jsx)(_.A,{disableForm:!T.showEditPersonalDetails,onModalClose:()=>Q(!1),onUpdateSuccess:J,showInModal:!0})]})})},76249:(e,t,i)=>{"use strict";i.d(t,{A:()=>k});var n=i(37876),s=i(14232),o=i(48011),r=i(19461),l=i(71776);let a=(0,o.Ng)(e=>({pollInfo:r.AU.getPollInfo(e),showGeneralPoll:r.vB.getPollingPopUpStatus(e)}),e=>({submitPollResponse:(t,i,n)=>e(l.mD.submitPollResponse(t,i,n)),hideGeneralPoll:()=>e(l.v_.hidePoll())}));var c=i(78071),d=i(46513),h=i(47582),p=i(65058),u=i(68493),g=i(23983),m=i(15039),A=i.n(m),x=i(82167),_=i(34219),f=i(9080),b=i(74309),v=i(40241),C=i.n(v);let j=(0,x.Ay)(_.pT).withConfig({componentId:"sc-7453f493-0"})(["border-radius:100%;cursor:pointer;"]),y={"\uD83D\uDC4D":{value:"THUMBS_UP",activeImage:{src:"/_next/static/media/thumbs-up-active.ec7d8fa9.svg",height:62,width:62,blurWidth:0,blurHeight:0},defaultImage:{src:"/_next/static/media/thumbs-up.bd172fb5.svg",height:62,width:62,blurWidth:0,blurHeight:0},key:"\uD83D\uDC4D",alt:"Thumbs up"},"\uD83D\uDC4E":{value:"THUMBS_DOWN",activeImage:{src:"/_next/static/media/thumbs-down-active.53fb9200.svg",height:62,width:62,blurWidth:0,blurHeight:0},defaultImage:{src:"/_next/static/media/thumbs-down.170062dc.svg",height:62,width:62,blurWidth:0,blurHeight:0},key:"\uD83D\uDC4E",alt:"Thumbs down"},"\uD83D\uDE20":{value:"ANGRY_FACE",activeImage:{src:"/_next/static/media/angry-active.9a40801e.svg",height:62,width:62,blurWidth:0,blurHeight:0},defaultImage:{src:"/_next/static/media/angry.ea8c295f.svg",height:62,width:62,blurWidth:0,blurHeight:0},key:"\uD83D\uDE20",alt:"Angry"}},w=(0,x.Ay)(_.az).withConfig({componentId:"sc-7453f493-1"})(["border-radius:50%;"]);class I extends s.Component{render(){let{activeOption:e,followUpAnswer:t}=this.state,{question:i,designation:s,isWithoutEmojis:o,followUpQuestion:r,name:l,imageUrl:a}=this.props,c={};"NPS_POLL"===i.pollName&&(c=this.getSliderRange());let d=i.options.map(e=>({label:(0,n.jsx)(_.EY,{textAlign:"left",variant:"body2",children:e.option}),value:e.option}));return(0,n.jsx)(_.Ph,{wait:1e4,children:(0,n.jsx)("div",{className:C().polling,children:(0,n.jsxs)(_.tu,{className:C().polling__container,elevation:"z2",overlayClassName:C().polling__overlay,theme:"dashboard",children:[(0,n.jsx)("div",{className:C()["polling__profile-img"],children:(0,n.jsx)(w,{height:"64px",overflow:"hidden",width:"64px",children:(0,n.jsx)(_._V,{alt:l,height:100,objectFit:"cover",src:a,width:100})})}),(0,n.jsx)(j,{alignItems:"center",bg:"B.5",color:"BT.2",height:3,justifyContent:"center",onClick:this.handleClose,position:"absolute",right:4,top:4,width:3,zIndex:1,children:(0,n.jsx)(_.C0,{height:"16px",name:"cross",width:"16px"})}),(0,n.jsxs)("div",{className:C().polling__content,children:[(0,n.jsx)(_.EY,{className:C()["polling__person-text"],variant:"subtitle2",children:s}),(0,n.jsx)(_.EY,{color:"I.1",mb:5,mt:{_:6,md:4},variant:"h6",children:i.questionText}),(0,n.jsxs)(f.A,{test:"DISCOVER_POLL"===i.pollName,children:[(0,n.jsx)(_.sx,{name:"questionOptions",onChange:this.handleOptionChange,options:d,selected:this.state.activeOption.value,theme:"dashboard"}),(0,n.jsx)(f.A,{test:"Others"===e.value,children:(0,n.jsx)(_.pd,{autoFocus:!0,multiline:!0,name:"followUpQuestion",onChange:this.handleOthersOptionChange,placeholder:"Enter Text",rowsMax:4,theme:"dashboard",value:this.state.inputValue})})]}),!o&&"SATISFACTION_POLL"===i.pollName&&(0,n.jsx)("div",{className:C().polling__options,children:i.options.map((t,i)=>{let s=y[t.option].value===e.value?y[t.option].activeImage:y[t.option].defaultImage;return(0,n.jsx)(_._V,{alt:y[t.option].alt,className:C()["polling__options-img"],src:s,onClick:()=>this.setActiveOption(t.followUpQuestion,y[t.option])},"polling-btn-"+i)})}),(0,n.jsx)(f.A,{test:"NPS_POLL"===i.pollName,children:(0,n.jsx)("div",{className:C()["polling__rating-container"],children:(0,n.jsx)(b.A,{disabled:!this.state.isRatingChanged,helpTextClassName:C()["polling__rating-label"],leftHelpText:"Not likely",marker:this.state.rating,maxValue:c.max,minValue:c.min,numSteps:c.stepsLength,onChange:this.handleRatingChange,renderCustomLabel:this.renderCustomLabel,rightHelpText:"Extremely likely",showActiveValue:!1,sliderClassName:C().polling__rating,theme:"dashboard",value:this.state.rating})})}),(0,n.jsx)(f.A,{test:(!!e.value||o||this.state.isRatingChanged)&&"DISCOVER_POLL"!==i.pollName,children:(0,n.jsx)("div",{className:C().polling__input,children:(0,n.jsx)(_.pd,{autoFocus:!0,multiline:!0,name:"followUpQuestion",onChange:this.setFollowUpAnswer,rowsMax:4,theme:"dashboard",value:t,label:o?r:e.followUpQuestion})})}),"NPS_POLL"===i.pollName&&this.state.isRatingChanged&&(0,n.jsx)("div",{className:C().polling__button,children:(0,n.jsx)(_.$n,{fullWidth:!0,onClick:this.handleSubmit,type:"primary",children:"Submit"})}),"NPS_POLL"!==i.pollName&&(0,n.jsx)("div",{className:C().polling__button,children:(0,n.jsx)(_.$n,{fullWidth:!0,disabled:this.disableSubmitButton(),onClick:this.handleSubmit,type:"primary",children:"Submit"})})]})]})})})}constructor(...e){super(...e),this.state={activeOption:{},followUpAnswer:"",rating:5,isRatingChanged:!1,inputValue:""},this.disableSubmitButton=()=>{let e=!1;switch(this.props.question.pollName){case"DISCOVER_POLL":this.state.activeOption.value&&("Others"!==this.state.activeOption.value||this.state.followUpAnswer)||(e=!0);break;case"SATISFACTION_POLL":this.state.activeOption.value||(e=!0);break;case"WITHDRAWAL_POLL":this.state.followUpAnswer||(e=!0);break;default:e=!1}return e},this.handleClose=()=>{let{activeOption:e,followUpAnswer:t}=this.state,{question:i,handleSubmit:n}=this.props;e.key&&n(i,e,!1,t),this.props.handleClose()},this.handleSubmit=()=>{let{activeOption:e,followUpAnswer:t}=this.state,{question:i}=this.props;e.value||"NPS_POLL"!==i.pollName||(e={...e,followUpQuestion:this.getActiveRatingQuestion(this.state.rating),value:this.state.rating.toString(),key:""}),this.props.handleSubmit(i,e,!0,t),this.props.handleClose()},this.setActiveOption=(e,t)=>{this.setState({activeOption:{followUpQuestion:e,value:t.value,key:t.key}})},this.setFollowUpAnswer=e=>{this.setState({followUpAnswer:e.target.value})}
1,this.getSliderRange=()=>{let e=[];return this.props.question.options.forEach(t=>{e=[...e,...Array.from(t.option)]}),{min:Math.min(...e),max:Math.max(...e),stepsLength:e.length}},this.getActiveRatingQuestion=e=>{var t;return(null==(t=this.props.question.options.find(t=>Array.from(t.option).includes(e)))?void 0:t.followUpQuestion)||""},this.handleRatingChange=e=>this.setState({rating:e,isRatingChanged:!0,activeOption:{followUpQuestion:this.getActiveRatingQuestion(e)||this.props.followUpQuestion,value:e.toString(),key:""}}),this.renderCustomLabel=e=>{let{value:t,selectedValue:i,index:s,labelClassName:o}=e;return(0,n.jsx)(_.EY,{color:"B.1",variant:"caption1",className:A()(o,{[C()["polling__rating-active"]]:t===i&&this.state.isRatingChanged}),children:t},"".concat(t,"-placeholder-label"))},this.handleOptionChange=e=>{this.setState({activeOption:{key:e.target.value,followUpQuestion:this.props.question.questionText,value:e.target.value},followUpAnswer:null})},this.handleOthersOptionChange=e=>{this.setState({inputValue:e.target.value,followUpAnswer:e.target.value||"Others"})}}}let k=a(s.memo(e=>{var t;let{geography:i}=(0,c.Ym)(),{visibilityFlags:{feedbackPolls:o}}=(0,g.Q)(i),[r,l]=(0,s.useState)(o&&!0),a="";if(e.pollInfo&&e.pollInfo.questions&&e.pollInfo.questions.length>0)if(e.pollName)a=e.pollName;else{let{questions:t}=e.pollInfo,i=t.filter(e=>"WITHDRAWAL_POLL"!==e.pollName);a=2===i.length?"NPS_POLL":i[0].pollName}if((0,s.useEffect)(()=>{"SATISFACTION_POLL"!==a&&"NPS_POLL"!==a||e.showGeneralPoll||l(!1),h.getJSON(d.Kq)&&"DISCOVER_POLL"===a&&l(!1),h.getItem(d.Nb)&&l(!1)},[e.showGeneralPoll]),!e.pollInfo)return null;let m=e=>{let t=(0,p.A)((0,u.default)(new Date));h.putJSON(d.NG,{display:e,expires_in:t})},A=()=>{h.putJSON(d.Kq,!0)},x=()=>{("SATISFACTION_POLL"===a||"NPS_POLL"===a)&&(m(!1),e.hideGeneralPoll()),"DISCOVER_POLL"===a&&A(),l(!1)},{questions:_,designation:f,imageUrl:b,name:v}=e.pollInfo,C=_.find(e=>e.pollName===a);if(!C||!r)return null;let j=1===C.options.length,y=null==(t=C.options[0])?void 0:t.followUpQuestion;return(0,n.jsx)(I,{designation:f,followUpQuestion:y,handleClose:x,handleSubmit:(t,i,n,s)=>{let o,r=1===t.options.length,a=i.key;o=r?t.options[0].followUpQuestion:i.followUpQuestion,r?a=s:"NPS_POLL"===t.pollName&&(a=i.value);let c={answers:[{questionId:t.questionId,questionText:o,answer:a,followupAnswer:r?"":s}]};l(!1),e.submitPollResponse(c,n,x)},imageUrl:b,isWithoutEmojis:j,name:v,question:C})}))},86849:e=>{e.exports={"advisor-prompt":"AdvisorPrompt_advisor-prompt__13Kcb","advisor-prompt__container":"AdvisorPrompt_advisor-prompt__container__wBnze","advisor-prompt__img-container":"AdvisorPrompt_advisor-prompt__img-container__RFpLC","advisor-prompt__img":"AdvisorPrompt_advisor-prompt__img__Yw01R","advisor-prompt__overlay":"AdvisorPrompt_advisor-prompt__overlay__KvhyX","advisor-prompt__name":"AdvisorPrompt_advisor-prompt__name__SFFnB","advisor-prompt__question":"AdvisorPrompt_advisor-prompt__question__ZGq32","advisor-prompt__content":"AdvisorPrompt_advisor-prompt__content__gwKmH","advisor-prompt__cross-img":"AdvisorPrompt_advisor-prompt__cross-img__Si33j","advisor-prompt__dialog-heading":"AdvisorPrompt_advisor-prompt__dialog-heading__6HVt2","advisor-prompt__dialog-action":"AdvisorPrompt_advisor-prompt__dialog-action__6HK5p"}},86930:e=>{e.exports={"drisk-slider":"DownsideRiskSlider_drisk-slider___tCgp","drisk-slider__bar":"DownsideRiskSlider_drisk-slider__bar__8dyNT","drisk-slider__outer-bar":"DownsideRiskSlider_drisk-slider__outer-bar__f7pOx","drisk-slider__help-text":"DownsideRiskSlider_drisk-slider__help-text__J5bRI","drisk-slider__container":"DownsideRiskSlider_drisk-slider__container__vXpus","drisk-slider__knob":"DownsideRiskSlider_drisk-slider__knob__vldak","drisk-slider__knob-caret":"DownsideRiskSlider_drisk-slider__knob-caret__g_OLh","drisk-slider__knob-caret--disabled":"DownsideRiskSlider_drisk-slider__knob-caret--disabled__sdNdD","drisk-slider__labels":"DownsideRiskSlider_drisk-slider__labels__3euQF","drisk-slider__label":"DownsideRiskSlider_drisk-slider__label__7fSeC","drisk-slider__label--sample":"DownsideRiskSlider_drisk-slider__label--sample__9_5oJ","drisk-slider__label--selected":"DownsideRiskSlider_drisk-slider__label--selected__kbTMw","drisk-slider__dots":"DownsideRiskSlider_drisk-slider__dots__rsEnL","drisk-slider__dot-wrapper":"DownsideRiskSlider_drisk-slider__dot-wrapper__ZO4ix","drisk-slider__dot":"DownsideRiskSlider_drisk-slider__dot__9i5cO","drisk-slider__dot--marked":"DownsideRiskSlider_drisk-slider__dot--marked__K2MVb","drisk-slider__dot--sample":"DownsideRiskSlider_drisk-slider__dot--sample__AzeRX","drisk-slider__value-container":"DownsideRiskSlider_drisk-slider__value-container__QcyFO","drisk-slider__value-container--start":"DownsideRiskSlider_drisk-slider__value-container--start__HotJ9","drisk-slider__value-container--end":"DownsideRiskSlider_drisk-slider__value-container--end__c5tCe","drisk-slider__value":"DownsideRiskSlider_drisk-slider__value__3oz1h","drisk-slider__knob--disabled":"DownsideRiskSlider_drisk-slider__knob--disabled__Z6UoI","drisk-slider__high-risk-disclaimer":"DownsideRiskSlider_drisk-slider__high-risk-disclaimer__xdEt_","drisk-slider--dashboard":"DownsideRiskSlider_drisk-slider--dashboard__iS9nv"}},87963:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});let n={src:"/_next/static/media/circled-tick.a86f7732.png",height:37,width:36,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAASFBMVEVwxDuY2m1wxD1xwz5vxD7X7shuwzpMaXFrwjRyxT54yUlkvytzwkJuxzhvxjlzyT5zw0R4z0F0yT+24Zt00zqL0F+l2oTH6LIwxePfAAAAEXRSTlPX/MCBTf78AP7+E/4XmuzDFZndVH0AAAAJcEhZcwAACxMAAAsTAQCanBgAAABBSURBVHicBcEHEsAgCATAU1HAOmDJ/3+aXXBNMabK6DCzg45xirYQBub19vKdkL13dlEsz58UWyA3KeYEJqiC+AdgIAKsoBa+SwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}}}]);
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.