PageSourceSearch

https://vastedge.com/_next/static/chunks/pages/login-0a7608ceda2613a9.js

js vastedge.com collected 2026-09-24 12:25:10 UTC 7,499 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3459],{73700:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/login",function(){return t(63203)}])},35405:function(e,s,t){"use strict";t.d(s,{B:function(){return n},k:function(){return a}});var r=t(85893);function a(e){var s=e.user;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"bg-[#EDF7ED] flex h-[45px] rounded-[5px] items-center justify-center",children:[(0,r.jsx)("svg",{xmlns:"https://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6 text-[#2e7d32]",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),(0,r.jsxs)("span",{className:"text-[#1E4620] mx-2",children:["Enter the OTP sent to ",null==s?void 0:s.email]})]})})}function n(e){return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"bg-[#f7eded] flex h-[45px] rounded-[10px] items-center justify-center",children:[(0,r.jsx)("svg",{xmlns:"https://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6 text-red-600 ml-3",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),(0,r.jsx)("span",{className:"text-[#461e1e] mx-2 text-[12px] flex",children:e.err})]})})}},63203:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return f}});var r=t(14924),a=t(26042),n=t(69396),o=t(85893),l=t(67294),i=t(9473),c=t(42598),d=t(11163),x=t(35405),u=t(29185),p=t(41664),m=t.n(p),h={src:"/_next/static/media/vastedge-loging-bg.e6a634e7.png",height:639,width:1920,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAQAAAAEwYbDAAAAJUlEQVR42iWKQQoAAAjCtP7/ZUltOwxEaEQUrSVEZ2IK0yn+9wDHNxIDllgpUAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:3},g=t(20700),f=function(){var e=(0,d.useRouter)(),s=(0,i.I0)(),t=(0,l.useState)({email:"",password:""}),p=t[0],f=t[1],b=(0,l.useState)(!1),w=b[0],j=b[1],v=(0,i.v9)(function(e){return e.login});v.isLoggedIn&&e.push("/page-list-content");var y=function(e){f(function(s){return(0,n.Z)((0,a.Z)({},s),(0,r.Z)({},e.target.name,e.target.value))})},N=function(t){t.preventDefault(),s((0,c.fZ)({email:p.email,password:p.password},e))};return(0,o.jsxs)("div",{style:{backgroundImage:"url(".concat(h.src,")"),backgroundColor:"#0e1832",backgroundSize:"cover",backgroundPosition:"center"},className:"min-h-screen py-6 flex flex-col justify-center sm:py-12",children:[(0,o.jsx)("div",{className:"absolute inset-0 bg-gray-900 opacity-50"})," ",(0,o.jsx)("img",{alt:"contact with ".concat(g.nM),height:"10",width:"10",className:" absolute",src:"/_next/static/media/bg_logo.b52b8abe.png",style:{filter:"invert(1) brightness(114)",position:"absolute",top:"2%",right:"31%",opacity:"0.5",height:"40%",width:"24%",left:"2%"}}),(0,o.jsxs)("div",{className:"relative py-3 sm:w-[90%] md:w-[420px] sm:mx-auto",children:[" ",(0,o.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-cyan-400 to-[#760ee97a] shadow-lg transform -skew-y-6 sm:skew-y-0 sm:-rotate-6 sm:rounded-3xl"}),(0,o.jsx)("div",{style:{boxShadow:"rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px; 0px 3px 8px rgba(0, 0, 0, 0.2), 0px 8px 38px rgba(0, 0, 0, 0.2)"},className:"relative px-4 py-10 bg-white shadow-lg sm:rounded-3xl sm:p-10",children:(0,o.jsxs)("div",{className:"max-w-md mx-auto",children:[(0,o.jsx)("div",{className:"flex justify-center py-4",children:(0,o.jsx)(u.Z,{image:"login"})}),(0,o.jsx)("h1",{className:"text-2xl text-black font-semibold text-center mb-4",children:"Login"}),(0,o.jsx)("div",{className:"my-2",children:v.err&&(0,o.jsx)(x.B,{err:v.err})}),(0,o.jsxs)("form",{className:"py-3",onSubmit:N,children:[(0,o.jsxs)("div",{className:"relative mb-4",children:[(0,o.jsx)("input",{type:"email",id:"email",name:"email",onChange:y,className:"peer placeholder-transparent h-10 w-full border-b-2 border-gray-300 text-gray-900 focus:outline-none focus:border-rose-600",placeholder:"Email address",required:!0}),(0,o.jsx)("label",{htmlFor:"email",className:"absolute left-0 -top-3.5 font-semibold text-gray-600 text-sm peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-440 peer-placeholder-shown:top-2 transition-all peer-focus:-top-3.5 peer-focus:text-gray-600 peer-focus:text-sm",children:"Email Address"})]}),(0,o.jsxs)("div",{className:"relative mb-4 mt-4",children:[(0,o.jsx)("input",{type:w?"text":"password",id:"password",name:"password",onChange:y,className:"peer placeholder-transparent h-10 w-full border-b-2 border-gray-300 text-gray-900 focus:outline-none focus:border-rose-600",placeholder:"Password",required:!0}),(0,o.jsx)("label",{htmlFor:"password",className:"absolute left-0 -top-3.5 font-semibold text-gray-600 text-sm peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-440 peer-placeholder-shown:top-2 transition-all peer-focus:-top-3.5 peer-focus:text-gray-600 peer-focus:text-sm",children:"Password"}),(0,o.jsxs)("div",{className:"absolute inset-y-0 right-0 pr-3 flex items-center text-sm leading-5",children:[(0,o.jsx)("svg",{className:"h-[15p
1x] text-gray-700 cursor-pointer ".concat(w?"block":"hidden"),onClick:function(){return j(!w)},xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 576 512",children:(0,o.jsx)("path",{fill:"currentColor",d:"M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"})}),(0,o.jsx)("svg",{className:"h-[15px] text-gray-700 cursor-pointer ".concat(w?"hidden":"block"),onClick:function(){return j(!w)},xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 640 512",children:(0,o.jsx)("path",{fill:"currentColor",d:"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"})})]})]}),(0,o.jsx)("div",{className:"mb-4",children:(0,o.jsx)("button",{type:"submit",className:"w-full bg-[#364993] hover:bg-blue-700 text-white font-semibold py-2 rounded-lg focus:outline-none",children:v.loading?"Loading...":"Login"})}),(0,o.jsx)("div",{className:"flex justify-center",children:(0,o.jsx)("button",{className:"flex items-center bg-white border border-gray-300 rounded-lg shadow-md px-6 py-2 text-sm font-medium text-gray-800 hover:bg-gray-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500",children:(0,o.jsx)(m(),{href:"/forgot_password",children:(0,o.jsx)("a",{className:"text-blue-700 text-sm",children:"Forgot your password?"})})})})]})]})})]})]})}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=73700)}),_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.