PageSourceSearch

https://www.elliptic.co/_nuxt/BcHNdMIa.js

js elliptic.co collected 2026-09-24 15:18:32 UTC 2,125 bytes, 1 lines download raw bytes

1import{d as A,c as N,ah as B,ai as C,u as S,v as T,aq as $,ar as w,as as q,j as M,A as l,g as R,Y as V,at as _,x as u,o as g,I as a,f as E,al as U,i as j,aQ as D,aV as I,aW as L,h as c,a7 as O,au as z,q as H}from"./CHz7KWu6.js";const Q=["id"],W={class:"newsletter__form-wrapper"},Y=["placeholder"],F=A({name:"newsletter",__name:"newsletter-module",props:{module:{}},setup(n){const{t:r}=N(),h=B(),{firstLoadComplete:d}=C(h),s=S(),m=u(),x=u();let i=null;const o=u("");function p(){d.value&&(i=s.$gsap.context(()=>{v(),b()},m.value))}function v(){_().width<s.$screen.xl&&f()}function b(){_().width>=s.$screen.xl&&f()}function f(){const e=x.value;if(!e)return;s.$gsap.timeline({scrollTrigger:{trigger:e,start:"center center",toggleActions:"restart none none reverse"}}).fromTo(e,{opacity:0},{opacity:1,duration:1,ease:"power2.inOut"})}function k(){if(!o.value){console.error("No email address provided");return}const e=n.module.redirect;if(!e){console.error("No redirect URL found in data");return}H().replace({path:`/${e}/`,query:{email:o.value}})}return T(d,()=>{w(()=>{p()})}),$(()=>{w(()=>{p()})}),q(()=>{i&&i.revert()}),(e,t)=>(g(),M("section",{class:"newsletter module",id:n.module.id,ref_key:"moduleRef",ref:m},[l(V,{class:"newsletter__container"},{default:R(()=>[t[1]||(t[1]=a("div",{class:"newsletter__bg"},null,-1)),n.module.heading?(g(),E(U,{key:0,class:"newsletter__heading",heading:n.module.heading},null,8,["heading"])):j("",!0),a("div",W,[a("form",{class:"newsletter__form",onSubmit:D(k,["prevent"])},[I(a("input",{"onUpdate:modelValue":t[0]||(t[0]=y=>o.value=y),type:"email",class:"newsletter__email-input",placeholder:c(r)("Business email"),required:""},null,8,Y),[[L,o.value]]),l(O,{class:"newsletter__submit-button",type:"basic",text:c(r)("Sign me up"),link:{type:"button"}},null,8,["text"])],32),l(z,{class:"newsletter__disclaimer-text","text-block":`<p>${c(r)("By submitting, you consent to allow Elliptic to store and process the information submitted to provide the content requested.")}</p>`},null,8,["text-block"])])]),_:1})],8,Q))}}),J=Object.assign(F,{__name:"NewsletterModule"});export{J as default};

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.