PageSourceSearch

https://www.acdd.com/_next/static/chunks/8766-e82e949829c39b98.js

js acdd.com collected 2026-10-02 12:15:01 UTC 16,539 bytes, 6 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8766],{31147:function(e,a,t){t.d(a,{SS:function(){return r},m5:function(){return s},uL:function(){return l}});let r=["Top Left","Top Right","Bottom Left","Bottom Right"],s="Top Left",l="dynamic_pages_cache"},91408:function(e,a,t){var r=t(57437);t(2265);var s=t(38798);a.Z=e=>{let{showModal:a,setShowModal:t,handleRemoveBackorders:l,message:n="",showHeading:i=!0,confirmButtonText:c="Confirm",buttonBlockOnMobile:o=!1}=e;return(0,r.jsx)(r.Fragment,{children:a?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"fixed inset-0 z-[150] flex items-center justify-center overflow-y-auto overflow-x-hidden outline-none focus:outline-none",children:(0,r.jsx)("div",{className:"relative mx-auto my-6 w-auto max-w-3xl",children:(0,r.jsxs)("div",{className:"relative flex w-full flex-col rounded-lg border-0 bg-white shadow-lg outline-none focus:outline-none",children:[(0,r.jsxs)("div",{className:"border-blueGray-200 flex items-start justify-between rounded-t border-b border-solid p-5",children:[i&&(0,r.jsx)("h3",{className:"text-3xl font-semibold",children:"Are you sure?"}),(0,r.jsx)("button",{className:"float-right ml-auto border-0 bg-transparent p-1 text-3xl font-semibold leading-none text-black opacity-5 outline-none focus:outline-none",onClick:()=>t(!1),children:(0,r.jsx)("span",{className:"block h-6 w-6 bg-transparent text-2xl opacity-5 outline-none focus:outline-none",children:"\xd7"})})]}),(0,r.jsx)("div",{className:"relative flex-auto p-6",children:n}),(0,r.jsxs)("div",{className:"border-blueGray-200 flex items-center justify-end rounded-b border-t border-solid p-6 ".concat(o?"max-md:flex-col max-md:gap-[10px] max-md:pb-4":""),children:[(0,r.jsx)(s.z,{className:o?"max-md:w-full":"",onClick:()=>t(!1),type:"button",children:"Cancel"}),(0,r.jsx)(s.z,{className:"ml-2 ".concat(o?"max-md:w-full":""),onClick:l,type:"button",children:c})]})]})})}),(0,r.jsx)("div",{className:"fixed inset-0 z-40 bg-black opacity-25"})]}):null})}},15139:function(e,a,t){t.d(a,{BaseCart:function(){return c}});var r=t(57437),s=t(98960),l=t(2265),n=t(37440);let i=(0,l.forwardRef)((e,a)=>{let{children:t,className:s,...l}=e;return(0,r.jsx)("span",{className:(0,n.cn)("absolute -left-[-16px] -top-[16px] end-0 min-w-[24px] rounded-[28px] border-2 border-white bg-blue-primary px-1 py-px text-center text-xs font-bold font-normal leading-normal text-white",s),ref:a,...l,children:t})});i.displayName="Badge";let c=e=>{let{cart:a}=e;if(!a)return(0,r.jsx)(s.Z,{"aria-label":"cart"});let t=a.lineItems.totalQuantity,l=t&&t.toString().length>2?"w-fit":"";return(0,r.jsxs)("p",{className:"mr-2.5",role:"status",children:[(0,r.jsx)("span",{className:"sr-only",children:"Cart Items"}),(0,r.jsx)(s.Z,{"aria-hidden":"true"}),!!t&&(0,r.jsx)(i,{className:l,children:t})]})}},6584:function(e,a,t){t.d(a,{BasePagesHeader:function(){return h}});var r=t(57437),s=t(38036),l=t(83934),n=t(15015),i=t(66648);let c=e=>{let{settings:a,height:t=48,width:s=264,smallHeight:l=28,smallWidth:n=155}=e,{logoV2:c,storeName:o}=a;return"StoreTextLogo"===c.__typename?(0,r.jsx)("span",{className:"text-2xl font-black",children:c.text}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"hidden lg:block",children:(0,r.jsx)(i.default,{alt:c.image.altText?c.image.altText:o,height:t,priority:!0,src:c.image.url,width:s})}),(0,r.jsx)("div",{className:"block lg:hidden",children:(0,r.jsx)(i.default,{alt:c.image.altText?c.image.altText:o,height:l,priority:!0,src:c.image.url,width:n})})]})};var o=t(62186),d=t(42406);let h=e=>{var a,t,i,h,x,m,u;let{cart:p,storeSettings:g,nav:f,collapsedNav:j,isLoggedIn:b}=e;return(0,r.jsxs)("header",{className:"sticky top-0 z-[200] shrink-0 bg-white transition-[padding] duration-200 ease-out bg-white",children:[(0,r.jsx)("script",{type:"text/javascript",children:(t=window,i=document,x="script",void(t[h="clarity"]=t[h]||function(){(t[h].q=t[h].q||[]).push(arguments)},(m=i.createElement(x)).async=1,m.src="https://www.clarity.ms/tag/qkjd3vx7tf",(u=i.getElementsByTagName(x)[0]).parentNode.insertBefore(m,u)))}),(0,r.jsxs)(s.i9,{className:"lg:relative lg:flex-wrap transition-[padding,gap] duration-200 ease-out lg:gap-4 z-[100] bg-white lg:pt-2",children:[(0,r.jsx)(s.wV,{asChild:!0,className:"px-0",children:(0,r.jsx)(l.r,{href:"/",children:(0,r.jsx)(c,{height:64,settings:g,smallHeight:33,smallWidth:185,width:355})})}),(0,r.jsxs)("div",{className:"flex w-full order-1 lg:order-none lg:w-auto lg:flex-1 lg:pl-2.5",children:[(0,r.jsx)("div",{className:"flex-1 mr-2.5",children:(0,r.jsx)(o._,{})}),(0,r.jsx)(d.Z,{})]}),(0,r.jsxs)("div",{className:"flex h-[48px] items-center",children:[(0,r.jsxs)(s.S6,{className:"items-center",children:[(0,r.jsx)(s.zE,{
1className:"hidden lg:mr-10 lg:block",children:(null===(a=g.contact)||void 0===a?void 0:a.phone)?(0,r.jsxs)("p",{className:"text-gray-primary",children:["Contact us at:"," ",(0,r.jsx)("a",{href:"tel:".concat(g.contact.phone),children:g.contact.phone})]}):null}),(0,r.jsx)(s.zE,{className:"hidden lg:flex",children:(0,r.jsx)(n.w,{isLogin:b})}),(0,r.jsx)(s.zE,{children:(0,r.jsx)(s.wV,{asChild:!0,children:(0,r.jsx)(l.r,{className:"relative",href:"/cart",children:p})})})]}),(0,r.jsx)(s.ci,{className:"ms-2 lg:hidden"})]}),(0,r.jsx)("div",{className:"hidden border-b border-t border-gray-accountSidebar lg:block lg:w-full transition-[padding,margin] duration-200 ease-out pb-3 pt-3 lg:mb-3",children:f}),(0,r.jsx)(s.iQ,{children:j})]})]})}},95029:function(e,a,t){t.d(a,{BaseHeaderNav:function(){return N}});var r=t(57437),s=t(42421),l=t(74109),n=t(52022);/**
2 * @license lucide-react v0.341.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */let i=(0,t(81066).Z)("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);var c=t(16463),o=t(2265),d=t(38036),h=t(20451),x=t(83934),m=t(37440),u=t(31147),p=t(54255),g=t(87099),f=t(91408),j=t(25566);let b=(0,o.memo)(e=>{let{inCollapsedNav:a,isDataUpdated:t}=e,[s,l]=(0,o.useState)(!1),{logout:n}=(0,h.a)(),[i,x]=(0,o.useState)(!1),[u,b]=(0,o.useState)([]),[y,w]=(0,o.useState)(0),[N,v]=(0,o.useState)(!1),[S,k]=(0,o.useState)(null),C="https://www.acdd.com",E=(0,c.useRouter)(),T=(0,c.usePathname)();(0,o.useEffect)(()=>{x(!1)},[t]),(0,o.useEffect)(()=>{(async()=>{l(!0);try{let e=await fetch("".concat(C,"/api/multi-company"),{method:"POST",headers:{"x-vercel-protection-bypass":j.env.VERCEL_AUTOMATION_BYPASS_SECRET}}),a=await e.json();b(a||[]),a.map(e=>{e.isActive&&w(e.companyId)})}catch(e){}finally{l(!1)}})()},[]);let _=async()=>{x(!0),v(!1);try{let e=await fetch("".concat(C,"/api/multi-company/switch-company"),{method:"POST",body:JSON.stringify({companyId:S}),headers:{"x-vercel-protection-bypass":j.env.VERCEL_AUTOMATION_BYPASS_SECRET}});if((await e.json()).invalidCompany){n(!0);return}if(!e.ok)throw Error("Failed to fetch companies: ".concat(e.status));w(S),T.startsWith("/checkout")&&E.push("/cart"),E.refresh()}catch(e){console.error("error:",e)}};return i?(0,r.jsx)("div",{className:"fixed inset-0 z-[150] flex items-center justify-center bg-white/70 backdrop-blur-sm",children:(0,r.jsx)(g.a,{})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.zE,{className:(0,m.cn)(a&&"w-full",!a&&"max-md:hidden","order-last ml-auto"),children:(0,r.jsx)(d.wV,{asChild:!0,children:(0,r.jsx)(p.Ph,{onValueChange:e=>{v(!0),k(e)},value:s?"loading":y,children:(0,r.jsx)(p.Bw,{className:(0,m.cn)("z-[210]",a&&"z-[250]"),sideOffset:4,children:s?(0,r.jsx)(p.Ql,{value:"loading",children:"Loading..."},"loading"):u.map(e=>(0,r.jsxs)(p.Ql,{value:e.companyId,children:[(0,r.jsx)("span",{className:"text-base text-gray-400",children:"Company: "}),(0,r.jsx)("span",{className:"text-blue-primary font-bold",children:e.companyName})]},e.companyId))})})})}),(0,r.jsx)(f.Z,{handleRemoveBackorders:_,message:"If there are other users currently logged in to this account on other devices, they will be logged out and their sessions will end. Would you like to continue?",setShowModal:v,showModal:N,confirmButtonText:"Continue and Logout Others",buttonBlockOnMobile:!0})]})});var y=t(25566);let w=e=>{let{pages:a}=e;return a.length?(0,r.jsx)(r.Fragment,{children:a.map((e,a)=>(0,r.jsx)(d.zE,{children:(0,r.jsx)(d.wV,{className:"text-blue-primary font-normal",href:e.pageUrl,children:e.pageTitle})},a))}):null},N=e=>{let{className:a,inCollapsedNav:t=!1,categoryTree:p,isLoggedIn:g,groups:f,mainCompanyId:j=0,isDataUpdated:N}=e,{isLogoutPending:v,logout:S}=(0,h.a)(),[k,C]=(0,o.useState)(!1),[E,T]=(0,o.useState)([]),[_,O]=(0,o.useState)([]),[z,I]=(0,o.useState)([]),[V,L]=(0,o.useState)([]),[R,B]=(0,o.useState)([]),A=(0,c.useSearchParams)(),P=y.env.ALGOLIA_TRIGGER_CATEGORY_ID?+y.env.ALGOLIA_TRIGGER_CATEGORY_ID:92;(0,o.useEffect)(()=>{k&&C(!1);let e=u.uL,a=(e,a)=>e.filter(e=>e.subNavPosition===a&&e.enabled&&e.showInSubNav),t=e=>{T(a(e,"Top Left")),O(a(e,"Top Right")),I(a(e,"Bottom Left")),L(a(e,"Bottom Right"))};(async()=>{try{let a=localStorage.getItem(e),r=await fetch("/api/dynamic-page",{method:"GET",headers:{"Content-Type":"application/json"},cache:"no-cache"}),s=await r.json();if(B(s.pages),a){let{timestamp:e,pages:r}=JSON.parse(a);if(Date.now()-e<6e5){t(r);return}}let l=await fetch("/api/dynamic-page?showInSubNav=true",{method:"GET",headers:{"Content-Type":"application/json"}});if(!l.ok)throw Error("Failed to fetch dynamic pages");let n=(await l.json()).pages||[];localStorage.setItem(e,JSON.stringify({timestamp:Date.now(),pages:n})),t(n)}catch(r){console.error("Error fetching dynamic pages:",r);let a=localStorage.getItem(e);if(a){let{pages:e}=JSON.parse(a);t(e)}}})()},[A]);let Z=f.find(e=>"Products"===e.groupName);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(d.S6,{className:(0,m.cn)(!t&&"lg:gap-10",t&&"flex-col items-start pb-6",a),children:[!g&&(0,r.jsx)(d.zE,{className:(0,m.cn)(t&&"w-full"),children:(0,r.jsx)(d.wV,{asChild:!0,children:(0,r.jsx)(x.r,{href:"/account-application/",children:"Open an A
6ccount"})})}),p.map(e=>(0,r.jsx)(d.zE,{className:(0,m.cn)(t&&"w-full",Z&&"order-".concat(Z.sortOrder)),children:e.children.length>0?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.Lo,{className:"gap-0 p-0",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.wV,{asChild:!0,children:(0,r.jsx)(x.r,{className:"grow",href:e.path,children:e.name})}),(0,r.jsx)("span",{className:(0,m.cn)(t&&"p-3"),children:(0,r.jsx)(s.Z,{"aria-hidden":"true",className:(0,m.cn)("cursor-pointer transition duration-200 group-data-[state=open]/button:-rotate-180")})})]})}),(0,r.jsxs)(d.CG,{onScroll:e=>e.stopPropagation(),className:(0,m.cn)(!t&&"relative -mt-10 grid max-w-[800px] grid-cols-2 gap-2 bg-white p-10 shadow-xl 2xl:mx-12 2xl:max-w-[800px]",t&&"ps-3"),children:[(0,r.jsx)("ul",{className:(0,m.cn)(t&&"pb-4"),children:(0,r.jsx)(w,{pages:E})}),(0,r.jsx)("ul",{className:(0,m.cn)(t&&"pb-4"),children:(0,r.jsx)(w,{pages:_})}),e.children.map(e=>R.find(a=>a.pageTitle===e.name)||e.entityId===P?null:(0,r.jsxs)("ul",{className:(0,m.cn)(t&&"pb-4"),children:[(0,r.jsx)(d.zE,{children:(0,r.jsx)(d.wV,{className:"font-normal",href:e.path,children:e.name})}),e.children.map(e=>(0,r.jsx)(d.zE,{children:(0,r.jsx)(d.wV,{className:"font-normal",href:e.path,children:e.name})},e.entityId))]},e.entityId)),(0,r.jsx)("ul",{className:(0,m.cn)(t&&"pb-4"),children:(0,r.jsx)(w,{pages:z})}),(0,r.jsx)("ul",{className:(0,m.cn)(t&&"pb-4"),children:(0,r.jsx)(w,{pages:V})})]})]}):(0,r.jsx)(d.wV,{asChild:!0,children:(0,r.jsx)(x.r,{href:e.path,children:e.name})})},e.path)),f.map(e=>e.links&&e.links.length>0&&"Products"!==e.groupName?(0,r.jsxs)(d.zE,{className:(0,m.cn)(t&&"w-full","order-".concat(e.sortOrder)),children:[(0,r.jsx)(d.Lo,{className:"gap-0 p-0",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.wV,{asChild:!0,children:(0,r.jsx)(x.r,{className:"grow pointer-events-none",href:"#",children:e.groupName})}),(0,r.jsx)("span",{className:(0,m.cn)(t&&"p-3"),children:(0,r.jsx)(s.Z,{"aria-hidden":"true",className:(0,m.cn)("cursor-pointer transition duration-200 group-data-[state=open]/button:-rotate-180")})})]})}),(0,r.jsx)(d.CG,{onScroll:e=>e.stopPropagation(),className:(0,m.cn)(g?"lg:mx-32 2xl:mx-52":"mx-auto",!t&&"-mt-10 flex w-[700px] flex-row gap-20 bg-white px-10 py-5 shadow-xl xl:w-[700px]",t&&"ps-3"),children:(0,r.jsx)("ul",{className:(0,m.cn)(t&&"pb-4","flex flex-col"),children:e.links.map(e=>(0,r.jsx)(d.zE,{className:(0,m.cn)("pb-2 sortOrder","order-".concat(e.sortOrder)),children:(0,r.jsx)(d.wV,{className:"font-normal",href:e.url,target:e.external?"_blank":void 0,children:e.text})},e._id))})})]},e._id):"Products"!==e.groupName?(0,r.jsx)(d.zE,{className:(0,m.cn)(t&&"w-full","order-".concat(e.sortOrder)),children:(0,r.jsx)(d.wV,{asChild:!0,children:(0,r.jsx)(x.r,{href:e.url,target:e.url.startsWith("http")?"_blank":void 0,children:e.groupName})})},e._id):void 0),g&&!!j&&(0,r.jsx)(b,{inCollapsedNav:!1,isDataUpdated:N})]}),(0,r.jsxs)(d.S6,{className:(0,m.cn)("border-t border-gray-200 pt-6 lg:hidden",!t&&"hidden",t&&"flex-col items-start pb-[60px]"),children:[(0,r.jsx)(d.zE,{className:(0,m.cn)(t&&"flex w-full flex-col gap-4"),children:g?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(d.wV,{href:"/account",onClick:()=>C(!0),children:["My Account"," ",k?(0,r.jsx)(l.Z,{"aria-hidden":"true",className:"animate-spin"}):(0,r.jsx)(n.Z,{})]}),(0,r.jsxs)(d.wV,{onClick:S,children:["Sign Out"," ",v?(0,r.jsx)(l.Z,{"aria-hidden":"true",className:"animate-spin"}):(0,r.jsx)(i,{})]})]}):(0,r.jsxs)(d.wV,{href:"/login",children:["Your account",(0,r.jsx)("span",{className:(0,m.cn)(t&&"p-3"),children:(0,r.jsx)(n.Z,{})})]})}),g&&!!j&&(0,r.jsx)(b,{inCollapsedNav:t,isDataUpdated:N})]})]})}},87099:function(e,a,t){t.d(a,{a:function(){return l}});var r=t(57437),s=t(74109);function l(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,{"aria-hidden":"true",className:"animate-spin text-gray-primary",width:"90",height:"90"}),(0,r.jsx)("span",{className:"sr-only",children:"Loading..."})]})}},54255:function(e,a,t){t.d(a,{Ph:function(){return h},Bw:function(){return x},Ql:function(){return m}});var r=t(57437),s=t(48297),l=t(12218),n=t(42421),i=t(22468),c=t(2265),o=t(37440);let d=(0,l.j)("[&>*]:truncate focus:ring-blue-primary/20 group flex h-12 w-full items-center justify-between border-2 border-gray-200 px-4 py-3 text-base text-black hover:border-blue-primary focus:border-blue-primary focus:outline-none focus:ring-4 disabled:bg-gray-100 disabled:hover:border-gray-200 data-[placeholder]:text-gray-500",{variants:{variant:{success:"border-green-100 focus:border-green-100 focus:ring-green-100/20 disabled:border-gray-200 hover:border-green-200",error:"border-red-100 focus:border-red-100 focus:ring-red-100/20 disabled:border-gray-200 hover:border-red-200"}}}),h=(0,c.forwardRef)((e,a)=>{let{children:t,placeholder:l,className:i,variant:c,"aria-label":h,prefix:x,...m}=e;return(0,r.jsxs)(s.fC,{...m,children:[(0,r.jsxs)(s.xz,{"aria-label":h,className:(0,o.cn)(d({variant:c,className:i})),ref:a,children:[x&&(0,r.jsx)("span",{className:"mr-1",children:x}),(0,r.jsx)(s.B4,{placeholder:l}),(0,r.jsx)(s.JO,{className:"ml-auto shrink-0",children:(0,r.jsx)(n.Z,{className:"inline group-focus:text-blue-primary group-enabled:group-hover:text-blue-primary"})})]}),t]})});h.displayName=s.fC.displayName;let x=(0,c.forwardRef)((e,a)=>{let{children:t,className:l,...n}=e;return(0,r.jsx)(s.h_,{children:(0,r.jsx)(s.VY,{position:"popper",...n,className:(0,o.cn)("relative w-full bg-white shadow-md max-h-radix-select-content-available-height data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",l),ref:a,children:(0,r.jsx)(s.l_,{className:"w-full min-w-[var(--radix-select-trigger-width)] h-radix-select-content-available-height",children:t})})})});x.displayName=s.VY.displayName;let m=(0,c.forwardRef)((e,a)=>{let{children:t,className:l,...n}=e;return(0,r.jsxs)(s.ck,{...n,className:(0,o.cn)('relative flex w-full cursor-pointer select-none items-center justify-between overflow-visible px-4 py-2 outline-none hover:bg-blue-secondary/10 hover:text-blue-primary focus:bg-blue-secondary/10 data-[disabled]:pointer-events-none data-[state="checked"]:bg-blue-secondary/10 data-[state="checked"]:text-blue-primary data-[disabled]:opacity-50',l),ref:a,children:[(0,r.jsx)(s.eT,{children:t}),(0,r.jsx)(s.wU,{children:(0,r.jsx)(i.Z,{})})]})});m.displayName=s.ck.displayName}}]);

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.