1import{d as P,r as i,o as A,y as M,e as S,g as h,h as v,i as a,G as f,f as m,k as p,l as k,s as B}from"./BYWiMGVE.js";import{_ as z}from"./BtuX5eKw.js";import{_ as j}from"./DlAUqK2U.js";const C=["aria-valuenow"],D=["src","alt"],I=["src","alt"],$=P({__name:"BeforeAfterSlider",props:{beforeSrc:{},afterSrc:{},beforeAlt:{},afterAlt:{},initial:{}},setup(s){const o=s,r=i(null),n=i(!1),t=i(Math.min(100,Math.max(0,o.initial??50))),d=i(!1);A(()=>{d.value=window.matchMedia?.("(hover: hover) and (pointer: fine)")?.matches??!1});const g=M(()=>({clipPath:`inset(0 ${100-t.value}% 0 0)`}));function c(e){if(!r.value)return;const l=r.value.getBoundingClientRect(),y=Math.min(l.right,Math.max(l.left,e))-l.left;t.value=y/l.width*100}function _(e){c(e.clientX),n.value=!0,e.currentTarget.setPointerCapture?.(e.pointerId)}function x(e){if(d.value){c(e.clientX);return}n.value&&c(e.clientX)}function u(){n.value=!1}function b(){n.value=!1}function w(e){e.key==="ArrowLeft"&&(t.value=Math.max(0,t.value-2)),e.key==="ArrowRight"&&(t.value=Math.min(100,t.value+2))}return S(()=>n.value=!1),(e,l)=>(v(),h("div",{ref_key:"root",ref:r,class:"relative w-full h-full select-none touch-none cursor-col-resize",role:"slider","aria-label":"Before and after comparison","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(t.value),tabindex:"0",onKeydown:w,onPointerdown:_,onPointermove:x,onPointerup:u,onPointercancel:u,onPointerleave:b},[a("img",{src:s.afterSrc,alt:s.afterAlt??"After",class:"absolute inset-0 size-full object-cover",draggable:"false"},null,8,D),a("img",{src:s.beforeSrc,alt:s.beforeAlt??"Before",class:"absolute inset-0 size-full object-cover",style:f(g.value),draggable:"false"},null,12,I),a("div",{class:"absolute top-0 bottom-0 w-1 bg-primary cursor-col-resize",style:f({left:t.value+"%"})},null,4)],40,C))}}),X=Object.assign($,{__name:"BeforeAfterSlider"}),F={},N={class:"my-10 md:my-20 lg:my-24 xl:my-32"},T={class:"container"},V={class:"flex flex-col xl:flex-row gap-5 md:gap-16 lg:gap-20 xl:gap-28 items-center max-w-sm md:max-w-none mx-auto"},G={"data-fade-up-item":"",class:"relative rounded-lg md:rounded-2xl overflow-hidden aspect-587/779 w-full max-w-[590px]"},K={class:"size-full object-cover scale-125 md:scale-105",width:"587",height:"779",src:z,alt:"data bg"},L={class:"absolute size-full inset-0 p-14 md:py-[88px] md:px-[60px] flex justify-center items-center"},O={class:"bg-background size-full max-w-[400px] max-h-[600px] flex items-center justify-center"};function R(s,o){const r=X,n=m("parallax"),t=m("fade-up");return p((v(),h("section",N,[a("div",T,[a("div",V,[a("div",G,[p(a("img",K,null,512),[[n]]),o[0]||(o[0]=a("div",{class:"absolute inset-0 size-full bg-foreground
1/40"},null,-1)),a("div",L,[a("div",O,[B(r,{"before-src":"/images/home/before.webp","after-src":"/images/home/after.webp",initial:50})])])]),o[1]||(o[1]=k('<div class="flex flex-col gap-5 xl:max-w-[544px]"><h2 data-fade-up-item>When fragmented data hides the full picture</h2><p data-fade-up-item>Investment teams are buried in PDFs, emails, and disconnected tools, and each deal requires manual data assembly and institutional knowledge that disappears when analysts leave. <br><br> The result? <br><br> Incomplete analysis, missed patterns, and decisions made without full context. <br><br> Teams spend 70% of their time on data work when they should be focused on investment judgment. </p><div data-fade-up-item class="bg-foreground text-primary px-5 py-8 md:p-10 flex flex-col gap-2 rounded-lg md:rounded-none"><p class="font-semibold">â GoCanopy transforms <i>this</i></p><hr class="border-brand/40"><p>Intelligence that strengthens with every deal - AI automatically structures documents, surfaces insights manual analysis misses, and preserves expertise that compounds across teams and time. <br><br> From more defensible underwriting to data-backed asset decisions, intelligence that creates lasting value. </p></div></div>',1))])])])),[[t]])}const H=Object.assign(j(F,[["render",R]]),{__name:"SectionsHomeContent"});export{H as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.