1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2326],{42326:(e,t,s)=>{"use strict";s.r(t),s.d(t,{SearchFiltersCsag:()=>g});var l=s(26514),a=s(59429),i=s(55047),r=s(81586),n=s(76691),o=s(69193),c=s(60789),d=s(87191),u=s(60744),h=s(2049),m=s(1472);let g=(0,a.PA)(()=>{let{searchPage:e,settings:t,productList:s}=(0,r.Pj)(),{t:a}=(0,i.Bd)("common"),g=e.csag,p=t=>{e.createSnapshot(),t(),e.onFieldChange().catch(console.error)};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"px-4 lg:px-0",children:(0,l.jsx)(d.q,{onOpenFilters:()=>e.open(),selectedFiltersCount:e.selectedFiltersCount,quickFilterSource:"csag",csagFilterGroups:g.filterGroups,pageCount:s.pagination?.pageCount,productCount:s.pagination?.totalItems})}),(0,l.jsxs)(n.j,{isOpen:e.isOpen,onClose:()=>e.close(),mobileTitle:a("filter-list__title__mobile"),desktopTitle:a("filter-list__title__desktop"),closeLabel:a("filter-list__close__aria-label"),children:[(0,l.jsx)("div",{className:"divide-y divide-gray-400 pb-8 lg:pb-0",children:g.filterGroups.map((e,s)=>((e,t,s,a,i)=>{let{hasActiveItems:r,items:n}=(0,h.uk)(e),c=(0,u.S9)(e.key,t,r,n,a);return(0,l.jsx)(o.I,{title:e.name,"data-testid":(0,m.Dj)(e.key),...c,children:(0,h.Vv)(e,s,i)},`${e.sKey}-${t}`)})(e,s,p,a,t.defaultCurrency))}),(0,l.jsx)(c._,{totalProductCount:e.hitsCount,isDirty:e.isDirty,hasSelectedFilters:e.selectedFiltersCount>0,isLoading:e.isLoading,onConfirm:()=>e.confirmChanges(),onCancel:()=>e.cancelChanges(),onClearAll:()=>e.removeAllFilters(),confirmLabel:a("filter-list__confirm"),cancelLabel:a("filter-list__cancel"),clearAllLabel:a("filter-list__clear-all")})]})]})})},60789:(e,t,s)=>{"use strict";s.d(t,{_:()=>r});var l=s(26514),a=s(60269),i=s(80254);let r=({totalProductCount:e,isDirty:t,hasSelectedFilters:s,isLoading:r,onConfirm:n,onCancel:o,onClearAll:c,confirmLabel:d,cancelLabel:u,clearAllLabel:h})=>(0,l.jsxs)("div",{className:"sticky bottom-0 z-10 bg-white border-b border-gray-400 px-4 pt-4 pb-2.5 shadow-[0_-4px_4px_0_rgba(0,0,0,0.15)]","data-testid":i.Q.FilterActionsDiv,children:[(0,l.jsxs)("div",{className:"flex gap-4 lg:gap-5",children:[(0,l.jsx)(a.S,{type:"button",variant:"inverted",className:"grow overflow-hidden",onClick:o,"data-testid":i.Q.FilterActionsCancelButton,children:(0,l.jsx)("span",{className:"block w-full truncate",children:u})}),(0,l.jsx)(a.S,{type:"button",variant:"primary",className:"grow-[2] overflow-hidden",disabled:!t||r,onClick:n,"data-testid":i.Q.FilterActionsConfirmButton,children:(0,l.jsxs)("span",{className:"block w-full truncate",children:[d," (",e,")"]})})]}),s&&(0,l.jsx)("div",{className:"flex justify-center mt-2.5",children:(0,l.jsx)(a.S,{type:"button",variant:"none",className:"underline hover:no-underline !p-0 !h-auto !min-h-4 !text-sm",onClick:c,"data-testid":i.Q.FilterActionsClearAllButton,children:h})})]})},68606:(e,t,s)=>{"use strict";s.d(t,{$Z:()=>u,EN:()=>d,Ql:()=>h});var l=s(26514),a=s(75406),i=s(58245),r=s.n(i),n=s(55047),o=s(70895),c=s.n(o);function d({children:e,isOpen:t=!1,className:s,...i}){return(0,l.jsx)("details",{className:(0,a.cn)({[`${s}`]:s}),open:t,...i,children:e})}function u({children:e,className:t,arrowIcon:s,noMarkerTransform:i=!1,hideArrow:o=!1,...d}){let{t:h}=(0,n.Bd)();return(0,l.jsxs)("summary",{className:(0,a.cn)({"flex items-center justify-between gap-2 cursor-pointer select-none":!0,[`${t}`]:t,[c().safariArrows]:!0}),...d,children:[e,!o&&!s&&(0,l.jsx)("span",{className:(0,a.cn)({[c().arrow]:!0,[c().arrowIconRotate]:!i})}),!o&&s&&(0,l.jsx)(r(),{"data-details-marker":!0,src:s,className:(0,a.cn)({"w-6 h-6":!0,[c().arrowIconRotate]:!i}),width:24,height:24,alt:h("disclosure-header__toggle-chevron-icon__alt")})]})}function h({children:e,...t}){return(0,l.jsx)("div",{...t,children:e})}},69193:(e,t,s)=>{"use strict";s.d(t,{I:()=>o});var l=s(26514),a=s(75834),i=s(68606),r=s(80254),n=s(75406);let o=({title:e,isDefaultOpen:t=!0,isDefaultExpanded:s=!1,maxVisible:o,showMoreLabel:c,showLessLabel:d,containerClassName:u,wrapperClassName:h,children:m,...g})=>{let[p,x]=(0,a.useState)(t),[f,b]=(0,a.useState)(t),[v,y]=(0,a.useState)(!t||s),j=a.Children.toArray(m),_=void 0!==o&&j.length>o,w=_&&!v?j.slice(0,o):j;return(0,l.jsxs)(i.EN,{isOpen:p,className:"group p-6",...g,children:[(0,l.jsx)(i.$Z,{onClick:e=>{e.preventDefault();let t=!p;x(t),t&&b(!0)},className:"text-base !m-0 font-medium pb-0 group-open:pb-4","data-testid":r.Q.FilterGroupDisclosureHeader,children:e}),f&&(0,l.jsxs)(i.Ql,{className:(0,n.cn)({[`${h}`]:h}),children:[(0,l.jsx)("div",{className:(0,n.cn)({[`${u}`]:u}),children:w}),_&&(0,l.jsx)("button",{type:"button",className:"underline text-base mt-2",onClick:()=>y(!v),"data-testid":v?r.Q.FilterGroupShowLessButton:r.Q.FilterGroupShowMoreButton,children:v?d:c})]})]})}},70895:e=>{e.exports={arrowIconRotate:"Disclosure_arrowIconRotate__GhGX9",arrow:"Disclosure_arrow__nnyAH",safariArrows:"Disclosure_safariArrows__ChxPP"}},76691:(e,t,s)=>{"use strict";s.d(t,{j:()=>n});var l=s(26514),a=s(28590),i=s(88316),r=s(80254);let n=({isOpen:e,onClose:t,mobileTitle:s,desktopTitle:n,closeLabel:o,children:c})=>(0,l.jsxs)(a.lG,{isOpen:e,onClose:t,className:"z-6000 fixed inset-0 flex items-end lg:items-start",children:[(0,l.jsx)(a.LC,{className:"bg-overlay",transitionEnter:"ease-out duration-500",transitionEnterFrom:"opacity-0",transitionEnterTo:"opacity-100",transitionLeave:"ease-in duration-500",transitionLeaveFrom:"opacity-100",transitionLeaveTo:"opacity-0"}),(0,l.jsx)(a.Lj,{as:"div",className:"bg-white rounded-t-[10px] overflow-hidden relative z-6000 w-full h-[85svh] lg:rounded-none lg:overflow-visible lg:border lg:border-gray-400 lg:divide-y lg:divide-gray-400 lg:w-[25rem] lg:max-w-full lg:h-full lg:max-h-[100svh]",transitionEnter:"transition ease-in-out duration-500",transitionEnterFrom:"opacity-0 translate-y-full lg:translate-y-0 lg:-translate-x-full",transitionEnterTo:"opacity-100 translate-y-0 lg:translate-x-0",transitionLeave:"transition ease-in-out duration-500",transitionLeaveFrom:"opacity-100 translate-y-0 lg:translate-x-0",transitionLeaveTo:"opacity-0 translate-y-full lg:translate-y-0 lg:-translate-x-full",children:(0,l.jsxs)(a.wE,{className:"max-h-[85dvh] h-full overflow-y-auto lg:!max-h-[100svh]",children:[(0,l.jsxs)("div",{className:"sticky top-0 bg-white z-20 lg:flex lg:items-center lg:justify-between lg:px-5 lg:py-4 lg:border-b lg:border-gray-400",children:[(0,l.jsx)("button",{type:"button",className:"flex justify-center w-full py-5 focu
1s:outline-none focus-visible:outline-2 lg:hidden",onClick:t,"aria-label":o,children:(0,l.jsx)("div",{className:"w-18 h-1 bg-gray-700 rounded-full"})}),s&&(0,l.jsxs)("div",{className:"flex items-center justify-between px-5 pb-4 lg:hidden",children:[(0,l.jsx)("h2",{className:"text-3xl font-medium",children:s}),(0,l.jsx)(i.J,{type:"button",icon:"/images/icons/cross-filter.svg",size:"base",onClick:t,"aria-label":o,"data-testid":r.Q.FilterMobileDialogCloseButton})]}),n&&(0,l.jsx)("h2",{className:"hidden lg:block text-xl font-medium",children:n}),(0,l.jsx)("div",{className:"hidden lg:block",children:(0,l.jsx)(i.J,{type:"button",icon:"/images/icons/cross-filter.svg",size:"base",onClick:t,"aria-label":o,"data-testid":r.Q.FilterDesktopDialogCloseButton})})]}),c]})})]})}}]);
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.