(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4070],{42813:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/products/[categoryName]",function(){return n(60369)}])},7910:function(e,t){"use strict";t.Z={src:"/_next/static/media/all.937c5045.png",height:64,width:64,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAG1BMVEVMaXEGDiQGDiQGDiQGDiQGDiQGDiQGDiQGDiRjl8XlAAAACXRSTlMAYXA9SQd/LhpaVSJmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAMUlEQVR4nD3GyQ3AMBDDQEryHv1XbCAGws8Q4Bxe/9jP6q5P2SoYKbGWtGR1YCeZ5QIOjQCQgMdvggAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},60369:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return j}});var o=n(82729),r=n(85893),i=n(67294),s=n(7910),a=n(26412),l=n(91308),c=n(55770),p=n(70637),u=n(70804),d=n(81696),h=n(40567),m=n(41664),f=n.n(m),g=n(25675),v=n.n(g),y=n(11163),b=n(8100),w=n(12870),x=n.n(w);function A(){let e=(0,o._)(["",""]);return A=function(){return e},e}var j=!0;t.default=e=>{var t,n,o,m;let[g,w]=(0,i.useState)(e.data.productCategoryData),[j]=(0,i.useState)(e.data.productCategoryList),{categoryName:S}=(0,y.useRouter)().query,{data:E,error:M}=(0,b.ZP)(x()(A(),(0,a.nY)(S)),e=>h.Z.fetch(e));return((0,i.useEffect)(()=>{w(null==E?void 0:E.productCategoryData)},[E]),E||M||g)?M?(0,r.jsx)("div",{children:"Something went wrong!"}):(0,r.jsx)(b.J$,{value:e.productCategoryData,children:(0,r.jsxs)(p.h2,{children:[(null==g?void 0:g.seo)&&(0,r.jsx)(d.Z,{keyword:null!==(t=g.seo.focus_keyword)&&void 0!==t?t:"",title:null!==(n=g.seo.seo_title)&&void 0!==n?n:"",description:null!==(o=g.seo.meta_description)&&void 0!==o?o:"",keywordList:null!==(m=g.seo.focus_synonyms)&&void 0!==m?m:""}),(0,r.jsx)("div",{className:"bg-brand-accent py-8 tablet:py-16",children:(0,r.jsxs)("div",{className:"container mx-auto max-w-7xl text-center ",children:[(0,r.jsx)("h1",{className:"text-[3rem] phone:text-h1 pb-10 px-4",children:null==g?void 0:g.title}),(0,r.jsx)("div",{className:"sticky z-50 top-4",children:(0,r.jsxs)(u.Z,{className:"flex justify-between px-4 gap-8 ",children:[(0,r.jsxs)(f(),{href:"/products",className:"flex flex-col justify-center items-center min-w-[150px] tablet:min-w-0 tablet:max-w-[140px] cursor-pointer",children:[(0,r.jsx)("div",{className:"mb-4",children:(0,r.jsx)(v(),{width:120,height:120,src:s.Z,alt:"All products",className:"w-full"})}),(0,r.jsx)("p",{className:"font-general-sans-variable text-sm tablet:text-btn whitespace-nowrap bg-red-900 tablet:bg-blue-900 ",children:"All Products"})]}),j.map((e,t)=>{switch(e.title){case"Commercial Floor Cleaning":e.title="Floor Cleaning";break;case"Commercial Vacuum Cleaning":e.title="Vacuum Cleaning"}return!e.icon||e.isHidden?null:(0,r.jsxs)(f(),{href:"/products/".concat(e.slug.current),className:"flex flex-col justify-center items-center min-w-[150px] tablet:min-w-0 tablet:max-w-[140px] cursor-pointer",children:[(0,r.jsx)("div",{className:"mb-4",children:(0,r.jsx)(v(),{src:(0,l.uH)(e.icon).url(),alt:e.title,width:64,height:64,className:"w-full "})}),(0,r.jsx)("p",{className:"font-general-sans-variable text-sm tablet:bg-brand-primary-10 bg-brand-dark-grey-10 whitespace-nowrap",children:e.title})]},t)})]})})]})}),(0,r.jsx)(c.q,{data:null==g?void 0:g.pageBuilder})]})}):(0,r.jsx)(p.RW,{})}},81696:function(e,t,n){"use strict";var o=n(85893),r=n(9008),i=n.n(r),s=n(11163),a=n(31993);t.Z=e=>{let{title:t,description:n,keyword:r,author:l,image:c,isArticle:p,isProduct:u,keywordList:d,publishedDate:h,modifiedDate:m,productMarkup:f,isWithLocalBusinessMarkup:g}=e,v={title:"i-team ANZ | Industrial & Commercial Cleaning Equipment",description:"i-team ANZ | Industrial & Commercial Cleaning Equipment",keyword:"i-teamanz"},{asPath:y}=(0,s.useRouter)(),b=window.location.origin?window.location.origin:"",w={title:t||v.title,description:n||v.description,keyword:r||v.keyword,url:"".concat(b).concat(y),keywordList:d?d.join(", "):"",author:l||"Brooke Payne",image:c||"".concat(b,"/default-image.png"),publishedDate:h||new Date().toISOString(),modifiedDate:m||new Date().toISOString()},x=p?{"@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(b,"/favicon-32x32.png")}},description:w.description}:null,A=u?{"@context":"https://schema.org","@type":"Product",name:null==f?void 0:f.name,image:w.image,description:null==f?void 0:f.description,brand:{"@type":"Brand",name:"i-team ANZ"},offers:{"@type":"Offer",priceCurrency:"AUD",price:null==f?void 0:f.price,url:w.url,availability:"http://schema.org/InStock"}}:null,j=g?{"@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:a.Z.src,geo:{"@type":"GeoCoordinates",latitude:-33.8486,longitude:151.0662}}:null;return(0,o.jsxs)(i(),{children:[(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32_blue.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-32x32_blue.png"}),(0,o.jsx)("link",{rel:"manifest",href:"/site.webmanifest"}),(0,o.jsx)("link",{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#5bbad5"}),(0,o.jsx)("meta",{name:"msapplication-TileColor",content:"#da532c"}),(0,o.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,o.jsx)("title",{children:w.title}),(0,o.jsx)("meta",{name:"description",content:w.description}),(0,o.jsx)("meta",{name:"keyword",content:w.keyword}),(0,o.jsx)("meta",{property:"og:url",content:w.url}),(0,o.jsx)("meta",{property:"og:title",content:w.title}),(0,o.jsx)("meta",{property:"og:description",content:w.description}),(0,o.jsx)("meta",{property:"keywords",content:w.keywordList}),(0,o.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,o.jsx)("meta",{name:"twitter:title",content:w.title}),(0,o.jsx)("meta",{name:"twitter:description",content:w.description}),p&&(0,o.jsx)("meta",{name:"author",content:w.author}),p&&(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(x)}}),u&&(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(A)}}),g&&(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(j)}})]})}},70804:function(e,t,n){"use strict";var o,r,i=n(67294),s=function(e,t){return(s=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},a=(o=r={path:void 0,exports:{},require:function(e,t){return function(){throw Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&r.path)}},r.exports,function(){var e={}.hasOwnProperty;function t(){for(var n=[],o=0;o<arguments.length;o++){var r=arguments[o];if(r){var i=typeof r;if("string"===i||"number"===i)n.push(r);else if(Array.isArray(r)&&r.length){var s=t.apply(null,r);s&&n.push(s)}else if("object"===i)for(var a in r)e.call(r,a)&&r[a]&&n.push(a)}}return n.join(" ")}o.exports?(t.default=t,o.exports=t):window.classNames=t}(),r.exports);function l(e,t,n){function o(){var c=Date.now()-a;c<t&&c>=0?r=setTimeout(o,t-c):(r=null,n||(l=e.apply(s,i),s=i=null))}null==t&&(t=100);var r,i,s,a,l,c=function(){s=this,i=arguments,a=Date.now();var c=n&&!r;return r||(r=setTimeout(o,t)),c&&(l=e.apply(s,i),s=i=null),l};return c.clear=function(){r&&(clearTimeout(r),r=null)},c.flush=function(){r&&(l=e.apply(s,i),s=i=null,clearTimeout(r),r=null)},c}l.debounce=l,function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}(".indiana-scroll-container {\n overflow: auto; }\n .indiana-scroll-container--dragging {\n scroll-behavior: auto !important; }\n .indiana-scroll-container--dragging > * {\n pointer-events: none;\n cursor: -webkit-grab;\n cursor: grab; }\n .indiana-scroll-container--hide-scrollbars {\n overflow: hidden;\n overflow: -moz-scrollbars-none;\n -ms-overflow-style: none;\n scrollbar-width: none; }\n .indiana-scroll-container--hide-scrollbars::-webkit-scrollbar {\n display: none !important;\n height: 0 !important;\n width: 0 !important;\n background: transparent !important;\n -webkit-appearance: none !important; }\n .indiana-scroll-container--native-scroll {\n overflow: auto; }\n\n.indiana-dragging {\n cursor: -webkit-grab;\n cursor: grab; }\n");var c,p=(c="indiana-scroll-container",function(e,t){if(!e)return c;"string"==typeof e?n=e:t=e;var n,o=c;return n&&(o+="__"+n),o+(t?Object.keys(t).reduce(function(e,n){var r=t[n];return r&&(e+=" "+("boolean"==typeof r?o+"--"+n:o+"--"+n+"_"+r)),e},""):"")}),u=function(e){function t(t){var n=e.call(this,t)||this;return n.onEndScroll=function(){n.scrolling=!1,!n.pressed&&n.started&&n.processEnd()},n.onScroll=function(e){var t=n.container.current;t.scrollLeft===n.scrollLeft&&t.scrollTop===n.scrollTop||(n.scrolling=!0,n.processScroll(e),n.onEndScroll())},n.onTouchStart=function(e){var t=n.props.nativeMobileScroll;if(n.isDraggable(e.target)){if(n.internal=!0,t&&n.scrolling)n.pressed=!0;else{var o=e.touches[0];n.processClick(e,o.clientX,o.clientY),!t&&n.props.stopPropagation&&e.stopPropagation()}}},n.onTouchEnd=function(e){var t=n.props.nativeMobileScroll;n.pressed&&(!n.started||n.scrolling&&t?n.pressed=!1:n.processEnd(),n.forceUpdate())},n.onTouchMove=function(e){var t=n.props.nativeMobileScroll;if(n.pressed&&(!t||!n.isMobile)){var o=e.touches[0];o&&n.processMove(e,o.clientX,o.clientY),e.preventDefault(),n.props.stopPropagation&&e.stopPropagation()}},n.onMouseDown=function(e){n.isDraggable(e.target)&&n.isScrollable()&&(n.internal=!0,-1!==n.props.buttons.indexOf(e.button)&&(n.processClick(e,e.clientX,e.clientY),e.preventDefault(),n.props.stopPropagation&&e.stopPropagation()))},n.onMouseMove=function(e){n.pressed&&(n.processMove(e,e.clientX,e.clientY),e.preventDefault(),n.props.stopPropagation&&e.stopPropagation())},n.onMouseUp=function(e){n.pressed&&(n.started?n.processEnd():(n.internal=!1,n.pressed=!1,n.forceUpdate(),n.props.onClick&&n.props.onClick(e)),e.preventDefault(),n.props.stopPropagation&&e.stopPropagation())},n.container=i.createRef(),n.onEndScroll=l(n.onEndScroll,300),n.scrolling=!1,n.started=!1,n.pressed=!1,n.internal=!1,n.getRef=n.getRef.bind(n),n}return function(e,t){function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.componentDidMount=function(){var e=this.props.nativeMobileScroll,t=this.container.current;window.addEventListener("mouseup",this.onMouseUp),window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd),t.addEventListener("touchstart",this.onTouchStart,{passive:!1}),t.addEventListener("mousedown",this.onMouseDown,{passive:!1}),e&&(this.isMobile=this.isMobileDevice(),this.isMobile&&this.forceUpdate())},t.prototype.componentWillUnmount=function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},t.prototype.getElement=function(){return this.container.current},t.prototype.isMobileDevice=function(){return void 0!==window.orientation||-1!==navigator.userAgent.indexOf("IEMobile")},t.prototype.isDraggable=function(e){var t=this.props.ignoreElements;if(t){var n=e.closest(t);return null===n||n.contains(this.getElement())}return!0},t.prototype.isScrollable=function(){var e=this.container.current;return e&&(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight)},t.prototype.processClick=function(e,t,n){var o=this.container.current;this.scrollLeft=o.scrollLeft,this.scrollTop=o.scrollTop,this.clientX=t,this.clientY=n,this.pressed=!0},t.prototype.processStart=function(e){void 0===e&&(e=!0);var t=this.props.onStartScroll;this.started=!0,e&&document.body.classList.add("indiana-dragging"),t&&t({external:!this.internal}),this.forceUpdate()},t.prototype.processScroll=function(e){if(this.started){var t=this.props.onScroll;t&&t({external:!this.internal})}else this.processStart(!1)},t.prototype.processMove=function(e,t,n){var o=this.props,r=o.horizontal,i=o.vertical,s=o.activationDistance,a=o.onScroll,l=this.container.current;this.started?(r&&(l.scrollLeft-=t-this.clientX),i&&(l.scrollTop-=n-this.clientY),a&&a({external:!this.internal}),this.clientX=t,this.clientY=n,this.scrollLeft=l.scrollLeft,this.scrollTop=l.scrollTop):(r&&Math.abs(t-this.clientX)>s||i&&Math.abs(n-this.clientY)>s)&&(this.clientX=t,this.clientY=n,this.processStart())},t.prototype.processEnd=function(){var e=this.props.onEndScroll;this.container.current&&e&&e({external:!this.internal}),this.pressed=!1,this.started=!1,this.scrolling=!1,this.internal=!1,document.body.classList.remove("indiana-dragging"),this.forceUpdate()},t.prototype.getRef=function(e){[this.container,this.props.innerRef].forEach(function(t){t&&("function"==typeof t?t(e):t.current=e)})},t.prototype.render=function(){var e=this.props,t=e.children,n=e.draggingClassName,o=e.className,r=e.style,s=e.hideScrollbars,l=e.component;return i.createElement(l,{className:a(o,this.pressed&&n,p({dragging:this.pressed,"hide-scrollbars":s,"native-scroll":this.isMobile})),style:r,ref:this.getRef,onScroll:this.onScroll},t)},t.defaultProps={nativeMobileScroll:!0,hideScrollbars:!0,activationDistance:10,vertical:!0,horizontal:!0,stopPropagation:!1,style:{},component:"div",buttons:[0]},t}(i.PureComponent);t.Z=u}},function(e){e.O(0,[8100,2888,9774,179],function(){return e(e.s=42813)}),_N_E=e.O()}]);