1"use strict";(self.webpackChunkeoroe=self.webpackChunkeoroe||[]).push([[630],{9630:function(e,r,s){s.r(r);var n=s(5861),t=s(9439),a=s(7757),i=s.n(a),c=s(2791),o=s(3855),u=s(3360),l=s(4849),d=s(7689),m=s(184),b=(0,c.lazy)((function(){return Promise.all([s.e(243),s.e(710)]).then(s.bind(s,2710))}));r.default=function(){var e=(0,c.useRef)(),r=(0,d.s0)(),s=(0,c.useState)(!1),a=(0,t.Z)(s,2),f=a[0],h=a[1],p=function(){var s=(0,n.Z)(i().mark((function s(n){var t;return i().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return h(!0),n.preventDefault(),(t=new FormData(e.current)).append("name",t.get("email")),s.next=6,b.addContact(t);case 6:s.sent?(e.current.reset(),b.notify("Thank you for subscribing us.","success"),r("/")):b.notify("Error while submitting form.","error"),h(!1);case 9:case"end":return s.stop()}}),s)})));return function(e){return s.apply(this,arguments)}}();return(0,m.jsxs)("div",{children:[(0,m.jsx)("p",{className:"mb-2 h4",children:"Let's stay in touch!"}),(0,m.jsx)("p",{className:"text-bold mb-3",children:"Subscribe for our regular Community Update"}),(0,m.jsx)("div",{className:"text-center",children:(0,m.jsxs)(o.Z,{ref:e,onSubmit:function(e){return p(e)},className:"d-flex bg-white border-radius rounded p-1 border",style:{maxWidth:400,borderColor:"#EAFAEA"},children:[(0,m.jsx)(o.Z.Control,{type:"email",placeholder:"Email Address",className:"me-2 border-0",name:"email",required:!0}),(0,m.jsxs)(u.Z,{variant:"primary",type:"submit",className:"focus-none d-flex align-items-center px-4 py-2",children:[(0,m.jsx)("div",{children:f?"Subscribing":"Subscribe"}),f&&(0,m.jsx)(l.Z,{size:"sm",animation:"border",role:"status",className:"ms-2",children:(0,m.jsx)("span",{className:"visually-hidden",children:"Loading..."})})]})]})})]})}}}]); 2//# sourceMappingURL=630.c38c47ce.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.