1import{B as N,o as G,d as t,h as s,l as z,w as $,b as e,i as f,c as r,t as c,r as T,C as x,_ as K,n as V,D as Z,O as ee,e as v,L as M,f as l,a0 as W,a2 as te,P as Y,a as ne,j as oe,u as se,x as ie,g as C,K as re,M as O,m as le}from"./BR99EonN.js";import{E as P,u as ae,L as de}from"./DUXj0QFy.js";import{u as ue}from"./BU8ctpVN.js";import{u as Q}from"./DH2FJnoU.js";import{u as ce}from"./BNECu2TS.js";import{_ as me,a as pe,b as fe}from"./ipGVWNKD.js";import{u as be}from"./C03B8ARQ.js";import{g as xe}from"./wU9yn6h4.js";import{u as ve}from"./dS8I7Z1S.js";import{u as ge}from"./Li1dIJ1Y.js";import"./DYP5WTjE.js";import"./qz_0k18d.js";const he=["disabled"],ye={key:0,class:"w-4 h-4 shrink-0 animate-spin",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true"},we={key:1,class:"w-4 h-4 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},ke=["disabled"],_e={key:0,class:"w-4 h-4 shrink-0 animate-spin",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true"},Ce={key:1,class:"w-4 h-4 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},Me=N({__name:"EligibilityReportButton",props:{fundingCallWixId:{},fundingCall:{}},setup(p){const u=p,{callReport:m,triggerReport:k,fetchReportForCall:g}=ae(),{trackEligibilityStart:A}=ue(),b=Q(),a=T(!1);G(()=>{g(u.fundingCallWixId)});const h=x(()=>({callTitle:u.fundingCall.Title,programme:u.fundingCall.Programme,callId:u.fundingCallWixId,deadline:u.fundingCall.Deadline}));async function B(){a.value=!0;try{const{hasProfile:y}=await $fetch("/api/company-profile/check");if(!y){b.warning("Company Profile Required","Please create a company profile first to check your eligibility."),await V("/company-profile");return}const d=await k({fundingCallWixId:u.fundingCallWixId,eligibility:u.fundingCall.Eligibility??"",beneficiaryType:(u.fundingCall.BeneficiaryType??[]).join(", "),scope:u.fundingCall.Scope??""});A(u.fundingCallWixId),await V({path:`/eligibility-report/${d}`,query:h.value})}catch(y){if(y instanceof de){ce().open(y);return}const d=y;b.error("Failed to Start Eligibility Check",d?.data?.statusMessage||d?.statusMessage||"Please try again.")}finally{a.value=!1}}return(y,d)=>{const E=K;return t(m)&&t(m).status===t(P).Completed?(s(),z(E,{key:0,to:{path:`/eligibility-report/${t(m).id}`,query:t(h)},class:"inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium transition-all duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-emerald-500/50 bg-emerald-600 text-white hover:bg-emerald-700 shadow-sm hover:shadow-md"},{default:$(()=>[...d[0]||(d[0]=[e("svg",{class:"w-4 h-4 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 17v-2m3 2v-4m3 4v-6m2 10H7a2 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"})],-1),f(" View Report ",-1)])]),_:1},8,["to"])):t(m)&&(t(m).status===t(P).Pending||t(m).status===t(P).Analyzing)?(s(),z(E,{key:1,to:{path:`/eligibility-report/${t(m).id}`,query:t(h)},class:"inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium transition-all duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-[#AE7645]/50 border border-[#AE7645]/40 text-[#AE7645] bg-[#AE7645]/5 hover:bg-[#AE7645]/10 hover:border-[#AE7645]/60"},{default:$(()=>[...d[1]||(d[1]=[e("svg",{class:"w-4 h-4 shrink-0 animate-spin",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true"},[e("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"3"}),e("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})],-1),f(" Report in Progress... ",-1)])]),_:1},8,["to"])):t(m)&&t(m).status===t(P).Failed?(s(),r("button",{key:2,type:"button",disabled:t(a),class:"inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium transition-all duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-red-400/50 cursor-pointer border border-red-300 text-red-600 bg-white hover:bg-red-50 hover:border-red-400 disabled:opacity-60 disabled:cursor-not-allowed",onClick:B},[t(a)?(s(),r("svg",ye,[...d[2]||(d[2]=[e("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"3"},null,-1),e("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"},null,-1)])])):(s(),r("svg",we,[...d[3]||(d[3]=[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-2.5L13.732 4c-.77-.833-1.732-.833-2.5 0L4.314 18.5c-.77.833.192 2.5 1.732 2.5z"},null,-1)])])),f(" "+c(t(a)?"Starting...":"Report Failed â Retry"),1)],8,he)):(s(),r("button",{key:3,type:"button",disabled:t(a),class:"inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium transition-all duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-[#AE7645]/50 cursor-pointer bg-[#AE7645] text-white hover:bg-[#9A6A3D] shadow-sm hover:shadow-md disabled:opacity-60 disabled:cursor-not-allowed",onClick:B},[t(a)?(s(),r("svg",_e,[...d[4]||(d[4]=[e("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"3"},null,-1),e("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"},null,-1)])])):(s(),r("svg",Ce,[...d[5]||(d[5]=[e("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"},null,-1)])])),f(" "+c(t(a)?"Starting...":"Check Eligibility"),1)],8,ke))}}}
1),Be=Object.assign(Me,{__name:"FundingEligibilityReportButton"}),je={key:0,ref:"panelEl",role:"dialog","aria-modal":"true","aria-label":"Your notes for this funding call",class:"fixed top-20 right-4 bottom-4 z-40 w-[440px] bg-white rounded-2xl shadow-2xl border border-neutral-200 hidden lg:flex lg:flex-col"},Ee={class:"flex items-center justify-between p-6 border-b border-neutral-100 shrink-0"},$e={class:"flex-1 overflow-y-auto"},Le={key:0,class:"flex items-center justify-center py-12"},Te={class:"px-6 py-4 border-b border-neutral-100"},Ve={class:"px-6 py-5 border-b border-neutral-100"},Ae={class:"px-6 py-5"},Se={class:"p-6 border-t border-neutral-100 shrink-0"},ze=["disabled"],Ie={key:0,role:"dialog","aria-modal":"true","aria-label":"Your notes for this funding call",class:"fixed inset-x-0 bottom-0 z-50 max-h-[85vh] overflow-y-auto bg-white rounded-t-2xl lg:hidden"},De={class:"flex items-center justify-between px-4 py-3 border-b border-neutral-100"},Re={key:0,class:"flex items-center justify-center py-12"},Fe={class:"px-4 py-3 border-b border-neutral-100"},He={class:"px-4 py-4 border-b border-neutral-100"},Pe={class:"px-4 py-4 border-b border-neutral-100"},Ne={class:"px-4 py-4 pb-8"},We=["disabled"],Oe=N({__name:"CallInfoSection",props:{euCallWixId:{}},setup(p){const u=p,{unsaveCall:m,fetchCallDetails:k,selectedCall:g,updateStatus:A}=be(),b=T(!1),a=T(!1),h=T(!1),B=T(!1),y=x(()=>g.value?.status??"Draft");async function d(w){B.value=!0,await A(u.euCallWixId,w),B.value=!1}const E=x(()=>g.value?.strategicNotes??""),S=x(()=>g.value?.milestones??[]);async function o(){a.value=!0,h.value=!0,await k(u.euCallWixId),h.value=!1}async function I(){b.value=!0;try{await m(u.euCallWixId),a.value=!1}finally{b.value=!1}}Z(a,w=>{w&&window.innerWidth<1024?document.body.style.overflow="hidden":document.body.style.overflow=""});
1function D(w){w.key==="Escape"&&a.value&&(a.value=!1)}return G(()=>document.addEventListener("keydown",D)),ee(()=>{document.removeEventListener("keydown",D),document.body.style.overflow=""}),(w,i)=>{const R=me,F=pe,H=fe;return s(),r(M,null,[e("button",{type:"button","aria-label":"View and edit your notes for this funding call",class:"inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium transition-all duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 cursor-pointer border border-primary/30 text-primary bg-white hover:bg-primary/5 hover:border-primary/60",onClick:o},[...i[3]||(i[3]=[e("svg",{class:"w-4 h-4 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"})],-1),f(" Notes ",-1)])]),(s(),z(te,{to:"body"},[v(W,{name:"panel"},{default:$(()=>[t(a)?(s(),r("div",je,[e("div",Ee,[i[5]||(i[5]=e("div",null,[e("h2",{class:"font-heading font-semibold text-dark text-base leading-snug"}," Notes "),e("p",{class:"text-xs text-neutral-400 mt-0.5"},"Saved to this funding call")],-1)),e("button",{type:"button","aria-label":"Close panel",class:"p-2 rounded-lg text-neutral-400 hover:text-neutral-600 hover:bg-neutral-100 transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 cursor-pointer",onClick:i[0]||(i[0]=L=>a.value=!1)},[...i[4]||(i[4]=[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:"M6 18L18 6M6 6l12 12"})],-1)])])]),e("div",$e,[t(h)?(s(),r("div",Le,[...i[6]||(i[6]=[e("div",{class:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary"},null,-1)])])):(s(),r(M,{key:1},[e("div",Te,[v(R,{"model-value":t(y),disabled:t(B),"onUpdate:modelValue":d},null,8,["model-value","disabled"])]),e("div",Ve,[i[7]||(i[7]=e("h3",{class:"font-heading font-semibold text-dark text-sm mb-3"},"Strategic Notes",-1)),v(F,{"call-id":p.euCallWixId,"initial-notes":t(E)},null,8,["call-id","initial-notes"])]),e("div",Ae,[i[8]||(i[8]=e("h3",{class:"font-heading font-semibold text-dark text-sm mb-3"},"Milestones",-1)),v(H,{"call-id":p.euCallWixId,milestones:t(S)},null,8,["call-id","milestones"])])],64))]),e("div",Se,[e("button",{type:"button",disabled:t(b),class:"w-full flex items-center justify-center gap-2 px-4 py-2.5 rounded-lg border border-red-200 text-red-600 text-sm font-medium hover:bg-red-50 hover:border-red-300 transition-all duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-red-400/50 cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed",onClick:I},[t(b)?(s(),r(M,{key:0},[i[9]||(i[9]=e("svg",{class:"w-4 h-4 animate-spin",fill:"none",viewBox:"0 0 24 24"},[e("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),e("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})],-1)),i[10]||(i[10]=f(" Removing... ",-1))],64)):(s(),r(M,{key:1},[i[11]||(i[11]=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:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})],-1)),i[12]||(i[12]=f(" Remove Saved Information ",-1))],64))],8,ze)])],512)):l("",!0)]),_:1}),v(W,{name:"backdrop"},{default:$(()=>[t(a)?(s(),r("div",{key:0,class:"fixed inset-0 z-40 bg-neutral-900/50 backdrop-blur-sm lg:hidden","aria-hidden":"true",onClick:i[1]||(i[1]=L=>a.value=!1)})):l("",!0)]),_:1}),v(W,{name:"sheet"},{default:$(()=>[t(a)?(s(),r("div",Ie,[i[22]||(i[22]=e("div",{class:"flex justify-center pt-3 pb-1"},[e("div",{class:"w-12 h-1.5 bg-neutral-300 rounded-full"})],-1)),e("div",De,[i[14]||(i[14]=e("div",null,[e("h2",{class:"font-heading font-semibold text-dark text-base leading-snug"}," Notes "),e("p",{class:"text-xs text-neutral-400 mt-0.5"},"Saved to this funding call")],-1)),e("button",{type:"button","aria-label":"Close",class:"p-2 rounded-lg text-neutral-400 hover:text-neutral-600 hover:bg-neutral-100 transition-colors cursor-pointer",onClick:i[2]||(i[2]=L=>a.value=!1)},[...i[13]||(i[13]=[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:"M6 18L18 6M6 6l12 12"})],-1)])])]),t(h)?(s(),r("div",Re,[...i[15]||(i[15]=[e("div",{class:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary"},null,-1)])])):(s(),r(M,{key:1},[e("div",Fe,[v(R,{"model-value":t(y),disabled:t(B),"onUpdate:modelValue":d},null,8,["model-value","disabled"])]),e("div",He,[i[16]||(i[16]=e("h3",{class:"font-heading font-semibold text-dark text-sm mb-3"},"Strategic Notes",-1)),v(F,{"call-id":p.euCallWixId,"initial-notes":t(E)},null,8,["call-id","initial-notes"])]),e("div",Pe,[i[17]||(i[17]=e("h3",{class:"font-heading font-semibold text-dark text-sm mb-3"},"Milestones",-1)),v(H,{"call-id":p.euCallWixId,milestones:t(S)},null,8,["call-id","milestones"])]),e("div",Ne,[e("button",{type:"button",disabled:t(b),class:"w-full flex items-center justify-center gap-2 px-4 py-2.5 rounded-lg border border-red-200 text-red-600 text-sm font-medium hover:bg-red-50 hover:border-red-300 transition-all duration-150 cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed",onClick:I},[t(b)?(s(),r(M,{key:0},[i[18]||(i[18]=e("svg",{class:"w-4 h-4 animate-spin",fill:"none",viewBox:"0 0 24 24"},[e("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),e("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})],-1)),i[19]||(i[19]=f(" Removing... ",-1))],64)):(s(),r(M,{key:1},[i[20]||(i[20]=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:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})],-1)),i[21]||(i[21]=f(" Remove Saved Information ",-1))],64))],8,We)])],64))])):l("",!0)]),_:1})]))],64)}}}
1),Ue=Object.assign(Y(Oe,[["__scopeId","data-v-4f8c191d"]]),{__name:"FundingCallInfoSection"}),qe={class:"flex items-center gap-2 flex-wrap"},Ge=["href"],Ke=N({__name:"ActionBar",props:{fundingId:{},fundingCall:{}},setup(p){return(u,m)=>{const k=Be,g=Ue;return s(),r("div",qe,[p.fundingCall.ApplicationUrl?(s(),r("a",{key:0,href:p.fundingCall.ApplicationUrl,target:"_blank",rel:"noopener noreferrer",class:"inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium transition-all duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 bg-primary text-white hover:opacity-90 shadow-sm hover:shadow-md"},[...m[0]||(m[0]=[e("svg",{class:"w-4 h-4 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})],-1),f(" Visit Call Website ",-1)])],8,Ge)):l("",!0),v(k,{"funding-call-wix-id":p.fundingId,"funding-call":p.fundingCall},null,8,["funding-call-wix-id","funding-call"]),v(g,{"eu-call-wix-id":p.fundingId},null,8,["eu-call-wix-id"])])}}}),Ye=Object.assign(Ke,{__name:"FundingActionBar"}),Qe={class:"min-h-screen bg-neutral-50 relative overflow-hidden"},Je={key:0,class:"flex justify-center items-center min-h-screen"},Xe={key:1,class:"flex justify-center items-center min-h-screen"},Ze={class:"text-center"},et={key:0,class:"max-w-2xl mx-auto"},tt={key:1},nt={key:2,class:"relative z-10 section-padding","data-tour":"funding-detail"},ot={class:"container-brand max-w-7xl mx-auto"},st={class:"flex flex-col gap-3 md:flex-row md:items-center md:justify-between mb-6"},it={class:"bg-white rounded-3xl shadow-xl border border-neutral-200 overflow-hidden mb-8","data-tour":"funding-detail-header"},rt={class:"p-6 md:p-10 lg:p-12"},lt={class:"flex flex-col sm:flex-row sm:items-center sm:justify-between mb-6 space-y-4 sm:space-y-0"},at={class:"flex flex-col sm:flex-row sm:items-center space-y-2 sm:space-y-0 sm:space-x-4"},dt={class:"flex items-center space-x-2"},ut={class:"text-sm font-bold text-primary uppercase tracking-wider"},ct={key:0,class:"text-sm text-neutral-500 font-mono px-3 py-1 bg-neutral-100 rounded-full"},mt={class:"text-2xl md:text-4xl lg:text-5xl font-bold text-dark mb-6 md:mb-8 leading-tight"},pt={key:0,class:"mb-8 pb-8 border-b border-neutral-200"},ft=["innerHTML"],bt={class:"grid sm:grid-cols-2 gap-6 md:gap-8 mb-8 md:mb-10","data-tour":"funding-detail-metrics"},xt={key:0,class:"p-6 bg-success-50 rounded-2xl border border-green-100"},vt={class:"flex items-center space-x-5"},gt={class:"text-2xl font-bold text-green-800"},ht={key:1,class:"p-6 bg-brand-50 rounded-2xl border border-blue-100"},yt={class:"flex items-center space-x-5"},wt={class:"text-2xl font-bold text-blue-800"},kt={class:"grid md:grid-cols-2 gap-8 pt-8 border-t border-neutral-200"},_t={key:0,class:"flex items-start text-neutral-600"},Ct={class:"flex-1"},Mt={class:"flex items-start gap-2"},Bt={class:"text-sm flex-1"},jt={key:1,class:"flex items-center text-neutral-600"},Et={class:"text-sm"},$t={class:"grid lg:grid-cols-3 gap-8"},Lt={class:"lg:col-span-2 space-y-4"},Tt={key:0,class:"bg-white rounded-2xl md:rounded-3xl shadow-lg border border-neutral-200 p-6 md:p-10","data-tour":"funding-detail-description"},Vt={class:"prose prose-lg max-w-none"},At=["innerHTML"],St={key:1,class:"bg-white rounded-2xl md:rounded-3xl shadow-lg border border-neutral-200 p-6 md:p-10","data-tour":"funding-detail-topics"},zt={class:"flex flex-wrap gap-3"},It={key:2,class:"bg-white rounded-2xl md:rounded-3xl shadow-lg border border-neutral-200 p-6 md:p-10","data-tour":"funding-detail-eligibility"},Dt=["innerHTML"],Rt={class:"space-y-4 mt-6 lg:mt-0"},Ft={class:"bg-white rounded-2xl md:rounded-3xl shadow-lg border border-neutral-200 p-6 md:p-8","data-tour":"funding-detail-key-info"},Ht={class:"space-y-2 md:space-y-3"},Pt={key:0,class:"py-2 border-b border-neutral-100 last:border-b-0"},Nt={class:"block font-bold text-dark text-sm md:text-base break-words"},Wt={key:1,class:"py-2 border-b border-neutral-100 last:border-b-0"},Ot={class:"block font-bold text-dark text-sm md:text-base break-words"},Ut={key:2,class:"py-2 border-b border-neutral-100 last:border-b-0"},qt={class:"block font-bold text-dark text-sm md:text-base break-words"},Gt={key:3,class:"py-2 border-b border-neutral-100 last:border-b-0"},Kt={class:"block text-neutral-600 font-medium text-sm md:text-base mb-1"},Yt={class:"flex flex-wrap gap-2 mt-2"},Qt={key:4,class:"py-2 border-b border-neutral-100 last:border-b-0"},Jt={class:"block text-neutral-600 font-medium text-sm md:text-base mb-1"},Xt={class:"flex flex-wrap gap-2 mt-2"},Zt=["href"],en={key:0,class:"bg-secondary text-white rounded-2xl md:rounded-3xl p-6 md:p-8 text-center shadow-xl","data-tour":"funding-detail-consultation"},tn={key:1,class:"bg-brand-500 text-white rounded-2xl md:rounded-3xl p-6 md:p-8 shadow-xl","data-tour":"funding-detail-consultation"},nn=N({__name:"[id]",async setup(p){let u,m;
1const k=ne(),g=k.params.id,{formatDeadline:A,formatDate:b}=ve(),{hasBusinessPlan:a,hasStarterSubscription:h,fetchSubscriptionDetails:B,isLoadingSubscriptions:y}=ge(),{data:d,pending:E,error:S}=([u,m]=oe(()=>le(`/api/funding/${g}`,{server:!1},"$2ig_MbEzdy")),u=await u,m(),u),o=x(()=>d.value?.data||null);se({title:x(()=>`${o.value?.Title||"Funding Opportunity"} - AgriVentures`),meta:[{name:"description",content:x(()=>(o.value?.LongDescription||o.value?.Scope||"Explore this funding opportunity for agricultural innovation and sustainable farming projects.").substring(0,155)+"...")},{name:"keywords",content:x(()=>{const j=o.value?.Topics?.join(", ")||"",n="agricultural funding, farm grants, agtech funding, research grants, innovation funding";return j?`${n}, ${j}`:n})},{property:"og:title",content:x(()=>o.value?.Title?`${o.value.Title} - AgriVentures`:"Funding Opportunity - AgriVentures")},{property:"og:description",content:x(()=>(o.value?.LongDescription||o.value?.Scope||"Explore this funding opportunity for agricultural innovation and sustainable farming projects.").substring(0,155)+"...")},{property:"og:image",content:"https://agriventures.co/og-image.jpg"},{property:"og:type",content:"article"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:image",content:"https://agriventures.co/og-image.jpg"}]});const{isLoggedIn:I}=ie(),D=Q(),w=T(!1);B();const i=x(()=>o.value?.Deadline?A(o.value.Deadline):null),R=()=>{if(!I.value){V("/login");return}o.value?.ApplicationUrl?window.open(o.value.ApplicationUrl,"_blank"):D.error("Application Unavailable","Application URL not available for this funding opportunity.")},F=()=>{window.open("https://calendly.com/start-agriventures/agriventures","_blank")},H=()=>{V("/dashboard/funding-preview#pricing")},L=x(()=>{if(k.query.from==="dashboard")return{path:"/dashboard"};const{from:j,...n}=k.query;return{path:"/dashboard/funding",query:n}}),J=x(()=>k.query.from==="dashboard"?"Back to Command Desk":"Back to Funding Opportunities"),X=()=>{V(L.value)};return(j,n)=>{const U=K,q=Ye;return s(),r("div",Qe,[n[30]||(n[30]=e("div",{class:"absolute inset-0 overflow-hidden pointer-events-none"},[e("div",{class:"absolute top-1/4 -left-32 w-96 h-96 bg-primary/5 rounded-full animate-float-slow"}),e("div",{class:"absolute bottom-1/4 -right-32 w-80 h-80 bg-secondary/5 rounded-full animate-float-medium"})],-1)),t(E)||t(y)?(s(),r("div",Je,[...n[2]||(n[2]=[C('<div class="flex flex-col items-center space-y-4" data-v-f98bc5e9><div class="animate-spin rounded-full h-16 w-16 border-b-2 border-primary" data-v-f98bc5e9></div><div class="text-center" data-v-f98bc5e9><span class="text-lg text-neutral-600 font-medium" data-v-f98bc5e9>Loading funding details...</span><p class="text-sm text-neutral-500 mt-1" data-v-f98bc5e9>Please wait while we prepare your content</p></div></div>',1)])])):t(S)?(s(),r("div",Xe,[e("div",Ze,[t(S).statusCode===403?(s(),r("div",et,[e("div",{class:"bg-white rounded-3xl p-10 shadow-xl border border-accent-200"},[n[4]||(n[4]=C('<div class="w-20 h-20 bg-accent-100 rounded-full flex items-center justify-center mx-auto mb-8" data-v-f98bc5e9><svg class="w-10 h-10 text-accent-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" data-v-f98bc5e9><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" 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" data-v-f98bc5e9></path></svg></div><h1 class="text-3xl font-bold text-dark mb-6" data-v-f98bc5e9> Active Membership Required </h1><p class="text-lg text-neutral-600 mb-8 leading-relaxed" data-v-f98bc5e9> To access detailed funding information, application requirements, and contact details, you need an active membership plan. </p>',3)),e("div",{class:"space-y-4"},[e("button",{onClick:H,class:"inline-flex items-center px-8 py-4 bg-brand-500 text-white font-semibold rounded-2xl hover:opacity-90 transition-all duration-300 transform hover:scale-105 hover:shadow-xl group cursor-pointer"},[...n[3]||(n[3]=[e("svg",{class:"w-5 h-5 mr-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:"M13 7h8m0 0v8m0-8l-8 8-4-4-4 4"})],-1),f(" Upgrade Your Plan ",-1)])]),e("div",null,[e("button",{onClick:X,class:"text-primary hover:text-primary/80 text-sm underline cursor-pointer"}," Back to Funding Opportunities ")])])])])):(s(),r("div",tt,[n[6]||(n[6]=C('<div class="inline-flex items-center justify-center w-20 h-20 bg-red-100 rounded-full mb-6" data-v-f98bc5e9><svg class="w-10 h-10 text-red-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" data-v-f98bc5e9><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-2.5L13.732 4c-.77-.833-1.732-.833-2.5 0L4.314 18.5c-.77.833.192 2.5 1.732 2.5z" data-v-f98bc5e9></path></svg></div><h1 class="text-2xl font-bold text-dark mb-4" data-v-f98bc5e9>Funding Call Not Found</h1><p class="text-neutral-600 mb-8" data-v-f98bc5e9>The funding opportunity you're looking for doesn't exist or has been removed.</p>',3)),v(U,{to:t(L),class:"btn-brand px-6 py-3 rounded-xl font-medium"},{default:$(()=>[...n[5]||(n[5]=[f(" Back to Funding Opportunities ",-1)])]),_:1},8,["to"])]))])])):(s(),r("div",nt,[e("div",ot,[e("div",st,[v(U,{to:t(L),class:"inline-flex items-center text-primary hover:text-primary/80 transition-colors"},{default:$(()=>[n[7]||(n[7]=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:"M10 19l-7-7m0 0l7-7m-7 7h18"})],-1)),f(" "+c(t(J)),1)]),_:1},8,["to"]),!t(h)&&t(o)?(s(),z(q,{key:0,"funding-id":t(g),"funding-call":t(o),"data-tour":"funding-detail-actions"},null,8,["funding-id","funding-call"])):l("",!0)]),e("div",it,[n[17]||(n[17]=e("div",{class:"h-3 bg-primary"}
1,null,-1)),e("div",rt,[e("div",lt,[e("div",at,[e("div",dt,[n[8]||(n[8]=e("div",{class:"w-3 h-3 bg-primary rounded-full"},null,-1)),e("span",ut,c(t(o).Programme||"Grant Programme"),1)]),t(o).CallIdentifier?(s(),r("div",ct,c(t(o).CallIdentifier),1)):l("",!0)]),t(i)?(s(),r("div",{key:0,class:re(["px-4 py-2 rounded-lg text-sm font-bold border-2 shadow-sm",t(i).bg,t(i).color,t(i).color.includes("red")?"border-red-200":t(i).color.includes("orange")?"border-orange-200":t(i).color.includes("yellow")?"border-yellow-200":"border-green-200"])},c(t(i).text),3)):l("",!0)]),e("h1",mt,c(t(o).Title||"Funding Opportunity"),1),t(o).Scope?(s(),r("div",pt,[e("div",{class:"text-base md:text-lg text-neutral-700 leading-relaxed prose prose-lg max-w-none",innerHTML:t(o).Scope},null,8,ft)])):l("",!0),e("div",bt,[t(o).MaxFunding?(s(),r("div",xt,[e("div",vt,[n[10]||(n[10]=e("div",{class:"w-14 h-14 bg-green-100 rounded-2xl flex items-center justify-center flex-shrink-0"},[e("svg",{class:"w-7 h-7 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1"})])],-1)),e("div",null,[n[9]||(n[9]=e("div",{class:"text-sm text-green-600 font-semibold uppercase tracking-wide mb-1"},"Maximum Funding",-1)),e("div",gt,c(t(o).MaxFunding),1)])])])):l("",!0),t(o).FundingRate?(s(),r("div",ht,[e("div",yt,[n[12]||(n[12]=e("div",{class:"w-14 h-14 bg-blue-100 rounded-2xl flex items-center justify-center flex-shrink-0"},[e("svg",{class:"w-7 h-7 text-blue-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"})])],-1)),e("div",null,[n[11]||(n[11]=e("div",{class:"text-sm text-blue-600 font-semibold uppercase tracking-wide mb-1"},"Funding Rate",-1)),e("div",wt,c(t(o).FundingRate),1)])])])):l("",!0)]),e("div",kt,[t(o).Countries&&t(o).Countries.length>0?(s(),r("div",_t,[n[14]||(n[14]=e("svg",{class:"w-5 h-5 mr-3 text-neutral-400 mt-0.5 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),e("div",Ct,[n[13]||(n[13]=e("div",{class:"text-sm font-medium text-neutral-800 mb-1"},"Eligible Countries",-1)),e("div",Mt,[e("div",Bt,c(t(w)?t(o).Countries.join(", "):t(o).Countries.slice(0,5).join(", ")),1),t(o).Countries.length>5?(s(),r("button",{key:0,onClick:n[0]||(n[0]=_=>w.value=!t(w)),class:"text-primary hover:text-primary/80 text-sm font-medium whitespace-nowrap transition-colors cursor-pointer"},c(t(w)?"Show less":"See all"),1)):l("",!0)])])])):l("",!0),t(o).publishDate?(s(),r("div",jt,[n[16]||(n[16]=e("svg",{class:"w-5 h-5 mr-3 text-neutral-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})],-1)),e("div",null,[n[15]||(n[15]=e("div",{class:"text-sm font-medium text-neutral-800"},"Published",-1)),e("div",Et,c(t(b)(t(o).publishDate)),1)])])):l("",!0)])])]),e("div",$t,[e("div",Lt,[t(o).LongDescription||t(o).ExpectedResults?(s(),r("div",Tt,[n[18]||(n[18]=C('<div class="flex items-center mb-6 md:mb-8" data-v-f98bc5e9><div class="w-10 h-10 md:w-12 md:h-12 bg-primary/10 rounded-xl md:rounded-2xl flex items-center justify-center mr-4 md:mr-5" data-v-f98bc5e9><svg class="w-5 h-5 md:w-6 md:h-6 text-primary" fill="none" stroke="currentColor" viewBox="0 0 24 24" data-v-f98bc5e9><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" data-v-f98bc5e9></path></svg></div><h2 class="text-2xl md:text-3xl font-bold text-dark" data-v-f98bc5e9>Description</h2></div>',1)),e("div",Vt,[e("div",{class:"text-neutral-700 leading-relaxed text-base md:text-lg",innerHTML:t(o).LongDescription||t(o).ExpectedResults},null,8,At)])])):l("",!0),t(o).Topics&&t(o).Topics.length>0?(s(),r("div",St,[n[19]||(n[19]=C('<div class="flex items-center mb-6 md:mb-8" data-v-f98bc5e9><div class="w-10 h-10 md:w-12 md:h-12 bg-secondary/10 rounded-xl md:rounded-2xl flex items-center justify-center mr-4 md:mr-5" data-v-f98bc5e9><svg class="w-5 h-5 md:w-6 md:h-6 text-secondary" fill="none" stroke="currentColor" viewBox="0 0 24 24" data-v-f98bc5e9><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z" data-v-f98bc5e9></path></svg></div><h2 class="text-2xl md:text-3xl font-bold text-dark" data-v-f98bc5e9>Topics & Focus Areas</h2></div>',1)),e("div",zt,[(s(!0),r(M,null,O(t(o).Topics,_=>(s(),r("span",{key:_,class:"inline-flex items-center px-4 py-2 bg-secondary/10 text-secondary rounded-full text-sm font-medium"},c(_),1))),128))])])):l("",!0),t(o).Eligibility?(s(),r("div",It,[n[20]||(n[20]=C('<div class="flex items-center mb-6 md:mb-8" data-v-f98bc5e9><div class="w-10 h-10 md:w-12 md:h-12 bg-accent-500/10 rounded-xl md:rounded-2xl flex items-center justify-center mr-4 md:mr-5" data-v-f98bc5e9><svg class="w-5 h-5 md:w-6 md:h-6 text-accent-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" data-v-f98bc5e9><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" data-v-f98bc5e9></path></svg></div><h2 class="text-2xl md:text-3xl font-bold text-dark" data-v-f98bc5e9>Eligibility & Requirements</h2></div>',1)),e("div",{class:"text-neutral-700 leading-relaxed text-base md:text-lg",innerHTML:t(o).Eligibility},null,8,Dt)])):l("",!0)]),e("div",Rt,[e("div",Ft,[n[25]||(n[25]=e("h3",{class:"text-lg md:text-xl font-bold text-dark mb-4 md:mb-6"},"Key Information",-1)),e("div",Ht,[t(o).Deadline?(s(),r("div",Pt,[n[21]||(n[21]=e("span",{class:"block text-neutral-600 font-medium text-sm md:text-base mb-1"},"Application Deadline:",-1)),e("span",Nt,c(t(b)(t(o).Deadline)),1)])):l("",!0),t(o).CallBudget?(s(),r("div",Wt,[n[22]||(n[22]=e("span",{class:"block text-neutral-600 font-medium text-sm md:text-base mb-1"},"Total Budget:",-1)),e("span",Ot,c(t(o).CallBudget),1)])):l("",!0),t(o).OpeningDate?(s(),r("div",Ut,[n[23]||(n[23]=e("span",{class:"block text-neutral-600 font-medium text-sm md:text-base mb-1"},"Opening Date:",-1)),e("span",qt,c(t(b)(t(o).OpeningDate)),1)])):l("",!0),t(o).BeneficiaryType&&t(o).BeneficiaryType.length>0?(s(),r("div",Gt,[e("span",Kt,"Applicant Type"+c(t(o).BeneficiaryType.length>
11?"s":"")+":",1),e("div",Yt,[(s(!0),r(M,null,O(t(o).BeneficiaryType,_=>(s(),r("span",{key:_,class:"inline-flex items-center px-3 py-1 bg-primary/10 text-primary rounded-full text-xs md:text-sm font-medium"},c(_),1))),128))])])):l("",!0),t(o).EntityType&&t(o).EntityType.length>0?(s(),r("div",Qt,[e("span",Jt,"Eligible Entity Type"+c(t(o).EntityType.length>1?"s":"")+":",1),e("div",Xt,[(s(!0),r(M,null,O(t(o).EntityType,_=>(s(),r("span",{key:_,class:"inline-flex items-center px-3 py-1 bg-secondary/10 text-secondary rounded-full text-xs md:text-sm font-medium"},c(t(xe)(_)),1))),128))])])):l("",!0)]),t(o).ApplicationUrl?(s(),r("a",{key:0,href:t(o).ApplicationUrl,target:"_blank",rel:"noopener noreferrer",class:"mt-4 md:mt-6 w-full inline-flex items-center justify-center gap-2 px-4 py-3 rounded-xl text-sm md:text-base font-semibold transition-all duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 bg-primary text-white hover:opacity-90 shadow-sm hover:shadow-md"},[...n[24]||(n[24]=[e("svg",{class:"w-4 h-4 md:w-5 md:h-5 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})],-1),f(" Visit Call Website ",-1)])],8,Zt)):l("",!0)]),e("div",{class:"bg-brand-500 text-white rounded-2xl md:rounded-3xl p-6 md:p-8 text-center shadow-xl","data-tour":"funding-detail-apply"},[n[26]||(n[26]=C('<div class="w-16 h-16 md:w-20 md:h-20 bg-white/20 rounded-full flex items-center justify-center mx-auto mb-4 md:mb-6" data-v-f98bc5e9><svg class="w-8 h-8 md:w-10 md:h-10" fill="none" stroke="currentColor" viewBox="0 0 24 24" data-v-f98bc5e9><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6" data-v-f98bc5e9></path></svg></div><h3 class="text-xl md:text-2xl font-bold mb-3 md:mb-4" data-v-f98bc5e9>Ready to Apply?</h3><p class="text-white/90 mb-6 md:mb-8 text-sm md:text-base leading-relaxed" data-v-f98bc5e9> Don't miss this funding opportunity. Applications are typically competitive. </p>',3)),e("button",{onClick:R,class:"w-full bg-white text-primary font-bold py-3 md:py-4 px-4 md:px-6 rounded-xl md:rounded-2xl hover:bg-neutral-50 transition-all duration-300 transform hover:scale-[1.02] cursor-pointer"}," Apply Now ")]),t(a)?(s(),r("div",en,[n[27]||(n[27]=C('<div class="w-16 h-16 md:w-20 md:h-20 bg-white/20 rounded-full flex items-center justify-center mx-auto mb-4 md:mb-6" data-v-f98bc5e9><svg class="w-8 h-8 md:w-10 md:h-10" fill="none" stroke="currentColor" viewBox="0 0 24 24" data-v-f98bc5e9><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" data-v-f98bc5e9></path></svg></div><h3 class="text-xl md:text-2xl font-bold mb-3 md:mb-4" data-v-f98bc5e9>Need Expert Guidance?</h3><p class="text-white/90 mb-6 md:mb-8 text-sm md:text-base leading-relaxed" data-v-f98bc5e9> Book a 1:1 consultation with our funding experts to discuss your application strategy. </p>',3)),e("button",{onClick:F,class:"w-full bg-white text-secondary font-bold py-3 md:py-4 px-4 md:px-6 rounded-xl md:rounded-2xl hover:bg-neutral-50 transition-all duration-300 transform hover:scale-[1.02] cursor-pointer"}," Book Consultation ")])):(s(),r("div",tn,[n[28]||(n[28]=C('<div class="w-16 h-16 md:w-20 md:h-20 bg-white/20 rounded-full flex items-center justify-center mx-auto mb-4 md:mb-6" data-v-f98bc5e9><svg class="w-8 h-8 md:w-10 md:h-10" fill="none" stroke="currentColor" viewBox="0 0 24 24" data-v-f98bc5e9><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" 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" data-v-f98bc5e9></path></svg></div><h3 class="text-xl md:text-2xl font-bold mb-3 md:mb-4 text-center" data-v-f98bc5e9>Unlock Expert Consultations</h3><p class="text-white/90 mb-4 text-sm md:text-base leading-relaxed text-center" data-v-f98bc5e9> Get exclusive access to personalized funding guidance with our Business plan. </p><ul class="text-left text-white/90 mb-6 md:mb-8 space-y-2 text-sm md:text-base" data-v-f98bc5e9><li class="flex items-start" data-v-f98bc5e9><svg class="w-5 h-5 mr-2 mt-0.5 flex-shrink-0" fill="currentColor" viewBox="0 0 20 20" data-v-f98bc5e9><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" data-v-f98bc5e9></path></svg> 1:1 strategy sessions with funding experts </li><li class="flex items-start" data-v-f98bc5e9><svg class="w-5 h-5 mr-2 mt-0.5 flex-shrink-0" fill="currentColor" viewBox="0 0 20 20" data-v-f98bc5e9><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" data-v-f98bc5e9></path></svg> Priority application review and feedback </li><li class="flex items-start" data-v-f98bc5e9><svg class="w-5 h-5 mr-2 mt-0.5 flex-shrink-0" fill="currentColor" viewBox="0 0 20 20" data-v-f98bc5e9><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" data-v-f98bc5e9></path></svg> Personalized funding roadmap </li><li class="flex items-start" data-v-f98bc5e9><svg class="w-5 h-5 mr-2 mt-0.5 flex-shrink-0" fill="currentColor" viewBox="0 0 20 20" data-v-f98bc5e9><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" data-v-f98bc5e9></path></svg> Direct Calendly booking access </li></ul>',4)),e("button",{onClick:n[1]||(n[1]=_=>("navigateTo"in j?j.navigateTo:t(V))("/pricings")),class:"w-full bg-white text-brand-500 font-bold py-3 md:py-4 px-4 md:px-6 rounded-xl md:rounded-2xl hover:bg-neutral-50 transition-all duration-300 transform hover:scale-[1.02] cursor-pointer"}," Upgrade to Business Plan ")])),n[29]||(n[29]=C('<div class="bg-white rounded-2xl md:rounded-3xl shadow-lg border border-neutral-200 p-6 md:p-8" data-v-f98bc5e9><h3 class="text-lg md:text-xl font-bold text-dark mb-4 md:mb-6" data-v-f98bc5e9>Need Support?</h3><p class="text-sm md:text-base text-neutral-600 mb-4 md:mb-6 leading-relaxed" data-v-f98bc5e9> Have questions about this funding opportunity? Our team is here to help. </p><a href="mailto:[email protected]" class="inline-flex items-center text-primary hover:text-primary/80 transition-colors font-semibold text-sm md:text-base" data-v-f98bc5e9><svg class="w-4 h-4 md:w-5 md:h-5 mr-2 md:mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24" data-v-f98bc5e9><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 7.89a2 2 0 002.83 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" data-v-f98bc5e9></path></svg> Contact Support </a></div>',1))])]),!t(h)&&t(o)?(s(),z(q,{key:0,"funding-id":t(g),"funding-call":t(o),class:"justify-center mt-8","data-tour":"funding-detail-actions-bottom"},null,8,["funding-id","funding-call"])):l("",!0)])]))])}}}),xn=Y(nn,[["__scopeId","data-v-f98bc5e9"]]);export{xn 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.