PageSourceSearch

https://asset-cdn.zameen.com/_next/static/chunks/4305-ef15f0f2bc883139.js

js zameen.com collected 2026-09-24 09:30:26 UTC 15,781 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="11eaac53-56ec-4a02-80b2-e03a5bd71182",e._sentryDebugIdIdentifier="sentry-dbid-11eaac53-56ec-4a02-80b2-e03a5bd71182")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4305],{84453:function(e,a,t){"use strict";t.d(a,{Z:function(){return P}});var l=t(20567),n=t(14932),o=t(47702),r=t(85893),i=t(67294),c=t(59922),s=t(18718),d=t(5352),_=t(69109),u=t(74231),m=t(14636),p=t(50546),h=t(5233),x=t(1795),A=t(20512);t(96486);var b=t(2896),C=t(41053),L=t(41983),N=t.n(L),f=t(39969),y=t(86248);function g(e){let{onApplySuccess:a,loanCalculations:t,bankId:o,eventCategory:c,eventAction:d,label:_,productName:L="",bankName:g=""}=e,I=(0,f.Z)(),[j,E]=(0,i.useState)([]),[T,Z]=(0,i.useState)(""),{t:k}=(0,h.$G)("contact-form"),{t:O}=(0,h.$G)("home-loan");(0,i.useEffect)(()=>{v()},[]);let v=async()=>{let e=await (0,p.Ap)();e&&E(e)},P=e=>a=>{e("cnic",a.target.value)},S=async e=>{(0,y.BX)(c,d,L&&g?"".concat(_," - ").concat(g,", ").concat(L):_),Z("");let r=await (0,p.hp)((0,n._)((0,l._)({},e,t),{bankId:o}));(null==r?void 0:r.status)==200?a(e):Z(O("SORRY_WRONG"))};return(0,r.jsx)(A.J9,{initialValues:{email:"",name:"",phoneNumber:"",cnic:"",city:null,salary:b.M2[0]},validationSchema:u.Ry().shape({email:u.Z_().required(k("VALIDATIONS.EMAIL.REQUIRED")).test("",k("VALIDATIONS.EMAIL.MATCH"),function(e){return!!/^([a-zA-Z_])([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(e)}),name:u.Z_().matches(/^[A-Za-z ]+$/,k("VALIDATIONS.NAME.CONDITION")).required(k("VALIDATIONS.NAME.REQUIRED")).min(4,k("ATLEAST_4_CHARS")).max(30,k("VALIDATIONS.NAME.MAX")),phoneNumber:u.Z_().required(k("PHONE_REQUIRED")).matches(/^((\+92)?(0092)?(92)?(0)?)(3)([0-9]{2})((-?)|( ?))([0-9]{7})$/gm,k("INVALID_PHONE")),cnic:u.Z_().required(k("CNIC_REQUIRED")).matches(/^[0-9+]{5}-?[0-9+]{7}-?[0-9]{1}$/,k("INV_CNIC_FORMAT")),city:u.Ry().nullable().required(k("CITY_REQUIRED")).test("city",k("CITY_REQUIRED"),e=>!!(null==e?void 0:e.city_id)),salary:u.Ry().nullable().required(k("SALARY_RANGE_REQ"))}),onSubmit:S,children:e=>{let{values:a,handleChange:t,handleSubmit:l,setFieldValue:n,errors:o,touched:i,handleBlur:c}=e;return(0,r.jsxs)("form",{onSubmit:l,children:[T&&I&&(0,r.jsx)("div",{style:{color:"red",borderWidth:1,borderColor:"red",borderStyle:"solid",marginTop:8,marginBottom:8,padding:4,borderRadius:2,textAlign:"center"},children:T}),(0,r.jsx)(x.Z,{labelText:k("CONTACT_FIELDS.ALT_NAME"),inputType:"text",name:"name",id:"name",placeholderText:k("CONTACT_FIELDS.ALT_NAME_PLC_HLDR"),value:a.name,error:o.name,touched:i.name,onChange:t,onBlur:c,inputClass:N().input}),(0,r.jsx)(x.Z,{labelText:k("CONTACT_FIELDS.EMAIL"),inputType:"text",name:"email",id:"email",placeholderText:k("CONTACT_FIELDS.EMAIL_PLC_HLDR"),value:a.email,onChange:t,onBlur:c,error:o.email,touched:i.email,inputClass:N().input}),(0,r.jsx)(x.Z,{labelText:k("CONTACT_FIELDS.PHONE"),inputType:"text",name:"phoneNumber",id:"phone",placeholderText:k("CONTACT_FIELDS.PHONE_PLC_HLDR"),value:a.p
1honeNumber,onChange:t,onBlur:c,error:o.phoneNumber,touched:i.phoneNumber,inputClass:N().input}),(0,r.jsx)(x.Z,{labelText:k("CNIC"),inputType:"text",name:"cnic",id:"cnic",placeholderText:k("PLC_HLDR_CNIC"),value:a.cnic,onChange:P(n),onBlur:c,error:o.cnic,touched:i.cnic,inputClass:N().input}),(0,r.jsxs)("div",{className:"grid",style:{"--template":I?"1fr":"1fr 1fr",gap:I&&"0px"},children:[(0,r.jsx)(x.Z,{labelText:k("CITY"),error:o.city,touched:i.city,children:(0,r.jsx)(m.Z,{placeholder:k("SELECT_CITY"),label:k("CITY"),value:a.city,options:j,getOptionLabel:e=>null==e?void 0:e.city_title.en,getOptionValue:e=>null==e?void 0:e.city_id,onChange:e=>{n("city",e)},selectClass:"".concat(C.selectField," ").concat(N().select),reactSelectClass:C.selectDesktop,onBlur:c("city"),isSearchable:!0,bottomSheetBodyClass:N().bottomSheetCityBody})}),(0,r.jsx)(x.Z,{labelText:k("SALARY"),error:o.salary,touched:i.salary,children:(0,r.jsx)(m.Z,{value:a.salary,label:k("SALARY"),options:b.M2,onChange:e=>n("salary",e),getOptionValue:e=>null==e?void 0:e.value,selectClass:"".concat(C.selectField," ").concat(N().select),reactSelectClass:C.selectDesktop})})]}),T&&!I&&(0,r.jsx)("div",{style:{color:"red",borderWidth:1,borderColor:"red",borderStyle:"solid",marginTop:8,marginBottom:8,padding:4,borderRadius:2,textAlign:"center"},children:T}),(0,r.jsxs)("div",{className:"grid",style:{"--template":I?"1fr":"1fr 1fr",gap:I&&"0px"},children:[(0,r.jsx)("div",{}),(0,r.jsx)(s.Z,{type:"submit",variant:"primary",size:"lg",block:!0,children:O("APPLY_FOR_LOAN")})]})]})}})}var I=e=>(0,r.jsxs)("svg",(0,n._)((0,l._)({width:"100",height:"126",viewBox:"0 0 100 126"},e),{children:[(0,r.jsx)("path",{d:"M923.06,654.5l3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.314,4.119V555.428H923.053V654.5Z",transform:"translate(-913.189 -532.267)",fill:"#3c6f7a",opacity:"0.16"}),(0,r.jsx)("path",{d:"M823.247,532.4l3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.323,4.131,3.375-4.131,3.314,4.119V431.659H823.24V532.4Z",transform:"translate(-821.004 -417.941)",fill:"#e7f3ef"}),(0,r.jsx)("path",{d:"M-8768.163-224.657a1.432,1.432,0,0,1-1.433-1.43,1.431,1.431,0,0,1,1.433-1.428h10.034a1.429,1.429,0,0,1,1.43,1.428,1.429,1.429,0,0,1-1.43,1.43Zm-50.736,0a1.431,1.431,0,0,1-1.432-1.43,1.43,1.43,0,0,1,1.432-1.428h24.959a1.429,1.429,0,0,1,1.43,1.428,1.429,1.429,0,0,1-1.43,1.43Zm50.736-6.315a1.431,1.431,0,0,1-1.433-1.428,1.432,1.432,0,0,1,1.433-1.43h10.034a1.429,1.429,0,0,1,1.43,1.43,1.429,1.429,0,0,1-1.43,1.428Zm-50.736,0a1.43,1.43,0,0,1-1.432-1.428,1.431,1.431,0,0,1,1.432-1.43h22.331a1.432,1.432,0,0,1,1.433,1.43,1.431,1.431,0,0,1-1.433,1.428Zm50.736-12.631a1.43,1.43,0,0,1-1.433-1.428,1.431,1.431,0,0,1,1.433-1.428h10.034a1.429,1.429,0,0,1,1.43,1.428,1.427,1.427,0,0,1-1.43,1.428Zm-50.736,0a1.429,1.429,0,0,1-1.432-1.428,1.43,1.43,0,0,1,1.432-1.428h20.3a1.429,1.429,0,0,1,1.43,1.428,1.427,1.427,0,0,1-1.43,1.428Zm50.736-6.313a1.432,1.432,0,0,1-1.433-1.43,1.431,1.431,0,0,1,1.433-1.428h10.034a1.429,1.429,0,0,1,1.43,1.428,1.429,1.429,0,0,1-1.43,1.43Zm-50.736,0a1.431,1.431,0,0,1-1.432-1.43,1.43,1.43,0,0,1,1.432-1.428h16.363a1.431,1.431,0,0,1,1.433,1.428,1.432,1.432,0,0,1-1.433,1.43Zm50.736-6.315a1.431,1.431,0,0,1-1.433-1.428,1.432,1.432,0,0,1,1.433-1.43h10.034a1.429,1.429,0,0,1,1.43,1.43,1.429,1.429,0,0,1-1.43,1.428Zm-50.736,0a1.43,1.43,0,0,1-1.432-1.428,1.431,1.431,0,0,1,1.432-1.43h26.714a1.43,1.43,0,0,1,1.431,1.43,1.43,1.43,0,0,1-1.431,1.428Zm50.736-12.8a1.431,1.431,0,0,1-1.433-1.428,1.432,1.432,0,0,1,1.433-1.43h10.034a1.429,1.429,0,0,1,1.43,1.43,1.429,1.429,0,0,1-1.43,1.428Zm-50.736,0a1.43,1.43,0,0,1-1.432-1.428,1.431,1.431,0,0,1,1.432-1.43h24.959a1.429,1.429,0,0,1,1.43,1.43,1.429,1.429,0,0,1-1.43,1.428Zm50.736-6.315a1.431,1.431,0,0,1-1.433-1.428,1.432,1.432,0,0,1,1.433-1.43h10.034a1.429,1.429,0,0,1,1.43,1.43,1.429,1.429,0,0,1-1.43,1.428Zm-50.736,0
1a1.43,1.43,0,0,1-1.432-1.428,1.431,1.431,0,0,1,1.432-1.43h22.331a1.432,1.432,0,0,1,1.433,1.43,1.431,1.431,0,0,1-1.433,1.428Z",transform:"translate(8830.662 304.402)",fill:"#7ed8aa",stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",strokeWidth:"1"}),(0,r.jsx)("ellipse",{cx:"21.406",cy:"21.369",rx:"21.406",ry:"21.369",transform:"translate(54.952 3.77)",fill:"#7ed8aa"}),(0,r.jsx)("path",{d:"M1530.752,474.894l-6.483-6.067a3.288,3.288,0,0,1,0-4.8h0a3.3,3.3,0,0,1,4.511,0l3.5,3.278a1.061,1.061,0,0,0,1.449,0l10.049-9.4a3.3,3.3,0,0,1,4.511,0h0a3.288,3.288,0,0,1,0,4.8l-13.029,12.193A3.3,3.3,0,0,1,1530.752,474.894Z",transform:"translate(-1459.956 -441.04)",fill:"#fff"})]})),j=e=>(0,r.jsxs)("svg",(0,n._)((0,l._)({width:"116",height:"105",viewBox:"0 0 116 105"},e),{children:[(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{children:(0,r.jsx)("rect",{width:"116",height:"105",transform:"translate(6734.094 4164.177)",fill:"#fff",stroke:"#707070","stroke-width":"1"})})}),(0,r.jsx)("g",{transform:"translate(-6734.094 -4164.177)",children:(0,r.jsxs)("g",{transform:"translate(6745.011 4174.631)",children:[(0,r.jsx)("path",{d:"M283.406,194.068h-1.039V165.606a16.473,16.473,0,0,0-16.473-16.473h-60.3a16.473,16.473,0,0,0-16.473,16.473V321.75a16.473,16.473,0,0,0,16.473,16.473h60.3a16.473,16.473,0,0,0,16.473-16.473V214.328h1.039Z",transform:"translate(-189.121 -149.134)",fill:"#3c6f7a",opacity:"0.16"}),(0,r.jsx)("path",{d:"M273.984,160.421h-7.871a5.845,5.845,0,0,1-5.411,8.052H226.156a5.845,5.845,0,0,1-5.411-8.052h-7.352a12.3,12.3,0,0,0-12.3,12.3V328.637a12.3,12.3,0,0,0,12.3,12.3h60.591a12.3,12.3,0,0,0,12.3-12.3h0V172.722A12.3,12.3,0,0,0,273.984,160.421Z",transform:"translate(-196.546 -156.135)",fill:"#fff"}),(0,r.jsxs)("g",{transform:"translate(17.112 27.718)",children:[(0,r.jsx)("path",{d:"M295.066,265.983a29.9,29.9,0,0,1-1.884,10.483,29.074,29.074,0,0,1-2.082,4.44,30.034,30.034,0,0,1-52.117,0q-.4-.692-.757-1.4a30.028,30.028,0,1,1,56.841-13.518Z",transform:"translate(-235.01 -235.955)",fill:"#e7f3ef"}),(0,r.jsx)("path",{d:"M17.769,2.962a22.079,22.079,0,0,0-6.811,1.066v4.59a1.492,1.492,0,0,1-.829,1.333A17.045,17.045,0,0,0,6.19,12.69a1.454,1.454,0,0,1-1.037.415A1.476,1.476,0,0,1,4.1,12.675L.429,9A1.416,1.416,0,0,1,0,7.966,1.476,1.476,0,0,1,.429,6.915a25.2,25.2,0,0,1,34.679,0,1.5,1.5,0,0,1,0,2.1L31.436,12.69a1.476,1.476,0,0,1-1.051.429,1.519,1.519,0,0,1-1.037-.415,16.689,16.689,0,0,0-3.954-2.739,1.475,1.475,0,0,1-.829-1.333V4.042A21.494,21.494,0,0,0,17.769,2.962Z",transform:"translate(37.957 49.124) rotate(-135)",fill:"#7ed8aa"})]})]})})]})),E=t(42784),T=t(96897),Z=t.n(T),k=t(75513),O=t.n(k),v=t(94960),P=e=>{var{loanCalculations:a,bankId:t,isApplicable:u,eventCategory:m,eventAction:p,label:x,product_name:A="",bank_name:b=""}=e,L=(0,o._)(e,["loanCalculations","bankId","isApplicable","eventCategory","eventAction","label","product_name","bank_name"]);let N=(0,f.Z)(),[T,k]=(0,i.useState)(!1),[P,S]=(0,i.useState)(u),{t:R}=(0,h.$G)("home-loan"),B=()=>{k(!1),S(u)},M=e=>(0,r.jsxs)("div",{className:"flex flexXcenter flexYcenter",style:{height:400,flexDirection:"column"},children:[e?(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)(I,{style:{margin:"0 auto 16px"}}),(0,r.jsx)(c.Z,{className:"u-mb12 fw-600",children:R("APPLY_LOAN.SUBMITTED")}),(0,r.jsxs)("p",{className:"u-mb32 text-center text-light fw-600",children:[R("APPLY_LOAN.REPRESENTATIVE.1"),(0,r.jsx)("br",{})," ",R("APPLY_LOAN.REPRESENTATIVE.2")]})]}):(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)(j,{className:"u-mb20"}),(0,r.jsx)("p",{className:"u-mb8 text-center text-light semiBold",children:R("APPLY_LOAN.FURTHER_INFO.TITLE")}),(0,r.jsx)(c.Z,{className:"u-mb32 semiBold",children:R("APPLY_LOAN.FURTHER_INFO.NUM")})]}),(0,r.jsx)(E.Z,{href:v.XO.LOAN_CALC_PATH,children:(0,r.jsx)(s.Z,{variant:"primary",className:"u-mb12",size:"md",children:R("APPLY_LOAN.EXPLORE_MORE")})}),(0,r.jsx)(E.Z,{href:v.XO.LOAN_CALC_PATH,children:(0,r.jsx)(s.Z,{variant:"outline",size:"md",style:{border:"none"},onClick:B,children:R("APPLY_LOAN.CALC_NEW_LOAN")})})]});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,(0,n._)((0,l._)({},L),{onClick:()=>{k(!0);let e="from_loan_listing"===x?"".concat(x," - ").concat(b,", ").concat(A):x;(0,y.BX)(m,p.clickLeadPopup,e)},children:u?R("APPLY_LOAN.APPLY_LOAN"):R("APPLY_LOAN.CONTACT_ZAMEEN")})),N?(0,r.jsx)(d.Z,{isOpen:T,onChange:()=>k(!1),headerTitle:u?R("APPLY_LOAN.APPLY_HOUSE_LOAN"):R("APPLY_LOAN.CONTACT_ZAMEEN"),mainClass:"".concat(Z().BSHeader,"  u-py16 u-px24"),children:(0,r.jsx)(e=>{let{mainClass:l,isApplicable:n}=e;return(0,r.jsx)("div",{className:l,children:P?(0,r.jsx)(r.Fragment,{children:T&&(0,r.jsx)(g,{loanCalculations:a,bankId:t,onApplySuccess:()=>S(!1)})}):M(n)})},{mainClass:"".concat(O().applyLoanModalContent," u-py16 u-px24"),isApplicable:u})}):(0,r.jsx)(_.Z,{className:C.modalApplyHouse,isOpen:T,onClickClose:B,modalTitle:R("APPLY_LOAN.APPLY_HOUSE_LOAN"),headerClass:C.modalHeader,bodyClass:C.modalBody,children:P?(0,r.jsx)(r.Fragment,{children:T&&(0,r.jsx)(g,{eventCategory:m,eventAction:p.clickLeadSubmit,label:x,productName:A,bankName:b,loanCalculations:a,bankId:t,onApplySuccess:()=>{S(!1)}})}):M(u)})]})}},54007:function(e,a,t){"use strict";
1var l=t(20567),n=t(85893),o=t(84558),r=t(15473),i=t.n(r);let c=e=>{let{iconImage:a,showIcon:t=!0,loading:r=!1,loadingProps:c={}}=e;return t?r?(0,n.jsx)("div",{className:i().icon,children:(0,n.jsx)(o.Z,(0,l._)({},c))}):(0,n.jsxs)(n.Fragment,{children:[" ",a&&(0,n.jsx)("div",{className:i().icon,children:a})]}):null},s=e=>{let{label:a,loading:t=!1,loadingProps:r={}}=e;return t?(0,n.jsx)(o.Z,(0,l._)({},r)):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:i().label,children:a})})},d=e=>{let{text:a,loading:t=!1,size:r,loadingProps:i={}}=e;return t?(0,n.jsx)(o.Z,(0,l._)({},i)):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{children:a})})};a.Z=e=>{let{className:a="",label:t="",text:l="",iconImage:o="",size:r="",icon:_=!0,loading:u=!1,loadingProps:m={}}=e;return(0,n.jsxs)("div",{className:"".concat(i().optionItems," ").concat(a," ").concat("lg"===r?i().lg:""," ").concat(_?"":i().noIcon),children:[(0,n.jsx)(c,{iconImage:o,loading:u,showIcon:_,loadingProps:(null==m?void 0:m.circle)||null}),(0,n.jsx)(s,{label:t,loading:u,loadingProps:(null==m?void 0:m.label)||null}),(0,n.jsx)(d,{text:l,loading:u,size:r,loadingProps:(null==m?void 0:m.text)||null})]})}},41983:function(e){e.exports={select:"home-loan-calculator-form_select__u13__",input:"home-loan-calculator-form_input__4w5Ix",bottomSheetCityBody:"home-loan-calculator-form_bottomSheetCityBody__GHE2l"}},75513:function(e){e.exports={applyLoanModalContent:"apply-loan-button_applyLoanModalContent__UYk_z"}},41053:function(e){e.exports={detailCalculatorMain:"bank-calculator_detailCalculatorMain__rsk39",detailCalculatorLeft:"bank-calculator_detailCalculatorLeft__EcyZP",detailCalculatorRight:"bank-calculator_detailCalculatorRight__XmM0v",detailCalculatorForm:"bank-calculator_detailCalculatorForm__48xxZ",detailCalculatorSelect:"bank-calculator_detailCalculatorSelect__vBmuE",select:"bank-calculator_select__KzFyj",disabled:"bank-calculator_disabled__aAcOF",selectField:"bank-calculator_selectField__w6V_C",hideArrow:"bank-calculator_hideArrow__B3FSY",selectDesktop:"bank-calculator_selectDesktop__WVzrd",modalApplyHouse:"bank-calculator_modalApplyHouse__3RlUx",modalHeader:"bank-calculator_modalHeader__aIE7h",modalBody:"bank-calculator_modalBody__vd27c",customSelect:"bank-calculator_customSelect__G4I22",block:"bank-calculator_block__ik7dO",detailCalculatorBtn:"bank-calculator_detailCalculatorBtn__pRgWV",productType:"bank-calculator_productType__KgiZ_",bankLogoListOuter:"bank-calculator_bankLogoListOuter__E0neB",bankLogoListItem:"bank-calculator_bankLogoListItem__brHh8",active:"bank-calculator_active__ZWozI"}},8853:function(e){e.exports={optionMain:"option_optionMain__nliIE",optionContent:"option_optionContent__iB5yz",singleColumn:"option_singleColumn__EYJXJ",optionHeader:"option_optionHeader__7wYbD",optionBankBox:"option_optionBankBox__0AfGa",optionBankBoxButtons:"option_optionBankBoxButtons__viMNm",link:"option_link__U497s",btnApply:"option_btnApply__LaFEY"}},15473:function(e){e.exports={optionItems:"optionItem_optionItems__rb5oZ",icon:"optionItem_icon__30FoS",label:"optionItem_label__qKKNe",lg:"optionItem_lg__TwS91",noIcon:"optionItem_noIcon__tHxqt"}}}]);

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.