1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5503],{25503:(t,s,e)=>{e.r(s),e.d(s,{default:()=>a});var i=e(49209),r=e(67910);const o={mixins:[i.Z],data:function(){return{email:"",password:"",errorMessage:"",buttonLoading:!1,submitSuccess:!1}},props:{action:String,message:String,timestamp:String},computed:{token:function(){return window.laravel.csrfToken}},mounted:function(){this.message&&(this.error=!0,this.errorMessage=this.message)},methods:{submitForm:function(){var t=this;this.buttonLoading=!0;for(var s=[],e=0;e<this.$children.length;e++)"function"==typeof this.$children[e].validate&&s.push(this.$children[e].validate());var i=!0;Promise.all(s).then((function(s){if(s.forEach((function(t){t||(i=!1)})),i){var e={action:t.action,email:t.email};r.Z.submit(e).then((function(s){s.error?t.errorMessage=s.message:(t.submitSuccess=!0,t.errorMessage=""),t.buttonLoading=!1}))}}))}}};const a=(0,e(51900).Z)(o,(function(){var t=this,s=t._self._c;return s("div",[""!==t.errorMessage?s("div",{staticClass:"shop-form__message"},[t._v(t._s(t.errorMessage))]):t._e(),t._v(" "),t.submitSuccess?s("div",{staticClass:"shop-form__text"},[t._v(t._s(t.__("form_register_resent_text")))]):s("div",[s("div",{staticClass:"shop-form__subtitle"},[t._v(t._s(t.__("form_activation_code_subtitle")))]),t._v(" "),s("form",{ref:"form",attrs:{method:"POST",action:t.action}},[s("input",{attrs:{type:"hidden",name:"_token"},domProps:{value:t.token}}),t._v(" "),s("div",{staticClass:"shop-form__row"},[s("div",{staticClass:"shop-form__form-field"},[s("form-field",{staticClass:"form-field form-field--dark",attrs:{"required-message":t.__("form_email_required"),"error-message":t.__("form_email_error"),label:t.__("email"),name:"email_reset",validation:"email|required"},model:{value:t.email,callback:function(s){t.email=s},expression:"email"}})],1)]),t._v(" "),s("div",{staticClass:"shop-form__bottom"},[s("div",{staticClass:"shop-form__submit"},[s("button",{staticClass:"button button--filled icon",class:{"button--loading":t.buttonLoading},attrs:{disabled:t.buttonLoading},on:{click:function(s){return s.preventDefault(),t.submitForm.apply(null,arguments)}}},[t._v(t._s(t.__("form_activation_submit")))])])])])])])}),[],!1,null,null,null).exports}}]);
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.