(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{63:(e,t,r)=>{"use strict";var a=r(7260);r.o(a,"usePathname")&&r.d(t,{usePathname:function(){return a.usePathname}}),r.o(a,"useRouter")&&r.d(t,{useRouter:function(){return a.useRouter}})},371:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,2619,23)),Promise.resolve().then(r.t.bind(r,1356,23)),Promise.resolve().then(r.t.bind(r,1402,23)),Promise.resolve().then(r.bind(r,9133)),Promise.resolve().then(r.bind(r,2083)),Promise.resolve().then(r.bind(r,2904)),Promise.resolve().then(r.bind(r,2501)),Promise.resolve().then(r.bind(r,1895)),Promise.resolve().then(r.t.bind(r,6457,23))},1402:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return p},handleClientScriptLoad:function(){return m},initScriptLoader:function(){return f}});let a=r(8140),n=r(9417),s=r(5155),o=a._(r(7650)),i=n._(r(2115)),l=r(2073),d=r(4681),c=r(4853),u=new Map,g=new Set,h=e=>{let{src:t,id:r,onLoad:a=()=>{},onReady:n=null,dangerouslySetInnerHTML:s,children:i="",strategy:l="afterInteractive",onError:c,stylesheets:h}=e,m=r||t;if(m&&g.has(m))return;if(u.has(t)){g.add(m),u.get(t).then(a,c);return}let f=()=>{n&&n(),g.add(m)},b=document.createElement("script"),p=new Promise((e,t)=>{b.addEventListener("load",function(t){e(),a&&a.call(this,t),f()}),b.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});s?(b.innerHTML=s.__html||"",f()):i?(b.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",f()):t&&(b.src=t,u.set(t,p)),(0,d.setAttributesFromProps)(b,e),"worker"===l&&b.setAttribute("type","text/partytown"),b.setAttribute("data-nscript",l),h&&(e=>{if(o.default.preinit)return e.forEach(e=>{o.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(h),document.body.appendChild(b)};function m(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>h(e))}):h(e)}function f(e){e.forEach(m),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");g.add(t)})}function b(e){let{id:t,src:r="",onLoad:a=()=>{},onReady:n=null,strategy:d="afterInteractive",onError:u,stylesheets:m,...f}=e,{updateScripts:b,scripts:p,getIsSsr:x,appDir:w,nonce:y}=(0,i.useContext)(l.HeadManagerContext);y=f.nonce||y;let v=(0,i.useRef)(!1);(0,i.useEffect)(()=>{let e=t||r;v.current||(n&&e&&g.has(e)&&n(),v.current=!0)},[n,t,r]);let k=(0,i.useRef)(!1);if((0,i.useEffect)(()=>{if(!k.current){if("afterInteractive"===d)h(e);else"lazyOnload"===d&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>h(e))}));k.current=!0}},[e,d]),("beforeInteractive"===d||"worker"===d)&&(b?(p[d]=(p[d]||[]).concat([{id:t,src:r,onLoad:a,onReady:n,onError:u,...f,nonce:y}]),b(p)):x&&x()?g.add(t||r):x&&!x()&&h({...e,nonce:y})),w){if(m&&m.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===d)if(!r)return f.dangerouslySetInnerHTML&&(f.children=f.dangerouslySetInnerHTML.__html,delete f.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:y,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...f,id:t}])+")"}});else return o.default.preload(r,f.integrity?{as:"script",integrity:f.integrity,nonce:y,crossOrigin:f.crossOrigin}:{as:"script",nonce:y,crossOrigin:f.crossOrigin}),(0,s.jsx)("script",{nonce:y,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,{...f,id:t}])+")"}});"afterInteractive"===d&&r&&o.default.preload(r,f.integrity?{as:"script",integrity:f.integrity,nonce:y,crossOrigin:f.crossOrigin}:{as:"script",nonce:y,crossOrigin:f.crossOrigin})}return null}Object.defineProperty(b,"__nextScript",{value:!0});let p=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1895:(e,t,r)=>{"use strict";r.d(t,{QuoteModal:()=>d});var a=r(5155),n=r(2115),s=r(63),o=r(2501);let i="strux-gaq-r56426",l="https://app.struxgarage.com/assets/widgets/v1/strux-get-a-quote-widget.js?target=".concat(i,"&businessId=business2&categories=").concat(encodeURIComponent("Cabinets|Slatwall|Storage Racks|Other"));function d(){let{isOpen:e,close:t}=(0,o.o)(),r=(0,s.useRouter)(),d=(0,n.useRef)(!1),c=(0,n.useRef)(null);return((0,n.useEffect)(()=>{if(e)return document.body.style.overflow="hidden",()=>{document.body.style.overflow=""}},[e]),(0,n.useEffect)(()=>{if(!e)return;let r=e=>{"Escape"===e.key&&t()};return window.addEventListener("keydown",r),()=>window.removeEventListener("keydown",r)},[e,t]),(0,n.useEffect)(()=>{if(!e||d.current)return;d.current=!0;let t=document.createElement("script");return t.src=l,t.async=!0,document.body.appendChild(t),()=>{}},[e]),(0,n.useEffect)(()=>{if(!e)return;let a=document.getElementById(i);if(!a)return;let n=e=>{let a=e.detail;console.log("Quote submitted:",a),"dataLayer"in window&&window.dataLayer.push({event:"quote_submitted",...a}),t(),r.push("/thank-you")};return a.addEventListener("strux:quote-submitted",n),()=>a.removeEventListener("strux:quote-submitted",n)},[e,t,r]),e)?(0,a.jsx)("div",{className:"fixed inset-0 z-[100] flex items-center justify-center bg-black/60 backdrop-blur-sm",onClick:e=>{e.target===e.currentTarget&&t()},children:(0,a.jsxs)("div",{ref:c,className:"relative mx-4 w-full max-w-lg rounded-xl bg-white p-8 shadow-2xl",children:[(0,a.jsx)("button",{onClick:t,className:"absolute right-4 top-4 z-10 rounded-full p-1 text-gray-400 transition hover:bg-gray-100 hover:text-gray-600","aria-label":"Close",children:(0,a.jsx)("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})}),(0,a.jsx)("div",{id:i})]})}):null}},2083:(e,t,r)=>{"use strict";r.d(t,{Navbar:()=>u});var a=r(5155),n=r(2619),s=r.n(n),o=r(5239),i=r(2115),l=r(2818),d=r(2501);let c=[{label:"Cabinets",links:[{title:"Garage Cabinets",href:"/garage-cabinets"},{title:"Custom Fit",href:"/custom-garage-cabinets"},{title:"Powder-Coated",href:"/powder-coated-garage-cabinets"},{title:"Premium Build",href:"/premium-garage-cabinets"}]},{label:"More Solutions",links:[{title:"Storage Racks",href:"/storage-racks"},{title:"Slatwall",href:"/garage-slatwall"},{title:"Why Powder Coat?",href:"/why-powder-coat"}]}];function u(){let[e,t]=(0,i.useState)(!1),[r,n]=(0,i.useState)(!1),[u,g]=(0,i.useState)(!1),h=(0,i.useRef)(null),{open:m}=(0,d.o)();return(0,i.useEffect)(()=>{if(!r)return;let e=e=>{h.current&&!h.current.contains(e.target)&&n(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[r]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s(),{href:"/spring-sale",className:"block w-full bg-brand-red text-white transition hover:bg-brand-red-dark",children:(0,a.jsxs)("div",{className:"mx-auto flex max-w-7xl flex-col items-center justify-center gap-1 px-4 py-2 text-center sm:flex-row sm:gap-3",children:[(0,a.jsx)("span",{className:"text-[10px] font-semibold uppercase tracking-[0.3em] text-brand-red-light",children:"Spring Offer"}),(0,a.jsx)("span",{className:"hidden h-3 w-px bg-white/40 sm:inline-block"}),(0,a.jsx)("span",{className:"text-sm font-medium",children:"$1,000 credit toward any complete garage package \xb7 complimentary overhead rack included"}),(0,a.jsx)("span",{className:"text-[11px] font-semibold uppercase tracking-[0.2em] text-brand-red-light underline underline-offset-4 sm:ml-2",children:"Details"})]})}),(0,a.jsx)("div",{className:"hazard-stripe h-1 w-full"}),(0,a.jsxs)("header",{className:"sticky top-0 z-50 border-b border-gray-100 bg-white/95 shadow-md backdrop-blur-sm",children:[(0,a.jsxs)("div",{className:"mx-auto flex max-w-7xl items-center justify-between px-4 py-3 lg:px-8",children:[(0,a.jsxs)(s(),{href:"/",className:"flex items-center gap-3",children:[(0,a.jsx)(o.default,{src:l.U.logo,alt:l.U.name,width:50,height:42,className:"h-10 w-auto"}),(0,a.jsxs)("div",{className:"hidden sm:block",children:[(0,a.jsx)("span",{className:"text-lg font-bold text-brand-dark",children:l.U.name}),(0,a.jsxs)("span",{className:"flex items-center gap-1.5 text-xs tracking-wide text-brand-gray",children:[(0,a.jsx)("span",{className:"inline-block h-1.5 w-1.5 rounded-full bg-brand-red"}),l.U.tagline]})]})]}),(0,a.jsxs)("nav",{className:"hidden items-center gap-1 lg:flex",children:[(0,a.jsxs)("div",{ref:h,className:"relative",children:[(0,a.jsxs)("button",{onClick:()=>n(!r),className:"flex items-center gap-1 rounded-md px-3 py-2 text-sm font-medium text-gray-700 transition hover:bg-brand-dark hover:text-brand-red-light",children:["Products",(0,a.jsx)("svg",{className:"h-4 w-4 transition-transform ".concat(r?"rotate-180":""),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})]}),r&&(0,a.jsx)("div",{className:"absolute left-0 top-full mt-1 w-64 rounded-lg border border-gray-100 bg-white py-2 shadow-xl",children:c.map((e,t)=>(0,a.jsxs)("div",{children:[t>0&&(0,a.jsx)("div",{className:"my-2 border-t border-gray-100"}),(0,a.jsx)("p",{className:"px-4 py-1 text-[10px] font-bold uppercase tracking-widest text-brand-gray",children:e.label}),e.links.map(e=>(0,a.jsx)(s(),{href:e.href,onClick:()=>n(!1),className:"block px-4 py-2 text-sm text-gray-700 transition hover:bg-gray-50 hover:text-brand-red",children:e.title},e.href))]},e.label))})]}),(0,a.jsx)(s(),{href:"/why-powder-coat",className:"rounded-md px-3 py-2 text-sm font-medium text-gray-700 transition hover:bg-brand-dark hover:text-brand-red-light",children:"Why Powder Coat"}),(0,a.jsx)(s(),{href:"/showcase",className:"rounded-md px-3 py-2 text-sm font-medium text-gray-700 transition hover:bg-brand-dark hover:text-brand-red-light",children:"Gallery"}),(0,a.jsx)(s(),{href:"/contact",className:"rounded-md px-3 py-2 text-sm font-medium text-gray-700 transition hover:bg-brand-dark hover:text-brand-red-light",children:"Contact"}),(0,a.jsx)("button",{onClick:()=>{"dataLayer"in window&&window.dataLayer.push({event:"cta_click_quote",cta_text:"Get A Quote",page_location:window.location.pathname}),m()},"data-tracking":"cta-quote-nav",className:"ml-3 rounded-md bg-brand-red px-5 py-2.5 text-sm font-semibold text-white transition hover:bg-brand-red-dark hover:shadow-[0_0_12px_rgba(155,35,44,0.4)]",children:"Get A Quote"})]}),(0,a.jsx)("button",{onClick:()=>t(!e),className:"rounded-md p-2 text-gray-700 hover:bg-gray-100 lg:hidden","aria-label":"Toggle navigation",children:(0,a.jsx)("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e?(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"}):(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})]}),e&&(0,a.jsxs)("nav",{className:"border-t bg-white px-4 pb-4 lg:hidden",children:[(0,a.jsx)(s(),{href:"/",onClick:()=>t(!1),className:"block rounded-md px-3 py-2.5 text-sm font-medium text-gray-700 hover:bg-brand-dark hover:text-brand-red-light",children:"Home"}),(0,a.jsxs)("button",{onClick:()=>g(!u),className:"flex w-full items-center justify-between rounded-md px-3 py-2.5 text-sm font-medium text-gray-700 hover:bg-brand-dark hover:text-brand-red-light",children:["Products",(0,a.jsx)("svg",{className:"h-4 w-4 transition-transform ".concat(u?"rotate-180":""),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})]}),u&&(0,a.jsx)("div",{className:"ml-3 border-l-2 border-brand-red/20 pl-3",children:c.map(e=>(0,a.jsxs)("div",{className:"mb-2",children:[(0,a.jsx)("p",{className:"px-3 py-1 text-[10px] font-bold uppercase tracking-widest text-brand-gray",children:e.label}),e.links.map(e=>(0,a.jsx)(s(),{href:e.href,onClick:()=>t(!1),className:"block rounded-md px-3 py-2 text-sm text-gray-600 hover:bg-gray-50 hover:text-brand-red",children:e.title},e.href))]},e.label))}),(0,a.jsx)(s(),{href:"/why-powder-coat",onClick:()=>t(!1),className:"block rounded-md px-3 py-2.5 text-sm font-medium text-gray-700 hover:bg-brand-dark hover:text-brand-red-light",children:"Why Powder Coat"}),(0,a.jsx)(s(),{href:"/showcase",onClick:()=>t(!1),className:"block rounded-md px-3 py-2.5 text-sm font-medium text-gray-700 hover:bg-brand-dark hover:text-brand-red-light",children:"Gallery"}),(0,a.jsx)(s(),{href:"/contact",onClick:()=>t(!1),className:"block rounded-md px-3 py-2.5 text-sm font-medium text-gray-700 hover:bg-brand-dark hover:text-brand-red-light",children:"Contact"}),(0,a.jsx)("button",{onClick:()=>{t(!1),"dataLayer"in window&&window.dataLayer.push({event:"cta_click_quote",cta_text:"Get A Quote",page_location:window.location.pathname}),m()},"data-tracking":"cta-quote-nav-mobile",className:"mt-2 block w-full rounded-md bg-brand-red px-5 py-2.5 text-center text-sm font-semibold text-white",children:"Get A Quote"})]})]})]})}},2501:(e,t,r)=>{"use strict";r.d(t,{QuoteProvider:()=>i,o:()=>o});var a=r(5155),n=r(2115);let s=(0,n.createContext)(null);function o(){let e=(0,n.useContext)(s);if(!e)throw Error("useQuote must be used within QuoteProvider");return e}function i(e){let{children:t}=e,[r,o]=(0,n.useState)(!1),i=(0,n.useCallback)(()=>o(!0),[]),l=(0,n.useCallback)(()=>o(!1),[]);return(0,a.jsx)(s.Provider,{value:{isOpen:r,open:i,close:l},children:t})}},2818:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});let a={name:"Unger Powder Coated Cabinets",tagline:"Transforming Spaces",description:"Custom powder-coated garage cabinets, overhead storage racks, and slatwall solutions in Treasure Valley, Idaho.",phone:"(208) 779-4560",phoneAlt:"(208) 484-0689",email:"sales@ungerpowdercoating.com",location:"Treasure Valley, Idaho",facebook:"https://business.facebook.com/ungerpowdercoating",url:"https://powdercoatedcabinets.com",logo:"/images/logo.webp",heroImage:"/images/hero.webp",images:{cabinetShowcase:"/images/cabinet-showcase.webp",garageCabinets:"/images/garage-cabinets.webp",slatwall:"/images/slatwall.webp",powderCoating:"/images/powder-coating.webp",warranty:"/images/garden-storage.webp"},nav:[{title:"Home",href:"/"},{title:"Garage Cabinets",href:"/garage-cabinets"},{title:"Storage Racks",href:"/storage-racks"},{title:"Slatwall",href:"/garage-slatwall"},{title:"Why Powder Coat?",href:"/why-powder-coat"},{title:"Gallery",href:"/showcase"},{title:"3D Designer",href:"/3d-showcase"},{title:"Garage Storage Solutions",href:"/garage-storage-systems"},{title:"Contact",href:"/contact"}],services:[{title:"Custom Garage Cabinets",href:"/garage-cabinets",description:"Custom garage storage cabinets built to your exact dimensions. Powder-coated finish, dado joinery, and full back panel enclosures. The foundation of any organized garage storage system.",image:"https://cdn.struxgarage.com/public/images-sm/installs/wagner/wagner-dogs-3.webp"},{title:"Garage Wall Storage",href:"/garage-slatwall",description:"Slatwall garage wall storage systems with bike racks, tool hooks, and sports gear storage. Get everything off the floor and onto the wall with customizable panels and accessories.",image:"https://cdn.struxgarage.com/public/images-sm/installs/burton/burton-12.webp"},{title:"Overhead Ceiling Storage",href:"/storage-racks",description:"Heavy-duty overhead garage ceiling storage racks to maximize vertical space. Keep seasonal items, bins, and bulky gear safely overhead and out of the way.",image:"/images/cabinet-showcase.webp"}],showcaseImages:[{src:"/images/cabinet-showcase.webp",alt:"Custom multi-drawer powder-coated workbench with overhead storage in a Treasure Valley garage"},{src:"/images/garage-cabinets.webp",alt:"Red powder-coated garage cabinet workspace with integrated workbench and tool storage"},{src:"/images/slatwall.webp",alt:"Powder-coated storage bench with slatwall panel system in an organized garage"},{src:"/images/powder-coating.webp",alt:"Full garage transformation with powder-coated cabinets and overhead storage racks by Unger Powder Coating"},{src:"/images/garden-storage.webp",alt:"Outdoor garden storage solution with powder-coated finish for weather resistance"}]}},2904:(e,t,r)=>{"use strict";r.d(t,{PhoneLink:()=>s});var a=r(5155),n=r(2818);function s(e){let{phone:t=n.U.phone,label:r,className:s=""}=e,o="tel:".concat(t.replace(/[^+\d]/g,""));return(0,a.jsx)("a",{href:o,className:s,"data-tracking":"cta-phone",onClick:()=>{"dataLayer"in window&&window.dataLayer.push({event:"cta_click_phone",phone_number:t,page_location:window.location.pathname})},children:null!=r?r:"Call ".concat(t)})}},4652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return i}});let a=r(8140),n=r(5040),s=r(1356),o=a._(r(1124));function i(e){let{props:t}=(0,n.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=s.Image},4853:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return a},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},a="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5239:(e,t,r)=>{"use strict";r.d(t,{default:()=>n.a});var a=r(4652),n=r.n(a)},6457:()=>{},9133:(e,t,r)=>{"use strict";r.d(t,{HideOnRoute:()=>o});var a=r(5155),n=r(63);let s=["/spring-sale"];function o(e){let{children:t}=e,r=(0,n.usePathname)();return s.includes(r)?null:(0,a.jsx)(a.Fragment,{children:t})}}},e=>{e.O(0,[462,356,619,441,255,358],()=>e(e.s=371)),_N_E=e.O()}]);