PageSourceSearch

https://app.vayonet.com/static/js/72.92d77943.chunk.js

js vayonet.com collected 2026-10-02 01:49:22 UTC 8,893 bytes, 2 lines download raw bytes

1(this["webpackJsonpvuexy-react-admin-dashboard"]=this["webpackJsonpvuexy-react-admin-dashboard"]||[]).push([[72],{1702:function(e,t,c){"use strict";c.r(t);var s=c(27),a=c(5),n=c(14),l=c(209),i=c(625),r=(c(229),c(167)),o=c(4),j=c(210),d=c(610),m=c(160),b=(c(617),c(115)),u=c(78),h=c(334),O=c(870),x=c(572),p=c(573),f=c(574),g=c(1924),N=c(21);t.default=function(){var e,t,v,y=Object(i.a)().skin,S=Object(j.b)(),R=Object(n.e)(),E=Object(n.f)(),w=Object(g.a)().t,C=Object(j.c)((function(e){return e.LoginSlice.isLogin})),I=Object(j.c)((function(e){return e.LoginSlice.loginButton})),k=Object(j.c)((function(e){return e.LoginSlice.loginError})),L=Object(j.c)((function(e){return e.LoginSlice.licenseError})),z=Object(j.c)((function(e){return e.RegisterSlice})),B=Object(a.useState)(0),T=Object(s.a)(B,2),G=T[0],_=T[1],M=Object(a.useState)(!1),V=Object(s.a)(M,2),F=V[0],U=V[1];Object(a.useEffect)((function(){U(L)}),[L]),Object(a.useEffect)((function(){document.title=w("Vayonet | Giri\u015f Yap")}),[]);var q=p.g({phone:p.i().required(w("RqMess")),password:p.i().min(6,f.d).required(w("RqMess"))}),D=Object(x.a)({initialValues:{phone:null!==(e=localStorage.getItem("phone"))&&void 0!==e?e:"",password:null!==(t=localStorage.getItem("password"))&&void 0!==t?t:"",remember:null!==(v=localStorage.getItem("remember"))&&void 0!==v&&v},validationSchema:q,onSubmit:function(e){S({type:b.a.RQ_LOGIN,payload:e}),S({type:b.a.LOGIN_BUTTON,payload:e})}}),H=D.handleSubmit,J=D.handleChange,K=D.values,Y=D.errors,A=D.touched,P=D.resetForm,Q=D.setFieldValue;Object(a.useEffect)((function(){!0===C&&(E("/branches",{state:{from:R.pathname}}),P())}),[C]),Object(a.useEffect)((function(){setTimeout((function(){403===k[0]&&_(!0)}),500)}),[k]),Object(a.useEffect)((function(){setTimeout((function(){z.isRegister&&(_(!1),E("/login"),S({type:u.a.REGISTER_FINISH}),o.b.success(w("Do\u011frulama i\u015fleminiz ba\u015far\u0131yla tamamland\u0131!")))}),1e3)}),[z.isRegister]);var W="dark"===y?"login-v2-dark.svg":"login-v2.svg",X=c(653)("./".concat(W)).default;return Object(N.jsxs)("div",{className:"auth-wrapper auth-cover",children:[Object(N.jsxs)(m.jb,{className:"auth-inner m-0",children:[Object(N.jsxs)("a",{href:"https://vayonet.com",className:"brand-logo",children:[Object(N.jsx)("img",{src:r.default,alt:"logo",height:30}),"dark"===JSON.parse(localStorage.getItem("skin"))?Object(N.jsx)("h2",{className:"brand-text-dark brand-text mb-0 text-primary ms-1",children:"Vayonet"}):Object(N.jsx)("h2",{className:"brand-text-light brand-text mb-0 text-primary ms-1",children:"Vayonet"})]}),Object(N.jsx)(m.B,{className:"d-none d-lg-flex align-items-center p-5",lg:"8",sm:"12",children:Object(N.jsx)("div",{className:"w-100 d-lg-flex align-items-center justify-content-center px-5",children:Object(N.jsx)("img",{className:"img-fluid",src:X,alt:"Login Cover"})})}),Object(N.jsx)(m.B,{className:"d-flex align-items-center auth-bg px-2 p-lg-5",lg:"4",sm:"12",children:Object(N.jsxs)(m.B,{className:"px-xl-2 mx-auto",sm:"8",md:"6",lg:"12",children:[Object(N.jsx)(m.v,{tag:"h2",className:"fw-bold mb-1",children:"Vayonete Ho\u015f Geldiniz! ! \ud83d\udc4b"}),Object(N.jsx)(m.u,{className:"mb-2",children:"L\xfctfen hesap bilgilerinizle giri\u015f yap\u0131n\u0131z"}),Object(N.jsxs)("form",{className:"auth-login-form mt-2",onSubmit:H,children:[Object(N.jsxs)("div",{className:"mb-1",children:[Object(N.jsx)(m.O,{className:"form-label",for:"login-email",children:"Telefon"}
1),Object(N.jsx)(m.L,{autoFocus:!0,type:"text",placeholder:"500 000 00 00",invalid:Y.phone&&A.phone,name:"phone",value:K.phone,onChange:function(e){Q("phone",Object(h.a)(e.target.value,K.phone))}}),Object(f.a)(Y.phone,A.phone)]}),Object(N.jsxs)("div",{className:"mb-1",children:[Object(N.jsxs)("div",{className:"d-flex justify-content-between",children:[Object(N.jsx)(m.O,{className:"form-label",for:"login-password",children:"\u015eifre"}),Object(N.jsx)(l.b,{to:"/sifremi-unuttum",children:Object(N.jsx)("small",{children:"\u015eifrenizi Mi Unuttunuz?"})})]}),Object(N.jsx)(d.a,{className:"input-group-merge",invalid:Y.password&&A.password,name:"password",value:K.password,onChange:J}),Object(f.a)(Y.password,A.password)]}),Object(N.jsxs)("div",{className:"form-check mb-1",children:[Object(N.jsx)(m.L,{type:"checkbox",id:"remember-me",name:"remember",checked:K.remember,onChange:function(e){Q("remember",e.target.checked),e.target.checked?(localStorage.setItem("phone",K.phone),localStorage.setItem("password",K.password)):(localStorage.removeItem("phone"),localStorage.removeItem("password"))}}),Object(N.jsx)(m.O,{className:"form-check-label",for:"remember-me",children:"Beni Hat\u0131rla"})]}),Object(N.jsx)(m.i,{disabled:I,color:"primary",block:!0,type:"submit",children:"Giri\u015f Yap"})]}),Object(N.jsxs)("p",{className:"text-center mt-2",children:[Object(N.jsx)("span",{className:"me-25",children:"Yeni Misiniz?"}),Object(N.jsx)(l.b,{to:"/register",children:Object(N.jsx)("span",{children:"\xdcye Olun"})})]})]})})]}),Object(N.jsx)(O.a,{codeModal:G,setCodeModal:_,phoneNum:K.phone}),Object(N.jsxs)(m.R,{isOpen:F,toggle:function(){U(!F),S({type:b.a.LICENSE_ERROR,payload:{status:!1}})},className:"modal-dialog-centered modal-lg",children:[Object(N.jsx)(m.U,{className:"bg-transparent",toggle:function(){U(!F),S({type:b.a.LICENSE_ERROR,payload:{status:!1}})}}),Object(N.jsx)(m.S,{className:"px-sm-5 mx-50 pb-5",children:Object(N.jsxs)(m.jb,{className:"d-flex justify-content-center align-items-center",children:[Object(N.jsx)(m.B,{className:"text-center",xs:"12",children:Object(N.jsxs)("h4",{children:["Lisans s\xfcreniz dolmu\u015ftur. L\xfctfen lisans sat\u0131n al\u0131n\u0131z.",Object(N.jsx)("br",{})," \u0130leti\u015fim i\xe7in : 0212-951-0676"]})}),Object(N.jsx)(m.B,{xs:"2",className:"mt-3",children:Object(N.jsx)(m.i,{color:"primary",onClick:function(){return S({type:b.a.LICENSE_ERROR,payload:{status:!1}})},children:"Tamam"})})]})})]})]})}},610:function(e,t,c){"use strict";var s=c(24),a=c(32),n=c(27),l=c(211),i=c(5),r=c(8),o=c.n(r),j=c(1028),d=c(1027),m=c(160),b=c(21),u=["label","hideIcon","showIcon","visible","className","htmlFor","placeholder","iconSize","inputClassName","invalid"],h=Object(i.forwardRef)((function(e,t){var c,r=e.label,h=e.hideIcon,O=e.showIcon,x=e.visible,p=e.className,f=e.htmlFor,g=e.placeholder,N=e.iconSize,v=e.inputClassName,y=e.invalid,S=Object(l.a)(e,u),R=Object(i.useState)(x),E=Object(n.a)(R,2),w=E[0],C=E[1];return Object(b.jsxs)(i.Fragment,{children:[r?Object(b.jsx)(m.O,{className:"form-label",for:f,children:r}):null,Object(b.jsxs)(m.M,{className:o()((c={},Object(a.a)(c,p,p),Object(a.a)(c,"is-invalid",y),c)),children:[Object(b.jsx)(m.L,Object(s.a)(Object(s.a)({ref:t,invalid:y,type:!1===w?"password":"text",placeholder:g||"\xb7\xb7\xb7\xb7\xb7\xb7\xb7\xb7\xb7\xb7\xb7\xb7",className:o()(Object(a.a)({},v,v))},r&&f?{id:f}:{}),S)),Object(b.jsx)(m.N,{className:"cursor-pointer",onClick:function(){return C(!w)},children:function(){var e=N||14;return!1===w?h||Object(b.jsx)(j.a,{size:e}):O||Object(b.jsx)(d.a,{size:e})}()})]})]})}));t.a=h,h.defaultProps={visible:!1}},617:function(e,t,c){},870:function(e,t,c){"use strict";c(5);var s=c(160),a=c(1924),n=c(572),l=(c(574),c(210)),i=c(78),r=c(21);t.a=function(e){var t=e.codeModal,c=e.setCodeModal,o=e.phoneNum,j=Object(a.a)().t,d=Object(l.b)(),m=(Object(l.c)((function(e){return e.RegisterSlice.isRegisterCodeValid})),Object(n.a)({initialValues:{code:""},onSubmit:function(e){d({type:i.a.REGISTER_CONTROL_CODE,payload:{phone:o,code:e.code}})}})),b=m.handleSubmit,u=m.handleChange,h=m.values;m.errors,m.touched,m.setFieldValue;return Object(r.jsxs)(s.R,{isOpen:t,centered:!0,size:"lg",children:[Object(r.jsx)(s.U,{className:"bg-transparent text-center",toggle:function(){c(!t)}}),Object(r.jsx)(s.S,{className:"mb-2",children:Object(r.jsxs)(s.jb,{children:[Object(r.jsx)(s.B,{sm:12,className:"text-center",children:Object(r.jsxs)("h1",{children:[j("Gelen Kodu Giriniz"),":"]})}),Object(r.jsx)(s.B,{sm:12,className:"text-center",children:Object(r.jsx)("div",{children:Object(r.jsx)("span",{children:j("Telefonunuza Onay Kodu G\xf6nderildi")})})}),Object(r.jsx)(s.B,{sm:12,className:"",children:Object(r.jsx)(s.jb,{className:"d-flex justify-content-center",children:Object(r.jsx)(s.B,{sm:"4",className:"my-3",children:Object(r.jsx)(s.L,{type:"text",name:"code",className:"text-center py-1",style:{fontSize:"54px"},maxLength:4,value:h.code,onChange:u})})})}),Object(r.jsx)(s.B,{sm:"12",className:"",children:Object(r.jsx)(s.jb,{className:"d-flex justify-content-center",children:Object(r.jsxs)(s.B,{sm:"4",className:"",children:[Object(r.jsx)(s.i,{color:"primary",className:"w-100",onClick:b,children:j("G\xf6nder")}),Object(r.jsx)(s.i,{color:"success",className:"w-100 mt-1",onClick:function(){d({type:i.a.REGISTER_SEND_CODE_TO_USER,payload:{phone:o}})},children:j("Tekrar Kod Al")})]})})})]})})]})}}}]);
2//# sourceMappingURL=72.92d77943.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.