(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{169:function(e,t,n){e.exports=n.p+"static/woodFloor1-ab2973b565592b310c2b2ef1c2bdf4a5.jpg"},170:function(e,t,n){"use strict";var r=n(18),o=r.c.div.withConfig({displayName:"container__Container",componentId:"xjbecr-0"})(["width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto;@media (min-width:576px){max-width:540px;}@media (min-width:768px){max-width:720px;}@media (min-width:992px){max-width:960px;}@media (min-width:1200px){max-width:1140px;}"]),a=(r.c.div.withConfig({displayName:"containerFluid__ContainerFluid",componentId:"d59ooq-0"})(["width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto;"]),n(168)),i=n.n(a),l=n(0),c=n.n(l),d=n(179),u=n.n(d),s=n(7);function m(){var e=i()(["\n padding: 1.5rem;\n margin: 2.5rem;\n "]);return m=function(){return e},e}function p(){var e=i()(["\n padding: 2rem;\n margin: 4rem;\n "]);return p=function(){return e},e}function f(){var e=i()(["\n height: 90vh;\n "]);return f=function(){return e},e}var h=r.c.div.withConfig({displayName:"hero__HeroContainer",componentId:"sc-1evbgpb-0"})(["background:url(",") no-repeat center center;position:relative;background-size:cover;background-color:linear-gradient( to bottom,rgba(255,255,255,0.9),rgba(255,255,255,0) );height:75vh;width:100%;display:flex;justify-content:center;align-items:center;&:before{content:'';position:absolute;top:0;right:0;height:30%;left:0;background-image:linear-gradient( to bottom,rgba(255,255,255,0.9),rgba(255,255,255,0) );}",";"],u.a,s.b.forSmallishOnly(f())),g=r.c.div.withConfig({displayName:"hero__PowerStatementContainer",componentId:"sc-1evbgpb-1"})(["background-color:rgba(0,147,69,0.8);padding:3rem;border:5px solid white;outline:20px solid rgba(0,147,69,0.8);margin:20px;max-width:650px;position:relative;",";",";"],s.b.forSmallishOnly(p()),s.b.forSmallOnly(m())),y=r.c.h1.withConfig({displayName:"hero__PowerStatementTitle",componentId:"sc-1evbgpb-2"})(["color:white;"]),b=r.c.p.withConfig({displayName:"hero__PowerStatementContent",componentId:"sc-1evbgpb-3"})(["color:white;"]),x=function(){return c.a.createElement(h,null,c.a.createElement(g,null,c.a.createElement(y,null,"Quality, Durability, Beauty."),c.a.createElement(b,null,"Ten Oaks hardwood flooring adds timeless beauty and style to any room, home, or commercial space. Our revolutionary Six Side Seal© ensures the look you choose is the one you’ll keep for years to come.")))},w=(n(178),n(6)),v=n.n(w),C=n(196),k=n.n(C),S=n(172);function _(){var e=i()(["\n display: none;\n "]);return _=function(){return e},e}var E=r.c.div.withConfig({displayName:"dropdownMenu__SubmenuContainer",componentId:"sc-4lqz0n-0"})(["min-width:200px;position:absolute;overflow:hidden;z-index:-1;left:50%;transform:translateX(-50%);"]),I=r.c.div.withConfig({displayName:"dropdownMenu__NavMenuItem",componentId:"sc-4lqz0n-1"})(["display:inline-block;position:relative;&:hover{ul{display:block;}}",";"],s.b.forSmallishOnly(_())),N=r.c.ul.withConfig({displayName:"dropdownMenu__NavSubmenu",componentId:"sc-4lqz0n-2"})(["font-weight:300;text-transform:none;display:block;width:200px;background-color:white;border-radius:3px;margin:0;box-shadow:0 2px 8px 0 rgba(186,186,186,0.5);"]),O=r.c.li.withConfig({displayName:"dropdownMenu__NavSubmenuItem",componentId:"sc-4lqz0n-3"})(["list-style:none;text-align:center;margin:0;a{text-decoration:none;color:#333;padding:0.5rem;display:block;transition:",";&:hover{background-color:rgba(0,0,0,0.1);color:#333;}}"],function(e){return e.theme.defaultTransition}),T=r.c.div.withConfig({displayName:"dropdownMenu__MenuTitleContainer",componentId:"sc-4lqz0n-4"})([""]),M=r.c.div.withConfig({displayName:"dropdownMenu__MenuTitle",componentId:"sc-4lqz0n-5"})(["font-size:22px;font-weight:bold;font-style:normal;color:",";text-transform:uppercase;"],function(e){return e.theme.primaryGreen}),H=r.c.div.withConfig({displayName:"dropdownMenu__BottomBorder",componentId:"sc-4lqz0n-6"})(["width:100%;height:3px;background-color:",";margin:auto;position:relative;div{width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:6px solid ",";position:absolute;bottom:-6px;left:50%;transform:translateX(-50%);}"],function(e){return e.theme.primaryGreen},function(e){return e.theme.primaryGreen}),q=function(e){function t(){return e.apply(this,arguments)||this}return v()(t,e),t.prototype.render=function(){return c.a.createElement(N,null,this.props.submenuItems.map(function(e){return c.a.createElement(O,{key:e.title},e.externalNewTab?c.a.createElement("a",{href:e.link,target:"_blank",rel:"noopener noreferrer"},e.title):c.a.createElement(S.a,{to:e.link},e.title))}))},t}(c.a.Component),z=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleHover=function(){n.setState({showAboutMenu:!0})},n.handleLeave=function(){setTimeout(n.setState({showAboutMenu:!1}),300)},n.state={showAboutMenu:!1},n}return v()(t,e),t.prototype.render=function(){var e=this.props,t=e.menuTitle,n=e.submenuItems;return c.a.createElement(I,{onMouseLeave:this.handleLeave},c.a.createElement(T,null,c.a.createElement(M,{onMouseEnter:this.handleHover},t),c.a.createElement(H,null,c.a.createElement("div",null))),c.a.createElement(E,null,c.a.createElement(k.a,{transitionName:"slide",transitionEnterTimeout:300,transitionLeaveTimeout:300},this.state.showAboutMenu&&c.a.createElement(q,{submenuItems:n}))))},t}(c.a.Component),j=n(206),F=n.n(j);function G(){var e=i()(["\n display: none;\n "]);return G=function(){return e},e}function L(){var e=i()(["\n display: none;\n "]);return L=function(){return e},e}function P(){var e=i()(["\n margin: 0 -3rem;\n padding: 0 3rem;\n background-size: cover;\n "]);return P=function(){return e},e}function R(){var e=i()(["\n height: 800px;\n background-size: contain;\n "]);return R=function(){return e},e}var W=r.c.div.withConfig({displayName:"history__HistoryContainer",componentId:"sc-1rwtyta-0"})(["margin:3rem;position:relative;h2{color:",";font-size:36px;text-transform:uppercase;text-align:center;margin-bottom:2rem;}"],function(e){return e.theme.altGreen}),B=r.c.div.withConfig({displayName:"history__LogContainer",componentId:"sc-1rwtyta-1"})(["background:"," no-repeat center center;position:relative;max-width:1100px;margin:0 auto;",";",";"],"url("+F.a+")",s.b.forLargeUp(R()),s.b.forSmallMediumOnly(P())),D=r.c.div.withConfig({displayName:"history__HistorialItem",componentId:"sc-1rwtyta-2"})(["position:absolute;font-size:0.9rem;max-width:350px;",";"],s.b.forSmallMediumOnly(L())),A=Object(r.c)(D).withConfig({displayName:"history__HistoricalItem1",componentId:"sc-1rwtyta-3"})(["top:50%;left:50%;transform:translate(0,-50%);"]),J=Object(r.c)(D).withConfig({displayName:"history__HistoricalItem2",componentId:"sc-1rwtyta-4"})(["top:30%;left:60%;transform:translate(0,-50%);"]),U=Object(r.c)(D).withConfig({displayName:"history__HistoricalItem3",componentId:"sc-1rwtyta-5"})(["top:80%;left:30%;transform:translate(0,-50%);"]),V=Object(r.c)(D).withConfig({displayName:"history__HistoricalItem4",componentId:"sc-1rwtyta-6"})(["top:20%;left:15%;transform:translate(0,-50%);"]),Q=r.c.p.withConfig({displayName:"history__MobileHistoricalItem",componentId:"sc-1rwtyta-7"})(["",";"],s.b.forLargeUp(G())),X=function(){return c.a.createElement(W,null,c.a.createElement("h2",null,"History"),c.a.createElement(B,null,c.a.createElement(A,null,"In May of 1922, four local citizens of Patrick County incorporated Stuart Lumber Company to utilize the vast timber resources located in and around the county. Those incorporators included: Flem Ross, Joel Marshall, Larkin Cockram, and A. Leon Powell. For the next 17 years, these men rotated as President, General Manager, and Directors."),c.a.createElement(J,null,"In 1982, Buddy left Masonite Corporation to strike out on his own business venture. He purchased the moth-balled strip flooring operation from the Masonite Corporation and moved the machinery across town to a spot on the Mayo River along Dobyns Road. In July of 1984, he launched Stuart Flooring Corporation with one half of a strip flooring manufacturing line."),c.a.createElement(U,null,"In 2004, Buddy purchased the T. George Vaughan Furniture from the Vaughan-Bassett Furniture Company building located in the Rich Creek Corporate Park in Stuart, Virginia. With a blank slate of 260,000 square feet and 34 acres of land, the sixty-seven-year-old entrepreneur and his family members started Ten Oaks, LLC with a simple idea: make hardwood flooring better."),c.a.createElement(V,null,"After fourteen years of steady growth, Ten Oaks expanded to fill almost all of its 260,000 square feet and 34 acres of land at the original Progress Drive location. With a need to expand its raw materials processing capability in order to increase production, Ten Oaks took advantage of the opportunity to purchase the old Stuart Flooring mill from Shaw Industries after Shaw announced the plant would close at the end of 2017. With more elbow room, Ten Oaks continues to expand its production of solid, hardwood flooring to offer a wider array of products to its customers."),c.a.createElement(Q,null,"In May of 1922, four local citizens of Patrick County incorporated Stuart Lumber Company to utilize the vast timber resources located in and around the county. Those incorporators included: Flem Ross, Joel Marshall, Larkin Cockram, and A. Leon Powell. For the next 17 years, these men rotated as President, General Manager, and Directors."),c.a.createElement(Q,null,"In 1982, Buddy left Masonite Corporation to strike out on his own business venture. He purchased the moth-balled strip flooring operation from the Masonite Corporation and moved the machinery across town to a spot on the Mayo River along Dobyns Road. In July of 1984, he launched Stuart Flooring Corporation with one half of a strip flooring manufacturing line."),c.a.createElement(Q,null,"In 2004, Buddy purchased the T. George Vaughan Furniture from the Vaughan-Bassett Furniture Company building located in the Rich Creek Corporate Park in Stuart, Virginia. With a blank slate of 260,000 square feet and 34 acres of land, the sixty-seven-year-old entrepreneur and his family members started Ten Oaks, LLC with a simple idea: make hardwood flooring better."),c.a.createElement(Q,null,"After fourteen years of steady growth, Ten Oaks expanded to fill almost all of its 260,000 square feet and 34 acres of land at the original Progress Drive location. With a need to expand its raw materials processing capability in order to increase production, Ten Oaks took advantage of the opportunity to purchase the old Stuart Flooring mill from Shaw Industries after Shaw announced the plant would close at the end of 2017. With more elbow room, Ten Oaks continues to expand its production of solid, hardwood flooring to offer a wider array of products to its customers.")))},Y=n(169),Z=n.n(Y),K=n(33);function $(){var e=i()(["\n height: 370px;\n "]);return $=function(){return e},e}function ee(){var e=i()(["\n height: 370px;\n padding-top: 1rem;\n\n > div {\n padding: 0 1rem;\n }\n "]);return ee=function(){return e},e}function te(){var e=i()(["\n flex-direction: column-reverse;\n height: auto;\n "]);return te=function(){return e},e}var ne=r.c.div.withConfig({displayName:"footerCta__FooterContainer",componentId:"jm9n0r-0"})([""]),re=r.c.div.withConfig({displayName:"footerCta__FooterWrapper",componentId:"jm9n0r-1"})(["height:370px;display:flex;background-color:",";align-items:center;",";"],function(e){return e.theme.altGreen},s.b.forSmallOnly(te())),oe=r.c.div.withConfig({displayName:"footerCta__ContentContainer",componentId:"jm9n0r-2"})(["flex:1;height:100%;display:flex;justify-content:center;flex-direction:column;> div{padding:0 4rem;h2{color:",";text-transform:uppercase;}p{color:",";}}",";"],function(e){return e.theme.accentGreen},function(e){return e.theme.white},s.b.forSmallOnly(ee())),ae=r.c.div.withConfig({displayName:"footerCta__MapContainer",componentId:"jm9n0r-3"})(["flex:1;height:100%;",";"],s.b.forSmallOnly($())),ie=r.c.div.withConfig({displayName:"footerCta__BottomFooter",componentId:"jm9n0r-4"})(["background-color:#404041;text-align:center;color:white;font-size:14px;padding:0.5rem 1rem;"]),le=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o div{padding:",";}",";",";"],function(e){return e.theme.altGreen},function(e){return e.centeredContentText?"0 6rem":"0 4rem"},s.b.forSmallishOnly(we()),s.b.forSmallOnly(xe())),_e=r.c.div.withConfig({displayName:"backgroundColorImageSection__ImageContainer",componentId:"sc-15rqt49-2"})(["flex:1;height:100%;img{margin:0;height:100%;width:100%;object-fit:cover;}",";",";"],s.b.forSmallishOnly(be()),s.b.forSmallOnly(ye())),Ee=r.c.div.withConfig({displayName:"backgroundColorImageSection__CenteredTextContainer",componentId:"sc-15rqt49-3"})(["background-color:rgba(0,147,69,0.8);padding:0.5rem 1rem;border:3px solid white;outline:10px solid rgba(0,147,69,0.8);position:absolute;top:50%;left:50%;color:",";font-size:32px;transform:translate(-50%,-50%);font-weight:bold;height:",";",";"],function(e){return e.theme.white},"70px",s.b.forSmallishOnly(ge(),"70px")),Ie=function(e){var t=e.children,n=e.image,r=e.alt,o=e.centeredContentText,a=e.reverse;return c.a.createElement(ke,{reverse:a},c.a.createElement(Se,{centeredContentText:o},c.a.createElement("div",null,t)),c.a.createElement(_e,null,c.a.createElement("img",{src:n,alt:r}),o&&c.a.createElement(Ee,null,o)))};function Ne(){var e=i()(["\n margin: 0 auto;\n "]);return Ne=function(){return e},e}function Oe(){var e=i()(["\n padding: 4rem 2rem 2rem;\n "]);return Oe=function(){return e},e}function Te(){var e=i()(["\n flex-direction: column;\n margin: 0 !important;\n max-width: 100%;\n padding: 0;\n "]);return Te=function(){return e},e}function Me(){var e=i()(["\n display: flex;\n ",";\n\n ",";\n"]);return Me=function(){return e},e}var He=o.extend(Me(),function(e){return e.reverse&&"flex-direction: row-reverse"},s.b.forSmallishOnly(Te())),qe=r.c.div.withConfig({displayName:"textImageSection__Content",componentId:"mob4m4-0"})(["flex:1;display:flex;align-items:center;justify-content:center;> div{padding:4rem;",";}"],s.b.forSmallishOnly(Oe())),ze=r.c.div.withConfig({displayName:"textImageSection__ImageContainer",componentId:"mob4m4-1"})(["flex:1;",";"],s.b.forSmallishOnly(Ne())),je=r.c.div.withConfig({displayName:"textImageSection__RectangleText",componentId:"mob4m4-2"})(["border:solid 3px ",";color:",";font-size:32px;font-weight:bold;padding:0.5rem 1.5rem;margin:2rem 0;display:inline-block;"],function(e){return e.theme.accentGreen},function(e){return e.theme.accentGreen}),Fe=function(e){var t=e.children,n=e.image,r=e.alt,o=e.rectangleText,a=e.reverse,i=e.style;return c.a.createElement(He,{reverse:a,style:i},c.a.createElement(qe,null,c.a.createElement("div",null,o&&c.a.createElement(je,null,o)," ",t)),c.a.createElement(ze,null,n&&c.a.createElement(ue,{src:n,alt:r,fixedWidth:!0})))};function Ge(){var e=i()(["\n width: 75px;\n "]);return Ge=function(){return e},e}var Le=r.c.svg.withConfig({displayName:"checkMark__CheckMarkContainer",componentId:"xnq7rf-0"})(["width:100px;display:block;",";circle{stroke-dasharray:1000;stroke-dashoffset:0;animation:dash 1.5s ease-in-out;}polyline{stroke-dasharray:1000;stroke-dashoffset:0;stroke-dashoffset:-100;animation:dash-check 1.5s 0.6s ease-in-out forwards;}@keyframes dash{0%{stroke-dashoffset:1000;}100%{stroke-dashoffset:0;}}@keyframes dash-check{0%{stroke-dashoffset:-100;}100%{stroke-dashoffset:900;}}"],s.b.forSmallOnly(Ge())),Pe=function(){return c.a.createElement(Le,{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 132.5 132.5"},c.a.createElement("circle",{fill:"none",stroke:s.c.accentGreen,strokeWidth:"8",strokeMiterlimit:"10",cx:"66.1",cy:"66.1",r:"62.1"}),c.a.createElement("polyline",{fill:"none",stroke:s.c.accentGreen,strokeWidth:"8",strokeLinecap:"round",strokeMiterlimit:"10",points:"100.2,40.2 51.5,88.8 29.8,67.5 "}))};n(34);function Re(){var e=i()(["\n display: block;\n "]);return Re=function(){return e},e}var We=r.c.div.withConfig({displayName:"hamburger__Hb1",componentId:"sc-1kcylt7-0"})([""]),Be=r.c.div.withConfig({displayName:"hamburger__Hb2",componentId:"sc-1kcylt7-1"})([""]),De=r.c.div.withConfig({displayName:"hamburger__Hb3",componentId:"sc-1kcylt7-2"})([""]),Ae=r.c.div.withConfig({displayName:"hamburger__HamburgerWrapper",componentId:"sc-1kcylt7-3"})(["position:absolute;box-sizing:initial;left:0;top:0;margin:11px 10px 5px;width:20px;height:20px;padding:12px 15px 12px;line-height:",";;text-align:center;z-index:100;cursor:pointer;transition:opacity 250ms ease;display:none;",";> div{position:relative;background-color:",";width:20px;height:3px;border-width:1px 0;margin:0 auto 3px;padding:0;border-radius:1px;font-size:1px;transition:all 200ms ease;transform-origin:0 0;}&[open]{","{transform:translate(4px,-1px) rotate(45deg);}","{opacity:0;}","{transform:translate(2px,1px) rotate(-45deg);}}}"],function(e){return e.theme.mobileHeaderHeight},s.b.forSmallishOnly(Re()),function(e){return e.theme.primaryGreen},We,Be,De),Je=function(e){return c.a.createElement(Ae,Object.assign({open:e.open},e),c.a.createElement(We,null),c.a.createElement(Be,null),c.a.createElement(De,null))},Ue=n(181),Ve=n.n(Ue),Qe=r.c.div.withConfig({displayName:"inputButton__Container",componentId:"b2g4gj-0"})(["position:relative;height:40px;width:160px;input{height:100%;width:100%;border:solid 3px #109949;padding-right:35px;text-align:center;background-color:",";font-weight:bold;color:",";}input::placeholder{opacity:1;}button{position:absolute;top:0;right:0;bottom:0;width:35px;background-color:",";border:none;.fa{color:white;}}"],function(e){return e.altColor?"white":e.theme.primaryGreen},function(e){return e.altColor?e.theme.accentGreen:"white"},function(e){return e.theme.accentGreen}),Xe=function(e){var t=e.onChange,n=e.onSubmit,r=e.value,o=e.altColor;return c.a.createElement("form",{onSubmit:n},c.a.createElement(Qe,{altColor:o},c.a.createElement("input",{value:r,name:"zipCode",onChange:t,placeholder:"ENTER ZIP",required:!0,pattern:".{5,5}"}),c.a.createElement("button",null,c.a.createElement(Ve.a,{name:"search"}))))},Ye=n(182),Ze=n.n(Ye);function Ke(){var e=i()(["\n padding: 2rem 0;\n "]);return Ke=function(){return e},e}function $e(){var e=i()(["\n align-self: flex-start;\n margin: 0 0 0 -15px;\n align-items: flex-start;\n justify-content: flex-start;\n\n img {\n height: 50%;\n width: 50%;\n }\n "]);return $e=function(){return e},e}function et(){var e=i()(["\n margin: 0 auto;\n max-width: 100%;\n flex-direction: column;\n "]);return et=function(){return e},e}function tt(){var e=i()(["\n margin: 2rem auto 0;\n max-width: 100%;\n "]);return tt=function(){return e},e}function nt(){var e=i()(["\n display: flex;\n margin-top: ",";\n align-items: ",";\n justify-content: center;\n\n ",";\n\n ",";\n"]);return nt=function(){return e},e}var rt=o.extend(nt(),function(e){return e.homePage?"6rem":0},function(e){return e.homePage?"flex-end":"flex-start"},s.b.forSmallishOnly(tt()),s.b.forSmallOnly(et())),ot=r.c.div.withConfig({displayName:"sixSideSeal__SixSideLogoContainer",componentId:"mumrew-0"})(["flex:1;display:flex;align-items:flex-end;justify-content:flex-end;img{height:150px;width:150px;margin:0;}",";"],s.b.forSmallOnly($e())),at=r.c.div.withConfig({displayName:"sixSideSeal__SixSideContentContainer",componentId:"mumrew-1"})(["flex:1;div{padding:2rem;",";}h2{text-transform:uppercase;color:",";}"],s.b.forSmallOnly(Ke()),function(e){return e.theme.accentGreen}),it=function(e){var t=e.children,n=e.homePage;return c.a.createElement(rt,{homePage:n},c.a.createElement(ot,{homePage:n},c.a.createElement("img",{src:Ze.a,alt:"Six Side Seal"})),c.a.createElement(at,{homePage:n},t))};n.d(t,"d",function(){return o}),n.d(t,"h",function(){return x}),n.d(t,"e",function(){return z}),n.d(t,"i",function(){return X}),n.d(t,"f",function(){return le}),n.d(t,"b",function(){return ce}),n.d(t,"j",function(){return ue}),n.d(t,"l",function(){return he}),n.d(t,"a",function(){return Ie}),n.d(t,"n",function(){return Fe}),n.d(t,"c",function(){return Pe}),n.d(t,"g",function(){return Je}),n.d(t,"k",function(){return Xe}),n.d(t,"m",function(){return it})},171:function(e,t,n){"use strict";var r=n(6),o=n.n(r),a=n(168),i=n.n(a),l=n(184),c=n(0),d=n.n(c),u=n(1),s=n.n(u),m=n(185),p=n.n(m),f=n(172),h=n(18),g=(n(193),n(178),n(195)),y=n.n(g),b=n(7),x=n(170);function w(){var e=i()(["\n width: 150px;\n display: flex;\n align-items: center;\n justify-content: center;\n "]);return w=function(){return e},e}function v(){var e=i()(["\n height: ",";\n padding: 0 1rem;\n justify-content: center;\n position: relative;\n "]);return v=function(){return e},e}var C=[{title:"FAQ & Six Side Seal",link:"/six-side-seal"},{title:"Eye Protection",link:"/eye-protection"},{title:"Installation Instructions",link:"/documents/InstallationInstructions.pdf",externalNewTab:!0},{title:"Glue Installation Instructions",link:"/documents/GlueInstallationInstructions.pdf",externalNewTab:!0},{title:"Sizes Chart",link:"/documents/sizes-chart.pdf",externalNewTab:!0},{title:"MSDS Report",link:"/documents/MSDSReport.pdf",externalNewTab:!0},{title:"Warranty Information",link:"/limited-warranty"},{title:"Sanding Schedule",link:"/sanding-schedule"},{title:"LEED Information",link:"/leed"},{title:"Contact Us",link:"/contact-us"}],k=[{title:"About Us",link:"/about"},{title:"Six Side Seal",link:"/six-side-seal"},{title:"Find Our Product",link:"/find-product"},{title:"Products",link:"/products"},{title:"Contact Us",link:"/contact-us"}],S=h.c.div.withConfig({displayName:"header__HeaderContainer",componentId:"sc-1qzqwdk-0"})(["position:fixed;top:0;left:0;z-index:30;width:100%;"]),_=h.c.div.withConfig({displayName:"header__HeaderWrapper",componentId:"sc-1qzqwdk-1"})(["height:",";background:",";box-shadow:",";display:flex;justify-content:space-between;align-items:center;padding:0 3rem;transition:",";position:fixed;top:0;left:0;width:100%;z-index:30;",";"],function(e){return e.theme.desktopHeaderHeight},function(e){return e.scrolled||e.open?e.theme.white:"transparent"},function(e){return e.scrolled&&!e.open?"0 2px 4px 0 rgba(186, 186, 186, 0.5)":"none"},function(e){return e.theme.defaultTransition},b.b.forSmallishOnly(v(),function(e){return e.theme.mobileHeaderHeight})),E=Object(h.c)(f.a).withConfig({displayName:"header__HeaderImage",componentId:"sc-1qzqwdk-2"})(["display:inline-block;width:220px;",";img{height:100%;width:100%;object-fit:contain;font-family:'object-fit: contain;';margin:0;padding:0.25rem 0;}"],b.b.forSmallishOnly(w())),I=h.c.div.withConfig({displayName:"header__MobileNav",componentId:"sc-1qzqwdk-3"})(["position:absolute;top:",";left:0;width:100%;background-color:white;height:100vh;display:flex;flex-direction:column;"],function(e){return e.theme.mobileHeaderHeight}),N=h.c.div.withConfig({displayName:"header__MobileNavSubmenuToggleContainer",componentId:"sc-1qzqwdk-4"})(["align-self:center;margin:1rem 0 0;"]),O=h.c.button.withConfig({displayName:"header__MobileSubmenuToggler",componentId:"sc-1qzqwdk-5"})(["background:",";border:2px solid ",";padding:0.35rem;font-size:16px;color:",";&:first-child{border-radius:5px 0 0 5px;border-right:1px solid ",";}&:last-child{border-radius:0 5px 5px 0;border-left:1px solid ",";}"],function(e){return e.active?e.theme.primaryGreen:e.theme.white},function(e){return e.theme.primaryGreen},function(e){return e.active?e.theme.white:e.theme.defaultFontColor},function(e){return e.theme.primaryGreen},function(e){return e.theme.primaryGreen}),T=h.c.div.withConfig({displayName:"header__MobileNavItemsContainer",componentId:"sc-1qzqwdk-6"})(["padding:1.5rem;"]),M=Object(h.b)(["display:block;text-decoration:none;color:",";font-size:18px;padding:0.25rem;margin:0.25rem 0;"],function(e){return e.theme.defaultFontColor}),H=function(e){function t(t){var n;return(n=e.call(this,t)||this).onScroll=function(){var e=window.scrollY>40;e!==n.state.scrolled&&n.setState({scrolled:e})},n.onHamburgerClick=function(){n.setState({open:!n.state.open})},n.onMobileTogglerClick=function(e){n.setState({contractorNavSelected:e})},n.onMobileNavItemClick=function(){n.setState({open:!1})},n.state={mobileNavOpen:!1,scrolled:!1,open:!1,contractorNavSelected:!0},n}o()(t,e);var n=t.prototype;return n.componentDidMount=function(){document.addEventListener("scroll",this.onScroll)},n.componentWillUnmount=function(){document.removeEventListener("scroll",this.onScroll,!1)},n.render=function(){var e=this,t="undefined"!=typeof window&&"/"!==window.location.pathname,n=y.a;this.state.scrolled;var r=this.state,o=r.open,a=r.contractorNavSelected,i=a?C:k;return d.a.createElement(S,null,d.a.createElement(_,{scrolled:this.state.scrolled||t,open:o},d.a.createElement(x.e,{submenuItems:C,menuTitle:"For Contractors"}),d.a.createElement(E,{to:"/"},d.a.createElement("img",{src:n,alt:"Ten Oaks logo"})),d.a.createElement(x.e,{submenuItems:k,menuTitle:"For Homeowners"}),d.a.createElement(x.g,{open:o,onClick:this.onHamburgerClick}),o&&d.a.createElement(I,null,d.a.createElement(N,null,d.a.createElement(O,{onClick:function(){return e.onMobileTogglerClick(!0)},value:"true",active:a},"Contractors"),d.a.createElement(O,{onClick:function(){return e.onMobileTogglerClick(!1)},value:"false",active:!a},"Homeowners")),d.a.createElement(T,null,i.map(function(t){var n,r=(n=t.externalNewTab?"a":f.a,Object(h.c)(n).withConfig({displayName:"header",componentId:"sc-1qzqwdk-7"})(["",";"],M));return d.a.createElement("div",{key:t.link},t.externalNewTab?d.a.createElement(r,{href:t.link,target:"_blank",rel:"noopener noreferrer",onClick:e.onMobileNavItemClick},t.title):d.a.createElement(r,{to:t.link,onClick:e.onMobileNavItemClick},t.title))})))))},t}(d.a.Component);n(208);function q(){var e=i()(["\n margin-top: ",";\n "]);return q=function(){return e},e}var z=h.c.div.withConfig({displayName:"layout__PageContainer",componentId:"sc-1300rln-0"})(["margin-top:",";",";"],function(e){return e.theme.desktopHeaderHeight},b.b.forSmallishOnly(q(),function(e){return e.theme.mobileHeaderHeight})),j=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o