PageSourceSearch

https://www.cleanhub.com/_next/static/chunks/pages/dashboard/[slug]-5e546d98568ff20b.js

js cleanhub.com collected 2026-09-24 18:22:14 UTC 26,809 bytes, 2 lines download raw bytes

1try{!function(){var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d002acac-921f-4908-88f9-a8f0d2a13417",e._sentryDebugIdIdentifier="sentry-dbid-d002acac-921f-4908-88f9-a8f0d2a13417")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7852],{2921:(e,t,a)=>{"use strict";a.d(t,{l:()=>n});var i=a(10841),l=a.n(i),o=a(14232);function n(){let[e,t]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{t(!0)},[]),(0,o.useCallback)((t,a)=>{if(!t)return"";let i=l()(t);if(!i.isValid())return"";if(a?.yearOnly)return i.format("YYYY");let o=i.toDate().toLocaleDateString(e?void 0:"en-US",{day:a?.showDay===!1||a?.compact?void 0:"numeric",month:a?.short?"numeric":"short",year:a?.short||a?.compact?"2-digit":"numeric",hour:a?.showTime?"numeric":void 0,minute:a?.showTime?"numeric":void 0,timeZone:a?.utc?"UTC":void 0});return a?.compact?o.replace(/(\d\d$)/,"‘$1"):o},[e])}},11132:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/[slug]",function(){return a(70515)}])},14411:(e,t,a)=>{"use strict";a.d(t,{e:()=>n});var i=a(18153),l=a(14232),o=a(10794);function n({children:e,pageTitle:t}){let{trackPageView:a}=(0,o.z)();return(0,l.useEffect)(()=>{t&&a(t)},[t,a]),(0,i.Y)(i.FK,{children:e})}},15141:(e,t,a)=>{"use strict";a.d(t,{Y:()=>s});var i,l=a(18153);a(14232);var o=a(22380),n=a(88892),r=a(10794),c=((i={}).BOOK_CALL="book_call",i.DO_GOOD="do_good",i.VOICE="voice",i),d=a(14411);function s(e,t={}){return a=>{let{trackCalendly:i,trackConversion:s}=(0,r.z)();return(0,o.yl)({onProfilePageViewed:()=>i("Profile page viewed"),onDateAndTimeSelected:()=>i("Date and time selected"),onEventScheduled:()=>{i("Event scheduled"),s(c.BOOK_CALL)}}),(0,l.FD)(d.e,{pageTitle:t.trackPageView,children:[t.seo&&(0,l.Y)(n.$,{description:t.seo.description,image:t.seo.image,title:t.seo.title}),e?(0,l.Y)(e,{...a}):null]})}}},15508:(e,t,a)=>{"use strict";a.d(t,{x:()=>c});var i=a(18153),l=a(6621),o=a(54587),n=a.n(o),r=a(14232);function c({showSkeleton:e,alt:t,style:a,...o}){let[d,s]=(0,r.useState)(!0);return(0,i.FD)(i.FK,{children:[e&&d&&(0,i.Y)(l.E,{className:"h-full w-full",style:a}),(0,i.Y)(n(),{...o,alt:t,unoptimized:!0,onLoad:()=>s(!1),style:a})]})}},22767:(e,t,a)=>{"use strict";a.d(t,{o:()=>o});var i=a(18153);let l={full:{black:"/_next/static/media/cleanhub-logo-full-black.ad757021.svg",white:a(53198).A.src},mark:{black:"/_next/static/media/cleanhub-logo-mark-black.95db4599.svg",white:"/_next/static/media/cleanhub-logo-mark-white.e8a4f6d2.svg"},markLarge:{black:"/_next/static/media/cleanhub-logo-mark-large-black.51665874.svg",white:"/_next/static/media/cleanhub-logo-mark-large-white.d0faa893.svg"},tagline:{black:"/_next/static/media/cleanhub-logo-tagline-black.0aa6f07a.svg",white:"/_next/static/media/cleanhub-logo-tagline-white.93f832cf.svg"},taglineWeb:{black:"/_next/static/media/cleanhub-logo-tagline-web-black.f01cf27d.svg",white:"/_next/static/media/cleanhub-logo-tagline-web-white.de327bdb.svg"},text:{black:"/_next/static/media/cleanhub-logo-text-black.83989973.svg",white:"/_next/static/media/cleanhub-logo-text-white.ce7dace4.svg"},wave:{black:"/_next/static/media/cleanhub-logo-wave-black.db8ad9b3.svg",white:"/_next/static/media/cleanhub-logo-wave-white.ced8bd4d.svg"}};function o({color:e="black",variant:t="full"}){return(0,i.Y)("img",{alt:"CleanHub",className:"block max-h-full max-w-full",src:l[t][e]})}},35330:(e,t,a)=>{"use strict";a.d(t,{I:()=>l,Y:()=>o});var i=a(14232);function l(e,t){let a=t?.precision??2,i=Number.isInteger(parseFloat(Number(e??0).toFixed(a)))?0:a;try{return e.toLocaleString(t?.locale?t.locale:t?.initialized?void 0:"en-US",{minimumFractionDigits:i,maximumFractionDigits:i})}catch{return e.toString()}}function o(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{t(!0)},[]),(0,i.useCallback)((t,a)=>l(t,{...a||{},initialized:e}),[e])}},45363:(e,t,a)=>{"use strict";a.d(t,{AM:()=>d,OP:()=>o.ku,VG:()=>c,VO:()=>r,bY:()=>n});var i,l=a(18153);a(14232);var o=a(56007),n=((i={}).KG="kg",i.G="g",i.TON="t",i.POUND="lb",i.OZ="oz",i.KM="km",i.LITER="l",i.CUBIC_METER="m3",i.OTHER="",i.CALORIES_PER_GRAM="cal/g",i.KILO_CALORIE="kcal",i);function r(e){return 2.20462*e}let c=e=>(0,l.FD)(l.FK,{children:[e&&n[e]&&(0,l.Y)("span",{children:n[e]}),!e||!n[e]&&(0,l.Y)("span",{style:{fontWeight:"bold"},children:" ㎥"})]});function d(e){return"US"===e?o.ku.POUND:o.ku.KG}},52041:(e,t,a)=>{"use strict";a.d(t,{AO:()=>c,Zy:()=>n,fg:()=>s,jw:()=>d,lh:()=>r});var i=a(55636);let l={[i.M.LDPE]:"bg-blue-600",[i.M.LDPE_CLEAR]:"bg-blue-800",[i.M.LDPE_COLORED]:"bg-blue-950",[
1i.M.HDPE]:"bg-violet-500",[i.M.HDPE_HM]:"bg-violet-900",[i.M.PLASTIC_WASTE]:"bg-blue-400",[i.M.PP]:"bg-emerald-300",[i.M.PP_BAG]:"bg-emerald-600",[i.M.PVC]:"bg-yellow-500"},o=e=>l[e]??"bg-neutral-200";function n(e,t){let a=Object.values(e??{}).reduce((e,t)=>(Object.values(t).forEach(({materialTypeBreakdown:t})=>{Object.entries(t??{}).forEach(([t,a])=>{e[t]=(e[t]||0)+(a??0)})}),e),{}),i=Object.values(a).reduce((e,t)=>e+t,0);return Object.entries(a).map(([e,a])=>{let l=Math.round(a),n=i?(a/i*100).toFixed(1):"0.0";return{colorClassName:o(e),key:e,name:t(e),percent:n,weight:l}})}function r(e,t,a){let l=e[t];if(!l)return[];let n=Object.values(l).reduce((e,{materialTypeBreakdown:t})=>(Object.entries(t??{}).forEach(([t,a])=>{e[t]=(e[t]||0)+(a??0)}),e),{}),r=Object.values(n).reduce((e,t)=>e+t,0),c=Object.entries(n);return c.sort(([e],[t])=>e===i.M.PLASTIC_WASTE?-1:+(t===i.M.PLASTIC_WASTE)),c.map(([e,t])=>{let i=Math.round(t),l=r?(t/r*100).toFixed(1):"0.0";return{colorClassName:o(e),key:e,name:a(e),percent:l,weight:i}})}function c(e,t){return Object.entries(e??{}).map(([e,a])=>({colorClassName:o(e),key:e,name:t(e),percent:"",weight:Math.round(a??0)}))}function d(e,t){let a={};Object.values(e??{}).forEach(e=>{Object.entries(e).forEach(([e,{materialTypeBreakdown:t}])=>{a[e]||(a[e]={}),Object.entries(t??{}).forEach(([t,i])=>{a[e][t]=(a[e][t]||0)+(i??0)})})});let i={};return Object.entries(a).forEach(([e,a])=>{i[e]=Object.entries(a).map(([e,a])=>({colorClassName:o(e),key:e,name:t(e),percent:"",weight:Math.round(a)}))}),i}function s(e){let t=new Set;return Object.values(e).forEach(e=>{Object.keys(e).forEach(e=>{t.add(e)})}),Array.from(t)}},53198:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});let i={src:"/_next/static/media/cleanhub-logo-full-white.50ef812e.svg",height:87,width:193,blurWidth:0,blurHeight:0}},70515:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>R,default:()=>U,getCustomerImpactReportPageUrl:()=>W});var i=a(18153),l=a(25492),o=a(99334),n=a(14232),r=a(88892),c=a(94101),d=a(13165),s=a(77083),m=a(89099),u=a(91819);function h({companyCustomer:e}){let t=(0,m.useRouter)(),{t:a}=(0,o.Bd)("customer-impact-report"),l=(0,n.useMemo)(()=>e.assignedHubs.map(e=>({uuid:e.uuid,caption:e.location||void 0,cardImage:e.mainImage?.directLink,description:e.displayName||void 0,latitude:e.latitude||0,longitude:e.longitude||0,pinIconUrl:"/_next/static/media/ocean-bottle-hub-location-pin.dbef0f43.png"})),[e.assignedHubs]),r=(0,n.useCallback)(a=>{if(!a)return;let i=e.assignedHubs.find(e=>e.uuid===a);i?.slug&&t.push(`/impact/${i.slug}`)},[e.assignedHubs,t]);return(0,i.Y)("div",{"data-component":"CollectionSitesSection",children:(0,i.FD)(d.m,{maxWidth:"xl",children:[(0,i.FD)("div",{className:"gap-lg mb-xl grid text-center md:mb-17",children:[(0,i.Y)(s.o,{variant:"h2",children:a("collectionSitesSection.title")}),(0,i.Y)(s.o,{variant:"body1",children:a("collectionSitesSection.description")})]}),(0,i.Y)("div",{className:"h-70vh flex overflow-hidden rounded-md md:h-125",children:(0,i.Y)(u.A,{height:"100%",markers:l,onMarkerClick:r})})]})})}var g=a(29826);let p={src:"/_next/static/media/ocean-bottle-logo.03415e8c.svg",height:36,width:84,blurWidth:0,blurHeight:0};var b=a(53198),f=a(15508);function v(){let{t:e}=(0,o.Bd)("customer-impact-report");return(0,i.Y)("footer",{"data-component":"FooterSection",children:(0,i.FD)(d.m,{maxWidth:"xl",children:[(0,i.Y)(s.o,{className:"mb-xl",variant:"h2",children:e("footerSection.title")}),(0,i.FD)("div",{className:"gap-xl grid grid-cols-1 md:grid-cols-2",children:[(0,i.FD)("div",{children:[(0,i.Y)(f.x,{alt:"Ocean Bottle",src:p,height:75}),(0,i.Y)(s.o,{className:"mt-lg mb-md normal-case",variant:"section",children:e("footerSection.oceanBottle.intro")}),(0,i.Y)(s.o,{variant:"body2",children:e("footerSection.oceanBottle.description")}),(0,i.Y)("a",{href:"https://oceanbottle.co/collections",target:"_blank",children:(0,i.Y)(g.$,{className:"mt-lg",size:"lg",variant:"outlined",children:e("learnMore")})})]}),(0,i.FD)("div",{children:[(0,i.Y)(f.x,{alt:"CleanHub",src:b.A,height:75}),(0,i.Y)(s.o,{className:"mt-lg mb-md normal-case",variant:"section",children:e("footerSection.cleanHub.intro")}),(0,i.Y)(s.o,{variant:"body2",children:e("footerSection.cleanHub.description")}),(0,i.Y)("a",{href:"https://www.cleanhub.com/",target:"_blank",children:(0,i.Y)(g.$,{className:"mt-lg",size:"lg",variant:"outlined",children:e("learnMore")})})]})]}),(0,i.FD)("div",{className:"gap-lg mt-20 flex flex-col items-start justify-between border-t border-t-neutral-600 pt-20 pb-20 md:flex-row",children:[(0,i.Y)(f.x,{alt:"Ocean Bottle",src:p,height:75}),(0,i.FD)("div",{className:"max-w-130 md:text-right",children:[(0,i.Y)(s.o,{className:"text-neutral-600",variant:"body2",children:e("footerSection.attribution")}),(0,i.Y)(s.o,{className:"text-neutral-600",variant:"body2",children:e("footerSection.copyright",{year:new Date().getFullYear()})})]})]})]})})}var x=a(37122),w=a(81481),A=a(48068),Y=a(13565);let y={src:"/_next/static/media/b-corp-logo.4d94dd28.svg",height:267,width:183,blurWidth:0,blurHeight:0},k={src:"/_next/static/media/cleanhub-iso-logo.2a517203.svg",height:50,width:324,blurWidth:0,blurHeight:0};var N=a(22767),D=a(52041),C=a(2921),S=a(77198);function F({companyCustomer:e}){let t=(0,C.l)(),a=(0,x.Y)(),r=(0,S.W)(),{tMaterialType:c}=(0,w._)(),{t:m}=(0,o.Bd)("customer-impact-report"),u=Math.round(100*e.companyCustomer.recoveredQuantity/e.companyCustomer.quantity),h=(0,n.useMemo)(()=>(0,D.Zy)({"":e.companyCustomer.recoveredQuantityBreakdownByMaterialType},c),[e.companyCustomer.recoveredQuantityBreakdownByMaterialType,c]);return(0,i.FD)("div",{"data-component":"HeroSection",className:"relative flex min-h-[90vh] flex-col bg-cover bg-top bg-no-repeat",style:{backgroundImage:"url('/_next/static/media/header-bg.2154ea37.webp')"},children:[(0,i.Y)("div",{className:"absolute top-0 left-0 z-1 h-full w-full bg-linear-to-b from-neutral-700/50 from-0% via-black/60 via-80% to-black to-100%"}),(0,i.FD)("div",{className:"gap-xl relative z-2 flex flex-1 flex-col justify-between",children:[(0,i.Y)(d.m,{className:"pt-xl",maxWidth:"xl",children:(0,i.Y)(f.x,{alt:"Ocean Bottle",src:p,width:170})}),(0,i.FD)(d.m,{className:"gap-sm flex flex-col items-center justify-center text-center",maxWidth:"md",children:[(0,i.Y)("div",{className:"mb-md relative flex h-30 w-full items-center justify-center md:w-150",children:e.companyCustomer.logo?(0,i.Y)(f.x,{alt:e.companyCustomer.name,className:"object-contain",src:e.companyCustomer.logo.directLink,fill:!0}):(0,i.Y)(s.o,{variant:"h1",children:e.companyCustomer.name})}),(0,i.Y)(s.o,{variant:"subtitle",children:e.companyCustomer.description}),(0,i.Y)(s.o,{variant:"subtitle",children:m("heroSection.wasteCollectionEquivalent",{companyName:e.companyCustomer.name})}),(0,i.Y)(s.o,{className:"text-[7rem] leading-24",component:"p",variant:"h1",children:a(e.companyCustomer.recoveredPlasticBottles,{precision:0})}),(0,i.Y)(s.o,{variant:"subtitle",children:m("heroSection.plasticBottles")})]}),(0,i.Y)(d.m,{maxWidth:"xl",children:(0,i.Y)(A.iv,{children:(0,i.FD)(A.vQ,{children:[(0,i.FD)("div",{className:"gap-lg flex justify-between",children:[(0,i.FD)("div",{children:[(0,i.Y)(s.o,{className:"text-muted-foreground",variant:"body2",children:m("heroSection.collectionStartedIn")}),(0,i.Y)(s.o,{className:"text-card-foreground [&+&]:mt-0",children:t(e.companyCustomer.startDate,{showDay:!1})})]}),(0,i.FD)("div",{className:"text-right",children:[(0,i.Y)(s.o,{className:"text-card-foreground",variant:"h3",children:m("heroSection.collected",{quantity:r(e.companyCustomer.recoveredQuantity,e.quantityUnit)})}),(0,i.Y)(s.o,{className:"text-muted-foreground",variant:"body2",children:m("heroSection.ofCommitted",{quantity:r(e.companyCustomer.quantity,e.quantityUnit)})})]})]}),(0,i.FD)(s.o,{className:(0,Y.cn)("gap-sm mb-sm mt-md inline-flex items-center normal-case","text-primary-500"),variant:"caption",children:[(0,i.FD)("span",{className:"relative inline-block size-1.5",children:[(0,i.Y)("span",{className:"bg-primary-300 absolute -top-px 
1-left-px inline-block size-2 animate-ping rounded-full"}),(0,i.Y)("span",{className:(0,Y.cn)("absolute inline-block size-1.5 rounded-full","bg-primary-500")})]}),m("inProgress")]}),(0,i.FD)("div",{className:"relative flex h-8 overflow-hidden rounded-full bg-neutral-100",children:[(0,i.Y)("div",{style:{width:`${u}%`},children:h.map(({colorClassName:e,key:t,name:a,percent:o})=>(0,i.FD)(l.m_,{children:[(0,i.Y)(l.k$,{render:(0,i.Y)("div",{className:(0,Y.cn)("h-8",e),style:{width:o}})}),(0,i.Y)(l.ZI,{children:a})]},t))}),(0,i.FD)(s.o,{className:"px-sm text-card-foreground absolute top-1 right-1 rounded-full bg-neutral-100 leading-6",variant:"caption",children:[u,"%"]})]})]})})}),(0,i.FD)(d.m,{className:"gap-lg md:gap-xl flex flex-col items-center justify-between md:flex-row",maxWidth:"md",children:[(0,i.FD)("div",{className:"text-center",children:[(0,i.Y)(s.o,{className:"mb-md",variant:"subtitle",children:m("poweredBy")}),(0,i.Y)("div",{className:"w-30",children:(0,i.Y)(N.o,{color:"white"})})]}),(0,i.Y)("div",{children:(0,i.Y)(f.x,{alt:"CleanHub ISO 14064-3:2020",src:k})}),(0,i.Y)("div",{children:(0,i.Y)(f.x,{alt:"B Corp Certified",height:120,src:y})})]})]})]})}let I={src:"/_next/static/media/how-it-works-1.602cbc86.webp",height:563,width:1e3,blurDataURL:"data:image/webp;base64,UklGRkYAAABXRUJQVlA4IDoAAACwAQCdASoIAAUAAkA4JQBOgB6SSleAAP7xuLbUbAzXONjkEbeF1s3KgFBGwC9NKqydtod/CHKLQAAA",blurWidth:8,blurHeight:5},_={src:"/_next/static/media/how-it-works-2.8e952d7a.webp",height:563,width:1e3,blurDataURL:"data:image/webp;base64,UklGRkYAAABXRUJQVlA4IDoAAACwAQCdASoIAAUAAkA4JYwCdADZlgtAAP7xefsQbwD/2pgX+3x1cTFfmaQMeHEUUXGE0m2nyygGBAAA",blurWidth:8,blurHeight:5},O={src:"/_next/static/media/how-it-works-3.87b9ca2b.webp",height:667,width:1e3,blurDataURL:"data:image/webp;base64,UklGRk4AAABXRUJQVlA4IEIAAADwAQCdASoIAAUAAkA4JQBOj+ADE4Qu8cAA4nqDLry7Tli5CSZHJvmW7aIYK7Cq8Gq0mq5CQ0O3ExH4hZMUA1OJYAA=",blurWidth:8,blurHeight:5};function E({companyCustomer:e}){let{t}=(0,o.Bd)("customer-impact-report");return(0,i.Y)("div",{"data-component":"HowItWorksSection",children:(0,i.FD)(d.m,{maxWidth:"xl",children:[(0,i.FD)("div",{className:"gap-lg mb-xl grid max-w-3xl md:mb-17",children:[(0,i.Y)(s.o,{variant:"h2",children:t("howItWorksSection.title")}),(0,i.Y)(s.o,{variant:"body1",children:t("howItWorksSection.description",{companyName:e.companyCustomer.name})})]}),(0,i.FD)("div",{className:"gap-xl grid grid-cols-1 md:grid-cols-3",children:[(0,i.FD)("div",{className:"gap-lg flex flex-col",children:[(0,i.Y)("div",{className:"relative aspect-square overflow-hidden rounded-md max-md:max-w-80",children:(0,i.Y)(f.x,{alt:t("howItWorksSection.cards.plasticCollection.title"),className:"object-cover",fill:!0,src:I})}),(0,i.Y)(s.o,{variant:"h3",children:t("howItWorksSection.cards.plasticCollection.title")}),(0,i.Y)(s.o,{children:t("howItWorksSection.cards.plasticCollection.description")})]}),(0,i.FD)("div",{className:"gap-lg flex flex-col",children:[(0,i.Y)("div",{className:"relative aspect-square overflow-hidden rounded-md max-md:max-w-80",children:(0,i.Y)(f.x,{alt:t("howItWorksSection.cards.plasticRecovery.title"),className:"object-cover",fill:!0,src:_})}),(0,i.Y)(s.o,{variant:"h3",children:t("howItWorksSection.cards.plasticRecovery.title")}),(0,i.Y)(s.o,{children:t("howItWorksSection.cards.plasticRecovery.description")})]}),(0,i.FD)("div",{className:"gap-lg flex flex-col",children:[(0,i.Y)("div",{className:"relative aspect-square overflow-hidden rounded-md max-md:max-w-80",children:(0,i.Y)(f.x,{alt:t("howItWorksSection.cards.socialImpact.title"),className:"object-cover",fill:!0,src:O})}),(0,i.Y)(s.o,{variant:"h3",children:t("howItWorksSection.cards.socialImpact.title")}),(0,i.Y)(s.o,{children:t("howItWorksSection.cards.socialImpact.description")})]})]})]})})}function B({companyCustomer:e}){let t=(0,x.Y)(),{t:a}=(0,o.Bd)("customer-impact-report");return(0,i.Y)("div",{"data-component":"RecoverySection",className:"flex min-h-screen flex-col bg-cover bg-center",style:{backgroundImage:"url('/_next/static/media/recovery-bg.f5c45e6b.webp')"},children:(0,i.FD)(d.m,{className:"item-center gap-lg flex flex-1 flex-col justify-center text-center",maxWidth:"lg",children:[(0,i.Y)(s.o,{variant:"h4",children:a("recoverySection.description")}),(0,i.Y)(s.o,{className:"text-[7rem] leading-24",children:t(e.totalRecoveredPlasticBottles,{precision:0})}),(0,i.Y)(s.o,{variant:"h4",children:a("recoverySection.quantityLabel")}),(0,i.Y)("a",{href:"https://oceanbottle.co/",target:"_blank",children:(0,i.Y)(g.$,{className:"mt-lg mx-auto uppercase",size:"lg",variant:"outlined",children:a("recoverySection.visitOceanBottle")})})]})})}function L(){let{t:e}=(0,o.Bd)("customer-impact-report");return(0,i.Y)("div",{"data-component":"StoriesSection",children:(0,i.FD)(d.m,{className:"gap-lg flex flex-wrap items-center justify-between",maxWidth:"xl",children:[(0,i.Y)(s.o,{variant:"h2",children:e("storiesSection.title")}),(0,i.Y)("a",{href:"https://oceanbottle.co/blogs/news",target:"_blank",children:(0,i.Y)(g.$,{size:"lg",variant:"outlined",children:e("readMore")})})]})})}var P=a(15141),R=!0;function W(e){return`/dashboard/${e}`}let U=(0,P.Y)(function({notFound:e,companyCustomer:t}){let{t:a}=(0,o.Bd)("customer-impact-report");return e||!t?(0,i.Y)(c.A,{description:a("common:notFoundLayout.description"),title:a("common:notFoundLayout.title")}):(0,i.FD)("div",{"data-component":"CustomerImpactReport",className:"public-layout customer-impact-report-page flex min-h-screen flex-col gap-20 bg-black sm:gap-25 md:gap-30",children:[(0,i.Y)(r.$,{description:t.companyCustomer.description,title:`${a("pageTitle",{companyName:t.companyCustomer.name})} | CleanHub`}),(0,i.FD)(l.Bc,{children:[(0,i.Y)(F,{companyCustomer:t}),(0,i.Y)(h,{companyCustomer:t}),(0,i.Y)(E,{companyCustomer:t}),(0,i.Y)(L,{}),(0,i.Y)(B,{companyCustomer:t}),(0,i.Y)(v,{})]})]})})},77198:(e,t,a)=>{"use strict";a.d(t,{W:()=>n});var i=a(14232),l=a(45363),o=a(35330);function n(){let e=(0,o.Y)();return(0,i.useCallback)((t,a,i)=>{var n;let r,c,d,s;return n={...i||{},formatNumberFn:i?.formatNumberFn||e}
1,r=n?.addSpaceBeforeUnit??!1,c=t,d="",a&&(d=l.bY[a],a===l.OP.KG&&t<1&&t>0?(c=1e3*t,d=l.bY.G):a===l.OP.G&&t>=1e3&&(c=t/1e3,d=l.bY.KG),a===l.OP.POUND&&t<1&&t>0?(c=16*t,d=l.bY.OZ):a===l.OP.OZ&&t>=16&&(c=t/16,d=l.bY.POUND)),s=(n?.formatNumberFn||o.I)(c,n),d?`${s}${r?" ":""}${d}`:s},[e])}},79877:(e,t,a)=>{"use strict";function i(e){let t=[...e];for(let e=t.length-1;e>0;e--){let a=Math.floor(Math.random()*(e+1));[t[e],t[a]]=[t[a],t[e]]}return t}function l(e){return e.length?e[e.length-1]:null}function o(e,t){let a=e.indexOf(t);return e.length-1===a}a.d(t,{Lr:()=>o,R3:()=>i,hF:()=>l})},88892:(e,t,a)=>{"use strict";a.d(t,{$:()=>n});var i=a(18153),l=a(77328),o=a.n(l);function n({description:e,image:t,title:a}){return(0,i.FD)(o(),{children:[(0,i.Y)("meta",{name:"twitter:card",content:"summary_large_image"},"twcard"),e?(0,i.Y)("meta",{property:"og:description",content:e},"ogdesc"):null,t?(0,i.Y)("meta",{property:"og:image",content:t},"ogimage"):null,(0,i.Y)("meta",{property:"og:title",content:a},"ogtitle"),e?(0,i.Y)("meta",{name:"description",content:e}):null,(0,i.Y)("title",{children:a})]})}},91819:(e,t,a)=>{"use strict";a.d(t,{A:()=>f});var i=a(18153),l=a(44407),o=a(49041),n=a(67840),r=a(57447),c=a(14232);function d({children:e,markers:t,...a}){let l={lat:t?.[0]?.latitude,lng:t?.[0]?.longitude},o=(0,r.ko)();return(0,c.useEffect)(()=>{if(o&&t?.length>1&&window?.google?.maps){let e=new window.google.maps.LatLngBounds;t.forEach(t=>{e.extend(new window.google.maps.LatLng(t.latitude,t.longitude))}),o.fitBounds(e)}},[o,t]),(0,i.Y)(r.T5,{defaultCenter:l,defaultZoom:5,renderingType:r.FJ.RASTER,...a,children:e})}let s=(0,l.Ay)(o.A)(()=>({width:36,height:44,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundImage:"url(/images/impact-report/hub-location-pin.png)"}));function m({caption:e,cardImage:t,description:a,highlight:l,pinIconUrl:o,uuid:n,onClick:r,onMouseEnter:c,onMouseLeave:d}){return(0,i.Y)(s,{"data-component":"MapMarker",sx:{backgroundImage:o?`url('${o}')`:void 0},onClick:function(i){r?.(i.target?.getBoundingClientRect(),{caption:e,cardImage:t,description:a,highlight:l,uuid:n})},onMouseEnter:function(i){c?.(i.target?.getBoundingClientRect(),{caption:e,cardImage:t,description:a,highlight:l})},onMouseLeave:d})}var u=a(126),h=a(40552);let g=(0,a(99220).n9)()(e=>({mapPopover:{position:"fixed",opacity:0,zIndex:-999,transition:"margin-top 300ms, opacity 300ms, z-index 0ms 300ms"},mapPopoverVisible:{marginTop:e.spacing(3),opacity:1,zIndex:1,transition:"margin-top 300ms, opacity 300ms, z-index 0ms"},captionText:{marginBottom:0,color:(0,u.X4)(e.palette.common.white,.5)},descriptionBox:{width:"100%",backgroundColor:(0,u.X4)(e.palette.common.black,.5),padding:e.spacing(1,2)},descriptionText:{marginBottom:0,color:e.palette.common.white},highlightBox:{backgroundColor:(0,u.X4)(e.palette.primary.main,.92),display:"inline-block",padding:e.spacing(1,2),marginBottom:e.spacing(3),borderRadius:e.spacing(1)},highlightText:{color:e.palette.common.white,fontWeight:"bold",textAlign:"center"},popoverBottom:{width:"100%",display:"flex",flexDirection:"column",alignItems:"center",position:"absolute",left:0,bottom:0},popoverContent:{width:300,height:220,backgroundPosition:"50% 50%",backgroundSize:"cover",position:"relative",borderRadius:e.spacing(1),boxShadow:"0 3px 9px rgba(0,0,0,.3)",overflow:"hidden",[e.breakpoints.down("sm")]:{width:240}}}));function p({caption:e,cardImage:t,description:a,highlight:l,left:r,show:d,top:s}){let m,u,b,{classes:f,cx:v}=g(),x=(0,n.A)(),w=(0,c.useRef)(null);return(0,i.Y)(i.FK,{children:t&&(0,i.Y)(o.A,{ref:w,className:v(f.mapPopover,{[f.mapPopoverVisible]:d}),style:{left:(m=w.current?.clientWidth??0,u=parseInt(x.spacing(3),10),(b=r-m/2)<u?u:b+m>window.innerWidth?window.innerWidth-u-m:b),top:s-260},children:(0,i.Y)(o.A,{className:f.popoverContent,style:{backgroundImage:`url('${t}')`},children:(0,i.FD)(o.A,{className:f.popoverBottom,children:[l&&(0,i.Y)(o.A,{className:f.highlightBox,children:(0,i.Y)(h.A,{className:f.highlightText,variant:"body2",children:l})}),a&&(0,i.FD)(o.A,{className:f.descriptionBox,children:[(0,i.Y)(h.A,{className:f.descriptionText,gutterBottom:!1,paragraph:!0,variant:"caption",children:a}),e&&(0,i.Y)(h.A,{className:f.captionText,gutterBottom:!1,paragraph:!0,variant:"caption",children:e})]})]})})})})}let b=(0,l.Ay)(o.A)(()=>({width:"100%",height:"100%",display:"flex",flexDirection:"column",flexGrow:1,"& > div":{display:"flex",flexDirection:"column",flexGrow:1},"& > div > div":{flexGrow:1}}
1));function f({markers:e,onMarkerClick:t=()=>null,height:a}){let l=(0,n.A)(),[o,s]=(0,c.useState)({}),[u,h]=(0,c.useState)(null),[g,v]=(0,c.useState)(!1);function x(e,t){s({...t,top:e.top,left:e.left+e.width/2}),h(e),setTimeout(()=>{v(!0)})}function w(e,a){t(a?.uuid),x(e,a)}function A(){v(!1)}return(0,c.useEffect)(()=>(window.addEventListener("scroll",A),()=>{window.addEventListener("scroll",A)}),[]),(0,i.FD)(b,{"data-component":"SimpleMap",sx:{height:a||l.box.step.height.mdUp},children:[u?.left&&u?.top&&(0,i.Y)(p,{...o,left:u.left+u.width/2,top:u.top,show:g}),(0,i.Y)(r.c4,{apiKey:"AIzaSyCo0Ahf3WYObNhLTmImKl2Sh8Fa-DmCc20",children:(0,i.Y)(d,{mapId:"6207889890100910",markers:e,children:e?.map(e=>(0,i.Y)(r.J8,{position:{lat:e.latitude,lng:e.longitude},children:(0,i.Y)(m,{onClick:w,onMouseEnter:x,onMouseLeave:A,...e},`${e.latitude},${e.longitude}`)},e.uuid))})})]})}},94101:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var i=a(18153),l=a(13165),o=a(77083),n=a(29826),r=a(99334),c=a(77328),d=a.n(c),s=a(48230),m=a.n(s);a(14232);var u=a(22767),h=a(79877);let g=[{src:"/_next/static/media/404-background-1.4b28d085.webp",height:1280,width:1920,blurDataURL:"data:image/webp;base64,UklGRlIAAABXRUJQVlA4IEYAAADwAQCdASoIAAUAAkA4JYgCdAEfhVfPVgAA3md7I8ozLPUXPKiY4qFCWHDGvPV1kI36sQI252TZiU7b3XM6yRQ+J6qfLggA",blurWidth:8,blurHeight:5},{src:"/_next/static/media/404-background-2.3fd72d5c.webp",height:1080,width:1920,blurDataURL:"data:image/webp;base64,UklGRkQAAABXRUJQVlA4IDgAAADQAQCdASoIAAUAAkA4JYwCdAEUmfdhAAD9lS+4d/g1k1Gr8xw0KLfrLZz50WjbteX10hovS3wAAA==",blurWidth:8,blurHeight:5},{src:"/_next/static/media/404-background-3.9ee07297.webp",height:1280,width:1920,blurDataURL:"data:image/webp;base64,UklGRkgAAABXRUJQVlA4IDwAAADQAQCdASoIAAUAAkA4JZACdAEOZ/JwAAD+5tLcP7+wS31+agtKITBSj7+fqSCRx/KajIwA4d7AOdOuoAA=",blurWidth:8,blurHeight:5}];function p({additionalAction:e,description:t,title:a}){let{t:c}=(0,r.Bd)("common"),s=(0,h.R3)(g)[0];return(0,i.Y)("div",{"data-component":"NotFoundLayout",className:"public-layout p-sm sm:p-lg relative flex min-h-screen flex-col overflow-x-hidden",children:(0,i.FD)("div",{className:"relative flex h-full w-full flex-1 flex-col overflow-hidden rounded-md bg-cover bg-center bg-no-repeat",style:{backgroundImage:`url(${s.src})`},children:[(0,i.Y)(d(),{children:(0,i.Y)("title",{children:c("notFoundLayout.pageTitle")})}),(0,i.Y)("div",{className:"absolute top-0 left-0 h-full w-full bg-black/70 from-black to-black/0 opacity-70 md:w-3/4 md:bg-transparent md:bg-linear-to-r"}),(0,i.FD)(l.m,{className:"relative flex flex-1 flex-col py-8 md:py-14",maxWidth:"xl",children:[(0,i.Y)("div",{className:"mb-xl w-38",children:(0,i.Y)(u.o,{color:"white",variant:"full"})}),(0,i.FD)("div",{className:"gap-lg flex flex-1 flex-col justify-center",children:[(0,i.Y)(o.o,{className:"text-white",variant:"caption",children:c("notFoundLayout.eyebrow")}),(0,i.Y)(o.o,{className:"whitespace-normal text-white md:whitespace-pre-wrap",variant:"h1",children:a||c("notFoundLayout.title")}),(0,i.Y)(o.o,{className:"max-w-150 text-white",variant:"subtitle",children:t||c("notFoundLayout.description")}),(0,i.FD)("div",{className:"gap-md mt-md flex flex-wrap",children:[(0,i.Y)(m(),{href:"/",children:(0,i.Y)(n.$,{className:"bg-white text-black hover:text-white",children:c("notFoundLayout.homeButton")})}),e]})]})]})]})})}}},e=>{e.O(0,[3716,2151,2380,5507,568,4407,8230,4587,7447,9231,6007,636,6593,8792],()=>e(e.s=11132)),_N_E=e.O()}]);
2//# sourceMappingURL=[slug]-5e546d98568ff20b.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.