1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="602f9b16-ecd8-4d77-84da-3d128d9693d3",e._sentryDebugIdIdentifier="sentry-dbid-602f9b16-ecd8-4d77-84da-3d128d9693d3")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8851],{2508:(e,t,s)=>{"use strict";s.d(t,{Vp:()=>l.Vp,W5:()=>l.Ay,bv:()=>l.bv,tH:()=>a.A});var l=s(6384),a=s(91958)},18661:(e,t,s)=>{"use strict";s.d(t,{A:()=>h});var l=s(37876),a=s(14232),o=s(89099),r=s.n(o),n=s(25458),i=s(34277),d=s(67001),c=s(10110),u=s(18339),p=s(20585),m=s(5118);function h(){let e,t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.$.landing.path,{authState:o}=(0,i.hD)(),{isAuthCheckComplete:h}=(0,c.GV)(d.m),{isLamfReferrerMode:_}=(0,c.GV)(p.k),[x,f]=(0,a.useState)(!1);if(e=t?o===i.pY.BROKER_CONNECTED:o===i.pY.BROKER_CONNECTED||o===i.pY.PHONE_CONNECTED,(0,a.useEffect)(()=>{!h||e||x||(0,u.I)().finally(()=>{f(!0)})},[e,h,x]),e)return x||f(!0),null;if(h&&x){if(_)return r().push(m.$.lamf.path),null;r().push(s)}return(0,l.jsx)(n.DM,{})}},36485:(e,t,s)=>{"use strict";s.d(t,{i:()=>r});var l=s(14232),a=s(10110),o=s(35682);let r=()=>{let e=(0,a.GV)(o.fd),t=null==e?void 0:e.creditLimit,s=null==e?void 0:e.importedDate;return(0,l.useMemo)(()=>({isApproved:!1,value:t,updatedOn:s}),[t,s])}},42838:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/more",function(){return s(76856)}])},46687:(e,t,s)=>{"use strict";e.exports=s.p+"static/media/phoneHandIllustration.cb8d3128.svg"},51710:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var l=s(8359),a=s(10110);let o=function(){var e,t;let s=(0,a.GV)(e=>e.loanReducer),o=s.lamfApplicationStatus,r=(null==(e=s.lamfConfig)?void 0:e.minCreditLimit)??25e3,n=(null==(t=s.lamfCreditLimitData)?void 0:t.creditLimit)??0;return o!==l.qSX.NOT_ELIGIBLE&&!(n<r)}},63960:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var l=s(37876),a=s(15039),o=s.n(a),r=s(929);let n=e=>{let{onClose:t,children:s,title:a,className:n}=e;return(0,l.jsx)(r.A,{title:a,noHeader:!a,allowDismiss:!0,darkOverlay:!0,topUnset:!0,onClose:t,width:"100%",className:o()("WealthBottomSheet-module__sheet__x1_O9",n),children:s})}},76856:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>ed});var l=s(37876),a=s(2508),o=s(19802),r=s(18661),n=s(14232),i=s(69030),d=s(60126),c=s(25458),u=s(8359),p=s(34277),m=s(7536),h=s(79609),_=s(10110),x=s(44898),f=s(61586),N=s(35682),A=s(36485);let j=function(){let e=(0,_.GV)(f.Dy),t=(0,_.GV)(N.F8),s=(null==t?void 0:t.minCreditLimit)??25e3,l=(0,A.i)();return e!==u.i5d.NOT_ELIGIBLE&&!((l.value??0)<s)};var g=s(20451);let w=e=>{let{title:t,icon:s,subtitle:a,isNew:o=!1}=e;return(0,l.jsxs)("div",{className:"MoreListItem-module__container__lNCWn mb24 flex",children:[(0,l.jsx)("div",{className:"MoreListItem-module__left-icon-container__oCQNa",children:"string"==typeof s?(0,l.jsx)(c.kf,{src:s,width:40,height:40}):(0,l.jsx)(s,{size:"40",color:"var(--color-blue, #1f7ae0)",className:"block"})}),(0,l.jsxs)("div",{className:"ml12",children:[(0,l.jsxs)(c.DZ,{as:"h4",className:"MoreListItem-module__title__FyFOU flex items-center font-medium text-dark",children:[t,o?(0,l.jsx)(c.Ex,{withShine:!0,size:"xxs",variant:"filled",type:"success",className:"text-10 line-height-one",children:"NEW"}):null]}),(0,l.jsx)("p",{className:"MoreListItem-module__subtitle__VBHkD text-13 text-normal",children:a})]})]})};var v=s(27107),b=s(15039),E=s.n(b);let D=s.p+"static/media/moneyBagsIllustration.d3774ef3.svg";var C=s(46687),y=s(80336),L=s(15307),T=s(52635),O=s(80310);let k=e=>{let{title:t,description:s,showIllustration:a=!0,noBorderRadius:o}=e;return(0,l.jsxs)("div",{className:E()("AppDownloadBanner-module__container__tatTZ p24 relative full-width flex-row",{"AppDownloadBanner-module__container-br__tiH6R br-8":!o}),children:[(0,l.jsx)("div",{className:"AppDownloadBanner-module__qr-container__mn7h8 br-8",children:(0,l.jsx)("img",{className:"AppDownloadBanner-module__qr-code__n71t2 full-width full-height",src:"https://assets.smallcase.com/smallcase/assets/images/pngs/qrCode/downloadAppQrCodeHome.png",alt:"scan QR code to download the smallcase app"})}),(0,l.jsxs)("div",{className:"AppDownloadBanner-module__content-container__ySrQv pl24",children:[(0,l.jsx)(c.DZ,{as:"h3",children:t||"Enjoy more features on smallcase app â¨"}),(0,l.jsx)("p",{className:"AppDownloadBanner-module__desc-text__FfMFT pt4 text-13 lh-144 text-normal",children:s||(0,l.jsxs)(l.Fragment,{children:["Download the app to explore a fun"," ",(0,l.jsx)("br",{className:"desktop-hidden"}),"new personalised experience"]})}),(0,l.jsxs)("div",{className:"pt8 desktop--only",children:[(0,l.jsx)("i",{className:"icon-apple text-12 text-light mr8",children:(0,l.jsx)("span",{className:"sr-only",children:"App store"})}),(0,l.jsx)("i",{className:"icon-android text-12 text-light mr8",children:(0,l.jsx)("span",{className:"sr-only",children:"Play store"})})]}),a?(0,l.jsx)("img",{className:"AppDownloadBanner-module__money-bags-illustration-img__ENRDm absolute",src:D,alt:""}):null,(0,l.jsx)("img",{className:"AppDownloadBanner-module__phone-illustration-img__u_wrh absolute",src:C,alt:""}),(0,l.jsxs)("div",{className:"pt16 desktop-hidden",children:[(0,l.jsx)("img",{className:"AppDownloadBanner-module__google-badge__njQEc",src:y,alt:"Available on playstore"}),(0,l.jsx)("img",{className:E()("ml8","AppDownloadBanner-module__apple-badge__adXGu"),src:L,alt:"Available on appstore"})]})]})]})},I=e=>{let{title:t,description:s,showIllustration:a=!0,accessedFrom:o,noBorderRadius:r}=e,{isMobile:n}=(0,p.lG)(),i=(0,T.o)();return(0,O.h)()?n?(0,l.jsx)(c.Gr,{href:i.universal,onClick:()=>{h.A.track(m.z.CLICKED_DOWNLOAD_APP,{accessedFrom:o,sectionTag:""})},children:(0,l.jsx)(k,{title:t,description:s,showIllustration:a,noBorderRadius:r})}):(0,l.jsx)(k,{title:t,description:s,showIllustration:a,noBorderRadius:r}):null};var R=s(22206),B=s(89357),S=s(74346),G=s(97073),W=s(51710),M=s(71358),P=s(76872),V=s(5118),F=s(26484),$=s(79358),z=s(89099),H=s(48925),Y=s(6731);
1let q="Wealth Office",K="Your personalised wealth dashboard",U={accessedFrom:m.O.MORE_SCREEN,sectionTag:"wealth_office_app_prompt"},Q=s.p+"static/media/onboarding_hero.6876ca31.png";var X=s(63960),Z=s(99626);let J=e=>{let{onClose:t,onDownloadClick:s,hasDownloadedApp:a=!1}=e,o=(0,n.useId)(),r=(0,n.useId)(),d=(0,n.useRef)(null),u=(0,T.o)(),p=a?Z.x.OPEN_APP:Z.x.DOWNLOAD_APP;return(0,n.useEffect)(()=>{var e,t;null==(t=d.current)||null==(e=t.querySelector("button"))||e.focus()},[]),(0,l.jsx)(X.A,{onClose:t,className:"WoDownloadAppBottomsheet-module__sheet__LfYeX",children:(0,l.jsxs)("section",{ref:d,role:"dialog","aria-modal":"true","aria-labelledby":o,"aria-describedby":r,"data-testid":"wealth-office-app-prompt",children:[(0,l.jsxs)("div",{className:"WoDownloadAppBottomsheet-module__hero-section__lYeKy relative flex-center pt16 pb16",children:[(0,l.jsx)(c.kf,{src:Q,width:260,height:180,className:"WoDownloadAppBottomsheet-module__hero__K10zt block"}),(0,l.jsx)(c.yH,{label:Z.x.CLOSE,className:"WoDownloadAppBottomsheet-module__close-button__jfHK6 absolute flex-center text-normal p0",onClick:t,children:(0,l.jsx)(i.gzW,{size:16})})]}),(0,l.jsxs)("header",{className:"WoDownloadAppBottomsheet-module__header__w7uJ8 flex text-center pt24 pb24 gap-8",children:[(0,l.jsx)(c.DZ,{as:"h2",id:o,className:"text-20 font-medium lh-144 m0",children:Z.x.TITLE}),(0,l.jsx)("p",{id:r,className:"text-13 text-normal lh-144 m0",children:Z.x.DESCRIPTION})]}),(0,l.jsxs)("footer",{className:"WoDownloadAppBottomsheet-module__footer__bVwwU flex gap-8",children:[(0,l.jsxs)(c.Gr,{href:u.universal,onClick:s,target:"_self",className:"WoDownloadAppBottomsheet-module__cta__fuaC8 btn btn-primary-blue btn-fw btn-mw-unset font-medium text-14 br-4",children:[!a&&(0,l.jsx)(i.i8u,{size:16,className:"WoDownloadAppBottomsheet-module__download-icon__IAfqd mr8"}),p,a&&(0,l.jsx)(i.HW5,{size:16,className:"WoDownloadAppBottomsheet-module__open-icon__cD25K ml8"})]}),(0,l.jsxs)("ul",{className:"WoDownloadAppBottomsheet-module__trust__u0YIp flex-center text-12 text-light font-regular lh-144 m0 p0 gap-16","aria-label":Z.x.TRUST_LABEL,children:[(0,l.jsxs)("li",{children:[Z.x.RATED," ",(0,l.jsx)("strong",{className:"font-medium",children:Z.x.RATING})]}),(0,l.jsx)("li",{className:"WoDownloadAppBottomsheet-module__trust-installs__bRhsg pl16",children:Z.x.INSTALLS})]})]})]})})},ee=()=>{let e=(0,z.useRouter)(),{isMobile:t}=(0,p.lG)(),s=(0,_.GV)(Y.zB),a=!!(null==s?void 0:s.appDownloaded),[o,r]=(0,n.useState)(!1),d=(0,n.useRef)(null),u=e.query[Z.u.KEY]===Z.u.VALUE,x=t&&(o||u),f=()=>{h.A.track(m.z.CLICKED_WEALTH,U)},N=()=>{var e,t;return null==(t=d.current)||null==(e=t.querySelector("button"))?void 0:e.focus()},A=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.NQU,{size:40,className:"text-blue flex-shrink-0"}),(0,l.jsxs)("span",{className:"flex-column gap-4",children:[(0,l.jsx)("span",{className:"text-14 font-medium text-dark lh-144",children:q}),(0,l.jsx)("span",{className:"text-12 text-normal lh-144",children:K})]})]});return(0,l.jsxs)("div",{ref:d,children:[t?(0,l.jsx)(c.$n,{className:"WealthOfficeEntry-module__entry__00SN3 flex items-center gap-12 full-width text-left font-regular p0 mb24 pointer",onClick:()=>{f(),r(!0)},"aria-haspopup":"dialog","aria-expanded":x,children:A}):(0,l.jsx)(v.A,{to:V.$.wealthOffice.path,className:"block",onClick:f,children:(0,l.jsx)(w,{icon:H,title:q,subtitle:K})}),x&&(0,l.jsx)(J,{onClose:()=>{if(r(!1),u){let t={...e.query};delete t[Z.u.KEY],e.replace({pathname:e.pathname,query:t},void 0,{shallow:!0,scroll:!1})}requestAnimationFrame(N)},onDownloadClick:()=>{h.A.track(m.z.CLICKED_DOWNLOAD_APP,{...U,hasDownloadedApp:a})},hasDownloadedApp:a})]})};var et=s(83464),es=s(81804),el=s(36513),ea=s(80299),eo=s(4040);let er={accessedFrom:m.O.MORE_SCREEN,sectionTag:m.u3.MORE_LOAN},en=()=>{let{authState:e}=(0,p.hD)(),t=(0,_.jL)(),s=e!==p.pY.LOGGED_OUT,a=(0,_.GV)(F.Td),o=(0,$.u)($.rQ.TT_PRO_CARD),r=(0,$.u)($.rQ.WEALTH_OFFICE_WEB_ENTRY),b=(0,_.GV)(g.gQ).length,E=(0,_.GV)(f.Nd),D=(0,G.S)(),C=(0,W.A)(),y=j(),L=(0,R.v)(),T=(0,S.A)(),O=(0,et.r)(),k=(0,es.A)(),z=(0,el.A)(),H=(0,_.GV)(N.nW),Y=(0,_.GV)(f.Dy),q=(0,_.GV)(f.qp),K=(0,A.i)(),U=s&&!!q,{totalInvestedAndCreatedSmallcasesCount:Q}=(0,ea.A)(),X=0===Q?`${V.$.create.path()}?smallcaseKind=${eo.h}`:V.$.created.path,Z=b>0?`You are watching ${b} ${(0,d.td)(b,"smallcase","smallcases")}`:"Track your favourites";(0,n.useEffect)(()=>{L&&h.A.track(m.z.LAMF_VIEWED_ORIGINATION_CARD,{...er,...(0,B.aM)()})},[L]),(0,n.useEffect)(()=>{t((0,P.r)())},[t]);let J=Y===u.i5d.NOT_STARTED||!s;return(0,l.jsx)("div",{className:"MorePage-module__container__mnIcn grid-container pl32 pr32 tablet-container-padded",children:(0,l.jsxs)("div",{className:"pt24 pb24",children:[r&&(0,l.jsx)(ee,{}),L&&O?(0,l.jsx)(v.A,{to:X,onClick:()=>{(0,_.mP)((0,x.pt)({accessedFrom:m.O.MORE_SCREEN,sectionTag:m.e5}))},className:"block",children:(0,l.jsx)(w,{icon:i.WtS,title:"Create",subt
1itle:"Create your own smallcase"})}):null,!a&&U?(0,l.jsx)(v.A,{to:z.path,className:"block",children:(0,l.jsx)(w,{icon:i.wtr,title:"Loan against MFs and Stocks",subtitle:"Manage your loans"})}):null,a||U?null:(0,l.jsxs)(l.Fragment,{children:[L?(0,l.jsx)(v.A,{to:T.path,onClick:()=>T.triggerClickAnalytics(er),className:"block",children:(0,l.jsx)(w,{icon:i.wtr,title:"Loan against Mutual Funds",subtitle:E?"Manage your loan":C&&(0,d.Bf)(D.value)?`Get â¹ ${(0,d.kf)(D.value,!0)} reserved for you`:"Get cash at low interest rates"})}):null,O?(0,l.jsx)(v.A,{to:k.path,onClick:()=>k.triggerClickAnalytics(er),className:"block",children:(0,l.jsx)(w,{icon:i.c$z,title:"Loan against Stocks",subtitle:H?"Manage your loan":y&&(0,d.Bf)(K.value)?`Get â¹ ${(0,d.kf)(K.value,!0)} reserved for you`:"Get cash at low interest rates",isNew:J})}):null]}),(0,l.jsx)(v.A,{to:V.$.watchlist.path,className:"block",children:(0,l.jsx)(w,{icon:i.VYR,title:"Watchlist",subtitle:Z})}),(0,l.jsx)(v.A,{to:V.$.subscriptions.path,children:(0,l.jsx)(w,{icon:i.lEf,title:"Subscribed smallcases",subtitle:"Manage your subscriptions"})}),(0,l.jsx)(c.wv,{when:s&&o,children:(0,l.jsx)(M.A,{logoColor:"var(--color-blue, #1f7ae0)",showTopDivider:!0,isDecorativeLogo:!1})}),(0,l.jsx)("div",{className:"MorePage-module__download-banner-wrapper__Tce6N mt24 br-8",children:(0,l.jsx)(I,{accessedFrom:"morepage"})})]})})},ei=[],ed=()=>{let e=(0,r.A)(!1);return(0,l.jsxs)(a.tH,{children:[(0,l.jsx)(o.A,{title:"More",description:"",keywords:ei,url:"https://www.smallcase.com/more"}),e??(0,l.jsx)(en,{})]})}},91958:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var l=s(37876),a=s(14232),o=s(95062),r=s.n(o),n=s(73952),i=s(52267);class d extends a.Component{constructor(e){super(e),this.state={hasError:!1}}componentDidCatch(e,t){this.setState({hasError:!0}),this.props.onError?this.props.onError(e,t):(0,i.Cp)(e,{errorInfo:t})}render(){let{size:e,showNothing:t}=this.props;return this.state.hasError?t?null:"SMALL"===e?(0,l.jsx)("div",{className:"grid-container mt56",children:(0,l.jsx)(n.Ay,{showRefreshBtn:!0,variant:n.Vp.COMPACT})}):(0,l.jsx)("div",{className:"ErrorBoundary-module__container__f9xH5 grid-container",children:(0,l.jsx)(n.Ay,{showRefreshBtn:!0,variant:n.Vp.DEFAULT})}):this.props.children}}d.propTypes={children:r().node.isRequired,size:r().string,showNothing:r().bool,onError:r().func},d.defaultProps={size:"DEFAULT",showNothing:!1,onError:void 0};let c=(0,a.memo)(d)},97073:(e,t,s)=>{"use strict";s.d(t,{S:()=>r});var l=s(14232),a=s(10110),o=s(51828);let r=()=>{let e=(0,a.GV)(o.XY),t=e.creditLimit,s=e.importedDate,r=e.loanCreditAmount,n=e.loanApprovalDate;return(0,l.useMemo)(()=>e.isFinalCreditLimit?{isApproved:!0,value:r,updatedOn:n}:{isApproved:!1,value:t,updatedOn:s},[e.isFinalCreditLimit,t,s,n,r])}},99626:(e,t,s)=>{"use strict";s.d(t,{u:()=>a,x:()=>o});var l=s(31002);let a={KEY:"wealthOfficeApp",VALUE:"true"},o={TITLE:"Manage & grow your wealth",DESCRIPTION:"This feature is only available on the smallcase app. Download it on your mobile device to continue",DOWNLOAD_APP:"Download app",OPEN_APP:"Open app",CLOSE:"Close app prompt",TRUST_LABEL:"smallcase app rating and installs",RATED:"Rated",RATING:`${l.x.RATING}/5`,INSTALLS:`${l.x.INSTALLS_SHORT} installs`}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=42838)),_N_E=e.O()}]); 2//# sourceMappingURL=more-9867ec57fbfa5bcd.js.map
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.