1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{8581:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return e(6153)}])},6153:function(n,t,e){"use strict";e.r(t),e.d(t,{default:function(){return ni}});var i=e(5893),r=e(7294),o=e(131);var a=e(8590),s=e(5650),c=e(2725),u=e(5675),l=e(7379),d=e(1664);function h(n,t){return t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}}))}function f(){var n=h(["\n background-color: white;\n color: var(--darkGreen);\n "]);return f=function(){return n},n}function p(){var n=h(["\n a {\n display: block;\n border: 2px solid var(--darkGreen);\n border-radius: 12px;\n font-size: 16px;\n line-height: 100%;\n font-weight: 500;\n padding: 14px 22px;\n ","\n }\n @media (min-width: ",") {\n a {\n font-size: 18px;\n padding: 14px 38px;\n transition: var(--buttonTransition);\n :hover {\n background-color: var(--darkGreen);\n color: white;\n padding: 14px 76px;\n ","\n }\n }\n }\n"]);return p=function(){return n},n}var A=l.ZP.div.withConfig({componentId:"sc-31b5d4f6-0"})(p(),(function(n){return n.white&&"border: 2px solid white;"}),(function(n){return n.theme.breakpointLg}),(function(n){return n.white&&(0,l.iv)(f())})),g=function(n){var t=n.data,e=n.white,r=n.onMouseEnter,o=n.onMouseLeave,a=n.className,s=null===t||void 0===t?void 0:t.text,c=null===t||void 0===t?void 0:t.link,u=null===t||void 0===t?void 0:t.internalLink;return(0,i.jsx)(A,{className:a,white:e,onMouseEnter:r,onMouseLeave:o,children:u?(0,i.jsx)(d.default,{href:u,children:(0,i.jsx)("a",{children:s})}):(0,i.jsx)("a",{href:c,target:"_blank",rel:"noreferrer",children:s})})},m=e(4051),x=e.n(m);function v(n,t,e,i,r,o,a){try{var s=n[o](a),c=s.value}catch(u){return void e(u)}s.done?t(c):Promise.resolve(c).then(i,r)}function w(n){return function(){var t=this,e=arguments;return new Promise((function(i,r){var o=n.apply(t,e);function a(n){v(o,i,r,a,s,"next",n)}function s(n){v(o,i,r,a,s,"throw",n)}a(void 0)}))}}var b=function(n){var t=n.animation,o=n.loop,a=void 0===o||o,s=n.autoplay,c=void 0===s||s,u=n.delay,l=n.frameToRepeat,d=n.segmentsToPlay,h=n.className,f=(0,r.useRef)(null),p=(0,r.useState)(void 0),A=p[0],g=p[1];return(0,r.useEffect)((function(){function n(){return i.apply(this,arguments)}function i(){return(i=w(x().mark((function n(){var i,r;return x().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.e(296).then(e.t.bind(e,1248,23));case 2:i=n.sent.default,r=i.loadAnimation({container:f.current,renderer:"svg",loop:a,autoplay:c,path:t}),g(r),l&&r.addEventListener("complete",(function(){r.goToAndPlay(l,!0)}));case 6:case"end":return n.stop()}}),n)})))).apply(this,arguments)}if(t){if(u)return void setTimeout((function(){n()}),u);n()}return function(){return null===A||void 0===A?void 0:A.destroy()}}),[t]),(0,r.useEffect)((function(){d&&(null===A||void 0===A||A.playSegments(d,!0))}),[d]),(0,i.jsx)("div",{className:h,children:(0,i.jsx)("div",{ref:f})})};function L(){var n,t,e=(n=["\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n column-gap: 24px;\n width: 100%;\n max-width: var(--maxWidth);\n margin-left: auto;\n margin-right: auto;\n padding: 140px 24px 80px;\n > * {\n grid-column: 1/-1;\n }\n @media (min-width: ",") {\n grid-template-columns: repeat(12, 1fr);\n column-gap: 60px;\n padding: 160px 160px 188px;\n }\n"],t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}})));return L=function(){return e},e}var j=l.ZP.div.withConfig({componentId:"sc-85e70f20-0"})(L(),(function(n){return n.theme.breakpointLg})),y=e(9766),C=e(9597),k={src:"/_next/static/media/ecosia-logo.b1991bca.svg",height:40,width:56},E=function(){return(0,i.jsx)("svg",{width:"750",height:"144",viewBox:"0 0 750 144",fill:"none",preserveAspectRatio:"xMidYMin slice",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M583.335 68.8254C595.963 71.5506 606.463 80.6763 614.508 94.5266C670.458 60.7351 704.694 43.3543 750 46.7384V144H4.23822e-06L0 107.394C17.7504 99.1775 64.9943 97.1704 94.7
1511 100.925C98.2512 86.6444 106.037 75.2983 118.39 68.1542C144.84 52.8427 186.456 60.1432 229.831 83.9323C239.609 26.7176 266.252 -2.72778 295.602 0.198868C309.627 1.59809 322.17 12.6647 331.86 30.2214C341.648 24.4849 352.996 20.7468 365.092 19.2735C416.531 13.2465 473.407 40.2756 519.912 104.03C539.831 78.0943 562.508 64.3368 583.335 68.8254Z",fill:"#054A3E"})})},O=function(){return(0,i.jsx)("svg",{width:"1700",height:"225",viewBox:"0 0 1700 225",fill:"none",preserveAspectRatio:"xMidYMin slice",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M1322.23 127.053C1350.85 132.084 1374.65 148.931 1392.89 174.499C1519.7 112.119 1597.31 80.0332 1700 86.2803V226H9.60662e-06L0 198.253C40.2342 183.084 147.32 179.379 214.769 186.31C222.703 159.948 240.35 139.003 268.35 125.814C328.305 97.549 422.634 111.026 520.949 154.941C543.113 49.3214 603.506 -5.03555 670.031 0.367116C701.821 2.95012 730.252 23.3795 752.216 55.7894C774.403 45.1999 800.124 38.2992 827.543 35.5794C944.136 24.4534 1073.06 74.3499 1178.47 192.042C1223.62 144.164 1275.02 118.767 1322.23 127.053Z",fill:"#054A3E"})})};function z(n,t){return t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}}))}function I(){var n=z(["\n position: relative;\n height: 100vh;\n min-height: 640px;\n max-height: 700px;\n padding-top: 100px;\n padding-bottom: 162px;\n @media (min-width: ",") {\n min-height: 900px;\n max-height: 1400px;\n padding-top: 45px;\n padding-bottom: 150px;\n }\n"]);return I=function(){return n},n}function B(){var n=z(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"]);return B=function(){return n},n}function P(){var n=z(["\n max-width: 330px;\n color: var(--pink);\n text-align: center;\n @media (min-width: ",") {\n max-width: 900px;\n }\n"]);return P=function(){return n},n}function D(){var n=z(["\n max-width: 330px;\n margin-top: 24px;\n font-size: 16px;\n line-height: 140%;\n text-align: center;\n animation-delay: 0.4s;\n @media (min-width: ",") {\n max-width: 650px;\n margin-top: 40px;\n font-size: 24px;\n }\n"]);return D=function(){return n},n}function S(){var n=z(["\n margin-top: 24px;\n margin-left: auto;\n margin-right: auto;\n @media (min-width: ",") {\n margin-top: 64px;\n }\n"]);return S=function(){return n},n}function Z(){var n=z(["\n display: flex;\n flex-direction: column;\n align-items: center;\n position: absolute;\n bottom: 24px;\n left: 50%;\n transform: translateX(-50%);\n font-size: 12px;\n line-height: 16px;\n color: white;\n span {\n margin-bottom: 8px;\n }\n img {\n width: 56px !important;\n }\n a {\n display: block;\n }\n @media (min-width: ",") {\n bottom: 40px;\n font-size: 14px;\n line-height: 19.6px;\n span {\n margin-bottom: 16px;\n }\n img {\n width: 90px !important;\n }\n }\n"]);return Z=function(){return n},n}function Q(){var n=z(["\n display: block;\n position: absolute;\n bottom: 0px;\n width: 100%;\n height: 144px;\n svg {\n width: 100%;\n height: 144px;\n object-fit: contain;\n }\n @media (min-width: ",") {\n display: none;\n }\n"]);return Q=function(){return n},n}function M(){var n=z(["\n display: none;\n @media (min-width: ",") {\n display: block;\n position: absolute;\n bottom: 0px;\n width: 100%;\n height: 226px;\n svg {\n width: 100%;\n height: 226px;\n object-fit: contain;\n }\n }\n"]);return M=function(){return n},n}function T(){var n=z(["\n position: absolute;\n bottom: 0px;\n left: 50%;\n transform: translateX(-50%);\n min-width: 1700px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n"]);return T=function(){return n},n}function F(){var n=z(["\n display: flex;\n flex-direction: column;\n width: 100%;\n min-width: 550px;\n height: 100%;\n margin-left: auto;\n margin-right: auto;\n > div {\n height: 630px;\n margin-top: auto;\n }\n @media (min-width: ",") {\n display: none;\n }\n"]);return F=function(){return n},n}function H(){var n=z(["\n display: none;\n @media (min-width: ",") {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n margin-left: auto;\n margin-right: auto;\n > div {\n height: 900px;\n margin-top: auto;\n }\n }\n"]);return H=function(){return n},n}var R=(0,l.ZP)(j).withConfig({componentId:"sc-2f16ac69-0"})(I(),(function(n){return n.theme.breakpointLg})),_=l.ZP.div.withConfig({componentId:"sc-2f16ac69-1"})(B()),N=(0,l.ZP)(C.nL).withConfig({componentId:"sc-2f16ac69-2"})(P(),(function(n){return n.theme.breakpointLg})),X=l.ZP.p.withConfig({componentId:"sc-2f16ac69-3"})(D(),(function(n){return n.theme.breakpointLg})),U=(0,l.ZP)(g).withConfig({componentId:"sc-2f16ac69-4"})(S(),(function(n){return n.theme.breakpointLg})),J=l.ZP.div.withConfig({componentId:"sc-2f16ac69-5"})(Z(),(function(n){return n.theme.breakpointLg})),K=l.ZP.div.withConfig({componentId:"sc-2f16ac69-6"})(Q(),(function(n){return n.theme.breakpointLg})),Y=l.ZP.div.withConfig({componentId:"sc-2f16ac69-7"})(M(),(function(n){return n.theme.breakpointLg})),W=l.ZP.div.withConfig({componentId:"sc-2f16ac69-8"})(T()),G=(0,l.ZP)(b).withConfig({componentId:"sc-2f16ac69-9"})(F(),(function(n){return n.theme.breakpointLg})),V=(0,l.ZP)(b).withConfig({componentId:"sc-2f16ac69-10"})(H(),(function(n){return n.theme.breakpointLg})),$=function(n){var t=n.data,e=null===t||void 0===t?void 0:t.heading,r=null===t||void 0===t?void 0:t.subheading,o=null===t||void 0===t?void 0:t.button;return(0,i.jsxs)(y.Z,{colorTheme:"peach",children:[(0,i.jsxs)(W,{children:[(0,i.jsx)(V,{animation:"/animations/Hero-Trees-all.json",loop:!1,frameToRepeat:60}),(0,i.jsx)(G,{animation:"/animations/Hero-Trees-all-mobile.json",loop:!1,frameToRepeat:60})]}),(0,i.jsx)(K,{children:(0,i.jsx)(E,{})}),(0,i.jsx)(Y,{children:(0,i.jsx)(O,{})}),(0,i.jsx)(R,{children:(0,i.jsxs)(_,{children:[e&&(0,i.jsx)(N,{children:e}),r&&(0,i.jsx)(X,{children:r}),o&&(0,i.jsx)(U,{data:o}),(0,i.jsxs)(J,{children:[(0,i.jsx)("span",{children:"Powered by Ecosia"}),(0,i.jsx)("a",{href:"http://www.ecosia.org/",target:"_blank",rel:"noreferrer",children:(0,i.jsx)(u.default,{src:k,alt:"Ecosia"})})]})]})})]})},q=e(5585),nn=function(){return(0,i.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M8.40343 14.7506L8.00041 14.2011L7.59719 14.7505L7.38348 15.0416L7.22341 14.7185L6.92122 14.1085L6.42955 14.5793L6.17007 14.8278L6.
10691 14.4828L5.87794 13.8296L5.31178 14.2073L5.01309 14.4065L4.974 14.0491L4.89994 13.3722L4.27627 13.6456L3.94647 13.7901L3.97004 13.4311L4.01469 12.7512L3.35273 12.9126L3.00264 12.9979L3.08796 12.6478L3.24928 11.9858L2.56942 12.0305L2.20989 12.0541L2.35444 11.7243L2.62776 11.1006L1.95086 11.0265L1.59328 10.9874L1.7928 10.6881L2.1702 10.122L1.51722 9.9309L1.1722 9.82993L1.42069 9.57045L1.89154 9.07878L1.28152 8.77659L0.958675 8.61666L1.24939 8.40343L1.79886 8.00041L1.24953 7.59719L0.958383 7.38348L1.28152 7.22341L1.89154 6.92122L1.42069 6.42955L1.17221 6.17007L1.51722 6.0691L2.17037 5.87794L1.79273 5.31178L1.5935 5.01309L1.95086 4.974L2.62776 4.89994L2.35444 4.27627L2.2099 3.94647L2.56889 3.97004L3.24877 4.01469L3.08744 3.35273L3.00212 3.00264L3.35221 3.08796L4.01416 3.24928L3.96953 2.56942L3.94593 2.20989L4.27575 2.35444L4.89943 2.62776L4.97348 1.95086L5.0126 1.59328L5.31188 1.7928L5.87799 2.1702L6.0691 1.51722L6.17007 1.17221L6.42955 1.42069L6.92122 1.89154L7.22341 1.28152L7.38348 0.958383L7.59719 1.24953L8.00041 1.79886L8.40343 1.24939L8.61666 0.958675L8.77659 1.28152L9.07878 1.89154L9.57045 1.42069L9.82993 1.1722L9.9309 1.51722L10.1221 2.17037L10.6882 1.79273L10.9869 1.5935L11.026 1.95086L11.1001 2.62776L11.7237 2.35444L12.0535 2.2099L12.03 2.56889L11.9853 3.24877L12.6473 3.08744L12.9974 3.00212L12.912 3.35221L12.7507 4.01416L13.4306 3.96953L13.7901 3.94593L13.6456 4.27575L13.3722 4.89943L14.0491 4.97348L14.4067 5.0126L14.2072 5.31188L13.8298 5.87799L14.4828 6.0691L14.8278 6.17007L14.5793 6.42955L14.1085 6.92122L14.7185 7.22341L15.0416 7.38348L14.7505 7.59719L14.2011 8.00041L14.7506 8.40343L15.0413 8.61666L14.7185 8.77659L14.1085 9.07878L14.5793 9.57045L14.8278 9.82993L14.4828 9.9309L13.8296 10.1221L14.2073 10.6882L14.4065 10.9869L14.0491 11.026L13.3722 11.1001L13.6456 11.7237L13.7901 12.0535L13.4311 12.03L12.7512 11.9853L12.9126 12.6473L12.9979 12.9974L12.6478 12.912L11.9858 12.7507L12.0305 13.4306L12.0541 13.7901L11.7243 13.6456L11.1006 13.3722L11.0265 14.0491L10.9874 14.4067L10.6881 14.2072L10.122 13.8298L9.9309 14.4828L9.82993 14.8278L9.57045 14.5793L9.07878 14.1085L8.77659 14.7185L8.61666 15.0413L8.40343 14.7506Z",stroke:"#BBE603"})})};function tn(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,i=new Array(t);e<t;e++)i[e]=n[e];return i}function en(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function rn(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{},i=Object.keys(e);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(e).filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})))),i.forEach((function(t){en(n,t,e[t])}))}return n}function on(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!==typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var i,r,o=[],a=!0,s=!1;try{for(e=e.call(n);!(a=(i=e.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(c){s=!0,r=c}finally{try{a||null==e.return||e.return()}finally{if(s)throw r}}return o}}(n,t)||function(n,t){if(!n)return;if("string"===typeof n)return tn(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);"Object"===e&&n.constructor&&(e=n.constructor.name);if("Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return tn(n,t)}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function an(n,t){return t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}}))}function sn(){var n=an(["\n overflow: initial;\n"]);return sn=function(){return n},n}function cn(){var n=an(["\n padding-top: 80px;\n padding-bottom: 95px;\n @media (min-width: ",") {\n padding-top: 0px;\n padding-bottom: 0px;\n }\n"]);return cn=function(){return n},n}function un(){var n=an(["\n margin-bottom: 16px;\n color: var(--lightGreen);\n text-align: center;\n @media (min-width: ",") {\n display: none;\n }\n"]);return un=function(){return n},n}function ln(){var n=an(["\n @media (min-width: ",") {\n grid-column: 1/9;
1\n align-self: flex-start;\n position: sticky;\n top: 0px;\n height: 100vh;\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n"]);return ln=function(){return n},n}function dn(){var n=an(["\n @media (min-width: ",") {\n display: none;\n }\n"]);return dn=function(){return n},n}function hn(){var n=an(["\n @media (min-width: ",") {\n grid-column: 9/13;\n grid-row: 1/2;\n }\n"]);return hn=function(){return n},n}function fn(){var n=an(["\n display: none;\n @media (min-width: ",") {\n display: flex;\n flex-direction: column;\n justify-content: center;\n height: 100vh;\n }\n"]);return fn=function(){return n},n}function pn(){var n=an(["\n display: flex;\n flex-direction: column;\n"]);return pn=function(){return n},n}function An(){var n=an(["\n display: none;\n @media (min-width: ",") {\n display: block;\n color: var(--lightGreen);\n }\n"]);return An=function(){return n},n}function gn(){var n=an(["\n margin-top: 32px;\n text-align: center;\n @media (min-width: ",") {\n margin-top: 80px;\n text-align: left;\n }\n"]);return gn=function(){return n},n}function mn(){var n=an(["\n margin-top: 24px;\n text-align: center;\n @media (min-width: ",") {\n margin-top: 40px;\n text-align: left;\n }\n"]);return mn=function(){return n},n}function xn(){var n=an(["\n overflow: hidden;\n @media (min-width: ",") {\n display: none;\n }\n"]);return xn=function(){return n},n}function vn(){var n=an(["\n display: flex;\n"]);return vn=function(){return n},n}function wn(){var n=an(["\n position: relative;\n flex: 0 0 100%;\n"]);return wn=function(){return n},n}function bn(){var n=an(["\n display: flex;\n align-items: center;\n justify-content: center;\n margin-top: 28px;\n @media (min-width: ",") {\n grid-column: 12/13;\n grid-row: 1/2;\n flex-direction: column;\n align-items: flex-end;\n align-self: flex-start;\n position: sticky;\n top: 0px;\n height: 100vh;\n margin-top: 0px;\n transform: translateX(80px);\n }\n"]);return bn=function(){return n},n}function Ln(){var n=an(["\n transform: scale(1.5);\n svg {\n fill: var(--lightGreen);\n }\n "]);return Ln=function(){return n},n}function jn(){var n=an(["\n :not(:last-child) {\n margin-right: 24px;\n }\n ","\n @media (min-width: ",") {\n :not(:last-child) {\n margin-right: 0px;\n margin-bottom: 24px;\n }\n }\n"]);return jn=function(){return n},n}var yn=(0,l.ZP)(y.Z).withConfig({componentId:"sc-9cd711-0"})(sn()),Cn=(0,l.ZP)(j).withConfig({componentId:"sc-9cd711-1"})(cn(),(function(n){return n.theme.breakpointLg})),kn=(0,l.ZP)(C.f2).withConfig({componentId:"sc-9cd711-2"})(un(),(function(n){return n.theme.breakpointLg})),En=l.ZP.div.withConfig({componentId:"sc-9cd711-3"})(ln(),(function(n){return n.theme.breakpointLg})),On=l.ZP.div.withConfig({componentId:"sc-9cd711-4"})(dn(),(function(n){return n.theme.breakpointLg})),zn=l.ZP.div.withConfig({componentId:"sc-9cd711-5"})(hn(),(function(n){return n.theme.breakpointLg})),In=l.ZP.div.withConfig({componentId:"sc-9cd711-6"})(fn(),(function(n){return n.theme.breakpointLg})),Bn=l.ZP.div.withConfig({componentId:"sc-9cd711-7"})(pn()),Pn=(0,l.ZP)(C.f2).withConfig({componentId:"sc-9cd711-8"})(An(),(function(n){return n.theme.breakpointLg})),Dn=(0,l.ZP)(C.aC).withConfig({componentId:"sc-9cd711-9"})(gn(),(function(n){return n.theme.breakpointLg})),Sn=l.ZP.p.withConfig({componentId:"sc-9cd711-10"})(mn(),(function(n){return n.theme.breakpointLg})),Zn=l.ZP.div.withConfig({componentId:"sc-9cd711-11"})(xn(),(function(n){return n.theme.breakpointLg})),Qn=l.ZP.div.withConfig({componentId:"sc-9cd711-12"})(vn()),Mn=l.ZP.div.withConfig({componentId:"sc-9cd711-13"})(wn()),Tn=l.ZP.div.withConfig({componentId:"sc-9cd711-14"})(bn(),(function(n){return n.theme.breakpointLg})),Fn=l.ZP.div.withConfig({componentId:"sc-9cd711-15"})(jn(),(function(n){return n.active&&(0,l.iv)(Ln())}),(function(n){return n.theme.breakpointLg})),Hn=[0,125],Rn=[125,260],_n=[260,409],Nn=(0,r.forwardRef)((function(n,t){var e,a=n.data,s=null===a||void 0===a?void 0:a.animation,c=null===a||void 0===a?void 0:a.items,u=on((0,o.YD)({rootMargin:"0px",threshold:1}),2),l=u[0],d=u[1],h=on((0,o.YD)({rootMargin:"0px",threshold:1}),2),f=h[0],p=h[1],A=on((0,o.YD)({rootMargin:"0px",threshold:1}),2),g=A[0],m=A[1],x=on((0,o.YD)({rootMargin:"0px",threshold:1}),2),v=x[0],w=x[1],L=(0,r.useState)(void 0),j=L[0],y=L[1];(0,r.useEffect)((function(){window.innerWidth>=1e3?w?y(2):m?y(1):p&&y(0):void 0===j&&d&&y(0)}),[p,m,w,d]);var C=on((0,q.Z)(),2),k=C[0],E=C[1],O=(0,r.useCallback)((function(){y(E.selectedScrollSnap)}),[E]);return(0,r.useEffect)((function(){E&&E.on("select",O)}),[E,O]),(0,i.jsx)(yn,{colorTheme:"darkGreen",ref:t,children:(0,i.jsxs)(Cn,{children:[(0,i.jsx)(kn,{children:null===c||void 0===c||null===(e=c[0])||void 0===e?void 0:e.title}),(0,i.jsx)(En,{children:(0,i.jsx)(b,{animation:s,loop:!1,autoplay:!1,segmentsToPlay:0===j?Hn:1===j?Rn:2===j&&_n})}),(0,i.jsx)(On,{ref:l}),(0,i.jsx)(Zn,{ref:k,children:(0,i.jsx)(Qn,{children:null===c||void 0===c?void 0:c.map((function(n,t){var e=null===n||void 0===n?void 0:n.heading,r=null===n||void 0===n?void 0:n.description;return(0,i.jsx)(Mn,{children:(0,i.jsxs)(Bn,{children:[(0,i.jsx)(Dn,{children:e}),(0,i.jsx)(Sn,{children:r})]})},t)}))})}),(0,i.jsx)(zn,{children:null===c||void 0===c?void 0:c.map((function(n,t){var e=null===n||void 0===n?void 0:n.title,r=null===n||void 0===n?void 0:n.heading,o=null===n||void 0===n?void 0:n.description,a=0===t?{ref:f}:1===t?{ref:g}:2===t?{ref:v}:void 0;return(0,i.jsx)(In,{children:(0,i.jsxs)(Bn,rn({},a,{children:[(0,i.jsx)(Pn,{children:e}),(0,i.jsx)(Dn,{children:r}),(0,i.jsx)(Sn,{children:o})]}))},t)}))}),(0,i.jsxs)(Tn,{children:[(0,i.jsx)(Fn,{active:0===j,children:(0,i.jsx)(nn,{})}),(0,i.jsx)(Fn,{active:1===j,children:(0,i.jsx)(nn,{})}),(0,i.jsx)(Fn,{active:2===j,children:(0,i.jsx)(nn,{})})]})]})})}));function Xn(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,i=new Array(t);e<t;e++)i[e]=n[e];return i}function Un(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!==typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var i,r,o=[],a=!0,s=!1;try{for(e=e.call(n);!(a=(i=e.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(c){s=!0,r=c}finally{try{a||null==e.return||e.return()}finally{if(s)throw r}}return o}}(n,t)||function(n,t){if(!n)return;if("string"===typeof n)return Xn(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);"Object"===e&&n.constructor&&(e=n.constructor.name);if("Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return Xn(n,t)}
1(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jn(n,t){return t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}}))}function Kn(){var n=Jn(["\n from {\n transform: translateX(0%);\n }\n to {\n transform: translateX(calc(-100%));\n }\n"]);return Kn=function(){return n},n}function Yn(){var n=Jn(["\n position: relative;\n padding-top: 300px;\n @media (min-width: ",") {\n height: 100vh;\n min-height: 900px;\n max-height: 1400px;\n padding-top: 80px;\n padding-bottom: 40px;\n }\n"]);return Yn=function(){return n},n}function Wn(){var n=Jn(["\n @media (min-width: ",") {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n }\n"]);return Wn=function(){return n},n}function Gn(){var n=Jn(["\n text-align: center;\n @media (min-width: ",") {\n max-width: 900px;\n }\n"]);return Gn=function(){return n},n}function Vn(){var n=Jn(["\n display: flex;\n width: 100%;\n margin-top: 130px;\n border-left: 2px solid white;\n border-right: 2px solid white;\n padding: 14px 0px;\n overflow-x: hidden;\n @media (min-width: ",") {\n margin-top: 112px;\n padding: 10px 0px;\n border-left: 3px solid white;\n border-right: 3px solid white;\n }\n"]);return Vn=function(){return n},n}function $n(){var n=Jn(["\n position: absolute;\n top: 0%;\n left: -5px;\n width: 250px;\n @media (min-width: ",") {\n top: 50%;\n width: 350px;\n transform: translate(0, -50%);\n }\n"]);return $n=function(){return n},n}function qn(){var n=Jn(["\n display: none;\n @media (min-width: ",") {\n display: block;\n position: absolute;\n bottom: -7%;\n right: -30px;\n }\n"]);return qn=function(){return n},n}function nt(){var n=Jn(["\n display: flex;\n justify-content: center;\n flex-shrink: 0;\n height: 40px;\n animation: "," ","s linear infinite;\n @media (min-width: ",") {\n height: 48px;\n }\n"]);return nt=function(){return n},n}function tt(){var n=Jn(["\n flex-shrink: 0;\n margin-right: 48px;\n img {\n height: 40px !important;\n }\n @media (min-width: ",") {\n margin-right: 100px;\n img {\n height: 48px !important;\n }\n }\n"]);return tt=function(){return n},n}var et=(0,l.F4)(Kn()),it=(0,l.ZP)(j).withConfig({componentId:"sc-232adecb-0"})(Yn(),(function(n){return n.theme.breakpointLg})),rt=l.ZP.div.withConfig({componentId:"sc-232adecb-1"})(Wn(),(function(n){return n.theme.breakpointLg})),ot=(0,l.ZP)(C.XJ).withConfig({componentId:"sc-232adecb-2"})(Gn(),(function(n){return n.theme.breakpointLg})),at=l.ZP.div.withConfig({componentId:"sc-232adecb-3"})(Vn(),(function(n){return n.theme.breakpointLg})),st=l.ZP.div.withConfig({componentId:"sc-232adecb-4"})($n(),(function(n){return n.theme.breakpointLg})),ct=l.ZP.div.withConfig({componentId:"sc-232adecb-5"})(qn(),(function(n){return n.theme.breakpointLg})),ut=function(n){var t=n.data,e=null===t||void 0===t?void 0:t.heading,r=null===t||void 0===t?void 0:t.logos,a=Un((0,o.YD)({rootMargin:"0px",triggerOnce:!0}),2),s=a[0],c=a[1];return(0,i.jsxs)(y.Z,{colorTheme:"darkGreen",children:[(0,i.jsx)(st,{children:c&&(0,i.jsx)(b,{animation:"/animations/Shop-Trees-left.json",loop:!1,frameToRepeat:30})}),(0,i.jsx)(ct,{children:c&&(0,i.jsx)(b,{animation:"/animations/Shop-Trees-right.json",loop:!1,frameToRepeat:30})}),(0,i.jsx)(it,{children:(0,i.jsxs)(rt,{children:[e&&(0,i.jsx)(ot,{children:e}),(0,i.jsxs)(at,{children:[(0,i.jsx)(ht,{logos:r}),(0,i.jsx)(ht,{logos:r})]}),(0,i.jsx)("div",{ref:s})]})})]})},lt=l.ZP.div.withConfig({componentId:"sc-232adecb-6"})(nt(),et,(function(n){return 2*n.logosCount}),(function(n){return n.theme.breakpointLg})),dt=l.ZP.div.withConfig({componentId:"sc-232adecb-7"})(tt(),(function(n){return n.theme.breakpointLg})),ht=function(n){var t=n.logos,e=null===t||void 0===t?void 0:t.length;return(0,i.jsx)(lt,{logosCount:e,children:null===t||void 0===t?void 0:t.map((function(n,t){var e=null===n||void 0===n?void 0:n.logo,r=null===n||void 0===n?void 0:n.alt;return(0,i.jsx)(dt,{children:(0,i.jsx)(u.default,{src:e,alt:r,priority:!0})},t)}))})},ft=function(){return(0,i.jsx)("svg",{width:"1700",height:"720",viewBox:"0 0 1700 720",fill:"none",preserveAspectRatio:"xMidYMax slice",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M307.561 314.939C238.18 449.141 153.837 527.628 70.5651 519.035C45.4371 516.433 21.8391 506.045 -1.01052e-05 488.82L-1.1679e-05 -1.81198e-05L1700 -3.1394e-05L1700 303.467C1624.99 300.648 1540.5 276.931 1453.01 234.768C1434.05 510.226 1343.13 716.041 1226.94 719.944C1171.41 721.806 1118.42 677.227 1074.43 600.351C1037.95 633.278 994.683 657.73 947.702 671.963C747.843 731.366 511.74 587.281 307.561 314.939Z",fill:"#054A3E"})})},pt={src:"/_next/static/media/cursor-right.90c4d928.svg",height:98,width:126},At={src:"/_next/static/media/cursor-left.d7bbdf7c.svg",height:98,width:126};function gt(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,i=new Array(t);e<t;e++)i[e]=n[e];return i}function mt(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!==typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var i,r,o=[],a=!0,s=!1;try{for(e=e.call(n);!(a=(i=e.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(c){s=!0,r=c}finally{try{a||null==e.return||e.return()}finally{if(s)throw r}}return o}}(n,t)||function(n,t){if(!n)return;if("string"===typeof n)return gt(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);"Object"===e&&n.constructor&&(e=n.constructor.name);if("Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return gt(n,t)}
1(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xt(n,t){return t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}}))}function vt(){var n=xt(["\n position: relative;\n padding-top: 120px;\n padding-bottom: 0px;\n"]);return vt=function(){return n},n}function wt(){var n=xt(["\n position: relative;\n padding-bottom: 65px;\n padding-top: 0px;\n @media (min-width: ",") {\n padding-bottom: 120px;\n }\n"]);return wt=function(){return n},n}function bt(){var n=xt(["\n text-align: center;\n color: white;\n @media (min-width: ",") {\n grid-column: 2/12;\n max-width: 1050px;\n margin-left: auto;\n margin-right: auto;\n }\n"]);return bt=function(){return n},n}function Lt(){var n=xt(["\n margin-top: 16px;\n text-align: center;\n color: white;\n @media (min-width: ",") {\n grid-column: 4/10;\n margin-top: 40px;\n margin-left: auto;\n margin-right: auto;\n }\n"]);return Lt=function(){return n},n}function jt(){var n=xt(["\n margin-top: 56px;\n @media (min-width: ",") {\n margin-top: 160px;\n }\n"]);return jt=function(){return n},n}function yt(){var n=xt(["\n display: flex;\n"]);return yt=function(){return n},n}function Ct(){var n=xt(["\n position: relative;\n flex: 0 0 100%;\n margin-right: 16px;\n @media (min-width: ",") {\n margin-right: 80px;\n }\n"]);return Ct=function(){return n},n}function kt(){var n=xt(["\n margin-top: 16px;\n ","\n @media (min-width: ",") {\n margin-top: 32px;\n }\n"]);return kt=function(){return n},n}function Et(){var n=xt(["\n position: absolute;\n top: 0px;\n width: 100%;\n height: 375px;\n svg {\n width: 100%;\n height: 375px;\n object-fit: contain;\n }\n @media (min-width: ",") {\n height: 720px;\n svg {\n height: 720px;\n }\n }\n"]);return Et=function(){return n},n}function Ot(){var n=xt(["\n display: none;\n @media (min-width: ",") {\n display: block;\n height: calc(100% - 160px - 460px);\n width: 50%;\n position: absolute;\n top: 460px;\n left: 0px;\n z-index: 1;\n cursor: url(","), auto;\n ","\n }\n"]);return Ot=function(){return n},n}function zt(){var n=xt(["\n display: none;\n @media (min-width: ",") {\n display: block;\n height: calc(100% - 160px - 460px);\n width: 50%;\n position: absolute;\n top: 460px;\n right: 0px;\n z-index: 1;\n cursor: url(","), auto;\n ","\n }\n"]);return zt=function(){return n},n}var It=(0,l.ZP)(j).withConfig({componentId:"sc-33df15fa-0"})(vt()),Bt=(0,l.ZP)(j).withConfig({componentId:"sc-33df15fa-1"})(wt(),(function(n){return n.theme.breakpointLg})),Pt=(0,l.ZP)(C.aC).withConfig({componentId:"sc-33df15fa-2"})(bt(),(function(n){return n.theme.breakpointLg})),Dt=(0,l.ZP)(C.f2).withConfig({componentId:"sc-33df15fa-3"})(Lt(),(function(n){return n.theme.breakpointLg})),St=l.ZP.div.withConfig({componentId:"sc-33df15fa-4"})(jt(),(function(n){return n.theme.breakpointLg})),Zt=l.ZP.div.withConfig({componentId:"sc-33df15fa-5"})(yt()),Qt=l.ZP.div.withConfig({componentId:"sc-33df15fa-6"})(Ct(),(function(n){return n.theme.breakpointLg})),Mt=l.ZP.p.withConfig({componentId:"sc-33df15fa-7"})(kt(),C.c1,(function(n){return n.theme.breakpointLg})),Tt=l.ZP.div.withConfig({componentId:"sc-33df15fa-8"})(Et(),(function(n){return n.theme.breakpointLg})),Ft=l.ZP.div.withConfig({componentId:"sc-33df15fa-9"})(Ot(),(function(n){return n.theme.breakpointLg}),null===At||void 0===At?void 0:At.src,(function(n){return!n.canScroll&&"cursor: inherit;"})),Ht=l.ZP.div.withConfig({componentId:"sc-33df15fa-10"})(zt(),(function(n){return n.theme.breakpointLg}),null===pt||void 0===pt?void 0:pt.src,(function(n){return!n.canScroll&&"cursor: inherit;"})),Rt=function(n){var t=n.data,e=null===t||void 0===t?void 0:t.heading,o=null===t||void 0===t?void 0:t.subheading,a=null===t||void 0===t?void 0:t.items,s=mt((0,q.Z)(),2),c=s[0],l=s[1],d=(0,r.useCallback)((function(){return l.scrollNext()}),[l]),h=(0,r.useCallback)((function(){return l.scrollPrev()}),[l]),f=(0,r.useState)(!0),p=f[0],A=f[1],g=(0,r.useState)(!1),m=g[0],x=g[1],v=(0,r.useCallback)((function(){l&&(x(l.canScrollPrev()),A(l.canScrollNext()))}),[l]);return(0,r.useEffect)((function(){l&&(v(),l.on("select",v))}),[l,v]),(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(y.Z,{colorTheme:"peach",children:[(0,i.jsx)(Tt,{children:(0,i.jsx)(ft,{})}),(0,i.jsxs)(It,{children:[e&&(0,i.jsx)(Pt,{children:e}),o&&(0,i.jsx)(Dt,{children:o})]}),(0,i.jsx)(Ft,{onClick:h,canScroll:m}),(0,i.jsx)(Ht,{onClick:d,canScroll:p}),(0,i.jsx)(Bt,{children:(0,i.jsx)(St,{ref:c,children:(0,i.jsx)(Zt,{children:null===a||void 0===a?void 0:a.map((function(n,t){var e=null===n||void 0===n?void 0:n.image,r=null===n||void 0===n?void 0:n.text;return(0,i.jsxs)(Qt,{children:[(0,i.jsx)(u.default,{src:e,layout:"responsive",alt:""}),r&&(0,i.jsx)(Mt,{children:r})]},t)}))})})})]})})};var _t=function(n){var t;return null===(t=null===n||void 0===n?void 0:n.toString())||void 0===t?void 0:t.replace(/\B(?=(\d{3})+(?!\d))/g,",")},Nt=function(){return(0,i.jsx)("svg",{width:"1000",height:"196",viewBox:"0 0 1000 196",fill:"none",preserveAspectRatio:"xMidYMin slice",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M222.22 110.188C205.383 114.551 191.383 129.161 180.656 151.335C106.056 97.2356 60.4077 69.4093 3.8147e-06 74.8271V196H1000L1000 171.936C976.333 158.781 913.341 155.568 873.665 161.579C868.998 138.716 858.618 120.551 842.147 109.113C806.88 84.6001 751.392 96.2879 693.559 134.374C680.522 42.7743 644.997 -4.36711 605.864 0.318384C587.164 2.55851 570.44 20.276 557.52 48.3838C544.469 39.1999 529.339 33.2152 513.21 30.8565C444.626 21.2074 368.79 64.4804 306.783 166.55C280.225 125.027 249.989 103.002 222.22 110.188Z",fill:"#054A3E"})})},Xt=function(){return(0,i.jsx)("svg",{width:"1700",height:"246",viewBox:"0 0 1700 246",fill:"none",preserveAspectRatio:"xMidYMin slice",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M377.775 147.014C349.152 152.047 325.35 168.9 307.115 194.478C180.296 132.073 102.693 99.9746 0 106.224V246H1700L1700 218.241C1659.77 203.067 1552.68 199.36 1485.23 206.295C1477.3 179.921 1459.65 158.968 1431.65 145.774C1371.7 117.497 1277.37 130.98 1179.05 174.913C1156.89 69.2504 1096.49 -5.12831 1029.97 0.276522C998.179 2.86056 969.748 23.2981 947.784 55.7211C925.597 45.1273 899.876 38.2238 872.457 35.503C755.864 24.3725 62
16.943 94.289 521.532 212.029C476.383 164.131 424.981 138.724 377.775 147.014Z",fill:"#054A3E"})})},Ut=e(8444);function Jt(n,t,e,i,r,o,a){try{var s=n[o](a),c=s.value}catch(u){return void e(u)}s.done?t(c):Promise.resolve(c).then(i,r)}function Kt(n,t){return t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}}))}function Yt(){var n=Kt(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n "]);return Yt=function(){return n},n}function Wt(){var n=Kt(["\n padding-top: 170px;\n padding-bottom: 300px;\n @media (min-width: ",") {\n height: 100vh;\n min-height: 900px;\n padding-top: 40px;\n padding-bottom: 140px;\n }\n"]);return Wt=function(){return n},n}function Gt(){var n=Kt(["\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n margin-bottom: 24px;\n @media (min-width: ",") {\n max-width: 650px;\n margin-top: 64px;\n margin-bottom: 0px;\n margin-left: auto;\n margin-right: auto;\n }\n"]);return Gt=function(){return n},n}function Vt(){var n=Kt(["\n text-align: center;\n max-width: 372px;\n @media (min-width: ",") {\n max-width: initial;\n }\n"]);return Vt=function(){return n},n}function $t(){var n=Kt(["\n margin-top: 24px;\n text-align: center;\n"]);return $t=function(){return n},n}function qt(){var n=Kt(["\n margin-top: 40px;\n margin-left: auto;\n margin-right: auto;\n @media (min-width: ",") {\n margin-top: 56px;\n }\n"]);return qt=function(){return n},n}function ne(){var n=Kt(["\n position: absolute;\n top: 0px;\n left: 0px;\n right: 0px;\n bottom: 0px;\n width: 100%;\n height: 435px;\n margin-top: auto;\n background-image: url('/images/cta-banner-tree-bg-mobile.svg');\n background-repeat: no-repeat;\n background-position: center bottom;\n @media (min-width: ",") {\n background-image: url('/images/cta-banner-tree-bg.svg');\n height: 100%;\n }\n"]);return ne=function(){return n},n}function te(){var n=Kt(["\n position: absolute;\n top: 60%;\n left: 50%;\n svg {\n width: 20vw;\n height: 20vw;\n animation: "," 60s linear infinite;\n }\n transition: var(--slowTransition);\n transform: translateX(-50%) scale(0);\n ","\n @media (min-width: 400px) {\n ","\n }\n @media (min-width: 460px) {\n ","\n }\n @media (min-width: 600px) {\n ","\n }\n @media (min-width: 700px) {\n ","\n }\n @media (min-width: 780px) {\n ","\n }\n @media (min-width: 900px) {\n ","\n }\n @media (min-width: ",") {\n ","\n ","\n }\n @media (min-width: 1200px) {\n ","\n ","\n }\n @media (min-width: 1400px) {\n ","\n ","\n }\n @media (min-width: 1600px) {\n ","\n ","\n }\n @media (min-width: 1700px) {\n ","\n ","\n }\n"]);return te=function(){return n},n}function ee(){var n=Kt(["\n display: block;\n position: absolute;\n bottom: 0px;\n left: 0%;\n width: 100%;\n height: 196px;\n svg {\n width: 100%;\n height: 196px;\n }\n @media (min-width: ",") {\n display: none;\n }\n"]);return ee=function(){return n},n}function ie(){var n=Kt(["\n display: none;\n @media (min-width: ",") {\n display: block;\n position: absolute;\n bottom: 0px;\n width: 100%;\n height: 246px;\n svg {\n width: 100%;\n height: 246px;\n object-fit: contain;\n }\n }\n"]);return ie=function(){return n},n}var re=(0,l.F4)(Yt()),oe=(0,l.ZP)(j).withConfig({componentId:"sc-d2224b1f-0"})(Wt(),(function(n){return n.theme.breakpointLg})),ae=l.ZP.div.withConfig({componentId:"sc-d2224b1f-1"})(Gt(),(function(n){return n.theme.breakpointLg})),se=(0,l.ZP)(C.XJ).withConfig({componentId:"sc-d2224b1f-2"})(Vt(),(function(n){return n.theme.breakpointLg})),ce=(0,l.ZP)(C.f2).withConfig({componentId:"sc-d2224b1f-3"})($t()),ue=(0,l.ZP)(g).withConfig({componentId:"sc-d2224b1f-4"})(qt(),(function(n){return n.theme.breakpointLg})),le=l.ZP.div.withConfig({componentId:"sc-d2224b1f-5"})(ne(),(function(n){return n.theme.breakpointLg})),de=l.ZP.div.withConfig({componentId:"sc-d2224b1f-6"})(te(),re,(function(n){return n.show&&"transform: translateX(-50%) scale(11);"}),(function(n){return n.show&&"transform: translateX(-50%) scale(10);"}),(function(n){return n.show&&"transform: translateX(-50%) scale(8);"}),(function(n){return n.show&&"transform: translateX(-50%) scale(7);"}),(function(n){return n.show&&"transform: translateX(-50%) scale(6);"}),(function(n){return n.show&&"transform: translateX(-50%) scale(5.6);"}),(function(n){return n.show&&"transform: translateX(-50%) scale(5.2);"}),(function(n){return n.theme.breakpointLg}),(function(n){return n.show&&"transform: translateX(-50%) scale(5.2);"}),(function(n){return n.show&&n.grow&&"transform: translateX(-50%) scale(5.4);"}),(function(n){return n.show&&"transform: translateX(-50%) scale(4.6);"}),(function(n){return n.show&&n.grow&&"transform: translateX(-50%) scale(4.8);"}),(function(n){return n.show&&"transform: translateX(-50%) scale(4.2);"}),(function(n){return n.show&&n.grow&&"transform: translateX(-50%) scale(4.4);"}),(function(n){return n.show&&"transform: translateX(-50%) scale(3.9);"}),(function(n){return n.show&&n.grow&&"transform: translateX(-50%) scale(4.0);"}),(function(n){return n.show&&"transform: translateX(-50%) scale(3.7);"}),(function(n){return n.show&&n.grow&&"transform: translateX(-50%) scale(3.8);"})),he=l.ZP.div.withConfig({componentId:"sc-d2224b1f-7"})(ee(),(function(n){return n.theme.breakpointLg})),fe=l.ZP.div.withConfig({componentId:"sc-d2224b1f-8"})(ie(),(function(n){return n.theme.breakpointLg})),pe=(0,r.forwardRef)((function(n,t){var e=n.data,o=n.show,a=n.ctaBannerRef,s=null===e||void 0===e?void 0:e.heading,c=null===e||void 0===e?void 0:e.subheading,u=null===e||void 0===e?void 0:e.button,l=(0,r.useState)(_t(7840)),d=l[0],h=l[1];(0,r.useEffect)((function(){var n=function(){var n,t=(n=x().mark((function n(){var t,e;return x().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,fetch("/api/getTreeCount");case 2:return t=n.sent,n.next=5,null===t||void 0===t?void 0:t.json();case 5:e=n.sent,h(_t(e));case 7:case"end":return n.stop()}}),n)})),function(){var t=this,e=arguments;return new Promise((function(i,r){var o=n.apply(t,e);function a(n){Jt(o,i,r,a,s,"next",n)}function s(n){Jt(o,i,r,a,s,"throw",n)}a(void 0)}))});return function(){return t.apply(this,arguments)}}();n()}),[]);var f=(0,r.useState)(!1),p=f[0],A=f[1];return(0,i.jsxs)(y.Z,{colorTheme:"peach",ref:t,children:[(0,i.jsx)(de,{show:o,grow:
1p,children:(0,i.jsx)(Ut.Z,{})}),(0,i.jsx)(le,{}),(0,i.jsx)(he,{children:(0,i.jsx)(Nt,{})}),(0,i.jsx)(fe,{children:(0,i.jsx)(Xt,{})}),(0,i.jsx)(oe,{children:(0,i.jsxs)(ae,{children:[s&&(0,i.jsxs)(se,{children:[d," ",s]}),c&&(0,i.jsx)(ce,{children:c}),u&&(0,i.jsx)(ue,{data:u,onMouseEnter:function(){return A(!0)},onMouseLeave:function(){return A(!1)}}),(0,i.jsx)("div",{ref:a})]})})]})})),Ae=pe,ge=e(8133),me=function(){return(0,i.jsx)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M8 12L16 20L24 12",stroke:"white",strokeWidth:"2"})})},xe={src:"/_next/static/media/faqs-tree.3790b6d4.svg",height:350,width:323};function ve(n,t){return t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}}))}function we(){var n=ve(["\n padding-bottom: 0px;\n"]);return we=function(){return n},n}function be(){var n=ve(["\n @media (min-width: ",") {\n grid-column: 3/11;\n }\n"]);return be=function(){return n},n}function Le(){var n=ve(["\n margin-bottom: 48px;\n @media (min-width: ",") {\n margin-bottom: 80px;\n }\n"]);return Le=function(){return n},n}function je(){var n=ve(["\n overflow: initial;\n"]);return je=function(){return n},n}function ye(){var n=ve(["\n padding-top: 0px;\n"]);return ye=function(){return n},n}function Ce(){var n=ve(["\n display: none;\n @media (min-width: ",") {\n display: block;\n position: absolute;\n top: 40px;\n right: 40px;\n height: calc(100% - 90px);\n :before {\n content: '';\n width: 6px;\n height: 100%;\n background-color: var(--midGreen);\n position: absolute;\n right: 50%;\n transform: translateX(-50%);\n top: 50px;\n }\n }\n"]);return Ce=function(){return n},n}function ke(){var n=ve(["\n position: sticky;\n top: 40px;\n width: calc(160px - 40px - 40px + ((100vw - 320px) / 6));\n :before {\n content: '';\n width: 100%;\n height: 50px;\n background-color: var(--darkGreen);\n position: absolute;\n right: 0px;\n top: -40px;\n }\n @media (min-width: 1800px) {\n width: auto;\n }\n"]);return ke=function(){return n},n}function Ee(){var n=ve(["\n border-bottom: 1px solid white;\n @media (min-width: ",") {\n transition: var(--fastTransition);\n ","\n ","\n }\n"]);return Ee=function(){return n},n}function Oe(){var n=ve(["\n opacity: 1;\n svg {\n transform: rotate(180deg);\n }\n "]);return Oe=function(){return n},n}function ze(){var n=ve(["\n display: flex;\n justify-content: space-between;\n width: 100%;\n padding: 40px 0px;\n border-top: 1px solid white;\n ","\n text-align: left;\n cursor: inherit;\n margin-top: -1px;\n svg {\n flex-shrink: 0;\n margin-left: 24px;\n transition: var(--defaultTransition);\n }\n ","\n"]);return ze=function(){return n},n}function Ie(){var n=ve(["\n padding-bottom: 40px;\n ","\n p:not(:last-child) {\n margin-bottom: 16px;\n }\n @media (min-width: ",") {\n p:not(:last-child) {\n margin-bottom: 18px;\n }\n }\n"]);return Ie=function(){return n},n}var Be=(0,l.ZP)(j).withConfig({componentId:"sc-ef244a76-0"})(we()),Pe=l.ZP.div.withConfig({componentId:"sc-ef244a76-1"})(be(),(function(n){return n.theme.breakpointLg})),De=(0,l.ZP)(C.aC).withConfig({componentId:"sc-ef244a76-2"})(Le(),(function(n){return n.theme.breakpointLg})),Se=(0,l.ZP)(y.Z).withConfig({componentId:"sc-ef244a76-3"})(je()),Ze=(0,l.ZP)(j).withConfig({componentId:"sc-ef244a76-4"})(ye()),Qe=l.ZP.div.withConfig({componentId:"sc-ef244a76-5"})(Ce(),(function(n){return n.theme.breakpointLg})),Me=l.ZP.div.withConfig({componentId:"sc-ef244a76-6"})(ke()),Te=(0,r.forwardRef)((function(n,t){var e=n.data,o=null===e||void 0===e?void 0:e.heading,a=null===e||void 0===e?void 0:e.items,s=(0,r.useState)(void 0),c=s[0],l=s[1];return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(y.Z,{colorTheme:"darkGreen",ref:t,children:(0,i.jsx)(Be,{children:(0,i.jsx)(Pe,{children:o&&(0,i.jsx)(De,{children:o})})})}),(0,i.jsx)(Se,{colorTheme:"darkGreen",children:(0,i.jsxs)(Ze,{children:[(0,i.jsx)(Pe,{children:null===a||void 0===a?void 0:a.map((function(n,t){return(0,i.jsx)(_e,{item:n,onMouseEnter:function(){return l(t)},onMouseLeave:function(){return l(void 0)},active:c===t,hoveredIndex:c},t)}
1))}),(0,i.jsx)(Qe,{children:(0,i.jsx)(Me,{children:(0,i.jsx)(u.default,{src:xe,alt:"",lazyBoundary:"1000px"})})})]})})]})})),Fe=l.ZP.div.withConfig({componentId:"sc-ef244a76-7"})(Ee(),(function(n){return n.theme.breakpointLg}),(function(n){return n.active?"opacity: 1;":"opacity: 0.5;"}),(function(n){return(void 0===n.hoveredIndex||n.isExpanded)&&"opacity: 1;"})),He=l.ZP.button.withConfig({componentId:"sc-ef244a76-8"})(ze(),C.c1,(function(n){return n.isExpanded&&(0,l.iv)(Oe())})),Re=l.ZP.div.withConfig({componentId:"sc-ef244a76-9"})(Ie(),C.cy,(function(n){return n.theme.breakpointLg})),_e=function(n){var t=n.item,e=n.hoveredIndex,o=n.onMouseEnter,a=n.onMouseLeave,s=n.active,c=null===t||void 0===t?void 0:t.title,u=null===t||void 0===t?void 0:t.textHTML,l=(0,r.useState)(!1),d=l[0],h=l[1];return(0,i.jsxs)(Fe,{onMouseEnter:o,onMouseLeave:a,active:s,hoveredIndex:e,isExpanded:d,children:[(0,i.jsxs)(He,{onClick:function(){return h((function(n){return!n}))},isExpanded:d,children:[(0,i.jsx)("span",{children:c}),(0,i.jsx)(me,{})]}),(0,i.jsx)(ge.Z,{duration:500,height:d?"auto":0,children:(0,i.jsx)(Re,{dangerouslySetInnerHTML:{__html:u}})})]})},Ne=e(3193),Xe={heading:"Click, Click, Grow!",subheading:"A simple browser extension that turns barren landscapes into lush forests, at no cost to you.",button:{text:"Install extension",link:"https://chrome.google.com/webstore/detail/freetree-pflanze-b%C3%A4ume-be/kpmomkdjbjegllmkphagalfjaphhfgof"}}
1,Ue={animation:"/animations/stages.json",items:[{title:"How it works",heading:"Install the extension",description:"Freetree is a browser extension that adds a free tree planting option to your browser."},{title:"How it works",heading:"Activate and shop",description:"Freetree recognizes supported online shops: you just activate and keep shopping."},{title:"How it works",heading:"We go plant trees!",description:"For each purchase, shops pay us a small amount for referring you, which we use to plant trees."}]},Je={heading:"Over 10,000 partner shops",logos:[{logo:{src:"/_next/static/media/lidl-logo.39e43f72.svg",height:56,width:98},alt:"Lidl"},{logo:{src:"/_next/static/media/booking-logo.78cd026a.svg",height:56,width:193},alt:"Booking"},{logo:{src:"/_next/static/media/amazon-logo.516ba849.svg",height:56,width:134},alt:"Amazon"},{logo:{src:"/_next/static/media/ikea-logo.84cfd90a.svg",height:56,width:101},alt:"Ikea"},{logo:{src:"/_next/static/media/ao-logo.13bfa360.svg",height:56,width:57},alt:"AO"},{logo:{src:"/_next/static/media/hm-logo.da66a2e7.svg",height:56,width:86},alt:"H&M"},{logo:{src:"/_next/static/media/otto-logo.fb228bd1.svg",height:56,width:108},alt:"Otto"},{logo:{src:"/_next/static/media/about-you-logo.aa2df6d8.svg",height:56,width:182},alt:"About You"},{logo:{src:"/_next/static/media/ali-express-logo.e996c08c.svg",height:56,width:156},alt:"Ali Express"},{logo:{src:"/_next/static/media/decathlon-logo.dadfe0d0.svg",height:56,width:161},alt:"Decathlon"},{logo:{src:"/_next/static/media/ebay-logo.a4dd7045.svg",height:56,width:101},alt:"Ebay"},{logo:{src:"/_next/static/media/home-24-logo.7fa46bc6.svg",height:56,width:109},alt:"Home 24"},{logo:{src:"/_next/static/media/babymarkt-logo.5c1b35bc.svg",height:56,width:147},alt:"Babymarkt"},{logo:{src:"/_next/static/media/alternate-logo.8b5e101e.svg",height:56,width:151},alt:"Alternate"},{logo:{src:"/_next/static/media/douglas-logo.177d3c24.svg",height:56,width:152},alt:"Douglas"},{logo:{src:"/_next/static/media/cyberport-logo.5d41d4f3.svg",height:56,width:122},alt:"Cyberport"},{logo:{src:"/_next/static/media/sport-scheck-logo.8cc35200.svg",height:56,width:183},alt:"Sportscheck"},{logo:{src:"/_next/static/media/thalia-logo.d5604d65.svg",height:56,width:145},alt:"Thalia"},{logo:{src:"/_next/static/media/babywalz-logo.6c510f45.svg",height:56,width:176},alt:"Babywalz"},{logo:{src:"/_next/static/media/westfalia-logo.798bff68.svg",height:56,width:176},alt:"Westfalia"}],button:{text:"See all partner shops",internalLink:"/partner-shops"}},Ke={heading:"Turning barren landscapes into lush forests, at no cost to you",subheading:"All with the expertise of ECOSIA",items:[{image:{src:"/_next/static/media/Freetree01.931d700e.jpg",height:1040,width:2e3,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAAEAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAf/xAAdEAABBAIDAAAAAAAAAAAAAAACAAEDBAVxEiHw/8QAFQEBAQAAAAAAAAAAAAAAAAAAAgP/xAAWEQEBAQAAAAAAAAAAAAAAAAABACH/2gAMAwEAAhEDEQA/AJ9NlLIBVIXjHmHbNG2vbREUEmu3/9k="},text:"We support over 20 tree-planting projects in 15 different countries"},{image:{src:"/_next/static/media/Freetree02.7f1c0581.jpg",height:1040,width:2e3,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAAEAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAfEAABBAEFAQAAAAAAAAAAAAABAAIDBCEFERIUUZH/xAAVAQEBAAAAAAAAAAAAAAAAAAACBP/EABkRAAIDAQAAAAAAAAAAAAAAAAABAgMRMf/aAAwDAQACEQMRAD8Aujt2aMckmp3N2hzSBIAHcs5x88REUFkpb0TS0//Z"},text:"We work with local partners who are able to monitor your trees on the ground."},{image:{src:"/_next/static/media/Freetree03.0b3c0f60.jpg",height:1040,width:2e3,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAAEAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAb/xAAbEAADAAIDAAAAAAAAAAAAAAAAAQIDEQQhMf/EABQBAQAAAAAAAAAAAAAAAAAAAAT/xAAWEQADAAAAAAAAAAAAAAAAAAAAAjH/2gAMAwEAAhEDEQA/AJLE9cyczSulULVedtpgAG9CvT//2Q=="},text:"We mostly work with native species in order to restore the natural situation."},{image:{src:"/_next/static/media/Freetree04.d549c597.jpg",height:1040,width:2e3,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAAEAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAeEAEAAgIBBQAAAAAAAAAAAAABAAIDBAYREyFRYf/EABUBAQEAAAAAAAAAAAAAAAAAAAME/8QAFxEBAQEBAAAAAAAAAAAAAAAAAQIAEf/aAAwDAQACEQMRAD8AiceybGYR2s1a9gSlEA8dfXyIiQXSVwcRv//Z"},text:"Our projects are helping to revitalise communities"},{image:{src:"/_next/static/media/Freetree05.9f49f2a1.jpg",height:1040,width:2e3,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAAEAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAT/xAAaEAACAwEBAAAAAAAAAAAAAAAAAQIDBAUy/8QAFQEBAQAAAAAAAAAAAAAAAAAABAX/xAAWEQEBAQAAAAAAAAAAAAAAAAAAATH/2gAMAwEAAhEDEQA/AJujs0V51KFsk2m/TAAKKF1//9k="},text:"Trees can prevent erosion, create a stable microclimate for other crops, restore the water systems or provide new means of income."},{image:{src:"/_next/static/media/Freetree06.ca70169e.jpg",height:1040,width:2e3,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAAEAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAT/xAAdEAABBQADAQAAAAAAAAAAAAACAAEDBBEhMVGx/8QAFQEBAQAAAAAAAAAAAAAAAAAAAgX/xAAZEQADAAMAAAAAAAAAAAAAAAAAAiEBAxH/2gAMAwEAAhEDEQA/AJ6tKOxapjKRnHJXNnDeOs1vHz4yIimbWbHKN40P/9k="},text:"Trees can help to empower women and lift people out of poverty."},{image:{src:"/_next/static/media/Freetree07.6f7f6aab.jpg",height:1040,width:2e3,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAAEAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAb/xAAcEAABBAMBAAAAAAAAAAAAAAAAAQQRIQIDMRP/xAAVAQEBAAAAAAAAAAAAAAAAAAACBP/EABURAQEAAAAAAAAAAAAAAAAAAAEA/9oADAMBAAIRAxEAPwCb3PnWLv0TdnNr2L7NAAnWLf/Z"},text:"Trees can maintain a habitat for endangered animal species."}]},Ye={heading:"trees planted so far",subheading:"Add Freetree to your browser",button:{text:"Install extension",link:"https://chrome.google.com/webstore/detail/freetree-pflanze-b%C3%A4ume-be/kpmomkdjbjegllmkphagalfjaphhfgof"}},We={heading:"Still scrolling? Must have questions!",items:[{title:"How does Freetree work?",textHTML:"\n <p>Freetree is super simple.</p>\n <p>As soon as you have added the Freetree extension to your browser, Freetree automatically shows you which shop you can plant free trees with. Here is an example: Let\u2019s say you surf the net and go to the otto.de page \u2013 then Freetree will appear all by itself and g
1ive you the option of planting trees with your purchase on otto.de with just one click.</p>\n <p>If you click on \u201cI want to plant trees for free\u201d, you activate Freetree and trees will be planted with your purchase. Freetree will also tell you immediately after your click whether the activation was successful.</p>\n "},{title:"How can I use the Freetree browser extension?",textHTML:"\n <p>Very easy. In order to install the extension, you just have to click on the yellow button on the top right of our website. Then you will be automatically redirected to the extension store of your browser. There you can install Freetree with one click \u2013 and for free of course.</p>\n "},{title:"Where do you plant the trees?",textHTML:'\n <p>We support <a href="http://www.ecosia.org/" target="_blank" rel="noreferrer">ECOSIA</a> tree planting projects and therefore plant trees all over the world.</p>\n '},{title:"How and where do you get the money to plant trees?",textHTML:'\n <p>Many online shops give a commission for customer recommendations. When these recommended customers then make a purchase, the referrer receives a small commission (\xd8 approx. 2-3% of net sales) from the shop. Freetree uses the technology from the link-o-mat <a href="https://www.link-o-mat.com/" target="_blank" rel="noreferrer">cashback portal</a> for these commissions.</p>\n <p>Most of the commission goes directly to planting the trees with ECOSIA. We use a small part (approx. 10%) for the further development and operation of Freetree and approx. 10% for marketing so that more people can participate. We will check the distribution at regular intervals, because the more people participate, the smaller the necessary share for operation and marketing gets, and even more money can flow into planting the trees.</p>\n '},{title:"When does Freetree show up?",textHTML:"\n <p>As soon as you visit an online shop supported by Freetree, the Freetree window appears automatically in the cart. It reminds you that you can plant trees while shopping with just one click.</p>\n <p>And the best: It doesn\u2019t cost you anything!</p>\n "},{title:"Do I have to create an account?",textHTML:"\n <p>Data privacy and protection are very important to us. Therefore, you can use Freetree without specifying personal data such as email address, name, etc.</p>\n "},{title:"Who are the people behind Freetree?",textHTML:"\n <p>Freetree is a product of bezero UG (haftungsbeschr\xe4nkt). The technology was developed from link-o-mat UG (haftungsbeschr\xe4nkt). bezero UG consists of Tobi and Matthias \ud83d\ude42</p>\n "},{title:"How many trees do you've planted already?",textHTML:"\n <p>We are currently in the early launch phase. Therefore, the number of planted trees is still under 10.000.</p>\n <p>But it is already planned to integrate a live counter on our homepage, which shows exactly how many trees we have already planted together.</p>\n "}]},Ge=e(7346),Ve=e(1013);function $e(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,i=new Array(t);e<t;e++)i[e]=n[e];return i}function qe(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!==typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var i,r,o=[],a=!0,s=!1;try{for(e=e.call(n);!(a=(i=e.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(c){s=!0,r=c}finally{try{a||null==e.return||e.return()}finally{if(s)throw r}}return o}}(n,t)||function(n,t){if(!n)return;if("string"===typeof n)return $e(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);"Object"===e&&n.constructor&&(e=n.constructor.name);if("Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return $e(n,t)}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ni(){var n=qe((0,o.YD)({rootMargin:"0px 0px -500px"}),2),t=n[0],e=n[1],u=qe((0,o.YD)({rootMargin:"0px"}),3),l=u[0],d=u[2],h=(0,r.useState)(!1),f=h[0],p=h[1];(0,r.useEffect)((function(){var n,t;(null===d||void 0===d||null===(n=d.boundingClientRect)||void 0===n?void 0:n.top)-(null===d||void 0===d||null===(t=d.rootBounds)||void 0===t?void 0:t.height)<0?p(!0):p(!1)}),[d]);var A=(0,r.useState)(!1),g=A[0],m=A[1],x=function(){var n=(0,r.useState)(0),t=n[0],e=n[1],i=(0,r.useState)(window.document?document.body.getBoundingClientRect():0),o=i[0],a=i[1],s=(0,r.useState)(o.top),c=s[0],u=s[1],l=(0,r.useState)(o.left),d=l[0],h=l[1],f=(0,r.useState)(),p=f[0],A=f[1],g=function(){a(window.document?document.body.getBoundingClientRect():0),u(-o.top),h(o.left),A(t>-o.top?"down":"up"),e(-o.top)};return(0,r.useEffect)((function(){return window.addEventListener("scroll",g),function(){window.removeEventListener("scroll",g)}})),{scrollY:c,scrollX:d,scrollDirection:p}}().scrollY,v=(0,r.useRef)(null),w=(0,r.useRef)(null),b=(0,r.useRef)(null);return(0,r.useEffect)((function(){var n,t,e,i=null===v||void 0===v||null===(n=v.current)||void 0===n?void 0:n.offsetTop;m(x+88>i);var r=null===w||void 0===w||null===(t=w.current)||void 0===t?void 0:t.offsetTop;x+88>r&&m(!1);var o=null===b||void 0===b||null===(e=b.current)||void 0===e?void 0:e.offsetTop;x+88>o&&m(!0)}),[x]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.Z,{metaTitle:"Plant trees for free while you shop - Freetree",metaDescription:"Start planting trees with only 1 additional click - Freetree empowers your browser to plant trees for free with every purchase - click click grow - Freetree",metaImage:"/images/freetree.png"}),(0,i.jsx)(s.Z,{whiteLogo:g}),(0,i.jsx)(c.Z,{data:Ve.Z,expand:e,hide:f}),(0,i.jsx)($,{data:Xe}),(0,i.jsxs)("div",{ref:t,children:[(0,i.jsx)(Nn,{data:Ue,ref:v}),(0,i.jsx)(ut,{data:Je}),(0,i.jsx)(Rt,{data:Ke}),(0,i.jsx)(Ae,{data:Ye,show:f,ctaBannerRef:l,ref:w}),(0,i.jsx)(Te,{data:We,ref:b}),(0,i.jsx)(Ne.Z,{data:Ge.Z})]})]})}}},function(n){n.O(0,[525,642,774,888,179],(function(){return t=8581,n(n.s=t);var t}));var t=n.O();_N_E=t}]);
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.