1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2996],{1738:()=>{},8132:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(37876);a(14232);var r=a(89099),s=a.n(r),l=a(14184),o=a(3738);a(42907);var c=a(82572);let i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{utilityClass:t=""}=e;return(0,n.jsxs)("div",{className:"subscription-explore-section ".concat(t),children:[(0,n.jsx)(c.A,{...l.Ys.SUBSCRIPTION_ICON}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("p",{className:"heading-text",children:[l.DZ.EXPLORE,"\xa0",(0,n.jsx)("span",{children:l.DZ.PAY_ADVANTAGE_TEXT})]}),(0,n.jsx)("p",{className:"info-text",children:l.DZ.SUBSCRIPTION_DISCOUNT_TEXT})]}),(0,n.jsx)(o.default,{buttonType:"secondary",type:"button",text:l.DZ.EXPLORE,handleClick:()=>{s().push("/subscription")},layoutId:3})]})}},14184:(e,t,a)=>{"use strict";a.d(t,{DZ:()=>r,UU:()=>l,Ys:()=>s});var n=a(62238);let r={BENEFITS_HEADING_TEXT:"Membership Benefits",FAQ_HEADING_TEXT:"Frequently Asked Questions",SHOW_LESS_TEXT:"Show Less",SHOW_MORE_TEXT:"Show More",BUY_NOW_TEXT:"buy now",EXTENDED_MEMBERSHIP_TEXT:"extend membership",EXPLORE_CATEGORIES_TEXT:"Explore Categories",YOUR_MEMBERSHIP_TEXT:"Your Membership -",VALID_TILL_TEXT:"Valid till ",RETRY_TEXT:"retry",TOTAL_SAVING_TEXT:"Total Saving",SOMETHING_WENT_WRONG_TEXT:"Something went wrong",PLEASE_TRY_AGAIN_TEXT:"Please try again",ALL_SAVINGS_TEXT:"All savings are applicable on convenience fees",COMING_SOON_TEXT:"coming soon",STAY_TUNED_TEXT:"Stay tuned for exciting updates!",EXPLORE_TEXT:"Meanwhile you can explore these categories to keep enjoying lowest conv. fees",EXPLORE:"explore",PAY_ADVANTAGE_TEXT:"pay advantage",SUBSCRIPTION_DISCOUNT_TEXT:"Upto 10% off on convenience fees*",FREECHARGE_AGREE_TEXT:"I agree to the",TERMS_CONDITIONS_TEXT:"Terms and Conditions "},s={SUBSCRIPTION_ICON:{src:"".concat(n.Cp,"/subscription/membership-icon.svg"),alt:"subscription icon"}},l={CONSENT:"Please accept the term and conditions"}},42769:(e,t,a)=>{"use strict";a.d(t,{A:()=>eT});var n=a(37876),r=a(14232),s=a(40123),l=a.n(s),o=a(57410),c=a.n(o),i=a(16968),d=a.n(i),u=a(65013),p=a.n(u),E=a(79959),T=a.n(E),A=a(89099),C=a(88310),f=a(16027),_=a.n(f),N=a(2171),h=a(68982),m=a(42146),S=a(13985),I=a(22846),g=a(81844),R=a(8069),x=a(67861),v=a(95118),y=a(82572);let O=e=>{let{headingText:t="",productType:a="",initialList:s=[],setList:o=c()}=e,{appConfig:i={}}=(0,g.A)(),u=i.SHOW_EXPLORE_SUBSCRIPTION?x.MW:[],p=(0,N.d4)(e=>{let{auth:t={}}=e;return t.fcWalletId}),[E,T]=(0,r.useState)(l()(s)?s:[...u,...s]),{isFetching:A=!1,response:C={},fetchIntercept:f=c()}=(0,I.A)({onSuccess:v.e});function O(e){let{deeplinkUrl:t}=e||{};if(t){let e=(0,h.LP)(t),a=e.page,n=e.objectContainingUtmDetails;if(a){let{dest:t,name:r,id:s,shortCode:l}=e[a.pageName]||{},o={action:"view",page:a.pageName,dest:t,objectContainingUtmDetails:n,couponName:r,couponId:s,shortCode:l};(0,h.Bw)(o,!0,p)}}}return((0,r.useEffect)(()=>{if(l()(E)){let e=a===x.mU.RENTALS;f(e?R.juX:R.Hfh,"GET",{},null,{additionalData:{layoutId:e?1:2}})}},[]),(0,r.useEffect)(()=>{if(!l()(C)){let e=(null==C?void 0:C.banners)?C.banners:C;o(C),l()(e)||T([...u,...e])}},[C]),A)?(0,n.jsx)("div",{className:"banners-shimmer",children:(0,n.jsxs)(m.A,{height:110,backgroundColor:"#eaeced",foregroundColor:"#ffffff",children:[(0,n.jsx)("rect",{x:"0",y:"0",height:"110",width:"90%",rx:20}),(0,n.jsx)("rect",{x:"94%",y:"0",height:"110",width:"90%",rx:20})]})}):l()(E)?null:(0,n.jsxs)("div",{className:"slider-container",children:[t&&(0,n.jsx)("h5",{children:t}),(0,n.jsx)(S.default,{wrapperClass:"banners-slider",autoplay:!0,slideGap:10,slideHeight:"110px",autoplaySpeed:5e3,slideWidth:"".concat(_()(E)>1?"90%":"100%"),showSliderIndicators:!0,children:d()(E,(e,t)=>(0,n.jsx)("div",{onClick:O.bind(void 0,e),children:(0,n.jsx)(y.A,{width:"100%",src:e.imageUrl,alt:e.imageAltText})},t))})]})};var L=a(62238);let D={HEADING_TEXT:{[x.mU.RENTALS]:"Rent via Credit Card",[x.mU.EFCC]:"Education Fees"},RENTALS_HEADING_TEXT:{[x.mU.RENTALS]:"Hassle-Free Rent Payment",[x.mU.EFCC]:"Streamlined online fee payments"},PAYMENT_COUNT_TEXT:{[x.mU.RENTALS]:e=>"Rent payment".concat(e?"s":""," done in past 7 days"),[x.mU.EFCC]:e=>"Education fees payment".concat(e?"s":""," done in past 7 days")},PAYMENT_TYPES_HEADING_TEXT:{[x.mU.RENTALS]:"New Rent Payment",[x.mU.EFCC]:"Education Fee Payment"},EXPLORE_SUBSCRIPTION_TEXT:"Explore Freecharge Pay Advantage",KNOW_MORE_TEXT:"know more",DEALS_HEADING_TEXT:{[x.mU.RENTALS]:"Deals on Rent Payment",[x.mU.EFCC]:"Deals on Education Fee payment"},SAVED_RECIPIENTS_TEXT:{[x.mU.RENTALS]:"Saved Recipients",[x.mU.EFCC]:"Saved Institutions"},VIEW_ALL_TEXT:"view all",MASKED_ACCOUNT_NUMBER:e=>"A/c No. ".concat(e),FEES_PAID_ON:(e,t)=>"".concat(e," paid on ").concat(t),MAKE_FIRST_PAYMENT:"Make your first payment",PAY_NOW_TEXT:"pay now",CLAIM_HRA_HEADING_TEXT:"Claim HRA",CLAIM_HRA_TEXT:"Claim HRA and save tax. Download Rental receipt for use. ",MORE_TEXT:"More",FAQ_TEXT:"FAQs",FAQS:"Frequently Asked Questions",ADD_RECIPIENT_TEXT:"add recipient",TO_TEXT:"To",LANDING_SUBHEADER_TEXT:"Lowest Fee | Instant Discounts",KYC_VIEW_TITLE:"Please complete your KYC",KYC_VIEW_SUB_TITLE:"Kindly complete your KYC to start using our services.",KYC_VIEW_CTA_TEXT:"Complete KYC Now",KYC_VIEW_CTA_ACTION:"",KYC_VIEW_ICON_ALT:"KYC Needs Attention"},j={BANNER_IMAGE:{[x.mU.RENTALS]:"".concat(L.Cp,"/rent-efcc/rentals/banner.png"),[x.mU.EFCC]:"".concat(L.Cp,"/rent-efcc/efcc/banner.png"),ALT_TEXT:"banner image"},SUBSCRIPTION_ICON:{src:"".concat(L.Cp,"/rent-efcc/subscription.svg"),alt:"subscription icon"},HRA_ICON:{src:"".concat(L.Cp,"/rent-efcc/hra.png"),alt:"hra icon"},MESSAGE_ICON:{src:"".concat(L.Cp,"/rent-efcc/message.svg"),alt:"message icon"},ANGLE_RIGHT_ICON:{src:"".concat(L.Cp,"/icons/angle-right.png"),alt:"next icon"},COUNT_IMAGE:{[x.mU.RENTALS]:"".concat(L.Cp,"/rent-efcc/rentals/thumbs-up.svg"),[x.mU.EFCC]:"".concat(L.Cp,"/rent-efcc/efcc/books.svg"),ALT_TEXT:"count image"}},M=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"?",a=(0,v.Zl)(e)||"";return _()(a)>0?"".concat(t).concat(a):""};var b=void 0;let U=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{headingText:t="",utilityType:a="",useCase:r="",productDetails:s=[],objectContainingUtmDetails:l={}}=e,o=(0,A.useRouter)(),{appConfig:c={}}=(0,g.A)(),i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";o.push("/".concat(a,"?useCase=").concat(r,"&subProduct=").concat(e).concat(M(l,"&")),"/".concat(a,"/").concat(r).concat(M(l)))};return(0,n.jsxs)("div",{className:"payment-types",children:[(0,n.jsx)("h5",{children:t}),(0,n.jsxs)("div",{children:[(0,n.jsx)("ul",{children:d()(s,(e,t)=>{let{productMetadata:a="",subProduct:r=""}=e,{productLabel:s="",imageURL:l="",imageURLV2:o=l}=JSON.parse(a);return(0,n.jsxs)("li",{onClick:i.bind(b,r),children:[(0,n.jsx)(y.A,{src:o,alt:(0,v.l7)(o)}),(0,n.jsx)("span",{children:s})]},"type-".concat(t+1))})}),c.SHOW_EXPLORE_SUBSCRIPTION&&(0,n.jsxs)("p",{children:[(0,n.jsx)(y.A,{...j.SUBSCRIPTION_ICON}),D.EXPLORE_SUBSCRIPTION_TEXT,(0,n.jsx)("span",{onClick:()=>{o.push("/subscription")},children:D.KNOW_MORE_TEXT})]})]})]})};var X=a(85084),P=a.n(X),w=a(91650),F=a.n(w),k=a(78074),B=a(3738),G=a(65894),H=void 0;let K=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{summaryDetails:t={},moveToModifyLandlord:a=c(),payRentHandler:s=c()}=e,{name:o="",accountNumber:i="",upiId:d="",lastPaidDetails:u={},landlordId:p,transferType:E=""}=t,{amount:T=0,date:A=""}=u||{},C=(0,r.useMemo)(()=>
1{if("ACCOUNT"===E)return"XXXX".concat(i.slice(_()(i)-4,_()(i)));if(_()(d)>18){let[e,t]=F()(d,"@"),a=Math.floor((18-_()(t)-1)/2);return"".concat(e.slice(0,a),"...").concat(e.slice(_()(e)-a,_()(e)),"@").concat(t)}return d},[t]);return(0,n.jsxs)("div",{className:"summary-container",children:[(0,n.jsxs)("div",{className:"summary-details",children:[(0,n.jsx)("h5",{children:o}),(0,n.jsx)("span",{children:!l()(u)&&T>0?D.FEES_PAID_ON((0,k.T3)(T),(0,k.fk)(A)):D.MAKE_FIRST_PAYMENT}),(0,n.jsxs)("p",{children:[D.TO_TEXT," -",(0,n.jsx)(y.A,{src:"ACCOUNT"===E?x.xD[t.bankName]||x.xD.DEFAULT:"".concat(L.Cp,"/rentals/upi-logo.svg"),alt:"ACCOUNT"===E?"bank logo":"upi logo"}),"ACCOUNT"===E?D.MASKED_ACCOUNT_NUMBER(C):C]})]}),(0,n.jsxs)("div",{className:"summary-actions",children:[(0,n.jsx)(y.A,{...j.ANGLE_RIGHT_ICON,onClick:a.bind(H,p)}),(0,n.jsx)(B.default,{type:"button",buttonType:"primary",text:D.PAY_NOW_TEXT,handleClick:s.bind(H,t)})]})]})},Y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{utilityType:t="",headingText:a="",showAll:s=!1,summaryResponse:l=[],setShowAll:o=c(),payRentHandler:i=c(),moveToModifyLandlord:u=c()}=e,p=(0,A.useRouter)(),E=(0,r.useMemo)(()=>P()(l,0,3),[l]);return(0,r.useEffect)(()=>{var e;o((null==p||null==(e=p.query)?void 0:e.viewAll)==="true")},[null==p?void 0:p.query]),(0,n.jsxs)("div",{className:"saved-summary-container",children:[(0,n.jsx)("h5",{children:a}),_()(l)>3&&(0,n.jsx)("span",{onClick:()=>{p.push("/".concat(t,"?viewAll=true"),void 0,{shallow:!0})},className:"view-all",children:D.VIEW_ALL_TEXT}),d()(E,(e,t)=>(0,n.jsx)(K,{summaryDetails:e,moveToModifyLandlord:u,payRentHandler:i},"saved-summary-".concat(t+1))),(0,n.jsx)(G.default,{wrapperClass:"saved-summary-pop-up",isPopUpShown:s,hideCloseButton:!0,popUpContent:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"pop-up-header",children:[(0,n.jsx)(y.A,{onClick:()=>{p.back()},className:"back-icon",src:"".concat(L.Cp,"/header/angle-left.png")}),(0,n.jsx)("h4",{children:a})]}),d()(l,(e,t)=>(0,n.jsx)(K,{summaryDetails:e,moveToModifyLandlord:u,payRentHandler:i},"saved-summary-".concat(t+1)))]})})]})};var W=a(25445);let V=e=>{let{faqsData:t={}}=e,[a,s]=(0,r.useState)(null),l=(e,t)=>{t?s(null):s(e.id)};return(0,n.jsxs)("div",{className:"faq-container",children:[(0,n.jsx)("h3",{className:"heading",children:D.FAQS}),d()(t,(e,t)=>(0,n.jsx)(W.A,{accordionData:{id:t},isOpened:a===t,upperComponent:(0,n.jsx)("p",{children:e.heading}),lowerComponent:(0,n.jsx)("p",{children:e.description}),accordionToggleHandler:l},t))]})};var q=a(54935),Z=a.n(q),Q=a(93007),J=a.n(Q),z=a(10239),$=a.n(z),ee=a(93072);let et={REFERRAL_CODE:"Enter Referral Code"},ea={GOT_REFERRAL_CODE:"Got a Referral Code?",REFERRAL_APPLIED:"Referral Applied",HAVE_REFERRAL_CODE:"Have a Referral Code?",SUBMIT_TEXT:"submit",EDIT_TEXT:"edit"};var en=a(30713);let er=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{response:(null==e?void 0:e.data)||{},additionalData:t}},es=function(){var e,t,a,n,r,s,l,o;let c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{error:{errorCode:(null==c||null==(a=c.response)||null==(t=a.data)||null==(e=t.error)?void 0:e.errorCode)||(null==c||null==(n=c.response)?void 0:n.status)||0,errorMessage:(null==c||null==(l=c.response)||null==(s=l.data)||null==(r=s.error)?void 0:r.errorMessage)||(null==c||null==(o=c.response)?void 0:o.statusText)||""},additionalData:i}},el={RENTALS:"payRent",EDUCATION_FEE_CC:"EFCC"};a(51468);var eo=a(62462),ec=a(93359);let ei=e=>{(0,ec.MZ)(eo.Ye.PAGE_LOAD,{pageName:eo.hb.onAutoApplyReferralCode(e)})},ed=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{csrf:t="",imsId:a="",productType:s="",referralCode:l="",isCodeApplied:o=!1,fetchIntercept:i=c(),referralDetails:d={},omnitureProductType:u=""}=e,p=(0,N.wA)(),[E,T]=(0,r.useState)(l||d.referCode||""),[A,C]=(0,r.useState)(""),[f,h]=(0,r.useState)(o),m=(0,r.useRef)(null),S=(0,r.useMemo)(()=>({value:E,onChange:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",{current:t}=m,a=t.querySelector("input");T(e),C(""),6!==_()(e)||Z()(a)||a.blur()}}),[E]);return((0,r.useEffect)(()=>{h(o),o&&p(en.o.setReferralCode(E))},[o,d]),f)?(0,n.jsxs)("div",{className:"referral-code-pop-up code-applied",children:[(0,n.jsx)(y.A,{src:"".concat(L.Cp,"/referral/referral_applied.png"),alt:"applied image"}),(0,n.jsx)("h4",{children:d.codeApplicationMessage}),(0,n.jsx)("p",{children:d.goalCompletionMessage}),(0,n.jsx)("span",{onClick:()=>{h(!1),(0,ec.MZ)(eo.Ye.LINK_CLICK,{pageName:eo.hb.onEditBtnClick(u)})},children:ea.EDIT_TEXT})]}):(0,n.jsxs)("div",{className:"referral-code-pop-up",ref:m,children:[(0,n.jsx)(y.A,{src:"".concat(L.Cp,"/referral/referral_illustration.png"),alt:"illustration image"}),(0,n.jsx)("h4",{children:ea.HAVE_REFERRAL_CODE}
1),(0,n.jsxs)("form",{onSubmit:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.preventDefault(),i(R.srT,"POST",{csrfRequestIdentifier:t},{productType:s,imsId:a,referCode:E,referralMode:"MANUAL"},{additionalData:{slug:"referral-code"},showLoader:!0,showToast:!0,isRawData:!0}),(0,ec.MZ)(eo.Ye.LINK_CLICK,{pageName:eo.hb.onReferralSubmitClick(u)})},children:[(0,n.jsx)(ee.default,{input:S,placeholder:et.REFERRAL_CODE,maxLength:6}),(0,n.jsx)(B.default,{handleMouseDown:e=>e.preventDefault(),text:ea.SUBMIT_TEXT,type:"submit",buttonType:"primary",isDisabled:6>_()(E)}),A&&(0,n.jsx)("span",{className:"error-message",children:A})]})]})},eu=function(){var e,t,a,s;let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{productType:i="",executeFlow:d=!0}=o,u=el[i],p=(0,N.wA)(),E=(0,A.useRouter)(),T=(0,N.d4)(e=>{var t;let{app:a}=e;return(null==(t=a.config)?void 0:t.REFERRAL_PRODUCT_TYPES)||[]}),C=(0,N.d4)(e=>{let{auth:t={}}=e;return t.fcWalletId}),f=(0,N.d4)(e=>{let{auth:t={}}=e;return t.csrfRequestIdentifierToken}),_=(0,N.d4)(e=>{let{referral:t={}}=e;return t.referralCode}),h=(0,N.d4)(e=>{let{referral:t={}}=e;return t.referralStateResponse}),m=(0,N.d4)(e=>{var t;let{app:a={}}=e;return(null==(t=a.platformDetails)?void 0:t.fcVersion)||""}),[S,g]=(0,r.useState)(()=>{var e;let t=null==h||null==(e=h.data)?void 0:e.state;return!!v.m0&&!l()(h)&&("NI"===t||"I"===t)}),[x,O]=(0,r.useState)(!l()(h)&&(null==h||null==(e=h.data)?void 0:e.state)==="I"),[D,j]=(0,r.useState)(l()(h)?{}:{referCode:(null==h||null==(t=h.data)?void 0:t.referCode)||"",codeApplicationMessage:(null==h||null==(a=h.data)?void 0:a.codeApplicationMessage)||"",goalCompletionMessage:(null==h||null==(s=h.data)?void 0:s.goalCompletionMessage)||""}),[M,b]=(0,r.useState)(!1),[U]=(0,r.useState)(J()(T)&&$()(T,i)),{fetchIntercept:X=c(),response:P={},error:w={},abortIntercept:F=c()}=(0,I.A)({onSuccess:er,onError:es,useSlugAsResponseKey:!0});return((0,r.useEffect)(()=>{let e=(0,v.AX)(decodeURIComponent((null==E?void 0:E.asPath)||""),!0);if(!l()(e)){let{refer_code:t=""}=e;t&&p(en.o.setReferralCode(t))}return d&&v.m0&&Number(m)>363&&U&&l()(h)&&X((0,R.EMF)(i),"GET",{csrfRequestIdentifier:f},null,{additionalData:{slug:"referral-state"}}),()=>{"function"==typeof F&&F()}},[]),(0,r.useEffect)(()=>{if(l()(P.referralStateSuccess))l()(w.referralStateError)||g(!0);else{var e,t,a,n,r;if(null==(e=P.referralStateSuccess)?void 0:e.success){let e=(null==(a=P.referralStateSuccess)||null==(t=a.data)?void 0:t.state)||"",s=()=>{_?(X(R.srT,"POST",{csrfRequestIdentifier:f},{productType:i,imsId:C,referCode:_,referralMode:"AUTOAPPLY"},{additionalData:{slug:"referral-code"},showLoader:!0,showToast:!0,isRawData:!0}),ei(i)):g(!0)};switch(e){case"NI":s(),(0,ec.MZ)(eo.Ye.PAGE_LOAD,{pageName:eo.hb.onNotInitiatedReferralCode(u)});break;case"I":{let e=(null==(r=P.referralStateSuccess)||null==(n=r.data)?void 0:n.referCode)||"";_&&_!==e?s():X((0,R.ky)(i),"GET",{csrfRequestIdentifier:f},null,{additionalData:{slug:"referral-expiry"}});break}case"S":(0,ec.MZ)(eo.Ye.PAGE_LOAD,{pageName:eo.hb.onReferralStateSuccess(u)});break;case"F":(0,ec.MZ)(eo.Ye.PAGE_LOAD,{pageName:eo.hb.onReferralStateFailure(u)})}p(en.o.setReferralStateResponse(P.referralStateSuccess))}}},[P.referralStateSuccess,w.referralStateError]),(0,r.useEffect)(()=>{if(l()(P.referralExpirySuccess))l()(w.referralExpiryError)||g(!0);else{var e,t,a,n,r,s,o,c;let l=(null==(t=P.referralExpirySuccess)||null==(e=t.data)?void 0:e.isReferCodeExpired)||!1;l&&_?(X(R.srT,"POST",{csrfRequestIdentifier:f},{productType:i,imsId:C,referCode:_,referralMode:"AUTOAPPLY"},{additionalData:{slug:"referral-code"},showLoader:!0,showToast:!0,isRawData:!0}),ei(u)):(g(!0),O(!l),j(l?{}:{referCode:(null==(n=P.referralExpirySuccess)||null==(a=n.data)?void 0:a.referCode)||"",codeApplicationMessage:(null==(s=P.referralExpirySuccess)||null==(r=s.data)?void 0:r.codeApplicationMessage)||"",goalCompletionMessage:(null==(c=P.referralExpirySuccess)||null==(o=c.data)?void 0:o.goalCompletionMessage)||""}),p(en.o.updateReferralStateResponse(l?"NI":"I")))}},[P.referralExpirySuccess,w.referralExpiryError]),(0,r.useEffect)(()=>
1{if(l()(P.referralCodeSuccess))l()(w.referralCodeError)||g(!0);else{var e,t,a,n,r,s,o;if(null==(e=P.referralCodeSuccess)?void 0:e.success){let e=(null==(a=P.referralCodeSuccess)||null==(t=a.data)?void 0:t.success)||!1;g(!0),O(e),j(e?{codeApplicationMessage:(null==(r=P.referralCodeSuccess)||null==(n=r.data)?void 0:n.codeApplicationMessage)||"",goalCompletionMessage:(null==(o=P.referralCodeSuccess)||null==(s=o.data)?void 0:s.goalCompletionMessage)||""}:{}),p(en.o.updateReferralStateResponse("I")),(0,ec.MZ)(eo.Ye.PAGE_LOAD,{pageName:eo.hb.onReferralSuccessfulSubmission(u),referralCode:_})}}},[P.referralCodeSuccess,w.referralCodeError]),S&&U)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"referral-section",onClick:()=>{b(!0),x?(0,ec.MZ)(eo.Ye.LINK_CLICK,{pageName:eo.hb.onReferralCodeAppliedClick(u)}):(0,ec.MZ)(eo.Ye.LINK_CLICK,{pageName:eo.hb.onGotReferralCodeClick(u)}),(0,ec.MZ)(eo.Ye.PAGE_LOAD,{pageName:eo.hb.onReferralPopUpOpen(u)})},children:x?(0,n.jsxs)(n.Fragment,{children:[ea.REFERRAL_APPLIED," ",(0,n.jsx)(y.A,{src:"".concat(L.Cp,"/referral/green_tick.svg")})]}):ea.GOT_REFERRAL_CODE}),(0,n.jsx)(G.default,{isPopUpShown:M,popUpContent:M&&(0,n.jsx)(ed,{csrf:f,imsId:C,productType:i,referralCode:_,isCodeApplied:x,fetchIntercept:X,referralDetails:D,omnitureProductType:u}),closeClickHandler:()=>{var e;b(!1),(0,ec.MZ)(eo.Ye.LINK_CLICK,{pageName:eo.hb.onCloseBtnClick(u),referralCode:e})},layoutId:3})]}):null};var ep=a(30616);a(1738);var eE=void 0;let eT=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{productType:t="",popUpWrapperClass:a="",transactionsCount:s={},summaryResponse:o={},objectContainingUtmDetails:i={},bannersList:u=[],faqsData:E=[],productDetails:f=[],setBannersList:_=c(),setTransactionsCount:N=c(),renderPayNowComponent:h=c(),renderKycDetailsComponent:m=c(),tilesSection:S=null,isKycUser:g=!1}=e,b=(0,r.useMemo)(()=>{let e=t===x.mU.RENTALS;return{utilityType:e?"rentals":"education-fees-cc",addUseCase:e?"addLandlord":"add-provider",modifyUseCase:e?"modifyLandlord":"modify-provider",transactionKey:x.RW[t],headingText:D.HEADING_TEXT[t],topBannerHeadingText:D.RENTALS_HEADING_TEXT[t],topBannerImageSrc:j.BANNER_IMAGE[t],transactionCountText:D.PAYMENT_COUNT_TEXT[t],dealsViewHeadingText:D.DEALS_HEADING_TEXT[t],paymentTypesHeadingText:D.PAYMENT_TYPES_HEADING_TEXT[t],transactionCountImage:j.COUNT_IMAGE[t],savedHeadingText:D.SAVED_RECIPIENTS_TEXT[t]}},[t]),X=(0,A.useRouter)(),P=(0,r.useRef)(""),w=(0,r.useRef)(null),[F,k]=(0,r.useState)(!0),[H,K]=(0,r.useState)(!1),[W,q]=(0,r.useState)(()=>{let e=t===x.mU.RENTALS?ep.hM.RENTALS_LANDLORD_ID:ep.hM.EFCC_LANDLORD_ID,a=(0,v._9)(e,"");if(a){let{landlordId:t,serviceName:n=""}=JSON.parse(a);(0,v.sN)(e);let r=p()(o,e=>{let{landlordId:a=""}=e;return a===t});if(P.current=n,!l()(r))return{view:"payment",popUpData:r}}return{}}),[Z,Q]=(0,r.useState)(()=>{if(l()(s))return{};let e=s[b.transactionKey];return l()(e)?{}:{actual:Number(e),format:(0,v.Aw)(e)}}),{response:J={},fetchIntercept:z=c()}=(0,I.A)({onSuccess:v.e}),$=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e){let{utilityType:a=""}=b;q({view:e,popUpData:t}),X.push("/".concat(a,"?view=").concat(e).concat(M(i,"&")),void 0,{shallow:!0})}else q({}),X.back()};return(0,r.useEffect)(()=>
1{l()(Z)&&z(R.UIp,"GET")},[]),(0,r.useEffect)(()=>{if(F){let e=()=>{k(!1)},t=setTimeout(()=>{let{current:e}=w,{top:t=0}=e.getBoundingClientRect();window.scrollTo({left:0,top:t,behavior:"smooth"})},3e3);return window.addEventListener("touchstart",e),()=>{clearTimeout(t),window.removeEventListener("touchstart",e)}}},[F]),(0,r.useEffect)(()=>{if(!l()(J)&&J.hasOwnProperty(b.transactionKey)){let e=J[b.transactionKey]||"0";N(J),Q({actual:Number(e),format:(0,v.Aw)(e)})}},[J]),(0,r.useEffect)(()=>{let e=(null==X?void 0:X.query)||{};if(e.hasOwnProperty("view")&&l()(W)){let{utilityType:e=""}=b;X.replace("/".concat(e).concat(M(i)),void 0,{shallow:!0})}else e.hasOwnProperty("view")||l()(W)||q({})},[null==X?void 0:X.query]),(0,n.jsxs)(C.default,{headerText:b.headingText,subHeaderText:D.LANDING_SUBHEADER_TEXT,layoutId:4,handleGoBackClick:()=>{H?X.back():(0,v.eO)()},renderMoreOptions:(0,n.jsx)(eu,{productType:t}),customAppLayoutClass:"rent-efcc-wrapper ".concat(T()(t)),children:[(0,n.jsxs)("div",{className:"top-section",children:[(0,n.jsx)("h2",{children:b.topBannerHeadingText}),(0,n.jsx)("ul",{children:d()(x.Ii,(e,t)=>(0,n.jsx)("li",{children:e},"benefit-".concat(t+1)))}),(0,n.jsx)(y.A,{src:b.topBannerImageSrc,alt:j.BANNER_IMAGE.ALT_TEXT})]}),(0,n.jsxs)("div",{className:"content-container",children:[(0,n.jsx)("p",{className:"payment-count ".concat(l()(Z)?"":"show"),children:!l()(Z)&&(0,n.jsxs)(n.Fragment,{children:[Z.actual>0&&(0,n.jsx)(y.A,{src:b.transactionCountImage,alt:j.COUNT_IMAGE.ALT_TEXT}),(0,n.jsx)("b",{children:Z.format}),b.transactionCountText(Z.actual>0)]})}),(0,n.jsxs)("div",{className:"content-section",ref:w,children:[S,!l()(f)&&(0,n.jsx)(U,{headingText:b.paymentTypesHeadingText,utilityType:b.utilityType,useCase:b.addUseCase,productDetails:f,objectContainingUtmDetails:i}),!l()(o)&&(g?(0,n.jsx)(Y,{utilityType:b.utilityType,headingText:b.savedHeadingText,showAll:H,summaryResponse:o,setShowAll:K,payRentHandler:$.bind(eE,"payment"),moveToModifyLandlord:e=>{let{utilityType:t="",modifyUseCase:a=""}=b;X.push("/".concat(t,"?useCase=").concat(a,"&landlordId=").concat(e).concat(M(i,"&")),"/".concat(t,"/").concat(a,"?landlordId=").concat(e).concat(M(i,"&")))}}):(0,n.jsxs)("div",{className:"kyc-attention-view",children:[(0,n.jsx)(y.A,{src:"".concat(L.Cp,"/mutualFunds/error.png"),alt:D.KYC_VIEW_ICON_ALT}),(0,n.jsx)("p",{children:D.KYC_VIEW_SUB_TITLE}),(0,n.jsx)(B.default,{layoutId:3,text:D.KYC_VIEW_CTA_TEXT,buttonType:"primary",type:"button",handleClick:$.bind(eE,"kycDetails")})]})),(0,n.jsx)(O,{productType:t,headingText:b.dealsViewHeadingText,initialList:u,setList:_}),x.Ie&&(0,n.jsxs)("div",{className:"hra-section",children:[(0,n.jsx)(y.A,{...j.HRA_ICON}),(0,n.jsx)("h6",{children:D.CLAIM_HRA_HEADING_TEXT}),(0,n.jsxs)("p",{children:[D.CLAIM_HRA_TEXT,(0,n.jsx)("span",{children:D.MORE_TEXT})]})]}),!l()(E)&&(0,n.jsxs)("span",{onClick:$.bind(eE,"faqs",E),className:"faq-action",children:[(0,n.jsx)(y.A,{...j.MESSAGE_ICON}),D.FAQ_TEXT]})]})]}),g?(0,n.jsx)("div",{className:"cta-section",children:(0,n.jsx)(B.default,{text:D.ADD_RECIPIENT_TEXT,handleClick:()=>{let{utilityType:e="",addUseCase:t}=b;X.push("/".concat(e,"?useCase=").concat(t).concat(M(i,"&")),"/".concat(e,"/").concat(t).concat(M(i)))},buttonType:"primary",type:"button"})}):null,(0,n.jsx)(G.default,{isPopUpShown:!l()(W),popUpContent:(()=>{let{view:e="",popUpData:t={}}=W;switch(e){case"faqs":return(0,n.jsx)(V,{faqsData:t});case"payment":return h(t,P.current);case"kycDetails":return m();default:return null}})(),closeClickHandler:$.bind(eE,""),wrapperClass:a,closeBtnPath:"".concat(L.Cp,"/popUp/close_pop_up_2.png")})]})}},42907:()=>{},51468:()=>{},67861:(e,t,a)=>{"use strict";a.d(t,{Ie:()=>o,Ii:()=>s,MW:()=>i,RW:()=>c,mU:()=>r,xD:()=>l});var n=a(62238);let r={RENTALS:"RENTALS",EFCC:"EDUCATION_FEE_CC"},s=["Pay to any Bank A/c or UPI Id","Earn Reward points","45 days ZERO interest payment cycle"],l={"STATE BANK OF INDIA":"".concat(n.Cp,"/accountSettings/sbi.png"),"PUNJAB NATIONAL BANK":"".concat(n.Cp,"/accountSettings/pnb.png"),"KOTAK MAHINDRA BANK LIMITED":"".concat(n.Cp,"/accountSettings/kotak.png"),"ICICI BANK LIMITED":"".concat(n.Cp,"/accountSettings/icici.png"),"HDFC BANK":"".concat(n.Cp,"/accountSettings/hdfc.png"),"CITI BANK":"".concat(n.Cp,"/accountSettings/citi.png"),"BANK OF BARODA":"".concat(n.Cp,"/accountSettings/bob.png"),"BANK OF BARODA - CORPORATE BANKING":"".concat(n.Cp,"/accountSettings/bob.png"),"BANK OF BARODA - RETAIL BANKING":"".concat(n.Cp,"/accountSettings/bob.png"),"AXIS BANK":"".concat(n.Cp,"/accountSettings/axis.png"),DEFAULT:"".concat(n.Cp,"/accountSettings/bank-accounts.png")},o=!1,c={[r.RENTALS]:"LAST_SEVEN_DAYS_TRANSACTION_COUNT",[r.EFCC]:"LAST_SEVEN_DAYS_EDUCATION_TRANSACTION_COUNT"},i=[{imageUrl:"https://fcpress.freecharge.in/api/mediamanager/media/k85jyMByu.png",imageAltText:"Explore Subscription",deeplinkUrl:"/subscription"}]}}]);
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.