PageSourceSearch

https://weathersafe.co.uk/static/js/9731.6f8cd001.chunk.js

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

1"use strict";(self.webpackChunkNioLandReact=self.webpackChunkNioLandReact||[]).push([[9731],{9731:(e,t,r)=>{r.r(t),r.d(t,{default:()=>b});var i=r(5043),o=r(3519),n=r(1072),s=r(8602),l=r(3216),a=r(3107),d=r(7497),c=r(579);const m="'Inter', sans-serif",h="#28a745",p={display:"block",fontFamily:m,fontWeight:600,fontSize:"0.85rem",letterSpacing:"0.06em",textTransform:"uppercase",color:h,marginBottom:"0.75rem"},f={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:r,subheading:n,features:s,reversed:l=!1}=e;const a=(0,i.useRef)(null),d=(0,i.useRef)([]),[h,u]=(0,i.useState)(0),[x,y]=(0,i.useState)(!1);return(0,i.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,i.useEffect)((()=>{const e=()=>{const e=a.current;if(!e)return;const t=e.getBoundingClientRect();if(t.bottom<0||t.top>window.innerHeight)return;let r=0,i=1/0;d.current.forEach(((e,t)=>{if(!e)return;const o=e.getBoundingClientRect(),n=o.top+o.height/2,s=.45*window.innerHeight,l=Math.abs(n-s);l<i&&(i=l,r=t)})),u(r)};return window.addEventListener("scroll",e,{passive:!0}),e(),()=>window.removeEventListener("scroll",e)}),[s]),(0,c.jsx)("div",{ref:a,children:(0,c.jsxs)(o.A,{children:[(0,c.jsxs)("div",{style:{paddingTop:"2rem",marginBottom:"4rem"},children:[t&&(0,c.jsx)("span",{style:p,children:t}),(0,c.jsx)("h2",{style:{...f,fontSize:"clamp(2.2rem, 4vw, 3.2rem)",marginBottom:n?"0.75rem":"0"},children:r}),n&&(0,c.jsx)("p",{style:{...g,fontSize:"1rem",maxWidth:"500px",marginBottom:0,color:"#000"},children:n})]}),(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:h===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&&h===t?"inset(0 0 0 0)":l?"inset(0 100% 0 0)":"inset(0 0 0 100%)",transition:"clip-path 0.6s ease",zIndex:h===t?2:1},loading:"lazy"},t)))})})]})]})})}function x(){const[e,t]=(0,i.useState)(!1),r=(0,i.useRef)(null);(0,i.useEffect)((()=>{function e(e){r.current&&!r.current.contains(e.target)&&t(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)}),[]);return(0,c.jsxs)("div",{ref:r,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"})}),"Optimise \u2014 Yields",(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:"Improved Yields",href:"#improved-yields"}].map(((e,r)=>(0,c.jsx)("a",{href:e.href,onClick:r=>{r.preventDefault(),t(!1);const i=document.querySelector(e.href);i&&i.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},r)))})]})}const y=[{title:"Improved cherry yield",desc:"Optimised tree density, intercropping, irrigation, composting. 0.3kg to 4kg per tree.",img:"images/seedlings-red.webp"},{title:"Pest and disease protection",desc:"AI models predict potential outbreaks before they spread. Leaf rust, antestia, coffee berry disease \u2014 caught early, not after the damage.",img:"images/blog/pestalert.webp"},{title:"Weather-driven timing",desc:"Every spray, every mulch, every harvest decision timed to conditions. Wrong timing wastes the input or loses the crop.",img:"images/blog/carbon1.webp"},{title:"Farm health scores",desc:"Satellite health scores show which farms are improving and which need attention. The data shows whether it's working.",img:"images/blog/deforest.webp"}];const b=function(){return function(){const{hash:e}=(0,l.zy)();(0,i.useEffect)((()=>
1{if(e){const t=document.querySelector(e);t&&setTimeout((()=>t.scrollIntoView({behavior:"smooth",block:"start"})),100)}}),[e])}(),(0,c.jsxs)(a.A,{title:"Improved Yields",description:"GAP77 practices, pest and disease prediction, weather-driven timing, and satellite health scores \u2014 the integrated stack that lifts coffee yields and protects them.",children:[(0,c.jsx)("section",{style:{paddingTop:"10rem",paddingBottom:"4rem",background:"#fff"},children:(0,c.jsx)(o.A,{children:(0,c.jsxs)(n.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:"21rem"},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:["Origin data helps",(0,c.jsx)("br",{}),"decisions that",(0,c.jsx)("br",{}),(0,c.jsx)("span",{style:{color:h},children:"improve yields."})]}),(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:"GAP77 practices increase production. Weather alerts and pest models protect it. The result is more reliable cherry supply."}),(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:h,borderRadius:"6px",padding:"0.75rem 1.75rem",textDecoration:"none"},children:"Get started"}),(0,c.jsx)("a",{href:"/how-it-works",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:"How it works"})]})]})]})})}),(0,c.jsx)("section",{style:{paddingBottom:"5rem"},children:(0,c.jsx)(o.A,{children:(0,c.jsx)("div",{className:"overflow-hidden",style:{height:"600px",borderRadius:"4px"},children:(0,c.jsx)("img",{src:"images/gap77-diagram.webp",alt:"Improved Yields",style:{width:"100%",height:"100%",objectFit:"cover"},loading:"lazy"})})})}),(0,c.jsx)("section",{id:"improved-yields",style:{paddingTop:"1rem",paddingBottom:"5rem"},children:(0,c.jsx)(u,{eyebrowText:"",heading:(0,c.jsxs)(c.Fragment,{children:["Yield improvement",(0,c.jsx)("br",{}),"built into the system."]}),subheading:"Optimised tree density, intercropping, irrigation, composting. 0.3kg to 4kg per tree.",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)(n.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:["Better yields,",(0,c.jsx)("br",{}),"better supply."]}),(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:h,borderRadius:"6px",padding:"0.75rem 1.75rem",textDecoration:"none"},children:"Get started"}),(0,c.jsx)("a",{href:"/contact-us-solution",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:"Talk to our team"})]})]}),(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:"GAP77 practices compound season on season. Farmers earn more, stations receive more cherry, buyers get more secure supply."})})]})})})]})}}}]);
2//# sourceMappingURL=9731.6f8cd001.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.