1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2810],{55493:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});var n=a(9008),r=a(11163),o=a(85893);function s(e){var t=e.seoMetas,a=e.ogType,s=void 0===a?"website":a,i=e.ogImage,c=void 0===i?"/images/logo_home.svg":i,l=(0,r.useRouter)().asPath,p=window.location.origin?window.location.origin:"",m="".concat(p).concat(l);return(0,o.jsxs)(n.default,{children:[(0,o.jsx)("title",{children:t.title}),(0,o.jsx)("meta",{name:"description",content:t.description}),(0,o.jsx)("meta",{property:"og:title",content:t.title||"BTN Properti"}),(0,o.jsx)("meta",{name:"og:description",content:t.description||"Website BTN Properti"}),(0,o.jsx)("meta",{property:"og:type",content:s}),(0,o.jsx)("meta",{property:"og:url",content:m}),(0,o.jsx)("meta",{property:"og:image",content:c}),(0,o.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,o.jsx)("meta",{name:"twitter:title",content:t.title||"BTN Properti"}),(0,o.jsx)("meta",{name:"twitter:description",content:t.description||"Website BTN Properti"}),(0,o.jsx)("meta",{name:"twitter:image",content:c}),(0,o.jsx)("meta",{name:"twitter:image:src",content:c}),(0,o.jsx)("link",{rel:"image_src",href:"/images/logo_home.svg"}),t.structuredData&&(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t.structuredData)}},"structured-data")]})}},22602:function(e,t,a){"use strict";var n=a(4942),r=a(82807),o=a(85893);function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}t.Z=function(e){var t=function(t){(0,r.b)().userProfile;return(0,o.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?s(Object(a),!0).forEach((function(t){(0,n.Z)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},t))};return e.getInitialProps&&(t.getInitialProps=e.getInitialProps),t}},36577:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return R}});var n=a(45987),r=a(4942),o=a(15861),s=a(87757),i=a.n(s),c=a(85893);var l=a(59186),p=a(97973),m=a(71636),u=a(9079),d=a.n(u),g=a(91362),h=a(67294),f=a(49590),S=a(9664),v=a(56018),I=a(53076),_=(a(54633),a(52873),a(82807)),k=a(11163),P=a(24250),j=a(30542),A=a(1852),x=(a(9669),a(87736)),N=a(55493),y={title:"Ajukan KPR - bal\xe9 Properti",description:"Ajukan Kredit Pemilikan Rumah - bal\xe9 Properti"},b=a(97116),E=a(22602),w=["placement","arrowProps","show","popper","hasDoneInitialMeasure"];function K(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function O(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?K(Object(a),!0).forEach((function(t){(0,r.Z)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):K(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var T=function(e){var t=e.message,a=(0,h.useState)(!1),r=a[0],o=a[1],s=(0,h.useRef)(null);return(0,c.jsxs)("span",{children:[(0,c.jsx)("span",{ref:s,className:d().dokumenTooltipIcon,onMouseEnter:function(){return o(!0)},onMouseLeave:function(){return o(!1)},style:{marginLeft:"15px"},children:(0,c.jsx)("img",{src:"/icons/icons/Vector.svg",alt:""})}),(0,c.jsx)(b.Z,{target:s.current,show:r,placement:"bottom",children:function(e){e.placement,e.arrowProps,e.show,e.popper,e.hasDoneInitialMeasure;var a=(0,n.Z)(e,w);return(0,c.jsx)("div",O(O({},a),{},{style:O({},a.style),className:d().creditTooltip,children:t}))}})]})},R=(0,E.Z)((0,j.Z)((function(){var e=(0,A.useMediaQuery)({query:"(max-width: 912px)"}),t=(0,k.useRouter)(),a=t.asPath.indexOf("id"),n=t.query.id||-1!==a?t.asPath.slice(a+3):"",r=(0,_.b)(),s=r.userKey,u=(r.kprList,t.query.tipe),j=(0,h.useState)("KPRST"===(null===n||void 0===n?void 0:n.substring(0,5))?25:0),b=j[0],E=j[1],w=(0,h.useState)("KPRST"===(null===n||void 0===n?void 0:n.substring(0,5))?2:1),K=w[0],R=w[1],L=(0,h.useState)([]),C=(L[0],L[1],(0,h.useState)("{}")),D=C[0],M=C[1],G=(0,h.useState)(!1),F=G[0],U=G[1],B=(0,h.useState)(!n),J=B[0],H=B[1],Z=(0,h.useState)([]),W=Z[0],z=Z[1],q=(0,h.useState)(u),Y=q[0],X=q[1],Q=(0,h.useState)(!1),V=Q[0],$=Q[1],ee=(0,h.useState)({cabang:"",jenis:"",harga:"",uangMuka:"",pengajuan:"",waktu:"",metode:""}),te=ee[0],ae=ee[1],ne=(0,h.useState)(!1),re=ne[0],oe=ne[1],se=(0,h.useState)(!1),ie=se[0],ce=se[1],le=(0,h.useState)(!1),pe=le[0],me=le[1],ue=(0,h.useState)([]),de=ue[0],ge=ue[1],he=(0,h.useState)(n||""),fe=he[0],Se=he[1],ve=(0,h.useState)(b),Ie=ve[0],_e=ve[1],ke=(0,h.useState)(!1),Pe=ke[0],je=ke[1],Ae=(0,h.useState)(""),xe=Ae[0],Ne=Ae[1],ye=(0,h.useState)({}),be=(ye[0],ye[1],(0,h.useRef)(null)),Ee=(0,h.useState)(!1);Ee[0],Ee[1],(0,h.useRef)(null),(0,h.useEffect)((function(){return document.getElementsByTagName("html")[0].style.overflow=F?"hidden":"auto",function(){document.getElementsByTagName("html")[0].style.overflow="auto"}}),[F]);var we=function(){var e=(0,o.Z)(i().mark((function e(){var t,a,r;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t="".concat("https://www.btnproperti.co.id/api-wollb362p3ostszh","/").concat("KPRST"===(null===n||void 0===n?void 0:n.substring(0,5))?"kpr/stok/show":"kpr/nonstok/show/bymember"),e.next=4,fetch(t,{method:"POST",headers:O({"A
1ccess-Control-Allow-Origin":"*","Content-Type":"application/x-www-form-urlencoded",AccessKey_Member:s},x.B),body:new URLSearchParams({Limit:1e3,Sort:"t_ins DESC"})});case 4:return a=e.sent,e.next=7,a.json();case 7:if((r=e.sent).isError){e.next=12;break}return e.abrupt("return",Promise.resolve(r.Data.map((function(e){return e.id}))));case 12:throw{message:resData.ErrToUser};case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(0),console.log(e.t0.message);case 18:return e.prev=18,e.finish(18);case 20:case"end":return e.stop()}}),e,null,[[0,15,18,20]])})));return function(){return e.apply(this,arguments)}}();window.onbeforeunload=function(){localStorage.removeItem("dataPengajuan"),localStorage.removeItem("dataDiri"),sessionStorage.removeItem("ktp_foto"),sessionStorage.removeItem("pas_foto"),sessionStorage.removeItem("slip_foto"),sessionStorage.removeItem("rek_foto"),localStorage.removeItem("stepCredit"),localStorage.removeItem("percentCredit"),localStorage.removeItem("jenisKPR"),localStorage.removeItem("kpr_id"),localStorage.removeItem("kota"),localStorage.removeItem("provinsi"),localStorage.removeItem("kecamatan"),localStorage.removeItem("kodepos"),localStorage.removeItem("kelurahan")},(0,h.useEffect)((function(){null!==localStorage.getItem("jenisKPR")&&X(JSON.parse(localStorage.getItem("jenisKPR"))),null!==localStorage.getItem("percentCredit")&&(E(Number(localStorage.getItem("percentCredit"))),_e(Number(localStorage.getItem("percentCredit")))),null!==localStorage.getItem("kpr_id")&&""!==localStorage.getItem("kpr_id")&&Se(localStorage.getItem("kpr_id")),null!==localStorage.getItem("stepCredit")&&""!==localStorage.getItem("stepCredit")&&R(Number(localStorage.getItem("stepCredit"))),null!==localStorage.getItem("dataPengajuan")&&(M(localStorage.getItem("dataPengajuan")),M("{}"),ae(JSON.parse(localStorage.getItem("dataPengajuan"))));var a=sessionStorage.getItem("back_log");return"KPRNS"===(null===n||void 0===n?void 0:n.substring(0,5))&&we().then((function(e){console.log({id:n}),n&&(console.log("ABC"),e.includes(n)||t.push("/404"))})),"KPRNS"===(null===n||void 0===n?void 0:n.substring(0,5))?(0,P.kF)(s,n).then((function(r){var o;e&&(a?t.push("/member/kredit"):t.push("/ajukan_kpr/form?tipe=".concat(r.TIPE_PENGAJUAN,"&id=").concat(n))),console.log("response : ",r),X(r.TIPE_PENGAJUAN);var s=O({},te);s.cabang=r.ID_CABANG,s.jenis=r.JENIS_KREDIT||r.JENIS_PEMBIAYAAN,s.harga=r.HARGA_PROPERTI,s.uangMuka=r.UANG_MUKA||" 0",s.pengajuan=r.NILAI_PENGAJUAN,s.waktu=Math.round(Number(r.JANGKA_WAKTU)/12),s.metode=r.PEMBAYARAN_ANGSURAN,ae(s),localStorage.setItem("kpr_id",n),localStorage.setItem("jenisKPR",r.TIPE_PENGAJUAN),localStorage.setItem("dataPengajuan",JSON.stringify(s));var i={nik:"",nama:"",kotaLahir:"",tglLahir:"",email:"",hp:"",tlpn:"",statMenikah:"",alamat:"",rt:"",rw:""};i.nik=r.NO_KTP,i.nama=r.NAMA_LENGKAP,i.kotaLahir=r.TEMPAT_LAHIR,i.tglLahir=null===(o=r.TGL_LAHIR)||void 0===o?void 0:o.split(" ")[0],i.email=r.EMAIL,i.hp=r.NO_HP1,i.tlpn="null"!==r.NO_TELP&&r.NO_TELP?r.NO_TELP:"",i.statMenikah=r.STATUS_KAWIN,i.alamat=r.ALAMAT,i.rt=r.RT,i.rw=r.RW,localStorage.setItem("dataDiri",JSON.stringify(i)),localStorage.setItem("provinsi",r.ID_PROPINSI),localStorage.setItem("kota",r.ID_KAB_KOTA),localStorage.setItem("kecamatan",r.ID_KECAMATAN),localStorage.setItem("kelurahan",r.ID_DESA_KELURAHAN),localStorage.setItem("kodepos",r.KODEPOS),sessionStorage.setItem("ktp_foto",r.FILE_KTP),sessionStorage.setItem("pas_foto",r.FILE_PAS_FOTO),sessionStorage.setItem("slip_foto",r.FILE_SLIP_PENGHASILAN),sessionStorage.setItem("rek_foto",r.FILE_REK_KORAN);var c=4,l=100;for(var p in r.FILE_KTP&&r.FILE_PAS_FOTO&&r.FILE_SLIP_PENGHASILAN&&r.FILE_REK_KORAN||(c=3,l=50),i)i[p]||"tlpn"==p||(c=2,l=25);r.ID_PROPINSI&&r.ID_KAB_KOTA&&r.ID_KECAMATAN&&r.ID_DESA_KELURAHAN&&r.KODEPOS||(c=2,l=25),r.ID_CABANG&&(r.JENIS_KREDIT||r.JENIS_PEMBIAYAAN)&&r.HARGA_PROPERTI&&r.NILAI_PENGAJUAN&&r.JANGKA_WAKTU&&r.PEMBAYARAN_ANGSURAN||(c=1,l=0),localStorage.setItem("stepCredit",c),localStorage.setItem("percentCredit",l),R(c),E(l)})).catch((function(e){})).finally((function(){H(!0)})):"KPRST"===(null===n||void 0===n?void 0:n.substring(0,5))&&(0,P.D8)(s,n).then((function(r){e&&(a?t.push("/member/kredit/listing"):t.push("/ajukan_kpr/form?tipe=".concat(r.TIPE_PENGAJUAN,"&id=").concat(n))),console.log("response : ",r),Ne(r.ID_KAV),X(r.TIPE_PENGAJUAN);var o=O({},te);o.cabang=r.ID_CABANG,o.jenis=r.JENIS_KREDIT,o.harga=r.HARGA_JUAL,o.uangMuka=r.UANG_MUKA||" 0",o.pengajuan=r.NILAI_PENGAJUAN,o.waktu=Math.round(Number(r.JANGKA_WAKTU)/12),o.metode=r.PEMBAYARAN_ANGSURAN,ae(o),localStorage.setItem("kpr_id",n),localStorage.setItem("jenisKPR",r.TIPE_PENGAJUAN),localStorage.setItem("dataPengajuan",JSON.stringify(o));var s={nik:"",nama:"",kotaLahir:"",tglLahir:"",email:"",hp:"",tlpn:"",statMenikah:"",alamat:"",rt:"",rw:""};s.nik=r.NO_ID,s.nama=r.NAMA_LENGKAP,s.kotaLahir=r.TEMPAT_LAHIR,s.tglLahir=r.TGL_LAHIR.split(" ")[0],s.email=r.EMAIL,s.hp=r.NO_HP1,s.tlpn="null"!==r.NO_TELP&&r.NO_TELP?r.NO_TELP:"",s.statMenikah=r.STATUS_KAWIN,s.alamat=r.ALAMAT,s.rt=r.RT,s.rw=r.RW,localStorage.setItem("dataDiri",JSON.stringify(s)),localStorage.setItem("provinsi",r.ID_PROPINSI),localStorage.setItem("kota",r.ID_KAB_KOTA),localStorage.setItem("kecamatan",r.ID_KECAMATAN),localStorage.setItem("kelurahan",r.ID_DESA_KELURAHAN),localStorage.setItem("kodepos",r.KODEPOS
1),sessionStorage.setItem("ktp_foto",r.FILE_KTP),sessionStorage.setItem("pas_foto",r.FILE_PAS_FOTO),sessionStorage.setItem("slip_foto",r.FILE_SLIP_PENGHASILAN),sessionStorage.setItem("rek_foto",r.FILE_REK_KORAN);var i=4,c=100;for(var l in r.FILE_KTP&&r.FILE_PAS_FOTO&&r.FILE_SLIP_PENGHASILAN&&r.FILE_REK_KORAN||(i=3,c=50),s)s[l]||"tlpn"==l||(i=2,c=25);r.ID_PROPINSI&&r.ID_KAB_KOTA&&r.ID_KECAMATAN&&r.ID_DESA_KELURAHAN&&r.KODEPOS||(i=2,c=25),localStorage.setItem("stepCredit",i),localStorage.setItem("percentCredit",c),R(i),E(c)})).catch((function(e){})).finally((function(){H(!0)})),function(){localStorage.removeItem("dataPengajuan"),localStorage.removeItem("dataDiri"),sessionStorage.removeItem("ktp_foto"),sessionStorage.removeItem("pas_foto"),sessionStorage.removeItem("slip_foto"),sessionStorage.removeItem("rek_foto"),localStorage.removeItem("stepCredit"),localStorage.removeItem("percentCredit"),localStorage.removeItem("jenisKPR"),localStorage.removeItem("kpr_id"),localStorage.removeItem("kota"),localStorage.removeItem("provinsi"),localStorage.removeItem("kecamatan"),localStorage.removeItem("kodepos"),localStorage.removeItem("kelurahan")}}),[]),(0,h.useEffect)((function(){_e(b)}),[b]),(0,h.useEffect)((function(){console.log("responsive query ",e),e&&Y&&je(!0),Y&&(console.log("calling get data cabang"),Ce(),Le())}),[Y]);var Ke=function(t){localStorage.setItem("jenisKPR",JSON.stringify(t)),localStorage.removeItem("dataPengajuan"),localStorage.removeItem("dataDiri"),sessionStorage.removeItem("ktp_foto"),sessionStorage.removeItem("pas_foto"),sessionStorage.removeItem("slip_foto"),sessionStorage.removeItem("rek_foto"),localStorage.removeItem("stepCredit"),localStorage.removeItem("percentCredit"),localStorage.removeItem("kpr_id"),localStorage.removeItem("kota"),localStorage.removeItem("provinsi"),localStorage.removeItem("kecamatan"),localStorage.removeItem("kodepos"),localStorage.removeItem("kelurahan"),ae({cabang:"",jenis:"",harga:"",uangMuka:"0",pengajuan:"",waktu:"",metode:""}),E(0),R(1),ge([]),Se(""),X(t),e&&(console.log("id kpr ",Y),t&&je(!0))},Oe=function(e){e>Number(localStorage.getItem("percentCredit"))&&(localStorage.setItem("percentCredit",e),E(e))},Te=function(e){e>Number(localStorage.getItem("stepCredit"))&&localStorage.setItem("stepCredit",e),R(e),setTimeout((function(){window.scrollTo({top:0,left:0,behavior:"smooth"})}),100)},Re=function(){var e=(0,o.Z)(i().mark((function e(){var a,r,o,s,c,l,p,m,u,d,g,h,f;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return me(!0),a={kpr_id:fe},e.prev=2,r=sessionStorage.getItem("loginSource"),s=(o="rumah123"===r)?"y0Pl0QYizIrtditAP3Zw":"4q4TU91pv3I12u8AfG35",c=o?"6EIbx4m4JAXjgf1JNAtAXp4eclnG2p4l":"f6751d03522535e602cabc7d83fd8ee5",e.next=9,fetch("".concat("https://www.btnproperti.co.id/api-partners/open-api","/v1/pengajuan/").concat("KPRST"===(null===n||void 0===n?void 0:n.substring(0,5))?"stok/setfinishv2":"nonstok/setfinish"),{method:"POST",headers:O(O({},x.B),{},{"Content-Type":"application/x-www-form-urlencoded",app_key:s,secret_key:c}),body:new URLSearchParams(a)});case 9:return l=e.sent,e.next=12,l.json();case 12:if((p=e.sent).status){e.next=17;break}throw p.message;case 17:return localStorage.removeItem("dataPengajuan"),localStorage.removeItem("dataDiri"),sessionStorage.removeItem("ktp_foto"),sessionStorage.removeItem("pas_foto"),sessionStorage.removeItem("slip_foto"),sessionStorage.removeItem("rek_foto"),localStorage.removeItem("stepCredit"),localStorage.removeItem("percentCredit"),localStorage.removeItem("jenisKPR"),localStorage.removeItem("kpr_id"),localStorage.removeItem("kota"),localStorage.removeItem("provinsi"),localStorage.removeItem("kecamatan"),localStorage.removeItem("kodepos"),localStorage.removeItem("kelurahan"),m=t.asPath.indexOf("id"),u=t.query.id||-1!==m?t.asPath.slice(m+3):"",d=JSON.parse(sessionStorage.getItem("user")).id,g={OBJECTID:u,PEMBERI_RATING:d},e.next=38,fetch("".concat("https://www.btnproperti.co.id/api-partners","/fitur/rating/insert"),{method:"POST",headers:O(O({},x.B),{},{"Access-Control-Allow-Origin":"*","Content-Type":"application/x-www-form-urlencoded",app_key:"4q4TU91pv3I12u8AfG35",secret_key:"f6751d03522535e602cabc7d83fd8ee5"}),body:new URLSearchParams(g)});case 38:return h=e.sent,e.next=41,h.json();case 41:(f=e.sent).status||console.log("error ",f.message),me(!1),U(!0);case 45:e.next=52;break;case 47:e.prev=47,e.t0=e.catch(2),console.error("DETAIL ERROR : ",e.t0),me(!1),alert("Terjadi Kesalahan");case 52:return e.prev=52,e.finish(52);case 54:case"end":return e.stop()}}),e,null,[[2,47,52,54]])})));return function(){return e.apply(this,arguments)}}(),Le=function(){var e=(0,o.Z)(i().mark((function e(){var t,a;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ce(!0),e.prev=1,e.next=4,fetch("".concat("https://www.btnproperti.co.id/api-partners/open-api","/v1/pengajuan/nonstok/kantorcabang?tipe=").concat(Y),{method:"GET",headers:O({"Content-Type":"application/x-www-form-urlencoded",app_key:"4q4TU91pv3I12u8AfG35",secret_key:"f6751d03522535e602cabc7d83fd8ee5"},x.B)});case 4:return t=e.sent,e.next=7,t.json();case 7:a=e.sent,z(a.data),e.next=13;break;case 11:e.prev=11,e.t0=e.catch(1);case 13:return e.prev=13,ce(!1),e.finish(13);case 16:case"end":return e.stop()}}),e,null,[[1,11,13,16]])})));return function(){return e.apply(this,arguments)}}(),Ce=function(){var e=(0,o.Z)(i().mark((function e(){var t,a;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return oe(!0),e.prev=1,e.next=4,fetch("".concat("https://www.btnproperti.co.id/api-partners/open-api","/v1/pengajuan/nonstok/jeniskredit?tipe=").concat(Y),{method:"GET",headers:O({"Content-Type":"application/x-www-form-urlencoded",app_key:"4q4TU91pv3I12u8AfG35",secret_key:"f6751d03522535e602cabc7d83fd8ee5"},x.B)});case 4:return t=e.sent,e.next=7,t.json();case 7:a=e.sent,ge(a.data),e.next=13;break;case 11:e.prev=11,e.t0=e.catch(1);case 13:return e.prev=13,oe(!1),e.finish(13);case 16:case"end":return e.stop()}}),e,null,[[1,11,13,16]])})));return function(){return e.apply(this,arguments)}}();return re||ie||!J?(0,c.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,c.jsx)("img",{alt:"...",style:{height:"40vh"},src:"/images/spinner.gif"})}):(console.log("isi step",K),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(N.Z,{seoMetas:y}),(0,c.jsxs)(p.Z,{isLoaderOpen:pe,title:"Pengajuan KPR",children:[(0,c.jsx)(m.Z,{active:"Pengajuan Kredit"}),(0,c.jsx)("div",{className:"container mb-5",children:(0,c.jsxs)("div",{className:"row",children:[(0,c.jsx)("div",{className:"col-md-12 col-lg-3 mb-4 mb-lg-0 d-flex",children:(0,c.jsxs)("div",{className:"ajukan_left sticky-top w-ipad",children:[(0,c.jsx)("h1",{style:{fontSize:"24px",style:"normal",fontFamily:"Poppins",fontWeight:"700",lineHeight:"36px"},className:"title res-ipad-pengajuan",children:"Pengajuan Kredit"}),(0,c.jsx)("p",{className:"res-ipad-pengajuan",children:"Ajukan kredit secara online hanya dalam 10 menit saja dan nikmati kemudahan kepemilikan rumah bersama bal\xe9 Properti."}),e?(0,c.jsx)("div",{children:(0,c.jsxs)("div",{id:"credit_step_2",className:"tipe_kpr "+d().sideMenu__typeKpr,children:[(0,c.jsx)("h4",{style:{fontFamily:"Poppins",fontSize:"16px",fontStyle:"normal",fontWeight:"700",lineHeight:"24px",letterSpacing:"0px"},children:"Tipe KPR"}),(0,c.jsxs)("div",{className:"item_kpr",style:{marginBottom:"25px",borderBottom:"1px solid #eeeeee"},children:[(0,c.jsx)("input",{className:"form-check-input radio-kpr radio-kpr-ipad1",type:"radio",name:"type_kpr",id:"kprKonf",onCh
1ange:function(){return Ke("1")},value:"1",checked:"1"===Y}),(0,c.jsxs)("label",{style:{fontFamily:"Poppins",fontSize:"16px",fontStyle:"normal",fontWeight:"700",lineHeight:"26px",letterSpacing:"0px",color:"#00193E"},htmlFor:"kprKonf",children:[(0,c.jsx)("img",{className:"img-kpr-kon",src:"/images/acc/kpr-konvensional.png",alt:""}),"KPR Konvensional",(0,c.jsx)(T,{message:"KPR Konvensional adalah pinjaman pemilikan rumah dengan bunga float rendah"})]})]}),(0,c.jsxs)("div",{className:"item_kpr d-ipad-kpr",children:[(0,c.jsx)("input",{className:"form-check-input radio-kpr radio-kpr-ipad2",type:"radio",name:"type_kpr",id:"kprSyar",onChange:function(){return Ke("2")},value:"2",checked:"2"===Y}),(0,c.jsxs)("label",{style:{fontFamily:"Poppins",fontSize:"16px",fontStyle:"normal",fontWeight:"700",lineHeight:"26px",letterSpacing:"0px",color:"#00193E"},htmlFor:"kprSyar",children:[(0,c.jsx)("img",{className:"img-kpr-kon",src:"/images/acc/kpr-syariah.png",alt:""}),"KPR Syariah",(0,c.jsx)(T,{message:"KPR Syariah adalah KPR yang ditujukan untuk masyarakat dengan nilai-nilai syariah"})]})]})]})}):(0,c.jsxs)("div",{className:"sidebar_ajukan "+d().sideMenu,children:[(0,c.jsxs)("div",{id:"credit_step_2",className:"tipe_kpr "+d().sideMenu__typeKpr,children:[(0,c.jsx)("h2",{style:{fontFamily:"Poppins",fontSize:"16px",fontStyle:"normal",fontWeight:"700",lineHeight:"24px",letterSpacing:"0px"},children:"Tipe KPR"}),(0,c.jsxs)("div",{className:"item_kpr",style:{marginBottom:"25px",borderBottom:"1px solid #EEEEEE"},children:[(0,c.jsx)("input",{style:{marginTop:"20px",boxSizing:"border-box",height:"20px",width:"20px",position:"unset",color:"#AAAAAA",pointerEvents:"KPRST"===(null===n||void 0===n?void 0:n.substring(0,5))?"none":"initial"},className:"form-check-input",type:"radio",name:"type_kpr",id:"kprKonf",onChange:function(){return Ke("1")},value:"1",checked:"1"===Y}),(0,c.jsxs)("label",{style:{fontFamily:"Poppins",fontSize:"16px",fontStyle:"normal",fontWeight:"700",lineHeight:"26px",letterSpacing:"0px",color:"#00193E",marginBottom:"20px",marginTop:"16px"},htmlFor:"kprKonf",children:[(0,c.jsx)("img",{className:"s-radio",src:"/images/acc/kpr-konvensional.png",alt:""}),"KPR Konvensional",(0,c.jsx)(T,{message:"KPR Konvensional adalah pinjaman pemilikan rumah dengan bunga float rendah"})]})]}),(0,c.jsxs)("div",{className:"item_kpr",children:[(0,c.jsx)("input",{style:{marginTop:"4px",boxSizing:"border-box",height:"20px",width:"20px",position:"unset",color:"#AAAAAA",pointerEvents:"KPRST"===(null===n||void 0===n?void 0:n.substring(0,5))?"none":"initial"},className:"form-check-input",type:"radio",name:"type_kpr",id:"kprSyar",onChange:function(){return Ke("2")},value:"2",checked:"2"===Y}),(0,c.jsxs)("label",{style:{fontFamily:"Poppins",fontSize:"16px",fontStyle:"normal",fontWeight:"700",lineHeight:"26px",letterSpacing:"0px",color:"#00193E"},htmlFor:"kprSyar",children:[(0,c.jsx)("img",{className:"s-radio",src:"/images/acc/kpr-syariah.png",alt:""}),"KPR Syariah",(0,c.jsx)(T,{message:"KPR Syariah adalah KPR yang ditujukan untuk masyarakat dengan nilai-nilai syariah"})]})]})]}),(0,c.jsx)("div",{id:"credit_step_2",className:d().sideMenu__step,children:(0,c.jsxs)("ol",{children:[(0,c.jsxs)("li",{className:b>25?d().trackerActive:d().trackerInactive,children:[(0,c.jsx)("li",{className:"".concat(d().one),children:(0,c.jsx)("div",{className:"".concat(d().iconList," ").concat(b<=25?d().iconList__active:""),children:(0,c.jsx)("span",{style:{background:"#0061A7"},className:"d-flex justify-content-center align-items-center",children:b>25?(0,c.jsx)("img",{src:"/icons/icons/checklist.svg"}):1})})}),(0,c.jsxs)("div",{className:d().boxMenu,children:[(0,c.jsx)("h3",{className:"h5 ".concat(K<=2?d().stepActive:K>2?d().actived:"cursor-pointer"),onClick:function(){"KPRST"===(null===n||void 0===n?void 0:n.substring(0,5))?Te(2):Te(1)},children:"Pengisian Data"}),(0,c.jsx)("p",{className:1==K?d().menuActive:K>1?d().actived:"cursor-pointer",onClick:function(){return Te(1)},style:{width:"100%",pointerEvents:"KPRST"===(null===n||void 0===n?void 0:n.substring(0,5))?"none":"initial"},children:"Data Pengajuan"}),(0,c.jsx)("p",{className:2==K?d().menuActive:K>2?d().actived:"cursor-pointer",onClick:Number(localStorage.getItem("stepCredit"))>=2?function(){return Te(2)}
1:null,style:{width:"100%"},children:"Data Diri"})]})]}),(0,c.jsxs)("li",{className:b>50?d().trackerActive:d().trackerInactive,children:[(0,c.jsx)("li",{className:"".concat(d().one),children:(0,c.jsx)("div",{className:"".concat(d().iconList," \n ").concat(50==b?d().iconList__active:""),children:(0,c.jsx)("span",{style:{background:b>=50?"#0061A7":"#aaaaaa"},className:"d-flex justify-content-center align-items-center",children:b>50?(0,c.jsx)("img",{src:"/icons/icons/checklist.svg"}):2})})}),(0,c.jsx)("div",{className:d().boxMenu2,children:(0,c.jsx)("h3",{className:"h5 ".concat(3==K?d().stepActive:K>3?d().actived:"cursor-pointer"),onClick:Number(localStorage.getItem("stepCredit"))>=3?function(){return Te(3)}:null,children:"Upload Dokumen"})})]}),(0,c.jsxs)("li",{children:[(0,c.jsx)("div",{className:"".concat(d().iconList," \n ").concat(b>=75?d().iconList__active:"","\n "),children:(0,c.jsx)("span",{style:{background:b>=75?"#0061A7":"#aaaaaa"},className:"d-flex justify-content-center align-items-center",children:b>100?(0,c.jsx)("img",{src:"/icons/icons/checklist.svg"}):3})}),(0,c.jsx)("div",{className:d().boxMenu2,children:(0,c.jsx)("h3",{className:"h5\n ".concat(4==K?d().stepActive:K>4?d().actived:"cursor-pointer"),onClick:4==Number(localStorage.getItem("stepCredit"))?function(){return Te(4)}:null,children:"Ringkasan"})})]})]})})]})]})}),e?(0,c.jsx)("div",{children:(0,c.jsx)("button",{type:"submit",className:"btn btn-main",style:{width:119,height:48,padding:0,fontFamily:"Poppins",fontSize:14,fontWeight:700,display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"200px",margin:"0 auto"},disabled:!Pe,onClick:function(e){e.preventDefault(),console.log("clicked next ",W),t.push({pathname:"/ajukan_kpr/form",query:{tipe:Y}})},children:"Selanjutnya"})}):(0,c.jsxs)("div",{id:"credit_step_3",className:"col-md-6 ".concat(window.innerWidth>767&&"ms-lg-5"," ps-lg-4 ").concat(d().rightForm," p-0 px-lg-3"),children:[(0,c.jsx)(l.Z,{showPercent:Ie}),1==K&&(0,c.jsx)(g.Z,{setProgressCredit:function(e){return Oe(e)},setStepCredit:function(e){return Te(e)},formData:JSON.parse(D),branches:W,tipeKPR:Y,dataPengajuan:te,setDataPengajuan:ae,jenisKPR:de,loadingStep:pe,setLoadingStep:me,setKPRid:Se,setShowPercent:_e,percent:b,KPRid:fe,idKavling:xe}),2==K&&(0,c.jsx)(f.Z,{setProgressCredit:function(e){return Oe(e)},setStepCredit:function(e){return Te(e)},KPRid:fe,setLoadingStep:me,setShowPercent:_e,percent:b,idKavling:xe}),3==K&&(0,c.jsx)(S.Z,{setProgressCredit:function(e){return Oe(e)},setStepCredit:function(e){return Te(e)},KPRid:fe,setLoadingStep:me,setShowPercent:_e,percent:b}),4==K&&(0,c.jsx)(v.Z,{setProgressCredit:function(e){return Oe(e)},setStepCredit:function(e){return Te(e)},submitCredit:function(){return Re()},KPRid:fe,setLoadingStep:me,tipeKPR:Y,modalSucces:V,setModalSucces:$})]})]})}),F&&(0,c.jsx)(I.Z,{handleClose:function(){return U(!1)}}),(0,c.jsx)("button",{type:"button","data-bs-target":"#modalKprSuccess","data-bs-toggle":"modal",style:{display:"none"},ref:be})]})]}))})))},28090:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ajukan_kpr",function(){return a(36577)}])},61464:function(e){"use strict";e.exports=next},45987:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});var n=a(63366);function r(e,t){if(null==e)return{};var a,r,o=(0,n.Z)(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)a=s[r],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(o[a]=e[a])}return o}}},function(e){e.O(0,[9774,296,2333,2295,7116,7621,2905,1175,1276,2888,179],(function(){return t=28090,e(e.s=t);var t}));var t=e.O();_N_E=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.