PageSourceSearch

https://weathersafe.co.uk/static/js/4136.e7f20cf8.chunk.js

js weathersafe.co.uk collected 2026-10-04 13:25:13 UTC 9,977 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkNioLandReact=self.webpackChunkNioLandReact||[]).push([[4136],{4136:(e,t,i)=>{i.r(t),i.d(t,{default:()=>b});var r=i(5043),n=i(3519),o=i(1072),s=i(8602),l=i(3216),a=i(3107),d=i(7497),c=i(579);const m="'Inter', sans-serif",f="#28a745",h={display:"block",fontFamily:m,fontWeight:600,fontSize:"0.85rem",letterSpacing:"0.06em",textTransform:"uppercase",color:f,marginBottom:"0.75rem"},p={fontFamily:m,fontWeight:700,fontSize:"clamp(1.8rem, 3vw, 2.6rem)",letterSpacing:"-0.02em",color:"#000",marginBottom:"1rem"},g={fontFamily:m,fontWeight:400,fontSize:"1.1rem",lineHeight:1.7,color:"#444"};function u(e){let{eyebrowText:t,heading:i,subheading:o,features:s,reversed:l=!1}=e;const a=(0,r.useRef)(null),d=(0,r.useRef)([]),[f,u]=(0,r.useState)(0),[x,y]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=()=>{const e=d.current[0];if(!e)return;const t=e.getBoundingClientRect();y(t.top<.7*window.innerHeight)};return window.addEventListener("scroll",e,{passive:!0}),e(),()=>window.removeEventListener("scroll",e)}),[]),(0,r.useEffect)((()=>{const e=()=>{const e=a.current;if(!e)return;const t=e.getBoundingClientRect();if(t.bottom<0||t.top>window.innerHeight)return;let i=0,r=1/0;d.current.forEach(((e,t)=>{if(!e)return;const n=e.getBoundingClientRect(),o=n.top+n.height/2,s=.45*window.innerHeight,l=Math.abs(o-s);l<r&&(r=l,i=t)})),u(i)};return window.addEventListener("scroll",e,{passive:!0}),e(),()=>window.removeEventListener("scroll",e)}),[s]),(0,c.jsx)("div",{ref:a,children:(0,c.jsxs)(n.A,{children:[(0,c.jsxs)("div",{style:{paddingTop:"2rem",marginBottom:"4rem"},children:[t&&(0,c.jsx)("span",{style:h,children:t}),(0,c.jsx)("h2",{style:{...p,fontSize:"clamp(2.2rem, 4vw, 3.2rem)",marginBottom:o?"0.75rem":"0"},children:i}),o&&(0,c.jsx)("p",{style:{...g,fontSize:"1rem",maxWidth:"500px",marginBottom:0,color:"#000"},children:o})]}),(0,c.jsxs)("div",{style:{display:"flex",gap:"4rem",position:"relative",flexDirection:l?"row-reverse":"row"},children:[(0,c.jsx)("div",{style:{flex:"0 0 40%"},children:s.map(((e,t)=>(0,c.jsxs)("div",{ref:e=>d.current[t]=e,style:{minHeight:"80vh",display:"flex",flexDirection:"column",justifyContent:"center",opacity:f===t?1:.25,transition:"opacity 0.4s ease"},children:[(0,c.jsx)("h3",{style:{fontFamily:m,fontWeight:700,fontSize:"2rem",letterSpacing:"-0.02em",color:"#000",marginBottom:"0.75rem"},children:e.title}),(0,c.jsx)("p",{style:{...g,fontSize:"1rem",maxWidth:"420px",color:"#000"},children:e.desc})]},t)))}),(0,c.jsx)("div",{style:{flex:"0 0 38%",minWidth:0,marginLeft:l?"0":"auto",marginRight:l?"auto":"1rem"},children:(0,c.jsx)("div",{style:{position:"sticky",top:"180px",height:"clamp(500px, 72vh, 780px)",borderRadius:"8px",overflow:"hidden",background:"#fff"},children:s.map(((e,t)=>(0,c.jsx)("img",{src:e.img,alt:e.title,style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",clipPath:x&&f===t?"inset(0 0 0 0)":l?"inset(0 100% 0 0)":"inset(0 0 0 100%)",transition:"clip-path 0.6s ease",zIndex:f===t?2:1},loading:"lazy"},t)))})})]})]})})}function x(){const[e,t]=(0,r.useState)(!1),i=(0,r.useRef)(null);(0,r.useEffect)((()=>{function e(e){i.current&&!i.current.contains(e.target)&&t(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)}),[]);return(0,c.jsxs)("div",{ref:i,style:{position:"relative",display:"inline-block"},children:[(0,c.jsxs)("div",{onClick:()=>t((e=>!e)),style:{display:"inline-flex",alignItems:"center",gap:"0.4rem",fontFamily:m,fontWeight:600,fontSize:"1rem",color:"#000",border:"1px solid #d0d0d0",borderRadius:"999px",padding:"0.6rem 0.75rem 0.6rem 0.6rem",background:"#fff",cursor:"pointer",userSelect:"none",whiteSpace:"nowrap"},children:[(0,c.jsx)("svg",{width:"15",height:"17",viewBox:"0 0 12 14",fill:"none",style:{flexShrink:0},children:(0,c.jsx)("path",{d:"M1 1L1 11L4 8.5L5.5 13L7 12.5L5.5 8H9.5L1 1Z",fill:"#fff",stroke:"#28a745",strokeWidth:"1",strokeLinejoin:"round"})}),"The Evidence \u2014 Side Benefits",(0,c.jsx)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",style:{flexShrink:0,marginLeft:"0.1rem",transform:e?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.2s ease"},children:(0,c.jsx)("path",{d:"M1 1L5 5L9 1",stroke:"#000",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),e&&(0,c.jsx)("div",{style:{position:"absolute",top:"calc(100% + 8px)",left:0,minWidth:"220px",background:"#fff",border:"1px solid #e0e0e0",borderRadius:"8px",boxShadow:"0 8px 32px rgba(0,0,0,0.10)",padding:"0.5rem",zIndex:100},children:[{label:"Side Benefits",href:"#side-benefits"}].map(((e,i)=>(0,c.jsx)("a",{href:e.href,onClick:i=>{i.preventDefault(),t(!1);const r=document.querySelector(e.href);r&&r.scrollIntoView({behavior:"smooth",block:"start"})},style:{display:"block",padding:"0.6rem 0.75rem",fontFamily:m,fontWeight:500,fontSize:"0.9rem",color:"#333",textDecoration:"none",borderRadius:"6px",transition:"background 0.15s ease"},onMouseEnter:e=>e.currentTarget.style.background="#f5f5f5",onMouseLeave:e=>e.currentTarget.style.background="transparent",children:e.label},i)))})]})}const y=[{title:"Tripling farmer income",desc:"0.3kg to 4kg cherry per tree. Tree density from 2,500 to 4,400 per hectare. No increase in production costs.",img:"images/demo-farm.webp"},{title:"Increased bird diversity",desc:"Shannon index 0.85. Forest species attracted to banana-shaded GAP77 farms. Natural pest control through biodiversity.",img:"images/help-center/image10birda.webp"},{title:"Arthropod diversity",desc:"Shannon index 0.9. 92 types of soil-litter arthropods. Soil aeration, decomposition, and natural pest control.",img:"images/help-center/mapfarmimage.webp"},{title:"Soil microbiology rebuilt",desc:"Degraded soils restored through biochar, worm compost, and organic 
1inputs. Microbial life recovered.",img:"images/demo-farm-person.webp"},{title:"Soil fertility unlocked",desc:"Mycorrhizal fungi and nematodes unlock 28 essential nutrients naturally \u2014 reducing synthetic fertiliser dependence.",img:"images/blog/carbon1.webp"}];const b=function(){return function(){const{hash:e}=(0,l.zy)();(0,r.useEffect)((()=>{if(e){const t=document.querySelector(e);t&&setTimeout((()=>t.scrollIntoView({behavior:"smooth",block:"start"})),100)}}),[e])}(),(0,c.jsxs)(a.A,{title:"Side Benefits of GAP77 \u2014 Biodiversity, Soil & Income",description:"Beyond yield: bird and arthropod diversity, soil microbiology recovery, fertility gains and tripled farmer income \u2014 measured results from GAP77 regenerative coffee farming.",children:[(0,c.jsx)("section",{style:{paddingTop:"10rem",paddingBottom:"4rem",background:"#fff"},children:(0,c.jsx)(n.A,{children:(0,c.jsxs)(o.A,{className:"align-items-start g-0",children:[(0,c.jsx)(s.A,{xs:"auto",style:{paddingTop:"1rem",marginLeft:"0rem"},children:(0,c.jsx)(x,{})}),(0,c.jsxs)(s.A,{style:{paddingLeft:"20rem"},children:[(0,c.jsxs)("h1",{style:{fontFamily:m,fontWeight:800,fontSize:"clamp(3.5rem, 7vw, 6rem)",lineHeight:1.05,letterSpacing:"-0.04em",color:"#000",marginBottom:"1.5rem"},children:["Side benefits of",(0,c.jsx)("br",{}),(0,c.jsx)("span",{style:{color:f},children:"GAP77."})]}),(0,c.jsx)("p",{style:{fontFamily:m,fontWeight:400,fontSize:"1.35rem",lineHeight:1.6,color:"#555",maxWidth:"860px",margin:"0 0 1.05rem"},children:"Beyond tripling income \u2014 GAP77 delivers measurable improvements in biodiversity, soil health, and ecosystem resilience."}),(0,c.jsxs)("div",{style:{display:"flex",gap:"1rem",flexWrap:"wrap"},children:[(0,c.jsx)("a",{href:"/contact-us-solution",style:{fontFamily:m,fontWeight:600,fontSize:"0.95rem",color:"#fff",background:f,borderRadius:"6px",padding:"0.75rem 1.75rem",textDecoration:"none"},children:"Talk to us"}),(0,c.jsx)("a",{href:"/impact-report",style:{fontFamily:m,fontWeight:600,fontSize:"0.95rem",color:"#000",background:"#fff",border:"1px solid #d0d0d0",borderRadius:"6px",padding:"0.75rem 1.75rem",textDecoration:"none"},children:"See the evidence"})]})]})]})})}),(0,c.jsx)("section",{style:{paddingBottom:"5rem"},children:(0,c.jsx)(n.A,{children:(0,c.jsx)("div",{className:"overflow-hidden",style:{height:"600px",borderRadius:"4px"},children:(0,c.jsx)("img",{src:"images/demo-farm.webp",alt:"GAP77 demo farm",style:{width:"100%",height:"100%",objectFit:"cover"},loading:"lazy"})})})}),(0,c.jsx)("section",{id:"side-benefits",style:{paddingTop:"1rem",paddingBottom:"5rem"},children:(0,c.jsx)(u,{eyebrowText:"",heading:(0,c.jsx)(c.Fragment,{children:"Beyond the yield."}),subheading:"GAP77 doesn't just increase production \u2014 it rebuilds the ecosystem around the farm.",features:y})}),(0,c.jsx)(d.Cu,{className:"py-10 py-lg-90",style:{borderTop:"1px solid #f0f0f0",borderBottom:"1px solid #f0f0f0",paddingTop:"7rem",paddingBottom:"7rem"},children:(0,c.jsx)(d.Cu.Content,{children:(0,c.jsxs)(o.A,{className:"align-items-start",children:[(0,c.jsxs)(s.A,{lg:"5",style:{marginTop:"-0.75rem"},children:[(0,c.jsxs)("h2",{style:{fontFamily:m,fontWeight:800,fontSize:"clamp(2.2rem, 4vw, 3.5rem)",letterSpacing:"-0.03em",lineHeight:1.05,color:"#000",marginBottom:"2rem"},children:["See GAP77",(0,c.jsx)("br",{}),"in action."]}),(0,c.jsxs)("div",{style:{display:"flex",gap:"1rem",flexWrap:"wrap"},children:[(0,c.jsx)("a",{href:"/contact-us-solution",style:{fontFamily:m,fontWeight:600,fontSize:"0.95rem",color:"#fff",background:f,borderRadius:"6px",padding:"0.75rem 1.75rem",textDecoration:"none"},children:"Talk to us"}),(0,c.jsx)("a",{href:"/impact-report",style:{fontFamily:m,fontWeight:600,fontSize:"0.95rem",color:"#000",background:"#fff",border:"1px solid #d0d0d0",borderRadius:"6px",padding:"0.75rem 1.75rem",textDecoration:"none"},children:"See the evidence"})]})]}),(0,c.jsx)(s.A,{lg:"5",className:"offset-lg-2",children:(0,c.jsx)("p",{style:{fontFamily:m,fontWeight:400,fontSize:"1.55rem",lineHeight:1.4,color:"#333",marginBottom:0},children:"77 practices. 13 years. Built with farmers, not for them."})})]})})})]})}}}]);
2//# sourceMappingURL=4136.e7f20cf8.chunk.js.map

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.