PageSourceSearch

https://www.wonderhfl.com/_next/static/chunks/pages/login-e46d7804e945ce7e.js

js wonderhfl.com collected 2026-10-08 08:07:19 UTC 9,891 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3459],{36429:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/login",function(){return i(37644)}])},91121:function(e,t,i){"use strict";i.r(t),t.default={src:"/_next/static/media/arrow.8252198e.png",height:512,width:512,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAG1BMVEVMaXEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACalcoGAAAACHRSTlMABqHFtY9aEc2jtUIAAAAJcEhZcwAAD9gAAA/YAaD98CUAAAAsSURBVHicRYtBDgAgDMIKm87/v9gY4+RESgFqihNFgEAZF+RK2x6/9NTyu28RkAB5FdRIvwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},32411:function(e,t,i){"use strict";i.r(t),t.default={src:"/_next/static/media/logo.01e51a11.png",height:102,width:356,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAHlBMVEXiICagNSl/R0rfICh5RD3mHyWCRkusOEUNaTbfISXy7tZiAAAACnRSTlM+glBVQk0zO4KApayktAAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAABpJREFUeJxjYGXhZGBmZWZgYORgZGdiYWIDAAI5AD1i0EHxAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:2}},91806:function(e,t){"use strict";t.Z={src:"/_next/static/media/rk-logo.c2af91ca.svg",height:25,width:24,blurWidth:0,blurHeight:0}},85414:function(e,t,i){"use strict";i.r(t),t.default={src:"/_next/static/media/Patterns.20022499.svg",height:832,width:411,blurWidth:0,blurHeight:0}},37644:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSG:function(){return A},localizationData:function(){return g}});var n=i(85893),o=i(25675),a=i.n(o),l=i(91444),r=i(67294),s=i(54007),d=i(67962),c=i(11163),m=i(67132),u=i(40433);i(91004);var A=!0;let g={en:{phoneNumber:"Phone number",phoneNumberPlaceholder:"Enter your 10 digit mobile number",enterOtp:"Enter OTP",enterMobile:"Enter your 10 digit mobile number",login:"Login",getOtp:"Get OTP",back:"Back",title:"Welcome to Wonder Home Finance",description:"Please login to access your account.",invalidPhoneNumber:"Invalid phone number",invalidOtp:"Invalid OTP. Please enter a 6-digit number.",otpPlaceholder:"Enter received OTP here",promotedBy:"Promoted by"},"hi-IN":{phoneNumber:"मोबाइल नंबर",phoneNumberPlaceholder:"अपना 10 अंकों का मोबाइल नंबर दर्ज करें",enterOtp:"OTP दर्ज करें",enterMobile:"अपना 10 अंकों का मोबाइल नंबर दर्ज करें",login:"लॉगिन करें",getOtp:"OTP प्राप्त करें",back:"वापस",title:"वंडर होम फाइनेंस में आपका स्वागत है",description:"कृपया अपने खाते तक पहुँचने के लिए लॉगिन करें।",invalidPhoneNumber:"अमान्य मोबाइल नंबर",invalidOtp:"अमान्य OTP। कृपया 6-अंकों का नंबर दर्ज करें।",otpPlaceholder:"प्राप्त OTP यहां दर्ज करें",promotedBy:"द्वारा प्रचारित"},"gu-IN":{phoneNumber:"ફોન નંબર",phoneNumberPlaceholder:"તમારો 10 અંકનો મ
1ોબાઇલ નંબર દાખલ કરો",enterOtp:"OTP દાખલ કરો",enterMobile:"તમારો 10 અંકનો મોબાઇલ નંબર દાખલ કરો",login:"લોગિન કરો",getOtp:"OTP મેળવો",back:"પાછળ",title:"વન્ડર હોમ ફાઇનાન્સમાં આપનું સ્વાગત છે",description:"કૃપા કરીને તમારા ખાતામાં પ્રવેશ કરવા માટે લોગિન કરો.",invalidPhoneNumber:"અમાન્ય ફોન નંબર",invalidOtp:"અમાન્ય OTP. કૃપા કરી 6 અંકનો નંબર દાખલ કરો.",otpPlaceholder:"પ્રાપ્ત OTP અહીં દાખલ કરો",promotedBy:"દ્વારા પ્રમોટ કરાયેલ"},"kn-IN":{phoneNumber:"ದೂರವಾಣಿ ಸಂಖ್ಯೆ",phoneNumberPlaceholder:"ನಿಮ್ಮ 10 ಅಂಕಗಳ ಮೊಬೈಲ್ ಸಂಖ್ಯೆಯನ್ನು ನಮೂದಿಸಿ",enterOtp:"OTP ನಮೂದಿಸಿ",enterMobile:"ನಿಮ್ಮ 10 ಅಂಕಗಳ ಮೊಬೈಲ್ ಸಂಖ್ಯೆಯನ್ನು ನಮೂದಿಸಿ",login:"ಲಾಗ್ ಇನ್ ಮಾಡಿ",getOtp:"OTP ಪಡೆಯಿರಿ",back:"ಹಿಂದೆ",title:"ವಂಡರ್ ಹೋಮ್ ಫೈನಾನ್ಸ್ ಗೆ ಸುಸ್ವಾಗತ",description:"ದಯವಿಟ್ಟು ನಿಮ್ಮ ಖಾತೆಗೆ ಪ್ರವೇಶಿಸಲು ಲಾಗ್ ಇನ್ ಮಾಡಿ.",invalidPhoneNumber:"ಅಮಾನ್ಯ ದೂರವಾಣಿ ಸಂಖ್ಯೆ",invalidOtp:"ಅಮಾನ್ಯ OTP. ದಯವಿಟ್ಟು 6-ಅಂಕಗಳ ಸಂಖ್ಯೆಯನ್ನು ನಮೂದಿಸಿ.",otpPlaceholder:"ಪ್ರाप्त OTP ಇಲ್ಲಿ ನಮೂದಿಸಿ",promotedBy:"ಮಾರ್ಗದರ್ಶಕ"}};t.default=e=>{var t,o,A,h;let{loginPageData:p}=e,b=(0,c.useRouter)(),[v,f]=(0,r.useState)(""),[x,N]=(0,r.useState)(""),[w,P]=(0,r.useState)(null==p?void 0:null===(o=p[0])||void 0===o?void 0:null===(t=o.data)||void 0===t?void 0:t.attributes),[k,O]=(0,r.useState)(null==p?void 0:null===(h=p[1])||void 0===h?void 0:null===(A=h.data)||void 0===A?void 0:A.attributes),[S,T]=(0,r.useState)(!1),[E,_]=(0,r.useState)(!1),[y,I]=(0,r.useState)(!1),[j,R]=(0,r.useState)(""),[B,C]=(0,r.useState)("");(0,r.useEffect)(()=>{var e,t,i,n;P(null==p?void 0:null===(t=p[0])||void 0===t?void 0:null===(e=t.data)||void 0===e?void 0:e.attributes),O(null==p?void 0:null===(n=p[1])||void 0===n?void 0:null===(i=n.data)||void 0===i?void 0:i.attributes)},[p]),(0,r.useEffect)(()=>{let handleResize=()=>{_(window.innerWidth<=1200)};return handleResize(),window.addEventListener("resize",handleResize),()=>{window.removeEventListener("resize",handleResize)}},[]);let _handleInput=(e,t)=>{switch(e){case 1:f(t),R("");break;case 2:N(t),C("")}};return(0,n.jsx)(r.Fragment,{children:(0,n.jsxs)("div",{className:"position-relative",children:[(0,n.jsx)(a(),{draggable:!1,src:i(32411),alt:"Wonder Home Finance",className:" mt-4 margin-85px-left w-140px h-40px e-login-logo cursor-pointer",onClick:()=>{b.push("/")}}),(0,n.jsxs)("div",{className:"e-login-rk-logo position-absolute right-90px z-index-999 top-0 mt-4 d-flex align-items-center",children:[(0,n.jsxs)("span",{className:"e-primary-font-medium e-font-12",children:[g[b.locale].promotedBy," "]}),(0,n.jsx)(a(),{src:i(91806).Z,"data-at2x":"../../assets/images/header/logo.png",className:"default-logo ms-2 align-top",width:40,alt:"Wonder Home Finance",unoptimized:!0})]}),(0,n.jsx)("div",{className:"container mt-5 pt-3 pb-5 ".concat(E?"":"me-5"," e-login-container"),children:(0,n.jsxs)("div",{className:"row pb-5",children:[(0,n.jsxs)("div",{className:"pe-lg-5 col-lg-5 col-md-8",children:[(0,n.jsx)("h1",{className:"e-primary-font-semi-bold e-font-weight-600 e-font-35 e-black line-height-42px mb-4 pb-1",children:w.title}),(0,n.jsx)("p",{className:"e-secondary-font e-font-16 e-font-weight-400 line-height-22px e-black mb-4 pb-3",children:w.description}),!0===S&&(0,n.jsxs)("p",{className:"e-primary-font-medium cursor-pointer e-back-to-login",onClick:()=>T(!1),children:[(0,n.jsx)(a(),{src:i(91121),width:15,className:"me-2"}),g[b.locale].back," "]}),!1===S?(0,n.jsx)(s.t7,{value:v,placeholder:g[b.locale].phoneNumberPlaceholder,label:g[b.locale].phoneNumber,className:"me-lg-5 me-md-5 pe-lg-5 pe-md-5",type:"number",max:10,bg_type:!0,require:!0,error:j,handleChange:e=>_handleInput(1,e)}):(0,n.jsx)(s.t7,{value:x,placeholder:g[b.locale].otpPlaceholder,label:g[b.locale].otpLabel,type:"number",max:6,className:"me-lg-5 me-md-5 pe-lg-5 pe-md-5",bg_type:!0,require:!1,error:B,handleChange:e=>_handleInput(2,e)}),(0,n.jsx)("div",{className:"text-center mt-4 me-lg-5 me-md-5 pe-lg-5 pe-md-5",children:(0,n.jsx)(d.KM,{name:S?k.login:k.get_otp,className:"padding-140px-lr e-login-button ".concat(!0===y&&"e-btn-loader"),onPress:S?function(){if(""===x||6!==x.length||!/^\d+$/.test(x)){C("Invalid OTP. Please enter a 6-digit number.");return}I(!0);let e=JSON.stringify({mobile:v,otp:x});(0,u.Z)("verify-login-otp",e,!1,!0).then(e=>{if(200===e.status_code){var t;
1let i=new Date().toLocaleString("en-US",{timeZone:"Asia/Kolkata"}),n=new Date(i).getTime();sessionStorage.setItem("whfToken",null===(t=e.data)||void 0===t?void 0:t.access_token),sessionStorage.setItem("whfTokenExpiration",n+36e5),function(){let e=sessionStorage.getItem("whfToken"),t=sessionStorage.getItem("whfTokenExpiration");if(e&&t){let e=new Date().getTime();e>=t&&(localStorage.removeItem("whfToken"),localStorage.removeItem("whfTokenExpiration"),window.location.href="/login")}}(),window.location.href="/dashboard"}else l.Am.dismiss(),l.Am.error(e.message,{type:"error",icon:(0,n.jsx)(a(),{draggable:!1,src:i(71295)})});I(!1)})}:function(){if(""===v||10!==v.length){R("Invalid phone number");return}I(!0);let e=JSON.stringify({mobile:v});(0,u.Z)("get-login-otp",e,!1,!0).then(e=>{200===e.status_code?T(!0):(l.Am.dismiss(),l.Am.error(e.message,{type:"error",icon:(0,n.jsx)(a(),{draggable:!1,src:i(71295)})})),I(!1)})}})})]}),(0,n.jsx)("div",{className:"offset-lg-1 col-lg-6 position-relative d-lg-block d-none",children:(0,n.jsx)(a(),{draggable:!1,src:m.Z.getStrapiMedia(null==w?void 0:w.banner),width:611,height:659,alt:"Wonder Home Finance",className:"position-relative z-index-1",unoptimized:!0})})]})}),(0,n.jsx)("div",{className:"e-background-venetian-red position-absolute min-h-100vh h-100 right-0px top-0px e-width-461 d-lg-block d-md-block d-none",children:(0,n.jsx)(a(),{src:i(85414),alt:"Wonder Home Finance",className:"position-absolute right-0px h-100 bottom-0px"})})]})})}}},function(e){e.O(0,[571,4643,4007,9774,2888,179],function(){return e(e.s=36429)}),_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.