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]="111847b1-96e7-4c31-b3e5-70cd41aa567c",e._sentryDebugIdIdentifier="sentry-dbid-111847b1-96e7-4c31-b3e5-70cd41aa567c")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4539],{14906:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/customer/knowledge-hub",function(){return r(68539)}])},54957:(e,t,r)=>{"use strict";r.d(t,{_:()=>l});var o=r(55507),n=r(74359),a=r(32109);let i={root:()=>["builder.io","knowledge-hub-article"],knowledgeHubArticles:e=>[...i.root(),`category=${e}`],byUrl:e=>[...i.root(),`url=${e}`]};function l(){return a.O.init(),{useKnowledgeHubArticleQuery:function(e){return(0,n.I)({queryKey:i.byUrl(e),queryFn:()=>o.cL.get("knowledge-hub-article",{url:e}).toPromise()})},useKnowledgeHubArticlesQuery:function(e){return(0,n.I)({queryKey:i.knowledgeHubArticles(e),queryFn:()=>{var t;return t={query:{...e&&{"data.category":e}}},o.cL.getAll("knowledge-hub-article",{fields:"createdDate,data.category,data.coverImage,data.description,data.order,data.timeToRead,data.url,id,name",options:{noTargeting:!0,"sort.data.order":1},...t})}})}}}},68539:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>E,default:()=>I});var o=r(18153),n=r(52984),a=r(99334);r(14232);var i=r(38530),l=r(59852),d=r(44407),c=r(49041),u=r(40552),s=r(34080),g=r(9640),b=r(89099),m=r(10794);let h=(0,d.Ay)(c.A)(({theme:e})=>({height:"100%",backgroundColor:e.palette.white.main,display:"flex",flexDirection:"column",borderRadius:e.spacing(2),overflow:"hidden",cursor:"pointer",transition:e.transitions.create(["box-shadow","transform"]),"&:hover":{transform:`translateY(${e.spacing(-.5)})`,boxShadow:e.elevation.z300}})),A=(0,d.Ay)(c.A)(({theme:e})=>({display:"flex",flexDirection:"column",flexGrow:1,flexShrink:1,padding:e.spacing(2.5)})),w=(0,d.Ay)(c.A)(({theme:e})=>({backgroundColor:e.palette.primary[600],backgroundPosition:"50% 50%",backgroundSize:"cover",flexShrink:0,aspectRatio:"16 / 9"}));function p({category:e,coverImage:t,description:r,timeToRead:n,title:i,url:l}){let d=(0,b.useRouter)(),{trackClick:c}=(0,m.z)(),{t:s}=(0,a.Bd)();return(0,o.FD)(h,{"data-component":"KnowledgeHubArticleCard",onClick:function(){c("Customer - Knowledge Hub - Article",{value:i,source:"knowledge hub landing page"}),d.push(`/customer${l}`)},children:[(0,o.Y)(w,{sx:{backgroundImage:`url('${t}')`}}),(0,o.FD)(A,{children:[(0,o.Y)(u.A,{color:"mutedDark",component:"p",variant:"caption",sx:{mb:.5,textTransform:"uppercase"},children:s(`customer:KnowledgeHubArticleCategory.${e}`)}),(0,o.Y)(u.A,{variant:"h3",sx:{mb:.5},children:i}),(0,o.Y)(u.A,{sx:{mb:2,flexGrow:1,flexShrink:1},children:r}),(0,o.Y)(u.A,{color:"mutedDark",children:s("customer:knowledgeHub.minRead",{minutes:n})})]})]})}var y=r(54957);let f=(0,d.Ay)(c.A)(()=>({}));function k({category:e,sx:t}){let{useKnowledgeHubArticlesQuery:r}=(0,y._)(),{t:n}=(0,a.Bd)(),{data:i,isLoading:l}=r(e);return(0,o.FD)(f,{"data-component":"KnowledgeHubArticlesSection",sx:t,children:[(0,o.Y)(u.A,{variant:"h3",sx:{mb:1},children:n(`customer:KnowledgeHubArticleCategory.${e}`)}),(0,o.Y)(u.A,{variant:"subtitle1",sx:{mb:3},children:n(`customer:KnowledgeHubArticleCategory.description.${e}`)}),l?(0,o.Y)(g.n,{sx:{justifyContent:{xs:"center",md:"flex-start"}}}):i?.length?(0,o.Y)(s.A,{container:!0,spacing:{xs:3,sm:5},children:i?.map(e=>(0,o.Y)(s.A,{size:{xs:12,sm:6,md:4},children:(0,o.Y)(p,{category:e.data.category,coverImage:`${e.data.coverImage}?format=webp&width=500`,description:e.data.description,timeToRead:e.data.timeToRead,title:e.name,url:e.data.url})},e.id))}):(0,o.Y)(u.A,{color:"mutedDark",component:"p",variant:"caption",children:n("customer:knowledgeHub.emptyStateMessage")})]})}var _=r(40222),x=r(70121),T=r(87015),v=r(12129),E=!0;let I=(0,v.A)(function(){let{t:e}=(0,a.Bd)();return(0,o.Y)(i.J,{children:(0,o.FD)(n.yV,{maxWidth:"xl",breadcrumbs:[{href:x.I.DASHBOARD,name:e("common:homeMenuItem")}
1,{href:x.I.KNOWLEDGE_HUB,name:e("customer:knowledgeHub.title")}],subtitle:e("customer:knowledgeHub.subtitle"),title:e("customer:knowledgeHub.title"),children:[(0,o.Y)(k,{category:T.K.GETTING_STARTED,sx:{mb:5}}),(0,o.Y)(k,{category:T.K.IMPACT,sx:{mb:5}}),(0,o.Y)(k,{category:T.K.GROW_AWARENESS})]})})},{permissionsRequired:new l.WP(_.g.CUSTOMER_BASIC),seo:{description:"",title:"Customer - Knowledge Hub | CleanHub"},trackPageView:"Customer - Knowledge Hub"})},87015:(e,t,r)=>{"use strict";r.d(t,{K:()=>n});var o,n=((o={}).GETTING_STARTED="GETTING_STARTED",o.GROW_AWARENESS="GROW_AWARENESS",o.IMPACT="IMPACT",o)}},e=>{e.O(0,[3716,8994,2380,5507,371,4407,9948,233,8811,6664,7308,7241,4587,1247,7825,4613,3133,7344,9371,2984,9524,6007,5819,7325,1206,7873,636,6593,8792],()=>e(e.s=14906)),_N_E=e.O()}]); 2//# sourceMappingURL=knowledge-hub-8a2268e89d49fc7c.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.