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,EAAab,EAAIb,YAAY,IAAI,CAACc,EAAG,qBAAqB,CAACG,YAAY,oBAAoBI,MAAM,CAAC,KAAOR,EAAIO,GAAG,iBAAiB,MAAQ,iBAAiB,iBAAgB,EAAM,IAAM,OAAOE,YAAYT,EAAIU,GAAG,CAAC,CAACC,IAAI,UAAUC,GAAG,UAAS,OAAEM,EAAM,QAAEC,IAAW,MAAO,CAAClB,EAAG,MAAM,CAACG,YAAY,8BAA8B,CAACH,EAAG,MAAM,CAACG,YAAY,kBAAkB,CAACH,EAAG,QAAQ,CAACmB,WAAW,CAAC,CAACzB,KAAK,QAAQ0B,QAAQ,UAAUC,MAAOtB,EAAS,MAAEuB,WAAW,UAAUC,MAAML,EAAQX,MAAM,CAAC,KAAO,QAAQ,YAAcR,EAAIO,GAAG,iBAAiB,yBAAyB,IAAIkB,SAAS,CAAC,MAASzB,EAAS,OAAGc,GAAG,CAAC,MAAQ,SAASC,GAAWA,EAAOW,OAAOC,YAAiB3B,EAAIlB,MAAMiC,EAAOW,OAAOJ,MAAK,OAAOtB,EAAIK,GAAG,KAAKJ,EAAG,SAAS,CAACG,YAAY,mBAAmBI,MAAM,CAAC,KAAO,SAAS,SAAWR,EAAId,eAAec,EAAIK,GAAG,KAAKJ,EAAG,OAAO,CAACG,YAAY,eAAe,CAACJ,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,GAAGW,EAAO,QAAQlB,EAAIK,GAAG,KAAKJ,EAAG,OAAO,CAACmB,WAAW,CAAC,CAACzB,KAAK,OAAO0B,QAAQ,SAASC,MAAO,OAAStB,EAAIf,QAASsC,WAAW,qBAAqBC,MAAMxB,EAAIf,QAAU,gBAAkB,eAAe,CAACe,EAAIK,GAAGL,EAAIM,GAAGN,EAAIhB,YAAY,IAAI,MAAK,MAAS,GAAG,QAAQ,MACjjD,EACI4C,EAAkB,E","sources":["webpack:///./resources/area/web/default/js/components/FooterSubscribe.vue?c762","webpack:///./resources/area/web/default/js/components/FooterSubscribe.vue","webpack:///./resources/area/web/default/js/components/FooterSubscribe.vue?669d","webpack:///./resources/area/web/default/js/components/FooterSubscribe.vue?83d7"],"sourcesContent":["\nimport {Component, Vue, Watch} from 'vue-property-decorator';\nimport {ValidationProvider, ValidationObserver, extend} from 'vee-validate';\nimport {email, required} from 'vee-validate/dist/rules';\n\nextend('required', required);\nextend('email', email);\n\n@Component({\n name: 'footer-subscribe',\n components: {\n ValidationProvider,\n ValidationObserver\n }\n})\n\nexport default class extends Vue {\n private email: string = '';\n private message: string = '';\n private success: string | null = null;\n private isLoading: boolean = false;\n\n private async doSubscribe() {\n this.isLoading = true;\n try {\n const {data} = await this.$solarClient.post(`/newsletter/subscribe`, {email: this.email});\n this.message = data.message;\n this.success = data.success;\n } catch (e) {\n this.email = '';\n } finally {\n this.isLoading = false;\n setTimeout(() => {\n this.message = '';\n this.success = null;\n }, 4000);\n }\n }\n}\n","import { render, staticRenderFns } from \"./FooterSubscribe.vue?vue&type=template&id=210ddfe8&\"\nimport script from \"./FooterSubscribe.vue?vue&type=script&lang=ts&\"\nexport * from \"./FooterSubscribe.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[0]!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FooterSubscribe.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[0]!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FooterSubscribe.vue?vue&type=script&lang=ts&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('ul',{staticClass:\"_newsletter\"},[_c('li',[_vm._v(_vm._s(_vm.$t('Newsletter')))]),_vm._v(\" \"),_c('li',[_c('div',{staticClass:\"_newsletter-container\"},[_c('ValidationObserver',{attrs:{\"slim\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ handleSubmit }){return [_c('form',{on:{\"submit\":function($event){$event.preventDefault();$event.stopPropagation();return handleSubmit(_vm.doSubscribe)}}},[_c('ValidationProvider',{staticClass:\"newsletter__input\",attrs:{\"name\":_vm.$t('Email address'),\"rules\":\"required|email\",\"skip-if-empty\":false,\"tag\":\"div\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, classes }){return [_c('div',{staticClass:\"newsletter__container-form\"},[_c('div',{staticClass:\"hexagon__input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],class:classes,attrs:{\"type\":\"email\",\"placeholder\":_vm.$t('Email address'),\"email-similarity-check\":\"\"},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing)return;_vm.email=$event.target.value}}})]),_vm._v(\" \"),_c('button',{staticClass:\"_button _chevron\",attrs:{\"type\":\"submit\",\"disabled\":_vm.isLoading}})]),_vm._v(\" \"),_c('span',{staticClass:\"field-error\"},[_vm._v(_vm._s(_vm.$t(errors[0])))]),_vm._v(\" \"),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(null !== _vm.success),expression:\"null !== success\"}],class:_vm.success ? 'field-success' : 'field-error'},[_vm._v(_vm._s(_vm.message))])]}}],null,true)})],1)]}}])})],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"],"names":["extend","required","email","Vue","message","success","isLoading","doSubscribe","this","data","$solarClient","post","e","setTimeout","Component","name","components","ValidationProvider","ValidationObserver","render","_vm","_c","_self","_setupProxy","staticClass","_v","_s","$t","attrs","scopedSlots","_u","key","fn","handleSubmit","on","$event","preventDefault","stopPropagation","errors","classes","directives","rawName","value","expression","class","domProps","target","composing","staticRenderFns"],"sourceRoot":""}