PageSourceSearch

https://welvielearning.com/static/js/21.959905e1.chunk.js

js welvielearning.com collected 2026-10-04 07:41:08 UTC 2,301 bytes, 2 lines download raw bytes

1(this["webpackJsonpreact-testing"]=this["webpackJsonpreact-testing"]||[]).push([[21],{245:function(e,t,i){"use strict";var r=i(257),a=/^0(\d{9,10})$/,n=/^[a-zA-Z0-9_.-]{8,}$/;r.addMethod(r.string,"phoneNumber",(function(e){return this.matches(a,{message:e,excludeEmptyString:!0})})),r.addMethod(r.string,"password",(function(e){return this.matches(n,{message:e,excludeEmptyString:!0})})),t.a=r},473:function(e,t,i){"use strict";i.r(t);var r=i(2),a=i(8),n=(i(1),i(111)),s=i(232),c=i(252),o=i(245),l=i(39),d=i(19),j=i(11),b=i(10),u=i(0);t.default=function(){var e=Object(s.a)().t,t=Object(d.k)(),i=Object(l.g)(),h=Object(a.a)(i,2),m=h[0],g=h[1].isLoading,O=Object(l.f)(),p=Object(a.a)(O,1)[0],x=o.a.object().shape({email:o.a.string().required(e("validate:requiredEmail")).max(255,e("validate:oversizedEmail")).email(e("validate:invalidEmail")),password:o.a.string().required(e("validate:requiredPassword"))}),f=Object(n.d)({mode:"onSubmit",resolver:Object(c.a)(x)}),w=f.register,v=f.handleSubmit,S=f.watch,q=f.formState.errors,y=S("email",""),k=S("password","");return Object(u.jsx)(j.D,{children:Object(u.jsxs)(j.i,{bottom:80,children:[Object(u.jsx)(j.e,{pt:48,pb:48,children:Object(u.jsx)(j.C,{variant:"h2",children:e("login:title")})}),Object(u.jsxs)("form",{onSubmit:v((function(e){m(e).unwrap().then((function(e){localStorage.setItem("userToken",e.access_token),p().unwrap().then((function(e){var i=e.user;if(null!==i&&void 0!==i&&i.is_first_login)return t(b.a.guide);t(b.a.home)}))})).catch((function(){}))})),children:[Object(u.jsx)(j.m,{error:q.email,children:Object(u.jsx)(j.q,Object(r.a)(Object(r.a)({},w("email")),{},{placeholder:e("login:email")}))}),Object(u.jsx)(j.m,{error:q.password,children:Object(u.jsx)(j.q,Object(r.a)(Object(r.a)({},w("password")),{},{type:"password",placeholder:e("login:password")}))}),Object(u.jsx)(j.e,{mt:-12,pr:20,textAlign:"right",children:Object(u.jsx)(j.s,{to:b.a.forgotPassword,underline:"none",children:e("login:forgotPassword")})}),Object(u.jsx)(j.e,{mt:48,children:Object(u.jsx)(j.g,{disabled:!y||!k||g,type:"submit",children:e("login:buttonTitle:signIn")})})]}),Object(u.jsx)(j.e,{pt:24,textAlign:"center",children:Object(u.jsx)(j.s,{to:b.a.login,underline:"always",children:e("login:bySMS")})})]})})}}}]);
2//# sourceMappingURL=21.959905e1.chunk.js.map

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.