1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2484],{2841:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var s=r(37876);r(14232);var a=r(95062),i=r.n(a),n=r(68827),l=r.n(n),d=r(38993);let c=e=>{let{initialDetails:t}=e;return(0,s.jsx)("div",{className:"mt-5 rounded-[4px] border border-[#E7E7E7]",children:(0,s.jsxs)("div",{className:"my-4 flex items-center",children:[(0,s.jsx)("div",{className:"relative ml-4 h-16 w-24",children:(0,s.jsx)(l(),{unoptimized:!0,layout:"fill",src:t.quote.variant.image})}),(0,s.jsxs)("div",{className:"ml-9",children:[(0,s.jsx)("div",{className:"font-GingerProDemi text-sm",children:t.quote.variant.name}),(0,s.jsxs)("div",{className:"font-GingerProBold text-xl",children:["â¹",(0,d.Gc)(t.quote.on_road_price)]})]})]})})};c.propTypes={initialDetails:i().object.isRequired},c.defaultProps={};let o=c},8034:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var s,a,i,n=r(14232);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)({}
1).hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(null,arguments)}let d=function(e){return n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),s||(s=n.createElement("rect",{width:23.5,height:23.5,x:.25,y:.25,fill:"#F9F9F9",stroke:"#ECECEC",strokeWidth:.5,rx:3.75})),a||(a=n.createElement("g",{fill:"#2BB780",clipPath:"url(#save-money_svg__a)"},n.createElement("path",{d:"M12.442 9.8h.708l-.141.45h-.567c-.075.483-.433.833-1.191.833l1.458 1.458h-.892l-1.45-1.458v-.55h.908c.284 0 .45-.092.525-.267h-1.433V9.8h1.417c-.067-.167-.234-.25-.509-.25h-.908V8.99h2.783l-.141.442h-.758a.74.74 0 0 1 .191.367M18.852 16.466v-.075a.95.95 0 0 0-.334-.516 1.03 1.03 0 0 0-.65-.242 1.5 1.5 0 0 0-.624.125l-3.175 1.392a1.54 1.54 0 0 0-1.326-1.35l-.908-.109s-1.233-.141-1.408-.15a2.5 2.5 0 0 1-.917-.375 4.5 4.5 0 0 0-1.575-.625 7 7 0 0 0-.583-.091.7.7 0 0 0-.05-.184.64.64 0 0 0-.2-.308.73.73 0 0 0-.317-.2 1 1 0 0 0-.3-.05h-.933a.908.908 0 0 0-.892.742v5.141c.054.221.191.412.383.534.152.09.324.14.5.141h.892a.6.6 0 0 0 .234 0 .9.9 0 0 0 .358-.191.94.94 0 0 0 .225-.342l.458.175c.434.167.833.333 1.3.483l.367.109h.116l.267.05h3.633l.35-.067c.323-.075.63-.204.909-.383l3.767-2.392a1.24 1.24 0 0 0 .508-.833v-.292a.6.6 0 0 0-.075-.117m-8.842 3.15a2.2 2.2 0 0 1-.75-.15l-1.975-.75v-3.333q.428.034.834.175.411.136.783.358a4.2 4.2 0 0 0 1.908.609c.483 0 .975.1 1.458.166h.309a.633.633 0 0 1 .55.65h-1.95a.48.48 0 0 0-.292.15.43.43 0 0 0-.108.292c0 .112.038.22.108.308a.43.43 0 0 0 .3.142h2.275q.212 0 .408-.075l3.642-1.608.258-.084a.16.16 0 0 1 .092 0 .15.15 0 0 1 .083.1.25.25 0 0 1 0 .15.22.22 0 0 1-.091.117l-3.809 2.417a1.9 1.9 0 0 1-1.008.283zm-4.475-5h.833v4.717h-.833c.008-3.4.017-4.4 0-4.708z"}),n.createElement("path",{d:"M11.725 14.942a4.35 4.35 0 1 0 0-8.7 4.35 4.35 0 0 0 0 8.7m0-7.775a3.433 3.433 0 1 1-3.433 3.434 3.44 3.44 0 0 1 3.433-3.434"}),n.createElement("path",{d:"M18.05 8.742a6.49 6.49 0 0 0-6.191-4.617h-.134a.417.417 0 1 0 0 .833h.1a5.64 5.64 0 0 1 5.192 7.817l-.275-.425-.35 1.758a.25.25 0 0 0 .375.259l1.508-.984-.575-.108a6.44 6.44 0 0 0 .35-4.533"}))),i||(i=n.createElement("defs",null,n.createElement("clipPath",{id:"save-money_svg__a"},n.createElement("path",{fill:"#fff",d:"M2 2h20v20H2z"})))))}},11638:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>q});var s,a,i=r(37876),n=r(14232),l=r(95062),d=r.n(l),c=r(89099),o=r(34969),m=r(64085),h=r(86447),u=r(38993);let x=e=>{let{initialDetails:t}=e,r=t.quote.on_road_price-t.quote.deposit;return(0,i.jsxs)("div",{className:"py-4",children:[(0,i.jsx)("div",{className:"font-GingerProDemi uppercase",children:"Your Loan details"}),(0,i.jsx)("div",{children:(0,i.jsx)("table",{className:"mt-4 w-full rounded-lg border border-[#E7E7E7] text-sm",children:(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{className:"border border-[#E7E7E7] py-[11px] pl-2 text-left font-GingerProThin",children:"Loan Amount"}),(0,i.jsxs)("td",{className:"border border-[#E7E7E7] py-[11px] pr-2 text-right font-GingerProDemi",children:["â¹",(0,u.Gc)(r)]})]}),(0,i.jsxs)("tr",{children:[(0,i.jsxs)("th",{className:"border border-[#E7E7E7] py-[11px] pl-2 text-left font-GingerProThin",children:[(0,i.jsx)("span",{children:"Downpayment"}),(0,i.jsxs)("span",{className:"ml-3 font-GingerProLight text-primary-base",children:[t.quote.deposit_percentage,"%"]})]}),(0,i.jsxs)("td",{className:"border border-[#E7E7E7] py-[11px] pr-2 text-right font-GingerProDemi",children:["â¹",(0,u.Gc)(t.quote.deposit)]})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{className:"border border-[#E7E7E7] py-[11px] pl-2 text-left font-GingerProThin",children:"EMI"}),(0,i.jsxs)("td",{className:"border border-[#E7E7E7] py-[11px] pr-2 text-right font-GingerProDemi",children:["â¹",(0,u.Gc)(t.quote.omi)]})]})]})})})]})};function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)({}
1).hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(null,arguments)}x.propTypes={initialDetails:d().object.isRequired},x.defaultProps={};let f=function(e){return n.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none"},e),s||(s=n.createElement("path",{stroke:"#2BB780",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M8.84 2.9 3.366 8.695c-.206.22-.406.653-.446.953l-.247 2.16c-.087.78.473 1.314 1.247 1.18l2.146-.366c.3-.053.72-.274.927-.5l5.473-5.794c.947-1 1.374-2.14-.1-3.533-1.466-1.38-2.58-.893-3.526.107"})),a||(a=n.createElement("path",{stroke:"#2BB780",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M7.927 3.867a4.084 4.084 0 0 0 3.633 3.434M2 15.167h12"})))},v=e=>{let{initialDetails:t,leadUUID:r}=e,s=(0,c.useRouter)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"flex items-center justify-between py-4",children:[(0,i.jsx)("div",{className:"font-GingerProDemi uppercase",children:"Personal details"}),(0,i.jsxs)("button",{type:"button",className:"flex",onClick:()=>{s.push("/post-approval?lead_uuid=".concat(r,"&initialOpen=2&isEdit=true"))},children:[(0,i.jsx)(f,{}),(0,i.jsx)("div",{className:"ml-1 font-GingerProDemi text-sm text-primary-base",children:"Edit"})]})]}),(0,i.jsxs)("div",{className:"mt-2 space-y-[12px] divide-y divide-[#D9D9D9] rounded-lg border border-[#D9D9D9]",children:[(0,i.jsxs)("div",{className:" mt-3 pl-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"Full Name"}),(0,i.jsx)("div",{className:"font-GingerProDemi",children:t.personal_detail.name})]}),(0,i.jsxs)("div",{className:"pl-3 pt-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"Mobile Number"}),(0,i.jsx)("div",{className:"font-GingerProDemi",children:t.personal_detail.contact_number})]}),(0,i.jsxs)("div",{className:"pl-3 pt-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"ALternate Contact Number"}),(0,i.jsx)("div",{className:"font-GingerProDemi",children:t.personal_detail.alternate_contact_number})]}),(0,i.jsxs)("div",{className:"pl-3 pt-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"Aadhar Linked Phone Number"}),(0,i.jsx)("div",{className:"font-GingerProDemi",children:t.personal_detail.aadhar_linked_number})]}),(0,i.jsxs)("div",{className:"pl-3 pt-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"Email ID"}),(0,i.jsx)("div",{className:"font-GingerProDemi",children:t.personal_detail.email})]}),(0,i.jsxs)("div",{className:"pl-3 pt-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"Father's Name"}),(0,i.jsx)("div",{className:"font-GingerProDemi",children:t.personal_detail.father_name})]}),(0,i.jsxs)("div",{className:"py-3 pl-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"Mother's Name"}),(0,i.jsx)("div",{className:"font-GingerProDemi",children:t.personal_detail.mother_name})]})]})]})};v.propTypes={initialDetails:d().object,leadUUID:d().string.isRequired},v.defaultProps={};var g=r(8034),j=r(17776),b=r(12783);let N=e=>{let{initialDetails:t}=e;return(0,i.jsxs)("div",{className:"flex justify-between pb-12 pt-4 text-center",children:[(0,i.jsxs)("div",{className:"h-10 w-1/3 text-center",children:[(0,i.jsx)(g.A,{className:"mx-auto"}),(0,i.jsxs)("div",{className:"font-GingerProBold text-xs",children:["â¹",(0,u.Gc)(t.quote.deposit)]}),(0,i.jsx)("div",{className:"mb-3 mt-1 font-GingerPro text-xs text-[#667285]",children:"Downpayment"})]}),(0,i.jsxs)("div",{className:"h-10 w-1/3",children:[(0,i.jsx)(j.A,{className:"mx-auto"}),(0,i.jsxs)("div",{className:"border-x-2 border-[#D5D5D5] font-GingerProBold text-xs",children:[t.quote.tenure," Months"]}),(0,i.jsx)("div",{className:"mb-3 mt-1 font-GingerPro text-xs text-[#667285]",children:"Tenure"})]}),(0,i.jsxs)("div",{className:"h-10 w-1/3",children:[(0,i.jsx)(b.A,{className:"mx-auto"}),(0,i.jsxs)("div",{className:"font-GingerProBold text-xs",children:["â¹",(0,u.Gc)(t.quote.omi)]}),(0,i.jsx)("div",{className:"mb-3 mt-1 font-GingerPro text-xs text-[#667285]",children:"EMI"})]})]})};N.propTypes={initialDetails:d().object.isRequired};let y=e=>{let{initialDetails:t,leadUUID:r}=e,s=(0,c.useRouter)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"flex items-center justify-between py-4",children:[(0,i.jsx)("div",{className:"font-GingerProDemi uppercase",children:"Address details"}),(0,i.jsxs)("button",{type:"button",className:"flex",onClick:()=>{s.push("/post-approval?lead_uuid=".concat(r,"&initialOpen=3&isEdit=true"))},children:[(0,i.jsx)(f,{}),(0,i.jsx)("div",{className:"ml-1 font-GingerProDemi text-sm text-primary-base",children:"Edit"})]})]}
1),(0,i.jsxs)("div",{className:"mt-2 space-y-[12px] divide-y divide-[#D9D9D9] rounded-lg border border-[#D9D9D9]",children:[(0,i.jsxs)("div",{className:" mt-3 pl-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"Current Address"}),(0,i.jsxs)("div",{className:"font-GingerProDemi",children:[t.current_address.address1,",",t.current_address.address2,",",t.current_address.pincode]})]}),(0,i.jsxs)("div",{className:"pl-3 pt-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"Permanent Address"}),(0,i.jsxs)("div",{className:"font-GingerProDemi",children:[t.permanent_address.address1,",",t.permanent_address.address2,",",t.permanent_address.pincode]})]}),(0,i.jsxs)("div",{className:"pl-3 pt-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"Firmâs Name (Place of Work)"}),(0,i.jsx)("div",{className:"font-GingerProDemi",children:t.current_address.firm_name})]}),(0,i.jsxs)("div",{className:"p-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"Firmâs Address"}),(0,i.jsx)("div",{className:"break-words font-GingerProDemi",children:t.current_address.firm_address})]})]})]})};y.propTypes={initialDetails:d().object,leadUUID:d().string.isRequired},y.defaultProps={};let _=e=>{let{initialDetails:t,leadUUID:r}=e,s=(0,c.useRouter)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"flex items-center justify-between py-4",children:[(0,i.jsx)("div",{className:"font-GingerProDemi uppercase",children:"Reference details"}),(0,i.jsxs)("button",{type:"button",className:"flex",onClick:()=>{s.push("/post-approval?lead_uuid=".concat(r,"&initialOpen=4&isEdit=true"))},children:[(0,i.jsx)(f,{}),(0,i.jsx)("div",{className:"ml-1 font-GingerProDemi text-sm text-primary-base",children:"Edit"})]})]}),(0,i.jsxs)("div",{className:"mt-2 space-y-[12px] divide-y divide-[#D9D9D9] rounded-lg border border-[#D9D9D9]",children:[(0,i.jsxs)("div",{className:" mt-3 pl-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"1st Referenceâs Name (Family Only)"}),(0,i.jsx)("div",{className:"font-GingerProDemi",children:t.reference_detail.reference_name_relative})]}),(0,i.jsxs)("div",{className:"pl-3 pt-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"1st Referenceâs Mobile Number"}),(0,i.jsx)("div",{className:"font-GingerProDemi",children:t.reference_detail.reference_number_relative})]}),(0,i.jsxs)("div",{className:"pl-3 pt-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"1st Referenceâs Relation"}),(0,i.jsx)("div",{className:"font-GingerProDemi",children:t.reference_detail.reference_relation_relative})]}),(0,i.jsxs)("div",{className:"pl-3 pt-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"2nd Referenceâs Name (Friend)"}),(0,i.jsx)("div",{className:"font-GingerProDemi",children:t.reference_detail.reference_name_friend})]}),(0,i.jsxs)("div",{className:"py-3 pl-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"2nd Referenceâs Mobile Number"}),(0,i.jsx)("div",{className:"font-GingerProDemi",children:t.reference_detail.reference_number_friend})]})]})]})};_.propTypes={initialDetails:d().object,leadUUID:d().string.isRequired},_.defaultProps={};let E=e=>{let{leadUUID:t,initialDetails:r}=e,s=(0,c.useRouter)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"flex items-center justify-between py-4",children:[(0,i.jsx)("div",{className:"font-GingerProDemi uppercase",children:"Bank details"}),(0,i.jsxs)("button",{type:"button",className:"flex",onClick:()=>{s.push("/post-approval?lead_uuid=".concat(t,"&initialOpen=5&isEdit=true"))},children:[(0,i.jsx)(f,{}),(0,i.jsx)("div",{className:"ml-1 font-GingerProDemi text-sm text-primary-base",children:"Edit"})]})]}),(0,i.jsxs)("div",{className:"mt-2 space-y-[12px] divide-y divide-[#D9D9D9] rounded-lg border border-[#D9D9D9]",children:[(0,i.jsxs)("div",{className:"mt-3 pl-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"Bank Name"}),(0,i.jsx)("div",{className:"font-GingerProDemi",children:r.bank_detail.bank_name})]}),(0,i.jsxs)("div",{className:"py-3 pl-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"Account Number"}),(0,i.jsx)("div",{className:"font-GingerProDemi",children:r.bank_detail.account_number})]}),(0,i.jsxs)("div",{className:"py-3 pl-3 text-sm tracking-tight",children:[(0,i.jsx)("div",{className:"font-GingerPro",children:"IFSC"}),(0,i.jsx)("div",{className:"font-GingerProDemi",children:r.bank_detail.ifsc_code})]})]})]})};E.propTypes={initialDetails:d().object,leadUUID:d().string.isRequired};var w=r(2841),P=r(73474),D=r(45105),G=r.n(D);let k=e=>{let{result:t,paymentResponse:r}=e,s=(0,c.useRouter)(),{apiClient:a}
1=(0,o.R)(),[l,d]=(0,n.useState)(0),[m,u]=(0,n.useState)(!1),p=[(0,n.useRef)(null),(0,n.useRef)(null)],f=null==t?void 0:t.quote.showroom_address,g=null==f?void 0:f.split("-"),j=async()=>{let e=window.location.href,t=await a.post("/payment/v1/",{lead_uuid:s.query.lead_uuid,redirect_url:(()=>{let e=window.location.href;return"".concat(e.replace("/post-approval/final-summary?lead_uuid=".concat(s.query.lead_uuid),"/post-approval/payment-congratulations?lead_uuid=".concat(s.query.lead_uuid)))})(),failed_redirect_url:e},{headers:{"X-ID-KEY":"2022-09-01"}});if(!t.data.data.paid){if(!m)return;new window.Cashfree(t.data.data.data.payment_session_id).redirect()}};return(0,n.useEffect)(()=>{let e=()=>{let e=window.pageYOffset,t=p.findIndex(t=>{let r=t.current;return r&&e>=r.offsetTop&&e<r.offsetTop+r.offsetHeight});-1!==t&&t!==l&&d(t)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[l]),(0,i.jsxs)(i.Fragment,{children:[["staging","localhost"].includes("production")&&(0,i.jsx)(G(),{src:"https://sdk.cashfree.com/js/ui/2.0.0/cashfree.sandbox.js",onReady:()=>{u(!0)}}),(0,i.jsx)(G(),{src:"https://sdk.cashfree.com/js/ui/2.0.0/cashfree.prod.js",onReady:()=>{u(!0)}}),(0,i.jsxs)("div",{children:[(0,i.jsx)(h.A,{}),(0,i.jsx)("div",{className:"mt-2 text-center font-GingerProBold text-xl uppercase text-[#585858]",children:"Order Summary"}),(0,i.jsxs)("div",{className:"mx-4",children:[(0,i.jsxs)("div",{className:"mt-2 flex items-start rounded-lg border border-dashed border-[#E7E7E7] bg-[#FBFBFB] px-4 py-3",children:[(0,i.jsx)(P.A,{className:"w-4"}),(0,i.jsx)("div",{className:"ml-1 font-GingerProDemi text-xs text-[#585858]",children:"This is your final order and cannot be changed."})]}),t&&(0,i.jsxs)("div",{className:"",children:[(0,i.jsx)(w.A,{initialDetails:t}),(0,i.jsx)(N,{initialDetails:t}),(0,i.jsx)("div",{className:"font-GingerProDemi uppercase",children:"Selected showroom"}),(0,i.jsx)("div",{className:" my-4 rounded-lg border border-[#E7E7E7] bg-
1offwhite text-xs text-[#585858]",children:(0,i.jsxs)("div",{className:"mx-3 my-2",children:[(0,i.jsxs)("div",{className:"font-GingerProDemi",children:[g[0]," "]}),(0,i.jsx)("div",{className:"font-GingerPro",children:g[1]})]})}),(0,i.jsx)("div",{ref:p[0],children:(0,i.jsx)(x,{initialDetails:t,leadUUID:s.query.lead_uuid})}),(0,i.jsx)("div",{ref:p[1],children:(0,i.jsx)(v,{initialDetails:t,leadUUID:s.query.lead_uuid})}),(0,i.jsxs)("div",{ref:p[2],children:[(0,i.jsx)(y,{initialDetails:t,leadUUID:s.query.lead_uuid}),(0,i.jsx)(_,{initialDetails:t,leadUUID:s.query.lead_uuid})]}),t.config.show_bank_detail_box&&(0,i.jsx)(E,{initialDetails:t,leadUUID:s.query.lead_uuid}),(0,i.jsxs)("div",{className:"mb-24 mt-4 flex items-start rounded-lg border border-dashed border-[#E7E7E7] bg-[#FBFBFB] px-4 py-3",children:[(0,i.jsx)(P.A,{className:"w-4"}),(0,i.jsx)("div",{className:"ml-1 font-GingerProDemi text-xs text-[#585858]",children:"By clicking the button below, I here by agree to above details and confirm my order."})]}),(0,i.jsx)("div",{children:(0,i.jsx)("button",{onClick:()=>{l<p.length-1&&(d(l+1),p[l+1].current.scrollIntoView({behavior:"smooth"}))},children:l===p.length-1?(0,i.jsxs)("div",{className:"fixed inset-x-0 bottom-0 bg-white px-4 py-2 font-GingerProBold text-sm",children:[!r.paid&&(0,i.jsxs)("button",{type:"button",className:"w-full rounded-md bg-primary-base py-3 uppercase text-white",onClick:j,children:["Pay â¹",t.config.booking_amount," to book your vehicle"]}),(0,i.jsx)("button",{type:"button",className:"mx-auto my-3 flex font-GingerPro text-xs text-[#585858] underline",onClick:()=>{s.push("/post-approval/congratulations")},children:"Skip"})]}):(0,i.jsx)("div",{className:"fixed inset-x-0 bottom-0 bg-white px-4 py-2 font-GingerProBold text-sm",children:(0,i.jsx)("button",{type:"button",className:"w-full rounded-md bg-primary-base py-3 uppercase text-white",children:"NEXT"})})})})]})]})]})]})};k.propTypes={result:d().object.isRequired,paymentResponse:d().object.isRequired};let q=()=>{let[e,t]=(0,n.useState)(null),r=(0,c.useRouter)();return((0,n.useEffect)(()=>{if(e||!r.query.lead_uuid)return;let s=(0,m.A)();(async()=>{let e,a;try{e=await s.get("/digital-loan/post-approval/",{params:{lead_uuid:r.query.lead_uuid}}),a=await s.get("/payment/v1/",{params:{lead_uuid:r.query.lead_uuid}})}catch(e){window.location.href="/login?".concat(new URLSearchParams({redirect:"".concat(window.location.pathname).concat(window.location.search)}).toString())}t({result:e.data.data,paymentResponse:a.data.data})})()},[e,r.query]),e)?(0,i.jsx)(k,{...e}):null}},12783:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var s,a,i,n=r(14232);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)({}
1).hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(null,arguments)}let d=function(e){return n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),s||(s=n.createElement("rect",{width:23,height:23,x:.5,y:.5,fill:"#F9F9F9",stroke:"#ECECEC",rx:3.5})),a||(a=n.createElement("path",{fill:"#2BB780",d:"M11.947 9.617v.53H10.18a.37.37 0 0 0-.367.367c0 .2.167.367.367.367h1.767v.413l-.011.038-.026.044-.046.046-.064.037a1 1 0 0 1-.071.02q-.095.004-.191.001l-.092-.001H10.18a.37.37 0 0 0-.367.367c0 .088.008.181.062.253l2.122 2.807.058.074a.366.366 0 0 0 .613-.162c.024-.085.02-.208-.037-.282l-1.756-2.323h.836a.9.9 0 0 0 .313-.056q.09-.033.177-.08c.057-.033.11-.076.16-.117l.004-.003a.9.9 0 0 0 .274-.413.8.8 0 0 0 .036-.182l.002-.02q.005-.052.004-.104v-.357h.94a.37.37 0 0 0 .367-.367.37.37 0 0 0-.367-.367h-.94v-.53h.94a.37.37 0 0 0 .367-.367.37.37 0 0 0-.367-.367H10.18a.37.37 0 0 0-.367.367c0 .2.167.367.367.367z"})),i||(i=n.createElement("path",{fill:"#2BB780",fillRule:"evenodd",d:"M4.188 8.107c0-.75.607-1.357 1.357-1.357h12.41c.75 0 1.358.608 1.358 1.357v7.757c0 .75-.608 1.357-1.358 1.357H5.545c-.75 0-1.357-.608-1.357-1.357zm13.767-.581H5.545a.58.58 0 0 0-.582.581v7.757c0 .321.26.581.582.581h12.41c.321 0 .582-.26.582-.581V8.107a.58.58 0 0 0-.582-.581",clipRule:"evenodd"})))}},17776:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var s,a,i,n=r(14232);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)({}
1).hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(null,arguments)}let d=function(e){return n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none"},e),s||(s=n.createElement("rect",{width:23.5,height:23.5,x:.75,y:.25,fill:"#F9F9F9",stroke:"#ECECEC",strokeWidth:.5,rx:3.75})),a||(a=n.createElement("g",{fill:"#2BB780",clipPath:"url(#tenure-calender_svg__a)"},n.createElement("path",{d:"M17.445 6.296h-1.242v-.542a.475.475 0 0 0-.481-.481.48.48 0 0 0-.482.48v.543H9.728v-.542a.481.481 0 1 0-.963 0v.542h-1.26a1.25 1.25 0 0 0-1.251 1.252v10.78a1.25 1.25 0 0 0 1.251 1.25h7.875a.45.45 0 0 0 .333-.14l2.87-2.825a.45.45 0 0 0 .14-.342v-8.75a1.25 1.25 0 0 0-1.278-1.225m-9.94.963h1.26v.28a.481.481 0 0 0 .963 0v-.28h5.512v.28a.481.481 0 1 0 .963 0v-.28h1.242a.29.29 0 0 1 .289.289v.813h-10.5v-.813a.29.29 0 0 1 .271-.29m-.289 11.069V9.324h10.5v6.466h-1.163a1.7 1.7 0 0 0-1.698 1.698v1.128H7.488a.29.29 0 0 1-.272-.288m9.827-1.575-1.208 1.198v-.463a.744.744 0 0 1 .735-.735z"}),n.createElement("path",{d:"M9.92 9.814H8.24a.48.48 0 0 0-.482.482v1.645a.48.48 0 0 0 .481.48h1.645a.48.48 0 0 0 .473-.48v-1.628a.48.48 0 0 0-.438-.499m-.482 1.646h-.683v-.683h.683zM13.298 9.814h-1.645a.48.48 0 0 0-.481.482v1.645a.48.48 0 0 0 .481.48h1.645a.48.48 0 0 0 .481-.48v-1.628a.483.483 0 0 0-.48-.499m-.481 1.646h-.683v-.683h.683zM9.92 13.05H8.24a.48.48 0 0 0-.482.482v1.645a.48.48 0 0 0 .481.481h1.645a.48.48 0 0 0 .473-.481v-1.645a.48.48 0 0 0-.438-.481m-.482 1.646h-.683v-.683h.683zM13.298 13.05h-1.645a.48.48 0 0 0-.481.482v1.645a.48.48 0 0 0 .481.481h1.645a.48.48 0 0 0 .481-.481v-1.645a.48.48 0 0 0-.48-.481m-.481 1.646h-.683v-.683h.683zM15.036 12.422h1.636a.48.48 0 0 0 .481-.481v-1.628a.48.48 0 0 0-.48-.481h-1.637a.48.48 0 0 0-.481.481v1.645a.48.48 0 0 0 .481.464m.481-1.645h.674v.683h-.674z"}))),i||(i=n.createElement("defs",null,n.createElement("clipPath",{id:"tenure-calender_svg__a"},n.createElement("path",{fill:"#fff",d:"M2 2h21v21H2z"})))))}},34969:(e,t,r)=>{"use strict";r.d(t,{R:()=>i});var s=r(14232),a=r(61011);let i=()=>({apiClient:(0,s.useContext)(a.z)})},45224:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var s,a,i=r(14232);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)({}
1).hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(null,arguments)}let l=function(e){return i.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48.722 18.765"},e),s||(s=i.createElement("defs",null,i.createElement("linearGradient",{id:"logo_svg__a",x1:.017,x2:.743,y1:.57,y2:.405,gradientUnits:"objectBoundingBox"},i.createElement("stop",{offset:.204,stopColor:"#333836"}),i.createElement("stop",{offset:.544,stopColor:"#2e7459"}),i.createElement("stop",{offset:.849,stopColor:"#2aa474"}),i.createElement("stop",{offset:1,stopColor:"#29b67f"})))),a||(a=i.createElement("g",{"data-name":"OTO Logo_1-03"},i.createElement("g",{"data-name":"Group 10879"},i.createElement("path",{fill:"#333836",d:"M0 10.198a9.9 9.9 0 0 1 2.86-7.2 9.52 9.52 0 0 1 7.1-2.93 9.88 9.88 0 0 1 6.893 2.4 8 8 0 0 1 2.653 6.219 9.78 9.78 0 0 1-2.889 7.158 9.64 9.64 0 0 1-7.13 2.916 9.73 9.73 0 0 1-6.879-2.414A8.01 8.01 0 0 1 0 10.198m9.824-5.33a3.92 3.92 0 0 0-3.056 1.409 5.18 5.18 0 0 0-1.242 3.558 4.06 4.06 0 0 0 1.144 2.958 3.88 3.88 0 0 0 2.9 1.172 4.03 4.03 0 0 0 3.2-1.4 5.2 5.2 0 0 0 1.21-3.539 4.1 4.1 0 0 0-1.144-2.986 4.03 4.03 0 0 0-3.012-1.172","data-name":"Path 14066"})),i.createElement("path",{fill:"#29b67f",d:"M29.215 10.198a9.9 9.9 0 0 1 2.861-7.2 9.52 9.52 0 0 1 7.1-2.93 9.88 9.88 0 0 1 6.893 2.4 8 8 0 0 1 2.651 6.223 9.78 9.78 0 0 1-2.888 7.158 10.56 10.56 0 0 1-14.01.5 8.01 8.01 0 0 1-2.607-6.151m9.823-5.33a3.92 3.92 0 0 0-3.056 1.409 5.18 5.18 0 0 0-1.242 3.558 4.06 4.06 0 0 0 1.144 2.958 3.88 3.88 0 0 0 2.9 1.172 4.03 4.03 0 0 0 3.2-1.4 5.2 5.2 0 0 0 1.214-3.544 4.1 4.1 0 0 0-1.144-2.986 4.02 4.02 0 0 0-3.016-1.167","data-name":"Path 14067"}),i.createElement("path",{fill:"#29b67f",d:"m18.94 18.431 2.64-13.593-7.143-.028.992-4.722L26.861.075l-1.064 4.763h1.073l-2.639 13.591Z","data-name":"Path 14068"}),i.createElement("g",{"data-name":"Group 10880"},i.createElement("path",{fill:"url(#logo_svg__a)",d:"M128.665 39.4s-1.117-.017-1.633-.006c-2.689.055-5.29-.452-6.881.753l-2.031-4.52c2.6-1.45 6.909-.977 9.9-.955 1.273.009 2.195.05 2.195.05","data-name":"Path 14069",transform:"translate(-112.595 -34.579)"}),i.createElement("path",{fill:"#29b67f",d:"M31.582 2.122a15 15 0 0 1 2.59-2.044H20.316l-1.067 4.76 10.345.028a10.3 10.3 0 0 1 1.988-2.744","data-name":"Path 14070"})))))}},61484:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/post-approval/final-summary",function(){return r(11638)}])},81312:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return d}});let s=r(14232),a=r(16959),i="function"==typeof IntersectionObserver,n=new Map,l=[];function d(e){let{rootRef:t,rootMargin:r,disabled:d}=e,c=d||!i,[o,m]=(0,s.useState)(!1),h=(0,s.useRef)(null),u=(0,s.useCallback)(e=>{h.current=e},[]);return(0,s.useEffect)(()=>{if(i){if(c||o)return;let e=h.current;if(e&&e.tagName)return function(e,t,r){let{id:s,observer:a,elements:i}=function(e){let t,r={root:e.root||null,margin:e.rootMargin||""},s=l.find(e=>e.root===r.root&&e.margin===r.margin);if(s&&(t=n.get(s)))return t;let a=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=a.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:a},l.push(r),n.set(r,t),t}(r);return i.set(e,t),a.observe(e),function(){if(i.delete(e),a.unobserve(e),0===i.size){a.disconnect(),n.delete(s);let e=l.findIndex(e=>e.root===s.root&&e.margin===s.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&m(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!o){let e=(0,a.requestIdleCallback)(()=>m(!0));return()=>(0,a.cancelIdleCallback)(e)}},[c,r,t,o,h.current]),[u,o,(0,s.useCallback)(()=>{m(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},86447:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var s,a=r(37876),i=r(14232),n=r(45224);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)({}
1).hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(null,arguments)}let d=function(e){return i.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,fill:"none"},e),s||(s=i.createElement("path",{stroke:"#2BB780",strokeMiterlimit:10,strokeWidth:1.5,d:"M20.97 17.33c0 .36-.08.73-.25 1.09s-.39.7-.68 1.02c-.49.54-1.03.93-1.64 1.18-.6.25-1.25.38-1.95.38-1.02 0-2.11-.24-3.26-.73s-2.3-1.15-3.44-1.98a29 29 0 0 1-3.28-2.8 28.4 28.4 0 0 1-2.79-3.27c-.82-1.14-1.48-2.28-1.96-3.41Q1 7.1 1 5.54c0-.68.12-1.33.36-1.93.24-.61.62-1.17 1.15-1.67C3.15 1.31 3.85 1 4.59 1c.28 0 .56.06.81.18.26.12.49.3.67.56l2.32 3.27c.18.25.31.48.4.7.09.21.14.42.14.61 0 .24-.07.48-.21.71-.13.23-.32.47-.56.71l-.76.79c-.11.11-.16.24-.16.4 0 .08.01.15.03.23.03.08.06.14.08.2.18.33.49.76.93 1.28.45.52.93 1.05 1.45 1.58.54.53 1.06 1.02 1.59 1.47.52.44.95.74 1.29.92.05.02.11.05.18.08.08.03.16.04.25.04.17 0 .3-.06.41-.17l.76-.75c.25-.25.49-.44.72-.56.23-.14.46-.21.71-.21.19 0 .39.04.61.13s.45.22.7.39l3.31 2.35c.26.18.44.39.55.64.1.25.16.5.16.78Z"})))},c=()=>(0,a.jsxs)("div",{className:"sticky top-0 z-30 flex h-14 items-center justify-between bg-white px-4 shadow-md",children:[(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)(n.A,{className:"w-16"})})}),(0,a.jsx)("div",{className:"flex items-center divide-x divide-gray-400",children:(0,a.jsx)("a",{href:"tel:9372081131",children:(0,a.jsxs)("div",{className:"ml-2 flex items-center p-1 pl-2 text-xs font-medium focus:outline-none",children:[(0,a.jsx)("span",{className:"sr-only",children:"Call"}),(0,a.jsx)(d,{className:"mr-2 w-6 "})]})})})]});c.propTypes={},c.defaultProps={};let o=c},89099:(e,t,r)=>{e.exports=r(84294)}},e=>{e.O(0,[8827,3474,636,6593,8792],()=>e(e.s=61484)),_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.