(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5723],{74593:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/media-and-insights",function(){return n(45263)}])},45263:function(e,t,n){"use strict";n.r(t);var a=n(85893),i=n(67294),s=n(70637),r=n(41719),l=n(55770),o=n(26412),d=n(42619),c=n(81696),u=n(78679),p=n(11163),m=n(91308);let h=[{label:"How To",value:"how-to"},{label:"Case Study",value:"case-study"},{label:"Insights",value:"insights"}];t.default=(0,d.Z)(e=>{let{data:{mediaAndInsightsPageData:t,mediaAndInsightsList:n}}=e,{type:o}=(0,p.useRouter)().query,[d,g]=(0,i.useState)(""),[y,x]=(0,i.useState)(""),[f,j]=(0,i.useState)(""),[w,b]=(0,i.useState)(n),[v,k]=(0,i.useState)(12),[N,S]=(0,i.useState)(""),_=[],C=[];e.data.tagList.map(e=>{let t=e.value.current;return e.isHidden?null:_.push({label:e.label,value:t})}),e.data.industryList.map(e=>{let t=e.slug.current.toLowerCase();return C.push({label:e.name,value:t})}),(0,i.useEffect)(()=>{o&&g(o)},[o]),(0,i.useEffect)(()=>{let e=[],t=!1;return(N.length>0&&(e=0!==e.length?e.filter(e=>e.title.toLowerCase().includes(N.toLowerCase())):n.filter(e=>e.title.toLowerCase().includes(N.toLowerCase())),t=!0),0!==d.length&&(e=0!==e.length?e.filter(e=>e.type.slug.current===d):n.filter(e=>e.type.slug.current===d),t=!0),0!==y.length&&(e=0!==e.length?e.filter(e=>e.tagList.find(e=>e.label===y)?e:null):n.filter(e=>e.tagList.find(e=>e.label===y)?e:null),t=!0),0!==f.length&&(e=0!==e.length?e.filter(e=>{var t;return(null===(t=e.industryType)||void 0===t?void 0:t.find(e=>e.slug.current===f))?e:null}):n.filter(e=>{var t;return(null===(t=e.industryType)||void 0===t?void 0:t.find(e=>e.slug.current===f))?e:null}),t=!0),t)?(k(12),b(e)):(k(12),b(n))},[d,y,f,n,N]);let L=w.slice(0,v);return(0,a.jsxs)(s.h2,{children:[t.seo&&(0,a.jsx)(c.Z,{keyword:t.seo.seo.focus_keyword,title:t.seo.seo.seo_title,description:t.seo.seo.meta_description,keywordList:t.seo.seo.focus_synonyms}),(0,a.jsx)("div",{className:"bg-brand-accent py-10",children:(0,a.jsxs)("div",{className:"container mx-auto max-w-7xl py-4 px-4",children:[(0,a.jsx)("h1",{className:"text-[3rem] phone:text-h1 font-general-sans text-center ",children:"Media & Insights"}),(0,a.jsxs)("div",{style:{gap:"3px"},className:"rounded-xl flex flex-col gap-y-4 tablet:gap-0 tablet:flex-row py-8",children:[(0,a.jsx)(s.lh,{label:"".concat(o?"".concat((0,m.Uw)(o)):"Media Type"," "),options:h,type:"media",className:"dropdown-media",setValue:g}),(0,a.jsx)(s.lh,{label:"Product Type",options:_,className:"dropdown-product",type:"product",setValue:x}),(0,a.jsx)(s.lh,{label:"Industry",options:C,type:"industry",className:"dropdown-industry",setValue:j}),(0,a.jsx)(u.mX,{enterHandler:e=>{"Enter"===e.key&&console.log(N)},mediaSearchTerm:N,setMediaSearchTerm:S,className:"dropdown-search"})]})]})}),(0,a.jsxs)("div",{className:"py-14 px-4 mx-auto max-w-7xl",children:[0!==L.length?(0,a.jsx)("div",{style:{gap:"1.75rem"},className:"grid grid-cols-1 phone:grid-cols-2 tablet:grid-cols-3 box-border gap-7",children:L.map((e,t)=>(0,a.jsx)("div",{children:(0,a.jsx)(r.Z,{data:e})},t))}):(0,a.jsx)("div",{children:(0,a.jsx)("p",{className:"text-h3 font-general-sans text-center text-brand-black",children:"No record found."})}),v<w.length&&(0,a.jsx)("div",{className:"flex justify-center mt-8",children:(0,a.jsx)(s.zx,{variant:"secondary",label:"View More Media",onButtonClick:()=>{k(v+v)}})})]}),(0,a.jsx)("div",{children:(0,a.jsx)(l.q,{data:t.pageBuilder})})]})},o.WV)},81696:function(e,t,n){"use strict";var a=n(85893),i=n(9008),s=n.n(i),r=n(11163),l=n(31993);t.Z=e=>{let{title:t,description:n,keyword:i,author:o,image:d,isArticle:c,isProduct:u,keywordList:p,publishedDate:m,modifiedDate:h,productMarkup:g,isWithLocalBusinessMarkup:y}=e,x={title:"i-team ANZ | Industrial & Commercial Cleaning Equipment",description:"i-team ANZ | Industrial & Commercial Cleaning Equipment",keyword:"i-teamanz"},{asPath:f}=(0,r.useRouter)(),j=window.location.origin?window.location.origin:"",w={title:t||x.title,description:n||x.description,keyword:i||x.keyword,url:"".concat(j).concat(f),keywordList:p?p.join(", "):"",author:o||"Brooke Payne",image:d||"".concat(j,"/default-image.png"),publishedDate:m||new Date().toISOString(),modifiedDate:h||new Date().toISOString()},b=c?{"@context":"https://schema.org","@type":"Article",mainEntityOfPage:{"@type":"WebPage","@id":w.url},headline:w.title,image:w.image,datePublished:w.publishedDate,dateModified:w.modifiedDate,author:{name:w.author},publisher:{"@type":"Organization",name:"i-team ANZ",logo:{"@type":"ImageObject",url:"".concat(j,"/favicon-32x32.png")}},description:w.description}:null,v=u?{"@context":"https://schema.org","@type":"Product",name:null==g?void 0:g.name,image:w.image,description:null==g?void 0:g.description,brand:{"@type":"Brand",name:"i-team ANZ"},offers:{"@type":"Offer",priceCurrency:"AUD",price:null==g?void 0:g.price,url:w.url,availability:"http://schema.org/InStock"}}:null,k=y?{"@context":"https://schema.org","@type":"LocalBusiness",name:"i-team ANZ",address:{"@type":"PostalAddress",streetAddress:"Level 6/10 Herb Elliott Ave, Sydney Olympic Park NSW 2127, Australia",addressLocality:"Sydney Olympic Park",addressRegion:"NSW",postalCode:"2127",addressCountry:"Australia"},telephone:"1800 861 030",url:"https://www.iteamanz.com/",logo:l.Z.src,geo:{"@type":"GeoCoordinates",latitude:-33.8486,longitude:151.0662}}:null;return(0,a.jsxs)(s(),{children:[(0,a.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32_blue.png"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-32x32_blue.png"}),(0,a.jsx)("link",{rel:"manifest",href:"/site.webmanifest"}),(0,a.jsx)("link",{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#5bbad5"}),(0,a.jsx)("meta",{name:"msapplication-TileColor",content:"#da532c"}),(0,a.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,a.jsx)("title",{children:w.title}),(0,a.jsx)("meta",{name:"description",content:w.description}),(0,a.jsx)("meta",{name:"keyword",content:w.keyword}),(0,a.jsx)("meta",{property:"og:url",content:w.url}),(0,a.jsx)("meta",{property:"og:title",content:w.title}),(0,a.jsx)("meta",{property:"og:description",content:w.description}),(0,a.jsx)("meta",{property:"keywords",content:w.keywordList}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:title",content:w.title}),(0,a.jsx)("meta",{name:"twitter:description",content:w.description}),c&&(0,a.jsx)("meta",{name:"author",content:w.author}),c&&(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(b)}}),u&&(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(v)}}),y&&(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(k)}})]})}},42619:function(e,t,n){"use strict";var a=n(85893),i=n(67294),s=n(40567),r=n(70637),l=n(91308);t.Z=function(e,t){class n extends i.Component{componentDidMount(){(async()=>{try{let e=await s.Z.fetch(t);return(0,l.Vx)(e),e}catch(e){console.error("getData",e)}})().then(e=>this.setState({data:e,loading:!1})).catch(e=>this.setState({error:e,loading:!1}))}render(){let{data:t,loading:n,error:i}=this.state;return n?(0,a.jsx)(r.RW,{}):i?(0,a.jsx)("div",{children:"Something went wrong!"}):(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(e,{data:t,...this.props})})}constructor(...e){super(...e),this.state={data:[],loading:!0,error:!1}}}return n}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=74593)}),_N_E=e.O()}]);