PageSourceSearch

https://web.plant-for-the-planet.org/_next/static/chunks/2940-591e72d3a82f04d4.js

js plant-for-the-planet.org collected 2026-10-01 08:53:00 UTC 174,867 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2bde2cb3-587a-482c-8a6e-98db52044c98",e._sentryDebugIdIdentifier="sentry-dbid-2bde2cb3-587a-482c-8a6e-98db52044c98")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2940,6270],{4778:e=>{e.exports={modal:"SelectLanguageAndCountry_modal__DqaVn",currencyGrid:"SelectLanguageAndCountry_currencyGrid__4_z3J",radioButtonsContainer:"SelectLanguageAndCountry_radioButtonsContainer__7eKwL",sectionHead:"SelectLanguageAndCountry_sectionHead__OKMMd",buttonContainer:"SelectLanguageAndCountry_buttonContainer__uhWhX",button:"SelectLanguageAndCountry_button__OeT9G"}},5098:e=>{e.exports={dropdownButton:"SiteDropdown_dropdownButton__j6U8_",dropdownDetails:"SiteDropdown_dropdownDetails__vgE_5",siteIconAndTextContainer:"SiteDropdown_siteIconAndTextContainer__iOONq",labelTextContainer:"SiteDropdown_labelTextContainer__XRTPU",sitesLabel:"SiteDropdown_sitesLabel__Rp_Pg",siteId:"SiteDropdown_siteId__VJKde",siteName:"SiteDropdown_siteName__zKPNh",menuArrow:"SiteDropdown_menuArrow__FNFaX",siteListOptions:"SiteDropdown_siteListOptions__CWCwP",listItem:"SiteDropdown_listItem__rGXGt",selectedItem:"SiteDropdown_selectedItem__BlqY_",dropdownWrapper:"SiteDropdown_dropdownWrapper__V7_NS",separator:"SiteDropdown_separator__tlmq1",siteArea:"SiteDropdown_siteArea__3A46V"}},5369:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(37876),i=n(14232),l=n(96851),o=n(35268),a=n(98197);let s=(0,o.Ay)(a.A)(()=>({"& .MuiInput-input":{width:"240px",marginLeft:"16px"},"& .MuiInput-underline:after":{visibility:"hidden"},"& .MuiInputBase-root.MuiInput-root::before":{visibility:"hidden"}}));var c=n(17754),d=n(46954),p=n(69277),C=n.n(p),u=n(26715),h=n(69241),m=n(30171);let g=e=>{let{setIsFilterOpen:t}=e,n=(0,l.c)("AllProjects"),o=(0,m.Iw)(e=>e.debouncedSearchValue),[a,p]=(0,i.useState)(o),g=(0,m.iH)(e=>"true"===e.embed),x=(0,m.iH)(e=>e.showProjectList),v=(0,m.Iw)(e=>e.setDebouncedSearchValue),j=(0,m.Iw)(e=>e.setIsSearching);return(0,u.s)(()=>{v(a)},1e3,[a]),(0,r.jsxs)("div",{className:(0,h.$)(C().activeSearchFieldContainer,{[C().onlyMapMode]:g&&"false"===x}),children:[(0,r.jsx)(s,{id:"standard-search",variant:"standard",placeholder:n("searchProject"),inputProps:{"aria-label":n("searchProject")},value:a,onChange:e=>{p(e.target.value)},autoFocus:!0}),(0,r.jsx)(d.A,{label:n("clearSearch"),onClick:()=>{v(""),j(!1),t(!1)},className:C().crossIcon,children:(0,r.jsx)(c.A,{})})]})}},8193:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(37876);let i=e=>{let{width:t,color:n}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,viewBox:"0 0 5 10",fill:"none",children:(0,r.jsx)("path",{d:"M2.68057 5.12199L0.240571 2.27199C-0.119429 1.85199 -0.0694288 1.22199 0.350571 0.861987C0.770571 0.501987 1.40057 0.551988 1.76057 0.971988L4.76057 4.47199C5.08057 4.84199 5.08057 5.40199 4.76057 5.77199L1.76057 9.27199C1.40057 9.69199 0.770572 9.74199 0.350572 9.38199C-0.0694285 9.02199 -0.119429 8.39199 0.240571 7.97199L2.68057 5.12199Z",fill:n})})}},14539:(e,t,n)=>{"use strict";n.d(t,{A:()=>j});var r=n(37876),i=n(14232),l=n(96851),o=n(65383),a=n.n(o),s=n(59967),c=n(84094),d=n(54949),p=n(63211),C=n(61088),u=n(69241);let h=e=>{let{metadata:t}=e;return 0===t.length?null:(0,r.jsx)("div",{className:(0,u.$)("planting-details-group",a().interventionMetadataGroup),children:t.map((e,t)=>(0,r.jsxs)("div",{className:(0,u.$)("planting-details-item",a().interventionMetaItem),children:[(0,r.jsx)("h2",{className:a().label,children:e.key}),(0,r.jsx)("p",{className:a().data,children:e.value})]},t))})};var m=n(62070),g=n(684);let x=e=>{let{hid:t,interventionType:n,plantDate:i}=e,o=(0,l.c)("ProjectDetails"),s=(0,l.c)("ProjectDetails.intervention");return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:(0,u.$)("intervention-header-container",a().interventionHeaderContainer),children:[(0,r.jsx)("div",{className:a().interventionTitle,children:s(n)}),(0,r.jsx)("div",{className:(0,u.$)("hid",a().hid),children:(0,m.NR)(t)})]}),(0,r.jsxs)("div",{className:(0,u.$)("planting-details-item",a().plantingDetailsItem),children:[(0,r.jsx)("h2",{className:a().label,children:o("intervention.interventionDate")}),(0,r.jsx)("p",{className:a().data,children:i?(0,g.A)(i):null})]})]})};var v=n(30171);let j=e=>{let{isMobile:t}=e,n=(0,v.o6)(e=>{var t,n;return(null==(t=e.selectedIntervention)?void 0:t.type)!=="single-tree-registration"&&(null==(n=e.selectedIntervention)?void 0:n.type)!=="multi-tree-registration"?e.selectedIntervention:null}),o=(0,v.o6)(e=>{var t,n;return(null==(t=e.hoveredIntervention)?void 0:t.type)!=="single-tree-registration"&&(null==(n=e.hoveredIntervention)?void 0:n.type)!=="multi-tree-registration"?e.hoveredIntervention:null})||n,u=(0,l.c)("ProjectDetails"),g=(null==o?void 0:o.sampleInterventions)||[],j=(null==o?void 0:o.plantedSpecies)||[],f=g.length>0,_=j.length>0,{totalTreesCount:b}=(0,i.useMemo)(()=>({totalTreesCount:_?j.reduce((e,t)=>
1e+t.treeCount,0):0}),[o]),y=(0,i.useMemo)(()=>{if(f)return g.map(e=>{var t,n;return{id:e.coordinates[0].id,image:null!=(t=e.coordinates[0].image)?t:"",description:u("sampleTreeTag",{tag:null!=(n=e.tag)?n:""})}})},[o]);if(!o)return null;let w=(0,m.CY)(o),V=w.length>0,M=o.interventionStartDate||o.plantDate,L=void 0!==y&&(null==y?void 0:y.length)>0,H=[(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)(x,{hid:o.hid,interventionType:o.type,plantDate:M},"interventionHeader"),L&&(0,r.jsx)(p.A,{images:y,type:"coordinate",isMobile:t,imageSize:"large",allowFullView:!t},"imageSlider")]},"interventionHeaderAndImage"),V&&(0,r.jsx)(h,{metadata:w},"plantingDetails"),_&&(0,r.jsx)(s.A,{totalTreesCount:b,plantedSpecies:j,plantProject:null==n?void 0:n.plantProject},"speciesPlanted"),f&&(0,r.jsx)(c.A,{sampleTrees:g},"sampleTrees")].filter(Boolean);return t?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(C.A,{slides:H,uniqueKey:o.hid||""})}):(0,r.jsxs)("section",{className:a().interventionInfoSection,children:[H,(0,r.jsx)(d.A,{})]})}},15789:(e,t,n)=>{"use strict";n.d(t,{E:()=>y,XP:()=>b,YV:()=>w,jo:()=>f,w:()=>_});let{colors:r}=n(7642).A.designSystem,i=r.primaryColor,l=r.warmGreen,o=r.fireRed,a=r.brightYellow,s=r.sunriseOrange,c=r.brightBlue,d=r.leafGreen,p=r.skyBlue,C=r.forestGreen,u=r.warmRed,h=r.oceanBlue,m=r.milkChocolate,g=r.darkGrey,x=r.brightGreen,v=r.hotPink,j=r.purpleSky,f=["match",["get","type"],"remeasurement","tomato","single-tree-registration",i,"multi-tree-registration",l,"removal-invasive-species",o,"fire-suppression",a,"fire-patrol",s,"fencing",c,"marking-regenerant",d,"liberating-regenerant",p,"grass-suppression",C,"firebreaks",u,"assisting-seed-rain",h,"soil-improvement",m,"stop-tree-harvesting",g,"direct-seeding",x,"enrichment-planting",v,"other-intervention",r.deepPurple,"maintenance",j,i],_=[{label:"All Intervention",value:"all",index:0},{label:"Single/Multi Tree Plantation",value:"default",index:1},{label:"Single Tree Plantation",value:"single-tree-registration",index:2},{label:"Multi Tree Plantation",value:"multi-tree-registration",index:3},{label:"Fire Patrol",value:"fire-patrol",index:4},{label:"Fire Suppression Team",value:"fire-suppression",index:5},{label:"Establish Fire Breaks",value:"firebreaks",index:6},{label:"Fencing",value:"fencing",index:7},{label:"Removal of Invasive Species",value:"removal-invasive-species",index:8},{label:"Direct Seeding",value:"direct-seeding",index:9},{label:"Grass Suppression",value:"grass-suppression",index:10},{label:"Marking Regenerant",value:"marking-regenerant",index:11},{label:"Enrichment Planting",value:"enrichment-planting",index:12},{label:"Liberating Regenerant",value:"liberating-regenerant",index:13},{label:"Soil Improvement",value:"soil-improvement",index:14},{label:"Assisting Seed Rain",value:"assisting-seed-rain",index:15},{label:"Stop Tree Harvesting",value:"stop-tree-harvesting",index:16},{label:"Maintenance",value:"maintenance",index:17},{label:"Other Intervention",value:"other-intervention",index:18}],b=["multi-tree-registration","single-tree-registration"],y=e=>null!==e&&!b.includes(e.type),w=e=>_.find(t=>t.value===e)},16740:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(37876),i=n(24779),l=n(35268),o=n(7642);let a=(0,l.Ay)(i.A)({"&.Mui-checked .MuiSvgIcon-root path":{fill:o.A.designSystem.colors.leafGreen}}),s=e=>(0,r.jsx)(a,{color:"default",...e})},17754:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(37876),i=n(7642);let l=e=>{let{width:t}=e,{colors:n}=i.A.designSystem;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,viewBox:"0 0 18 18",fill:"none",children:(0,r.jsx)("path",{d:"M3.24677 1.22593L3.24678 1.22593L3.24545 1.22462C3.11271 1.09495 2.95467 0.994015 2.7812 0.928103C2.60774 0.862191 2.42255 0.832718 2.23718 0.841521L2.23718 0.841498L2.23444 0.841675C1.87249 0.865096 1.53144 1.01944 1.27496 1.27589C1.01849 1.53234 0.864122 1.87337 0.840698 2.2353L0.840572 2.23529L0.840413 2.24165C0.835951 2.42076 0.867642 2.59894 0.933591 2.76553C0.99954 2.93212 1.09839 3.08371 1.22425 3.21124L1.225 3.212L7.01391 9.00035L1.24356 14.7701C1.11446 14.8958 1.01217 15.0463 0.942868 15.2126C0.873415 15.3793 0.838544 15.5584 0.840372 15.7389L0.840232 15.7389L0.84058 15.7456C0.859772 16.1143 1.01487 16.4628 1.27594 16.7238C1.53701 16.9849 1.88554 17.1399 2.25423 17.1592L2.25726 17.1593C2.44408 17.1654 2.63015 17.1328 2.8037 17.0634C2.97702 16.9941 3.13409 16.8896 3.26501 16.7565C3.26518 16.7563 3.26536 16.7562 3.26553 16.756L9.00032 11.0218L14.7525 16.756C14.7527 16.7562 14.7529 16.7564 14.7531 16.7566C14.884 16.8896 15.0411 16.9941 15.2144 17.0634C15.3879 17.1328 15.574 17.1654 15.7608 17.1593L15.7608 17.1593L15.7659 17.159C16.1278 17.1356 16.4689 16.9813 16.7253 16.7248C16.9818 16.4683 17.1362 16.1273 17.1596 15.7654L17.1598 15.7654L17.1599 15.7568C17.164 15.3936 17.0189 15.0425 16.7568 14.788L10.986 9.00035L16.7568 3.21269C16.8859 3.08704 16.9881 2.93654 17.0574 2.77028C17.1269 2.6036 17.1617 2.42456 17.1599 2.24401L17.1602 2.24401L17.1596 2.2353C17.1362 1.87337 16.9818 1.53234 16.7253 1.27589C16.4689 1.01944 16.1278 0.865096 15.7659 0.841675L15.7659 0.841596L15.7608 0.841429C15.574 0.835251 15.3879 0.8679 15.2144 0.937314C15.0411 1.00662 14.884 1.11108 14.7531 1.24411C14.7529 1.2443 14.7527 1.2445 14.7525 1.2447L9.00032 6.97892L3.24677 1.22593Z",fill:n.softText,stroke:n.softText,strokeWidth:"0.32"})})}},18542:e=>{e.exports={projectListControlsContainer:"ProjectsMap_projectListControlsContainer__7HtJm",embedModeMobile:"ProjectsMap_embedModeMobile__rlBlh",siteInterventionDropdowns:"ProjectsMap_siteInterventionDropdowns__ZRel4",siteInterventionDropdownsMobile:"ProjectsMap_siteInterventionDropdownsMobile__2sfoZ",exitMapModeButton:"ProjectsMap_exitMapModeButton__8mMbG",layerToggle:"ProjectsMap_layerToggle__qVTv7",layerToggleAndroid:"ProjectsMap_layerToggleAndroid__xkinF",layerToggleIos:"ProjectsMap_layerToggleIos__1z8P_",layerToggleDesktop:"ProjectsMap_layerToggleDesktop__iGl5M",mapContainer:"ProjectsMap_mapContainer__zmsxA",android:"ProjectsMap_android__jI7sg",ios:"ProjectsMap_ios__39v3W",single:"ProjectsMap_single__kqWxQ",singleSelected:"ProjectsMap_singleSelected__yX4mm"}},26715:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});var r=n(14232);let i=(e,t,n)=>{let i=(0,r.useCallback)(e,n);(0,r.useEffect)(()=>{let e=setTimeout(()=>{i()},t);return()=>{clearTimeout(e)}},[i,t])}},26963:e=>{e.exports={projectPopup:"ProjectPopup_projectPopup__yjE00",popupContainer:"ProjectPopup_popupContainer__JqmVk"}},28926:(e,t,n)=>{"use strict";n.d(t,{A:()=>V});var r=n(37876),i=n(18952),l=n(76572),o=n(71918),a=n(20085),s=n(38505),c=n(14232),d=n(57788);let p={};var C=n(49433),u=n(44086),h=n(77316),m=n(16740),g=n(4778),x=n.n(g),v=n(96851),j=n(1500),f=n(89099),_=n(88288),b=n(25701);function y(e){let{value:t,handleChange:n}=e,a=(0,_.R)(e=>e.tenantConfig),s=(0,c.useMemo)(()=>u.filter(e=>{var t;return Object.values(null!=(t=a.config.languages)?t:{0:"en"}).includes(e.langCode)}),[u,a.config.languages]);return(0,r.jsx)(i.A,{component:"fieldset",children:(0,r.jsx)(l.A,{"aria-label":"language",name:"language",value:t,onChange:n,className:x().currencyGrid,children:s.map(e=>(0,r.jsx)(o.A,{value:e.langCode,control:(0,r.jsx)(m.A,{}),label:e.languageName},e.langCode))})})}function w(e){let{value:t,handleChange:n}=e,a=(0,v.c)("Country"),s=(0,b.c)(e=>
1e.supportedCurrencies),c=(0,j.Ym)(),u=(0,C.Y)("country"),h=function(e,t,n,r){let i="".concat(t,".").concat(n.join(","));if(!p[i]){let t=[],l=new Set(n);for(let e of n){let n=d.find(t=>t.countryCode===e);n&&(!r||r.has(n.currencyCode))&&t.push(n)}let o=d.filter(e=>!l.has(e.countryCode)&&(!r||!!r.has(e.currencyCode)));p[i]=t.concat(o.sort((t,n)=>{let r=e(t.countryCode.toLowerCase()),i=e(n.countryCode.toLowerCase());return r>i?1:r<i?-1:0}))}return p[i]}(a,c,u===t?[t]:[t,u],s);return(0,r.jsx)(i.A,{variant:"standard",component:"fieldset",children:(0,r.jsx)(l.A,{"aria-label":"language",name:"language",value:t,onChange:n,className:x().currencyGrid,children:h.map(e=>(0,r.jsx)(o.A,{value:e.countryCode,control:(0,r.jsx)(m.A,{}),label:a(e.countryCode.toLowerCase())+" \xb7 "+e.currencyCode},e.countryCode))})})}function V(e){let{openModal:t,handleModalClose:n,setSelectedCurrency:i,selectedCountry:l,setSelectedCountry:o}=e,p=(0,v.c)("Common"),C=(0,j.Ym)(),u=(0,f.useRouter)(),{theme:m}=(0,c.useContext)(h.Dx),[g,_]=(0,c.useState)("en"),[V,M]=(0,c.useState)("DE"),L=(0,b.c)(e=>e.setCurrencyCode);return(0,c.useEffect)(()=>{C&&_(C)},[C]),(0,c.useEffect)(()=>{l&&M(l)},[l]),(0,r.jsx)(a.A,{open:t,onClose:n,"aria-labelledby":"transition-modal-title","aria-describedby":"transition-modal-description",className:"modalContainer "+m,closeAfterTransition:!0,BackdropProps:{timeout:500},children:(0,r.jsx)(s.A,{in:t,children:(0,r.jsxs)("div",{className:x().modal,children:[(0,r.jsxs)("div",{className:x().radioButtonsContainer,children:[(0,r.jsx)("p",{className:x().sectionHead,children:p("selectLanguage")}),(0,r.jsx)(y,{value:g,handleChange:e=>{_(e.target.value)}}),(0,r.jsx)("p",{className:x().sectionHead,children:p("selectCountry")}),(0,r.jsx)(w,{value:V,handleChange:e=>{M(e.target.value)}})]}),(0,r.jsxs)("div",{className:x().buttonContainer,children:[(0,r.jsxs)("button",{id:"selLangAndCountryCan",className:x().button,onClick:n,children:[(0,r.jsx)("div",{}),(0,r.jsx)("p",{children:p("cancel")})]}),(0,r.jsxs)("button",{id:"selLangAndCountryOk",className:x().button,onClick:function(){window.localStorage.setItem("countryCode",V),o(V);let e=d.find(e=>e.countryCode===V);if((null==e?void 0:e.currencyCode)&&(window.localStorage.setItem("currencyCode",e.currencyCode),i(e.currencyCode),L(e.currencyCode)),g!==C){let{asPath:e,pathname:t}=u;if("/sites/[slug]/[locale]"===t||t==="/".concat(C))u.replace(encodeURI("/".concat(g)));else{let t=e.split("/");if(t.length>2){let e=t.slice(2).join("/");u.replace(encodeURI("/".concat(g,"/").concat(e)))}else u.replace(encodeURI("/".concat(g)))}}n()},children:[(0,r.jsx)("div",{}),(0,r.jsx)("p",{children:p("ok")})]})]})]})})})}},31146:e=>{e.exports={dropdownButton:"InterventionList_dropdownButton__LXloa",interventionIconAndTextContainer:"InterventionList_interventionIconAndTextContainer___tIlr",labelTextContainer:"InterventionList_labelTextContainer__5qvAB",interventionsLabel:"InterventionList_interventionsLabel__E_BE2",interventionId:"InterventionList_interventionId__Vc7lo",interventionName:"InterventionList_interventionName__nD_Rw",menuArrow:"InterventionList_menuArrow__qaXXm",interventionListOptions:"InterventionList_interventionListOptions__c1Mb9",listItem:"InterventionList_listItem__BpqZ7",selectedItem:"InterventionList_selectedItem__EgUuz",interventionListOptionsAbove:"InterventionList_interventionListOptionsAbove__ypk7Y",interventionListOptionsBelow:"InterventionList_interventionListOptionsBelow__PtOjx",dropdownWrapper:"InterventionList_dropdownWrapper__kZOTd",separator:"InterventionList_separator__mrkj6",interventionArea:"InterventionList_interventionArea__Rqeig"}},32949:e=>{e.exports={container:"MobileMapSettingsLayout_container__OWjTQ",header:"MobileMapSettingsLayout_header__sjNdv",exploreLabel:"MobileMapSettingsLayout_exploreLabel__RC0gF",scrollableContent:"MobileMapSettingsLayout_scrollableContent__Drel1",atBottom:"MobileMapSettingsLayout_atBottom__ikoq9",closeButton:"MobileMapSettingsLayout_closeButton__n6lMx"}},35088:e=>{e.exports={impersonationMode:"ProjectsLayout_impersonationMode__ZrZ2C",embedMode:"ProjectsLayout_embedMode__AmObM",projectsLayout:"ProjectsLayout_projectsLayout__4IseC",mainContent:"ProjectsLayout_mainContent__MR3LL",contentContainer:"ProjectsLayout_contentContainer__35N6n",mapContainer:"ProjectsLayout_mapContainer__1sqoM",mapFeatureExplorerOverlay:"ProjectsLayout_mapFeatureExplorerOverlay__bOeeR",mobileProjectsLayout:"ProjectsLayout_mobileProjectsLayout__JEZ6Q",mapMode:"ProjectsLayout_mapMode__bpiv_",embedModeMobile:"ProjectsLayout_embedModeMobile__ZFI28",impersonationMobile:"ProjectsLayout_impersonationMobile___V1sO",mobileContentContainer:"ProjectsLayout_mobileContentContainer__KfnUW",mobileMapContainer:"ProjectsLayout_mobileMapContainer__NuNBq"}},35267:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});let r={projects:{key:"projects",canShow:!0,isAvailable:!0},forests:[{key:"forestCover",canShow:!0,isAvailable:null,additionalInfo:{resolution:"~500m (Downscaled)",dataYears:"2023",description:"Tree cover as a binary map",underlyingData:"AI model built by Google to classify Sentinel II images in 9 different land use and land cover classes",source:{text:"Dynamic World",url:"https://dynamicworld.app/"}}},{key:"forestBiomass",canShow:!1,isAvailable:null,color:"#27AE60",additionalInfo:{resolution:"~500m",dataYears:"2016",description:"Current biomass maps in the forested regi
1ons",underlyingData:"Remote sensing (MODIS, LiDAR) based machine learning models",source:{text:"Walker et al. 2022",url:"https://www.pnas.org/doi/10.1073/pnas.2111312119"}},legend:{type:"range",min:0,max:376,gradient:"linear-gradient(90deg, #FFF59A 0%, #FEFB27 48%, #36670C 100%)",unit:"t/ha"}},{key:"biomassPotential",canShow:!0,isAvailable:null,additionalInfo:{resolution:"~500m",dataYears:"2016",description:"Constrained unrealized potential aboveground biomass density (megagrams carbon per hectare) under baseline climate. Areas critical to food production and human habitation have been set to zero.",underlyingData:"Remote sensing (MODIS, LiDAR) based Machine Learning models",source:{text:"Walker et al. 2022",url:"https://www.pnas.org/doi/10.1073/pnas.2111312119"}},legend:{type:"range",min:0,max:376,gradient:"linear-gradient(90deg, #FFF59A 0%, #FEFB27 48%, #36670C 100%)",unit:"t/ha"}},{key:"deforestation",canShow:!0,isAvailable:null,color:"#EB5757",additionalInfo:{resolution:"~30m",dataYears:"2023",description:"Location of deforestation in previous year",underlyingData:"Landsat satellite programs",source:{text:"Hansen et al. 2013",url:"https://www.science.org/doi/10.1126/science.1244693"}}},{key:"canopyHeight",canShow:!1,isAvailable:null,color:"#2F80ED",additionalInfo:{resolution:"~1m",dataYears:"2018–2020",description:"Global canopy height between year 2018-2020",underlyingData:"Global Canopy Height Maps based on AI model (DinoV2) and remote sensing data (MAXAR and GEDI) by Meta",source:{text:"Tolan et al. 2024",url:"https://sustainability.atmeta.com/blog/2024/04/22/using-artificial-intelligence-to-map-the-earths-forests/"}}}],soil:[{key:"soilNitrogen",canShow:!0,isAvailable:null,additionalInfo:{resolution:"~250m",dataYears:"2016",description:"Weighted average nitrogen concentration (cg/kg) across 0–200 cm soil depth, derived by proportionally averaging ISRIC SoilGrids nitrogen values from six depth intervals (0–5 cm, 5–15 cm, 15–30 cm, 30–60 cm, 60–100 cm, and 100–200 cm), with each band weighted according to its respective depth thickness.",underlyingData:"150,000 soil profiles and 158 remote sensing-based soil covariates (soilgrids.org)",source:{text:"Hengl et al. 2017",url:"https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0169748"}},legend:{type:"range",min:60,max:26313,gradient:"linear-gradient(90deg, #FFF59A 0%, #FEFB27 48%, #6C8DFF 100%)",unit:"cg/kg"}},{key:"soilPH",canShow:!0,isAvailable:null,additionalInfo:{resolution:"~250m",dataYears:"2016",description:"Weighted average pH concentration across 0–200 cm soil depth, derived by proportionally averaging ISRIC SoilGrids nitrogen values from six depth intervals (0–5 cm, 5–15 cm, 15–30 cm, 30–60 cm, 60–100 cm, and 100–200 cm), with each band weighted according to its respective depth thickness.",underlyingData:"150,000 soil profiles and 158 remote sensing-based soil covariates (soilgrids.org)",source:{text:"Hengl et al. 2017",url:"https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0169748"}},legend:{type:"range",min:3.9,max:9.6,gradient:"linear-gradient(90deg, #FE4242 0%, #F3F7C7 45.5%, #6C8DFF 100%)"}},{key:"soilOrganicCarbon",canShow:!0,isAvailable:null,additionalInfo:{resolution:"~250m",dataYears:"2016",description:"Weighted average Soil Organic Carbon concentration (dg/kg) across 0–200 cm soil depth, derived by proportionally averaging ISRIC SoilGrids nitrogen values from six depth intervals (0–5 cm, 5–15 cm, 15–30 cm, 30–60 cm, 60–100 cm, and 100–200 cm), with each band weighted according to its respective depth thickness.",underlyingData:"150,000 soil profiles and 158 remote sensing-based soil covariates (soilgrids.org)",source:{text:"Hengl et al. 2017",url:"https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0169748"}},legend:{type:"range",min:2,max:4500,gradient:"linear-gradient(90deg, #FFF59A 0%, #FEFB27 48%, #361600 100%)",unit:"dg/kg"}},{key:"soilBulkDensity",canShow:!0,isAvailable:null,additionalInfo:{resolution:"~250m",dataYears:"2016",description:"Weighted average Soil Bulk Density concentration (cg/cm3;) across 0–200 cm soil depth, derived by proportionally averaging ISRIC SoilGrids nitrogen values from six depth intervals (0–5 cm, 5–15 cm, 15–30 cm, 30–60 cm, 60–100 cm, and 100–200 cm), with each band weighted according to its respective depth thickness.",underlyingData:"150,000 soil profiles and 158 remote sensing-based soil covariates (soilgrids.org)",source:{text:"Hengl et al. 2017",url:"https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0169748"}},legend:{type:"range",min:29,max:188,gradient:"linear-gradient(90deg, #FEF27B 0%, #F9A817 48%, #E03301 100%)",unit:"cg/cm3"}}],biodiversity:[{key:"treeSpeciesDensity",canShow:!0,isAvailable:null,additionalInfo:{resolution:"~3km",dataYears:"2005-2015",description:"Shows the average number of tree species around the globe",underlyingData:"the Global Forest Biodiversity Initiative [GFBI] and TREECHANGE dataset",source:{text:"Gatti et al. 2022",url:"https://www.pnas.org/doi/full/10.1073/pnas.2115329119"}},legend:{type:"range",min:1,max:273,unit:"species/ha",gradient:"linear-gradient(90deg, #F3F3F3 0%, #CEDFBC 48%, #1F3000 100%)"}},{key:"birdDensity",canShow:!0,isAvailable:null,additionalInfo:{resolution:"~10km",dataYears:"2013-2018",description:"Number of bird species at different locations (Number of Birds per 100km2)",underlyingData:"IUCN (mammals, amphibians, and marine species), jointly from BirdLife International and NatureServe (birds), from NatureServe (reptiles and freshwater fish of the USA)",source:{text:"Biodiversity Mapping",url:"https://biodiversitymapping.org/"}},legend:{type:"range",min:1,max:678,unit:"birds/ha",gradient:"linear-gradient(90deg, #FFFFFF 0%, #0A529E 100%)"}},{key:"mammalDensity",canShow:!0,isAvailable:null,additionalInfo:{resolution:"~10km",dataYears:"2013-2018",description:"Number of mammal species at different locations",underlyingData:"IUCN (mammals, amphibians, and marine species), jointly from BirdLife International and NatureServe (birds), from NatureServe (reptiles and freshwater fish of the USA)",source:{text:"Biodiversity Mapping",url:"https://biodiversitymapping.org/"}},legend:{type:"range",min:1,max:212,unit:"mammals/ha",gradient:"linear-gradient(90deg, #FFFFFF 0%, #A71015 100%)"}},{key:"amphibianDensity",canShow:!0,isAvailable:null,additionalInfo:{resolution:"~10km",dataYears:"2013-2018",description:"Number of amphibian species at different locations",underlyingData:"IUCN (mammals, amphibians, and marine species), jointly from BirdLife International and NatureServe (birds), from NatureServe (reptiles and freshwater fish of the USA)",source:{text:"Biodiversity Mapping",url:"https://biodiversitymapping.org/"}},legend:{type:"range",min:1,max:136,unit:"amphibians/ha",gradient:"linear-gradient(90deg, #FFFFFF 0%, #0E903E 100%)"}}],risks:[{key:"fireRisk",canShow:!0,isAvailable:null,additionalInfo:{resolution:"~55km",dataYears:"1980-2023",description:"Risk of a fire breaking out based on weather data",underlyingData:"Fire Weather Index",source:{text:"by Plant-for-the-Planet, Fire Weather Index based analysis for last 25 years (90th percentile) based on data from Climate Data Store API",url:"https://cds.climate.copernicus.eu/home"}},legend:{type:"category",categories:[{categoryKey:"veryLow",color:"#F2C94C"},{categoryKey:"low",color:"#F2994A"},{categoryKey:"medium",color:"#FA7902"},{categoryKey:"high",color:"#E86F56"},{categoryKey:"veryHigh",color:"#C03418"},{categoryKey:"extreme",color:"#861E04"}]}},{key:"deforestationRisk",canShow:!1,isAvailable:null,additionalInfo:{resolution:"~30m",dataYears:"2023",description:"Risk factor of deforestation based on previous deforestation, current forest and direction of deforestation",underlyingData:"Based on the LANDSAT based forest locations and pattern of deforestation",source:{text:"by Plant-for-the-Planet, LANDSAT based deforestation risk modelling based on a VERRA methodology",url:"https://verra.org/wp-content/uploads/2021/04/DRAFT_JNR_Risk_Mapping_Tool_15APR2021.pdf"}}}]}},43526:(e,t,n)=>{"use strict";n.d(t,{U:()=>o,k:()=>a});var r=n(34949),i=n(62070),l=n(30910);function o(e,t){e.flyTo({center:[l.wn.longitude,l.wn.latitude],zoom:l.wn.zoom,duration:i._$.ZOOM_OUT}),e.once("moveend",()=>t())}function a(e,t,n,i){var l,o,a;let s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1200;if(!t||!e.current)return void console.warn("Unable to zoom: geoJson or mapRef is not available");let c=e.current.getMap?e.current.getMap():e.current,d=null==(l=t.features)?void 0:l[n];if(!d||!d.geometry)return void console.warn("zoomInToProjectSite: invalid selectedSite or missing geometry",{selectedSite:n,featuresLength:null!=(a=null==(o=t.features)?void 0:o.length)?a:0});let p=(0,r.A)(d);c.fitBounds([[p[0],p[1]],[p[2],p[3]]],{duration:s,maxZoom:14}),c.once("moveend",()=>{let e=c.getCenter(),t=c.getZoom();i({longitude:e.lng,latitude:e.lat,zoom:t,bearing:0,pitch:0,padding:{top:0,bottom:0,left:0,right:0}})})}},44086:e=>{"use strict";e.exports=JSON.parse('[{"langCode":"en","languageName":"English"},{"langCode":"cs","languageName":"čeština"},{"langCode":"de","languageName":"Deutsch"},{"langCode":"es","languageName":"Espa\xf1ol"},{"langCode":"fr","languageName":"Fran\xe7ais"},{"langCode":"it","languageName":"Italiano"},{"langCode":"pt-BR","languageName":"Portugu\xeas brasileiro"}]')},46419:e=>{e.exports={arrowTop:"FirePopup_arrowTop__jMuZt",arrowBottomContainer:"FirePopup_arrowBottomContainer__v_plp",arrowBottomWhite:"FirePopup_arrowBottomWhite__ah1oc",arrowBottomColored:"FirePopup_arrowBottomColored__1BSHo",fireIcon:"FirePopup_fireIcon__7Afo2",popupContainer:"FirePopup_popupContainer__ibG4V",popupTitle:"FirePopup_popupTitle__MD7ma",titleText:"FirePopup_titleText__7FRjo",popupText:"FirePopup_popupText__iSL8h",coordinates:"FirePopup_coordinates__VJ1uf",setUpAlertsContainer:"FirePopup_setUpAlertsContainer__Vm69Z",
1setUpAlerts:"FirePopup_setUpAlerts__0bh9k",infoIconPopupContainer:"FirePopup_infoIconPopupContainer__68qrZ",timeDuration:"FirePopup_timeDuration__8X1XP"}},50221:(e,t,n)=>{"use strict";n.d(t,{A:()=>D});var r=n(37876),i=n(14232),l=n(96851),o=n(20085);let a=e=>{let{width:t="19px"}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,viewBox:"0 0 19 16",fill:"none",children:[(0,r.jsx)("g",{clipPath:"url(#clip0_871_169)",children:(0,r.jsx)("path",{d:"M15.4375 0.571429C15.4375 0.255714 15.1718 0 14.8438 0H12.4688C12.1407 0 11.875 0.255714 11.875 0.571429V2.28571H15.4375V0.571429ZM2.37166 4.57107C2.27852 7.92286 0.128398 8.65071 0 13.2857V14.8571C0 15.4882 0.531777 16 1.1875 16H4.75C5.40572 16 5.9375 15.4882 5.9375 14.8571V9.14286H7.125V3.42857H3.55656C2.90232 3.42857 2.38947 3.94179 2.37166 4.57107ZM16.6283 4.57107C16.6105 3.94179 16.0977 3.42857 15.4434 3.42857H11.875V9.14286H13.0625V14.8571C13.0625 15.4882 13.5943 16 14.25 16H17.8125C18.4682 16 19 15.4882 19 14.8571V13.2857C18.8716 8.65071 16.7215 7.92286 16.6283 4.57107ZM6.53125 0H4.15625C3.8282 0 3.5625 0.255714 3.5625 0.571429V2.28571H7.125V0.571429C7.125 0.255714 6.8593 0 6.53125 0ZM8.3125 9.14286H10.6875V3.42857H8.3125V9.14286Z",fill:"#333333"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_871_169",children:(0,r.jsx)("rect",{width:"19",height:"16",fill:"white"})})})]})};var s=n(35268),c=n(65754),d=n(7642);let{fontSizes:p}=d.A,{colors:C}=d.A.designSystem,u=(0,s.Ay)(c.A)(()=>({"&.MuiButton-root":{flex:"0 0 auto",width:"240px",height:"47px",backgroundColor:C.white,borderRadius:"12px",color:C.coreText,justifyContent:"start",paddingLeft:"18px",fontSize:"".concat(p.fontXSmall),boxShadow:"0px 6px 10px rgba(0, 0, 0, 0.12)","&.active":{backgroundColor:C.forestGreen,color:C.white,svg:{path:{fill:C.white}}},"& .MuiButton-startIcon":{marginLeft:"0px",svg:{width:"19px"}},"@media (max-width: 480px)":{width:"fit-content",height:"28px",padding:"6px 8px",fontSize:"".concat(p.fontXXSmall),borderRadius:"5px","& .MuiButton-startIcon":{svg:{width:"14px"}}}}}));var h=n(15819),m=n(62643),g=n.n(m);let x=e=>{let{layerKey:t,additionalInfo:n,handleMouseLeave:i,setAnchorElement:o,anchorElement:a}=e,s=(0,l.c)("Maps.exploreLayers");return(0,r.jsxs)("div",{className:g().layerInfoPopupContainer,onMouseEnter:e=>{o(a),e.stopPropagation()},onMouseLeave:i,children:[(null==n?void 0:n.dataYears)&&(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:g().label,children:s("additionalInfo.labels.dataYears")}),(0,r.jsx)("p",{children:s("additionalInfo.".concat(t,".dataYears"))})]}),(null==n?void 0:n.resolution)&&(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:g().label,children:s("additionalInfo.labels.resolution")}),(0,r.jsx)("p",{children:s("additionalInfo.".concat(t,".resolution"))})]}),(null==n?void 0:n.description)&&(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:g().label,children:s("additionalInfo.labels.description")}),(0,r.jsx)("p",{children:s("additionalInfo.".concat(t,".description"))})]}),(null==n?void 0:n.underlyingData)&&(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:g().label,children:s("additionalInfo.labels.underlyingData")}),(0,r.jsx)("p",{children:s("additionalInfo.".concat(t,".underlyingData"))})]}),(null==n?void 0:n.source)&&(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:g().label,children:s("additionalInfo.labels.source")}),(0,r.jsx)("a",{href:s("additionalInfo.".concat(t,".source.url")),target:"_blank",rel:"noopener noreferrer",className:g().source,children:s("additionalInfo.".concat(t,".source.text"))})]})]})};var v=n(86198);let j={".MuiSwitch-track":{height:"10px",width:"27px"},".MuiSwitch-thumb":{width:"16px",height:"16px"},".MuiSwitch-switchBase":{padding:"1px"},"&.MuiSwitch-root":{width:"57px",height:"39px",padding:"4px"},".MuiSwitch-switchBase.Mui-checked":{transform:"translateX(16px)"}},{primaryColor:f}=d.A.designSystem.colors,_=(0,s.Ay)(v.A)(()=>({...j})),b=(0,s.Ay)(_,{shouldForwardProp:e=>"customColor"!==e})(e=>{let{customColor:t}=e;return{".MuiSwitch-switchBase.Mui-checked":{color:t||f},".MuiSwitch-switchBase.Mui-checked+.MuiSwitch-track":{backgroundColor:t||f}}});var y=n(69241);let w=e=>{let{legend:t}=e;return(0,r.jsxs)("div",{className:g().layerLegend,children:[(0,r.jsx)("div",{className:g().legendBar,style:{background:t.gradient}}),(0,r.jsxs)("div",{className:g().legendValues,children:[(0,r.jsx)("div",{children:t.min}),(0,r.jsxs)("div",{children:[t.max,t.unit?" ".concat(t.unit):""]})]})]})},V=e=>{let{legend:t}=e,n=(0,l.c)("Maps.exploreLayers.legends"),i=t.categories[0].categoryKey,o=t.categories[t.categories.length-1].categoryKey;return(0,r.jsxs)("div",{className:g().layerLegend,children:[(0,r.jsx)("div",{className:(0,y.$)(g().legendBar,g().legendBarCategory),children:t.categories.map(e=>(0,r.jsx)("div",{className:g().legendCategoryColor,style:{background:e.color}},e.categoryKey))}),(0,r.jsxs)("div",{className:g().legendValues,children:[(0,r.jsx)("div",{children:n(i)}),(0,r.jsx)("div",{children:n(o)})]})]})},M=e=>{let{legend:t}=e;switch(t.type){case"category":return(0,r.jsx)(V,{legend:t});case"range":return(0,r.jsx)(w,{legend:t});default:return null}},L=e=>{let{layerConfig:t,mapOptions:n,updateMapOption:o}=e;if(!t.isAvailable)return null;let a=(0,l.c)("Maps.exploreLayers"),[s,c]=(0,i.useState)(null),d=void 0!==t.additionalInfo&&"projects"!==t.key,p=!0===n[t.key],C=void 0!==t.legend,u=p&&C,m=(0,i.useCallback)(e=>{c(e.currentTarget)},[]),v=()=>{c(null)},j=(0,i.useCallback)(e=>{let t=e.relatedTarget;(null==t?void 0:t.closest('[role="presentation"]'))||v()},[]),f=(0,y.$)(g().singleLayerOption,{[g().legendVisible]:u});return(0,r.jsxs)("div",{className:f,children:[(0,r.jsxs)("div",{className:g().layerControls,children:[(0,r.jsx)("div",{className:(0,y.$)(g().layerLabel,{[g().additionalInfo]:d}),children:(0,r.jsx)("p",{onMouseEnter:d?m:void 0,onMouseLeave:d?j:void 0,children:a("settingsLabels.".concat(t.key))})}),(0,r.jsx)("div",{className:g().switchContainer,children:(0,r.jsx)(b,{customColor:t.color,checked:p,onChange:(e,n)=>o(t.key,n)})})]}),u&&(0,r.jsx)(M,{legend:t.legend}),d&&(0,r.jsx)(h.Ay,{open:!!s,onClose:v,anchorEl:s,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"center"},disableRestoreFocus:!0,sx:{"& .MuiPaper-root":{borderRadius:"12px",marginTop:"-2px"}},onMouseLeave:v,children:(0,r.jsx)("div",{onMouseEnter:e=>e.stopPropagation(),children:(0,r.jsx)(x,{layerKey:t.key,anchorElement:s,setAnchorElement:c,additionalInfo:t.additionalInfo,handleMouseLeave:v})})})]})},H=e=>{let{config:t,mapOptions:n,updateMapOption:l}=e,o=(0,i.useMemo)(()=>t.filter(e=>e.isAvailable&&e.canShow),[t]);return(0,r.jsx)("div",{children:o.map(e=>(0,r.jsx)(L,{layerConfig:e,mapOptions:n,updateMapOption:l},e.key))})},I=e=>{let{groupKey:t,config:n,mapOptions:i,updateMapOption:o}=e,a=(0,l.c)("Maps.exploreLayers");return t?(e=>e.length>0&&e.some(e=>e.isAvailable&&e.canShow))(n)?(0,r.jsxs)("section",{className:g().exploreItemSection,children:[(0,r.jsx)("h2",{children:a("groups.".concat(t))}),(0,r.jsx)(H,{config:n,mapOptions:i,updateMapOption:o})]}):null:(0,r.jsx)("section",{className:g().exploreItemSection,children:(0,r.jsx)(L,{layerConfig:n,mapOptions:i,updateMapOption:o})})};var S=n(17754),N=n(32949),A=n.n(N);let P=e=>{let{id:t,setIsOpen:n,children:o}=e,s=(0,l.c)("Maps"),[c,d]=(0,i.useState)(!1),p=(0,i.useRef)(null),C=(0,i.useId)(),u=()=>{if(!p.current)return;let{scrollHeight:e,scrollTop:t,clientHeight:n}=p.current;d(10>=Math.abs(e-t-n))};return(0,i.useEffect)(()=>{let e=p.current;return e&&(e.addEventListener("scroll",u),u()),()=>{e&&e.removeEventListener("scroll",u)}},[]),(0,r.jsxs)("div",{id:t,className:A().container,role:"dialog","aria-labelledby":C,children:[(0,r.jsxs)("div",{className:A().header,children:[(0,r.jsxs)("div",{className:A().exploreLabel,children:[(0,r.jsx)(a,{}),(0,r.jsx)("p",{id:C,children:s("explore")})]}),(0,r.jsx)("button",{className:A().closeButton,onClick:()=>n(!1),"aria-label":s("exploreLayers.closeButton"),type:"button",children:(0,r.jsx)(S.A,{})})]}),(0,r.jsx)("div",{ref:p,className:(0,y.$)(A().scrollableContent,{[A().atBottom]:c}),children:o})]})};var T=n(35267);let k=e=>{let{id:t,mapOptions:n,updateMapOption:i,isMobile:l,setIsOpen:o}=e,a=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(I,{config:T.i.projects,mapOptions:n,updateMapOption:i}),(0,r.jsx)(I,{groupKey:"forests",config:T.i.forests,mapOptions:n,updateMapOption:i}),(0,r.jsx)(I,{groupKey:"biodiversity",config:T.i.biodiversity,mapOptions:n,updateMapOption:i}),(0,r.jsx)(I,{groupKey:"risks",config:T.i.risks,mapOptions:n,updateMapOption:i}),(0,r.jsx)(I,{groupKey:"soil",config:T.i.soil,mapOptions:n,updateMapOption:i})]});return l&&o?(0,r.jsx)(P,{id:t,setIsOpen:o,children:a}):(0,r.jsx)("div",{id:t,className:g().exploreMainContainer,children:(0,r.jsx)("div",{className:g().exploreItemsContainer,children:a})})},D=e=>{let{mapOptions:t,updateMapOption:n,isMobile:s}=e,c=(0,l.c)("Maps.exploreLayers"),[d,p]=(0,i.useState)(!1),C=(0,i.useId)();return(0,r.jsxs)("div",{className:g().mapFeatureExplorer,children:[(0,r.jsx)(u,{startIcon:(0,r.jsx)(a,{}),onClick:()=>p(!d),className:(0,y.$)(g().exploreButton,{active:d}),"aria-expanded":d,"aria-controls":d?C:void 0,children:(0,r.jsxs)("div",{className:g().exploreButtonContent,children:[(0,r.jsx)("span",{className:g().exploreTitle,children:c("title")}),!s&&(0,r.jsx)("p",{children:c("subtitle")})]})}),d&&!s&&(0,r.jsx)(k,{id:C,mapOptions:t,updateMapOption:n}),s&&(0,r.jsx)(o.A,{open:d,onClose:(e,t)=>{"backdropClick"===t&&p(!1)},children:(0,r.jsx)(k,{id:C,mapOptions:t,updateMapOption:n,isMobile:s,setIsOpen:p})})]})}},50956:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(37876),i=n(30420),l=n(39033),o=n(11504),a=n(56985);let s=e=>{let{height:t,width:n,color:s,children:c}=e,d=(0,a.T6)({variant:"popover",popupId:"abandonmentInfoPopover"});return(0,r.jsxs)("div",{...(0,l._k)(d),style:{cursor:"pointer"},children:[(0,r.jsx)(i.A,{height:t,width:n,color:s}),(0,r.jsx)(o.A,{...(0,l.dB)(d),anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"left"},onClick:e=>{e.stopPropagation()},children:c})]})}},51707:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(37876),i=n(14232),l=n(67203),o=n.n(l),a=n(96851),s=n(1500),c=n(28926),d=n(30171);function p(e){let{isMobile:t}=e,n=(0,a.c)("Common"),l=(0,a.c)("Maps"),p=(0,s.Ym)(),[C,u]=(0,i.useState)("EUR"),[h,m]=(0,i.useState)("DE"),[g,x]=(0,i.useState)(!1),v=(0,d.iH)(e=>"true"===e.embed),j=(0,d.Ro)(e=>e.tenantConfig.config.slug);(0,i.useEffect)(()=>
1{if("undefined"!=typeof Storage){if(localStorage.getItem("currencyCode")){let e=localStorage.getItem("currencyCode");e&&u(e)}if(localStorage.getItem("countryCode")){let e=localStorage.getItem("countryCode");e&&m(e)}}},[]);let f=t&&!v?"|":null;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:o().lngSwitcher,children:[v?null:(0,r.jsx)("div",{onClick:()=>{x(!0)},className:o().languageModalButton,children:"\uD83C\uDF10 ".concat(p?p.toUpperCase():""," • ").concat(C)}),f,"ttc"!==j&&"planet"!==j||v?null:(0,r.jsx)("a",{rel:"noopener noreferrer",href:"https://www.thegoodshop.org/de/shop/",target:"_blank",children:n("shop")}),f,(0,r.jsx)("a",{rel:"noopener noreferrer",href:"https://status.pp.eco/",target:v?"_top":"_blank",children:n("status")}),t&&"|",!v&&(0,r.jsx)("a",{rel:"noopener noreferrer",href:"https://pp.eco/legal/".concat(p,"/imprint"),target:"_blank",children:n("imprint")}),f,!v&&(0,r.jsx)("a",{rel:"noopener noreferrer",href:"https://pp.eco/legal/".concat(p,"/privacy"),target:"_blank",children:n("privacy")}),f,!v&&(0,r.jsx)("a",{rel:"noopener noreferrer",href:"https://pp.eco/legal/".concat(p,"/terms"),target:"_blank",children:n("terms")}),f,(0,r.jsx)("div",{className:o().mapCreditsContainer,children:(0,r.jsxs)("div",{className:o().popover,children:[(0,r.jsx)("span",{className:o().mapCreditsTrigger,children:n("mapInfo")}),(0,r.jsxs)("div",{className:o().popoverContent,style:{left:"-270px",top:"-240px"},children:[(0,r.jsx)("b",{children:l("baseLayer")}),(0,r.jsxs)("p",{children:["Esri Community Maps Contributors, Esri, HERE, Garmin, METI/NASA, USGS"," "]}),(0,r.jsx)("p",{children:"World Imagery: Esri, Maxar, Earthstar Geographics, CNES/Airbus DS, USDA FSA, USGS, Aerogrid, IGN, IGP, and the GIS User Community"}),(0,r.jsx)("b",{children:l("satelliteImagery")}),(0,r.jsx)("p",{children:"Image courtesy of Planet Labs, Inc"}),(0,r.jsx)("p",{children:"Copernicus Sentinel data 2017-2021"}),(0,r.jsx)("p",{children:"Landsat-8 image courtesy of the U.S. Geological Survey"})]})]})}),t&&"|",!v&&(0,r.jsx)("a",{rel:"noopener noreferrer",href:"mailto:[email protected]",target:"_blank",children:n("contact")}),v&&(0,r.jsxs)("span",{children:["Powered by",(0,r.jsx)("a",{href:"https://www.plant-for-the-planet.org",target:"_top",children:" Plant-for-the-Planet"})]})]}),(0,r.jsx)(c.A,{openModal:g,handleModalClose:()=>{x(!1)},setSelectedCurrency:u,selectedCountry:h,setSelectedCountry:m})]})}},54134:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(37876),i=n(14232),l=n(35088),o=n.n(l),a=n(96823),s=n(51707),c=n(69241),d=n(30171);let p=e=>{let{children:t,isMobile:n}=e,l=(0,d.iH)(e=>"true"===e.embed),p=(0,d.iH)(e=>e.showProjectList),C=(0,d.iH)(e=>e.showProjectDetails),u=(0,d.iH)(e=>e.isContextLoaded),h=(0,d.kH)(e=>e.isImpersonationModeOn),m=(0,d.y3)(e=>e.page),g=(0,d.y3)(e=>"map"===e.selectedMode),x=(0,d.y3)(e=>e.setSelectedMode);(0,i.useEffect)(()=>{l&&u&&("project-details"===m&&"false"===C&&x("map"),"project-list"===m&&"false"===p&&x("map"))},[m,l,u,C,p]);let v=(0,c.$)(o().mobileProjectsLayout,{[o().mapMode]:g,[o().embedModeMobile]:l,[o().impersonationMobile]:h});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("main",{className:v,children:g?(0,r.jsx)("section",{className:o().mobileMapContainer,children:(0,r.jsx)(a.A,{isMobile:n})}):(0,r.jsx)("section",{className:o().mobileContentContainer,children:t})}),(0,r.jsx)(s.A,{isMobile:n})]})}},54672:e=>{e.exports={mobileInfoSwiper:"MobileInfoSwiper_mobileInfoSwiper__zVOme",swiperContentContainer:"MobileInfoSwiper_swiperContentContainer__o3LPg",logoContainer:"MobileInfoSwiper_logoContainer__5_50U",slideContainer:"MobileInfoSwiper_slideContainer__nd9vV"}},54949:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(37876);let i=()=>(0,r.jsxs)("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_4494_407)",children:[(0,r.jsx)("path",{d:"M4.25317 11.5627H10.9985L12.488 15.5826H2.76367L4.25317 11.5627Z",fill:"#F2F8F6",stroke:"#007A49",strokeWidth:"0.522734",strokeLinecap:"square",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M11.7593 0.581736C11.9789 0.740058 11.9726 0.911951 11.9494 1.00032C11.8685 1.30746 11.4109 1.3659 11.3915 1.36824C11.2088 1.41995 10.2459 2.05849 9.85644 2.3735C9.94542 2.42929 10.
10313 2.487 10.1134 2.54617C11.2444 3.36166 11.8126 4.56756 11.8505 6.23277C11.8979 8.31231 10.9131 9.31958 9.66639 10.5948L9.47695 10.7889C8.20388 12.0961 7.96045 13.2503 7.95814 13.2618L7.82812 13.9094L7.52858 13.3215C7.38716 13.0435 7.22998 12.718 7.06653 12.3796C6.70567 11.6324 6.29666 10.7855 5.98015 10.3018C5.94654 10.2504 5.89146 10.1754 5.82126 10.0793C5.20107 9.23101 3.55364 6.97757 4.22716 4.83747C4.63816 3.53151 5.84565 2.5187 7.81607 1.82716L8.27139 1.66736L8.10762 2.11839C8.07552 2.20682 8.04526 2.29652 8.01671 2.38755C8.11755 2.16891 8.23501 1.9951 8.37144 1.87962C9.19132 0.898278 10.0905 -0.0216468 11.2613 0.355682C11.4858 0.428039 11.6487 0.501981 11.7593 0.581736Z",fill:"#007A49"}),(0,r.jsx)("path",{d:"M7.73361 13.219C7.73361 13.219 7.96887 12.0113 9.31275 10.6313C10.6566 9.25137 11.6693 8.32226 11.6218 6.23882C11.58 4.40194 10.8888 3.20084 9.50836 2.43292C9.50773 2.43257 9.50714 2.43219 9.50659 2.4318C9.38706 2.34567 11.131 1.17078 11.3649 1.14266C11.5998 1.11441 12.1395 0.878297 11.1905 0.572436C10.2414 0.266574 9.47012 0.91946 8.53443 2.04137C7.32289 3.00458 7.73872 9.49374 7.73872 9.49374C7.73872 9.49374 6.80535 5.0359 7.8924 2.042C1.29827 4.35628 5.70619 9.46488 6.1728 10.1779C6.6394 10.891 7.27109 12.3097 7.73361 13.219ZM7.91797 14.5883L7.32431 13.4249C7.18225 13.1456 7.02435 12.8188 6.86018 12.4788C6.5023 11.7378 6.09668 10.8979 5.7882 10.4265C5.75603 10.3773 5.70318 10.3056 5.63599 10.2137C4.99734 9.34013 3.30086 7.01961 4.00871 4.77044C4.44249 3.39211 5.69805 2.32978 7.74051 1.61296L8.54487 1.33066C9.30554 0.48746 10.2039 -0.224327 11.3329 0.139535C11.5806 0.219363 11.7644 0.303848 11.8947 0.397817C12.2461 0.651164 12.1955 0.966935 12.1716 1.05768C12.0862 1.38228 11.7436 1.54428 11.4594 1.58885C11.2632 1.67014 10.6547 2.06589 10.2481 2.36181C11.4419 3.22141 12.0405 4.48623 12.0801 6.22747C12.1296 8.40245 11.1153 9.43998 9.83111 10.7536L9.64197 10.9473C8.42378 12.1982 8.18545 13.296 8.18318 13.3069L7.91797 14.5883Z",fill:"#F2F8F6"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_4494_407",children:(0,r.jsx)("rect",{width:"15.5946",height:"15.8363",fill:"white",transform:"translate(0.5)"})})})]});var l=n(65383),o=n.n(l),a=n(96851);let s=()=>{let e=(0,a.c)("ProjectDetails");return(0,r.jsx)("div",{className:o().treeMapperLabelContainer,children:(0,r.jsx)("div",{className:o().treeMapperLabelSubContainer,children:e.rich("treeMapperBrand",{iconText:e=>(0,r.jsxs)("div",{className:o().treeMapperLabel,children:[(0,r.jsx)(i,{}),e]})})})})}},59967:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(37876),i=n(14232),l=n(65383),o=n.n(l),a=n(96851),s=n(1500),c=n(72627),d=n(69241);let p=e=>{let{totalTreesCount:t,plantedSpecies:n,plantProject:l}=e,p=(0,a.c)("ProjectDetails"),C=(0,s.Ym)(),u=(0,i.useCallback)(e=>{let n=e/t*100;return Number.isInteger(n)?n:n.toFixed(1)},[t]);return(0,r.jsxs)("div",{className:(0,d.$)("species-container",o().speciesContainer),children:[(0,r.jsx)("h2",{children:p("speciesCount",{count:n.length})}),(0,r.jsx)("div",{className:o().speciesSubContainer,children:null==n?void 0:n.map(e=>(0,r.jsxs)("div",{className:o().speciesList,children:[(0,r.jsx)("p",{className:o().speciesName,children:(e=>"proj_eKBbIt7Bzavu9o7xzCAqjS2t"===l?e.scientificName||e.otherSpecies:e.scientificName)(e)}),(0,r.jsxs)("div",{className:o().treeMetrics,children:[(0,r.jsx)("p",{children:(0,c.OG)(C,e.treeCount)}),(0,r.jsx)("p",{children:"".concat(u(e.treeCount),"%")})]})]},e.id))})]})}},60851:e=>{e.exports={tabsContainer:"ProjectMapTabs_tabsContainer__08syO",singleTabOption:"ProjectMapTabs_singleTabOption__XJbE7",selected:"ProjectMapTabs_selected__sHcXE",showSeparator1:"ProjectMapTabs_showSeparator1__IShEs",showSeparator2:"ProjectMapTabs_showSeparator2___0fUf",hideSeparator:"ProjectMapTabs_hideSeparator__wa7JB"}},61088:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(37876),i=n(27888),l=n(87109);n(30346),n(9572);var o=n(54949),a=n(54672),s=n.n(a);let c=function(e){let{slides:t,uniqueKey:n}=e;return(0,r.jsx)("div",{className:s().mobileInfoSwiper,children:(0,r.jsx)("div",{className:s().swiperContentContainer,children:(0,r.jsxs)(i.RC,{pagination:!0,modules:[l.dK],autoHeight:!0,observer:!0,observeParents:!0,spaceBetween:40,children:[t.map((e,t)=>(0,r.jsx)(i.qr,{children:(0,r.jsx)("div",{className:s().slideContainer,children:e})},t)),(0,r.jsx)("div",{className:s().logoContainer,children:(0,r.jsx)(o.A,{})})]},n)})})}},62643:e=>{e.exports={mapFeatureExplorer:"MapFeatureExplorer_mapFeatureExplorer__XxqMl",exploreButton:"MapFeatureExplorer_exploreButton__gAs7i",exploreButtonContent:"MapFeatureExplorer_exploreButtonContent__LNDwT",exploreTitle:"MapFeatureExplorer_exploreTitle__oZ_Vi",exploreMainContainer:"MapFeatureExplorer_exploreMainContainer__o_yx2",exploreItemsContainer:"MapFeatureExplorer_exploreItemsContainer__thsm_",exploreItemSection:"MapFeatureExplorer_exploreItemSection__xnNl1",singleLayerOption:"MapFeatureExplorer_singleLayerOption__S_Lue",layerLabel:"MapFeatureExplorer_layerLabel__5xUzy",additionalInfo:"MapFeatureExplorer_additionalInfo__Fw3d9",legendVisible:"MapFeatureExplorer_legendVisible__ZoWRj",layerControls:"MapFeatureExplorer_layerControls__0tEZ2",layerLegend:"MapFeatureExplorer_layerLegend__gpNVJ",legendBar:"MapFeatureExplorer_legendBar__gOfAt",legendBarSimple:"MapFeatureExplorer_legendBarSimple__j_Sn4",legendBarCategory:"MapFeatureExplorer_legendBarCategory__wyVPQ",legendCategoryColor:"MapFeatureExplorer_legendCategoryColor__vwwZw",legendValues:"MapFeatureExplorer_legendValues__M0FB3",layerInfoPopupContainer:"MapFeatureExplorer_layerInfoPopupContainer__Am61q",label:"MapFeatureExplorer_label__WGwPZ",source:"MapFeatureExplorer_source__o1CpN",switchContainer:"MapFeatureExplorer_switchContainer___ATUH",exploreDescription:"MapFeatureExplorer_exploreDescription__VVXLV"}},63211:(e,t,n)=>{"use strict";n.d(t,{A:()=>I});var r=n(37876);
1let i=function(e){let{color:t="#2f3336"}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:(0,r.jsx)("path",{fill:t,d:"M448 56v95.005c0 21.382-25.851 32.09-40.971 16.971l-27.704-27.704-107.242 107.243c-4.686 4.686-12.284 4.686-16.971 0l-22.627-22.627c-4.686-4.686-4.686-12.284 0-16.971l107.243-107.243-27.704-27.704C296.905 57.851 307.613 32 328.995 32H424c13.255 0 24 10.745 24 24zM175.917 264.485L68.674 371.728 40.97 344.024C25.851 328.905 0 339.613 0 360.995V456c0 13.255 10.745 24 24 24h95.005c21.382 0 32.09-25.851 16.971-40.971l-27.704-27.704 107.243-107.243c4.686-4.686 4.686-12.284 0-16.971l-22.627-22.627c-4.687-4.685-12.285-4.685-16.971.001z"})})};var l=n(46954),o=n(14232),a=n(51865),s=n.n(a),c=n(39712),d=n(69241),p=n(79807),C=n.n(p);let u=e=>{let{imageURL:t,imageDescription:n,isMobile:i,isModalOpen:l,totalImages:o,currentImage:a}=e,s=l&&i,c=n&&!s;return(0,r.jsxs)("div",{className:(0,d.$)("single-carousel-image",C().singleCarouselImage,{[C().mobileModal]:s}),style:{background:"linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(".concat(t,")")},children:[c&&(0,r.jsx)("div",{className:(0,d.$)("image-description",C().imageDescription,{[C().modalOpen]:l}),children:n}),l&&(0,r.jsx)("div",{role:"status","aria-label":"Image ".concat(a," of ").concat(o),children:"".concat(a," / ").concat(o)})]})};var h=n(7642);let{colors:m}=h.A.designSystem,g=/^https:\/\//i,x={HEIGHT:3.35,BOTTOM_POSITION:"6px",WIDTH:"93%",BACKGROUND_OPACITY:m.mediumGreyTransparent70},v={background:m.leafGreen,height:x.HEIGHT},j={height:x.HEIGHT,background:x.BACKGROUND_OPACITY,overflow:"hidden"},f=e=>{let{images:t,type:n,imageSize:i,imageHeight:l,isMobile:a,isModalOpen:d,mode:p}=e,C="manual"===p,h=C?e.currentIndex:0,m=C?e.setCurrentIndex:void 0,f=(0,o.useMemo)(()=>d?{display:"none"}:{bottom:x.BOTTOM_POSITION,width:x.WIDTH},[d]),_=(0,o.useMemo)(()=>0===t.length?[]:t.map((e,t)=>(null==e?void 0:e.image)?{imageURL:g.test(e.image)?e.image:(0,c.A)(n,i,e.image),description:e.description,imageIndex:t}:null).filter(e=>null!==e),[t,n,i]),b={stories:(0,o.useMemo)(()=>_.map(e=>{let{imageURL:t,description:n,imageIndex:i}=e;return{content:()=>(0,r.jsx)(u,{imageURL:t,imageDescription:n,isMobile:a,isModalOpen:d,totalImages:_.length,currentImage:i+1})}}),[_,a,d]),width:"100%",height:l,progressContainerStyles:f,progressStyles:v,progressWrapperStyles:j};return C?(0,r.jsx)(s(),{...b,defaultInterval:0x3b9ac9ff,loop:!1,currentIndex:h,onStoryStart:e=>null==m?void 0:m(e)}):(0,r.jsx)(s(),{...b,defaultInterval:7e3,loop:!0})};var _=n(96851),b=n(20085);let y=e=>{let{color:t}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",fill:"none",children:[(0,r.jsx)("circle",{cx:"32",cy:"32",r:"30",fill:t,stroke:"white",strokeWidth:"4"}),(0,r.jsx)("path",{d:"M44.5996 33.4C45.3728 33.4 45.9996 32.7732 45.9996 32C45.9996 31.2268 45.3728 30.6 44.5996 30.6V33.4ZM19.8097 31.0101C19.2629 31.5568 19.2629 32.4432 19.8097 32.9899L28.7192 41.8995C29.2659 42.4462 30.1524 42.4462 30.6991 41.8995C31.2458 41.3528 31.2458 40.4663 30.6991 39.9196L22.7795 32L30.6991 24.0804C31.2458 23.5337 31.2458 22.6472 30.6991 22.1005C30.1524 21.5538 29.2659 21.5538 28.7192 22.1005L19.8097 31.0101ZM44.5996 32V30.6H20.7996V32V33.4H44.5996V32Z",fill:"white"})]})},w=e=>{let{color:t}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",fill:"none",children:[(0,r.jsx)("circle",{cx:"32",cy:"32",r:"30",transform:"rotate(180 32 32)",fill:t,stroke:"white",strokeWidth:"4"}),(0,r.jsx)("path",{d:"M19.3984 30.6C18.6252 30.6 17.9984 31.2268 17.9984 32C17.9984 32.7732 18.6252 33.4 19.3984 33.4L19.3984 30.6ZM44.1884 32.9899C44.7351 32.4432 44.7351 31.5568 44.1884 31.01L35.2788 22.1005C34.7321 21.5538 33.8457 21.5538 33.2989 22.1005C32.7522 22.6472 32.7522 23.5337 33.2989 24.0804L41.2185 32L33.2989 39.9196C32.7522 40.4663 32.7522 41.3528 33.2989 41.8995C33.8457 42.4462 34.7321 42.4462 35.2788 41.8995L44.1884 32.9899ZM19.3984 32L19.3984 33.4L43.1984 33.4L43.1984 32L43.1984 30.6L19.3984 30.6L19.3984 32Z",fill:"white"})]})},V=e=>{let{direction:t,disabled:n,onClick:i,className:l}=e,{colors:o}=h.A.designSystem,a=(0,_.c)("ProjectDetails");return(0,r.jsx)("button",{className:l,onClick:i,disabled:n,"aria-label":"".concat(a("prev"===t?"previousImage":"nextImage")),children:(0,r.jsx)("prev"===t?y:w,{color:n?o.mediumGrey:o.primaryColor})})};var M=n(17754);let L={display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",gap:"20px"},H=e=>{let{currentIndex:t,setCurrentIndex:n,isModalOpen:i,setIsModalOpen:o,images:a,isMobile:s,type:c}=e,d=(0,_.c)("Common"),p=0===t,u=t===a.length-1,h=(e,i)=>(0,r.jsx)(V,{direction:e,disabled:"prev"===e&&p||"next"===e&&u,onClick:()=>n(t+("prev"===e?-1:1)),className:i});return(0,r.jsx)(b.A,{open:i,"aria-labelledby":"simple-modal-title","aria-describedby":"simple-modal-description",sx:L,children:(0,r.jsxs)(r.Fragment,{children:[!s&&h("prev",C().sliderButton),(0,r.jsxs)("div",{className:C().expandedImageSliderContainer,children:[(0,r.jsx)(l.A,{label:d("close"),onClick:()=>o(!1),className:C().closeModalButton,children:(0,r.jsx)(M.A,{width:s?10:18})}),s&&h("prev",C().prevMobileSliderButton),(0,r.jsx)(f,{images:a,type:c,imageSize:"large",imageHeight:s?220:600,isMobile:s,isModalOpen:!0,mode:"manual",currentIndex:t,setCurrentIndex:n}),s&&h("next",C().nextMobileSliderButton)]}),!s&&h("next",C().sliderButton)]})})},I=e=>{let{images:t,imageSize:n,type:a,isMobile:s,allowFullView:c=!0}
1=e,[p,u]=(0,o.useState)(!1),[m,g]=(0,o.useState)(0),x=(0,_.c)("ProjectDetails"),v=(0,o.useMemo)(()=>t.filter(e=>(null==e?void 0:e.image)&&""!==e.image.trim()),[t]);return 0===v.length?null:(0,r.jsxs)(r.Fragment,{children:[!p&&(0,r.jsxs)("div",{className:(0,d.$)("image-slider-container",C().imageSliderContainer),children:[c&&(0,r.jsx)(l.A,{label:x("expandImages"),onClick:()=>u(!0),children:(0,r.jsx)(i,{color:h.A.designSystem.colors.white})}),(0,r.jsx)(f,{images:v,type:a,imageSize:n,imageHeight:192,isMobile:s,isModalOpen:!1,mode:"auto"})]}),c&&(0,r.jsx)(H,{currentIndex:m,images:v,setCurrentIndex:g,isModalOpen:p,setIsModalOpen:u,isMobile:s,type:a})]})}},64623:(e,t,n)=>{"use strict";n.d(t,{O:()=>u});var r=n(37876),i=n(96851),l=n(7642);let o=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[(0,r.jsx)("g",{clipPath:"url(#clip0_898_165)",children:(0,r.jsx)("path",{d:"M15.7828 13.8336L12.667 10.7183C12.5972 10.6486 12.5143 10.5934 12.4231 10.5559C12.3319 10.5183 12.2342 10.4991 12.1356 10.4994H11.6303C12.6481 9.19537 13.1301 7.55235 12.978 5.90531C12.8259 4.25827 12.0512 2.73124 10.8119 1.63559C9.57262 0.539937 7.96199 -0.0418262 6.30847 0.00892068C4.65494 0.0596676 3.08303 0.739103 1.91326 1.90869C0.743491 3.07828 0.0639485 4.64993 0.0131936 6.3032C-0.0375613 7.95647 0.544294 9.56684 1.64012 10.806C2.73594 12.0451 4.26321 12.8196 5.91051 12.9717C7.55782 13.1237 9.20109 12.6418 10.5053 11.6242V12.1294C10.505 12.228 10.5242 12.3257 10.5618 12.4169C10.5994 12.508 10.6546 12.5909 10.7242 12.6607L13.84 15.776C13.9094 15.8458 13.992 15.9012 14.0829 15.939C14.1738 15.9768 14.2713 15.9963 14.3697 15.9963C14.4682 15.9963 14.5656 15.9768 14.6565 15.939C14.7474 15.9012 14.83 15.8458 14.8994 15.776L15.7836 14.8919C15.9216 14.7503 15.9988 14.5603 15.9986 14.3626C15.9984 14.1648 15.921 13.975 15.7828 13.8336ZM6.50023 10.4994C5.70911 10.4994 4.93575 10.2648 4.27795 9.82534C3.62015 9.38588 3.10746 8.76127 2.80471 8.03048C2.50196 7.29969 2.42275 6.49555 2.57709 5.71975C2.73143 4.94395 3.11239 4.23133 3.6718 3.672C4.23121 3.11268 4.94395 2.73178 5.71987 2.57746C6.49579 2.42315 7.30006 2.50235 8.03096 2.80505C8.76187 3.10775 9.38658 3.62036 9.82611 4.27806C10.2656 4.93575 10.5002 5.70899 10.5002 6.49999C10.5005 7.02525 10.3971 7.54541 10.1962 8.03074C9.99526 8.51607 9.70063 8.95704 9.32915 9.32846C8.95767 9.69988 8.51663 9.99446 8.03123 10.1954C7.54582 10.3963 7.02558 10.4996 6.50023 10.4994Z",fill:l.A.designSystem.colors.coreText})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_898_165",children:(0,r.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]}),a=e=>{let{width:t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,viewBox:"0 0 16 16",fill:"none",children:(0,r.jsx)("path",{d:"M15.4742 3.16924L9.74099 9.11771V14.3815C9.74099 14.6568 9.57727 14.9026 9.3317 14.9977L6.86021 15.9579C6.53592 16.0858 6.17071 15.9121 6.05107 15.5745C6.02588 15.5024 6.01014 15.4237 6.01014 15.3451V9.10788L0.500443 3.13974C-0.182759 2.40561 -0.163869 1.2323 0.541372 0.521106C0.875102 0.186811 1.31903 0 1.78184 0H14.218C15.2035 0 16 0.832458 16 1.855C16 2.34661 15.8111 2.81856 15.4742 3.16924Z",fill:l.A.designSystem.colors.coreText})})};var s=n(46954),c=n(69277),d=n.n(c),p=n(69241),C=n(30171);let u=e=>{let{setIsFilterOpen:t,isFilterOpen:n,isMobile:l}=e,c=(0,i.c)("AllProjects"),u=(0,C.y3)(e=>e.selectedMode),h=(0,C.Iw)(e=>e.showDonatableProjects||e.selectedClassification.length>0),m=(0,C.Iw)(e=>e.isSearching),g=(0,C.Iw)(e=>e.setIsSearching);return(0,r.jsxs)("div",{className:(0,p.$)({[d().iconsContainerMobile]:l,[d().iconsContainer]:!l,[d().mapModeButtons]:l&&"map"===u}),children:[(0,r.jsx)(s.A,{label:c("searchProject"),onClick:()=>g(!m),children:(0,r.jsx)(o,{})}),(0,r.jsxs)("div",{className:d().buttonContainer,children:[h&&(0,r.jsx)("div",{className:d().activeIndicator}),(0,r.jsx)(s.A,{label:c("filterProjects"),onClick:()=>t(!n),children:(0,r.jsx)(a,{width:"16px"})})]})]})}},64973:(e,t,n)=>{"use strict";n.d(t,{f:()=>s});var r=n(14232),i=n(37872),l=n(30171),o=n(96851),a=n(62070);let s=()=>{let e=(0,o.c)("Country"),{projects:t,showDonatableProjects:n,selectedClassification:s,debouncedSearchValue:c}=(0,l.Iw)((0,i.k)(e=>({projects:e.projects,showDonatableProjects:e.showDonatableProjects,selectedClassification:e.selectedClassification,debouncedSearchValue:e.debouncedSearchValue}))),d=(0,r.useCallback)(t=>e(t.toLowerCase()),[e]),p=(0,r.useMemo)(()=>{let e=t||[];if(n&&(e=(0,a.IL)(e)),s.length>0&&(e=(0,a.yd)(e,s)),c){var r;e=null!=(r=(0,a.md)(e,c,d))?r:e}return e},[t,n,s,c,d]);return{filteredProjects:p,filteredProjectCount:p.length}}},65383:e=>{e.exports={interventionInfoSection:"InterventionInfo_interventionInfoSection__55WGw",interventionHeaderContainer:"InterventionInfo_interventionHeaderContainer__6tYb1",tree
1Count:"InterventionInfo_treeCount__rHhuN",interventionTitle:"InterventionInfo_interventionTitle__baDjD",hid:"InterventionInfo_hid__Bwcr2",plantingDetailsGroup:"InterventionInfo_plantingDetailsGroup__HBoOT",otherInterventionGroup:"InterventionInfo_otherInterventionGroup__jzIQK",otherInterventionDetailsItem:"InterventionInfo_otherInterventionDetailsItem__PRmyj",plantingDetailsItem:"InterventionInfo_plantingDetailsItem__iiFU3",label:"InterventionInfo_label__3Be0i",showWholeArea:"InterventionInfo_showWholeArea__fuUpb",data:"InterventionInfo_data__fisen",speciesContainer:"InterventionInfo_speciesContainer__uJhpS",speciesSubContainer:"InterventionInfo_speciesSubContainer__70gRj",speciesList:"InterventionInfo_speciesList__2ozP1",speciesName:"InterventionInfo_speciesName__kO1TT",treeMetrics:"InterventionInfo_treeMetrics__Jzndi",sampleTreesContainer:"InterventionInfo_sampleTreesContainer__QDUBk",mainLabel:"InterventionInfo_mainLabel__zMOUW",sampleTreeListContainer:"InterventionInfo_sampleTreeListContainer__DC5Zo",sampleTreeContainer:"InterventionInfo_sampleTreeContainer__0o5gE",scientificNameContainer:"InterventionInfo_scientificNameContainer__SihQH",scientificName:"InterventionInfo_scientificName__KiaYi",treeMeasurement:"InterventionInfo_treeMeasurement__9igPJ",treeMapperLabelContainer:"InterventionInfo_treeMapperLabelContainer__A5mKP",treeMapperLabelSubContainer:"InterventionInfo_treeMapperLabelSubContainer__uoL0n",treeMapperLabel:"InterventionInfo_treeMapperLabel__ZL4X9",singleTreeInfoHeader:"InterventionInfo_singleTreeInfoHeader__Uvk1d",singleTreeImage:"InterventionInfo_singleTreeImage__WGr_T",plantInfoCard:"InterventionInfo_plantInfoCard__B9JzK",interventionMetadataGroup:"InterventionInfo_interventionMetadataGroup__EDyx_",interventionMetaItem:"InterventionInfo_interventionMetaItem__fnON1"}},65918:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(37876),i=n(14232),l=n(96851),o=n(69277),a=n.n(o),s=n(62070),c=n(7642);let d=e=>{let{width:t,height:n}=e,{colors:i}=c.A.designSystem;return(0,r.jsxs)("svg",{width:t,height:n,viewBox:"1 1 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M14.5 9C14.5 9 13.7609 8 11.9999 8C8.49998 8 8.49998 12 11.9999 12C15.4999 12 15.5 16 12 16C10.5 16 9.5 15 9.5 15",stroke:i.coreText,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M12 7V17",stroke:i.coreText,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})};var p=n(69241),C=n(30171);let u={"restoration-tree-planting":(0,r.jsx)(e=>{let{color:t="currentColor",width:n,height:i}=e;return(0,r.jsxs)("svg",{viewBox:"4 4 32 32",width:n,height:i,xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("g",{clipPath:"url(#clip0_1568_11606)",children:(0,r.jsx)("path",{d:"M21.9965 23.6068C21.9224 23.6768 21.8647 23.7263 21.8111 23.7757C18.7291 26.8317 20.9005 24.6406 17.8144 27.6925C17.6743 27.8326 17.6372 27.9396 17.7114 28.1332C18.1482 29.2906 18.0039 30.4067 17.3777 31.4446C17.0769 31.943 16.6772 32.3837 16.3105 32.8409C16.158 33.0344 15.9355 33.0962 15.7089 32.9932C15.4246 32.8656 15.1321 32.7338 14.8807 32.5484C13.4551 31.4899 12.1943 30.2585 11.193 28.784C10.6904 28.0426 10.7274 27.8367 11.3949 27.2559C12.1737 26.5764 13.0389 26.0739 14.0896 25.9586C14.6788 25.8927 15.2474 25.9833 15.7954 26.1933C15.9438 26.251 16.0385 26.2386 16.1539 26.1192C19.2318 23.0096 17.0604 25.1554 20.1424 22.05C20.1877 22.0047 20.2289 21.947 20.2619 21.9099C19.6727 21.218 19.0835 20.5384 18.5149 19.8506C18.2965 19.587 18.1152 19.2987 17.9133 19.0227C17.8309 18.9115 17.8226 18.8292 17.9339 18.718C19.3678 17.2929 20.7769 15.8431 22.2355 14.4428C23.8342 12.9107 25.779 12.4411 27.9298 12.8489C28.6797 12.9889 29.4008 13.2649 30.1301 13.4914C30.229 13.5202 30.3402 13.6191 30.3814 13.7138C30.8388 14.7805 31.1354 15.8884 31.1766 17.0499C31.2426 18.8745 30.6451 20.4519 29.3637 21.7534C27.9834 23.1579 26.5783 24.5418 25.1898 25.938C25.0703 26.0574 24.9797 26.078 24.8478 25.9709C23.999 25.2749 23.1461 24.5829 22.2932 23.8869C22.1943 23.8045 22.1078 23.7139 21.9924 23.6068H21.9965ZM15.9273 31.494C16.7225 30.7403 17.0686 29.8754 16.7637 28.8375C16.4671 27.8284 15.7625 27.223 14.7283 27.0583C13.7971 26.91 13.0431 27.2724 12.4085 27.9726C13.7518 28.9899 14.9096 30.1514 15.9314 31.494H15.9273Z",fill:t})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1568_11606",children:(0,r.jsx)("rect",{height:"20.3338",width:"20.3338",fill:t,transform:"translate(10.8516 12.7087)"})})})]})},{width:"20",height:"20"}),agroforestry:(0,r.jsx)(e=>{let{color:t="currentColor",width:n,height:i}=e;return(0,r.jsx)("svg",{viewBox:"4 4 32 32",width:n,height:i,xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.806 30.1148H30.1225V28.1703H30.5472C31.952 28.1703 33.0911 26.877 33.0911 25.6287L32.2423 25.6281C31.1453 25.6281 30.2107 26.322 29.8538 27.2943C29.8059 27.2756 29.7534 27.2645 29.6991 27.2645C29.6991 25.8604 28.56 24.7223 27.1546 24.7223H25.8824V25.146C25.8824 26.5502 27.0214 27.6882 28.4268 27.6882H29.275V30.1148H21.8806L21.7526 26.0821L23.7048 23.1828C24.2679 23.5312 24.9314 23.7325 25.
16417 23.7325C27.6762 23.7325 29.3258 22.0844 29.3258 20.0517C29.3258 18.1819 27.9303 16.6377 26.1225 16.4025V16.3925C26.1225 13.656 23.9022 11.4377 21.1633 11.4377C18.4243 11.4377 16.322 13.5393 16.2081 16.1749C14.7402 16.5431 13.6526 17.8702 13.6526 19.4512C13.6526 21.3164 15.1661 22.8291 17.0335 22.8291C17.6533 22.8291 18.2345 22.6622 18.7339 22.371L20.5908 24.8058L20.4833 30.1148H14.6912V27.5616H15.2034C16.8968 27.5616 18.2689 26.1901 18.2689 24.4988V24.4976H17.2455C15.8997 24.4976 14.7578 25.3637 14.3454 26.5683C14.2934 26.5502 14.2379 26.5403 14.1801 26.5403C14.1801 24.8478 12.8074 23.4763 11.1134 23.4763H9.58008V23.987C9.58008 25.6794 10.9528 27.0509 12.6467 27.0509H13.6689V30.1148H11.7997C11.5176 30.1148 11.2886 30.3436 11.2886 30.6255C11.2886 30.9074 11.5176 31.1361 11.7997 31.1361H31.806C32.0881 31.1361 32.3171 30.9074 32.3171 30.6255C32.3171 30.3436 32.0881 30.1148 31.806 30.1148ZM22.1563 21.2481C22.3782 21.8942 22.7749 22.4585 23.29 22.8857L21.7521 24.5887L21.6422 21.3252C21.8163 21.3088 21.988 21.2826 22.1563 21.2481ZM19.1924 22.0512C19.4839 21.809 19.7345 21.5195 19.9308 21.1933C20.1714 21.2545 20.4185 21.2989 20.6714 21.324L20.5908 23.5469L19.1918 22.0512H19.1924Z",fill:t})})},{width:"20",height:"20"}),"natural-regeneration":(0,r.jsx)(e=>{let{color:t="currentColor",width:n,height:i}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"4 4 32 32",width:n,height:i,children:(0,r.jsx)("path",{d:"M23.1 23.6c1.2.4 2.9 1.1 5.1-1.3 2.8-3 3.3-6.5 3.3-7.9 0-.2-.2-.4-.4-.4-1.3.1-5.1.3-8 3.3-2.2 2.3-1.8 3.8-1.4 4.4 1.5-1.8 3.7-3.5 6.3-4.5-.9.6-2.9 2.1-4.5 3.7-1.3 1.3-2.4 2.8-3.1 4.4-.4-1.1-1.2-2.4-2.3-3.7-1.5-1.7-3.5-3.3-4.3-3.8 2.6 1.1 4.6 2.8 6.1 4.6.5-.7.9-2-1.2-4.4-2.7-3.1-6.4-3.4-7.7-3.6-.2 
10-.4.2-.4.4 0 1.3.3 4.9 3 7.9 1.9 2.1 3.4 1.9 4.6 1.5.4.6 1.4 2 1.4 3.9-2.2.3-4.1 1.2-5.1 2.6-.2.3 0 .7.3.7h11.9c.4 0 .5-.4.3-.7-1.1-1.4-3-2.4-5.3-2.6-.2-2.4.8-3.7 1.4-4.5z",style:{fill:"".concat(t)}})})},{width:"20",height:"20"}),"managed-regeneration":(0,r.jsx)(e=>{let{color:t="currentColor",width:n,height:i}=e;return(0,r.jsxs)("svg",{viewBox:"4 4 32 32",width:n,height:i,xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_2703_1330)",children:[(0,r.jsx)("path",{d:"M19.8064 17.888H21.1936V16.5642H19.8064V17.888ZM24.86 17.888H26.2492V16.5642H24.86V17.888ZM14.7527 17.888H16.14V16.5642H14.7527V17.888ZM10 17.888H11.0863V16.5642H10V17.888ZM29.9137 16.5642V17.888H31V16.5642H29.9137Z",fill:t}),(0,r.jsx)("path",{d:"M19.8064 24.8589H21.1936V23.5352H19.8064V24.8589ZM24.86 24.8589H26.2492V23.5352H24.86V24.8589ZM14.7527 24.8589H16.14V23.5352H14.7527V24.8589ZM10 24.8589H11.0863V23.5352H10V24.8589ZM29.9137 23.5352V24.8589H31V23.5352H29.9137Z",fill:t}),(0,r.jsx)("path",{d:"M28.0849 13L26.4209 14.6618V27H29.7377V14.6618L28.0849 13ZM28.0849 24.4374C27.9409 24.4374 27.8231 24.3383 27.8231 24.2173C27.8231 24.0962 27.9409 23.9972 28.0849 23.9972C28.2289 23.9972 28.3466 24.0962 28.3466 24.2173C28.3466 24.3383 28.2289 24.4374 28.0849 24.4374ZM28.0849 17.4665C27.9409 17.4665 27.8231 17.3674 27.8231 17.2464C27.8231 17.1253 27.9409 17.0263 28.0849 17.0263C28.2289 17.0263 28.3466 17.1253 28.3466 17.2464C28.3466 17.3674 28.2289 17.4665 28.0849 17.4665Z",fill:t}),(0,r.jsx)("path",{d:"M23.0312 13L21.3672 14.6618V27H24.684V14.6618L23.0312 13ZM23.0312 24.4374C22.8872 24.4374 22.7694 24.3383 22.7694 24.2173C22.7694 24.0962 22.8872 23.9972 23.0312 23.9972C23.1751 23.9972 23.2929 24.0962 23.2929 24.2173C23.2929 24.3383 23.1751 24.4374 23.0312 24.4374ZM23.0312 17.4665C22.8872 17.4665 22.7694 17.3674 22.7694 17.2464C22.7694 17.1253 22.8872 17.0263 23.0312 17.0263C23.1751 17.0263 23.2929 17.1253 23.2929 17.2464C23.2929 17.3674 23.1751 17.4665 23.0312 17.4665Z",fill:t}),(0,r.jsx)("path",{d:"M17.9775 13L16.3135 14.6618V27H19.6302V14.6618L17.9775 13ZM17.9775 24.4374C17.8335 24.4374 17.7157 24.3383 17.7157 24.2173C17.7157 24.0962 17.8335 23.9972 17.9775 23.9972C18.1214 23.9972 18.2392 24.0962 18.2392 24.2173C18.2392 24.3383 18.1214 24.4374 17.9775 24.4374ZM17.9775 17.4665C17.8335 17.4665 17.7157 17.3674 17.7157 17.2464C17.7157 17.1253 17.8335 17.0263 17.9775 17.0263C18.1214 17.0263 18.2392 17.1253 18.2392 17.2464C18.2392 17.3674 18.1214 17.4665 17.9775 17.4665Z",fill:t}),(0,r.jsx)("path",{d:"M12.9238 13L11.2598 14.6618V27H14.5784V14.6618L12.9238 13ZM12.9238 24.4374C12.7798 24.4374 12.662 24.3383 12.662 24.2173C12.662 24.0962 12.7798 23.9972 12.9238 23.9972C13.0677 23.9972 13.1855 24.0962 13.1855 24.2173C13.1855 24.3383 13.0677 24.4374 12.9238 24.4374ZM12.9238 17.4665C12.7798 17.4665 12.662 17.3674 12.662 17.2464C12.662 17.1253 12.7798 17.0263 12.9238 17.0263C13.0677 17.0263 13.1855 17.1253 13.1855 17.2464C13.1855 17.3674 13.0677 17.4665 12.9238 17.4665Z",fill:t})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_2703_1330",children:(0,r.jsx)("rect",{width:"21",height:"14",fill:t,transform:"translate(10 13)"})})})]})},{width:"20",height:"20"}),"urban-planting":(0,r.jsx)(e=>{let{color:t="currentColor",width:n,height:i}=e;return(0,r.jsxs)("svg",{viewBox:"4 4 32 32",width:n,height:i,xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_3579_1345)",children:[(0,r.jsx)("path",{d:"M25.6536 22.2729C25.6536 22.1286 25.6536 22.0059 25.6536 21.8833C25.6536 21.1401 25.6536 20.3897 25.6536 19.6466C25.6536 19.56 25.6262 19.5095 25.551 19.4662C23.1915 18.0088 20.832 16.5514 18.4657 15.0939C18.3904 15.0434 18.3768 15.0001 18.3904 14.9136C18.8897 12.4532 20.791 10.534 23.1368 10.1011C26.2281 9.53838 29.1826 11.5874 29.9144 14.7981C29.9554 14.9641 29.9828 15.1372 30.0033 15.3032C30.017 15.4042 30.058 15.4403 30.1469 15.4619C31.4532 15.7866 32.3559 16.6163 32.7936 17.9583C33.5049 20.1228 32.1713 22.4821 30.0238 22.8717C28.8475 23.0809 27.8216 22.7491 26.9393 21.8977C26.8573 21.8183 26.8026 21.8111 26.7068 21.8616C26.3717 22.042 26.0161 22.1719 25.6399 22.2729H25.6536Z",fill:t}),(0,r.jsx)("path",{d:"M15.3202 30.0002H11.3945C11.3945 29.9569 11.3945 29.9209 11.3945 29.8776C11.3945 27.2369 11.3945 24.6034 11.3945 21.9627C11.3945 21.8833 11.4219 21.84 11.4834 21.7968C13.4463 20.5846 15.4159 19.3725 17.3788 18.1532C17.4608 18.1027 17.5224 
118.0955 17.6045 18.1532C19.5673 19.3653 21.5233 20.5774 23.4861 21.7895C23.5613 21.8328 23.5887 21.8833 23.5887 21.9771C23.5887 24.6034 23.5887 27.2297 23.5887 29.8559C23.5887 29.8992 23.5887 29.9425 23.5887 29.993H19.663C19.663 29.9209 19.663 29.8559 19.663 29.791C19.663 28.0666 19.663 26.3422 19.663 24.625C19.663 23.4779 18.8902 22.4966 17.8507 22.3307C16.4965 22.1142 15.327 23.1676 15.327 24.6178C15.327 26.3566 15.327 28.1027 15.327 29.8415C15.327 29.892 15.327 29.9425 15.327 30.0002H15.3202Z",fill:t}),(0,r.jsx)("path",{d:"M10.0059 21.8904C10.0059 21.8399 10.0059 21.8111 10.0059 21.775C10.0059 21.1978 10.0059 20.6134 10.0059 20.0362C10.0059 19.964 10.0264 19.9207 10.0879 19.8774C11.7156 18.8745 13.3365 17.8717 14.9642 16.8688C15.7781 16.3637 16.5919 15.8659 17.4058 15.3608C17.4742 15.3175 17.5152 15.3175 17.5836 15.3608C20.0115 16.8616 22.4326 18.3623 24.8605 19.8558C24.9562 19.9135 24.9836 19.9784 24.9836 20.0867C24.9836 20.6494 24.9836 21.2122 24.9836 21.775C24.9836 21.8111 24.9836 21.8399 24.9836 21.8976C24.9357 21.8688 24.9015 21.8543 24.8673 21.8327C22.4394 20.332 20.0115 18.8313 17.5836 17.3305C17.5221 17.2945 17.4742 17.2945 17.4126 17.3305C14.9847 18.8168 12.5637 20.3175 10.1426 21.8111C10.1016 21.8399 10.0606 21.8616 10.0059 21.8904Z",fill:t}),(0,r.jsx)("path",{d:"M24.2656 23.1387C24.9427 23.1243 25.5993 23.0088 26.2421 22.7852V29.9929H24.2656V23.1315V23.1387Z",fill:t})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_3579_1345",children:(0,r.jsx)("rect",{width:"23",height:"20",fill:t,transform:"translate(10 10)"})})})]})},{width:"20",height:"20"}),"other-restoration":(0,r.jsx)(e=>{let{color:t="currentColor",width:n,height:i}=e;return(0,r.jsx)("svg",{viewBox:"4 4 32 32",width:n,height:i,xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M26.0082 31.744H25.0222C23.9795 31.0645 22.2624 30.6476 21.5333 30.5229V25.9443C21.8587 26.0231 22.1919 26.0658 22.5329 26.0658C23.9912 26.0658 25.281 25.3338 25.8219 24.198C25.8886 24.0569 26.065 23.9715 26.2453 23.9912L26.2963 23.9978C26.5276 24.0372 26.7667 24.0569 27.0097 24.0569C28.962 24.0569 30.5496 22.7274 30.5496 21.0927C30.5496 19.7075 29.4324 18.5257 27.8291 18.2073L27.8055 18.204C27.6605 18.1778 27.5429 18.0826 27.5076 17.9611C27.4762 17.8528 27.5076 17.7379 27.5978 17.6591C28.1074 17.1339 28.3857 16.4708 28.3857 15.7913C28.3857 14.1566 26.7981 12.8272 24.8458 12.8272C24.689 12.8272 24.5322 12.837 24.3793 12.8535C24.1676 12.8764 23.9677 12.7517 23.9363 12.5744L23.9324 12.5449C23.9285 12.5285 23.9285 12.5121 23.9285 12.4957C23.9285 10.8609 22.335 9.53149 20.3827 9.53149C18.4305 9.53149 16.8409 10.8609 16.8409 12.4957C16.8409 12.5121 16.8409 12.5285 16.837 12.5449L16.833 12.5744C16.8017 12.755 16.6017 12.8797 16.3901 12.8535C16.2372 12.837 16.0804 12.8272 15.9236 12.8272C13.9713 12.8272 12.3837 14.1566 12.3837 15.7913C12.3837 16.4676 12.662 17.1274 13.1677 17.6526C13.2579 17.7346 13.2931 17.8495 13.2618 17.9611C13.2226 18.0859 13.1089 18.1811 12.9599 18.2073L12.9442 18.2106C11.337 18.5257 10.2158 19.7107 10.2158 21.096C10.2158 22.7307 11.8035 24.0601 13.7557 24.0601C13.9988 24.0601 14.2379 24.0404 14.4692 24.001L14.4966 23.9978C14.677 23.9781 14.873 24.0601 14.9435 24.2013C15.4845 25.3338 16.7742 26.0691 18.2325 26.0691C18.5736 26.0691 18.9107 26.0297 19.2322 25.9476V30.5229C18.9499 30.5754 16.9271 30.9594 15.7354 31.744H14.7573C14.5378 31.744 14.3614 31.8917 14.3614 32.0755C14.3614 32.2593 14.5378 32.407 14.7573 32.407H26.0082C26.2277 32.407 26.4041 32.2593 26.4041 32.0755C26.4041 31.8917 26.2277 31.744 26.0082 31.744Z",fill:t})})},{width:"20",height:"20"}),mangroves:(0,r.jsx)(e=>{let{color:t="currentColor",width:n,height:i}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"4 4 32 32",width:n,height:i,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.4011 10H22.5487V10.0795C22.5487 10.9238 22.3531 11.7648 22.4333 12.8474C22.4333 13.1686 22.3948 13.0891 22.5102 13.4103C22.5871 13.5692 22.5871 13.6917 22.5487 13.8904C22.5102 14.1718 22.5871 14.5327 22.7025 14.8142C22.741 14.8936 22.7794 15.0559 22.8564 15.1751C23.0519 15.536 24.0615 15.536 24.4493 15.536C26.3532 15.536 24.6833 16.8206 27.1289 17.5424C28.4879 17.8238 28.2571 19.029 29.6161 19.2277C29.8117 19.2674 31.597 19.4297 31.5585 19.4694C31.52 19.5489 30.1995 19.5091 30.004 19.5886C29.77 19.7078 29.927 19.9098 30.0424 20.029C30.5873 20.6316 31.3245 20.8302 32.0617 20.6713C32.6451 20.5124 33.0329 20.2707 33.5778 20.6713C33.7733 20.7905 33.8502 20.7905 34.0425 20.8733C34.1579 20.913 34.1579 20.9527 34.1194 20.9527C34.1579 20.913 34.081 20.913 34.0425 20.913C33.7701 20.913 33.6547 20.8335 33.4592 20.711C33.1867 20.5521 32.9528 20.5521 32.6835 20.6316H32.6451C32.0617 20.7905 31.8277 20.9924 31.1675 20.913C30.5072 20.8335 30.0008 20.4726 29.4975 20.0687C29.2636 19.827 28.9911 19.5456 28.7219 19.3072C28.5264 19.1482 28.3725 18.986 28.177 18.784C28.0231 18.6648 27.8661 18.5026 27.7122 
118.3437C27.2058 17.9033 26.818 18.0622 26.2346 17.943C26.1577 17.9033 26.1193 17.943 26.1193 18.0225C26.0808 18.2245 26.3532 18.4231 26.5071 18.5026C26.6609 18.5821 26.7795 18.5821 26.9334 18.6615C27.2443 18.7807 27.5552 19.0621 27.709 19.3436C27.7475 19.3833 27.9046 19.6647 27.9046 19.6647C27.9046 19.7442 27.8276 19.7442 27.7892 19.7045C27.7122 19.625 27.5936 19.3833 27.5167 19.2641C27.3212 19.0621 27.052 18.8635 26.7411 18.784C26.5071 18.7443 26.3532 18.7443 26.1193 18.5821C25.8084 18.3801 25.6545 18.1417 25.5359 17.8205C25.4205 17.5391 25.3821 17.5391 25.1865 17.3404C24.6417 16.8603 23.9814 16.5789 23.2442 16.7378C22.7794 16.8173 23.2826 17.0987 23.4397 17.261C23.6737 17.5027 23.6352 17.5821 23.6352 17.8636C23.5968 18.145 23.9077 18.2642 24.1416 18.3437C24.491 18.5026 24.8788 18.6648 25.2282 18.784C26.5103 19.2641 27.6385 20.3501 28.4526 20.9924C28.9591 21.3931 29.1514 21.5156 29.7732 21.4725C30.161 21.4725 30.3565 21.5123 30.7059 21.552C30.9399 21.5917 31.1322 21.552 31.2893 21.754C31.5232 22.0354 31.9495 22.3963 32.2604 22.5155C32.4944 22.595 32.6867 22.595 32.9207 22.595C33.2316 22.5552 33.504 22.5552 33.815 22.5155C34.1259 22.4758 34.4752 22.4758 34.7477 22.4758C35.0586 22.4758 34.9816 22.5552 34.7477 22.595C34.2412 22.6744 33.815 22.7539 33.3085 22.8764C32.5329 23.0353 32.2604 22.9161 31.5585 22.5155C31.3245 22.3963 31.1322 22.2738 30.9367 22.1546C30.0809 21.6315 29.6161 22.3963 28.4879 21.8334C28.5264 22.0751 28.6418 22.6347 28.7988 22.8367C28.9943 23.0386 29.3052 23.0784 29.536 23.0386C29.9238 22.9989 30.2347 22.8367 30.6642 23.0386C30.8181 23.1181 30.9751 23.3201 31.1707 23.4393C31.52 23.7207 31.7925 23.681 32.2188 23.7207C32.2572 23.7207 32.3726 23.7604 32.3726 23.8002C32.3341 23.8399 32.1771 23.8399 32.1386 23.8399C31.6739 23.8002 31.4399 23.8399 31.0104 23.5187C30.738 23.277 30.5841 23.0784 30.1931 23.1578C29.9591 23.1976 29.7283 23.3168 29.5328 23.4393C29.2219 23.5982 29.379 23.681 29.5713 23.8399C29.7668 23.9988 29.9976 24.2008 30.2315 24.2803C30.3469 24.2803 30.3854 24.32 30.504 24.3597C30.6995 24.4392 30.8149 24.4789 30.9687 24.6014C31.0713 24.6809 31.1749 24.7482 31.2796 24.8034C31.4335 24.8828 31.5905 24.9623 31.7444 25.0054C31.8982 25.0848 32.0938 25.1643 32.2508 25.2471C32.4463 25.3663 32.6386 25.449 32.8726 25.5682C33.1451 25.7271 33.379 25.7271 33.6483 25.7702C33.9207 25.8099 34.113 25.9291 34.347 26.0516C34.4624 26.1708 34.6195 26.2933 34.7348 26.4125C34.8118 26.492 34.7733 26.5714 34.6195 26.4523C34.4656 26.3331 34.4239 26.2503 34.2316 26.1311C33.9207 25.9722 33.8438 25.8894 33.456 25.8894C33.1835 25.8497 32.9912 25.8497 32.7188 25.7305C32.4848 25.6113 32.2124 25.5715 31.9431 25.4888C31.7091 25.3696 31.4367 25.2868 31.1675 25.2073C30.9719 25.1279 30.9335 25.0881 30.8181 24.9259C30.7027 24.8067 30.5456 24.8067 30.4303 24.9656C30.3149 25.0848 30.3149 25.2073 30.3533 25.3663C30.4303 25.4854 30.5072 25.608 30.6258 25.6874C30.7412 25.7669 31.0136 25.8463 31.1707 25.8894C31.4816 26.0086 31.754 26.2106 31.988 26.4523C32.1034 26.6112 32.1418 26.6542 32.222 26.8529C32.222 26.8529 32.2989 26.9721 32.2989 27.0118C32.2989 27.0913 32.222 27.0118 32.1835 26.9721C32.145 26.8926 32.1066 26.7701 32.0297 26.6906C31.7957 26.4092 31.5649 26.2106 31.2123 26.088C31.0168 26.0086 30.8245 25.9689 30.5905 25.8861C30.3565 25.8066 30.1642 25.6444 30.0456 25.406C29.8501 25.1245 29.9687 24.9656 29.6578 24.6842C29.4238 24.5253 29.3469 24.4822 29.1129 24.363C29.036 24.3233 28.9591 24.2836 28.9174 24.2438C26.975 22.8002 28.1001 20.9527 24.7218 19.9892C24.257 20.029 23.8275 20.029 23.3628 20.0687C24.334 21.9162 26.7443 20.8699 27.2475 23.479C27.443 24.4822 27.7539 25.7271 28.5296 26.3695L28.568 26.4092C28.802 26.6112 28.9559 26.6906 29.2283 26.7701C29.3822 26.8098 29.5007 26.8893 29.6546 26.929C29.8084 27.0085 30.004 27.088 30.161 27.1707C30.5873 27.3727 30.7059 27.4919 30.7828 27.972C30.8982 28.4951 31.2476 28.6143 31.6386 28.8958C31.754 29.0149 32.0649 29.4189 32.145 29.6175C32.1835 29.7367 31.7572 29.3758 31.7187 29.3361C31.4848 29.1341 31.3694 29.0547 31.0969 28.8958C30.6706 28.6143 30.5905 28.5746 30.4751 28.0117C30.3597 27.6111 30.1258 27.4886 29.7379 27.3694C29.504 27.2899 29.3116 27.2105 29.0392 27.2105C28.5744 27.1707 28.3405 27.0085 27.9911 26.6873C27.9142 26.6476 27.8757 26.6079 27.7956 26.6873C27.7187 26.8463 27.7571 27.0482 27.834 27.1674C27.911 27.2866 28.1065 27.4489 28.1834 27.5681C28.4174 27.8495 28.4559 27.9687 28.5328 28.3296C28.6097 28.6905 28.6866 28.7699 28.8821 29.0514C28.8821 29.0911 28.9975 29.2931 28.9206 29.2931C28.8821 29.3328 28.7668 29.1341 28.7668 29.0911C28.5712 28.7699 28.4943 28.7302 28.3789 28.3296C28.302 28.0084 28.2635 27.8495 28.0296 27.6475C27.7571 27.4058 27.5231 27.3264 27.4077 26.9257C27.3308 26.6046 27.4077 26.3231 27.2924 25.9622C27.2539 25.7205 27.1385 25.5616 27.0584 25.3199C26.8629 24.8398 26.7475 24.3564 26.6321 23.8763C26.5552 24.0352 26.4782 24.1577 26.3212 24.3167C26.2443 24.4359 26.1257 24.5584 26.0487 24.7173C25.584 25.5616 26.1641 25.8397 26.5135 26.4423C27.0199 27.2436 26.318 27.8064 26.2026 28.568V28.7699C26.2411 29.0116 26.318 29.3328 26.4366 29.4917C26.7475 29.9718 26.9013 30.1738 26.8244 30.7764C26.8244 30.4155 26.7859 30.2533 26.5904 29.9751C26.2795 29.452 26.2026 29.654 26.0455 28.9719C25.8917 28.4918 26.0455 28.0879 26.1994 27.6475C26.4334 27.0449 26.2763 26.7238 25.8885 26.2437C24.5679 24.6378 27.3276 23.4757 25.7731 22.3897C25.3468 22.148 24.9558 21.9891 24.491 21.8665C24.3756 21.8665 24.3372 21.946 24.2955 22.0255C24.0231 22.5486 24.3724 22.7473 24.6064 23.1479C24.8404 23.4691 24.9173 23.671 24.9558 24.0717C24.9942 24.1511 25.0327 24.6345 24.9942 24.6743C24.9942 24.7537 24.9558 24.6743 24.9173 24.6345C24.8788 24.5153 24.8788 24.2736 24.8404 24.1114C24.8019 23.8697 24.725 23.671 24.6064 23.4691C24.491 23.2274 24.4109 23.1479 24.2186 22.9459C23.9461 22.6645 23.8692 22.5453 23.8307 22.1447C23.7923 21.9857 23.7538 21.7043 23.5968 21.6215C23.2474 21.4626 23.0519 21.3401 22.7794 21.0984C22.5839 21.9824 22.5455 22.9062 23.0903 23.7075C23.3628 24.1081 23.7506 24.469 24.1 24.8299C24.2538 25.0318 24.4109 25.1908 24.5263 25.3927C24.9141 25.9159 24.9141 26.1543 25.0327 26.7966C25.0327 26.9158 25.0327 27.1575 25.1096 27.237C25.1481 27.3164 25.2635 27.4389 25.3436 27.5581C25.3821 27.6773 25.459 27.8396 25.4974 27.9587C25.4974 27.9985 25.5359 28.2004 25.459 28.0779C25.4205 28.0382 25.3051 27.717 25.225 27.5979C25.1096 27.4389 24.9526 27.3561 24.9141 27.1575C24.8756 26.9158 24.8372 26.6774 24.7602 26.396C24.7218 26.1543 24.6449 25.9556 24.4493 25.7536C24.3724 25.6742 24.1 25.4325 24.1 25.6742C24.0615 25.8761 24.0615 25.9556 23.9846 26.1543V26.2337L23.9461 26.3132C23.8307 26.7933 23.7121 27.7568 23.8692 28.2402C23.9846 28.6011 24.1032 28.962 24.2955 29.3229C24.6449 29.9652 25.1513 30.2069 25.1897 31.0479C25.2282 31.6505 25.3436 31.6108 25.6962 31.9717C25.8116 32.0909 26.2795 32.7332 26.2026 32.8557C26.1257 32.816 25.7763 32.2928 25.6962 32.2134C25.5007 31.9717 25.2699 31.8525 25.1513 31.6505C24.8019 31.1704 25.3051 30.889 24.5295 29.9652L24.4141 29.846C24.1416 29.5248 23.9878 29.2831 23.7538 28.9222C23.6384 28.7203 23.5198 28.8825 23.4814 29.0414C23.2859 29.8857 23.6769 29.8857 23.8692 30.485C23.9846 30.8857 23.8307 31.3691 23.7538 31.73C23.7538 31.7697 23.6384 32.412 23.6 32.21C23.523 31.9286 23.8339 31.1671 23.7955 30.7665C23.7186 30.1639 23.2121 30.0844 23.1352 29.3229C23.0967 28.8428 23.0583 28.5216 23.1737 27.9985C23.3275 27.3164 23.4846 26.4721 23.4461 25.7503C23.3307 25.0285 22.5519 24.6279 22.0486 23.6247C21.9717 23.8266 21.8531 24.0253 21.8147 24.2273C21.7377 24.5484 21.6993 24.7901 21.7762 25.0716C21.8531 25.5517 22.0102 25.4722 22.241 25.7536C22.6288 26.194 22.5903 26.5549 22.3948 27.078C22.3563 27.1575 22.3179 27.1972 22.2794 27.28C21.9301 28.0018 21.6961 28.2832 22.007 29.1275C22.0454 29.207 22.0839 29.3295 22.1608 29.409C22.3563 29.889 22.3563 30.293 22.3563 30.7731C22.3948 31.2532 22.6288 31.5346 22.5903 32.0975C22.5519 32.5378 22.4749 31.8955 22.4365 31.816C22.3595 31.4551 22.2025 31.134 22.164 30.8128C22.0871 30.091 22.1256 29.8493 21.8147 29.1673C21.7377 29.0083 21.5807 28.7269 21.5422 28.6044C21.5422 28.4455 21.7377 27.9223 21.7762 27.7601C21.8916 27.3595 22.241 27.0383 22.164 26.6377C22.0486 26.1145 21.7762 26.4357 21.5807 26.7171C21.3467 27.078 21.5038 27.1575 21.4653 27.5614C21.4268 28.1243 21.1929 27.7634 21.3114 26.6377C21.3499 26.3165 21.4653 26.0351 21.4268 25.8364C21.273 25.1941 21.0775 24.7537 21.1929 24.0286C21.2698 23.3863 21.2698 21.499 20.9973 21.0189C20.6864 21.499 20.6864 23.3863 20.8018 24.0286C20.8787 24.7504 20.6864 25.1941 20.5294 25.8364C20.4909 26.0384 20.6063 26.3165 20.6448 26.6377C20.7602 27.7601 20.5678 28.1243 20.5294 27.5614C20.4909 27.1608 20.6448 27.0813 20.3755 26.7171C20.2217 26.4357 19.9108 26.1145 19.8306 26.6377C19.7537 27.0383 20.1031 27.3595 20.2185 27.7601C20.2569 27.919 20.414 28.4422 20.414 28.6044C20.3755 28.7236 20.2185 29.005 20.1415 29.1673C19.8306 29.8493 19.9076 30.091 19.8306 30.8128C19.7922 31.134 19.5967 31.4551 19.5197 31.816C19.5197 31.8955 19.4428 32.5378 19.4044 32.0975C19.3659 31.5346 19.5999 31.2532 19.5999 30.7731C19.5999 30.293 19.6383 29.889 19.8338 29.409C19.8723 29.3295 19.9108 29.207 19.9492 29.1275C20.2601 28.2832 20.0262 28.0051 19.6768 27.28C19.6383 27.2005 19.6383 27.1608 19.5999 27.078C19.3659 26.5549 19.3274 26.194 19.7153 25.7536C19.9492 25.4722 20.1031 25.5517 20.2217 25.0716C20.2986 24.7901 20.2601 24.5484 20.1832 24.2273C20.1063 24.0253 20.0294 23.8266 19.9108 23.6247C19.4044 24.6279 18.6287 25.0285 18.5518 25.7503C18.4748 26.4721 18.6672 27.3164 18.8242 27.9985C18.9396 28.5216 18.8627 28.8428 18.8242 29.3229C18.7857 30.0844 18.2409 30.1672 18.2024 30.7665C18.1639 31.1671 18.4364 31.9319 18.3979 32.21C18.3595 32.412 18.2441 31.7697 18.2024 31.73C18.1255 31.3691 17.9684 30.8857 18.087 30.485C18.321 29.8824 18.6704 29.8824 18.4748 29.0414C18.4364 28.8825 18.3595 28.7203 18.2024 28.9222C17.9684 29.2831 17.853 29.5248 17.5421 29.846C17.5037 29.8857 17.5037 29.9255 17.4652 29.9652C16.
16479 30.889 17.1928 31.1704 16.8434 31.6505C16.6895 31.8525 16.4556 31.9717 16.2985 32.2134C16.1831 32.2928 15.8338 32.816 15.7536 32.8557C15.6767 32.7365 16.1799 32.0942 16.26 31.9717C16.6094 31.6108 16.7665 31.6505 16.7665 31.0479C16.8049 30.2036 17.3114 29.9652 17.6992 29.3229C17.853 28.962 18.0101 28.6011 18.087 28.2402C18.2409 27.7601 18.1639 26.7966 18.0101 26.3132V26.2337C17.9716 26.194 17.9716 26.1543 17.9716 26.1543C17.9332 25.9523 17.9332 25.8728 17.8947 25.6742C17.8562 25.4325 17.5838 25.6742 17.5069 25.7536C17.3114 25.9556 17.2729 26.1543 17.196 26.396C17.119 26.6774 17.119 26.9191 17.0421 27.1575C17.0037 27.3595 16.8466 27.4389 16.7697 27.5979C16.6927 27.717 16.5742 28.0382 16.4972 28.0779C16.4203 28.1971 16.4588 27.9985 16.4588 27.9587C16.4972 27.8396 16.5742 27.6773 16.6543 27.5581C16.7312 27.4389 16.8081 27.3164 16.8883 27.237C16.9267 27.1575 16.9652 26.9158 16.9652 26.7966C17.0421 26.1543 17.0421 25.9126 17.4299 25.3927C17.5838 25.1908 17.7408 25.0318 17.8947 24.8299C18.2056 24.469 18.5934 24.1081 18.8659 23.7075C19.4108 22.9062 19.3723 21.9824 19.1768 21.0984C18.9428 21.3401 18.712 21.4593 18.4011 21.6215C18.2056 21.701 18.1671 21.9824 18.1671 22.1447C18.1287 22.5453 18.0133 22.6678 17.7408 22.9459C17.5453 23.1479 17.5069 23.2274 17.353 23.4691C17.2376 23.671 17.1575 23.8697 17.119 24.1114C17.119 24.2703 17.0806 24.512 17.0421 24.6345C17.0421 24.6743 17.0037 24.7537 16.9652 24.6743C16.9267 24.6345 17.0037 24.1511 17.0037 24.0717C17.0806 23.671 17.1575 23.4691 17.353 23.1479C17.587 22.7473 17.9364 22.5453 17.7024 22.0255C17.6255 21.946 17.6255 21.8665 17.5069 21.8665C17.0004 21.9857 16.6511 22.148 16.2248 22.3897C14.6703 23.4724 17.3915 24.6378 16.0709 26.2437C15.7216 26.7238 15.5261 27.0449 15.76 27.6475C15.9556 28.0879 16.0709 28.4918 15.9556 28.9719C15.76 29.654 15.6831 29.452 15.3722 29.9751C15.2184 30.2566 15.1767 30.4155 15.1382 30.7764C15.0613 30.1738 15.2536 29.9751 15.5261 29.4917C15.6799 29.3328 15.7216 29.0116 15.76 28.7699V28.568C15.6831 27.8064 14.9844 27.2436 15.4491 26.4423C15.7985 25.8397 16.3818 25.5583 15.9139 24.7173C15.837 24.5584 15.76 24.4359 15.6414 24.3167C15.5261 24.1577 15.4075 24.0352 15.369 23.8763C15.2536 24.3564 15.135 24.8398 14.9427 25.3199C14.8273 25.5616 14.7472 25.7205 14.6703 25.9622C14.5933 26.3231 14.6703 26.6046 14.5549 26.9257C14.4395 27.3264 14.244 27.4058 13.9715 27.6475C13.7375 27.8495 13.6606 28.0084 13.5837 28.3296C13.5068 28.7302 13.4298 28.7699 13.2343 29.0911C13.1959 29.1308 13.1189 29.3328 13.0388 29.2931C13.0004 29.2931 13.0773 29.0911 13.1157 29.0514C13.2696 28.7699 13.3882 28.6905 13.4651 28.3296C13.5036 27.9687 13.542 27.8495 13.776 27.5681C13.8914 27.4489 14.0485 27.2866 14.1254 27.1674C14.2408 27.0482 14.2792 26.8463 14.1638 26.6873C14.1254 26.6079 14.0485 26.6476 14.01 26.6873C13.6222 27.0085 13.4266 27.1674 12.9234 27.2105C12.6894 27.2105 12.4587 27.2899 12.2247 27.3694C11.8753 27.4886 11.6029 27.6111 11.526 28.0117C11.3721 28.5746 11.292 28.6143 10.8657 28.8958C10.6317 29.0547 10.4779 29.1375 10.2823 29.3361C10.2439 29.3758 9.81758 29.7367 9.85604 29.6175C9.89451 29.4156 10.2054 29.0149 10.3625 28.8958C10.7118 28.6143 11.0612 28.4951 11.1798 27.972C11.2952 27.4919 11.3753 27.3694 11.8016 27.1707C11.9971 27.0913 12.151 27.0118 12.3465 26.929C12.4619 26.8893 12.6189 26.8098 12.7343 26.7701C13.0068 26.6906 13.1606 26.6112 13.3946 26.4092L13.4331 26.3695C14.2087 25.7271 14.5196 24.4822 14.7151 23.479C15.2216 20.8699 17.6671 21.9129 18.5998 20.0687C18.1736 20.029 17.7056 20.029 17.2793 19.9892C13.8978 20.9527 15.026 22.8002 13.0837 24.2438C13.0068 24.2836 12.9298 24.3233 12.8882 24.363C12.6542 24.4822 12.5388 24.522 12.3433 24.6842C12.0324 24.9656 12.1093 25.1245 11.9555 25.406C11.8016 25.6477 11.6061 25.8066 11.3721 25.8861C11.1766 25.9655 10.9458 26.0053 10.7503 26.088C10.4009 26.2072 10.1669 26.4092 9.97464 26.6906C9.89771 26.7701 9.85925 26.8926 9.77912 26.9721C9.74066 27.0118 9.66373 27.0913 9.66373 27.0118C9.66373 26.9721 9.74066 26.8529 9.74066 26.8529C9.81758 26.6509 9.85604 26.6112 9.97464 26.4523C10.2086 26.2106 10.5195 26.0119 10.8304 25.8894C10.9458 25.8497 11.2183 25.7702 11.3368 25.6874C11.4522 25.608 11.5708 25.4854 11.6093 25.3663C11.
16478 25.2073 11.6478 25.0848 11.5324 24.9656C11.417 24.8067 11.2984 24.8067 11.183 24.9259C11.0292 25.0848 11.0292 25.1279 10.8336 25.2073C10.5612 25.2868 10.2887 25.3663 10.0163 25.4888C9.78233 25.5682 9.50988 25.608 9.24065 25.7305C9.00667 25.8497 8.77589 25.8497 8.50345 25.8894C8.15408 25.8894 8.03869 25.9689 7.72779 26.1311C7.57394 26.2503 7.49381 26.3331 7.33996 26.4523C7.18611 26.5714 7.14444 26.492 7.22457 26.4125C7.33996 26.2933 7.49701 26.1708 7.65086 26.0516C7.84638 25.9324 8.07716 25.8099 8.3496 25.7702C8.62204 25.7305 8.85602 25.7305 9.12526 25.5682C9.32078 25.449 9.51309 25.3663 9.74707 25.2471C9.90092 25.1676 10.058 25.0881 10.2118 25.0054C10.3657 24.9656 10.5227 24.8862 10.6766 24.8034C10.8069 24.7504 10.9234 24.6831 11.0259 24.6014C11.1413 24.4822 11.2984 24.4425 11.4522 24.3597C11.5676 24.32 11.6478 24.2803 11.7631 24.2803C11.9587 24.2008 12.2279 23.9988 12.385 23.8399C12.6189 23.681 12.7343 23.5982 12.4234 23.4393C12.2279 23.3201 11.9971 23.1976 11.8016 23.1578C11.4138 23.0784 11.2183 23.277 10.9458 23.5187C10.558 23.8399 10.324 23.8002 9.81758 23.8399C9.77912 23.8399 9.62206 23.8399 9.62206 23.8002C9.5836 23.7604 9.73745 23.7207 9.77591 23.7207C10.2022 23.681 10.4362 23.7207 10.824 23.4393C10.9779 23.3201 11.1349 23.1181 11.3304 23.0386C11.7183 22.8367 12.0292 22.9989 12.417 23.0386C12.6894 23.0784 12.9619 23.0386 13.1542 22.8367C13.3497 22.6347 13.4651 22.0751 13.5036 21.8334C12.3753 22.3963 11.8721 21.6315 11.0163 22.1546C10.8208 22.2738 10.6285 22.3963 10.433 22.5155C9.73425 22.9161 9.4618 23.0386 8.64448 22.8764C8.17972 22.7572 7.71176 22.6744 7.20534 22.595C6.97136 22.5552 6.89444 22.4758 7.20534 22.4758C7.51624 22.4758 7.86561 22.4758 8.13805 22.5155C8.44896 22.5552 8.7214 22.5552 9.03231 22.595C9.26629 22.595 9.4586 22.595 9.69258 22.5155C10.0035 22.3963 10.4682 22.0354 10.6638 21.754C10.8593 21.552 11.0516 21.595 11.2856 21.552C11.6349 21.5123 11.8305 21.4725 12.1798 21.4725C12.8401 21.5123 13.0356 21.3931 13.5388 20.9924C14.3145 20.3501 15.4427 19.2674 16.7248 18.784C17.1126 18.6648 17.462 18.5026 17.853 18.3437C18.0485 18.2642 18.3979 18.1417 18.3595 17.8636C18.321 17.5855 18.321 17.5027 18.5133 17.261C18.7088 17.102 19.1736 16.8206 18.7088 16.7378C18.0101 16.5789 17.3114 16.857 16.8049 17.3404C16.6094 
117.5424 16.5325 17.5424 16.4171 17.8205C16.3017 18.1417 16.1447 18.3834 15.8722 18.5821C15.5998 18.741 15.4844 18.741 15.2119 18.784C14.9395 18.8635 14.6671 19.0655 14.4747 19.2641C14.3594 19.3833 14.2408 19.625 14.1638 19.7045C14.1254 19.7442 14.0485 19.7442 14.0869 19.6647C14.0869 19.6647 14.2408 19.3833 14.2408 19.3436C14.4363 19.0621 14.7472 18.7807 15.0164 18.6615C15.1703 18.5821 15.3273 18.5821 15.4427 18.5026C15.6382 18.4231 15.869 18.2212 15.869 18.0225C15.869 17.943 15.7921 17.9033 15.7152 17.943C15.1318 18.0622 14.744 17.9033 14.2376 18.3437C14.0837 18.5026 13.9267 18.6648 13.7728 18.784C13.619 18.986 13.4234 19.1449 13.2279 19.3072C12.9555 19.5489 12.7215 19.8303 12.4523 20.0687C11.9875 20.4693 11.4426 20.8302 10.8208 20.913C10.1605 20.9924 9.8881 20.7938 9.30475 20.6316H9.26629C8.99384 20.5521 8.75986 20.5521 8.52909 20.711C8.33357 20.8302 8.17972 20.913 7.94574 20.913C7.90728 20.913 7.83036 20.913 7.83036 20.9527C7.83036 20.9527 7.79189 20.913 7.90728 20.8733C8.14126 20.7938 8.17972 20.7938 8.37203 20.6713C8.91692 20.2707 9.30475 20.5124 9.8881 20.6713C10.6253 20.8302 11.4042 20.6316 11.9074 20.029C12.0228 19.9098 12.1798 19.7078 11.9843 19.5886C11.7888 19.5091 10.4682 19.5489 10.4298 19.4694C10.3913 19.4297 12.1798 19.2674 12.3337 19.2277C13.7311 19.0257 13.4619 17.8238 14.8209 17.5424C17.3081 16.8206 15.5966 15.536 17.5421 15.536C17.93 15.536 18.9011 15.536 19.1351 15.1751C19.1736 15.0559 19.2505 14.8936 19.289 14.8142C19.3659 14.5327 19.4428 14.1718 19.4044 13.8904C19.3659 13.6884 19.4044 13.5692 19.4428 13.4103C19.5582 13.0891 19.5197 13.1686 19.5582 12.8474C19.5967 11.7648 19.4044 10.9205 19.4044 10.0795V10L19.4011 10Z",fill:t})})},{width:"20",height:"20"})},h=()=>{let e=(0,l.c)("AllProjects"),t=(0,C.y3)(e=>e.selectedMode),n=(0,C.Iw)(e=>e.selectedClassification),o=(0,C.Iw)(e=>e.showDonatableProjects),c=(0,C.Iw)(e=>e.setShowDonatableProjects),h=(0,C.Iw)(e=>e.setSelectedClassification),m=e=>{h(n.includes(e)?n.filter(t=>t!==e):[...n,e])},g=n.length>0||o,x=(0,i.useMemo)(()=>s.Tw.map((t,i)=>{let l=n.includes(t);return(0,r.jsxs)("button",{className:a().filterButton,onClick:()=>m(t),children:[(0,r.jsxs)("div",{className:(0,p.$)(a().classificationItem,{[a().selected]:l,[a().unselected]:!l}),children:[u[t],e("classificationTypes.".concat(t))]}),i!==s.Tw.length-1&&(0,r.jsx)("hr",{className:a().hrLine})]},t)}),[s.Tw,n,m]);return(0,r.jsxs)("div",{className:(0,p.$)(a().classificationListContainer,{[a().listMode]:"list"===t}),children:[(0,r.jsxs)("button",{className:a().filterButton,onClick:()=>{h([]),c(!1)},type:"button",children:[(0,r.jsx)("div",{className:(0,p.$)({[a().unselected]:g,[a().selected]:!g}),children:g?e("clearFilter"):e("noFilterApplied")}),(0,r.jsx)("hr",{className:a().hrLine})]}),(0,r.jsxs)("button",{type:"button",className:a().donationFilterButton,onClick:()=>c(!o),children:[(0,r.jsxs)("div",{className:a().donationFilterLabel,children:[(0,r.jsx)(d,{}),(0,r.jsx)("span",{className:(0,p.$)({[a().selected]:o,[a().unselected]:!o}),children:e("acceptingDonations")})]}),(0,r.jsx)("hr",{className:a().hrLine})]}),(0,r.jsx)("div",{children:x})]})}},67203:e=>{e.exports={lngSwitcher:"Credits_lngSwitcher__nYwNS",languageModalButton:"Credits_languageModalButton__XM0_M",mapCreditsTrigger:"Credits_mapCreditsTrigger__1GSYy",mapCreditsContainer:"Credits_mapCreditsContainer__IkwOb",popover:"Credits_popover__7VLuV",popoverContent:"Credits_popoverContent__IuCI5"}},68628:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=n(37876),i=n(14232),l=n(35088),o=n.n(l),a=n(51707),s=n(96823),c=n(50221),d=n(30171);let p=e=>{let{children:t}=e,n=(0,d.iH)(e=>e.embed),l=(0,d.iH)(e=>e.showProjectDetails),p=(0,d.iH)(e=>e.showProjectList),C=(0,d.Q)(e=>e.mapOptions),u=(0,d.kH)(e=>e.isImpersonationModeOn),h=(0,d.y3)(e=>e.page),m=(0,d.Q)(e=>e.updateMapOption),g=(0,i.useMemo)(()=>"project-list"===h?("true"!==n||"false"!==p)&&!!C.projects:"project-details"===h&&("true"!==n||"false"!==l),[h,n,p,l,C.projects]),x=(0,i.useMemo)(()=>"true"===n?o().embedMode:u?o().impersonationMode:o().projectsLayout,[u,n]),v=(0,i.useMemo)(()=>"project-list"===h,[h,"true"]);return(0,r.jsxs)("div",{className:x,children:[(0,r.jsxs)("main",{className:o().mainContent,children:[g&&(0,r.jsx)("section",{className:o().contentContainer,children:t}),(0,r.jsxs)("section",{className:o().mapContainer,children:[v&&(0,r.jsx)("div",{className:o().mapFeatureExplorerOverlay,children:(0,r.jsx)(c.A,{mapOptions:C,updateMapOption:m})}),(0,r.jsx)(s.A,{isMobile:!1})]})]}),(0,r.jsx)(a.A,{})]})},C=e=>{let{children:t}=e;return(0,r.jsx)(p,{children:t})}},68711:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(37876),i=n(14232),l=n(96851),o=n(69277),a=n.n(o),s=n(78588),c=n(30171);let d=e=>{let{tabSelected:t,setTabSelected:n,setIsFilterOpen:i}=e,o=(0,l.c)("AllProjects"),d=(0,c.Iw)(e=>{var t;return null==(t=e.projects)?void 0:t.length}),p=(0,c.Iw)(e=>{var t;return null==(t=e.topProjects)?void 0:t.length}),C=e=>{let{selectedTab:l,icon:o,label:s}=e,c=t===l?a().selectedTabButton:a().unselectedTabButton;return(0,r.jsxs)("button",{className:c,onClick:()=>{n&&n(l),i(!1)},children:[o&&(0,r.jsx)("div",{className:a().iconContainer,children:o}),(0,r.jsx)("div",{className:a().label,children:s})]})};return(0,r.jsxs)("div",{className:a().tabContainer,children:[(0,r.jsx)(C,{selectedTab:"topProjects",icon:(0,r.jsx)(s.A,{width:"12px"}),label:o.rich("top",{noOfProjects:p,projectCountContainer:e=>(0,r.jsx)("span",{className:a().projectCount,children:e})})}),(0,r.jsx)(C,{selectedTab:"allProjects",label:o.rich("allProjects",{noOfProjects:d,projectCountContainer:e=>(0,r.jsx)("span",{className:a().projectCount,children:e})})})]})};var p=n(64623),C=n(7642);let u=e=>{let{color:t,height:n}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:n,viewBox:"0 0 14 14",fill:"none",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_829_1108)",children:[(0,r.jsx)("path",{d:"M11.9468 3.02643L9.84679 2.42388L7.22858 11.73C6.99168 11.6646 6.74197 11.794 6.67313 12.0207C6.6043 12.2474 6.74036 12.4833 6.97887 12.5487L6.96257 12.6079L6.96264 12.6079L8.86742 13.1328C8.86742 13.1328 8.86742 13.1328 8.86743 13.1328C9.78565 13.3861 10.7473 12.8836 11.0153 12.0067L11.018 11.9979V11.9948L13.1251 5.08302C13.1251 5.08302 13.1251 5.08301 13.1251 5.08301C13.3836 4.23602 12.8995 3.35463 12.0447 3.06095L12.0499 3.05601L11.9468 3.02643ZM9.13694 12.1921L7.24492 11.6709L9.84668 2.42385L9.84674 2.42387C9.57995 2.34679 9.29543 2.48991 9.21266 2.74869C9.12925 3.00947 9.28602 3.28012 9.5534 3.3574L9.55354 3.35744L11.6569 3.96002L11.6569 3.96003L11.6576 3.96021C12.0428 4.06585 12.259 4.44656 12.1497 4.80529L10.0368 11.7319C9.92714 12.0905 9.53141 12.3003 9.14819 12.1944L9.14016 12.1921H9.13694Z",fill:t,stroke:"white",strokeWidth:.122725}),(0,r.jsx)("path",{d:"M7.75026 11.2891C8.15456 11.2571 8.5336 11.0908 8.8205 10.8198V10.8309L8.92772 10.7103C9.22684 10.3738 9.37194 9.93717 9.33035 9.49838C9.33034 9.49829 9.33033 9.49821 9.33032 9.49813L8.68366 2.31916L8.68365 2.3191C8.60031 1.40482 7.7551 0.731747 6.80079 0.808786L6.80076 0.808788L2.39558 1.16638L2.3955 1.16639C1.44092 1.24502 0.727409 2.04528 0.809133 2.9601L0.809137 2.96015L1.45558 10.1367V10.1385H1.45534L1.45582 10.1439C1.53252 11.0014 2.2866 11.6545 3.18489 11.6545C3.23407 11.6545 3.28557 11.653 3.33751 11.6482C3.3376 11.6482 3.33769 11.6482 3.33778 11.6482L7.7502 11.2892C7.75022 11.2892 7.75024 11.2892 7.75026 11.2891ZM3.24395 10.6768L3.19535 10.6808C3.02305 10.6834 2.85528 10.6272 2.72219 10.5212C2.5762 10.4033 2.48588 10.2375 2.47131 10.0574L2.47126 10.0569L1.82457 2.87763C1.82457 2.87762 1.82457 2.87762 1.82457 2.87762C1.79108 2.50525 2.08268 2.17174 2.48247 2.13779C2.4825 2.13778 2.48253 2.13778 2.48256 2.13778L6.88595 1.77868L6.8864 1.77864C7.28233 1.7434 7.62842 2.0173 7.66638 2.38557V2.3856V2.38562V2.38565V2.38568V2.3857V2.38573V2.38576V2.38578V2.38581V2.38584V2.38586V2.38589V2.38592V2.38594V2.38597V2.386V2.38602V2.38605V2.38608V2.3861V2.38613V2.38616V2.38618V2.3862
11V2.38624V2.38626V2.38629V2.38632V2.38635V2.38637V2.3864V2.38643V2.38645V2.38648V2.38651V2.38653V2.38656V2.38659V2.38661V2.38664V2.38667V2.38669V2.38672V2.38675V2.38677V2.3868V2.38683V2.38685V2.38688V2.38691V2.38693V2.38696V2.38699V2.38701V2.38704V2.38707V2.38709V2.38712V2.38715V2.38717V2.3872V2.38723V2.38725V2.38728V2.38731V2.38733V2.38736V2.38739V2.38741V2.38744V2.38747V2.3875V2.38752V2.38755V2.38758V2.3876V2.38763V2.38766V2.38768V2.38771V2.38774V2.38776V2.38779V2.38782V2.38784V2.38787V2.3879V2.38792V2.38795V2.38798V2.388V2.38803V2.38806V2.38808V2.38811V2.38814V2.38816V2.38819V2.38822V2.38824V2.38827V2.3883V2.38832V2.38835V2.38838V2.3884V2.38843V2.38846V2.38848V2.38851V2.38854V2.38857V2.38859V2.38862V2.38865V2.38867V2.3887V2.38873V2.38875V2.38878V2.38881V2.38883V2.38886V2.38889V2.38891V2.38894V2.38897V2.38899V2.38902V2.38905V2.38907V2.3891V2.38913V2.38915V2.38918V2.38921V2.38923V2.38926V2.38929V2.38931V2.38934V2.38937V2.38939V2.38942V2.38945V2.38947V2.3895V2.38953V2.38955V2.38958V2.38961V2.38964V2.38966V2.38969V2.38972V2.38974V2.38977V2.3898V2.38982V2.38985V2.38988V2.3899V2.38993V2.38996V2.38998V2.39001V2.39004V2.39006V2.39009V2.39012V2.39014V2.39017V2.3902V2.39022V2.39025V2.39028V2.3903V2.39033V2.39036V2.39038V2.39041V2.39044V2.39046V2.39049V2.39052V2.39054V2.39057V2.3906V2.39062V2.39065V2.39068V2.3907V2.39073V2.39076V2.39079V2.39081V2.39084V2.39087V2.39089V2.39092V2.39095V2.39097V2.391V2.39103V2.39105V2.39108V2.39111V2.39113V2.39116V2.39119V2.39121V2.39124V2.39127V2.39129V2.39132V2.39135V2.39137V2.3914V2.39143V2.39145V2.39148V2.39151V2.39153V2.39156V2.39159V2.39161V2.39164V2.39167V2.39169V2.39172V2.39175V2.39177V2.3918V2.39183V2.39186V2.39188V2.39191V2.39194V2.39196V2.39199V2.39202V2.39204V2.39207V2.3921V2.39212V2.39215V2.39218V2.3922V2.39223V2.39226V2.39228V2.39231V2.39234V2.39236V2.39239V2.39242V2.39244V2.39247V2.3925V2.39252V2.39255V2.39258V2.3926V2.39263V2.39266V2.39268V2.39271V2.39274V2.39276V2.39279V2.39282V2.39284V2.39287V2.3929V2.39293V2.39295V2.39298V2.39301V2.39303V2.39306V2.39309V2.39311V2.39314V2.39317V2.39319V2.39322V2.39325V2.39327V2.3933V2.39333V2.39335V2.39338V2.39341V2.39343V2.39346V2.39349V2.39351V2.39354V2.39357V2.39359V2.39362V2.39365V2.39367V2.3937V2.39373V2.39375V2.39378V2.39381V2.39383V2.39386V2.39389V2.39391V2.39394V2.39397V2.394V2.39402V2.39405V2.39408V2.3941V2.39413V2.39416V2.39418V2.39421V2.39424V2.39426V2.39429V2.39432V2.39434V2.39437V2.3944V2.39442V2.39445V2.39448V2.3945V2.39453V2.39456V2.39458V2.39461V2.39464V2.39466V2.39469V2.39472V2.39474V2.39477V2.3948V2.39482V2.39485V2.39488V2.3949V2.39493V2.39496V2.39498V2.39501V2.39504V2.39506V2.39509V2.39512V2.39515V2.39517V2.3952V2.39523V2.39525V2.39528V2.39531V2.39533V2.39536V2.39539V2.39541V2.39544V2.39547V2.39549V2.39552V2.39555V2.39557V2.3956V2.39563V2.39565V2.39568V2.39571V2.39573V2.39576V2.39579V2.39581V2.39584V2.39587V2.39589V2.39592V2.39595V2.39597V2.396V2.39603V2.39605V2.39608V2.39611V2.39613V2.39616V2.39619H7.66613L7.66663 2.40169L8.31332 9.58551L8.31332 9.58555C8.34674 9.95437 8.0609 10.2839 7.66594 10.3175H7.66593H7.66592H7.6659H7.66589H7.66587H7.66586H7.66585H7.66583H7.66582H7.6658H7.66579H7.66578H7.66576H7.66575H7.66573H7.66572H7.66571H7.66569H7.66568H7.66566H7.66565H7.66564H7.66562H7.66561H7.66559H7.66558H7.66557H7.66555H7.66554H7.66552H7.66551H7.6655H7.66548H7.66547H7.66545H7.66544H7.66543H7.66541H7.6654H7.66538H7.66537H7.66536H7.66534H7.66533H7.66531H7.6653H7.66528H7.66527H7.66526H7.66524H7.66523H7.66521H7.6652H7.66519H7.66517H7.66516H7.66514H7.66513H7.66512H7.6651H7.66509H7.66507H7.66506H7.66505H7.66503H7.66502H7.665H7.66499H7.66498H7.66496H7.66495H7.66493H7.66492H7.66491H7.66489H7.66488H7.66486H7.66485H7.66484H7.66482H7.66481H7.66479H7.66478H7.66477H7.66475H7.66474H7.66472H7.66471H7.6647H7.66468H7.66467H7.66465H7.66464H7.66463H7.66461H7.6646H7.66458H7.66457H7.66456H7.66454H7.66453H7.66452H7.6645H7.66449H7.66447H7.66446H7.66445H7.66443H7.66442H7.66441H7.66439H7.66438H7.66436H7.66435H7.66434H7.66432H7.66431H7.6643H7.66428H7.66427H7.66425H7.66424H7.66423H7.66421H7.6642H7.66419H7.66417H7.66416H7.66415H7.66413H7.66412H7.6641H7.66409H7.66408H7.66406H7.66405H7.66404H7.66402H7.66401H7.664H7.66398H7.66397H7.66396H7.66394H7.66393H7.66392H7.6639H7.66389H7.66388H7.66386H7.66385H7.66384H7.66382H7.66381H7.6638H7.66378H7.66377H7.66376H7.66374H7.66373H7.66372H7.66371H7.66369H7.66368H7.66367H7.66365H7.66364H7.66363H7.66361H7.6636H7.66359H7.66358H7.66356H7.66355H7.66354H7.66352H7.66351H7.6635H7.66349H7.66347H7.66346H7.66345H7.66343H7.66342H7.66341H7.6634H7.66338H7.66337H7.66336H7.66335H7.66333H7.66332H7.66331H7.6633H7.66328H7.66327H7.66326H7.66325H7.66323H7.66322H7.66321H7.6632H7.66318H7.66317H7.66316H7.66315H7.66314H7.66312H7.66311H7.6631H7.66309H7.66307H7.66306H7.66305H7.66304H7.66303H7.66301H7.663H7.66299H7.66298H7.66297H7.66296H7.66294H7.66293H7.66292H7.66291H7.6629H7.66288H7.66287H7.66286H7.66285H7.66284H7.66283H7.66282H7.6628H7.66279H7.66278H7.66277H7.66276H7.66275H7.66274H7.66272H7.66271H7.6627H7.66269H7.66268H7.66267H7.66266H7.66265H7.66263H7.66262H7.66261H7.6626H7.66259H7.66258H7.66257H7.66256H7.66255H7.66254H7.66253H7.66251H7.6625H7.66249H7.66248H7.66247H7.66246H7.66245H7.66244H7.66243H7.66242H7.66241H7.6624H7.66239H7.66238H7.66237H7.66236H7.66235H7.66234H7.66233H7.66232H7.66231H7.6623H7.66229H7.66228H7.66227H7.66226H7.66225H7.66224H7.66223H7.66222H7.66221H7.6622H7.66219H7.66218H7.66217H7.66216H7.66215H7.66214H7.66213H7.66212H7.66211V10.3173L7.65714 10.3177L3.24395 10.6768Z",fill:t,stroke:"white",strokeWidth:.122725}),(0,r.jsx)("path",{d:"M6.17748 7.53564L4.17018 7.69999C3.93967 7.71825 3.76839 7.9115 3.7876 8.13214C3.80681 8.33909 3.98769 8.49734 4.20539 8.49734C4.2182 8.49734 4.2294 8.49734 4.24221 8.49582L6.24951 8.33148C6.48002 8.31322 
16.65129 8.11997 6.63208 7.90085C6.61287 7.68173 6.40958 7.51891 6.17908 7.53717L6.17748 7.53564Z",fill:t}),(0,r.jsx)("path",{d:"M6.75689 6.00098L3.25611 6.28553C3.02561 6.30379 2.85433 6.49704 2.87354 6.71769C2.89275 6.92463 3.07363 7.08289 3.29133 7.08289C3.30413 7.08289 3.31534 7.08289 3.32814 7.08137L6.82892 6.79681C7.05943 6.77855 7.2307 6.5853 7.21149 6.36618C7.19229 6.14706 6.98899 5.98424 6.75849 6.0025L6.75689 6.00098Z",fill:t}),(0,r.jsx)("path",{d:"M5.54319 4.51141C5.54319 4.13404 5.22144 3.82666 4.82286 3.82666C4.42588 3.82666 4.10254 4.13252 4.10254 4.51141C4.10254 4.88879 4.42428 5.19617 4.82286 5.19617C5.21984 5.19617 5.54159 4.89031 5.54319 4.51141Z",fill:t})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_829_1108",children:(0,r.jsx)("rect",{width:13.5,height:13.4995,fill:"white",transform:"translate(0.25 0.25)"})})})]})},h=e=>{let{height:t,color:n}=e;return(0,r.jsxs)("svg",{height:t,viewBox:"0 0 9 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_3401_1042)",children:[(0,r.jsx)("path",{d:"M4.05488 10.5969C4.10083 10.6915 4.18124 10.7638 4.27888 10.8139C4.3478 10.8472 4.42821 10.8639 4.50287 10.8639C4.55456 10.8639 4.60625 10.8584 4.66369 10.8417C4.79004 10.8027 4.89343 10.7137 4.95086 10.6025C5.53669 9.47882 6.32929 8.69448 7.02425 7.99914C8.08679 6.94223 9.00574 6.02439 9.00574 4.36115C9.00574 3.19854 8.53478 2.1027 7.68475 1.27942C6.83472 0.45614 5.70325 0 4.50287 0C3.30249 0 2.17103 0.45614 1.321 1.27942C0.470964 2.1027 0 3.19298 0 4.36115C0 6.02439 0.918953 6.93667 1.98724 7.99914C2.68219 8.68892 3.46905 9.47325 4.05488 10.5969ZM1.00511 4.36115C1.00511 3.45443 1.36694 2.60334 2.02744 1.96363C2.68794 1.32392 3.56669 0.97347 4.50287 0.97347C5.43905 0.97347 6.3178 1.32392 6.9783 1.96363C7.6388 2.60334 8.00064 3.45443 8.00064 4.36115C8.00064 5.62944 7.24824 6.3804 6.30057 7.32606C5.72048 7.90458 5.07147 8.54985 4.50287 9.4065C3.93427 8.54985 3.28526 7.90458 2.70517 7.32606C1.7575 6.3804 1.00511 5.635 1.00511 4.36671V4.36115Z",fill:n}),(0,r.jsx)("path",{d:"M6.95997 10.1521C6.74746 9.99082 6.4488 10.0298 6.28798 10.23C6.20757 10.3301 6.17311 10.447 6.19034 10.5749C6.20757 10.6973 6.27075 10.8085 6.36839 10.8864C6.46029 10.9532 6.52921 11.0255 6.56941 11.0922C6.59813 11.1423 6.61536 11.1868 6.61536 11.2369C6.61536 11.3982 6.43157 11.5873 6.10419 11.7542C5.69066 11.96 5.13355 12.0713 4.53048 12.0713C3.92742 12.0713 3.35307 11.9545 2.9338 11.7431C2.62366 11.5873 2.43986 11.3982 2.43986 11.2369C2.43986 11.1924 2.45709 11.1423 2.48581 11.0922C2.52602 11.0255 2.59494 10.9532 2.68683 10.8864C2.8936 10.7251 2.92806 10.4358 2.76724 10.2356C2.60642 10.0353 2.30202 10.0019 2.09526 10.1577C1.90572 10.3023 1.76214 10.4581 1.65875 10.6305C1.54388 10.8252 1.48645 11.0255 1.48645 11.2369C1.48645 11.7653 1.84829 12.2381 2.4973 12.5663C3.04867 12.8445 3.77235 13.0002 4.53623 13.0002C5.30011 13.0002 5.99507 12.85 6.57516 12.5663C7.22991 12.2381 7.586 11.7653 7.586 11.2369C7.586 11.031 7.52857 10.8252 7.4137 10.6305C7.31032 10.4581 7.16099 10.2968 6.9772 10.1521H6.95997Z",fill:n}),(0,r.jsx)("circle",{cx:"4.5",cy:"4.5",r:"1.5",fill:n})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_3401_1042",children:(0,r.jsx)("rect",{width:"9",height:"13",fill:"white"})})})]})};var m=n(69241);let g=(e,t)=>{let{colors:n}=C.A.designSystem;return e===t?n.white:n.coreText},x=e=>{let{setIsFilterOpen:t}=e,n=(0,l.c)("AllProjects"),i=(0,c.y3)(e=>e.selectedMode),o=(0,c.Iw)(e=>e.isSearching),s=(0,c.y3)(e=>e.setSelectedMode),d=e=>{let{selectedTab:n,icon:l,label:o}=e,c=i===n?a().selectedTabButton:a().unselectedTabButton;return(0,r.jsxs)("button",{className:c,onClick:()=>{t&&t(!1),s(n)},children:[l,(0,r.jsx)("div",{className:a().label,children:o})]})};return i?(0,r.jsxs)("div",{className:(0,m.$)({[a().tabContainerSecondary]:o,[a().tabContainer]:!o,[a().mapModeTabs]:"map"===i}),children:[(0,r.jsx)(d,{selectedTab:"list",icon:(0,r.jsx)(u,{height:14,color:g("list",i)}),label:o?void 0:n("list")}),(0,r.jsx)(d,{selectedTab:"map",icon:(0,r.jsx)(h,{height:14,color:g("map",i)}),label:o?void 0:n("map")})]}):null};var v=n(65918),j=n(5369),f=n(50221),_=n(64973);let b=e=>{let{tabSelected:t,setTabSelected:n,isMobile:o,mapOptions:s,updateMapOption:C,shouldHideProjectTabs:u}=e,h=(0,l.c)("AllProjects"),[g,b]=(0,i.useState)(!1),y=(0,c.kH)(e=>e.isImpersonationModeOn),{filteredProjectCount:w}=(0,_.f)(),V=(0,c.iH)(e=>"true"===e.embed),M=(0,c.iH)(e=>e.showProjectList),L=(0,c.y3)(e=>e.selectedMode),H=(0,c.y3)(e=>e.page),I=(0,c.Iw)(e=>e.selectedClassification.length>0||e.showDonatableProjects),S=(0,c.Iw)(e=>e.isSearching),N=V&&"project-list"===H&&"false"===M,A=(0,m.$)(a().projectListControlsMobile,{[a().mapModeControls]:"map"===L,[a().impersonationMode]:y}),P=(0,m.$)(a().tabsContainer,{[a().impersonationMode]:y});return(0,r.jsxs)(r.Fragment,{children:[S?(0,r.jsxs)("div",{className:P,children:[(0,r.jsx)(j.A,{setIsFilterOpen:b}),!N&&(0,r.jsx)(x,{setIsFilterOpen:b})]}):(0,r.jsxs)("div",{className:A,children:[I&&"map"!==L&&w>0&&(0,r.jsx)("div",{className:a().filterResultContainerMobile,children:h("filterResult",{count:w})}),!I&&"map"!==L&&!u&&(0,r.jsx)(d,{tabSelected:t,setTabSelected:n,setIsFilterOpen:b}),(0,r.jsx)(p.O,{isFilterOpen:g,setIsFilterOpen:b,isMobile:o}),"map"===L&&(0,r.jsx)(f.A,{mapOptions:s,updateMapOption:C,isMobile:!0}),!N&&(0,r.jsx)(x,{setIsFilterOpen:b})]}),g&&!S&&(0,r.jsx)(v.A,{})]})}},69277:e=>{e.exports={activeSearchFieldContainer:"ProjectListControls_activeSearchFieldContainer__4xSaj",projectListControls:"ProjectListControls_projectListControls__5MOIH",onlyMapMode:"ProjectListControls_onlyMapMode__6Y8Vq",projectListHeaderText:"ProjectListControls_projectListHeaderText__sfJUN",tabsContainer:"ProjectListControls_tabsContainer__JqEzK",projectListControlsMobile:"ProjectListControls_projectListControlsMobile__dmdMY",mapM
1odeControls:"ProjectListControls_mapModeControls__NYuM7",impersonationMode:"ProjectListControls_impersonationMode__vWiMO",activeSearchIcon:"ProjectListControls_activeSearchIcon__4F7Fr",textField:"ProjectListControls_textField___x6eu",crossIcon:"ProjectListControls_crossIcon__iE_6w",projectLabel:"ProjectListControls_projectLabel__I4as3",tabContainerSecondary:"ProjectListControls_tabContainerSecondary__ZV4o7",tabContainer:"ProjectListControls_tabContainer__i3Bm7",mapModeTabs:"ProjectListControls_mapModeTabs__3Cwj4",selectedTabButton:"ProjectListControls_selectedTabButton__yA3uS",unselectedTabButton:"ProjectListControls_unselectedTabButton__cnWtR",label:"ProjectListControls_label__Y6XNM",iconContainer:"ProjectListControls_iconContainer__kj3n8",noOfProject:"ProjectListControls_noOfProject__88lUG",projectCount:"ProjectListControls_projectCount__d9WnL",iconsContainerMobile:"ProjectListControls_iconsContainerMobile__WT_Jv",mapModeButtons:"ProjectListControls_mapModeButtons__JV_pG",buttonContainer:"ProjectListControls_buttonContainer__jtCN7",iconsContainer:"ProjectListControls_iconsContainer__BV2Yi",activeIndicator:"ProjectListControls_activeIndicator__0SrMY",filterDropDownContainer:"ProjectListControls_filterDropDownContainer__iAU2N",classificationListContainer:"ProjectListControls_classificationListContainer__nLNlJ",listMode:"ProjectListControls_listMode__M_ScF",classificationItem:"ProjectListControls_classificationItem__3E842",unselected:"ProjectListControls_unselected__0Wz7V",selected:"ProjectListControls_selected__Q0c_N",filterButton:"ProjectListControls_filterButton__pQ8jS",hrLine:"ProjectListControls_hrLine__8uXlx",filterResultContainer:"ProjectListControls_filterResultContainer__P0DSu",filterResultContainerMobile:"ProjectListControls_filterResultContainerMobile__a0YLU",donationFilterButton:"ProjectListControls_donationFilterButton__QPY7L",donationFilterLabel:"ProjectListControls_donationFilterLabel__uQGZn"}},71444:(e,t,n)=>{"use strict";n.d(t,{y:()=>i});var r=n(37876);let i=e=>{let{color:t}=e;return(0,r.jsx)("svg",{viewBox:"0 0 42 49",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:42,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.15026 6.02249C6.15043 6.02249 6.15051 6.0227 6.15039 6.02282C-2.05024 14.0519 -2.05013 27.0696 6.15072 35.0986L19.8896 48.5495C20.5031 49.1502 21.4969 49.1502 22.1104 48.5495L35.8493 35.0986C44.0502 27.0695 44.0502 14.0507 35.8493 6.02249C27.6484 -2.00739 14.3511 -2.0075 6.15013 6.02217C6.15001 6.02228 6.15009 6.02249 6.15026 6.02249Z",fill:t})})}},78588:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(37876);let i=e=>{let{width:t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,viewBox:"0 0 16 17",fill:"none",children:(0,r.jsx)("path",{d:"M5.83416 5.43102L7.29073 2.262C7.37142 2.08968 7.50861 1.95939 7.67807 1.88794C7.84753 1.81649 8.03717 1.81649 8.20663 1.87953C8.37609 1.94678 8.51731 2.07707 8.60204 2.24519L10.1353 5.38058C10.2442 5.60334 10.45 5.75464 10.688 5.79247L14.0329 6.25899C14.2145 6.28421 14.3799 6.38088 14.4969 6.52798C14.6139 6.67509 14.6744 6.86001 14.6664 7.05335C14.6583 7.24248 14.5816 7.42321 14.4525 7.5577L12.072 10.0374C11.9025 10.214 11.8259 10.4703 11.8662 10.7183L12.4755 14.1773C12.5077 14.3665 12.4714 14.5598 12.3746 14.7195C12.2778 14.8834 12.1244 15.0011 11.9469 15.0515C11.7694 15.102 11.5797 15.081 11.4183 14.9969L8.41644 13.3998C8.20259 13.2863 7.94437 13.2863 7.73456 13.4082L4.76494 15.0726C4.60355 15.165 4.41391 15.1902 4.23638 15.144C4.05885 15.0978 3.90149 14.9843 3.80062 14.8246C3.69975 14.6649 3.6594 14.4715 3.68764 14.2824L4.22024 10.8108C4.25655 10.5628 4.17586 10.3106 4.00236 10.
11383L1.5613 7.71321C1.43219 7.57872 1.35149 7.39799 1.33535 7.20886C1.32325 7.01973 1.37973 6.83059 1.49271 6.67929C1.60568 6.52798 1.77111 6.43131 1.95268 6.40189L5.28946 5.85971C5.52752 5.82189 5.73329 5.65797 5.83416 5.43102Z",fill:"currentColor"})})}},79807:e=>{e.exports={singleCarouselImage:"Slider_singleCarouselImage___T_fT",mobileModal:"Slider_mobileModal__E0iu9",imageDescription:"Slider_imageDescription__Mr7D_",modalOpen:"Slider_modalOpen__e2PEl",imageSliderContainer:"Slider_imageSliderContainer__9T5K5",expandedImageSliderContainer:"Slider_expandedImageSliderContainer__5IoV2",closeModalButton:"Slider_closeModalButton__cEAQm",sliderButton:"Slider_sliderButton__DPvzp",nextMobileSliderButton:"Slider_nextMobileSliderButton__mmK20",prevMobileSliderButton:"Slider_prevMobileSliderButton__keUdw",mobileSliderButtonCommon:"Slider_mobileSliderButtonCommon__UXoWx"}},81866:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(37876),i=n(65383),l=n.n(i),o=n(96851),a=n(684),s=n(69241),c=n(30171);let d=e=>{let{plantDate:t,tag:n,scientificName:i,measurements:d,type:p}=e,C=(0,o.c)("ProjectDetails"),u=(0,c.o6)(e=>e.setSelectedSampleIntervention),h=[{label:C("plantingDate"),data:t?(0,a.A)(t):null,shouldRender:!!t},{label:C("treeTag"),data:C("tag",{number:n}),shouldRender:!!n}];return(0,r.jsxs)("div",{className:(0,s.$)("plant-info-card",l().plantInfoCard),children:[(0,r.jsx)("div",{className:(0,s.$)("planting-details-group",l().plantingDetailsGroup),children:h.map((e,t)=>e.shouldRender?(0,r.jsxs)("div",{className:(0,s.$)("planting-details-item",l().plantingDetailsItem),children:[(0,r.jsx)("h2",{className:l().label,children:e.label}),(0,r.jsx)("p",{className:l().data,children:e.data})]},t):null)}),i&&(0,r.jsxs)("div",{className:(0,s.$)("planting-details-item",l().plantingDetailsItem,l().scientificName),children:[(0,r.jsx)("h2",{className:l().label,children:C("scientificName")}),(0,r.jsx)("p",{className:l().data,children:i})]}),d&&(0,r.jsxs)("div",{className:(0,s.$)("planting-details-item",l().plantingDetailsItem),children:[(0,r.jsx)("h2",{className:l().label,children:C("measurement")}),(0,r.jsx)("p",{className:l().data,children:C("singleSpeciesMeasurement",{plantHeight:d.height,plantWidth:d.width})})]}),"sample-tree-registration"===p&&(0,r.jsxs)("div",{className:(0,s.$)("planting-details-item",l().plantingDetailsItem),children:[(0,r.jsx)("h2",{className:l().label,children:C("plot")}),(0,r.jsx)("button",{className:l().showWholeArea,onClick:()=>u(null),children:C("showWholeArea")})]})]})};var p=n(54949),C=n(39712),u=n(62070);let h=function(e){var t,n,i;let{activeSingleTree:a}=e,c=(0,o.c)("ProjectDetails"),d="sample-tree-registration"===a.type,p=null!=(i=null==a||null==(n=a.coordinates)||null==(t=n[0])?void 0:t.image)?i:"";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:(0,s.$)("single-tree-info-heading",l().singleTreeInfoHeader),children:[(0,r.jsx)("h1",{className:"tree-count",children:c(d?"sampleTree":"1Tree")}),(0,r.jsx)("div",{className:"hid",children:(0,u.NR)(null==a?void 0:a.hid)})]}),p&&(0,r.jsx)("img",{src:(0,C.A)("coordinate","large",p),className:(0,s.$)("single-tree-image",l().singleTreeImage),loading:"lazy"})]})};var m=n(61088);let g=e=>{let{activeSingleTree:t,isMobile:n}=e;if(!t)return null;let i={plantDate:t.interventionStartDate||t.plantDate,tag:t.tag,scientificName:t.scientificName,measurements:t.measurements,type:t.type},o=[(0,r.jsx)(h,{activeSingleTree:t},"singleTreeInfoHeader"),(0,r.jsx)(d,{...i},"plantInfoCard")].filter(Boolean);return n?(0,r.jsx)(m.A,{slides:o,uniqueKey:t.hid}):(0,r.jsxs)("div",{className:l().interventionInfoSection,children:[(0,r.jsx)(h,{activeSingleTree:t}),(0,r.jsx)(d,{...i}),(0,r.jsx)(p.A,{})]})}},84094:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(37876),i=n(96851),l=n(65383),o=n.n(l),a=n(69241),s=n(30171);let c=e=>{let{sampleTrees:t}=e,n=(0,s.o6)(e=>e.setSelectedSampleIntervention),l=(0,i.c)("ProjectDetails");return(0,r.jsx)("div",{className:(0,a.$)("sample-tree-list-container",o().sampleTreeListContainer),children:t.map((e,t)=>(0,r.jsxs)("div",{className:(0,a.$)("sample-tree-container",o().sampleTreeContainer),children:[(0,r.jsxs)("button",{className:o().scientificNameContainer,onClick:()=>n(e),children:[(0,r.jsx)("span",{children:t+1}),".",(0,r.jsx)("p",{className:o().scientificName,children:e.scientificName})]}),(0,r.jsx)("p",{className:o().treeMeasurement,children:l("sampleTreeMeasurement",{hid:e.hid,plantHeight:e.measurements.height,plantWidth:e.measurements.width})})]},e.id))})},d=e=>{let{sampleTrees:t}=e,n=(0,i.c)("ProjectDetails");return(0,r.jsxs)("div",{className:(0,a.$)("sample-trees-container",o().sampleTreesContainer),children:[(0,r.jsx)("h2",{className:o().mainLabel,children:n("sampleTrees",{count:t.length})}),(0,r.jsx)(c,{sampleTrees:t})]})}}
1,88033:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(37876),i=n(14232),l=n(96851),o=n(51335),a=n(65383),s=n.n(a),c=n(72627),d=n(1500),p=n(62070),C=n(69241);let u=e=>{let{hid:t,totalTreesCount:n,hectaresCovered:i}=e,o=(0,l.c)("ProjectDetails"),a=(0,d.Ym)();return(0,r.jsxs)("div",{className:(0,C.$)("intervention-header-container",s().interventionHeaderContainer),children:[(0,r.jsx)("div",{className:(0,C.$)("tree-count",s().treeCount),children:o.rich("totalPlantedTrees",{count:n,formattedCount:(0,c.mC)(a,Number(n),1),area:i>0?i.toFixed(3):void 0,areaContainer:e=>(0,r.jsx)("span",{children:e})})}),(0,r.jsx)("div",{className:(0,C.$)("hid",s().hid),children:(0,p.NR)(t)})]})};var h=n(59967),m=n(84094),g=n(54949),x=n(684);let v=e=>{let{plantingDensity:t,plantDate:n}=e,i=(0,l.c)("ProjectDetails"),o=(0,d.Ym)(),a=[{label:i("plantingDate"),data:n?(0,x.A)(n):null,shouldRender:null!==n},{label:i("plantingDensity"),data:i("plantingDensityUnit",{formattedCount:t?(0,c.mC)(o,t,1):null}),shouldRender:null!==t}];return(0,r.jsx)("div",{className:(0,C.$)("planting-details-group",s().plantingDetailsGroup),children:a.map((e,t)=>{if(e.shouldRender)return(0,r.jsxs)("div",{className:(0,C.$)("planting-details-item",s().plantingDetailsItem),children:[(0,r.jsx)("h2",{className:s().label,children:e.label}),(0,r.jsx)("p",{className:s().data,children:e.data})]},t)})})};var j=n(63211),f=n(61088);let _=e=>{let{activeMultiTree:t,isMobile:n}=e,a=(0,l.c)("ProjectDetails"),{totalTreesCount:c,hectaresCovered:d}=(0,i.useMemo)(()=>{let e=t.plantedSpecies.reduce((e,t)=>e+t.treeCount,0),n=(0,o.A)(t.geometry);return{totalTreesCount:e,hectaresCovered:n>0?n/1e4:0}},[t.geometry,t.type,t.plantedSpecies]),p=d>0?c/d:0,C=(0,i.useMemo)(()=>t.sampleInterventions.map(e=>{var t;return{id:e.coordinates[0].id,image:null!=(t=e.coordinates[0].image)?t:"",description:a("sampleTreeTag",{tag:e.tag})}}),[t.sampleInterventions]),x=void 0!==C&&C.length>0,_=[(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)(u,{hid:t.hid,totalTreesCount:c,hectaresCovered:d},"multiTreeInfoHeader"),x&&(0,r.jsx)(j.A,{images:C,type:"coordinate",isMobile:n,imageSize:"large",allowFullView:!n},"imageSlider")]},"headerAndImage"),(0,r.jsx)(v,{plantingDensity:p,plantDate:t.interventionStartDate||t.plantDate},"plantingDetails"),t.plantedSpecies.length>0&&(0,r.jsx)(h.A,{totalTreesCount:c,plantedSpecies:t.plantedSpecies,plantProject:t.plantProject},"speciesPlanted"),t.sampleInterventions.length>0&&(0,r.jsx)(m.A,{sampleTrees:t.sampleInterventions},"sampleTrees")].filter(Boolean);return n?(0,r.jsx)(f.A,{slides:_,uniqueKey:t.hid||""}):(0,r.jsxs)("section",{className:s().interventionInfoSection,children:[_,(0,r.jsx)(g.A,{})]})}},96823:(e,t,n)=>{"use strict";n.d(t,{A:()=>eK});var r=n(37876),i=n(14232),l=n(18847),o=n.n(l);n(21757),n(14056);var a=n(61129),s=n(97208),c=n(35267),d=n(30171),p=n(64973),C=n(15185),u=n(55766),h=n(12540),m=n(89099),g=n(37347),x=n(26963),v=n.n(x),j=n(60598),f=n(71454),_=n(57233),b=n(62070),y=n(7642);let{colors:w}=y.A.designSystem,V={topProject:w.goldenYellow,regularProject:w.leafGreen,nonDonatableProject:w.mediumGrey},M={conservation:_.CU,"natural-regeneration":_.nv,mangroves:_.f,"managed-regeneration":_.hU,agroforestry:_.i3,"urban-planting":_.p6,"restoration-tree-planting":_.GF,"other-restoration":_.s0},L=async e=>{let t=[];Object.keys(M).forEach(n=>{Object.keys(V).forEach(i=>{let l="pin-".concat(n,"-").concat(i);if(e.hasImage(l))return;let o=M[n],a=(0,f.qV)((0,r.jsx)(o,{color:V[i]}));t.push(new Promise((e,t)=>{let n=a.replace(/^<svg/,'<svg width="'.concat(60,'" height="').concat(68,'"')),r=new Image(60,68);r.onload=()=>e(r),r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,".concat(encodeURIComponent(n))}).then(t=>{e.hasImage(l)||e.addImage(l,(e=>{let t=document.createElement("canvas");t.width=92,t.height=100;let n=t.getContext("2d");return n?(n.shadowColor="rgba(0, 0, 0, 0.25)",n.shadowBlur=8,n.shadowOffsetY=8,n.drawImage(e,16,16,60,68),n.getImageData(0,0,92,100)):e})(t),{pixelRatio:2})}).catch(()=>{}))})}),await Promise.all(t)},H=new WeakMap,I=e=>{let{project:t,handlePopupLeave:n,handlePopupEnter:i,visitProject:l}=e,{coordinates:o}=t.geometry;return(0,r.jsx)(g.z,{latitude:o[1],longitude:o[0],closeButton:!1,offset:42,className:v().projectPopup,children:(0,r.jsx)("div",{className:v().popupContainer,onMouseEnter:i,onMouseLeave:n,onClick:()=>l(t.properties.slug),onKeyDown:()=>l(t.properties.slug),children:(0,r.jsx)(j.default,{project:t.properties,showTooltipPopups:!1})})})};var S=n(5146),N=n(94215);let A="project-markers-gl",P={nonDonatableProject:0,regularProject:1,topProject:2},T=e=>{let{projects:t}=e,{current:n}=(0,C.ko)(),l=(0,m.useRouter)(),{localizedPath:o}=(0,S.A)(),a=(0,N.i)(e=>"true"===e.embed),s=(0,N.i)(e=>e.callbackUrl),{featureCollection:c,projectById:d}=(0,i.useMemo)(()=>{let e=new Map;return{featureCollection:{type:"FeatureCollection",features:t.map(t=>{var n;let r=(e=>{let t=(e=>{if("conservation"===e.purpose)return"conservation";let t=e.classification;return t&&Object.prototype.hasOwnProperty.call(M,t)?t:null})(e);return t?"pin-".concat(t,"-").concat((0,b.MD)(e)):""})(t.properties);return r?(e.set(t.properties.id,t),{type:"Feature",geometry:t.geometry,properties:{id:t.properties.id,slug:t.properties.slug,iconKey:r,sortKey:null!=(n=P[(0,b.MD)(t.properties)])?n:0}}):null}).filter(e=>null!==e)},projectById:e}},[t]),p=(0,i.useCallback)(e=>{let t=new URLSearchParams;a&&(t.set("embed","true"),"string"==typeof s&&t.set("callback",s));let n=t.toString(),r="/".concat(e).concat(n?"?".concat(n):"");l.push(o(r))},[o,a,s,l]);(0,i.useEffect)(()=>{let e=null==n?void 0:n.getMap();if(!e)return;let t=!1,r=()=>{t||(e=>{if(H.get(e))return;let t=L(e).finally(()=>{H.delete(e)});return H.set(e,t)})(e)};return e.isStyleLoaded()?r():e.once("load",r),e.on("styleimagemissing",r),()=>{t=!0,e.off("load",r),e.off("styleimagemissing",r)}},[n]),(0,i.useEffect)(()=>{let e=null==n?void 0:n.getMap();if(!e)return;let t=()=>{let t=e.getLayersOrder();t.includes(A)&&t[t.length-1]!==A&&e.moveLayer(A)};return t(),e.on("styledata",t),()=>{e.off("styledata",t)}},[n]);let[g,x]=(0,i.useState)(null),v=(0,i.useRef)(null),j=(0,i.useRef)(null),f=(0,i.useCallback)(()=>{v.current&&clearTimeout(v.current),j.current&&clearTimeout(j.current)},[]);(0,i.useEffect)(()=>()=>f(),[f]),(0,i.useEffect)(()=>{let e=null==n?void 0:n.getMap();if(!e)return;let t=e=>e?d.get(e.properties.id):void 0,r=n=>{var r;e.getCanvas().style.cursor="pointer";let i=t(null==(r=n.features)?void 0:r[0]);i&&(f(),v.current=setTimeout(()=>{x(e=>(null==e?void 0:e.properties.id)===i.properties.id?e:i)},300))},i=()=>{e.getCanvas().style.cursor="",v.current&&clearTimeout(v.current),j.current=setTimeout(()=>x(null),200)},l=e=>{var n;let r=t(null==(n=e.features)?void 0:n[0]);r&&p(r.properties.slug)};
1return e.on("mousemove",A,r),e.on("mouseleave",A,i),e.on("click",A,l),()=>{e.off("mousemove",A,r),e.off("mouseleave",A,i),e.off("click",A,l)}},[n,d,p,f]);let _=(0,i.useCallback)(()=>{j.current=setTimeout(()=>x(null),200)},[]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.k,{id:"project-markers-source",type:"geojson",data:c,children:(0,r.jsx)(h.W,{id:A,type:"symbol",layout:{"icon-image":["get","iconKey"],"icon-size":1,"icon-anchor":"bottom","icon-offset":[0,8],"icon-allow-overlap":!0,"symbol-sort-key":["get","sortKey"]}})}),g&&(0,r.jsx)(I,{project:g,handlePopupEnter:f,handlePopupLeave:_,visitProject:p})]})},k=()=>{let e=(0,d.Iw)(e=>e.isProjectsError),{filteredProjects:t}=(0,p.f)();return e?null:(0,r.jsx)(T,{projects:t})},D=()=>{let{SATELLITE_LAYER:e,SITE_POLYGON_LINE:t}=b.GE,n=(0,i.useMemo)(()=>["https://wayback.maptiles.arcgis.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}"],[]);return(0,r.jsx)(u.k,{id:"satellite",type:"raster",tiles:n,tileSize:256,children:(0,r.jsx)(h.W,{id:e,source:"satellite",type:"raster",beforeId:t})})};var F=n(43526);function B(e){let{geoJson:t,isSatelliteView:n}=e,{colors:i}=y.A.designSystem;return(0,r.jsxs)(u.k,{id:"project-site",type:"geojson",data:t,children:[(0,r.jsx)(h.W,{id:b.GE.SITE_POLYGON,type:"fill",paint:{"fill-color":i.white,"fill-opacity":.05}}),(0,r.jsx)(h.W,{id:b.GE.SITE_POLYGON_LINE,type:"line",source:"project-site",paint:{"line-color":n?i.white:i.primaryColor,"line-width":4},layout:{visibility:"visible"}})]})}var E=n(96851),O=n(1500),Z=n(65021),R=n(51335),G=n(18542),U=n.n(G),W=n(72627),z=n(15789),Y=n(69241);let{colors:$}=y.A.designSystem,K=e=>{let t=e.geometry;return!!t&&"object"==typeof t&&"string"==typeof t.type&&Array.isArray(t.coordinates)&&t.coordinates.length>0},Q=e=>{let{sampleIntervention:t,selectedSampleIntervention:n,togglePointIntervention:i}=e;return(0,r.jsx)(Z.p,{latitude:t.geometry.coordinates[1],longitude:t.geometry.coordinates[0],anchor:"center",children:(0,r.jsx)("div",{className:(0,Y.$)(U().single,{[U().singleSelected]:t.hid===(null==n?void 0:n.hid)}),role:"button",tabIndex:0,onClick:e=>i(e,t)},"".concat(t.id,"-marker"))},"".concat(t.id,"-sample"))};function q(){var e;let t=(0,d.o6)(e=>e.interventions),n=(0,d.o6)(e=>e.hoveredIntervention),i=(0,d.o6)(e=>e.selectedIntervention),l=(0,d.o6)(e=>e.selectedInterventionType),o=(0,d.o6)(e=>e.selectedSampleIntervention),a=(0,d.Q)(e=>e.isSatelliteView),s=(0,d.Q)(e=>e.viewState.zoom),c=(0,d.o6)(e=>e.setSelectedSampleIntervention),p=(0,E.c)("Maps"),C=(0,O.Ym)(),m=(e,t)=>{e.stopPropagation(),e.preventDefault(),(null==o?void 0:o.hid)===t.hid?c(null):"sample-tree-registration"===t.type&&c(t)};if(!t||0===t.length)return(0,r.jsx)(r.Fragment,{});let g=t.filter(K).filter(e=>"all"===l||"default"!==l&&e.type===l||"default"===l&&("multi-tree-registration"===e.type||"single-tree-registration"===e.type)).map(e=>{var t;let r=null!==i&&i.id===e.id,l=null!==n&&n.id===e.id;return t=e.geometry,{type:"Feature",properties:{id:e.id,...{highlightLine:r||l,opacity:"multi-tree-registration"===e.type?(e=>{let t=(e=>{let t=0;if(!e||!e.plantedSpecies)return 0;for(let n in e.plantedSpecies)Object.prototype.hasOwnProperty.call(e.plantedSpecies,n)&&(t+=e.plantedSpecies[n].treeCount);return t})(e),n=(e=>{if(!e||"multi-tree-registration"!==e.type)return 0;{let t=(0,R.A)(e.geometry);return"number"==typeof t?t/1e4:0}})(e),r=n>0?t/n:0;return r>2500?.5:r>2e3?.4:r>1600?.3:r>1e3?.2:.1})(e):.5,dateDiff:(e=>{var t;let n=null!=(t=e.interventionStartDate)?t:e.plantDate;if(!n)return"";let r=new Date,i=new Date(n.slice(0,10)),l=(r.getTime()-i.getTime())/864e5;return l<1?p("today"):l<2?p("yesterday"):l<=10?p("daysAgo",{days:(0,W.mC)(C,l,0)}):""})(e),type:e.type}},geometry:t}}),x=["multi-tree-registration","enrichment-planting","all","default"].includes(l),v=i&&"single-tree-registration"!==i.type&&x&&s>14&&i.sampleInterventions;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(u.k,{id:"display-source",type:"geojson",data:{type:"FeatureCollection",features:[...g]},children:[(0,r.jsx)(h.W,{id:b.GE.PLANT_POLYGON,type:"fill",paint:{"fill-color":z.jo,"fill-opacity":["get","opacity"]},filter:["==",["geometry-type"],"Polygon"]}),(0,r.jsx)(h.W,{id:b.GE.PLANT_POINT,type:"circle",paint:{"circle-color":z.jo,"circle-opacity":["case",["==",["get","id"],null!=(e=(null==i?void 0:i.id)||(null==n?void 0:n.id))?e:0],1,.5]},filter:["==",["geometry-type"],"Point"]}),(0,r.jsx)(h.W,{id:b.GE.SELECTED_LINE,type:"line",paint:{"line-color":a?$.white:z.jo,"line-width":4},filter:["==",["get","highlightLine"],!0]}),(0,r.jsx)(h.W,{id:b.GE.DATE_DIFF_LABEL,type:"symbol",layout:{"text-field":["get","dateDiff"],"text-anchor":"center","text-font":["Ubuntu Regular"]},paint:{"text-color":a?$.white:$.coreText},filter:["!=",["get","dateDiff"],""]}),v?i.sampleInterventions.map(e=>(0,r.jsx)(Q,{sampleIntervention:e,selectedSampleIntervention:o,togglePointIntervention:m},e.id)):null]})})}var X=n(12519),J=n(34949);function ee(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1200,l=arguments.length>5?arguments[5]:void 0;if(!l.current)return;let o=l.current.getMap?l.current.getMap():l.current;o.flyTo({center:[t,n],zoom:r,duration:i}),o.once("moveend",()=>{e({longitude:t,latitude:n,zoom:r,bearing:0,pitch:0,padding:{top:0,bottom:0,left:0,right:0}})})}var et=n(71444);let{colors:en}=y.A.designSystem,er=e=>{let{latitude:t,longitude:n,purpose:i}=e;return(0,r.jsx)(Z.p,{latitude:t,longitude:n,anchor:"center",children:(0,r.jsx)(et.y,{color:"conservation"===i?en.skyBlue:en.primaryColor})})},ei=e=>{let{width:t}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,viewBox:"7 1 22 28",fill:"none",children:[(0,r.jsxs)("g",{filter:"url
1(#filter0_d_1076_3)",children:[(0,r.jsx)("path",{d:"M15.4779 15.1295C12.9097 15.1295 12.8261 10.2127 12.8261 10.1314C12.8261 9.9265 12.761 9.72465 12.6402 9.55895C12.5194 9.39023 12.3459 9.2637 12.1477 9.19441C11.9525 9.12511 11.7387 9.11306 11.5374 9.16428C11.336 9.21549 11.1532 9.32395 11.0169 9.47459C9.72201 10.996 8.80194 12.7886 8.33416 14.7107C6.84408 21.9865 10.7195 25.3848 12.4451 26.5116C13.9692 27.4907 15.7567 28.0089 17.5844 27.9999C20.2641 27.9999 22.8415 26.9936 24.7777 25.192C26.1996 23.8514 27.2065 22.1522 27.6866 20.2813C28.1668 18.4104 28.0925 16.4491 27.4822 14.6173C26.7821 12.6832 25.5739 10.9629 23.9785 9.6192C21.8905 7.89291 20.5367 5.47669 20.1774 2.83453C20.1464 2.64774 20.0627 2.47601 19.9357 2.33441C19.8087 2.19281 19.6414 2.09038 19.4587 2.03615C19.279 1.98795 19.0869 1.98795 18.9041 2.03615C18.7245 2.08436 18.5603 2.18076 18.4302 2.31634C18.3155 2.43685 15.6452 5.31401 16.9618 10.3995C17.4667 12.3487 17.4141 13.828 16.8286 14.5661C16.4909 14.9487 15.9921 15.1566 15.4779 15.1295Z",fill:"url(#paint0_linear_1076_3)"}),(0,r.jsx)("path",{d:"M12.4451 26.5116C13.9692 27.4907 15.7567 28.0089 17.5844 27.9999C20.2641 27.9999 22.8415 26.9936 24.7777 25.192M12.4451 26.5116L12.6358 26.2195C12.6354 26.2192 12.635 26.219 12.6346 26.2187M12.4451 26.5116C10.7195 25.3848 6.84408 21.9865 8.33416 14.7107M12.4451 26.5116L12.6336 26.2181C12.634 26.2183 12.6343 26.2185 12.6346 26.2187M12.6346 26.2187C14.1014 27.1607 15.8223 27.6597 17.5827 27.651L17.5844 27.651C20.1769 27.651 22.6687 26.6776 24.5393 24.9373M12.6346 26.2187C11.804 25.6761 10.4544 24.5853 9.49258 22.7548C8.53429 20.931 7.94687 18.347 8.67464 14.787M24.5393 24.9373C24.539 24.9376 24.5387 24.9379 24.5384 24.9382L24.7777 25.192M24.5393 24.9373C24.5396 24.9371 24.5398 24.9369 24.5401 24.9366L24.7777 25.192M24.5393 24.9373C25.9134 23.6414 26.8853 22.0003 27.3487 20.1945C27.8117 18.3907 27.7406 16.4994 27.1526 14.7318M24.7777 25.192C26.1996 23.8514 27.2065 22.1522 27.6866 20.2813C28.1668 18.4104 28.0925 16.4491 27.4822 14.6173M27.4822 14.6173L27.1541 14.7361C27.1536 14.7347 27.1531 14.7332 27.1526 14.7318M27.4822 14.6173C26.7821 12.6832 25.5739 10.9629 23.9785 9.6192M27.4822 14.6173L27.1512 14.7276C27.1517 14.729 27.1521 14.7304 27.1526 14.7318M27.1526 14.7318C26.4737 12.8586 25.3027 11.1909 23.7549 9.88702M23.9785 9.6192L23.7562 9.88807C23.7558 9.88772 23.7553 9.88737 23.7549 9.88702M23.9785 9.6192C21.8905 7.89291 20.5367 5.47669 20.1774 2.83453M23.9785 9.6192L23.7537 9.88603C23.7541 9.88636 23.7545 9.88669 23.7549 9.88702M23.7549 9.88702C21.6028 8.10719 20.2049 5.61497 19.8325 2.88718M20.1774 2.83453L19.8332 2.8916C19.833 2.89013 19.8327 2.88865 19.8325 2.88718M20.1774 2.83453C20.1464 2.64774 20.0627 2.47601 19.9357 2.33441C19.8087 2.19281 19.6414 2.09038 19.4587 2.03615M20.1774 2.83453L19.8317 2.88154C19.8319 2.88342 19.8322 2.8853 19.8325 2.88718M19.8325 2.88718C19.812 2.76904 19.7587 2.65955 19.676 2.56736C19.5955 2.47759 19.4866 2.40919 19.3638 2.37193M19.4587 2.03615L19.3683 2.3731C19.3668 2.3727 19.3653 2.37231 19.3638 2.37193M19.4587 2.03615C19.279 1.98795 19.0869 1.98795 18.9041 2.03615M19.4587 2.03615L19.3594 2.3706C19.3609 2.37104 19.3624 2.37148 19.3638 2.37193M19.3638 2.37193C19.2453 2.34097 19.1171 2.34093 18.9938 2.37328M18.9041 2.03615L18.9945 2.3731C18.9943 2.37316 18.9941 2.37322 18.9938 2.37328M18.9041 2.03615C18.7245 2.08436 18.5603 2.18076 18.4302 2.31634M18.9041 2.03615L18.9931 2.37348C18.9933 2.37341 18.9936 2.37335 18.9938 2.37328M18.9938 2.37328C18.8757 2.40511 18.7679 2.46846 18.6824 2.55734M18.4302 2.31634L18.6829 2.55677C18.6828 2.55695 18.6826 2.55714 18.6824 2.55734M18.4302 2.31634C18.3155 2.43685 15.6452 5.31401 16.9618 10.3995M18.4302 2.31634L18.6819 2.5579C18.682 2.55771 18.6822 2.55753 18.6824 2.55734M18.6824 2.55734C18.5965 2.64793 16.0289 5.4043 17.2995 10.3121M16.9618 10.3995L17.2995 10.312C17.2995 10.312 17.2995 10.312 17.2995 10.3121M16.9618 10.3995C17.4667 12.3487 17.4141 13.828 16.8286 14.5661C16.4909 14.9487 15.9921 15.1566 15.4779 15.1295M16.9618 10.3995L17.2995 10.3121M17.2995 10.3121C17.5574 11.3076 17.6774 12.1994 17.6528 12.9485C17.6283 13.6918 17.4598 14.3316 17.1019 14.7829L17.0962 14.7901L17.0901 14.7969C16.6832 15.2581 16.0848 15.508 15.4687 15.4783M15.4687 15.4783C15.4718 15.4783 15.4748 15.4783 15.4779 15.4783V15.1295M15.4687 15.4783C15.4657 15.4782 15.4626 15.478 15.4595 15.4779L15.4779 15.1295M15.4687 15.4783C14.7013 15.4754 14.1246 15.1001 13.7075 14.5776C13.2964 14.0626 13.0293 13.394 12.8526 12.7537C12.4987 11.4709 12.4772 10.1858 12.4772 10.1314
1C12.4772 9.99959 12.4352 9.86986 12.3583 9.76448L12.3566 9.76207L12.3566 9.76206C12.2797 9.6547 12.1665 9.57053 12.0326 9.52373L12.0309 9.52316C11.8986 9.47616 11.7553 9.46881 11.6234 9.50237C11.4878 9.53686 11.3671 9.60899 11.2788 9.70515M15.4779 15.1295C12.9097 15.1295 12.8261 10.2127 12.8261 10.1314C12.8261 9.9265 12.761 9.72465 12.6402 9.55895C12.5194 9.39023 12.3459 9.2637 12.1477 9.19441C11.9525 9.12511 11.7387 9.11306 11.5374 9.16428C11.336 9.21549 11.1532 9.32395 11.0169 9.47459M11.2788 9.70515C11.2801 9.70367 11.2813 9.70218 11.2826 9.7007L11.0169 9.47459M11.2788 9.70515C10.0221 11.1831 9.12936 12.9228 8.67464 14.787M11.2788 9.70515C11.2777 9.70632 11.2767 9.70749 11.2756 9.70866L11.0169 9.47459M11.0169 9.47459C9.72201 10.996 8.80194 12.7886 8.33416 14.7107M8.33416 14.7107L8.67593 14.7807C8.6755 14.7828 8.67507 14.7849 8.67464 14.787M8.33416 14.7107L8.67313 14.7932C8.67363 14.7911 8.67414 14.7891 8.67464 14.787",stroke:"white",strokeWidth:"0.697722"})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("filter",{id:"filter0_d_1076_3",x:"0",y:"0",width:"36",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,r.jsx)("feOffset",{dy:"6"}),(0,r.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,r.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),(0,r.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1076_3",result:"shape"})]}),(0,r.jsxs)("linearGradient",{id:"paint0_linear_1076_3",x1:"17.0909",y1:"2.46429",x2:"17.0909",y2:"29.3929",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#FFA14E"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#DC3F1F"})]})]})]})};var el=n(77783),eo=n(58391),ea=n(8193),es=n(50956);let ec=e=>{let{width:t}=e;return(0,r.jsxs)("svg",{width:t,viewBox:"0 0 18 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{y:"0.5",width:"18",height:"18",rx:"3.33333",fill:"url(#paint0_linear_1179_76)"}),(0,r.jsx)("path",{d:"M8.48697 4.34341C8.72069 3.9591 9.27852 3.9591 9.51225 4.34341L14.8537 13.1262C15.0969 13.5261 14.809 14.038 14.341 14.038H3.65817C3.19019 14.038 2.90236 13.5261 3.14553 13.1262L8.48697 4.34341Z",fill:"white"}),(0,r.jsx)("path",{d:"M8.47842 11.8636C8.53648 11.8889 8.59773 11.8341 8.56218 11.7888C8.36923 11.5427 8.18651 11.1286 8.47762 10.5954C8.96307 9.70617 9.25847 9.24561 9.25847 9.24561C9.25847 9.24561 9.41559 9.78308 9.84151 10.261C10.2514 10.7209 10.4758 11.2993 10.1141 11.7812C10.0801 11.8265 10.14 11.8798 10.1977 11.8556C10.6454 11.668 11.1476 11.2915 11.2043 10.5424C11.2252 10.3135 11.1938 9.99299 11.0372 9.58857C10.8357 9.07601 10.5881 8.83684 10.4448 8.73413C10.4019 8.70341 10.3353 8.73064 10.3388 8.77721C10.3805 9.33026 10.1266 9.47061 9.98208 9.15432C9.92436 9.02799 9.89069 8.80949 9.89069 8.5434C9.89069 8.1004 9.73383 7.64438 9.38802 7.27381C9.29809 7.17744 9.19286 7.08739 9.07214 7.0106C9.02843 6.9828 8.96507 7.01075 8.96908 7.05596C8.99563 7.35628 8.97157 8.21696 8.05003 9.2452C7.21447 10.199 7.53825 10.9315 7.65314 11.1299C7.8728 11.51 8.17919 11.7332 8.47842 11.8636Z",fill:"#E86F56"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.05682 12.2925C9.24215 12.3986 9.4001 12.4854 9.51624 12.6074C9.62945 12.7264 9.6782 12.7815 9.4908 12.6821C9.31631 12.5893 9.15128 12.4977 8.93686 12.4303C8.92619 12.4367 8.91493 12.443 8.90277 12.4499C7.52512 13.2146 6.20111 12.9863 5.60708 11.001C6.89463 10.9663 8.4559 10.2751 9.02481 12.1372C9.04624 12.2063 9.05927 12.2542 9.05682 12.2925ZM8.54052 12.1385C7.87549 11.5495 6.81672 11.6286 6.14147 11.3003C7.02344 12.0218 7.28891 11.8869 8.54052 12.1385Z",fill:"#E86F56"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_1179_76",x1:"9",y1:"9.5",x2:"21.475",y2:"25.05",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#E86F56"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FA7902"})]})})]})};var ed=n(46419),ep=n.n(ed);let{colors:eC}=y.A.designSystem;function eu(e){var t;
1let{isOpen:n,feature:l,anchorEl:o,onMouseEnter:a,onMouseLeave:s}=e,c=(0,i.useRef)(null),[d,p]=(0,i.useState)(null),[C,u]=(0,i.useState)(n),h=(0,i.useMemo)(()=>document.querySelector("canvas.maplibregl-canvas"),[]),m=(0,i.useMemo)(()=>{var e;return[{name:"arrow",enabled:!0,options:{element:(e={arrowRef:d,clippingBoundary:h}).arrowRef,padding:8}},{name:"flip",enabled:!0,options:{fallbackPlacements:["bottom"],altBoundary:!0,padding:4,boundary:e.clippingBoundary}},{name:"preventOverflow",enabled:!0,options:{altAxis:!0,altBoundary:!0,padding:4,boundary:e.clippingBoundary}}]},[d,h]),[g,x]=(0,i.useState)("top"),v=(0,E.c)("ProjectDetails");(0,i.useEffect)(()=>{u(n)},[n]),(0,i.useEffect)(()=>{var e,t;(null==(e=c.current)?void 0:e.getAttribute("data-popper-placement"))&&x(null==(t=c.current)?void 0:t.getAttribute("data-popper-placement"))},[null==c||null==(t=c.current)?void 0:t.getAttribute("data-popper-placement")]);let j=(0,i.useMemo)(()=>{let e=Math.round(Math.abs(new Date().getTime()-new Date(l.properties.eventDate).getTime())/36e5);if(e<24)return{amount:"".concat(e),unit:"h"};let t=Math.round(e/24);return{amount:"".concat(t),unit:"d"}},[l.properties.eventDate]),f=(0,i.useMemo)(()=>{let[e,t]=l.geometry.coordinates,n=t>=0?"".concat(Math.abs(t),"\xb0N"):"".concat(Math.abs(t),"\xb0S"),r=e>=0?"".concat(Math.abs(e),"\xb0E"):"".concat(Math.abs(e),"\xb0W");return"".concat(n,", ").concat(r)},[l.geometry.coordinates]),_=(0,i.useMemo)(()=>({high:"highAlertConfidenceText",medium:"mediumAlertConfidenceText",low:"lowAlertConfidenceText"})[l.properties.confidence]||"mediumAlertConfidenceText",[l.properties.confidence]),y=(0,i.useMemo)(()=>{let e=(0,b.ZI)(),t="https://www.plant-for-the-planet.org/firealert/";return"android"===e?t="https://play.google.com/store/apps/details?id=eco.pp.firealert":"ios"===e&&(t="https://apps.apple.com/app/fire-alert-for-forests/id1667307676"),t},[]);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(eo.A,{id:"fire-popup",open:C,ref:c,anchorEl:o,placement:"top",disablePortal:!1,onMouseLeave:()=>{null==s||s(),u(!1)},onMouseEnter:()=>{null==a||a(),u(!0)},modifiers:m,children:["top"===g?(0,r.jsx)("div",{className:ep().arrowTop,ref:p}):(0,r.jsxs)("div",{className:ep().arrowBottomContainer,ref:p,children:[(0,r.jsx)("div",{className:ep().arrowBottomWhite}),(0,r.jsx)("div",{className:ep().arrowBottomColored})]}),(0,r.jsxs)("aside",{className:ep().popupContainer,children:[(0,r.jsxs)("header",{className:ep().popupTitle,children:[(0,r.jsxs)("h2",{className:ep().titleText,children:[(0,r.jsx)(ec,{width:18})," ",v("forestFire")]}),(0,r.jsxs)("p",{className:ep().timeDuration,children:["h"===j.unit?v("hoursAgo",{age:j.amount}):v("daysAgo",{age:j.amount}),(0,r.jsx)(es.A,{width:9,height:9,color:eC.softText2,children:(0,r.jsx)("div",{className:ep().infoIconPopupContainer,children:v("firePopupText")})})]})]}),(0,r.jsxs)("div",{className:ep().popupText,children:[(0,r.jsx)("p",{className:ep().coordinates,children:f}),(0,r.jsx)("p",{children:v.rich(_,{important:e=>(0,r.jsx)("span",{children:e})})}),(0,r.jsxs)("a",{className:ep().setUpAlertsContainer,href:y,target:"_blank",rel:"noreferrer",children:[(0,r.jsx)("p",{className:ep().setUpAlerts,children:v.rich("setUpAlertsText",{important:e=>(0,r.jsx)("span",{children:e})})}),(0,r.jsx)(ea.A,{width:5,color:eC.softText})]})]})]})]})})}let eh={high:0,medium:1,low:2};function em(){let{query:e}=(0,m.useRouter)(),{site:t}=e,{getApi:n}=(0,el.g)(),[l,o]=(0,i.useState)([]),[a,s]=(0,i.useState)(null),c=(0,i.useRef)({});(0,i.useEffect)(()=>{t&&(async()=>{var e,r,i,l;try{let i=new URLSearchParams;i.append("remoteId",t),i.append("span","30d");let l=(r="https://firealert.plant-for-the-planet.org/api/v1",void 0!==r)?r:"https://fa.pp.eco/api/v1",a="".concat(l,"/fires?").concat(i.toString()),s=await n(a);if((null==s?void 0:s.type)==="FeatureCollection"&&(null==s||null==(e=s.features)?void 0:e.length)>0){let e=s.features,t=function(e){if(e.length<=100)return[...e];let t=Date.now(),n=e=>{let n=new Date(e.properties.eventDate).getTime();return isNaN(n)?1/0:(t-n)/864e5},r=[],i=[],l=[];for(let t of e){let e=n(t);e<=3?r.push(t):e<=7?i.push(t):e<=30&&l.push(t)}let o=(e,t)=>{let n=eh[e.properties.confidence]-eh[t.properties.confidence];return 0!==n?n:new Date(t.properties.eventDate).getTime()-new Date(e.properties.eventDate).getTime()},a=r.slice().sort(o).slice(0,30),s=i.filter(e=>"low"!==e.properties.confidence).slice().sort(o).slice(0,30),c=[...a,...s,...l.filter(e=>"high"===e.properties.confidence).slice().sort(o).slice(0,40)],d=new Map;for(let e of c)d.set(e.properties.id,e);return Array.from(d.values())}(e);o(t)}}catch(n){let e=null==n||null==(i=n.errors)?void 0:i.message,t=(n instanceof Error,n.message);console.log(null!=(l=null!=e?e:t)?l:String(n))}})()},[t]);let d=(0,i.useMemo)(()=>l.map(e=>{let t="".concat(e.properties.id);return(0,r.jsx)(Z.p,{latitude:e.geometry.coordinates[1],longitude:e.geometry.coordinates[0],anchor:"center",children:(0,r.jsx)("div",{ref:e=>{c.current[t]=e},className:ep().fireIcon,onMouseEnter:()=>s(e),onMouseLeave:()=>s(t=>(null==t?void 0:t.properties.id)===e.properties.id?null:t),children:(0,r.jsx)(ei,{width:24})})},"firealert-alert-".concat(t))}),[l]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.k,{id:"display-source-firealert",type:"geojson",data:{type:"FeatureCollection",features:l},children:d}),a&&(0,r.jsx)(eu,{isOpen:!0,feature:a,anchorEl:c.current["".concat(a.properties.id)],onMouseEnter:()=>s(a),onMouseLeave:()=>s(null)},"firealert-popup-".concat(a.properties.id))]})}
1function eg(e){let{condition:t,children:n}=e;return(0,r.jsx)(r.Fragment,{children:t?(0,r.jsx)(r.Fragment,{children:n}):null})}let ex=e=>{let{mapRef:t,selectedTab:n,sitesGeoJson:l}=e,o=(0,d.mD)(e=>e.singleProject),a=(0,d.mD)(e=>e.selectedSite),s=(0,d.Q)(e=>e.isSatelliteView),c=(0,d.o6)(e=>e.selectedIntervention),p=(0,d.o6)(e=>e.interventions),C=(0,d.Q)(e=>e.setIsSatelliteView),u=(0,d.Q)(e=>e.handleViewStateChange),h=(0,m.useRouter)(),{ploc:g,site:x}=h.query,v=!!(!x&&g),j=l.features.length>0,f="field"===n&&!s;return(0,i.useEffect)(()=>{if(!h.isReady||null===c)return;let{geometry:e}=c,{type:n,coordinates:r}=e;if("Polygon"===n)!function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:3e3;if(!t.current)return;let i=(0,X.n1)([e]),l=(0,J.A)(i),o=t.current.getMap?t.current.getMap():t.current;o.fitBounds([[l[0],l[1]],[l[2],l[3]]],{duration:r,maxZoom:17,padding:{top:50,bottom:50,left:50,right:50}}),o.once("moveend",()=>{let e=o.getCenter(),t=o.getZoom();n({longitude:e.lng,latitude:e.lat,zoom:t,bearing:0,pitch:0,padding:{top:0,bottom:0,left:0,right:0}})})}(r[0],t,u,b._$.ZOOM_IN);else if("Point"===n){let[e,n]=r;"number"==typeof e&&"number"==typeof n&&ee(u,e,n,20,b._$.ZOOM_IN,t)}},[c,h.isReady]),(0,i.useEffect)(()=>{if(h.isReady&&o&&!c&&!v)if(j&&null!==a)(0,F.k)(t,l,a,u,b._$.ZOOM_IN);else{var e;let{lat:n,lon:r}=o.coordinates;if((null==(e=o.sites)?void 0:e.length)!==0)return;"number"==typeof n&&"number"==typeof r&&ee(u,r,n,10,4e3,t)}},[a,x,h.isReady]),(0,i.useEffect)(()=>{C((null==o?void 0:o.purpose)==="conservation"||(null==o?void 0:o.purpose)==="trees"&&Array.isArray(p)&&0===p.length)},[p,null==o?void 0:o.purpose]),(0,r.jsxs)(r.Fragment,{children:[j&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(B,{isSatelliteView:s,geoJson:l}),s&&(0,r.jsx)(D,{})]}),!j&&o&&(0,r.jsx)(er,{latitude:o.coordinates.lat,longitude:o.coordinates.lon,purpose:o.purpose}),f&&(0,r.jsx)(q,{}),(0,r.jsx)(eg,{condition:(0,b.r8)(),children:(0,r.jsx)(em,{})})]})},ev=e=>{let{width:t,color:n}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,viewBox:"0 0 27 27",fill:"none",children:[(0,r.jsx)("rect",{width:"27",height:"27",transform:"matrix(-1 0 0 1 27 0)",fill:"white"}),(0,r.jsx)("path",{d:"M22.6865 5.44709V21.5312H5.62402V10.5658L22.6865 5.44709ZM25.5303 1.625L2.78027 8.45V24.375H25.5303V1.625Z",fill:n})]})};var ej=n(5098),ef=n.n(ej),e_=n(74058),eb=n(54251);let ey=e=>{let{siteList:t,setIsMenuOpen:n,selectedSiteData:i}=e,l=(0,O.Ym)(),o=(0,m.useRouter)(),a=(0,d.mD)(e=>e.selectSiteAndSyncUrl);return(0,r.jsx)("ul",{className:ef().siteListOptions,children:t.map((e,t)=>(0,r.jsxs)("li",{className:(0,Y.$)(ef().listItem,{[ef().selectedItem]:e.id===(null==i?void 0:i.id)}),onClick:()=>{a(t,l,o),n(!1)},children:[(0,r.jsx)("p",{children:e.siteName}),(0,r.jsxs)("p",{className:ef().siteArea,children:[(0,W.fu)(l,e.siteArea,0)," ha"]})]},t))})};var ew=n(9905);let eV=e=>{let{activeDropdown:t,setActiveDropdown:n}=e,[l,o]=(0,i.useState)(!1),a=(0,E.c)("ProjectDetails"),s=(0,O.Ym)(),{query:c}=(0,m.useRouter)(),p=(0,d.mD)(e=>{var t;return null==(t=e.singleProject)?void 0:t.sites}),C=(0,d.mD)(e=>e.selectedSite),u=(0,d.o6)(e=>e.selectedIntervention),h=(0,i.useMemo)(()=>p?p.map((e,t)=>{let n=e.geometry?(0,R.A)(e):0;return{siteName:e.properties.name,siteArea:n>0?n/1e4:0,id:t}}):[],[p]),g=(0,i.useMemo)(()=>h.length>1,[h.length]),x=(0,i.useCallback)(e=>{let t=h.findIndex(t=>t.id===e);return -1!==t?t+1:null},[h]),v=null!==C?h[C]:void 0;return(0,i.useEffect)(()=>{"intervention"===t&&o(!1)},[t]),(0,r.jsxs)("div",{className:ef().dropdownWrapper,children:[(0,r.jsxs)("div",{className:(0,Y.$)({[ef().dropdownButton]:g,[ef().dropdownDetails]:!g}),onClick:g?()=>{g&&("site"!==t?(n("site"),o(!0)):o(e=>!e))}:void 0,children:[(0,r.jsxs)("div",{className:ef().siteIconAndTextContainer,children:[(0,r.jsx)(ev,{width:27,color:y.A.designSystem.colors.coreText}),u&&c.ploc?"-":(0,r.jsx)(r.Fragment,{children:v&&(0,r.jsxs)("div",{className:ef().labelTextContainer,children:[(0,r.jsxs)("label",{className:ef().sitesLabel,children:[(0,r.jsx)("span",{className:ef().siteId,children:a("siteCount",{siteId:x(null==v?void 0:v.id),totalCount:h.length})}),(0,r.jsx)("span",{className:ef().separator,children:" • "}),(0,r.jsxs)("span",{children:[(0,W.fu)(s,null==v?void 0:v.siteArea,
10)," ","ha"]})]}),(0,r.jsx)("p",{className:ef().siteName,children:(0,ew.W)(null==v?void 0:v.siteName,40)})]})})]}),g&&(0,r.jsx)("div",{className:ef().menuArrow,children:l?(0,r.jsx)(e_.A,{width:10}):(0,r.jsx)(eb.A,{width:10})})]}),l&&g&&(0,r.jsx)(ey,{siteList:h,setIsMenuOpen:o,selectedSiteData:v})]})};var eM=n(31146),eL=n.n(eM);let eH=e=>{let{interventionList:t,setIsMenuOpen:n,selectedInterventionData:i,availableInterventionTypes:l}=e,o=(0,E.c)("ProjectDetails.intervention"),a=(0,d.o6)(e=>e.setSelectedInterventionType),s=(0,d.mD)(e=>{var t,n,r,i;return(null==(n=e.singleProject)||null==(t=n.sites)?void 0:t.length)!==void 0&&(null==(i=e.singleProject)||null==(r=i.sites)?void 0:r.length)>0});return(0,r.jsx)("ul",{className:(0,Y.$)(eL().interventionListOptions,{[eL().interventionListOptionsBelow]:s,[eL().interventionListOptionsAbove]:!s}),children:t.map(e=>{if(!(e=>{let t="all"===e,n=l.includes(e);return(!t||1!==l.length)&&(n||t)})(e.value))return null;let t=e.value===(null==i?void 0:i.value);return(0,r.jsx)("li",{className:(0,Y.$)(eL().listItem,{[eL().selectedItem]:t}),onClick:()=>{var t;return t=e.value,void(n(!1),a(t))},children:(0,r.jsx)("p",{children:o(e.value)})},e.value)})})},eI=function(){let{colors:e}=y.A.designSystem;return(0,r.jsxs)("svg",{width:"27",height:"27",viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{width:"27",height:"27",transform:"matrix(-1 0 0 1 27 0)",fill:"white"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_5513_164)",children:[(0,r.jsx)("path",{d:"M9.73693 25C9.4499 24.9184 9.30557 24.7177 9.22936 24.4354C9.09638 23.9458 8.95043 23.4578 8.79151 22.9764C8.75097 22.8524 8.65204 22.743 8.56447 22.6402C7.78932 21.728 7.30769 20.6868 7.19904 19.4857C7.11633 18.58 7.2412 17.7086 7.62067 16.873C7.8704 16.323 8.08608 15.7568 8.31798 15.197C8.7834 14.0759 9.24071 12.9531 9.71585 11.8369C9.93964 11.313 10.2315 10.8267 10.6402 10.4204C10.6694 10.391 10.6872 10.3273 10.6791 10.2849C10.5186 9.43632 10.3483 8.59098 10.1894 7.74238C10.0856 7.18426 9.97208 6.62614 9.90883 6.06313C9.83748 5.42504 9.86018 4.7837 10.1051 4.17499C10.2851 3.72784 10.564 3.35413 11.0099 3.13871C11.138 3.07507 11.2775 3.04406 11.4105 3C11.5289 3 11.6489 3 11.7673 3C11.8013 3.00979 11.8354 3.02448 11.871 3.03101C12.1337 3.0816 12.2959 3.23826 12.377 3.49447C12.6867 4.45568 12.9997 5.41362 13.3127 6.37319C13.7327 7.65915 14.1527 8.94511 14.5727 10.2294C14.7511 10.7761 14.9408 11.3196 15.1062 11.8712C15.2554 12.3705 15.283 12.8846 15.1338 13.3872C14.7657 14.634 14.3846 15.8759 14.0068 17.1211C13.7862 17.8505 13.5641 18.58 13.3467 19.3111C13.3289 19.3699 13.3305 19.4449 13.3532 19.502C13.7927 20.6656 14.2354 21.8275 14.6798 22.9895C14.7933 23.2881 14.7414 23.5378 14.5273 23.7091C14.2322 23.9458 13.7781 23.8348 13.6419 23.4807C13.3403 22.7006 13.0451 21.9173 12.7484 21.1356C12.5927 20.7276 12.4532 20.3115 12.2765 19.9133C12.137 19.5983 12.1402 19.3095 12.2408 18.9831C12.8375 17.0476 13.4181 15.1073 14.0084 13.1702C14.1106 12.8324 14.1073 12.4994 13.9987 12.1682C13.4959 10.626 12.9916 9.08545 12.4889 7.54492C12.1435 6.4858 11.8013 5.42831 11.4559 4.36919C11.4429 4.33165 11.4283 4.29412 11.4056 4.23863C11.2629 4.38877 11.1689 4.54543 11.1186 4.72658C11.0035 5.14762 10.9905 5.58008 11.0472 6.00601C11.1121 6.50211 11.2126 6.99332 11.3051 7.48453C11.4559 8.27765 11.6132 9.06913 11.764 9.86225C11.777 9.92916 11.8013 9.95853 11.8662 9.96833C12.3283 10.0369 12.6559 10.311 12.9138 10.6815C13.0273 10.8447 13.0467 11.0258 12.9803 11.2167C12.4986 12.6072 12.1727 14.04 11.8467 15.4728C11.7267 16.0016 11.6245 16.5336 11.5159 17.0656C11.464 17.3169 11.3229 17.4866 11.0716 17.5421C10.8267 17.596 10.624 17.5111 10.4764 17.3087C10.3775 17.1716 10.3597 17.0117 10.3937 16.8485C10.5315 16.186 10.6564 15.5201 10.8121 14.8625C11.0407 13.8947 11.2905 12.9335 11.537 11.9707C11.5986 11.7292 11.6862 11.4925 11.7575 11.2527C11.7689 11.2151 11.7737 11.1417 11.7575 11.1352C11.7154 11.1156 11.6554 11.1041 11.6148 11.1205C11.5483 11.1482 11.4851 11.1923 11.4316 11.2429C11.1251 11.5382 10.9191 11.9038 10.757 12.2889C10.1018 13.849 9.45963 15.4141 8.80935 16.9758C8.62285 17.4246 8.42825 17.8685 8.35528 18.3548C8.22393 19.2409 8.35204 20.0814 8.75259 20.881C8.98448 21.3461 9.29098 21.7557 9.64774 22.1327C9.7191 22.2094 9.78396 22.3057 9.81477 22.4052C10.0013 23.0042 10.178 23.6063 10.3532 24.2101C10.457 24.5675 10.3207 24.8368 9.97856 24.9706C9.96072 24.9772 9.94613 24.9886 9.92991 24.9967H9.72883L9.73693 25Z",fill:e.coreText}),(0,r.jsx)("path",{d:"M25 13.9992C25 15.7274 25 17.4556 25 19.1838C25 19.5412 24.7632 19.7844 24.4081 19.7844C23.654 19.786 22.8983 19.786 22.1442 19.7844C21.8102 19.7844 21.5653 19.5412 21.5637 19.2051C21.5604 17.4099 21.562 15.6132 21.5604 13.8181C21.5604 12.1568 21.5604 10.4955 21.5604 8.8358C21.5604 8.44577 21.7907 8.21403 22.1767 8.2124C22.9161 8.2124 23.6556 8.2124 24.3951 8.2124C24.76 8.2124 24.9967 8.44903 24.9967 8.81295C24.9967 10.5412 24.9967 12.2694 24.9967 13.9976L25 13.9992Z",fill:e.coreText}),(0,r.jsx)("path",{d:"M20.3993 13.9994C20.3993 15.7276 20.3993 17.4558 20.3993 19.184C20.3993 19.5398 20.1577 19.7862 19.8074 19.7878C19.0598 19.7878 18.3139 19.7878 17.5663 19.7878C17.1998 19.7878 16.963 19.5528 16.963 19.1856C16.963 15.7259 16.963 12.2646 16.963 8.80495C16.963 8.45082 17.2014 8.21582 17.5533 8.21582C18.3041 8.21582 19.055 8.21582 19.8058 8.21582C20.1609 8.21582 20.3993 8.45571 20.3993 8.81637C20.3993 10.5446 20.3993 12.2728 20.3993 14.001V13.9994Z",fill:e.coreText}),(0,r.jsx)("path",{d:"M8.3131 9.54893C8.2985 9.60768 8.27418 9.71702 8.24175 9.82309C7.80552 11.1972 7.36767 12.5713 6.93307 13.9453C6.51468 15.2656 6.09629 16.5874 5.67952 17.9077C5.53033 18.3809 5.37952 18.8542 5.23032 19.3291C5.1087 19.7126 4.79734 19.8627 4.41625 19.7322C3.77245 19.5118 3.12865 19.2964 2.48161 19.0843C2.07133 18.9488 1.91565 18.6665 2.04701 18.2536C2.4508 16.9791 2.85784 15.7046 3.26001 14.43C3.71569 12.9874 4.17138 11.5448 4.62707 10.
11022C4.78275 9.60768 4.93843 9.11157 5.09897 8.61873C5.20113 8.30214 5.51249 8.13895 5.82872 8.24339C6.51468 8.46696 7.1974 8.69543 7.88012 8.92717C8.17039 9.02508 8.31634 9.22581 8.31472 9.5473L8.3131 9.54893Z",fill:e.coreText})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_5513_164",children:(0,r.jsx)("rect",{width:"23",height:"22",fill:"white",transform:"translate(2 3)"})})})]})},eS=e=>{let{allInterventions:t,activeDropdown:n,setActiveDropdown:l,isMobile:o,availableInterventionTypes:a}=e,s=(0,E.c)("ProjectDetails.intervention"),c=(0,d.o6)(e=>e.selectedInterventionType),[p,C]=(0,i.useState)(!1),u=(0,i.useMemo)(()=>t?t.map(e=>({label:e.label,index:e.index,value:e.value})):[],[t]);(0,i.useEffect)(()=>{"site"===n&&C(!1)},[n]);let h=(()=>{let e=1===a.length?a[0]:c;return(0,z.YV)(e)})();return(0,r.jsxs)("div",{className:eL().dropdownWrapper,children:[(0,r.jsxs)("div",{className:eL().dropdownButton,onClick:()=>{"intervention"!==n?(l("intervention"),C(!0)):C(e=>!e)},children:[(0,r.jsxs)("div",{className:eL().interventionIconAndTextContainer,children:[(0,r.jsx)(eI,{}),(0,r.jsx)(r.Fragment,{children:h&&(0,r.jsx)("div",{className:eL().labelTextContainer,children:o?(0,r.jsx)("label",{className:eL().interventionsLabel,children:(0,ew.W)(s(null==h?void 0:h.value),40)}):(0,r.jsx)("p",{className:eL().interventionName,style:{marginTop:"5px"},children:(0,ew.W)(s(null==h?void 0:h.value),40)})})})]}),(0,r.jsx)("div",{className:eL().menuArrow,children:p?(0,r.jsx)(e_.A,{width:10}):(0,r.jsx)(eb.A,{width:10})})]}),p&&(0,r.jsx)(eH,{interventionList:u,setIsMenuOpen:C,selectedInterventionData:h,availableInterventionTypes:a})]})};var eN=n(68711);let eA=function(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",children:[(0,r.jsx)("path",{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.jsx)("path",{className:"iconFillColor",d:"M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z"})]})},eP=function(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",children:[(0,r.jsx)("path",{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.jsx)("path",{className:"iconFillColor",d:"M12 4.53L17.74 9l-1.89 1.47 1.43 1.42L21 9l-9-7-2.59 2.02 1.42 1.42zm9 9.54l-1.63-1.27-.67.52 1.43 1.43zM3.41.86L2 2.27l4.22 4.22L3 9l9 7 2.1-1.63 1.42 1.42-3.53 2.75-7.37-5.73L3 14.07l9 7 4.95-3.85L20.73 21l1.41-1.41L3.41.86zM12 13.47L6.26 9l1.39-1.08 5.02 5.02-.67.53z"})]})};var eT=n(17754);let ek=e=>{let{isMobile:t,selectedTab:n,currentPage:l,mobileOS:o}=e,[a,s]=(0,i.useState)(null),c=(0,d.Q)(e=>e.isSatelliteView),p=(0,d.Q)(e=>e.mapOptions),C=(0,d.iH)(e=>"true"===e.embed),u=(0,d.iH)(e=>e.showProjectDetails),h=(0,d.mD)(e=>{var t;return!(0,b.k5)(null==(t=e.singleProject)?void 0:t.sites)}),m=(0,d.o6)(e=>null!==e.selectedSampleIntervention||null!==e.selectedIntervention),g=(0,d.o6)(e=>e.interventions),x=(0,d.Q)(e=>e.setIsSatelliteView),v=(0,d.Q)(e=>e.updateMapOption),j=(0,d.y3)(e=>e.setSelectedMode),f=(0,i.useMemo)(()=>{if(!g)return[];let e=new Set;for(let t=0;t<g.length;t++)e.add(g[t].type);return[...e]},[g]),_=!(t&&m)&&"field"===n,y="project-details"===l,w=y&&"field"===n&&f.length>1,V=C&&t&&"project-details"===l&&"false"===u,M={activeDropdown:a,setActiveDropdown:s},L={allInterventions:z.w,activeDropdown:a,setActiveDropdown:s,availableInterventionTypes:f},H=(0,Y.$)(U().layerToggle,{[U().layerToggleAndroid]:t&&"android"===o,[U().layerToggleIos]:t&&"ios"===o,[U().layerToggleDesktop]:!t}),I=(0,Y.$)(U().projectListControlsContainer,{[U().embedModeMobile]:C}),S=(0,Y.$)(U().siteInterventionDropdownsMobile,{[U().embedModeMobile]:C});return(0,r.jsxs)(r.Fragment,{children:[t&&"project-list"===l&&(0,r.jsx)("div",{className:I,children:(0,r.jsx)(eN.A,{isMobile:t,mapOptions:p,updateMapOption:v})}),y&&(0,r.jsxs)(r.Fragment,{children:[t?(0,r.jsxs)("div",{className:S,children:[h&&(0,r.jsx)(eV,{...M}),w&&(0,r.jsx)(eS,{...L,isMobile:t}),!V&&(0,r.jsx)("button",{className:U().exitMapModeButton,onClick:()=>{j("list")},children:(0,r.jsx)(eT.A,{width:18})})]}):(0,r.jsxs)("div",{className:U().siteInterventionDropdowns,children:[h&&(0,r.jsx)(eV,{...M}),w&&(0,r.jsx)(eS,{...L})]}),_&&(0,r.jsx)("button",{className:H,onClick:()=>x(!c),children:c?(0,r.jsx)(eA,{}):(0,r.jsx)(eP,{})})]})]})};var eD=n(60851),eF=n.n(eD);let eB=e=>{let{icon:t,title:n,isSelected:i,onClickHandler:l}=e;return(0,r.jsxs)("button",{className:(0,Y.$)(eF().singleTabOption,{[eF().selected]:i}),onClick:l,children:[t,(0,r.jsx)("p",{children:n})]})},eE=e=>{let{color:t}=e;return(0,r.jsxs)("svg",{viewBox:"0 0 512 352",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M0 269.803V134.666C4.799 140.028 9.18723 145.718 14.6775 150.502C23.2937 158.012 32.7113 164.365 42.9205 169.718C52.8391 174.917 63.0683 179.422 73.7583 182.908C88.6061 187.76 103.845 191.043 119.384 193.045C129.964 194.412 140.574 195.173 151.264 195.163C252.213 195.134 353.162 195.144 454.112 195.153C465.733 195.153 477.355 195.134 488.987 195.211C496.321 195.259 502.542 197.772 507.241 203.365C510.928 207.736 511.99 212.867 511.99 218.297C512 253.783 512 289.259 511.99 324.745C511.99 327.345 511.9 329.944 511.75 332.534C511.118 343.547 501.591 352.01 490.119 351.923C481.202 351.856 472.296 351.904 463.379 351.961C462.257 351.961 461.976 351.673 461.976 350.623C462.016 340.38 462.006 330.146 461.996 319.903C461.996 313.404 457.348 307.821 450.685 306.242C444.113 304.682 437.13 307.628 433.974 313.241C432.381 316.09 432.06 319.162 432.06 322.3C432.08 331.783 432.11 341.256 432.17 350.739C432.17 351.682 431.87 351.971 430.878 351.961C421.55 351.913 412.213 351.904 402.885 351.904C400.381 351.904 400.361 351.933 400.361 349.468C400.341 340.226 400.341 330.984 400.331 321.751C400.321 309.871 400.461 297.991 400.251 286.111C400.08 276.59 390.402 270.149 380.904 272.922C375.694 274.443 370.364 279.709 370.405 287.295C370.505 308.418 370.445 329.54 370.495 350.662C370.495 351.769 370.104 351.99 369.042 351.99C359.504 351.942 349.966 351.942 340.428 351.942C338.625 351.942 338.615 351.981 338.595 350.171C338.565 346.734 338.545 343.287 338.535 339.85C338.535 332.967 338.735 326.084 338.485 319.21C338.134 309.688 327.875 303.344 318.567 306.685C312.376 308.909 308.739 314.232 308.749 321.01C308.769 330.368 308.779 339.735 308.779 349.093C308.779 351.913 308.759 351.894 305.874 351.894C296.546 351.904 287.209 351.942 277.881 351.961C277.611 351.961 277.34 351.875 277.019 351.827C276.999 351.326 276.959 350.883 276.959 350.45C276.949 341.891 276.929 333.333 276.929 324.774C276.929 312.211 276.959 299.657 276.959 287.093C276.959 280.046 272.261 274.116 265.568 272.701C258.284 271.16 251.411 274.337 248.356 280.691C247.194 283.108 246.993 285.688 247.003 288.306C247.003 309.072 247.003 329.829 247.023 350.594C247.023 351.403 247.103 352 245.831 351.99C236.043 351.942 226.254 351.961 216.466 351.99C215.494 351.99 214.923 351.827 215.033 350.768C215.073 350.373 215.003 349.969 215.003 349.574C215.043 339.937 214.933 330.291 215.163 320.654C215.394 310.555 205.806 303.97 196.448 306.29C189.676 307.975 185.307 313.684 185.307 320.866C185.307 330.782 185.307 340.707 185.348 350.
1623C185.348 351.711 185.027 351.981 183.935 351.971C171.111 351.846 158.277 351.884 145.453 351.615C138.8 351.48 132.138 351.018 125.525 350.334C115.837 349.333 106.279 347.523 96.8416 345.203C80.7314 341.246 65.082 336.096 50.4746 328.259C40.4158 322.868 31.0081 316.764 22.8328 308.909C15.1484 301.534 8.75642 293.361 4.64872 283.647C2.5047 278.592 0.831559 273.432 0.971822 267.877C0.99186 266.895 0.831559 265.913 0.761428 264.931C0.701315 264.931 0.651221 264.931 0.591108 264.931C0.390733 266.578 0.200376 268.195 0 269.803Z",fill:t}),(0,r.jsx)("path",{d:"M0 82.334C0.180338 83.7011 0.370695 85.0778 0.551033 86.4449C0.601127 86.4449 0.66124 86.4449 0.711334 86.4449C0.781465 85.4725 0.951785 84.4905 0.911709 83.5182C0.711334 78.6853 2.26425 74.199 3.9474 69.7898C6.95304 61.9051 11.5817 54.9157 17.3024 48.5714C24.3557 40.7541 32.4809 34.1402 41.5679 28.566C52.9192 21.6152 65.0219 16.2047 77.7257 11.9976C90.0188 7.92525 102.632 5.03709 115.436 2.95761C127.068 1.07067 138.82 0.127207 150.612 0.0213075C157.485 -0.0364559 164.358 -0.0364559 171.221 0.29087C180.368 0.724094 189.465 1.67719 198.512 3.15978C208.982 4.87343 219.311 7.12619 229.43 10.2069C236.513 12.3634 243.497 14.7895 250.309 17.7161C259.386 21.6152 268.063 26.14 276.188 31.6082C284.063 36.9128 291.076 43.1224 297.187 50.2946C302.167 56.1287 306.174 62.4923 308.949 69.5298C312.215 77.8381 313.548 86.4256 312.386 95.3019C311.143 104.785 307.497 113.363 302.167 121.411C296.306 130.249 288.691 137.402 280.095 143.717C267.391 153.056 253.305 159.881 238.327 165.109C224.401 169.961 210.094 173.282 195.477 175.506C180.619 177.769 165.681 178.77 150.673 178.269C140.654 177.942 130.665 177.133 120.696 175.853C109.024 174.351 97.603 171.848 86.3719 168.632C77.9061 166.216 69.6205 163.116 61.4853 159.775C49.8535 155 39.0632 148.733 29.2448 141.012C20.5185 134.148 13.2849 126.042 7.79461 116.578C4.53851 110.956 2.33438 104.929 1.13212 98.604C0.801503 96.8904 0.981841 95.0997 0.921728 93.3379C0.901691 92.9047 0.841578 92.4715 0.591108 92.0286C0.400751 93.5882 0.210394 95.1479 0.0200376 96.7171C0.0200376 91.9131 0.0200376 87.1188 0.0200376 82.3148L0 82.334ZM158.257 129.122C158.257 128.997 158.267 128.872 158.277 128.747C165.921 128.67 173.465 127.842 180.939 126.273C190.106 124.347 198.863 121.44 206.858 116.645C213.901 112.429 219.922 107.24 223.639 99.9615C225.904 95.5137 226.735 90.7867 226.074 85.8576C225.322 80.2449 222.688 75.4891 218.981 71.1761C216.075 67.7969 212.438 65.2842 208.781 62.7619C204.253 59.633 199.214 57.4092 194.054 55.5222C188.113 53.3465 181.951 51.8543 175.649 50.8434C168.266 49.6592 160.852 49.1875 153.408 49.4571C147.517 49.6689 141.626 49.9866 135.785 51.0552C129.172 52.2586 122.74 53.9819 116.559 56.4561C111.148 58.6222 106.029 61.3467 101.31 64.7932C97.8936 67.2963 94.8579 70.0786 92.3331 73.4C87.7445 79.4074 86.0113 86.1272 87.2937 93.4535C88.4859 100.241 92.3932 105.613 97.4928 110.234C102.883 115.115 109.125 118.783 115.967 121.44C123.972 124.549 132.198 126.937 140.844 127.717C146.645 128.246 152.446 128.651 158.247 129.113L158.257 129.122Z",fill:t}),(0,r.jsx)("path",{d:"M248.977 178.209C249.899 177.795 250.81 177.362 251.752 176.977C261.13 173.213 270.187 168.842 278.863 163.769C290.224 157.126 300.093 148.769 308.909 139.238C309.601 138.497 310.212 137.679 310.863 136.899C311.484 136.158 312.115 135.416 312.877 134.511V178.392H249.047C249.027 178.325 248.997 178.267 248.977 178.2V178.209Z",fill:t})]})},eO=function(e){let{color:t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,r.jsx)("path",{fill:t,d:"M502.60969,310.04206l-96.70393,96.71625a31.88151,31.88151,0,0,1-45.00765,0L280.572,326.34115l-9.89231,9.90759a190.56343,190.56343,0,0,1-5.40716,168.52287c-4.50077,8.50115-16.39342,9.59505-23.20707,2.79725L134.54715,400.05428l-17.7999,17.79929c.70324,2.60972,1.60965,5.00067,1.60965,7.79793a32.00544,32.00544,0,1,1-32.00544-32.00434c2.79735,0,5.18838.90637,7.7982,1.60959l17.7999-17.79929L4.43129,269.94287c-6.798-6.81342-5.70409-18.6119,2.79735-23.20627a190.58161,190.58161,0,0,1,168.52864-5.407l9.79854-9.79821-80.31053-80.41716a32.002,32.002,0,0,1,0-45.09987L201.96474,9.29814A31.62639,31.62639,0,0,1,224.46868,0a31.99951,31.99951,0,0,1,22.59759,9.29814l80.32615,80.30777,47.805-47.89713a33.6075,33.6075,0,0,1,47.50808,0l47.50807,47.50645a33.63308,33.63308,0,0,1,0,47.50644l-47.805,47.89713L502.71908,265.036A31.78938,31.78938,0,0,1,502.60969,310.04206ZM219.56159,197.433l73.82505-73.82252-68.918-68.9-73.80942,73.80689Zm237.74352,90.106-68.90233-68.9156-73.825,73.82252,68.918,68.9Z"})})},eZ=e=>{let{selectedTab:t,setSelectedTab:n,isTimeTravelEnabled:i}=e,{colors:l}
1=y.A.designSystem,o=["field",...i?["timeTravel"]:[]],a=(0,E.c)("Maps");return 1===o.length?null:(0,r.jsxs)("div",{className:eF().tabsContainer,children:[(0,r.jsx)(eB,{icon:(0,r.jsx)(eE,{color:"field"===t?l.white:l.coreText}),title:a("fieldData"),isSelected:"field"===t,onClickHandler:()=>n("field")}),i&&(0,r.jsx)(eB,{icon:(0,r.jsx)(eO,{color:"timeTravel"===t?l.white:l.coreText}),title:a("timeTravelTab"),isSelected:"timeTravel"===t,onClickHandler:()=>n("timeTravel")})]})};var eR=n(88033),eG=n(81866),eU=n(26715),eW=n(14539);function ez(){let e=(0,d.Q)(e=>e.mapOptions),t=(0,d.Q)(e=>e.exploreLayersData);if(!t)return null;let n=Object.entries(e).filter(e=>{let[t,n]=e;return"projects"!==t&&!0===n}).map(e=>{let[t]=e;return t});if(0===n.length)return null;let i=n.reduce((e,n)=>{let r=t[n];return(null==r?void 0:r.tileUrl)&&e.push({layerKey:n,layerData:r}),e},[]);return(0,r.jsx)(r.Fragment,{children:i.map(e=>{let{layerKey:t,layerData:n}=e,i=[n.tileUrl];return(0,r.jsx)(u.k,{id:t,type:"raster",tiles:i,tileSize:128,minzoom:n.zoomConfig.minZoom,maxzoom:n.zoomConfig.maxZoom,children:(0,r.jsx)(h.W,{id:"".concat(t,"-layer"),source:t,type:"raster"})},t)})})}var eY=n(19359);let e$=o()(()=>Promise.all([n.e(9430),n.e(2001),n.e(793)]).then(n.bind(n,50793)),{loadableGenerated:{webpack:()=>[50793]},ssr:!1,loading:()=>(0,r.jsx)("p",{children:"Loading comparison..."})}),eK=function(e){let t=(0,d.Q)(e=>e.exploreLayersData),n=(0,d.Q)(e=>e.setExploreLayersData),l=(0,i.useRef)(!1);(0,i.useEffect)(()=>{(async()=>{if(null===t&&!l.current){l.current=!0;try{let e=await fetch("".concat("https://layers.plant-for-the-planet.org","/layers"),{method:"GET",headers:{"x-api-key":"94b960b03cbf20760c5bcb9b86407ab34835cf5abe1fc2d311b8ba9c6d1f8cbe"}});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json();if(!Array.isArray(t)||0===t.length)return void n(null);let r=new Set(t.filter(e=>e.enabled).map(e=>e.key));Object.entries(c.i).forEach(e=>{let[t,n]=e;"projects"!==t&&Array.isArray(n)&&n.forEach(e=>{e.isAvailable=r.has(e.key)})});let i=t.reduce((e,t)=>(e[t.key]=t,e),{});n(i)}catch(e){console.error("Error fetching layers:",e),n(null)}}})()},[t]);let{isMobile:o}=e,C=(0,O.Ym)(),u=(0,m.useRouter)(),h=(0,i.useRef)(null),g=(0,i.useRef)(null),{filteredProjects:x}=(0,p.f)(),v=(0,d.y3)(e=>e.page),j=(0,d.iH)(e=>"true"===e.embed),f=(0,d.iH)(e=>e.isContextLoaded),_=(0,d.Q)(e=>e.mapOptions),y=(0,d.Q)(e=>e.timeTravelConfig),w=(0,d.Q)(e=>e.viewState),V=(0,d.Q)(e=>e.mapState),M=(0,d.Iw)(e=>e.projects),L=(0,d.mD)(e=>e.singleProject),H=(0,d.o6)(e=>e.selectedSampleIntervention),I=(0,d.o6)(e=>e.selectedIntervention),S=(0,d.o6)(e=>e.interventions),N=(0,d.Q)(e=>e.initializeMapStyle),A=(0,d.Q)(e=>e.setTimeTravelConfig),P=(0,d.Q)(e=>e.handleViewStateChange),T=(0,d.Q)(e=>e.setMapState),D=(0,d.o6)(e=>e.setSelectedSampleIntervention),B=(0,d.mD)(e=>e.selectSiteAndSyncUrl),E=(0,d.o6)(e=>e.setHoveredIntervention),Z=(0,d.o6)(e=>e.selectInterventionSyncUrl),[R,G]=(0,i.useState)(null),[W,$]=(0,i.useState)(!1),[K,Q]=(0,i.useState)(!1),q=(0,i.useMemo)(()=>{var e;return(0,b.Ih)(null!=(e=null==L?void 0:L.sites)?e:[])},[null==L?void 0:L.sites]),X=(0,i.useMemo)(()=>Object.entries(_).filter(e=>{let[t,n]=e;return"projects"!==t&&!0===n}).length>0,[_]);(0,i.useEffect)(()=>{N()},[N]),(0,i.useEffect)(()=>{var e;W&&(null==(e=h.current)||e.resize())},[W]),(0,i.useEffect)(()=>{"project-details"===v?G("field"):(A(null),G(null),Q(!1))},[v]),(0,i.useEffect)(()=>{"timeTravel"===R&&Q(!0)},[R]),(0,i.useEffect)(()=>{f&&T({scrollZoom:!j})},[f,j,T]),(0,eU.s)(()=>{let e=h.current;if(!(x.length>0&&(x.length<30||x.length===(null==M?void 0:M.length))&&null!==e&&"project-list"===v))return;let t=(0,b.YZ)(x);if(0===t.length)return;let n=(0,b.fi)(t);if(!n.geometry)return;let r=e.getCenter();(0,b.PB)(r,n.geometry.coordinates)||(0,b.kY)(h,n.geometry.coordinates)},250,[x]);let J=null!==L&&"project-details"===v&&W,ee="project-list"===v&&!!_.projects&&M&&M.length>0&&!J&&W,et=o&&null===H&&(null==I?void 0:I.type)==="multi-tree-registration",en=o&&(null!==H||(null==I?void 0:I.type)==="single-tree-registration"),er=!(et||en),ei=J&&null!==y&&null!==y.sources&&y.projectId===(null==L?void 0:L.id)&&!o,el=ei&&("timeTravel"===R||K),eo=null!==R,ea="project-list"===v&&X,es=(0,i.useMemo)(()=>(0,b.ZI)(),[o]);(0,i.useEffect)(()=>
1{if("project-details"!==v&&W&&h.current){let e=h.current.getMap?h.current.getMap():h.current;try{(0,F.U)(e,()=>{P({...e.getCenter(),zoom:e.getZoom()})})}catch(e){console.error("Failed to zoom out map:",e)}}},[v,W]);let ec=(0,i.useCallback)(e=>{P(e.viewState)},[P]),ed=(0,i.useCallback)(e=>{var t,n,r;if("project-details"!==v)return;let i=()=>{null!==g.current&&(g.current=null,E(null))},l=(0,b.$r)(h,e.point);if(!(null==l?void 0:l.length)||!(0,b.yo)(l[0]))return void i();let o=null!=(n=null==(t=l[0].properties)?void 0:t.id)?n:null;if(null!==o&&o===(null==I?void 0:I.id))return void i();if(o===g.current)return;let a=(0,b.EI)(S,l[0]);g.current=null!=(r=null==a?void 0:a.id)?r:null,E(null!=a?a:null)},[S,v,I]),ep=(0,i.useCallback)(e=>{var t,n;if("project-details"!==v)return;let r=(0,b.$r)(h,e.point);if(!r||0===r.length)return;let i=(null==L?void 0:L.sites)||[],l=null!=(t=null==L?void 0:L.slug)?t:"",o=i.length>0?(0,b.WS)(i,r):null;if(H&&D(null),(0,b.yo)(r[0])){if(null!==I&&(null==(n=r[0].properties)?void 0:n.id)===I.id){"Point"===I.geometry.type&&B(null!==o&&o>=0?o:null,C,u);return}let e=(0,b.EI)(S,r[0]);if(e)return void Z(e,C,l,u)}null!==o&&o>=0&&B(o,C,u)},[S,v,I,L,H]),eC=o&&null!==I&&!z.XP.includes(I.type);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ek,{selectedTab:R,isMobile:o,currentPage:v,mobileOS:es}),(0,r.jsx)(eY.A,{children:(0,r.jsxs)("div",{className:(0,Y.$)(U().mapContainer,es&&U()[es]),children:[eo&&(0,r.jsx)(eZ,{selectedTab:R,setSelectedTab:G,isTimeTravelEnabled:ei}),el&&(0,r.jsx)("div",{children:(0,r.jsx)(e$,{sitesGeoJson:q,isVisible:"timeTravel"===R})}),(0,r.jsxs)(a.T,{...w,...V,onMove:ec,onLoad:()=>$(!0),onMouseMove:ed,onMouseOut:()=>E(null),onClick:ep,attributionControl:!1,ref:h,interactiveLayerIds:null!==L?b.oA:void 0,style:{width:"100%",height:"100%"},children:[ea&&(0,r.jsx)(ez,{}),J&&(0,r.jsx)(ex,{mapRef:h,selectedTab:R,sitesGeoJson:q}),ee&&(0,r.jsx)(k,{}),er&&(0,r.jsx)(s.o,{position:"bottom-right",showCompass:!1})]})]})}),et&&(0,r.jsx)(eR.A,{activeMultiTree:I,isMobile:o}),en&&(0,r.jsx)(eG.A,{activeSingleTree:H||I,isMobile:o}),eC&&(0,r.jsx)(eW.A,{isMobile:o})]})}}}]);
2//# sourceMappingURL=2940-591e72d3a82f04d4.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.