1import{_ as k}from"./5XSATRc4.js";import{_ as y,u as N}from"./CLsKqG-e.js";import{_ as T,d as $,D as V,r as n,c as u,s as m,u as t,o as p,b as e,n as D,e as l,H as I,f as S,t as r,k as B,E as C,w as L,g as M,y as E,I as H}from"./BxdW20Ub.js";import{b as q}from"./teMtHUYD.js";const z={key:0},O={class:"container container-md mt-5"},P={key:0,class:"loader"},U={class:"row"},F={class:"px-4 col-lg-4 text-center"},R={class:"logo card d-inline-block position-static p-3 radius-lg mt-2 mb-3 mb-lg-0"},j={class:"flex-grow-1 col-lg"},A={class:"home-h1"},G={class:"small mb-2"},J={class:"d-flex"},K={class:"mb-2 flex-grow-1"},Q=["placeholder"],W={class:"text-end px-2"},X=["innerHTML"],Y={__name:"NewsLetterFooter",setup(Z){const{locale:f}=$(),v=V(),i=n(!1),o=n({turnstileToken:"",email:"",source:"Newsletter"}),d=n(null),_=n(!1);q(d,([{isIntersecting:s}])=>{s&&(_.value=!0)});const h=async()=>{i.value=!0;const{responseData:s}=await N(o.value);s.value.status==="Success"&&(await H({path:`/${f.value}/contacts/success`,query:{type:o.value.source}}),i.value=!1)};return(s,a)=>{const w=k,g=y,b=S,x=E;return t(v).fullPath.indexOf("contacts/success")===-1?(p(),u("div",z,[e("div",O,[e("div",{ref_key:"intersectionTarget",ref:d,class:D(["bg-rounded bg-mars",{animate:t(_)}])},[t(i)?(p(),u("div",P,[l(w)])):m("",!0),e("form",{class:"form-contact",onSubmit:I(h,["prevent"])},[l(g,{modelValue:t(o).turnstileToken,"onUpdate:modelValue":a[0]||(a[0]=c=>t(o).turnstileToken=c)},null,8,["modelValue"]),e("fieldset",null,[e("div",U,[e("div",F,[e("div",R,[l(b,{loading:"lazy",src:"/img/icons/dastra/newsletter.svg",alt:"newsletter",width:"110"})])]),e("div",j,[e("div",A,r(s.$t("Newsletter_title")),1),e("p",G,r(s.$t("Newsletter_headline")),1),e("div",J,[e("div",K,[B(e("input",{"onUpdate:modelValue":a[1]||(a[1]=c=>t(o).email=c),placeholder:s.$t("Newsletter_email"),type:"email",name:"Email",required:"",class:"shadow-sm radius-md form-control border-0"},null,8,Q),[[C,t(o).email]])]),e("div",W,[l(x,{variant:"secondary",shadow:"",icon:"",disabled:!t(o).turnstileToken},{default:L(()=>[M(r(s.$t("Subscribe")),1),a[2]||(a[2]=e("i",{class:"icon-check-circle text-white ms-2"},null,-1))]),_:1,__:[2]}
1,8,["disabled"])])])])])])],32)],2)]),e("p",{class:"fw-medium small my-2 text-center",innerHTML:`* ${s.$t("Newsletter_disc")}`},null,8,X)])):m("",!0)}}},ae=T(Y,[["__scopeId","data-v-7c90c5ea"]]);export{ae as _};
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.