PageSourceSearch

https://www.syfe.com/_next/static/chunks/pages/dashboard/account-s…[...accountSetupStage]]-0749a8bf5a8072b8.js

js syfe.com collected 2026-10-01 11:59:37 UTC 8,214 bytes, 1 lines download raw bytes

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]="0b97ae7d-abc1-4063-96be-e23ceceffe07",e._sentryDebugIdIdentifier="sentry-dbid-0b97ae7d-abc1-4063-96be-e23ceceffe07")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3129,8783],{35585:(e,t,n)=>{"use strict";n.d(t,{xU:()=>N,nQ:()=>O,EP:()=>U});var o=n(37876),r=n(14232),i=n(89099),s=n(2965),l=n(93004),a=n(95118),d=n(87802),u=n(58501),c=n(57649),h=n(66189),f=n(75318),p=n(53918),g=n(54749),y=n(65349),m=n(66941),b=n(44610),w=n(32027),v=n(48011),x=n(74222),S=n(5219),C=n(34209);let k=(0,v.Ng)(e=>({accountSetupStatus:S.$A.getAccountSetupStatus(e),kycDetails:S.$A.getKYCDetails(e),pendingPortfolioCreation:S.$u.getPendingPortfolioCreation(e),portfolioContentData:S.et.portfolioContentData(e),portfolios:(0,C.getPortfolios)(e),showChoosePortfolio:S.$u.getShowChoosePortfolio(e)}),e=>({redirectTo:t=>e((0,x.VC)(t))})),I={src:"/_next/static/media/piggy-bank.35b7632d.svg",height:40,width:40,blurWidth:0,blurHeight:0};var j=n(5195),A=n(7671);let E={light:{},dashboard:{icon:{color:{stepperIcon:"colors.A.4"},background:{stepperIcon:"rgba(202,160,96,.3)"}},background:{color:{kycContainer:"linear-gradient(180deg, #091e39 41.18%, #040d1a 143.46%)"}}},white:{icon:{color:{stepperIcon:"colors.BT.7"},background:{stepperIcon:"rgba(177, 165, 148, 0.3)"}},background:{color:{kycContainer:"colors.N.2"}}}},N=k(e=>{var t,n,x,S;let{redirectTo:C,accountSetupStatus:k,pendingPortfolioCreation:N,theme:_,portfolioContentData:T,kycDetails:D,portfolios:O,showChoosePortfolio:P}=e,{strings:{kyc_flow:{drawer:U,get_started_screen:H}},geography:V}=(0,m.Ym)(),L=(0,i.useRouter)(),{accountSetupStage:K}=(0,a.vA)(L);Array.isArray(K)&&(K=K.join("/"));let X=h.SS[V][K],Y=(0,v.d4)(e=>(0,j.getCurrentStepConfig)(e,X)),M=(0,v.d4)(e=>(0,A.getIsDetailsOptionIAMSmart)(e)),[$,R]=(0,r.useState)(!1),[B,F]=(0,r.useState)(!1),G=(0,d.Y)(_,E),z={mobileVerified:D.mobileVerified},Q=(0,u.i)(k,z,V),W=()=>{R(!$)};if(K===l.HyN.RECOMMENDER_KNOCKOUT)return(0,o.jsx)(f.U5,{});if(M)return(0,o.jsx)(w.A,{headerText:H.knockout_text,showCrossIcon:!1,showModal:!0});let Z=(e,t)=>{let n=h.UB[V][t];
1return(0,o.jsx)(n,{currentStep:e.key,myInfoOptionChanged:B,nextUrl:e.nextUrl,prevUrl:e.prevUrl,setMyInfoOptionChanged:F,subtitle:e.subTitle,theme:_,title:e.title,onBackClick:()=>e.prevUrl?C(e.prevUrl):void 0})},q=(()=>{var e,t;if(P&&!N&&!O.length)return{label:U.your_progress,icon:I};let n=(null==N?void 0:N.type)||(null==(e=O[0])?void 0:e.type),o=(null==N?void 0:N.theme)||(null==(t=O[0])?void 0:t.theme),r="",i="";return T&&T.data.forEach(e=>{let t=e.portfolios.find(e=>{if(o){if(e.portfolioType===o)return e}else if(e.portfolioType===n)return e;return null});t&&(r=t.cardTitle,i=t.icon)}),{label:r,icon:i}})(),J=(0,o.jsx)(f.E7,{headerConfig:q,onDrawerClose:W,steps:Q,theme:"white"}),ee=null==k||null==(t=k.filter(e=>e.isScreen&&e.showInMenu))?void 0:t.length,et=0,en=k.filter(e=>e.isScreen).findIndex(e=>{if(!e.showInMenu&&et++,e.key===X)return!0})+1-et;if(!(null==Y?void 0:Y.isScreen))return null;let eo=null==Y?void 0:Y.key,er=Array.isArray(h.GS[V](eo,z)),ei=h.YV[V](Y.prev,z),es=h.YV[V](Y.next,z),el={...Y,prevUrl:ei,nextUrl:es,currentStepIndex:en};if(er){let e=h.Af[V]({routeName:K,prevUrl:ei,nextUrl:es});el={...el,...e}}let ea=[l.HyN.PRE_SUMMARY_SCREEN],ed=_,eu=!1;return ea.includes(K)&&(ed="rome",eu=!0),el.skipLayout?Z(el,K):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(y.A,{renderOn:s.XN.HK,children:(0,o.jsx)(p.A,{renderOn:"desktop",children:(0,o.jsx)(g.A,{behaviour:"scroll",breadcrumbs:[],theme:"white",extraCtas:!el.hideHeaderIcon&&(0,o.jsx)(c.yQ,{currentStep:el.currentStepIndex,progressBarIcon:q.icon,steps:Q,totalSteps:ee})})})}),(0,o.jsx)(b.az,{bg:null==(S=G.componentTheme)||null==(x=S.background)||null==(n=x.color)?void 0:n.kycContainer,flex:1,children:(0,o.jsxs)(b.tA,{drawerComponent:J,isDrawerOpen:$,onDrawerClose:W,position:"right",sidebarComponent:J,children:[(0,o.jsx)(p.A,{renderOn:["phone"],children:(0,o.jsx)(f.rP,{currentStep:el.currentStepIndex,onClick:W,progressBarIcon:q.icon,showBackIcon:eu,showProgressBar:!el.hideHeaderIcon,subTitle:Y.subTitle,theme:ed,title:Y.title,totalSteps:ee,goBack:()=>el.prevUrl?C(el.prevUrl):void 0})}),Z(el,K),(0,o.jsx)(p.A,{renderOn:["phone"],children:(0,o.jsx)(b.az,{height:48})})]})})]})});var _=n(77328),T=n.n(_);n(84105),n(77707);var D=n(63497);let O=()=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(T(),{children:[(0,o.jsx)("title",{children:"Create your Syfe account"}),(0,o.jsx)("meta",{content:"Start investing with Syfe",name:"description"})]}),(0,o.jsx)(D.A,{})]});var P=n(75662);let U=()=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(T(),{children:[(0,o.jsx)("title",{children:"Create your Syfe account"}),(0,o.jsx)("meta",{content:"Start investing with Syfe",name:"description"})]}),(0,o.jsx)(P.A,{})]})},37548:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/account-setup/[[...accountSetupStage]]",function(){return n(95137)}])},39453:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(14232),r=n(89099);let i=e=>{let{children:t}=e,n=(0,r.useRouter)(),i=()=>{document.body&&document.body.classList.remove("keybr-nav")},s=e=>{"Tab"===e.key&&document.body&&(document.body.classList.contains("keybr-nav")||(document.body.classList.add("keybr-nav"),window.addEventListener("mousemove",i,{once:!0})))};return o.useEffect(()=>(window.addEventListener("keydown",s),()=>{window.removeEventListener("keydown",s),window.removeEventListener("mousemove",i)}),[]),o.useLayoutEffect(()=>()=>{i()},[n.asPath]),t}},66189:(e,t,n)=>{"use strict";n.d(t,{Af:()=>d,GS:()=>i,SS:()=>l,UB:()=>s,YV:()=>a});var o=n(2965),r=n(388);let i={[o.XN.HK]:r.jw},s={[o.XN.HK]:r.pZ},l={[o.XN.HK]:r.fs},a={[o.XN.HK]:r.xP},d={[o.XN.HK]:r.P$}},95137:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>C});var o=n(37876),r=n(14232),i=n(73085),s=n(2965),l=n(66941),a=n(52373),d=n(89099),u=n(48011),c=n(93004),h=n(95118),f=n(36903),p=n(66189),g=n(55494),y=n(13918),m=n(5219);function b(e){let{children:t}=e,n=(0,d.useRouter)(),i=(0,u.wA)(),{geography:a}=(0,l.Ym)(),b=(0,u.d4)(m.$u.getIsDetailsOptionIAMSmart),w=(0,u.d4)(m.$u.isKycCompletedForWealth),v=(0,u.d4)(e=>e.router.location),x=(0,u.d4)(m.$A.getAccountSetupStatus),S=(0,u.d4)(m.$A.getKYCDetails),C=(0,u.d4)(m.$u.getPortfolioSelectionFlowType),k=(0,u.d4)(m.et.portfolioContentData),I=(0,u.d4)(m.$u.getIsUnifiedOnboarding),j=(0,u.d4)(m.$u.getIsCommonOnboardingCompleted),A={mobileVerified:null==S?void 0:S.mobileVerified},E=(0,h.Hm)(n);if((0,r.useEffect)(()=>{let e=(0,h.V8)(v.search,"code");if(w&&a===s.XN.SG)n.push(c.KVc);else if(!e){let e=x.find(e=>"ACTIVE"===e.status&&e.isScreen),t=(a===s.XN.HK?p.YV:f.YV)[a](null==e?void 0:e.key,A);t&&t!==v.pathname&&n.push(t)}},[]),(0,r.useEffect)(()=>{"PORTFOLIO_AI"===C&&v.pathname!==c.px2&&n.push(c.px2)},[C,n,v.pathname]),(0,r.useEffect)(()=>{b&&E!==c.HDz&&n.push("".concat(c.Vkm).concat(c.HDz))},[b,E]),(0,r.useEffect)(()=>{I&&!j&&v.pathname!==c.GM2&&a!==s.XN.SG&&n.push(c.GM2)},[I,j,n,v.pathname,a]),(0,r.useEffect)(()=>{k&&(null==k?void 0:k.version)===1||i(y.s4.getPortfolioContentDataV1())},[k]),(0,r.useEffect)(()=>{v.pathname===(0,c.u12)(c.HyN.FUNDS_DEPOSIT)&&""===v.search?(window.history.pushState(null,null,v.href),window.onpopstate=function(){window.history.go(1)}):window.onpopstate=null}
1,[v.pathname,v.href,v.search]),a===s.XN.SG){if(!k||(null==k?void 0:k.version)!==1)return(0,o.jsx)(g.k,{showLoader:!0,text:"Loading..."})}else if((!k||(null==k?void 0:k.version)!==1)&&v.pathname!==(0,c.u12)(c.HyN.IDENTITY_VERIFICATION))return(0,o.jsx)(g.k,{showLoader:!0,text:"Loading..."});return t}var w=n(95987),v=n(35585),x=n(39453);function S(){let{geography:e}=(0,l.Ym)();return e===s.XN.AU?(0,o.jsx)(i.default,{statusCode:404}):e===s.XN.HK?(0,o.jsx)(v.xU,{theme:"white"}):(0,o.jsx)(x.A,{children:(0,o.jsx)(w.xU,{})})}let C=S;S.getLayout=function(e){return(0,o.jsx)(a.A,{children:(0,o.jsx)(b,{children:e})})}}},e=>{e.O(0,[4031,5912,6340,1854,1394,3907,3690,5478,8998,2965,6277,6031,2373,4628,9805,7323,9926,5987,636,6593,8792],()=>e(e.s=37548)),_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.