PageSourceSearch

https://www.futurefarm.io/_next/static/chunks/pages/products-763924bf21af87de.js

js futurefarm.io collected 2026-09-26 10:06:42 UTC 7,832 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[87345],{91225:function(e,t,r){"use strict";r.d(t,{d:function(){return g}});var n=r(94184),c=r.n(n),s=r(58766),i=r(22001),o=r.n(i),a=r(85893);const l=({links:e})=>(0,a.jsx)("ul",{className:c()(o().links),children:e.map((({linkText:e,linkUrl:t,backgroundColor:r,textColor:n})=>{const c={"--background-color":r,"--text-color":n};return(0,a.jsx)("li",{style:c,children:(0,a.jsx)(s.Q,{className:o().link,text:e,url:t})},e)}))});var u=r(35678),d=r(75486),h=r(14361),p=r(90870),f=r.n(p);const g=({heading:e,headingLevel:t=1,headingFontSize:r=1,paragraph:n,tagline:s,backgroundColor:i,visual:o,links:p})=>{const g=(0,d.x)(t),_=(0,d.i)(t),b=(0,d.x)(s?_:t),j={"--hero-headline-background-color":i||"var(--color-core-white)"};return(0,a.jsx)("div",{className:f().headline,style:j,children:(0,a.jsxs)("div",{className:c()(f()["content-wrapper"],"stack-block"),children:[s?(0,a.jsx)(g,{className:"fluid-font-t6-bold",children:s}):null,(0,a.jsxs)("div",{className:c()(f()["content-with-visual"],`fluid-font-t${r}`),children:[(0,a.jsx)(b,{className:f().heading,children:e}),o?(0,a.jsx)("img",{alt:"",className:f().visual,height:(0,h.t)(o).height,role:"presentation",sizes:`${u.AV.xxl} 15rem, (min-width: 55em) 10.4rem, 5.75rem`,src:`/img/${o}/${o}.png`,srcSet:`/img/${o}/${o}-120.webp 120w, /img/${o}/${o}-240.webp 240w, /img/${o}/${o}-480.webp 480w`,width:(0,h.t)(o).width}):null]}),n?(0,a.jsx)("p",{className:c()(f().paragraph,"fluid-font-t4"),children:n}):null,p?(0,a.jsx)(l,{links:p}):null]})})}},46015:function(e,t,r){"use strict";r.d(t,{r:function(){return i}});var n=r(41664),c=r(21786),s=r(85893);const i=({children:e,className:t,style:r,href:i})=>(0,c.F)(i)?(0,s.jsx)(n.default,{href:i,passHref:!0,children:(0,s.jsx)("a",{className:t,href:"-",style:r,children:e})}):(0,s.jsx)("a",{className:t,href:i.toString(),rel:"noopener noreferrer",style:r,target:"_blank",children:e})},58766:function(e,t,r){"use strict";r.d(t,{Q:function(){return l}});var n=r(94184),c=r.n(n),s=r(46015),i=r(93917),o=r.n(i),a=r(85893);const l=({url:e,text:t,className:r})=>(0,a.jsx)(s.r,{className:c()(r,o()["link-button"],"fluid-font-t6-bold"),"data-testid":"LinkButton",href:e,children:t})},79706:function(e,t,r){"use strict";r.d(t,{o:function(){return n.o}});var n=r(41821)},15583:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return N},default:function(){return H}});var n=r(59499),c=r(91225),s=r(94184),i=r.n(s),o=r(4730),a=r(41664),l=r(48774),u=r(85893);const d=["children","locale"];function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const f=e=>{let{children:t,locale:r}=e,n=(0,o.Z)(e,d);return(0,u.jsx)(a.default,p(p({locale:r?(0,l.H2)(r):void 0},n),{},{children:t}))};var g=r(79706),_=r(35678),b=r(47960),j=r.n(b);const w=({slug:e,backgroundColor:t,locale:r,title:n,description:c,subheading:s,packshot:o})=>{const a=o.image.width/o.image.height,l=a<1?a:1,d={"--product-card-background-color":t.hex,"--product-card-packshot-aspect-ratio":a},h=[`${_.AV.xxxl} ${20*l}vw`,`${_.AV.md} ${30*l}vw`,62*l+"vw"].join(",");return(0,u.jsx)("article",{className:j().card,style:d,children:(0,u.jsxs)("div",{className:j().content,children:[(0,u.jsxs)("header",{className:i()(j().header,"fluid-font-t6-bold"),children:[(0,u.jsx)("h2",{children:(0,u.jsx)(f,{href:`/products/${e}`,locale:r,passHref:!0,children:(0,u.jsx)("a",{className:"breakout",children:n})})}),(0,u.jsx)("p",{className:j().subheading,children:s})]}),(0,u.jsx)("figure",{className:j()["packshot-wrapper"],children:(0,u.jsx)(g.o,{borderRadius:o.borderRadius,image:o.image,sizes:h})}),(0,u.jsx)("p",{className:i()(j().description,"fluid-font-t6"),children:c})]})})};var O=r(33838),m=r.n(O);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?x(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const k=({products:e})=>(0,u.jsx)("ul",{className:m().list,children:e.map((e=>(0,u.jsx)("li",{children:(0,u.jsx)(w,y(y({},e),{},{backgroundColor:e.category.highlightColor,locale:e.__i18n_lang,packshot:e.packshot,slug:e.slug}))},e.title)))});function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var N=!0,H=({productListingPage:e})=>{const{heroHeadline:t,products:r}=e;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(c.d,P({},t)),(0,u.jsx)(k,{products:r})]})}},75486:function(e,t,r){"use strict";r.d(t,{x:function(){return n},i:function(){return c}});const n=e=>{switch(e){default:return"h1";case 2:return"h2";case 3:return"h3";case 4:return"h4";case 5:return"h5";case 6:return"h6"}},c=e=>{switch(e){case 1:return 2;case 2:return 3;case 3:return 4;case 4:return 5;default:return 6}}},21786:function(e,t,r){"use strict";r.d(t,{T:function(){return n},F:function(){return c}});const n=e=>-1!==e.indexOf("#"),c=e=>"string"===typeof e?e.startsWith("/"):!e.host},14361:function(e,t,r){"use strict";r.d(t,{t:function(){return n}});const n=e=>{switch(e){case"grass-smiley":case"grass":return{height:480,width:480};case"metal-smiley":return{height:480,width:420};case"plant":return{height:480,width:497};case"cow":case"burger":return{height:480,width:560};case"cow-side":return{height:320,width:191};case"metal-smiley-green":return{height:480,width:495};default:return{height:100,width:100}}}},80719:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/products",function(){return r(15583)}])},90870:function(e){e.exports={headline:"HeroHeadline_headline__4A9UO","content-with-visual":"HeroHeadline_content-with-visual__jqzM1",tagline:"HeroHeadline_tagline__RTi6_",visual:"HeroHeadline_visual__TCPJP",paragraph:"HeroHeadline_paragraph__FhhHZ",heading:"HeroHeadline_heading__UL16d","content-wrapper":"HeroHeadline_content-wrapper__trO1R"}},93917:function(e){e.exports={"link-button":"LinkButton_link-button__j6LkW"}},22001:function(e){e.exports={links:"LinkList_links__hRaQH",link:"LinkList_link__ws3u5"}},47960:function(e){e.exports={card:"ProductCard_card__QrFsp",content:"ProductCard_content__T_0SW",header:"ProductCard_header__OiJed",description:"ProductCard_description__y_TgF",subheading:"ProductCard_subheading__VZtep","packshot-wrapper":"ProductCard_packshot-wrapper__rpfIy"}},33838:function(e){e.exports={list:"ProductGrid_list__sS4L9"}}},function(e){e.O(0,[49774,92888,40179],(function(){return t=80719,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
2//# sourceMappingURL=products-763924bf21af87de.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.