1import{B as _,u as C,D as S,c as n,b as t,g as u,d as s,t as i,f as c,E as M,F as j,G as V,H as N,i as p,e as B,w as T,r as A,_ as G,h as d}from"./BR99EonN.js";import{u as z}from"./DSXvt4EQ.js";import{u as F}from"./BU8ctpVN.js";const L={class:"min-h-screen bg-neutral-50"},H={class:"relative bg-brand-500 text-white section-padding overflow-hidden min-h-[85vh] flex items-center"},P={class:"container-brand text-center relative z-10"},E={class:"max-w-2xl mx-auto animate-fade-in-up",style:{"animation-delay":"0.8s"}},O={key:0,class:"mb-6 p-6 bg-success-500/20 backdrop-blur-sm border border-success-400/30 rounded-xl flex items-start text-left"},R={class:"flex-1"},D={class:"text-neutral-100"},Q={key:1,class:"mb-6 p-6 bg-red-500/20 backdrop-blur-sm border border-red-400/30 rounded-xl flex items-start text-left"},Y={class:"flex-1"},I={class:"text-neutral-100"},J={class:"relative bg-white rounded-2xl shadow-2xl p-2"},U=["disabled"],q=["disabled"],W={class:"hidden sm:inline"},K={class:"sm:hidden"},X={class:"text-sm text-neutral-200 mt-4 text-center"},se=_({__name:"newsletter",setup(Z){C({title:"Subscribe to Our Newsletter | AgriVentures",meta:[{name:"description",content:"Get the latest agricultural funding updates, case studies, and expert insights delivered to your inbox. Join hundreds of agricultural professionals who trust AgriVentures."},{property:"og:title",content:"Subscribe to Our Newsletter | AgriVentures"},{property:"og:description",content:"Get the latest agricultural funding updates, case studies, and expert insights delivered to your inbox."},{property:"og:image",content:"https://agriventures.co/og-image.jpg"},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:"Subscribe to Our Newsletter | AgriVentures"},{name:"twitter:description",content:"Get the latest agricultural funding updates, case studies, and expert insights delivered to your inbox."},{name:"twitter:image",content:"https://agriventures.co/og-image.jpg"}]});const r=A(""),{submitContactForm:g,isSubmitting:a,error:l,success:o,resetState:h}=z(),{trackFormStart:v,trackFormSubmit:x}=F();let m=!1;const b=()=>{m||(v("newsletter_page","Newsletter Page Signup"),m=!0)},f=async()=>{if(!(!r.value||a.value)){h();try{await g({email:r.value,source:"Newsletter Page",emailConsent:!0}),o.value&&(x("newsletter_page","Newsletter Page Signup"),r.value="",typeof window<"u"&&window.scrollTo({top:0,behavior:"smooth"}))}catch{}}};return S([o,l],()=>{(o.value||l.value)&&setTimeout(()=>{h()},1e4)}),(w,e)=>{const y=G;return d(),n("div",L,[t("section",H,[e[10]||(e[10]=u('<div class="absolute inset-0 overflow-hidden"><div class="absolute -top-10 -right-10 w-80 h-80 bg-white/5 rounded-full animate-float-slow"></div><div class="absolute top-1/3 -left-20 w-60 h-60 bg-secondary/10 rounded-full animate-float-medium"></div><div class="absolute bottom-20 right-1/4 w-40 h-40 bg-light/5 rounded-full animate-float-fast"></div><svg class="absolute top-0 left-0 w-full h-full opacity-10" preserveAspectRatio="none"><path d="M0,50 Q250,30 500,50 T1000,50 T1500,50" stroke="currentColor" stroke-width="2" fill="none" class="animate-wave-slow"></path><path d="M0,150 Q250,130 500,150 T1000,150 T1500,150" stroke="currentColor" stroke-width="2" fill="none" class="animate-wave-medium" style="animation-delay:0.5s;"></path></svg></div>',1)),t("div",P,[e[9]||(e[9]=u('<div class="inline-flex items-center px-4 py-2 bg-white/10 backdrop-blur-sm rounded-full text-sm font-medium mb-8 animate-fade-in-up" style="animation-delay:0.2s;"><span class="w-2 h-2 bg-success-400 rounded-full mr-2 animate-pulse"></span> Free Newsletter </div><h1 class="text-5xl md:text-6xl lg:text-7xl font-bold mb-6 animate-fade-in-up" style="animation-delay:0.4s;"><span class="relative inline-block"> Stay Connected with <span class="block text-light mt-2">AgriVentures</span><svg class="absolute -bottom-2 left-0 w-full h-3" viewBox="0 0 200 12" preserveAspectRatio="none"><path d="M0,8 Q50,2 100,8 T200,8" stroke="currentColor" stroke-width="3" fill="none" class="text-light animate-draw-line" style="animation-delay:1s;"></path></svg></span></h1><p class="text-xl lg:text-2xl text-neutral-100 max-w-3xl mx-auto mb-12 animate-fade-in-up" style="animation-delay:0.6s;"> Get the latest updates, case studies, and insights delivered straight to your inbox. Join our community of agricultural innovators. </p>',3)),t("div",E,[s(o)?(d(),n("div",O,[e[2]||(e[2]=t("div",{class:"flex-shrink-0 w-12 h-12 rounded-full bg-success-500/30 flex items-center justify-center mr-4"},[t("svg",{class:"w-6 h-6 text-success-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 13l4 4L19 7"})])],-1)),t("div",R,[e[1]||(e[1]=t("h4",{class:"font-semibold text-white mb-1"},"You're all set! ð",-1)),t("p",D,i(s(o)),1)])])):c("",!0),s(l)?(d(),n("div",Q,[e[4]||(e[4]=t("div",{class:"flex-shrink-0 w-12 h-12 rounded-full bg-red-500/30 flex items-center justify-center mr-4"},[t("svg",{class:"w-6 h-6 text-red-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})])],-1)),t("div",Y,[e[3]||(e[3]=t("h4",{class:"font-semibold text-white mb-1"},"Oops!",-1)),t("p",I,i(s(l)),1)])])):c("",!0),s(o)?c("",!0):(d(),n("form",{key:2,onSubmit:M(f,["prevent"]),class:"relative"},[t("div",J,[j(t("input",{"onUpdate:modelValue":e[0]||(e[0]=k=>N(r)?r.value=k:null),type:"email",required:"",disabled:s(a),onFocus:b,placeholder:"Enter your email address...",class:"w-full px-6 py-5 rounded-xl text-gray-800 placeholder-gray-400 focus:outline-none text-lg disabled:opacity-50 disabled:cursor-not-allowed"},null,40,U),[[V,s(r)]]),t("button",{type:"submit",disabled:s(a)||!s(r),class:"absolute right-2 top-1/2 -translate-y-1/2 px-8 py-4 bg-secondary text-white font-semibold rounded-xl hover:bg-secondary-600 focus:outline-none focus:ring-2 focus:ring-light transition-all disabled:opacity-50 disabled:cursor-not-allowed group flex items-center justify-center gap-2 shadow-lg hover:shadow-xl transform hover:scale-105"},[e[5]||(e[5]=t("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})],-1)),t("span",W,i(s(a)?"Subscribing...":"Subscribe Now"),1),t("span",K,i(s(a)?"...":"Go"),1)],8,q)]
1),t("p",X,[e[7]||(e[7]=p(" By subscribing, you agree to our ",-1)),B(y,{to:"/privacy-policy",class:"underline hover:text-light transition-colors"},{default:T(()=>[...e[6]||(e[6]=[p("Privacy Policy",-1)])]),_:1}),e[8]||(e[8]=p(". No spam, unsubscribe anytime. ",-1))])],32))])]),e[11]||(e[11]=t("div",{class:"absolute bottom-8 left-1/2 transform -translate-x-1/2 animate-bounce"},[t("div",{class:"w-6 h-10 border-2 border-white/30 rounded-full flex items-start justify-center pt-2"},[t("div",{class:"w-1 h-3 bg-white rounded-full animate-pulse"})])],-1))]),e[12]||(e[12]=u('<section class="section-padding bg-neutral-50 relative z-10 py-20"><div class="absolute inset-0 overflow-hidden"><div class="absolute top-1/4 -left-32 w-64 h-64 bg-primary/5 rounded-full animate-float-slow"></div><div class="absolute bottom-1/4 -right-32 w-80 h-80 bg-secondary/5 rounded-full animate-float-medium"></div></div><div class="container-brand relative z-10"><div class="text-center mb-16"><div class="inline-flex items-center px-6 py-3 bg-primary/10 text-primary rounded-full text-sm font-medium mb-8"><svg class="w-4 h-4 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"></path></svg> What You'll Get </div><h2 class="text-4xl lg:text-5xl font-bold text-dark mb-6"><span class="relative inline-block"><span class="text-brand-500">Everything You Need to Stay Informed</span><svg class="absolute -bottom-2 left-0 w-full h-3" viewBox="0 0 200 12" preserveAspectRatio="none"><path d="M0,8 Q50,2 100,8 T200,8" stroke="currentColor" stroke-width="3" fill="none" class="text-light/50 animate-draw-line"></path></svg></span></h2><p class="text-xl text-neutral-600 max-w-3xl mx-auto"> Our newsletter brings you valuable insights and real-world examples to help your agricultural business thrive. </p></div><div class="grid md:grid-cols-2 lg:grid-cols-4 gap-8"><div class="group bg-white rounded-2xl p-8 shadow-lg hover:shadow-2xl transition-all duration-500 hover:-translate-y-2 border border-neutral-100"><div class="w-16 h-16 bg-brand-500 rounded-2xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform duration-300"><svg class="w-8 h-8 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path></svg></div><h3 class="text-2xl font-bold text-dark mb-4">Latest Updates</h3><p class="text-neutral-600 leading-relaxed"> Stay ahead with the newest agricultural funding opportunities and program announcements. </p></div><div class="group bg-white rounded-2xl p-8 shadow-lg hover:shadow-2xl transition-all duration-500 hover:-translate-y-2 border border-neutral-100"><div class="w-16 h-16 bg-secondary rounded-2xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform duration-300"><svg class="w-8 h-8 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path></svg></div><h3 class="text-2xl font-bold text-dark mb-4">Real Case Studies</h3><p class="text-neutral-600 leading-relaxed"> Learn from success stories and practical examples of funded agricultural projects. </p></div><div class="group bg-white rounded-2xl p-8 shadow-lg hover:shadow-2xl transition-all duration-500 hover:-translate-y-2 border border-neutral-100"><div class="w-16 h-16 bg-success-500 rounded-2xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform duration-300"><svg class="w-8 h-8 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"></path></svg></div><h3 class="text-2xl font-bold text-dark mb-4">Expert Insights</h3><p class="text-neutral-600 leading-relaxed"> Get actionable advice and industry trends from agricultural finance professionals. </p></div><div class="group bg-white rounded-2xl p-8 shadow-lg hover:shadow-2xl transition-all duration-500 hover:-translate-y-2 border border-neutral-100"><div class="w-16 h-16 bg-brand-500 rounded-2xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform duration-300"><svg class="w-8 h-8 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
1<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path></svg></div><h3 class="text-2xl font-bold text-dark mb-4">Practical Tips</h3><p class="text-neutral-600 leading-relaxed"> Discover strategies and best practices to improve your farm operations and funding success. </p></div></div></div></section>',1))])}}});export{se 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.