PageSourceSearch

https://www.drivingtest.gr/js/chunks/account-login.js?id=4e5d3078e24a0f493348

js drivingtest.gr collected 2026-10-02 01:02:39 UTC 6,781 bytes, 2 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([[180],{3019:(t,o,e)=>{"use strict";e.r(o),e.d(o,{default:()=>i});var r=e(629);function n(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function a(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?n(Object(e),!0).forEach((function(o){s(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):n(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function s(t,o,e){return o in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}const c={name:"Login",components:{VueRecaptcha:e(7991).Z},data:function(){return{form:{username:null,password:null,google_recaptcha_response:null}}},computed:a({},(0,r.Se)({userEmailFromRegister:"account/userEmailFromRegister"})),watch:{userEmailFromRegister:{handler:function(t,o){this.form.username=this.userEmailFromRegister},immediate:!0}},methods:a(a({},(0,r.nv)({doLogin:"account/login"})),{},{doSubmit:function(){var t=this;this.doLogin({email:this.form.username,password:this.form.password,google_recaptcha_response:this.form.google_recaptcha_response}).then((function(o){o.data.status?window.history.length>2?t.$router.back():t.$router.push({name:"home"}):(t.form.google_recaptcha_response=null,alertify.alert(o.data.message))}))},doRegister:function(){this.$router.push({name:"register"})},doForgotPassword:function(){document.location.href=this.$store.getters.urls.view.account.forgot},doSocial:function(t){document.location.href=this.$store.getters.urls.view.social[t]},onCaptchaVerified:function(t){this.form.google_recaptcha_response=t},onCaptchaExpired:function(){}})};const i=(0,e(1900).Z)(c,(function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"login app flex-row align-items-center d-flex content-center"},[e("b-container",{attrs:{fluid:"lg"}},[e("b-row",{staticClass:"justify-content-center"},[e("b-col",{attrs:{sm:"12",md:"10",lg:"8"}},[t._.isEmpty(t.userEmailFromRegister)?t._e():e("b-alert",{attrs:{show:"",variant:"warning"}},[e("b-icon",{attrs:{icon:"exclamation-circle-fill",variant:"secondary"}}),t._v(" "+t._s(t.__("account/account.login.after_register_message")))],1),t._v(" "),e("b-card-group",[e("b-card",{staticClass:"p-2",attrs:{"no-body":""}},[e("b-card-body",[e("h2",[t._v(t._s(t.__("account/account.login.label")))]),t._v(" "),e("p",{staticClass:"text-muted"},[t._v(t._s(t.__("account/account.login.sign_in_account")))]),t._v(" "),e("form",{attrs:{method:"POST",action:"#"}},[e("b-input-group",{staticClass:"mb-3"},[e("b-input-group-prepend",[e("b-input-group-text",[e("b-icon",{attrs:{icon:"person-fill"}})],1)],1),t._v(" "),e("b-input",{staticClass:"form-control",attrs:{placeholder:"Email",id:"email",type:"email",name:"email",required:"required",autocomplete:"email",autofocus:"autofocus"},on:{keydown:function(o){return!o.type.indexOf("key")&&t._k(o.keyCode,"enter",13,o.key,"Enter")?null:t.doSubmit(o)}},model:{value:t.form.username,callback:function(o){t.$set(t.form,"username",o)},expression:"form.username"}}),t._v(" "),e("b-form-invalid-feedback",[t._v("Required")])],1),t._v(" "),e("b-input-group",{staticClass:"mb-4"},[e("b-input-group-prepend",[e("b-input-group-text",[e("b-icon",{attrs:{icon:"lock-fill"}})],1)],1),t._v(" "),e("b-input",{staticClass:"form-control",attrs:{id:"password",type:"password",name:"password",required:"required",autocomplete:"current-password",placeholder:t.__("account/account.login.password")},on:{keydown:function(o){return!o.type.indexOf("key")&&t._k(o.keyCode,"enter",13,o.key,"Enter")?null:t.doSubmit(o)}},model:{value:t.form.password,callback:function(o){t.$set(t.form,"password",o)},expression:"form.password"}}),t._v(" "),e("b-form-invalid-feedback",[t._v("\n                                        Required\n                                    ")])],1),t._v(" "),e("b-row",[t._.isEmpty(t.form.google_recaptcha_response)?e("b-col",{staticClass:"mb-4",attrs:{cols:"12"}},[e("vue-recaptcha",{attrs:{sitekey:t.$store.getters.global.google.recaptcha_site_key,loadRecaptchaScript:!0,language:t.$store.getters["language/selectedId"]},on:{verify:t.onCaptchaVerified,expired:t.onCaptchaExpired}})],1):t._e(),t._v(" "),e("b-col",{attrs:{cols:"12"}},[e("b-button",{staticClass:"px-4",staticStyle:{width:"100%"},attrs:{variant:"primary",disabled:t._.isEmpty(t.form.google_recaptcha_response)},on:{click:t.doSubmit}},[t._v("\n                                            "+t._s(t.__("account/account.login.sign_in"))+"\n                                        ")])],1),t._v(" "),e("b-col",{staticClass:"text-right",attrs:{cols:"12"}},[e("b-button",{staticClass:"px-0",staticStyle:{"font-size":"13px"},attrs:{variant:"link"},on:{click:t.doForgotPassword}},[t._v("\n                                            "+t._s(t.__("account/account.login.forgot_label"))+"\n                                        ")])],1)],1)],1)]),t._v(" "),e("b-card-footer",{staticClass:"p-4"},[e("b-row",[e("b-col",{attrs:{cols:"12"}},[e("b-button",{staticClass:"btn btn-facebook",staticStyle:{"background-color":"#4267b2","font-weight":"bold","border-color":"transparent","border-radius":"1px","box-shadow":"0 2px 4px 0 rgb(0 0 0/25%)","box-sizing":"border-box"},attrs:{block:""},on:{click:function(o){return t.doSocial("fb")}}},[e("b-icon",{attrs:{icon:"facebook"}}),t._v(" "),e("span",[t._v("Login with Facebook")])],1)],1),t._v(" "),e("b-col",{staticClass:"mt-4",attrs:{cols:"12"}},[e("b-button",{staticClass:"btn btn-google",staticStyle:{"background-color":"#4285f4",color:"white","font-weight":"bold","border-color":"transparent","border-radius":"1px","box-shadow":"0 2px 4px 0 rgb(0 0 0/25%)","box-sizing":"border-box"},attrs:{block:"",type:"button"},on:{click:function(o){return t.doSocial("google")}}},[e("b-icon",{attrs:{icon:"google"}}),t._v(" "),e("span",[t._v("Sign in with Google")])],1)],1)],1)],1)],1),t._v(" "),e("b-card",{staticClass:"text-white bg-primary py-5 d-md-down-none",attrs:{"no-body":""}},[e("b-card-body",{staticClass:"text-center"},[e("div",[e("h2",[t._v(t._s(t.__("account/account.login.sign_up")))]),t._v(" "),e("p",[t._v(t._s(t.__("account/account.login.sign_up_account")))]),t._v(" "),e("b-button",{staticClass:"active mt-3",attrs:{variant:"secondary"},on:{click:t.doRegister}},[t._v("\n                                    "+t._s(t.__("account/account.login.sign_up_now"))+"\n                                ")])],1)])],1)],1)],1)],1)],1)],1)}),[],!1,null,null,null).exports}}]);
2//# sourceMappingURL=account-login.js.map?id=4e5d3078e24a0f493348

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.