PageSourceSearch

https://www.unitedlabsinc.com/_next/static/chunks/6879-1f47ddf85a703e39.js

js unitedlabsinc.com collected 2026-10-04 05:04:01 UTC 25,294 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6879],{651:(e,t,l)=>{"use strict";l.d(t,{GL:()=>v,No:()=>g,Q_:()=>f,Qt:()=>y,Yk:()=>b,o3:()=>o});var n=l(12115),r=l(56724),i=l(94865);let a=r.UR.map(e=>({...e,prefix:(e=>e.length?e[0].toUpperCase()+e.slice(1):e)(e.id)})),s={id:i.T2,name:i.fp,projectUrl:"",license:"",licenseUrl:"",prefix:""},o=[...a,s],d={},c=new Set(a.map(e=>e.id)),u=new Set(["default","IconContext","IconBase","GenericIcon"]),h={ai:()=>l.e(3380).then(l.bind(l,56692)),bi:()=>l.e(3873).then(l.bind(l,50742)),bs:()=>l.e(8087).then(l.bind(l,6092)),cg:()=>l.e(3603).then(l.bind(l,47063)),ci:()=>l.e(8520).then(l.bind(l,9577)),di:()=>l.e(5291).then(l.bind(l,21360)),fa:()=>l.e(6711).then(l.bind(l,70898)),fa6:()=>l.e(6446).then(l.bind(l,33828)),fc:()=>l.e(134).then(l.bind(l,87344)),fi:()=>l.e(844).then(l.bind(l,28122)),gi:()=>l.e(7672).then(l.bind(l,92253)),go:()=>l.e(2202).then(l.bind(l,53483)),gr:()=>l.e(585).then(l.bind(l,91694)),hi:()=>l.e(4777).then(l.bind(l,30308)),hi2:()=>l.e(5760).then(l.bind(l,42018)),im:()=>l.e(5271).then(l.bind(l,74667)),io:()=>l.e(4206).then(l.bind(l,74233)),io5:()=>l.e(512).then(l.bind(l,42878)),lia:()=>l.e(4613).then(l.bind(l,84197)),lu:()=>l.e(2150).then(l.bind(l,53380)),md:()=>l.e(5479).then(l.bind(l,57830)),pi:()=>l.e(4506).then(l.bind(l,6172)),ri:()=>l.e(9204).then(l.bind(l,10630)),rx:()=>l.e(8429).then(l.bind(l,95455)),si:()=>l.e(2362).then(l.bind(l,50457)),sl:()=>l.e(5891).then(l.bind(l,16052)),tb:()=>l.e(5897).then(l.bind(l,59475)),tfi:()=>l.e(5456).then(l.bind(l,71980)),ti:()=>l.e(7128).then(l.bind(l,35200)),vsc:()=>l.e(7949).then(l.bind(l,46079)),wi:()=>l.e(9752).then(l.bind(l,74157))},x=e=>{var t;return c.has(e)&&h[e]?(d[e]||(d[e]=h[e]()),null!=(t=d[e])?t:Promise.resolve(null)):Promise.resolve(null)},p=[...a].sort((e,t)=>t.prefix.length-e.prefix.length),f=e=>{if(e)return(0,i.CU)(e)?s:p.find(t=>e.toLowerCase().startsWith(t.prefix.toLowerCase()))},m=async e=>{if(e===i.T2)return i.B2;let t=await x(e);if(!t)return[];let l=a.find(t=>t.id===e);if(!l)return[];let n=l.prefix;return Object.keys(t).filter(e=>{if(u.has(e)||"function"!=typeof t[e]||!e.toLowerCase().startsWith(n.toLowerCase())||e.length<=n.length)return!1;let l=e[n.length];return!(!l||/[a-zA-Z]/.test(l)&&l!==l.toUpperCase())}).sort()},g=async e=>{if(!e||u.has(e))return null;if((0,i.CU)(e))return(0,i.xe)(e);let t=f(e);
1if(!t||!e.toLowerCase().startsWith(t.prefix.toLowerCase()))return null;let l=await x(t.id);if(!l)return null;let n=l[e];return((e,t,l)=>{if("function"!=typeof e||l.length<=t.length)return!1;let n=l[t.length];return!(!n||/[a-zA-Z]/.test(n)&&n!==n.toUpperCase())})(n,t.prefix,e)?n:null},v=e=>{let[t,l]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let t=!1;return(l(null),e)?(g(e).then(e=>{t||l(()=>e)}),()=>{t=!0}):()=>{t=!0}},[e]),t},y="__all__",j=async()=>{let e=o.map(e=>m(e.id));return(await Promise.all(e)).flat().sort()},b=e=>{let[t,l]=(0,n.useState)([]),[r,i]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let t=!1;return e?(i(!0),(e===y?j():m(e)).then(e=>{t||(l(e),i(!1))}),()=>{t=!0,i(!1)}):(l([]),i(!1),()=>{t=!0})},[e]),(0,n.useMemo)(()=>({iconNames:t,loading:r}),[t,r])}},2688:(e,t,l)=>{"use strict";l.d(t,{default:()=>G});var n=l(95155),r=l(12115),i=l(20063),a=l(59775),s=l(97179),o=l(80357),d=l(78120),c=l(24251),u=l(77524),h=l(87920),x=l(23405),p=l(19131),f=l(45279),m=l(13664),g=l(84389),v=l(21472),y=l(50355),j=l(80317),b=l(74193),C=l(27855),w=l(94238),A=l(24288),k=l(34782),S=l(35675),E=l(77802),I=l(26497),M=l(72123);function z(e){var t,l;return null!=(l=null==(t=e.tags)?void 0:t.some(e=>"featured"===e.toLowerCase()))&&l}var P=l(36016);function T(e){return"number"==typeof e.featuredRank&&Number.isInteger(e.featuredRank)?e.featuredRank:void 0}function W(e){let{categories:t,categoryNodes:l,products:r}=e,i=function(e,t){let l=new Map(e.map(e=>[e.handle,e])),n=new Set;return t.filter(e=>"COLLECTION"===e.nodeType&&"FEATURED"===e.collectionRole&&!!e.handle).sort((e,t)=>{var l,n;let r=T(e),i=T(t);if(void 0!==r&&void 0!==i){if(r!==i)return r-i}else if(void 0!==r)return -1;else if(void 0!==i)return 1;return(null!=(l=e.order)?l:0)-(null!=(n=t.order)?n:0)||e.id.localeCompare(t.id)}).flatMap(e=>{var t,r,i,a;let s=e.handle;if(!s||n.has(s))return[];let o=l.get(s),d=o?function(e){var t,l,n,r,i;if(null==(t=e.image)?void 0:t.url)return e.image;for(let t of null!=(n=null==(l=e.products)?void 0:l.edges)?n:[]){let e=null!=(i=t.node.featuredImage)?i:null==(r=t.node.images)?void 0:r.nodes.find(e=>!!e.url);if(null==e?void 0:e.url)return e}}(o):void 0;return o&&d?(n.add(s),[{title:o.title,description:null!=(i=null==(r=o.seo)||null==(t=r.description)?void 0:t.trim())?i:"",image:d.url,alt:null!=(a=d.altText)?a:"".concat(o.title," collection"),imageSizes:"(min-width: 1536px) 23vw, (min-width: 600px) 35vw, 94vw",ctaButtonLink:"/category/".concat(o.handle)}]):[]})}(t,l),a=r.filter(z),s=i.length>0,d=a.length>0;return s||d?(0,n.jsxs)(o.default,{component:"section",sx:{width:"100%"},children:[s?(0,n.jsxs)(o.default,{sx:{py:1,px:{xs:1,md:0}},children:[(0,n.jsx)(j.default,{component:"h2",variant:"h4",sx:{color:"primary.main",px:1,py:0},children:"Featured Categories:"}),(0,n.jsx)(P.default,{cards:i,cardsPerView:{xs:1,sm:3,md:3,lg:3,xl:4},sx:{bgcolor:"transparent",px:0,py:0}})]}):null,s&&d?(0,n.jsx)(g.default,{sx:{borderColor:"divider"}}):null,d?(0,n.jsxs)(o.default,{sx:{py:1,px:{xs:1,md:0}},children:[(0,n.jsx)(j.default,{component:"h2",variant:"h4",sx:{color:"primary.main",px:1,py:0},children:"Featured Products"}),(0,n.jsx)(P.default,{variant:"product",cards:a,cardsPerView:{xs:1,sm:3,md:3,lg:3,xl:4},sx:{bgcolor:"transparent",px:0,py:0}})]}):null]}):(0,n.jsxs)(o.default,{component:"section","aria-labelledby":"products-discovery-empty-title",sx:{border:1,borderColor:"divider",borderLeft:4,borderLeftColor:"primary.main",px:{xs:3,md:4},py:{xs:4,md:5},my:{xs:2,md:3}},children:[(0,n.jsx)(j.default,{id:"products-discovery-empty-title",component:"h2",variant:"h5",sx:{color:"primary.main",mb:1},children:"Explore Products"}),(0,n.jsx)(j.default,{color:"text.secondary",children:"Browse categories or use product filters to find available products."})]})}var L=l(98269),N=l(98274);let F=e=>{if(!e.length)return e;let t=[],l=[];return e.forEach(e=>{z(e)?t.push(e):l.push(e)}),[...t,...l]},R=e=>{let t=null==e?void 0:e.get("types");return t?t.split(",").map(e=>e.trim()).filter(Boolean):[]},G=function(e){let{products:t,categories:l,categoryTree:z,categoryNodes:P,initialCategory:T}=e,G=(0,i.usePathname)(),O=(0,i.useSearchParams)(),U=(0,r.useRef)(G),B=(0,r.useRef)(!1),[D,_]=(0,r.useState)(null!=T?T:null),[H,Y]=(0,r.useState)(()=>R(O)),[Q,K]=(0,r.useState)(""),[V,X]=(0,r.useState)(""),[Z,q]=(0,r.useState)(1),[J,$]=(0,r.useState)(!1),ee=(0,a.o)(Q,300),et=null!==D||H.length>0||Q.trim().length>0;(0,r.useEffect)(()=>{_(null!=T?T:null),q(1)},[T]),(0,r.useEffect)(()=>{U.current=G},[G]);let el=(0,r.useMemo)(()=>{let e=new Map;return t.forEach(t=>{var l;null==(l=t.collections)||l.forEach(t=>{var l;t.handle&&e.set(t.handle,(null!=(l=e.get(t.handle))?l:0)+1)})}),e},[t]),en=(0,r.useMemo)(()=>z&&z.length>
10?z:[{id:"default-categories",title:"Categories",nodeType:"GROUP",order:0,children:l.map(e=>({id:e.id,title:e.title,handle:e.handle,nodeType:"COLLECTION",order:0,visibility:"ALWAYS",children:[]})),visibility:"ALWAYS"}],[z,l]),er=(0,r.useMemo)(()=>en.map(e=>{var t;return{...e,children:(null!=(t=e.children)?t:[]).filter(e=>e.handle)}}).filter(e=>e.children.length>0),[en]),ei=(0,r.useMemo)(()=>{let e=[],t=(l,n)=>{l.forEach(l=>{var r;"COLLECTION"===l.nodeType&&l.handle&&e.push({category:l,parentPath:n.join(" › ")}),(null==(r=l.children)?void 0:r.length)&&t(l.children,[...n,l.title])})};return t(en,[]),e},[en]),ea=(0,r.useMemo)(()=>{let e=V.trim();return e?(0,M.Ht)(ei,e,{keys:[e=>e.category.title]}):[]},[V,ei]),es=(0,r.useMemo)(()=>{let e=new Map;er.forEach(t=>{var l;(null!=(l=t.children)?l:[]).forEach(l=>{l.handle&&e.set(l.handle,t.id)})});let l=new Map;t.forEach(t=>{var n;t.handle&&(null==(n=t.collections)||n.forEach(n=>{if(!n.handle)return;let r=e.get(n.handle);if(r){let e=l.get(r);e||(e=new Set,l.set(r,e)),e.add(t.handle)}}))});let n=new Map;return er.forEach(e=>{var t,r;n.set(e.id,null!=(r=null==(t=l.get(e.id))?void 0:t.size)?r:0)}),n},[er,t]),eo=(0,r.useMemo)(()=>{let e=new Map;return er.forEach(t=>{t.children.forEach(l=>{l.handle&&e.set(l.handle,t.id)})}),e},[er]),ed=(0,r.useMemo)(()=>(function(e){let t=[],l=e=>{e.forEach(e=>{var n;"COLLECTION"===e.nodeType&&e.handle&&t.push(e),(null==(n=e.children)?void 0:n.length)&&l(e.children)})};return l(e),t})(en),[en]),ec=(0,r.useMemo)(()=>new Set(ed.map(e=>e.handle).filter(e=>!!e)),[ed]),eu=(0,r.useMemo)(()=>F(t.filter(e=>{var t;return!D||(null==(t=e.collections)?void 0:t.some(e=>e.handle===D))}).sort((e,t)=>{var l,n,r,i,a,s;return(null!=(a=null==(n=e.extrafields)||null==(l=n.sort_number)?void 0:l.value)?a:0)-(null!=(s=null==(i=t.extrafields)||null==(r=i.sort_number)?void 0:r.value)?s:0)})),[t,D]),eh=(0,r.useMemo)(()=>{let e=new Map;return eu.forEach(t=>{var l;t.productType&&e.set(t.productType,(null!=(l=e.get(t.productType))?l:0)+1)}),e},[eu]),ex=(0,r.useMemo)(()=>Array.from(eh.keys()).sort(),[eh]),[ep,ef]=(0,r.useState)([]);(0,r.useEffect)(()=>{var e;if(ep.length>0||0===er.length)return;let t=D?eo.get(D):null==(e=er[0])?void 0:e.id;t&&ef([t])},[ep.length,eo,er,D]),(0,r.useEffect)(()=>{if(!D)return;let e=eo.get(D);e&&ef([e])},[eo,D]),(0,r.useEffect)(()=>{if(!H.length)return;let e=D?eo.get(D):void 0;ef(e&&"filters"!==e?["filters",e]:["filters"])},[H.length,D,eo]);let em=(0,r.useCallback)(e=>(t,l)=>{let n=D?eo.get(D):void 0;l?ef(n&&n!==e?[e,n]:[e]):ef(n?[n]:[])},[D,eo]),eg=(0,r.useCallback)(e=>{let t=new URLSearchParams(window.location.search);e.length>0?t.set("types",e.join(",")):t.delete("types");let l=t.toString(),n=U.current;window.history.replaceState(null,"",l?"".concat(n,"?").concat(l):n)},[]);(0,r.useEffect)(()=>{let e=R(O);Y(t=>t.length===e.length&&t.every(t=>e.includes(t))?t:(B.current=!0,q(1),e))},[O]),(0,r.useEffect)(()=>{Y(e=>{let t=e.filter(e=>ex.includes(e));return t.length!==e.length?(q(1),t):e})},[ex]),(0,r.useEffect)(()=>{D&&!ec.has(D)&&_(null)},[ec,D]),(0,r.useEffect)(()=>{if(B.current){B.current=!1;return}eg(H)},[H,eg]);let ev=(0,r.useMemo)(()=>{let e=eu.filter(e=>0===H.length||e.productType&&H.includes(e.productType));return 0===ee.length?F(e):F((0,M.Ht)(e,ee,{keys:["title","description",e=>{var t,l,n;return null!=(n=null==(l=e.extrafields)||null==(t=l.number)?void 0:t.value)?n:" "},e=>{var t;return null!=(t=e.tags)?t:[]},e=>{var t,l,n;return null!=(n=null==(l=e.extrafields)||null==(t=l.keywords)?void 0:t.value)?n:" "},e=>{var t,l,n;return null!=(n=null==(l=e.extrafields)||null==(t=l.applications)?void 0:t.value.items)?n:[]}]}))},[eu,H,ee]),ey=Math.ceil(ev.length/12),ej=+!!D+H.length,eb=(0,r.useMemo)(()=>ev.slice((Z-1)*12,12*Z),[ev,Z]),eC=e=>{e&&!ec.has(e)&&(e=null),_(e),q(1);let t=e?"/category/".concat(e):"/products";U.current=t;let l=new URLSearchParams(window.location.search).toString(),n=l?"".concat(t,"?").concat(l):t;window.history.replaceState(null,"",n)},ew=e=>{Y(H.includes(e)?H.filter(t=>t!==e):[...H,e]),q(1)},eA=(0,r.useMemo)(()=>{var e,t,n,r;return D&&null!=(r=null!=(n=null==(e=ed.find(e=>e.handle===D))?void 0:e.title)?n:null==(t=l.find(e=>
1e.handle===D))?void 0:t.title)?r:"All"},[l,ed,D]),ek=(0,r.useMemo)(()=>{if(!H.length)return"all product types";if(1===H.length)return"".concat(H[0]," type");let e=H[H.length-1],t=H.slice(0,-1).join(", ");return"".concat(t," or ").concat(e," types")},[H]),eS=(0,r.useMemo)(()=>D?"".concat(eA," category"):"all categories",[eA,D]),eE=(0,r.useMemo)(()=>{let e=ee.length>0?" while searching for “".concat(ee,"”"):"";return"No products match the ".concat(eS," and ").concat(ek).concat(e,".")},[eS,ee,ek]),eI=(0,r.useMemo)(()=>H.length||D||ee.length?"Try selecting a different category, clearing some type filters, or adjusting your search to see available products.":"Browse categories or filter by type to discover our available products.",[ee,D,H.length]);(0,r.useEffect)(()=>{q(1)},[ee]);let eM=(e,t)=>{let l=V.trim().length>0,r=e=>{eC(e),X(""),t&&$(!1)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.default,{sx:{px:1.5,pb:.5},children:(0,n.jsx)(j.default,{variant:"overline",color:"text.secondary",sx:{letterSpacing:1},children:"Categories"})}),(0,n.jsx)(o.default,{sx:{px:1.5,pb:1},children:(0,n.jsx)(y.A,{id:e,type:"text",size:"small",fullWidth:!0,label:"Search Categories",helperText:"Start typing to find a specific category, or browse the category list below.",value:V,onChange:e=>X(e.target.value),onKeyDown:e=>{"Escape"===e.key&&X("")},slotProps:{htmlInput:{"aria-controls":l?"".concat(e,"-results"):void 0,"aria-expanded":l,"aria-autocomplete":"list",autoComplete:"off",inputMode:"search",role:"combobox"},input:{endAdornment:V?(0,n.jsx)(k.A,{position:"end",children:(0,n.jsx)(A.A,{size:"small","aria-label":"Clear category search",edge:"end",onClick:()=>X(""),children:(0,n.jsx)(N.v,{name:"MdClose",size:16})})}):void 0}}})}),l?ea.length>0?(0,n.jsx)(h.A,{id:"".concat(e,"-results"),dense:!0,sx:{px:1},"aria-label":"Matching categories",children:ea.map(e=>{var t;let{category:l,parentPath:i}=e,a=l.handle;if(!a)return null;let s=null!=(t=el.get(a))?t:0;return(0,n.jsxs)(x.A,{selected:D===a,onClick:()=>r(a),sx:{width:"100%",px:1.5,py:.75},"aria-label":"".concat(l.title,", ").concat(i,", ").concat(s," products"),children:[l.iconName&&(0,n.jsx)(f.default,{sx:{minWidth:32},children:(0,n.jsx)(N.v,{name:l.iconName,size:18})}),(0,n.jsx)(p.default,{inset:!l.iconName,primary:l.title,secondary:"In ".concat(i),slotProps:{primary:{fontWeight:D===a?700:500},secondary:{noWrap:!0}}}),(0,n.jsx)(j.default,{variant:"caption",color:"text.secondary",children:s})]},a)})}):(0,n.jsxs)(o.default,{id:"".concat(e,"-results"),role:"status",sx:{mx:1.5,px:1.5,py:2,borderRadius:1,backgroundColor:"action.hover"},children:[(0,n.jsx)(j.default,{variant:"body2",fontWeight:600,children:"No matching categories"}),(0,n.jsx)(j.default,{variant:"caption",color:"text.secondary",children:"Try a different category name."})]}):er.map(e=>{var t;let l=null!=(t=es.get(e.id))?t:0;return(0,n.jsxs)(d.A,{disableGutters:!0,elevation:0,expanded:ep.includes(e.id),onChange:em(e.id),sx:{"&::before":{display:"none"},px:1},children:[(0,n.jsx)(u.A,{expandIcon:(0,n.jsx)(N.v,{name:"FiChevronDown",size:18}),sx:{minHeight:40,"& .MuiAccordionSummary-content":{my:.5},borderRadius:1,cursor:"pointer",transition:"background-color 0.15s ease-in-out","&:hover":{backgroundColor:"action.hover"}},children:(0,n.jsxs)(o.default,{sx:{display:"flex",alignItems:"center",gap:1,width:"100%"},children:[e.iconName&&(0,n.jsx)(N.v,{name:e.iconName,size:18}),(0,n.jsx)(j.default,{variant:"subtitle2",fontWeight:700,children:e.title}),(0,n.jsx)(o.default,{sx:{flexGrow:1}}),(0,n.jsx)(b.default,{size:"small",variant:"outlined",label:"".concat(l),"aria-label":"".concat(l," products in ").concat(e.title)})]})}),(0,n.jsx)(c.A,{sx:{pt:0},children:(0,n.jsx)(h.A,{dense:!0,disablePadding:!0,children:e.children.map(e=>{var t;let l=e.handle;if(!l)return null;let i=null!=(t=el.get(l))?t:0;return(0,n.jsxs)(x.A,{selected:D===l,onClick:()=>r(l),sx:{width:"100%",px:1,py:.5},"aria-label":"".concat(e.title," (").concat(i," products)"),children:[D===l?(0,n.jsx)(f.default,{sx:{minWidth:32},children:(0,n.jsx)(N.v,{name:"FiChevronRight",size:16,color:"primary"})}):e.iconName?(0,n.jsx)(f.default,{sx:{minWidth:32},children:(0,n.jsx)(N.v,{name:e.iconName,size:18})}):null,(0,n.jsx)(p.default,{inset:D!==l&&!e.iconName,primary:e.title,slotProps:{primary:{fontWeight:D===l?700:500}}}),(0,n.jsx)(j.default,{variant:"caption",color:"text.secondary",children:i})]},l)})})})]},e.id)})]})};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(s.default,{container:!0,component:"main",children:[(0,n.jsx)(s.default,{size:{xs:2,sm:3,md:4,lg:3.5,xl:3},sx:{display:{xs:"none",md:"block"}},children:(0,n.jsxs)(o.default,{sx:e=>({position:"sticky",top:e.spacing(1),maxHeight:"calc(100vh - ".concat(e.spacing(2),")"),overflowY:"auto",pr:1}),children:[(0,n.jsx)(o.default,{sx:{px:2,pt:2},children:(0,n.jsx)(j.default,{variant:"overline",color:"text.secondary",sx:{letterSpacing:1},children:"Browse"})}),(0,n.jsx)(h.A,{dense:!0,sx:{px:1},children:(0,n.jsxs)(x.A,{selected:null===D,onClick:()=>eC(null),sx:{width:"100%",px:1.5,py:.75},children:[(0,n.jsx)(p.default,{primary:"All Products",slotProps:{primary:{fontWeight:null===D?700:600}}}),(0,n.jsx)(j.default,{variant:"caption",color:"text.secondary","aria-label":"".concat(t.length," total products"),children:t.length})]})}),ex.length>1&&(0,n.jsxs)(d.A,{disableGutters:!0,elevation:0,expanded:ep.includes("filters"),onChange:em("filters"),sx:{"&::before":{display:"none"},px:1,mt:1},children:[(0,n.jsx)(u.A,{expandIcon:(0,n.jsx)(N.v,{name:"FiChevronDown",size:18}),sx:{minHeight:40,"& .MuiAccordionSummary-content":{my:.5},borderRadius:1,cursor:"pointer",transition:"background-color 0.15s ease-in-out","&:hover":{backgroundColor:"action.hover"}},children:(0,n.jsxs)(o.default,{sx:{display:"flex",alignItems:"center",gap:1,width:"100%"},children:[(0,n.jsx)(j.default,{variant:"subtitle2",fontWeight:700,children:"Filter by Type"}),(0,n.jsx)(o.default,{sx:{flexGrow:1}}),(0,n.jsx)(b.default,{size:"small",variant:"outlined",label:"".concat(ex.length," types"),"aria-label":"".concat(ex.length," product types available")})]})}),(0,n.jsx)(c.A,{sx:{pt:0},children:(0,n.jsx)(h.A,{dense:!0,disablePadding:!0,children:ex.map(e=>{var t,l;let r=null!=(t=eh.get(e))?t:0;return(0,n.jsxs)(x.A,{onClick:()=>ew(e),sx:{px:1,py:.5},"aria-label":"".concat(e," (").concat(r," products)"),children:[(0,n.jsx)(f.default,{sx:{height:20,m:0,p:0,minWidth:32},children:(0,n.jsx)(m.A,{edge:"start",checked:H.includes(e),tabIndex:-1,disableRipple:!0})}),(0,n.jsx)(p.default,{primary:e}),(0,n.jsx)(j.default,{variant:"caption",color:"text.secondary",children:null!=(l=eh.get(e))?l:0})]},e)})})})]}),(0,n.jsx)(g.default,{sx:{my:1.5}}),eM("desktop-category-search",!1)]})}),(0,n.jsxs)(s.default,{size:{xs:12,sm:12,md:8,lg:8.5,xl:9},sx:{flexGrow:1},children:[(0,n.jsxs)(o.default,{mt:.5,display:"flex",flexWrap:"wrap",alignItems:"center",justifyContent:"center",gap:2,children:[(0,n.jsx)(o.default,{sx:{display:"flex",alignItems:"center",gap:1,flexGrow:0,pl:2,flexDirection:"row"},children:(0,n.jsx)(y.A,{id:"product-search",size:"small",label:"Search All Products",value:Q,onChange:e=>{K(e.target.value)},sx:{minWidth:{xs:"100%",sm:240,md:300}},slotProps:{htmlInput:{"aria-label":"Search all products",autoComplete:"off",inputMode:"search"},input:{endAdornment:(0,n.jsx)(k.A,{position:"end",children:Q?(0,n.jsx)(A.A,{size:"small","aria-label":"Clear product search",edge:"end",onClick:()=>K(""),children:(0,n.jsx)(N.v,{name:"MdClose",size:16})}):(0,n.jsx)(N.v,{name:"FiSearch",size:16})})}}})}),(0,n.jsxs)(o.default,{sx:{display:{xs:"none",md:"flex"},alignItems:"center",gap:1,flexGrow:1},children:[(D||H.length>0)&&(0,n.jsx)(j.default,{variant:"body2",children:"Filters:"}),D&&(0,n.jsx)(b.default,{label:eA,onDelete:()=>eC(null),size:"small",variant:"outlined",color:"primary"}),H.map(e=>(0,n.jsx)(b.default,{label:e,onDelete:()=>ew(e),size:"small",variant:"outlined",color:"primary"},e))]}),et&&ey>1&&(0,n.jsx)(v.A,{count:ey,page:Z,onChange:(e,t)=>
1q(t)})]}),(0,n.jsxs)(o.default,{sx:{display:{xs:"flex",md:"none"},alignItems:"center",gap:1,px:2,pt:1,flexWrap:"wrap"},children:[(0,n.jsxs)(C.default,{variant:"outlined",size:"small",onClick:()=>$(!0),startIcon:(0,n.jsx)(N.v,{name:"FiFilter",size:16}),children:["Filters",ej>0&&(0,n.jsx)(b.default,{size:"small",label:ej,color:"primary",sx:{ml:.75,height:18,fontSize:"0.7rem"}})]}),D&&(0,n.jsx)(b.default,{label:eA,onDelete:()=>eC(null),size:"small",variant:"outlined",color:"primary"}),H.map(e=>(0,n.jsx)(b.default,{label:e,onDelete:()=>ew(e),size:"small",variant:"outlined",color:"primary"},e))]}),(0,n.jsx)(o.default,{sx:{my:1},children:et?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.default,{component:S.P.div,layoutScroll:!0,sx:{position:"relative",overflow:"hidden",isolation:"isolate"},children:(0,n.jsx)(E.o,{id:"product-grid",children:(0,n.jsx)(s.default,{container:!0,px:{xs:1,sm:3,md:2,lg:2,xl:2},spacing:{xs:2,sm:2,md:2,lg:2,xl:2},component:S.P.div,layout:!0,children:(0,n.jsx)(I.N,{initial:!1,mode:"sync",children:eb.map(e=>(0,n.jsx)(L.ProductCard,{product:e},e.handle))})})})}),!ev.length&&(0,n.jsxs)(o.default,{textAlign:"center",mt:4,children:[(0,n.jsx)(j.default,{variant:"h6",gutterBottom:!0,children:eE}),(0,n.jsx)(j.default,{variant:"body2",color:"text.secondary",children:eI})]}),ey>1&&(0,n.jsx)(o.default,{display:"flex",justifyContent:"right",mt:2,children:(0,n.jsx)(v.A,{count:ey,page:Z,onChange:(e,t)=>
1q(t)})})]}):(0,n.jsx)(W,{products:t,categories:l,categoryNodes:null!=P?P:[]})})]})]}),(0,n.jsxs)(w.Ay,{anchor:"bottom",open:J,onClose:()=>$(!1),sx:{display:{xs:"block",md:"none"}},slotProps:{paper:{sx:{maxHeight:"80vh",borderRadius:"12px 12px 0 0",display:"flex",flexDirection:"column"}}},children:[(0,n.jsxs)(o.default,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",px:2,py:1.5},children:[(0,n.jsx)(j.default,{variant:"h6",fontWeight:600,children:"Filters"}),(0,n.jsx)(A.A,{"aria-label":"Close filters",onClick:()=>$(!1),edge:"end",children:(0,n.jsx)(N.v,{name:"FiX",size:20})})]}),(0,n.jsx)(g.default,{}),(0,n.jsx)(o.default,{sx:{flex:1,overflowY:"auto",pb:2},children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.default,{sx:{px:1.5,pt:2},children:(0,n.jsx)(j.default,{variant:"overline",color:"text.secondary",sx:{letterSpacing:1},children:"Browse"})}),(0,n.jsx)(h.A,{dense:!0,sx:{px:1},children:(0,n.jsxs)(x.A,{selected:null===D,onClick:()=>{eC(null),$(!1)},sx:{width:"100%",px:1.5,py:.75},children:[(0,n.jsx)(p.default,{primary:"All Products",slotProps:{primary:{fontWeight:null===D?700:600}}}),(0,n.jsx)(j.default,{variant:"caption",color:"text.secondary","aria-label":"".concat(t.length," total products"),children:t.length})]})}),ex.length>1&&(0,n.jsxs)(d.A,{disableGutters:!0,elevation:0,expanded:ep.includes("filters"),onChange:em("filters"),sx:{"&::before":{display:"none"},px:1,mt:1},children:[(0,n.jsx)(u.A,{expandIcon:(0,n.jsx)(N.v,{name:"FiChevronDown",size:18}),sx:{minHeight:40,"& .MuiAccordionSummary-content":{my:.5},borderRadius:1,cursor:"pointer",transition:"background-color 0.15s ease-in-out","&:hover":{backgroundColor:"action.hover"}},children:(0,n.jsxs)(o.default,{sx:{display:"flex",alignItems:"center",gap:1,width:"100%"},children:[(0,n.jsx)(j.default,{variant:"subtitle2",fontWeight:700,children:"Filter by Type"}),(0,n.jsx)(o.default,{sx:{flexGrow:1}}),(0,n.jsx)(b.default,{size:"small",variant:"outlined",label:"".concat(ex.length," types"),"aria-label":"".concat(ex.length," product types available")})]})}),(0,n.jsx)(c.A,{sx:{pt:0},children:(0,n.jsx)(h.A,{dense:!0,disablePadding:!0,children:ex.map(e=>{var t,l;let r=null!=(t=eh.get(e))?t:0;return(0,n.jsxs)(x.A,{onClick:()=>{ew(e),$(!1)},sx:{px:1,py:.5},"aria-label":"".concat(e," (").concat(r," products)"),children:[(0,n.jsx)(f.default,{sx:{height:20,m:0,p:0,minWidth:32},children:(0,n.jsx)(m.A,{edge:"start",checked:H.includes(e),tabIndex:-1,disableRipple:!0})}),(0,n.jsx)(p.default,{primary:e}),(0,n.jsx)(j.default,{variant:"caption",color:"text.secondary",children:null!=(l=eh.get(e))?l:0})]},e)})})})]}),(0,n.jsx)(g.default,{sx:{my:1.5}}),eM("mobile-category-search",!0)]})}),(0,n.jsxs)(o.default,{sx:{p:2,borderTop:"1px solid",borderColor:"divider",display:"flex",gap:1},children:[(0,n.jsx)(C.default,{variant:"outlined",size:"small",fullWidth:!0,onClick:()=>{eC(null),Y([]),q(1),$(!1)},children:"Clear All"}),(0,n.jsx)(C.default,{variant:"contained",size:"small",fullWidth:!0,color:"primary",onClick:()=>$(!1),children:"Apply"})]})]})]})}},26879:(e,t,l)=>{Promise.resolve().then(l.bind(l,2688))},59775:(e,t,l)=>{"use strict";l.d(t,{o:()=>r});var n=l(12115);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,{setTimeoutFn:l=globalThis.setTimeout,clearTimeoutFn:r=globalThis.clearTimeout}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[i,a]=(0,n.useState)(e);return(0,n.useEffect)(()=>{let n=l(()=>a(e),t);return()=>r(n)},[e,t,l,r]),i}},94865:(e,t,l)=>{"use strict";l.d(t,{B2:()=>j,CU:()=>C,T2:()=>g,fp:()=>v,xe:()=>w});var n=l(95155),r=l(3074),i=l(41340),a=l(7812),s=l(73938),o=l(74676),d=l(78803),c=l(78153),u=l(16345),h=l(13133),x=l(2783),p=l(26905),f=l(24517),m=l(12938);let g="united-labs-custom",v="United Labs Custom Icons",y={BioBasedIconCircled:r.R,EnviroEarthIcon:i.X,EnviroEarthIconCircled:a.T,GallonIcon:s.d,HomeIcon:o.f,InfoBubbleIcon:d.o,PlusIcon:c.c,SeasonsIconCircled:u.u,WaterDropIconCircled:h.K,PeopleNetIcon:x.Q,CAPIcon:p.o,PeopleGearIcon:f.O,SDSNotebookIcon:m.H},j=Object.keys(y).sort(),b=Object.fromEntries(Object.entries(y).map(e=>{let[t,l]=e;return[t,function(e){let{size:t,color:r,title:i,style:a,...s}=e;return(0,n.jsx)(l,{...s,titleAccess:i,style:{...void 0!==t?{fontSize:t}:null,...r?{color:r}:null,...a}})}]})),C=e=>!!(e&&y[e]),w=e=>{var t;return e&&null!=(t=b[e])?t:null}},98274:(e,t,l)=>{"use strict";l.d(t,{v:()=>i});var n=l(12115),r=l(651);function i(e){let{name:t,...l}=e,i=(0,r.GL)(t);if(!i||"function"!=typeof i)return null;try{return(0,n.createElement)(i,l)}catch(e){return null}}}}]);

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.