1import{B as N,x as J,o as O,O as U,h as m,c as y,b as e,K as k,d as o,t as S,e as c,w as p,_ as H,i as v,f as w,a0 as V,r as T,C as D,P as re,D as F,E as ie,F as xe,G as ye,H as we,a7 as ee,a3 as ke,N as te,l as B,a2 as ae,aa as _e,ab as le,v as Ce,a as Y,L as q,M as K,X as G,ac as Me,y as de,ad as je,ae as Se,U as Te,J as De,g as oe,I as Le}from"./BR99EonN.js";import{u as $e}from"./DSXvt4EQ.js";import{_ as ze}from"./CQ3lo8F5.js";import{u as Ae}from"./BNECu2TS.js";import{s as ue}from"./DYP5WTjE.js";import{u as Be}from"./BU8ctpVN.js";import{u as Pe}from"./Li1dIJ1Y.js";import"./DH2FJnoU.js";const Ee={key:0,class:"absolute right-0 mt-2 w-56 bg-white rounded-xl shadow-lg border border-neutral-200 py-2 z-50"},Ie={class:"px-4 py-2 border-b border-neutral-100"},Re={class:"text-sm font-medium text-neutral-900 truncate"},Fe={class:"text-xs text-neutral-500"},Ne=N({__name:"UserMenuDropdown",props:{size:{default:"md"}},setup(i){const n=i,{user:s,logout:r}=J(),a=T(!1),d=T(null),u=D(()=>n.size==="sm"?"w-9 h-9":"w-10 h-10"),l=D(()=>n.size==="sm"?"w-7 h-7":"w-8 h-8"),x=D(()=>n.size==="sm"?"text-xs":"text-sm"),f=D(()=>{if(!s.value?.profile)return"U";const L=s.value.profile.firstName||"",j=s.value.profile.lastName||"";return(L.charAt(0)+j.charAt(0)).toUpperCase()||s.value.email?.charAt(0).toUpperCase()||"U"}),h=D(()=>{if(!s.value?.profile)return"User";const L=s.value.profile.firstName,j=s.value.profile.lastName;return L&&j?`${L} ${j}`:s.value.profile.nickname||s.value.email?.split("@")[0]||"User"}),_=D(()=>s.value?.createdDate?new Date(s.value.createdDate).toLocaleDateString("en-US",{year:"numeric",month:"long"}):"recently"),g=()=>{a.value=!a.value},C=()=>{a.value=!1},M=async()=>{try{await r(),C()}catch{}},E=L=>{d.value&&!d.value.contains(L.target)&&C()};return O(()=>{document.addEventListener("click",E)}),U(()=>{document.removeEventListener("click",E)}),(L,j)=>{const I=H;return m(),y("div",{class:"relative",ref_key:"menuRef",ref:d},[e("button",{onClick:g,class:k(["flex items-center justify-center rounded-full bg-neutral-100 hover:bg-neutral-200 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-primary",o(u)])},[e("div",{class:k(["bg-brand-500 rounded-full flex items-center justify-center",o(l)])},[e("span",{class:k(["text-white font-medium",o(x)])},S(o(f)),3)],2)],2),c(V,{name:"dropdown"},{default:p(()=>[o(a)?(m(),y("div",Ee,[e("div",Ie,[e("p",Re,S(o(h)),1),e("p",Fe,"Member since "+S(o(_)),1)]),c(I,{to:"/company-profile",onClick:C,class:"flex items-center w-full text-left px-4 py-2 text-sm text-neutral-700 hover:bg-neutral-50 transition-colors duration-200"},{default:p(()=>[...j[0]||(j[0]=[e("svg",{class:"w-4 h-4 mr-3 text-neutral-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"})],-1),v(" Company Profile ",-1)])]),_:1}),c(I,{to:"/profile",onClick:C,class:"flex items-center w-full text-left px-4 py-2 text-sm text-neutral-700 hover:bg-neutral-50 transition-colors duration-200"},{default:p(()=>[...j[1]||(j[1]=[e("svg",{class:"w-4 h-4 mr-3 text-neutral-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})],-1),v(" Profile Settings ",-1)])]),_:1}),c(I,{to:"/manage-subscriptions",onClick:C,class:"flex items-center w-full text-left px-4 py-2 text-sm text-neutral-700 hover:bg-neutral-50 transition-colors duration-200"},{default:p(()=>[...j[2]||(j[2]=[e("svg",{class:"w-4 h-4 mr-3 text-neutral-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"})],-1),v(" Manage subscriptions ",-1)])]),_:1}),e("button",{onClick:M,class:"flex items-center w-full text-left px-4 py-2 text-sm text-neutral-700 hover:bg-neutral-50 transition-colors duration-200"},[...j[3]||(j[3]=[e("svg",{class:"w-4 h-4 mr-3 text-neutral-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"})],-1),v(" Sign out ",-1)])])])):w("",!0)]),_:1})],512)}}}),Oe=Object.assign(re(Ne,[["__scopeId","data-v-c3e8f213"]]),{__name:"UserMenuDropdown"}),He={class:"relative mt-12 lg:mt-12 -mb-20 lg:-mb-24 z-30"},Ve={class:"container-brand"},Ue={class:"relative bg-gradient-to-br from-[#1a3f4a] to-[#0f2a30] rounded-3xl overflow-hidden shadow-2xl border border-white/5"},Ye={class:"relative z-20 px-6 py-8 lg:px-12 lg:py-10"},Ge={class:"grid grid-cols-1 lg:grid-cols-2 gap-6 lg:gap-12 items-center"},We={key:0,class:"mb-6 p-4 bg-success-500/20 backdrop-blur-sm border border-success-400/30 rounded-lg flex items-start text-left"},qe={class:"flex-1"},Ke={class:"font-medium text-white"},Je={key:1,class:"mb-6 p-4 bg-red-500/20 backdrop-blur-sm border border-red-400/30 rounded-lg flex items-start text-left"},Xe={class:"flex-1"},Qe={class:"font-medium text-white"},Ze={class:"relative"},et=["disabled"],tt=["disabled"],ot={class:"hidden sm:inline"},nt={class:"text-xs text-neutral-200 mt-3"},st=N({__name:"NewsletterSubscribe",setup(i){const n=T(""),{submitContactForm:s,isSubmitting:r,error:a,success:d,resetState:u}=$e(),l=async()=>
1{if(!(!n.value||r.value)){u();try{await s({email:n.value,source:"Newsletter Footer",emailConsent:!0}),d.value&&(n.value="")}catch{}}};return F([d,a],()=>{(d.value||a.value)&&setTimeout(()=>{u()},8e3)}),(x,f)=>{const h=H;return m(),y("section",He,[e("div",Ve,[e("div",Ue,[e("div",Ye,[e("div",Ge,[f[7]||(f[7]=e("div",{class:"text-white lg:pr-8 w-full"},[e("h2",{class:"text-3xl lg:text-4xl font-bold mb-3 md:whitespace-nowrap"},[v(" Subscribe to our "),e("span",{class:"text-light md:whitespace-nowrap"},"free newsletter")]),e("p",{class:"text-base text-neutral-100"}," Get the latest updates, case studies, and insights delivered to your inbox. ")],-1)),e("div",null,[o(d)?(m(),y("div",We,[f[1]||(f[1]=e("div",{class:"flex-shrink-0 w-10 h-10 rounded-full bg-success-500/30 flex items-center justify-center mr-4"},[e("svg",{class:"w-5 h-5 text-success-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 13l4 4L19 7"})])],-1)),e("div",qe,[e("p",Ke,S(o(d)),1)])])):w("",!0),o(a)?(m(),y("div",Je,[f[2]||(f[2]=e("div",{class:"flex-shrink-0 w-10 h-10 rounded-full bg-red-500/30 flex items-center justify-center mr-4"},[e("svg",{class:"w-5 h-5 text-red-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})])],-1)),e("div",Xe,[e("p",Qe,S(o(a)),1)])])):w("",!0),o(d)?w("",!0):(m(),y("form",{key:2,onSubmit:ie(l,["prevent"])},[e("div",Ze,[xe(e("input",{"onUpdate:modelValue":f[0]||(f[0]=_=>we(n)?n.value=_:null),type:"email",required:"",disabled:o(r),placeholder:"Enter your email...",class:"w-full px-5 py-4 pr-36 rounded-lg bg-white text-gray-800 placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-light shadow-md transition-all disabled:opacity-50 disabled:cursor-not-allowed text-base"},null,8,et),[[ye,o(n)]]),e("button",{type:"submit",disabled:o(r)||!o(n),class:"absolute right-2 top-1/2 -translate-y-1/2 px-5 py-2.5 bg-secondary text-white font-semibold rounded-md 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 whitespace-nowrap text-sm"},[f[3]||(f[3]=e("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("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)),e("span",ot,S(o(r)?"Subscribing...":"Subscribe"),1)],8,tt)]),e("p",nt,[f[5]||(f[5]=v(" By subscribing, you agree to our ",-1)),c(h,{to:"/privacy-policy",class:"underline hover:text-light transition-colors"},{default:p(()=>[...f[4]||(f[4]=[v("Privacy Policy",-1)])]),_:1}),f[6]||(f[6]=v(". ",-1))])],32))])])])])])])}}}),rt=Object.assign(st,{__name:"NewsletterSubscribe"});function it(i){const n=i.kind==="matching"?"Matching limit reached":"Eligibility report limit reached",s=i.kind==="matching"?"matching runs":"eligibility reports",r=i.limit>0?`You've used all ${i.limit} of your ${s} for this billing period.`:`You've used all your ${s} for this billing period.`,a=at(i.resetAt),d=a?`${r} ${lt(a)}.`:`${r} Upgrade your plan for more runs, or come back in your next billing cycle.`;return{title:n,body:d}}function at(i){if(!i)return null;const n=new Date(i);if(isNaN(n.getTime()))return null;const s=new Date,r=n.getTime()-s.getTime(),a=Math.max(0,Math.ceil(r/(1e3*60*60*24))),d=n.toLocaleDateString("en-US",{month:"short",day:"numeric"});return a===0?`Resets today (${d})`:a===1?`Resets tomorrow (${d})`:`Resets in ${a} days (${d})`}function lt(i){return i.length===0?i:i.charAt(0).toUpperCase()+i.slice(1)}const dt=["aria-labelledby","aria-describedby"],ut={class:"flex items-start gap-4 mb-4"},ct={class:"flex-1 min-w-0"},pt=["id"],ft=["id"],gt={key:0,class:"mt-2 text-xs text-neutral-500 leading-relaxed"},mt={class:"flex flex-col-reverse sm:flex-row sm:justify-end gap-2 mt-6"},vt=N({__name:"LimitReachedModal",setup(i){const{isOpen:n,error:s,close:r}=Ae(),a=ee(),d=ee(),u=D(()=>s.value?it(s.value):{title:"",body:""}),l=T(null),x=T(null);let f=null;function h(_){n.value&&_.key==="Escape"&&(_.preventDefault(),r())}return O(()=>{window.addEventListener("keydown",h)}),ke(()=>{window.removeEventListener("keydown",h)}),F(n,_=>{_?(f=document.activeElement??null,te(()=>x.value?.focus())):te(()=>{f?.focus?.(),f=null})}),(_,g)=>{const C=H;return m(),B(ae,{to:"body"},[o(n)&&o(s)?(m(),y("div",{key:0,class:"fixed inset-0 z-[100] flex items-center justify-center px-4",role:"dialog","aria-modal":"true","aria-labelledby":o(a),"aria-describedby":o(d),onClick:g[1]||(g[1]=ie((...M)=>o(r)&&o(r)(...M),["self"]))},[g[4]||(g[4]=e("div",{class:"absolute inset-0 bg-neutral-900/60 backdrop-blur-sm animate-fade-in","aria-hidden":"true"},null,-1)),e("div",{ref_key:"dialogRef",ref:l,class:"relative w-full max-w-md bg-white rounded-2xl shadow-2xl border border-neutral-100 p-6 sm:p-7"},[e("div",ut,[g[2]||(g[2]=e("div",{class:"shrink-0 w-10 h-10 rounded-full bg-red-50 text-red-600 flex items-center justify-center","aria-hidden":"true"},[e("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})])],-1)),e("div",ct,[e("h2",{id:o(a),class:"font-heading text-lg font-semibold text-dark leading-snug"},S(o(u).title),9,pt),e("p",{id:o(d),class:"mt-1.5 text-sm text-neutral-600 leading-relaxed"},S(o(u).body),9,ft),o(s).message&&o(s).message!==o(u).title?(m(),y("p",gt,S(o(s).message),1)):w("",!0)])]),e("div",mt,[e("button",{ref_key:"closeBtnRef",ref:x,type:"button",class:"px-4 py-2 text-sm font-medium rounded-lg border border-neutral-200 text-neutral-700 hover:bg-neutral-50 transition-colors duration-150 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-1",onClick:g[0]||(g[0]=(...M)=>o(r)&&o(r)(...M))}," Close ",512),c(C,{to:"/pricings",class:"inline-flex items-center justify-center gap-1.5 px-4 py-2 text-sm font-semibold rounded-lg bg-primary text-white hover:bg-primary/90 transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-1",onClick:o(r)},{default:p(()=>[...g[3]||(g[3]=[v(" Upgrade plan ",-1),e("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 7l5 5m0 0l-5 5m5-5H6"})],-1)])]),_:1},8,["onClick"])])],512)],8,dt)):w("",!0)])}}}),ht=Object.assign(vt,{__name:"ProfilingLimitReachedModal"}),bt=N({__name:"CookieConsent",setup(i){const{onLoaded:n}=_e({src:"/cookie-consent/silktide-consent-manager.js"}),{proxy:s}=le({scriptInput:{src:"/_scripts/assets/0b4cfd6fe39d92e3.js"}}),{proxy:r}
1=Ce({scriptInput:{src:"/_scripts/assets/7677680210413e5e.js"}});return n(()=>{r.gtag("consent","default",{analytics_storage:localStorage.getItem("silktideCookieChoice_analytics")==="true"?"granted":"denied",ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",functionality_storage:localStorage.getItem("silktideCookieChoice_necessary")==="true"?"granted":"denied",security_storage:localStorage.getItem("silktideCookieChoice_necessary")==="true"?"granted":"denied"}),window.silktideCookieBannerManager.updateCookieBannerConfig({background:{showBackground:!0},cookieIcon:{position:"bottomLeft"},cookieTypes:[{id:"necessary",name:"Necessary",description:"<p>These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.</p>",required:!0,onAccept:function(){}},{id:"analytics",name:"Analytics",description:"<p>These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.</p>",defaultValue:!0,onAccept:function(){r.gtag("consent","update",{analytics_storage:"granted"}),s.dataLayer.push({event:"consent_accepted_analytics"})},onReject:function(){r.gtag("consent","update",{analytics_storage:"denied"})}}],text:{banner:{description:'<p>We use cookies on our site to enhance your user experience, provide personalized content, and analyze our traffic. <a href="/cookie-policy" target="_blank">Cookie Policy.</a></p>',acceptAllButtonText:"Accept all",acceptAllButtonAccessibleLabel:"Accept all cookies",rejectNonEssentialButtonText:"Reject non-essential",rejectNonEssentialButtonAccessibleLabel:"Reject non-essential",preferencesButtonText:"Preferences",preferencesButtonAccessibleLabel:"Toggle preferences"},preferences:{title:"Customize your cookie preferences",description:"<p>We respect your right to privacy. You can choose not to allow some types of cookies. Your cookie preferences will apply across our website.</p>",creditLinkText:"Get this banner for free",creditLinkAccessibleLabel:"Get this banner for free"}},position:{banner:"bottomRight"}})}),(a,d)=>(m(),y("div"))}}),xt=Object.assign(bt,{__name:"CookieConsent"}),ne="matching_promo_dismissed",yt=["/try-matching","/dashboard","/login","/register"],se=7e3,wt=500;function kt(i){try{return globalThis.sessionStorage?.getItem(i)??null}catch{return null}}function _t(i,n){try{globalThis.sessionStorage?.setItem(i,n)}catch{}}const Ct=()=>{const i=Y(),{isLoggedIn:n,isAuthInitialized:s}=J(),r=T(!1),a=D(()=>n.value?"authenticated":"guest"),d=D(()=>yt.some(C=>i.path.startsWith(C)));let u=null,l=null;function x(){u!==null&&(clearTimeout(u),u=null),l!==null&&(clearInterval(l),l=null)}function f(){return kt(ne)==="true"}function h(){return!f()&&!d.value&&s.value}function _(){x(),!f()&&(h()?u=setTimeout(()=>{!d.value&&!f()&&(r.value=!0)},se):l=ue(()=>{h()&&(clearInterval(l),l=null,u=setTimeout(()=>{!d.value&&!f()&&(r.value=!0)},se))},wt))}function g(){r.value=!1,_t(ne,"true"),x()}return F(()=>i.path,()=>{d.value?(r.value=!1,x()):!f()&&u===null&&l===null&&_()}),O(()=>{f()||_()}),U(()=>{x()}),{isVisible:r,variant:a,dismiss:g}},Mt={key:0,class:"fixed z-40 bottom-4 inset-x-4 sm:bottom-24 sm:right-6 sm:left-auto sm:max-w-sm",role:"complementary","aria-label":"AI Funding Scanner promotion"},jt={class:"bg-white rounded-xl border border-neutral-200 shadow-xl overflow-hidden"},St={class:"relative p-5"},Tt={class:"font-heading text-lg font-bold text-dark leading-snug mb-2 pr-6"},Dt={class:"text-neutral-500 text-sm leading-relaxed mb-4"},Lt={key:0,class:"bg-gradient-light rounded-lg border border-neutral-200 p-3 mb-4 space-y-2","aria-hidden":"true"},$t={class:"flex-1 space-y-1"},zt={key:1,class:"text-center text-neutral-400 text-xs mt-2"},At={key:2,class:"flex items-center justify-center gap-4 mt-3 pt-3 border-t border-neutral-100"},Bt=N({__name:"MatchingPromoCard",setup(i){const{isVisible:n,variant:s,dismiss:r}=Ct(),{trackMatchingCtaClick:a}=Be(),d=D(()=>s.value==="guest"?"Find funding opportunities that match your company":"Your funding matches are ready"),u=D(()=>s.value==="guest"?"Paste your website URL. Our AI surfaces the best-fit EU programmes in minutes.":"Run AI matching against your saved company profile to discover new opportunities."),l=D(()=>s.value==="guest"?"Try It Free":"Open Dashboard"),x=D(()=>s.value==="guest"?"/try-matching":"/dashboard"),f=D(()=>s.value==="guest");function h(){a(s.value==="guest"?"promo_guest":"promo_authenticated"),r()}return(_,g)=>{const C=H;return m(),B(ae,{to:"body"},[c(V,{name:"promo-slide"},{default:p(()=>[o(n)?(m(),y("div",Mt,[e("div",jt,[g[6]||(g[6]=e("div",{class:"h-[3px] bg-gradient-brand","aria-hidden":"true"},null,-1)),e("div",St,[e("button",{type:"button",class:"absolute top-3 right-3 w-8 h-8 flex items-center justify-center rounded-full text-neutral-400 hover:text-neutral-600 hover:bg-neutral-100 transition-colors","aria-label":"Dismiss promotion",onClick:g[0]||(g[0]=(...M)=>o(r)&&o(r)(...M))},[...g[1]||(g[1]=[e("svg",{class:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)])]),g[5]||(g[5]=e("div",{class:"inline-flex items-center gap-2 px-3 py-1.5 bg-brand-50 text-brand-600 rounded-full text-xs font-semibold uppercase tracking-wider font-heading mb-3"},[e("svg",{class:"w-3.5 h-3.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2","aria-hidden":"true"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",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"})]),v(" AI Funding Scanner ")],-1)),e("h3",Tt,S(o(d)),1),e("p",Dt,S(o(u)),1),o(f)?(m(),y("div",Lt,[(m(),y(q,null,K(2,M=>e("div",{key:M,class:k(["flex items-center gap-2.5",{"opacity-60":M>1}])},[e("div",{class:k(["w-6 h-6 rounded flex items-center justify-center shrink-0",M===1?"bg-brand-50":"bg-neutral-50"])},[e("span",{class:k(["text-[10px] font-bold",M===1?"text-brand-600":"text-neutral-400"])},"#"+S(M),3)],2),e("div",$t,[e("div",{class:k(["h-2 rounded",M===1?"bg-brand-200 w-24":"bg-neutral-200 w-16"])},null,2),e("div",{class:k(["h-1.5 bg-neutral-100 rounded",M===1?"w-32":"w-24"])},null,2)]),g[2]||(g[2]=e("svg",{class:"w-3 h-3 text-neutral-300 shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})],-1))],2)),64))])):w("",!0),c(C,{to:o(x),class:"flex items-center justify-center gap-2 w-full btn-brand-accent text-sm font-semibold py-2.5 rounded-lg",onClick:h},{default:p(()=>[v(S(o(l))+" ",1),g[3]||(g[3]=e("svg",{class:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2","aria-hidden":"true"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"})],-1))]),_:1},8,["to"]),o(f)?(m(),y("p",zt," No account needed ")):w("",!0),o(f)?(m(),y("div",At,[...g[4]||(g[4]=[e("div",{class:"text-center"},[e("div",{class:"text-neutral-700 font-bold text-xs font-heading"},"Fast"),e("div",{class:"text-neutral-400 text-[10px]"},"Analysis")],-1),e("div",{class:"w-px h-5 bg-neutral-200","aria-hidden":"true"},null,-1),e("div",{class:"text-center"},[e("div",{class:"text-neutral-700 font-bold text-xs font-heading"},"Free"),e("div",{class:"text-neutral-400 text-[10px]"},"No cost")],-1),e("div",{class:"w-px h-5 bg-neutral-200","aria-hidden":"true"},null,-1),e("div",{class:"text-center"},[e("div",{class:"text-neutral-700 font-bold text-xs font-heading"},"AI"),e("div",{class:"text-neutral-400 text-[10px]"},"Powered")],-1)])])):w("",!0)])])])):w("",!0)]),_:1})])}}}),Pt=Object.assign(Bt,{__name:"MatchingPromoCard"}),ce="agriventures-onboarding-tour-v1";function X(){try{return globalThis.localStorage?.getItem(ce)??null}catch{return null}}function P(i){try{globalThis.localStorage?.setItem(ce,i)}catch{}}function A(){return X()==="completed"}function Et(i){if(A())return!1;const n=X();return n===null?!0:i==="/dashboard"?n==="nav-done":i==="/dashboard/funding"?n==="dashboard-done":i.startsWith("/funding/")&&i.length>9?n==="funding-list-done":!1}function W(i){return i.filter(n=>typeof n.element!="string"?!0:globalThis.document?.querySelector(n.element)!==null)}function R(i,n=5e3){return new Promise(s=>{const r=globalThis.document?.querySelector(i)??null;if(r){s(r);return}const a=Date.now(),d=ue(()=>{const u=globalThis.document?.querySelector(i)??null;u?(clearInterval(d),s(u)):Date.now()-a>=n&&(clearInterval(d),s(null))},100)})}function It(i){return[{element:'[data-tour="nav-dashboard"]',popover:{title:"Welcome to AgriVentures",description:"Your Command Desk gives you personalised funding intelligence, application tracking, and deadline alerts. Click here to get started.",nextBtnText:"Open Dashboard",onNextClick:()=>{i()}}}]}function Rt(i){return[{element:'[data-tour="dashboard-header"]',popover:{title:"Command Desk",description:"Your central hub for funding intelligence. This tour covers the key areas to help you get the most out of the platform."}},{element:'[data-tour="dashboard-hero"]',popover:{title:"Upcoming Deadlines",description:"Stay on top of critical funding deadlines. Key dates are surfaced here so you never miss an opportunity."}},{element:'[data-tour="dashboard-matches"]',popover:{title:"Your Matches",description:"Personalised funding opportunities matched to your organisation's profile, sector, and goals."}}
1,{element:'[data-tour="dashboard-pipeline"]',popover:{title:"Application Pipeline",description:"Track every application from research through to submission in one organised view."}},{element:'[data-tour="dashboard-reports"]',popover:{title:"Insights & Reports",description:"Analyse your funding performance with detailed breakdowns and trends.",nextBtnText:"Continue to Funding",onNextClick:()=>{i()}}}]}function Ft(i){return[{element:'[data-tour="funding-filters"]',popover:{title:"Filter Funding",description:"Narrow down opportunities by type, sector, and eligibility criteria to find the most relevant grants."}},{element:'[data-tour="funding-sort"]',popover:{title:"Sort Results",description:"Order funding opportunities by deadline, amount, or relevance to prioritise your search."}},{element:'[data-tour="funding-grid"] > div:first-child',popover:{title:"Funding Card",description:"Each card shows the funder, amount, deadline, and match score. Let's open one to see the full details.",nextBtnText:"Open Funding Call",onNextClick:()=>{i()}}}]}function Nt(){return[{element:'[data-tour="funding-detail-header"]',popover:{title:"Funding Call Overview",description:"This card shows the programme, call identifier, deadline badge, and the full title of the opportunity at a glance."}},{element:'[data-tour="funding-detail-metrics"]',popover:{title:"Key Metrics",description:"The maximum funding amount and co-funding rate define the financial scope. Use these to quickly assess fit before reading the full call."}},{element:'[data-tour="funding-detail-actions"]',popover:{title:"Eligibility & Documents",description:"Generate your personalised eligibility score and access the official call document directly from here - saving you hours of manual review."}},{element:'[data-tour="funding-detail-description"]',popover:{title:"Full Description",description:"The complete programme description and expected results. Read this carefully before starting your application."}},{element:'[data-tour="funding-detail-topics"]',popover:{title:"Topics & Focus Areas",description:"These tags show the research or thematic areas this call targets. Strong alignment between your project and these topics improves your chances."}},{element:'[data-tour="funding-detail-eligibility"]',popover:{title:"Eligibility & Requirements",description:"The formal eligibility criteria - who can apply, consortium requirements, and any geographic or organisational restrictions."}},{element:'[data-tour="funding-detail-key-info"]',popover:{title:"Key Information",description:"Application deadline, total budget, opening date, and eligible applicant types in one place. Bookmark this before building your consortium."}},{element:'[data-tour="funding-detail-apply"]',popover:{title:"Ready to Apply?",description:"When you are ready, use this button to go directly to the official application portal for this call."}},{element:'[data-tour="funding-detail-consultation"]',popover:{title:"Talk to an Expert",description:"Not sure if this call is right for you? Book a 1:1 consultation with one of our funding experts. They can review your idea, flag risks, and help you build a stronger application - before you invest weeks of effort.",doneBtnText:"Done"}}]}async function Ot(i){const{driver:n}=await G(async()=>{const{driver:l}=await import("./DDJuxtkw.js");return{driver:l}},[],import.meta.url);let s=!1,r=null;function a(){r?.isActive()&&(s=!0,r.destroy())}function d(){P("nav-done"),s=!0,r?.destroy(),i.push("/dashboard")}const u=W(It(d));return u.length===0?{stop:a}:(r=n({steps:u,animate:typeof window<"u"?!window.matchMedia("(prefers-reduced-motion: reduce)").matches:!1,onDestroyed:()=>{s||P("completed")}}),r.drive(),{stop:a})}async function Ht(i){const{driver:n}=await G(async()=>{const{driver:l}=await import("./DDJuxtkw.js");return{driver:l}},[],import.meta.url);let s=!1,r=null;function a(){r?.isActive()&&(s=!0,r.destroy())}function d(){P("dashboard-done"),s=!0,r?.destroy(),i.push("/dashboard/funding")}const u=W(Rt(d));return u.length===0?{stop:a}:(r=n({steps:u,animate:typeof window<"u"?!window.matchMedia("(prefers-reduced-motion: reduce)").matches:!1,onDestroyed:()=>{s||P("completed")}}),r.drive(),{stop:a})}async function Vt(i){const{driver:n}=await G(async()=>{const{driver:f}=await import("./DDJuxtkw.js");return{driver:f}},[],import.meta.url);let s=!1,r=null;function a(){r?.isActive()&&(s=!0,r.destroy())}const u=globalThis.document?.querySelector("[data-funding-id]")?.getAttribute("data-funding-id")??null;function l(){P("funding-list-done"),s=!0,r?.destroy(),u?i.push("/funding/"+u):P("completed")}const x=W(Ft(l));return x.length===0?{stop:a}:(r=n({steps:x,animate:typeof window<"u"?!window.matchMedia("(prefers-reduced-motion: reduce)").matches:!1,onDestroyed:()=>{s||P("completed")}}),r.drive(),{stop:a})}async function Ut(){const{driver:i}=await G(async()=>{const{driver:d}=await import("./DDJuxtkw.js");return{driver:d}},[],import.meta.url);let n=!1,s=null;function r(){s?.isActive()&&(n=!0,s.destroy())}const a=W(Nt());return a.length===0?{stop:r}:(s=i({steps:a,animate:typeof window<"u"?!window.matchMedia("(prefers-reduced-motion: reduce)").matches:!1,onDestroyed:()=>{n||P("completed")}}),s.drive(),{stop:r})}const Yt={class:"hidden","aria-hidden":"true"},Gt=N({__name:"OnboardingTour",setup(i){const n=Y(),s=Me(),{hasActiveMembership:r,checkMembershipStatus:a}=Pe();let d=null;function u(){return d||(d=a().then(()=>
1r.value).catch(()=>!1)),d}let l=null,x=!1;async function f(h){if(!(A()||x||l||!Et(h)||!await u())&&!(A()||x||l)){x=!0;try{const g=X();g===null?await R('[data-tour="nav-dashboard"]')&&!A()&&!l&&(l=await Ot(s)):h==="/dashboard"&&g==="nav-done"?await R('[data-tour="dashboard-header"]')&&!A()&&!l&&(l=await Ht(s)):h==="/dashboard/funding"&&g==="dashboard-done"?await R('[data-tour="funding-page"]')&&!A()&&!l&&(await R('[data-tour="funding-sort"]',2e3),!A()&&!l&&(l=await Vt(s))):h.startsWith("/funding/")&&h.length>9&&g==="funding-list-done"&&await R('[data-tour="funding-detail"]')&&!A()&&!l&&(await R('[data-tour="funding-detail-header"]',2e3),!A()&&!l&&(l=await Ut()))}finally{x=!1}}}return O(()=>{f(n.path)}),F(()=>n.path,h=>{l&&(l.stop(),l=null),x=!1,f(h)}),U(()=>{l&&(l.stop(),l=null)}),(h,_)=>(m(),y("span",Yt))}}),Wt=Object.assign(Gt,{__name:"OnboardingTour"}),qt=de("/logo-dark.webp"),Kt=de("/logo-white.webp");function Jt(i){const n=je(),s=Y(),r=Se(),a=T({path:s.fullPath,title:document.title});let d={path:"",title:""},u=()=>{};const l=n.hooks.hook("page:finish",()=>{Promise.race([new Promise(x=>setTimeout(x,100)),new Promise(x=>{u=r.hooks.hook("dom:rendered",()=>x())})]).finally(u).then(()=>{a.value={path:s.fullPath,title:document.title},(d.path!==a.value.path||d.title!==a.value.title)&&(i&&i(a.value),d=a.value)})});return Te(()=>{u(),l()}),a}const Xt={class:"min-h-screen flex flex-col"},Qt={class:"flex justify-between items-center py-4 px-6"},Zt={class:"col-span-6 lg:col-span-2 shrink-0"},eo={class:"lg:hidden col-span-6 flex justify-end items-center space-x-3"},to={class:"hidden lg:flex lg:col-span-8 flex-1 justify-center min-w-0"},oo={class:"flex justify-center w-full"},no={class:"flex items-center space-x-2 lg:space-x-0.5 xl:space-x-4 lg:text-sm xl:text-base font-medium text-neutral-800"},so={key:0,class:"absolute top-full left-0 mt-1 w-52 bg-white rounded-lg shadow-lg border border-neutral-200 py-2 z-[60]"},ro=["src","alt"],io={class:"text-sm text-neutral-700 group-hover:text-primary font-medium"},ao={class:"hidden lg:flex lg:col-span-2 shrink-0 justify-end items-center space-x-3"},lo={class:"bg-white/95 backdrop-blur-md border-t border-neutral-200 py-4 h-full"},uo={class:"space-y-1 font-medium"},co={class:"border-b border-neutral-100"},po={key:0,class:"bg-neutral-50"},fo=["src","alt"],go={key:0},mo={key:1},vo={class:"flex-1 pt-20"},ho={class:"bg-dark text-white pt-32 lg:pt-36 pb-20 relative overflow-hidden",style:{"background-image":"url('/pattern-bg.svg')"}},bo={class:"container mx-auto px-4 relative z-10"},xo={class:"grid grid-cols-1 lg:grid-cols-10 gap-8 lg:gap-12 mb-12"},yo={class:"lg:col-span-2 md:col-span-3 sm:col-span-6"},wo={class:"space-y-2"},ko={class:"pt-8 border-t border-neutral-700"},_o={class:"flex flex-col sm:flex-row justify-between items-center space-y-4 sm:space-y-0"},Co={class:"text-sm text-neutral-400 order-2 sm:order-1"},Mo={class:"flex flex-wrap justify-center sm:justify-end items-center space-x-6 order-1 sm:order-2"},jo={class:"fixed bottom-8 right-8 z-40"},So={class:"absolute inset-0 -m-1"},To={class:"w-16 h-16 transform -rotate-90",viewBox:"0 0 64 64"},Do=["stroke-dasharray"],Lo={__name:"default",setup(i){const n=T(!1),s=T(!1),r=T(0),a=T(!1),d=T(null),u=T(!1),{isLoggedIn:l}=J(),x=T([{slug:"carbon-farming",title:"Carbon Farming",icon:"/expertise-icons/carbon-farming.svg"},{slug:"digital-farming",title:"Digital Farming",icon:"/expertise-icons/digital-farming.svg"},{slug:"innovative-food",title:"Innovative Food",icon:"/expertise-icons/novel-food.svg"},{slug:"agrifood-biotech-research",title:"AgriFood & Biotech Research",icon:"/expertise-icons/food-research.svg"},{slug:"sustainable-circular-agrifood",title:"Sustainable & Circular AgriFood",icon:"/expertise-icons/circular-agrifood.svg"},{slug:"women-in-agrifood",title:"Women in AgriFood",icon:"/expertise-icons/women-entrepreneurship.svg"}]),f=()=>{n.value=!n.value},h=()=>{n.value=!1,u.value=!1},_=()=>{a.value=!a.value},g=()=>{a.value=!1},C=()=>{u.value=!u.value},M=()=>{window.scrollTo({top:0,behavior:"smooth"})},E=()=>{const z=window.scrollY,t=document.documentElement.scrollHeight-window.innerHeight;s.value=z>50,r.value=Math.round(z/t*100)},L=Y();F(()=>L.path,()=>{n.value=!1,u.value=!1,a.value=!1}),F(n,z=>{document.body.style.overflow=z?"hidden":""});const j=z=>{d.value&&!d.value.contains(z.target)&&(a.value=!1)},I=()=>{window.innerWidth>=1024&&(n.value=!1,u.value=!1,document.body.style.overflow="")};O(()=>{window.addEventListener("scroll",E),window.addEventListener("resize",I),document.addEventListener("click",j),E()}),U(()=>{window.removeEventListener("scroll",E),window.removeEventListener("resize",I),document.removeEventListener("click",j),document.body.style.overflow=""});const{proxy:pe}=le({scriptInput:{src:"/_scripts/assets/0b4cfd6fe39d92e3.js"}});return Jt((z,t)=>{pe.dataLayer.push({event:"pageview",title:z,path:t})}),(z,t)=>{const b=H,Q=Oe,fe=rt,ge=ze,me=ht,ve=xt,he=Pt,Z=Le,be=Wt;return m(),y("div",Xt,[e("header",null,[e("nav",{class:k(["fixed top-0 left-0 right-0 z-50 backdrop-blur-md transition-all duration-500",[o(s)?"bg-white/95 shadow-2xl":"bg-white/80",{"h-full":o(n)}]])},[e("div",{class:k(["container mx-auto",{"h-full":o(n)}])},[e("div",Qt,[e("div",Zt,[c(b,{to:"/",class:"inline-block group"},{default:p(()=>[...t[0]||(t[0]=[e("img",{src:qt,alt:"AgriVentures",class:"h-10 w-auto transition-transform duration-300 group-hover:scale-105"},null,-1)])]),_:1})]),e("div",eo,[o(l)?(m(),B(Q,{key:0,size:"sm"})):w("",!0),e("button",{class:"flex flex-col items-center justify-center w-8 h-8 space-y-1 group relative",type:"button","aria-label":"Toggle navigation",onClick:f},[e("span",{class:k(["navbar-toggler-line block w-6 h-0.5 bg-neutral-700 transition-all duration-300",{"rotate-45 translate-y-1.5":o(n)}])},null,2),e("span",{class:k(["navbar-toggler-line block w-6 h-0.5 bg-neutral-700 transition-all duration-300",{"opacity-0":o(n)}])},null,2),e("span",{class:k(["navbar-toggler-line block w-6 h-0.5 bg-neutral-700 transition-all duration-300",{"-rotate-45 -translate-y-1.5":o(n)}])},null,2)])]),e("div",to,[e("div",oo,[e("ul",no,[e("li",null,[c(b,{to:"/",class:"nav-link-e
1nhanced transition-all duration-300 py-2 lg:px-1.5 xl:px-2 rounded-lg relative overflow-hidden group","active-class":"text-secondary bg-secondary/10"},{default:p(()=>[...t[1]||(t[1]=[e("span",{class:"relative z-10 whitespace-nowrap"},"Home",-1),e("div",{class:"absolute inset-0 bg-primary/5 transform scale-x-0 group-hover:scale-x-100 transition-transform duration-300 origin-left"},null,-1)])]),_:1})]),e("li",null,[c(b,{to:"/about",class:"nav-link-enhanced transition-all duration-300 py-2 lg:px-1.5 xl:px-2 rounded-lg relative overflow-hidden group","active-class":"text-secondary bg-secondary/10"},{default:p(()=>[...t[2]||(t[2]=[e("span",{class:"relative z-10 whitespace-nowrap"},"About us",-1),e("div",{class:"absolute inset-0 bg-primary/5 transform scale-x-0 group-hover:scale-x-100 transition-transform duration-300 origin-left"},null,-1)])]),_:1})]),e("li",null,[c(b,{to:"/pricings",class:"nav-link-enhanced transition-all duration-300 py-2 lg:px-1.5 xl:px-2 rounded-lg relative overflow-hidden group","active-class":"text-secondary bg-secondary/10"},{default:p(()=>[...t[3]||(t[3]=[e("span",{class:"relative z-10 whitespace-nowrap"},"Pricing",-1),e("div",{class:"absolute inset-0 bg-primary/5 transform scale-x-0 group-hover:scale-x-100 transition-transform duration-300 origin-left"},null,-1)])]),_:1})]),e("li",{class:"relative",ref_key:"focusDropdownRef",ref:d}
1,[e("button",{onClick:_,class:k(["nav-link-enhanced transition-all duration-300 py-2 lg:px-1.5 xl:px-2 rounded-lg relative overflow-hidden group inline-flex items-center",{"text-secondary bg-secondary/10":o(a)}])},[t[5]||(t[5]=e("span",{class:"relative z-10 whitespace-nowrap"},"Our focus",-1)),(m(),y("svg",{class:k(["w-3 h-3 ml-0.5 transition-transform duration-300 relative z-10 flex-shrink-0",{"rotate-180":o(a)}]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[...t[4]||(t[4]=[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2)),t[6]||(t[6]=e("div",{class:"absolute inset-0 bg-primary/5 transform scale-x-0 group-hover:scale-x-100 transition-transform duration-300 origin-left"},null,-1))],2),c(V,{name:"dropdown"},{default:p(()=>[o(a)?(m(),y("div",so,[(m(!0),y(q,null,K(o(x),$=>(m(),B(b,{key:$.slug,to:`/focus/${$.slug}`,onClick:g,class:"flex items-center px-4 py-2.5 hover:bg-neutral-50 transition-colors duration-200 group"},{default:p(()=>[e("img",{src:$.icon,alt:$.title,class:"w-5 h-5 mr-3 opacity-70 group-hover:opacity-100"},null,8,ro),e("span",io,S($.title),1)]),_:2},1032,["to"]))),128))])):w("",!0)]),_:1})],512),e("li",null,[c(b,{to:"/updates",class:"nav-link-enhanced transition-all duration-300 py-2 lg:px-1.5 xl:px-2 rounded-lg relative overflow-hidden group","active-class":"text-secondary bg-secondary/10"},{default:p(()=>[...t[7]||(t[7]=[e("span",{class:"relative z-10 whitespace-nowrap"},"Updates",-1),e("div",{class:"absolute inset-0 bg-primary/5 transform scale-x-0 group-hover:scale-x-100 transition-transform duration-300 origin-left"},null,-1)])]),_:1})]),e("li",null,[c(b,{to:"/case-studies",class:"nav-link-enhanced transition-all duration-300 py-2 lg:px-1.5 xl:px-2 rounded-lg relative overflow-hidden group","active-class":"text-secondary bg-secondary/10"},{default:p(()=>[...t[8]||(t[8]=[e("span",{class:"relative z-10 whitespace-nowrap"},"Case studies",-1),e("div",{class:"absolute inset-0 bg-primary/5 transform scale-x-0 group-hover:scale-x-100 transition-transform duration-300 origin-left"},null,-1)])]),_:1})]),e("li",null,[c(b,{to:"https://projects.agriventures.co/",target:"_blank",rel:"noopener noreferrer",class:"nav-link-enhanced transition-all duration-300 py-2 lg:px-1.5 xl:px-2 rounded-lg relative overflow-hidden group"},{default:p(()=>[...t[9]||(t[9]=[e("span",{class:"relative z-10 whitespace-nowrap"},"Projects",-1),e("div",{class:"absolute inset-0 bg-primary/5 transform scale-x-0 group-hover:scale-x-100 transition-transform duration-300 origin-left"},null,-1)])]),_:1})])])])]),e("div",ao,[o(l)?(m(),B(b,{key:0,to:"/dashboard","data-tour":"nav-dashboard",class:"bg-brand-500 hover:bg-brand-600 text-white px-4 py-2 text-sm font-semibold rounded-lg hover:shadow-lg transform hover:scale-105 transition-all duration-300 inline-flex items-center group"},{default:p(()=>[...t[10]||(t[10]=[e("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z"})],-1),v(" Dashboard ",-1)])]),_:1})):w("",!0),c(b,{to:o(l)?"/dashboard/funding":"/dashboard/funding-preview",class:"bg-secondary hover:bg-secondary/90 text-white px-4 py-2 text-sm font-semibold rounded-lg hover:shadow-lg transform hover:scale-105 transition-all duration-300 inline-flex items-center group"},{default:p(()=>[...t[11]||(t[11]=[e("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})],-1),v(" Fundings ",-1)])]),_:1},8,["to"]),o(l)?w("",!0):(m(),B(b,{key:1,to:"/login",class:"bg-primary hover:bg-primary/90 text-white px-6 py-2 text-sm font-semibold rounded-lg hover:shadow-lg transform hover:scale-105 transition-all duration-300 inline-flex items-center"},{default:p(()=>[...t[12]||(t[12]=[v(" Login ",-1),e("svg",{class:"w-4 h-4 ml-2 transition-transform duration-300 group-hover:translate-x-1",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 8l4 4m0 0l-4 4m4-4H3"})],-1)])]),_:1})),o(l)?(m(),B(Q,{key:2,size:"md"})):w("",!0)])]),e("div",{class:k(["lg:hidden overflow-hidden transition-all duration-300",{"max-h-[85vh] overflow-y-auto opacity-100":o(n),"max-h-0 opacity-0":!o(n)}])},[e("div",lo,[e("ul",uo,[e("li",null,[c(b,{to:"/",class:"block px-6 py-3 text-neutral-700 hover:text-secondary hover:bg-neutral-50 transition-colors duration-200 border-b border-neutral-100",onClick:h,"active-class":"text-secondary bg-accent-50"},{default:p(()=>[...t[13]||(t[13]=[v(" Home ",-1)])]),_:1})]),e("li",null,[c(b,{to:"/about",class:"block px-6 py-3 text-neutral-700 hover:text-secondary hover:bg-neutral-50 transition-colors duration-200 border-b border-neutral-100",onClick:h,"active-class":"text-secondary bg-accent-50"},{default:p(()=>[...t[14]||(t[14]=[v(" About us ",-1)])]),_:1})]),e("li",null,[c(b,{to:"/pricings",class:"block px-6 py-3 text-neutral-700 hover:text-secondary hover:bg-neutral-50 transition-colors duration-200 border-b border-neutral-100",onClick:h,"active-class":"text-secondary bg-accent-50"},{default:p(()=>[...t[15]||(t[15]=[v(" Pricing ",-1)])]),_:1})]),e("li",null,[e("div",co,[e("button",{onClick:C,class:k(["flex items-center justify-between w-full px-6 py-3 text-neutral-700 hover:text-secondary hover:bg-neutral-50 transition-colors duration-200",{"text-secondary bg-accent-50":o(u)}])},[t[17]||(t[17]=e("span",null,"Our focus",-1)),(m(),y("svg",{class:k(["w-4 h-4 transition-transform duration-300",{"rotate-180":o(u)}]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[...t[16]||(t[16]=[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))],2),o(u)?(m(),y("div",po,[(m(!0),y(q,null,K(o(x),$=>(m(),B(b,{key:$.slug,to:`/focus/${$.slug}`,onClick:h,class:"flex items-center px-8 py-3 text-sm text-neutral-600 hover:text-secondary hover:bg-neutral-100 transition-colors duration-200"},{default:p(()=>[e("img",{src:$.icon,alt:$.title,class:"w-4 h-4 mr-3 opacity-70"}
1,null,8,fo),v(" "+S($.title),1)]),_:2},1032,["to"]))),128))])):w("",!0)])]),e("li",null,[c(b,{to:"/updates",class:"block px-6 py-3 text-neutral-700 hover:text-secondary hover:bg-neutral-50 transition-colors duration-200 border-b border-neutral-100",onClick:h,"active-class":"text-secondary bg-accent-50"},{default:p(()=>[...t[18]||(t[18]=[v(" Updates ",-1)])]),_:1})]),e("li",null,[c(b,{to:"/case-studies",class:"block px-6 py-3 text-neutral-700 hover:text-secondary hover:bg-neutral-50 transition-colors duration-200 border-b border-neutral-100",onClick:h,"active-class":"text-secondary bg-accent-50"},{default:p(()=>[...t[19]||(t[19]=[v(" Case studies ",-1)])]),_:1})]),e("li",null,[c(b,{to:"https://projects.agriventures.co/",target:"_blank",rel:"noopener noreferrer",class:"block px-6 py-3 text-neutral-700 hover:text-secondary hover:bg-neutral-50 transition-colors duration-200 border-b border-neutral-100",onClick:h},{default:p(()=>[...t[20]||(t[20]=[v(" Projects ",-1)])]),_:1})]),o(l)?(m(),y("li",go,[c(b,{to:"/dashboard",class:"flex items-center justify-center mx-6 mt-4 mb-2 px-6 py-3 bg-brand-500 hover:bg-brand-600 text-white text-center rounded-xl font-semibold transition-all duration-300",onClick:h},{default:p(()=>[...t[21]||(t[21]=[e("svg",{class:"w-5 h-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z"})],-1),v(" Dashboard ",-1)])]),_:1})])):w("",!0),e("li",null,[c(b,{to:o(l)?"/dashboard/funding":"/dashboard/funding-preview",class:"flex items-center justify-center mx-6 my-4 px-6 py-3 bg-secondary hover:bg-secondary/90 text-white text-center rounded-xl font-semibold transition-all duration-300",onClick:h},{default:p(()=>[...t[22]||(t[22]=[e("svg",{class:"w-5 h-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})],-1),v(" Fundings ",-1)])]),_:1},8,["to"])]),o(l)?w("",!0):(m(),y("li",mo,[c(b,{to:"/login",class:"block mx-6 my-4 px-6 py-3 bg-primary hover:bg-primary/90 text-white text-center rounded-xl font-semibold transition-all duration-300",onClick:h},{default:p(()=>[...t[23]||(t[23]=[v(" Login ",-1)])]),_:1}
1)]))])])],2)],2)],2)]),e("main",vo,[De(z.$slots,"default",{},void 0,!0)]),c(fe),e("footer",ho,[t[36]||(t[36]=e("div",{class:"absolute inset-0 overflow-hidden"},[e("div",{class:"absolute -top-10 -right-10 w-40 h-40 bg-secondary/10 rounded-full animate-float-slow"}),e("div",{class:"absolute bottom-20 -left-10 w-32 h-32 bg-primary/10 rounded-full animate-float-medium"})],-1)),e("div",bo,[e("div",xo,[t[31]||(t[31]=oe('<div class="lg:col-span-6 md:col-span-6" data-v-0906b86f><div class="mb-8" data-v-0906b86f><img src="'+Kt+'" alt="AgriVentures" class="h-12 w-auto mb-6" data-v-0906b86f></div><h3 class="text-white font-bold text-3xl mb-6 leading-tight" data-v-0906b86f> Ready to transform your <span class="text-light" data-v-0906b86f>AgriFood vision</span> into reality? </h3><p class="text-neutral-300 text-lg leading-relaxed mb-8" data-v-0906b86f> Join the ecosystem where innovation meets investment. Let's build the future of agriculture together. </p><div class="grid grid-cols-1 sm:grid-cols-2 gap-6" data-v-0906b86f><div class="group" data-v-0906b86f><div class="flex items-center mb-2" data-v-0906b86f><div class="w-10 h-10 bg-secondary/20 rounded-lg flex items-center justify-center mr-3 group-hover:bg-secondary/30 transition-colors duration-300" data-v-0906b86f><svg class="w-5 h-5 text-light" fill="none" stroke="currentColor" viewBox="0 0 24 24" data-v-0906b86f><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207" data-v-0906b86f></path></svg></div><div data-v-0906b86f><span class="text-sm uppercase block text-neutral-400 tracking-wide mb-1" data-v-0906b86f>Send a message</span><a href="mailto:[email protected]" class="text-white hover:text-light transition-colors duration-300 font-medium" data-v-0906b86f> [email protected] </a></div></div></div></div></div>',1)),e("div",yo,[t[30]||(t[30]=e("span",{class:"text-sm uppercase mb-5 block text-white tracking-wide"},"Company",-1)),e("ul",wo,[e("li",null,[c(b,{to:"/",class:"text-neutral-300 hover:text-light transition-colors"},{default:p(()=>[...t[24]||(t[24]=[v("Home",-1)])]),_:1})]),e("li",null,[c(b,{to:"/about",class:"text-neutral-300 hover:text-light transition-colors"},{default:p(()=>[...t[25]||(t[25]=[v("About us",-1)])]),_:1})]),e("li",null,[c(b,{to:"/pricings",class:"text-neutral-300 hover:text-light transition-colors"},{default:p(()=>[...t[26]||(t[26]=[v("Pricing",-1)])]),_:1})]),e("li",null,[c(b,{to:"/focus/carbon-farming",class:"text-neutral-300 hover:text-light transition-colors"},{default:p(()=>[...t[27]||(t[27]=[v("Our focus",-1)])]),_:1})]),e("li",null,[c(b,{to:"/updates",class:"text-neutral-300 hover:text-light transition-colors"},{default:p(()=>[...t[28]||(t[28]=[v("Updates",-1)])]),_:1})]),e("li",null,[c(b,{to:"/case-studies",class:"text-neutral-300 hover:text-light transition-colors"},{default:p(()=>[...t[29]||(t[29]=[v("Case studies",-1)])]),_:1})])])]),t[32]||(t[32]=oe('<div class="lg:col-span-2 md:col-span-3 sm:col-span-6" data-v-0906b86f><span class="text-sm uppercase mb-6 block text-white tracking-wide font-semibold" data-v-0906b86f>Follow Us</span><div class="space-y-4" data-v-0906b86f><a href="https://www.facebook.com/AgriventureStart/" target="_blank" class="flex items-center text-neutral-300 hover:text-light transition-all duration-300 group" data-v-0906b86f><div class="w-10 h-10 bg-neutral-700 rounded-lg flex items-center justify-center mr-3 group-hover:bg-secondary group-hover:scale-110 transition-all duration-300" data-v-0906b86f><svg class="w-5 h-5 text-neutral-300 group-hover:text-white transition-colors duration-300" fill="currentColor" viewBox="0 0 24 24" data-v-0906b86f><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z" data-v-0906b86f></path></svg></div><span class="font-medium" data-v-0906b86f>Facebook</span></a><a href="https://www.linkedin.com/company/agriventure-start/?viewAsMember=true" target="_blank" class="flex items-center text-neutral-300 hover:text-light transition-all duration-300 group" data-v-0906b86f><div class="w-10 h-10 bg-neutral-700 rounded-lg flex items-center justify-center mr-3 group-hover:bg-secondary group-hover:scale-110 transition-all duration-300" data-v-0906b86f><svg class="w-5 h-5 text-neutral-300 group-hover:text-white transition-colors duration-300" fill="currentColor" viewBox="0 0 24 24" data-v-0906b86f><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" data-v-0906b86f></path></svg></div><span class="font-medium" data-v-0906b86f>LinkedIn</span></a></div></div>',1))]),e("div",ko,[e("div",_o,[e("p",Co," © "+S(new Date().getFullYear())+" AgriVentures ",1),e("div",Mo,[c(b,{to:"/privacy-policy",class:"text-sm text-neutral-400 hover:text-light transition-colors duration-300"},{default:p(()=>[...t[33]||(t[33]=[v(" Privacy Policy ",-1)])]),_:1}),c(b,{to:"/cookie-policy",class:"text-sm text-neutral-400 hover:text-light transition-colors duration-300"},{default:p(()=>[...t[34]||(t[34]=[v(" Cookie Policy ",-1)])]),_:1}),c(b,{to:"/gender-policy",class:"text-sm text-neutral-400 hover:text-light transition-colors duration-300"},{default:p(()=>[...t[35]||(t[35]=[v(" Gender Policy ",-1)])]),_:1})])])])])]),c(ge),c(me),e("div",jo,[c(V,{name:"fade"},{default:p(()=>[o(r)>10?(m(),y("button",{key:0,onClick:M,class:"w-14 h-14 bg-brand-500 text-white rounded-full shadow-2xl hover:shadow-secondary/25 flex items-center justify-center group transition-all duration-300 hover:scale-110","aria-label":"Scroll to top"},[t[38]||(t[38]=e("svg",{class:"w-6 h-6 group-hover:-translate-y-1 transition-transform duration-300",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 10l7-7m0 0l7 7m-7-7v18"})],-1)),e("div",So,[(m(),y("svg",To,[t[37]||(t[37]=e("circle",{cx:"32",cy:"32",r:"30",stroke:"currentColor","stroke-width":"2",fill:"none",class:"text-white/20"},null,-1)),e("circle",{cx:"32",cy:"32",r:"30",stroke:"currentColor","stroke-width":"2",fill:"none",class:"text-secondary transition-all duration-300","stroke-dasharray":`${188.4*o(r)/100} 188.4`},null,8,Do)]))])])):w("",!0)]),_:1})]),c(ve),c(Z,null,{default:p(()=>[c(he)]),_:1}),c(Z,null,{default:p(()=>
1[c(be)]),_:1})])}}},Fo=re(Lo,[["__scopeId","data-v-0906b86f"]]);export{Fo 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.