1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9459],{3733:function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});var l=t(57437),s=t(2265),a=t(4606),i=t(35352),o=t(9028),r=t(42949);let d=s.memo(function(e){let{...n}=e;return l.jsx(a.SchemeDetailsGridCard,{...n})}),c=s.memo(function(e){var n,t,s;let{banner:a,index:o}=e;return l.jsx(i.BannerComponent,{id:o,bannerTitle:a.content,btnText:a.buttonLabel,image:a.url,altText:a.alternativeText,redirUrl:a.redirectionUrl,backgroundColor:null!==(n=a.backgroundColor)&&void 0!==n?n:"",buttonColor:null!==(t=a.buttonColor)&&void 0!==t?t:"",description:null!==(s=a.description)&&void 0!==s?s:""})}),u=e=>{let{filteredSchemes:n,handleClick:t,handleAddToCart:a,setActiveTooltipIndex:i,activeTooltipIndex:u,props:m,indexFundHideSection:v,updatesOnData:h,getGAUserAnalytics:g}=e,p=r.useScreenWidth(),f=p>768?12:6,[x,N]=s.useState(f),[C,j]=s.useState(!1),I=s.useRef(null),b=s.useRef(null),S=s.useRef(new Set),w=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),y=s.useCallback(e=>{e[0].isIntersecting&&x<n.length&&!C?(j(!0),"requestIdleCallback"in window?window.requestIdleCallback(()=>{b.current=setTimeout(()=>{N(e=>Math.min(e+f,n.length)),j(!1)},100)},{timeout:500}):b.current=setTimeout(()=>{N(e=>Math.min(e+f,n.length)),j(!1)},100)):w&&(b.current=setTimeout(()=>{N(e=>Math.min(e+f,n.length)),j(!1)},100))},[x,n.length,C,f]);s.useEffect(()=>{if(!("IntersectionObserver"in window))return;let e=new IntersectionObserver(y,{root:null,rootMargin:p>762?"400px":"200px",threshold:0});return I.current&&e.observe(I.current),()=>{I.current&&e.unobserve(I.current),b.current&&clearTimeout(b.current)}},[y,p]);let k=s.useCallback(e=>(e+1)%(n.length>6?6:n.length+1)==0,[n.length]),T=s.useCallback(e=>{if(m.homeBanners&&m.homeBanners.length>0){let n=Math.floor(e/6);if(n<m.homeBanners.length&&!S.current.has(n))return S.current.add(n),m.homeBanners[n]}return null},[m.homeBanners]),E=s.useCallback(()=>{var e,n;if(!m.homeBanners||v||0===m.homeBanners.length)return null;let t=null==S?void 0:null===(e=S.current)||void 0===e?void 0:e.size,s=null==m?void 0:null===(n=m.homeBanners)||void 0===n?void 0:n.slice(t);return null==s?void 0:s.map((e,n)=>l.jsx(c,{banner:e,index:t+n},"remaining-".concat(t+n)))},[m.homeBanners,v,x,n.length]);S.current.clear();let _=!1;return l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"grid",children:(m.schemeFundType===o.SCHEME_TYPE.All?n:n.sort((e,n)=>(e.fundSequenceNo||0)-(n.fundSequenceNo||0))).slice(0,x).map((e,n)=>{let r=k(n)?T(n):null,p=!1;return!r||v||_||(p=!0,_=!0),l.jsxs(s.Fragment,{children:[l.jsx("div",{className:"card",children:l.jsx(d,{id:n,scheme:e,schemeFundType:e.fundType,handleClick:t,handleAddToCart:a,handleTooltipClick:()=>i(n),isShowToolTip:u===n,isEtfFund:m.schemeFundType===o.SCHEME_TYPE.Etf,isFromDashBord:!1,handleGAUserAnalytics:function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];return null==g?void 0:g(...n,"Our Schemes")}})}),p&&l.jsx("div",{className:"updates-on",children:l.jsx("div",{className:"lbl-primary-txt-content3",dangerouslySetInnerHTML:{__html:h||""}})}),r&&!v&&l.jsx(c,{banner:r,index:n})]},"".concat(e.schemeId,"-").concat(n))})}),x<n.length&&l.jsx("div",{ref:I}),l.jsx("div",{className:"grid",children:E()})]})};var m=s.memo(u);n.InfiniteScrollGrid=u,n.MemoizedSchemeCard=d,n.default=m},66535:function(e,n,t){var l=t(57437),s=t(2265),a=t(49232),i=t(42949),o=t(4514),r=t(44452),d=t(73797),c=t(7122),u=t(9028),m=t(81784);o.pathChanger("selectFund.svg"),o.pathChanger("investment.svg"),o.pathChanger("money.svg"),n.InvestmentFooter=e=>{var n,t,v,h,g,p,f,x,N,C,j,I,b,S,w,y,k,T,E,_,P,L,A,F,D,O,M,R,B,H,G,V,U;let[q,Y]=s.useState(),[J,z]=s.useState(!1),[Q,W]=s.useState({}),K=i.useLoginContextData(),X=K.isUserLoggedIn()||K.isUserSoftLoggedIn()?"post login journey":"pre login journey",{droplinkData:Z,handleDropLinkDispatch:$}=s.useContext(i.DroplinkContext);e.schemeInfo&&0!=e.schemeInfo.length&&(null==Q||null===(v=Q.investNowLoading)||void 0===v||v[null===(t=e.schemeInfo)||void 0===t?void 0:null===(n=t[0])||void 0===n?void 0:n.schemeId]);let ee=async e=>{let n=await o.LocalStorage.instance.etfCart.get();if(""!=n){var t,l;let s=null===(t=JSON)||void 0===t?void 0:t.parse(n);if((null==s?void 0:s.length)===7)return null===(l=K.triggerLoginToast)||void 0===l?void 0:l.call(K,{message:u.ERROR_MSG.ETFCartMessage,isSuccess:!1});en(e)}else en(e)},en=e=>{et(e),z(!J),Y(n=>({...n,schemeInfo:e}))},et=e=>{var n,t,l;let s={cta_name:"invest now",page_section:null!==(n=d.getPathname())&&void 0!==n?n:"",scheme_name:null!==(t=e.schemeTitle)&&void 0!==t?t:"",scheme_category:null!==(l=e.fundT
1ype)&&void 0!==l?l:"",flow_name:X};o.GoogleAnalytics.recordEvent(o.GoogleAnalyticEvents.SchemeList.SchemeCtaClick(s))},el=()=>{var e;let n={cta_name:"invest now",page_section:null!==(e=d.getPathname())&&void 0!==e?e:"",flow_name:X,page_sub_section:"How to start your investing journey on Axis Mutual Fund?",action:"NA",category:"Start Investing"};o.GoogleAnalytics.recordEvent(o.GoogleAnalyticEvents.SchemeDetails.CtaClick(n))};return l.jsxs("div",{className:"investment-comp",children:[l.jsxs("div",{className:"content-holder",children:[l.jsx("div",{className:"lbl-investment-title only-web",children:null==e?void 0:null===(h=e.schemeInvestSection)||void 0===h?void 0:h.title}),l.jsx("label",{className:"lbl-investment-title only-mobile",children:null==e?void 0:null===(g=e.schemeInvestSection)||void 0===g?void 0:g.title}),l.jsx("label",{className:"lbl-txt-content only-web",children:null==e?void 0:null===(p=e.schemeInvestSection)||void 0===p?void 0:p.description}),l.jsx("label",{className:"lbl-txt-content only-mobile",children:null==e?void 0:null===(f=e.schemeInvestSection)||void 0===f?void 0:f.description}),l.jsx("div",{className:"investment-status",children:null==e?void 0:null===(N=e.schemeInvestSection)||void 0===N?void 0:null===(x=N.items)||void 0===x?void 0:x.map((n,t)=>{var s,i;return l.jsxs("div",{className:"progress-step",children:[l.jsx("div",{className:"image-container",children:l.jsx("img",{loading:"lazy",fetchPriority:"low",src:n.icon,alt:n.title||a.getAltText(n.icon)})}),t<(null==e?void 0:null===(i=e.schemeInvestSection)||void 0===i?void 0:null===(s=i.items)||void 0===s?void 0:s.length)-1&&l.jsx("div",{className:"horizontal-line"}),l.jsx("label",{className:"lbl-status ".concat(2===t?"third-status":""),children:n.title})]},n.title)})}),(null==e?void 0:null===(C=e.schemeInfo[0])||void 0===C?void 0:C.investNow)?(null==e?void 0:null===(j=e.schemeInfo[0])||void 0===j?void 0:j.fundType)===u.SCHEME_TYPE.Etf?l.jsx("div",{className:"footer-holder",children:l.jsx(c.InvestNowButton,{uniqueId:"invest-now-".concat(null===(b=e.schemeInfo)||void 0===b?void 0:null===(I=b[0])||void 0===I?void 0:I.schemeId),scheme:null===(S=e.schemeInfo)||void 0===S?void 0:S[0],className:"next-button",disableDroplink:(null===(y=e.schemeInfo)||void 0===y?void 0:null===(w=y[0])||void 0===w?void 0:w.fundType)===u.SCHEME_TYPE.Etf,onClick:()=>{var n;ee(null===(n=e.schemeInfo)||void 0===n?void 0:n[0])}})}):l.jsx("div",{className:"footer-holder",children:l.jsx(c.InvestNowButton,{uniqueId:"invest-now-".concat(null===(T=e.schemeInfo)||void 0===T?void 0:null===(k=T[0])||void 0===k?void 0:k.schemeId),scheme:null===(E=e.schemeInfo)||void 0===E?void 0:E[0],className:"next-button",onClick:()=>{el()}})}):""]}),(null==e?void 0:null===(_=e.schemeInfo[0])||void 0===_?void 0:_.investNow)?(null==e?void 0:null===(P=e.schemeInfo[0])||void 0===P?void 0:P.fundType)===u.SCHEME_TYPE.Etf?l.jsx("div",{className:"footer-holder invest-now-".concat(null===(A=e.schemeInfo)||void 0===A?void 0:null===(L=A[0])||void 0===L?void 0:L.schemeId," ").concat(e.forceHideCompact?"invest-hidden":""),children:l.jsx(c.InvestNowButton,{uniqueId:"invest-now-".concat(null===(D=e.schemeInfo)||void 0===D?void 0:null===(F=D[0])||void 0===F?void 0:F.schemeId),scheme:null===(O=e.schemeInfo)||void 0===O?void 0:O[0],className:"next-button invest-button",isFromOnboarding:!1,disableDroplink:(null===(R=e.schemeInfo)||void 0===R?void 0:null===(M=R[0])||void 0===M?void 0:M.fundType)===u.SCHEME_TYPE.Etf,onClick:()=>{var n;ee(null===(n=e.schemeInfo)||void 0===n?void 0:n[0])}})}):l.jsx("div",{className:"footer-holder invest-now-".concat(null===(H=e.schemeInfo)||void 0===H?void 0:null===(B=H[0])||void 0===B?void 0:B.schemeId," ").concat(e.forceHideCompact?"invest-hidden":""),children:l.jsx(c.InvestNowButton,{uniqueId:"invest-now-".concat(null===(V=e.schemeInfo)||void 0===V?void 0:null===(G=V[0])||void 0===G?void 0:G.schemeId),scheme:null===(U=e.schemeInfo)||void 0===U?void 0:U[0],className:"next-button invest-button",isFromOnboarding:!1,onClick:()=>{el()}})}):"",J&&l.jsx(r.OverlayPopup,{className:"dialog-popup-content m-full-screen etf-index-popup",showHeader:!1,isFloating:!0,showCloseOption:!1,onClose:()=>z(!1),content:l.jsx(m.EtfOrderPopup,{selectedSchemeData:q,etfInvestNowClickClose:()=>z(!1)})})]})}}
1,69313:function(e,n,t){var l=t(57437),s=t(2265),a=t(4514);n.InvestmentPacksSchemeHeader=e=>{let{schempackdetails:n,isScrolled:t,selectcategory:i}=e;return l.jsxs(s.Fragment,{children:[l.jsxs("div",{className:"investment-packs-scheme-header",children:[l.jsxs("div",{className:"investment-pack-title",children:[l.jsx("label",{className:"lbl-card-title-3 lbl-fs-24",children:null==n?void 0:n.packName}),(null==n?void 0:n.mostBought)?l.jsx("label",{className:"most-bought for-web",children:"Most Bought in Last month"}):""]}),l.jsx("label",{className:"lbl-sub-heading desc",children:null==n?void 0:n.packDescription}),(null==n?void 0:n.mostBought)?l.jsx("label",{className:"most-bought for-mobile",children:"Most Bought in Last month"}):""]}),l.jsx("img",{fetchPriority:"low",src:a.pathChanger("axislogo.svg"),className:"device-check-logo",alt:"axislogo"}),t?l.jsx("button",{className:"btn-primary device-check-btn",onClick:i,children:"Invest Now"}):""]})}},83383:function(e,n,t){var l=t(57437),s=t(2265),a=t(4514),i=t(49069),o=t(95494),r=t(44452),d=t(42949),c=t(9028),u=t(73797),m=t(11421),v=t(7363),h=t(93437),g=t(12817),p=t(58416),f=t(54735),x=t(23912),N=t(27710);n.InvestmentSchemePackDetails=e=>{var n;let{schempackdetails:t,UpdateModel:C,handleCloseCategory:j}=e,{yourInvestment:I,fundDetails:b}=t,[S,w]=s.useState(I.default),[y,k]=s.useState(b.filter(e=>"Direct"===e.planType)),[T,E]=s.useState(!1),[_,P]=s.useState(null),[L,A]=s.useState(!1),[F,D]=s.useState(),[O,M]=s.useState({}),[R,B]=s.useState(""),[H,G]=s.useState(!1),[V,U]=s.useState(d.OrderTypes.SIP),[q,Y]=s.useState(new Set),{droplinkData:J,handleDropLinkDispatch:z}=s.useContext(d.DroplinkContext),Q=d.useLoginContextData(),W=t.packId;s.useEffect(()=>{k(u.updateFundDetails(y,S))},[S]),s.useEffect(()=>{C&&ea()},[C]);let K=e=>e?(e=null==e?void 0:e.toString()).replace(/,/g,""):e,X=(e=>{var n;let t={},l=null==e?void 0:e.length;e.forEach(e=>{e.holdingDistribution.forEach(e=>{t[e.title]||(t[e.title]=0),t[e.title]+=e.perc})});let s=null===(n=Object.keys(t))||void 0===n?void 0:n.map(e=>({title:e,perc:(t[e]/l).toFixed(2)})),a=parseFloat((100-s.reduce((e,n)=>e+parseFloat(n.perc),0)).toFixed(2));return 0!==a&&s.length>0&&(s[0].perc=(parseFloat(s[0].perc)+a).toFixed(2)),s})(y),Z=e=>M(n=>({...n,...e})),$=e=>{w(e),en(e)},ee=e=>{en(""===e?0:parseInt(K(e)))},en=e=>{e>=I.min&&e<=I.max?(B(""),w(e)):e>=I.max?(B("Enter a valid amount"),w(I.max)):(B("Enter a valid amount"),w(e))},et=(e,n)=>{if(y.length>1){n=Math.max(0,Math.min(100,n));let t=[...y],l=new Set(q);l.add(e),t[e].weightage=n;let s=Array.from(l).reduce((e,n)=>e+t[n].weightage,0),a=t.map((e,n)=>n).filter(e=>!l.has(e)),i=a.length>0?Math.max(0,100-s)/a.length:0;a.forEach(e=>{t[e].weightage=parseFloat(i.toFixed(2))}),Y(l),k(u.updateFundDetails(t,S))}},el=e=>{y.length>2?(P(e),E(!0)):y.length>1&&(D(y.filter((n,t)=>t!==e)[0]),A(!0))},es=()=>
1{if(null!==_&&y.length>1&&F){let e={schemeId:F.schemeId,schemeCode:F.schemeCode,schemeTitle:F.fundName};u.getGenerateDropLink(e,d.UserJourneys.sip,{droplinkData:J,handleDropLinkDispatch:z},()=>{}),A(!1)}},ea=async()=>{var e,n;let t=await a.LocalStorage.instance.loginData.get(),l=t&&""!==t?JSON.parse(null!=t?t:""):null==Q?void 0:null===(e=Q.triggerLogin)||void 0===e?void 0:e.call(Q,!0,{}),s=null==l?void 0:null===(n=l.investor_details)||void 0===n?void 0:n.user_type;if("NTA"===s||"NTI"===s){p.pushPath("/folio/create");return}ei()},ei=()=>{if(""===R){if(Q.isPANUserLoggedIn())eo();else{var e;null==Q||null===(e=Q.triggerLogin)||void 0===e||e.call(Q,!0,{successLoginCB:()=>{eo()}})}}},eo=()=>{if(100!==y.reduce((e,n)=>e+n.weightage,0)){var e;null===(e=Q.triggerLoginToast)||void 0===e||e.call(Q,{message:c.Investment_Pack_Messages.weightage_failure,isSuccess:!1})}else{let e=y.filter(e=>e.weightage>0);if(D(e[0]),e.length<2){A(!0);return}G(!0)}},er=async()=>{var e,n,l,s,i,o;let r=u.updateFundDetails(y,S);u.recalculateDirectFunds(y,t.yourInvestment.lumpsumDefault);let c=(null==y?void 0:y.filter(e=>(null==e?void 0:e.amount)!="0.00")).filter(e=>"Direct"===e.planType);k(r),null==O||O[t.packId];{let e={packName:null!==(i=null==t?void 0:t.packName)&&void 0!==i?i:"",packId:null!==(o=null==t?void 0:t.packId)&&void 0!==o?o:"",totalAmount:S.toString(),orderType:V,sipFundList:null==c?void 0:c.map(e=>({schemeId:e.schemeId,schemeCode:e.schemeCode,fundName:e.fundName,planType:e.planType,fundType:e.fundType,amount:Math.trunc(e.amount)})),lumpsumFundList:null==c?void 0:c.map(e=>({schemeId:e.schemeId,schemeCode:e.schemeCode,fundName:e.fundName,planType:e.planType,fundType:e.fundType,amount:Math.trunc(e.amount)}))};await a.SessionStorage.instance.schemePackData.set(JSON.stringify({...e,funds:b})),await a.SessionStorage.instance.schemePackTitle.set(t.packName),u.getGenerateDropLinkForInvestmentPack(e,d.UserJourneys.schemePack,{droplinkData:J,handleDropLinkDispatch:z},Z,d.DROPLINK_STAGES["scheme-pack"].schemePack)}a.GoogleAnalytics.recordEvent(null===(s=a.GoogleAnalyticEvents)||void 0===s?void 0:null===(l=s.InvestmentPack)||void 0===l?void 0:l.InvestmentNow(null===(n=window)||void 0===n?void 0:null===(e=n.location)||void 0===e?void 0:e.href))},ed={data:y.every(e=>0===e.weightage)?[{name:"No Data",value:1,sliceSettings:{fill:c.NAV_CHART_EMPTY_COLOR,stroke:c.NAV_CHART_COLORS.gradientColor2}}]:y.map((e,n)=>{var t;return{name:e.fundName,value:null!==(t=e.weightage)&&void 0!==t?t:0,sliceSettings:{fill:c.INVEST_CHART_COLORS[n%c.INVEST_CHART_COLORS.length],stroke:c.NAV_CHART_COLORS.gradientColor2}}}),chartCategoryField:"name",chartValueField:"value",radius:50,innerRadius:60,fontSize:12,maxWidth:500,enableAnimation:!1,enableLegend:!1},ec={className:"mf-range-slider-default range-slider",showTooltip:!0,min:I.min,max:I.max,steps:1,trackStep:10,showTracks:!0,tooltipDirection:"top",isIndianNumeralSystem:!0,showComma:!0,showTooltipOnHover:!1,enableNamePlaceValue:!1,onChange:e=>$(parseInt(K(e))),defaultValue:S},eu=e=>{if(null==Q?void 0:Q.isPANUserLoggedIn())p.pushPath(e);else{var n;null===(n=Q.triggerLogin)||void 0===n||n.call(Q,!0,{successLoginCB:()=>p.pushPath(e)})}};return l.jsxs("div",{className:"investment-schemepack-details",children:[l.jsxs("div",{className:"investment-range-indicator",children:[l.jsxs("div",{className:"investment-pack-header",children:[l.jsx("label",{className:"lbl-card-tag2 investment-title",children:"Your Investment"}),l.jsx(x.default,{value:S>0?u.convertCommaSeparated(S,0):S,onChange:e=>ee(e),errorMsg:R,showValueCommaSeperated:!0})]}),l.jsx("div",{className:"investmentpack-range-slider",children:l.jsx(o.RangeSlider,{...ec,value:S})}),l.jsxs("div",{className:"investment-pack-ranges",children:[l.jsxs("label",{className:"lbl-info investment-range",children:["â¹ ",u.convertCommaSeparated(I.min,0)]}),l.jsxs("label",{className:"lbl-info investment-range",children:["â¹ ",u.convertCommaSeparated(I.max,0)]})]}),l.jsxs("div",{className:"investmentpack-fund-details",children:[l.jsx("div",{className:"donut-and-fundname",children:l.jsx("div",{className:"investment-pack-donut",children:l.jsx(i.DonutChart,{...ed})})}),l.jsx("div",{className:"invest-ment-pack-ranges",children:null==y?void 0:y.map((e,n)=>l.jsxs("div",{className:"range-input-values",children:[l.jsxs("div",{className:"fund-name",children:[l.jsx("div",{className:"fund-color-indicator",style:{backgroundColor:c.INVEST_CHART_COLORS[n%c.INVEST_CHART_COLORS.length]}}),l.jsx("label",{className:"lbl-card-title-1 custom-fund-name",children:e.fundName})]}),l.jsxs("div",{className:"fund-perc-ranges",children:[l.jsx("input",{className:"input-range",type:"tel",value:e.weightage,onChange:e=>{let t=parseInt(e.target.value);et(n,isNaN(t)?0:t)},disabled:1===y.length}),l.jsx("span",{className:"perc",children:"%"})]}),l.jsxs("label",{className:"investment-pack-amount for-web",children:["â¹ ",e.amount?u.convertCommaSeparated(e.amount,0):""]}),l.jsx("img",{fetchPriority:"low",className:"close-fund",src:a.pathChanger("delete_fund.svg"),onClick:()=>el(n),alt:"delete fund"})]},n))})]}),l.jsx("div",{className:"investnow-button for-web",children:l.jsx(N.ButtonWithLoader,{className:"btn-primary invest-now",value:"Invest Now",isLoading:null!==(n=null==O?void 0:O[W])&&void 0!==n&&n,onClick:ea})}
1),l.jsx("div",{className:"investmentpack-details-formobile",children:y.map((e,n)=>l.jsxs("div",{className:"investment-fund-detail",children:[l.jsx("label",{className:"lbl-card-title-1 custom-fund-name",children:e.fundName}),l.jsxs("label",{className:"investment-pack-amount",children:["â¹ ",e.amount?u.convertCommaSeparated(e.amount,0):""]})]},n))})]}),(null==X?void 0:X.length)>0&&l.jsx(m.FundProgressBar,{fundprogressdata:X}),l.jsx(v.FundsInPacks,{fundDetails:y}),l.jsx("div",{className:"investnow-button for-mobile-device",children:l.jsx("button",{className:"btn-primary invest-now",onClick:ei,children:"Invest Now"})}),H?l.jsx(r.OverlayPopup,{className:"dialog-popup-default selectcategory-popup",showHeader:!0,title:"Scheme Category",onClose:()=>G(!1),content:l.jsx(f.SelectCategorySipLump,{onConfirmRedirect:e=>{U(e),u.getInvestmentPackDetails(null!=W?W:"",er);let n="/scheme-packs/".concat(W,"/packsorderpad?category=").concat(encodeURIComponent(e));sessionStorage.setItem("invPaymentScreenPath",JSON.stringify(n)),eu(n)},onCancel:()=>G(!1),selectedValue:V})}):"",T?l.jsx(r.OverlayPopup,{className:"dialog-popup-default",showHeader:!0,title:"Confirm Deletion",onClose:()=>E(!1),content:l.jsx(h.DeleteFund,{onConfirmDelete:()=>{if(null!==_&&(null==y?void 0:y.length)>2){let e=null==y?void 0:y.filter((e,n)=>n!==_),n=(null==y?void 0:y.filter((e,n)=>n===_))[0].weightage/e.length,t=null==e?void 0:e.map(e=>({...e,weightage:e.weightage+n})),l=null==t?void 0:t.reduce((e,n)=>e+n.weightage,0),s=null==(t=null==(t=null==t?void 0:t.map(e=>({...e,weightage:e.weightage/l*100})))?void 0:t.map(e=>({...e,weightage:Math.round(e.weightage)})))?void 0:t.reduce((e,n)=>e+n.weightage,0);t[t.length-1].weightage+=100-s;let a=null==t?void 0:t.map(e=>({...e,weightage:Math.round(e.weightage),amount:(Math.round(e.weightage)/100*S).toFixed(2)}));k(a),k(u.updateFundDetails(a,S)),E(!1)}else{var e;null===(e=Q.triggerLoginToast)||void 0===e||e.call(Q,{message:c.Investment_Pack_Messages.maxfunds,isSuccess:!1})}},onCancel:()=>E(!1)})}):"",L?l.jsx(r.OverlayPopup,{className:"dialog-popup-default",showHeader:!0,title:"Proceed to QuickPay",onClose:()=>A(!1),content:l.jsx(g.NavigateToQuickPay,{onConfirmtoQuickPay:()=>{if(Q.isPANUserLoggedIn())es();else{var e;null==Q||null===(e=Q.triggerLogin)||void 0===e||e.call(Q,!0,{successLoginCB:()=>{es()}})}},onCancel:()=>A(!1),scheme:F})}):""]})}},88265:function(e,n,t){var l=t(57437);n.IssuersComp=()=>{let e=[{name:"Schroder ISF Global Disruption Class X Acc",netAssets:"16.93 %"},{name:"Debt, Cash & Other current assets",netAssets:"3.54 %"}];return l.jsxs("div",{className:"issuers-comp",children:[l.jsx("div",{className:"title-holder",children:l.jsx("label",{className:"lbl-title",children:"Issuers"})}),l.jsx("div",{className:"table-container",children:l.jsxs("table",{className:"table",cellSpacing:"0",children:[l.jsx("thead",{children:l.jsxs("tr",{children:[l.jsx("th",{children:"Top 2 Issuers"}),l.jsx("th",{children:"% of Net Assets"})]})}),l.jsx("tbody",{children:e.map((n,t)=>l.jsxs("tr",{className:t===e.length-1?"last-row":"",children:[l.jsx("td",{children:n.name}),l.jsx("td",{children:n.netAssets})]},t))})]})})]})}}}]);
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.