1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7445],{11361:e=>{e.exports={input:"Search_input__M4VLi",geoxInput:"Search_geoxInput__bv_R0",icon:"Search_icon__Ktm6Y"}},37445:(e,t,s)=>{"use strict";s.r(t),s.d(t,{NotFoundCatalog:()=>T,Search:()=>Q});var a=s(26514),n=s(75834),l=s(59429),i=s(46225),r=s(55047),o=s(11361),c=s.n(o),u=s(80254),d=s(81586),h=s(41246),m=s(16074),p=s(51973),x=s(40020),g=s(60269),f=s(75406),b=s(39285),j=s(77412),v=s(82600),_=s(10511);let y=(0,l.PA)(({setIsOpen:e,v:t})=>{let{t:s}=(0,r.Bd)("common"),{search:l,settings:i}=(0,d.Pj)(),o=(0,n.useMemo)(()=>(0,v.Tj)({itemListId:j.SU.Autocomplete,itemListName:t,resultsCount:l.products?.length??0,stateKeySuffix:t}),[t,l.products?.length]);if(0===l.products.length&&0===l.categories.length)return null;let c=()=>{e(!1)};return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(h.m,{variant:"no-padding",maxW:"xl",className:"p-5 lg:p-10","aria-hidden":!0,children:(0,a.jsxs)("div",{className:"flex flex-col c-autocomplete lg:grid lg:grid-cols-[5fr_1fr] relative gap-y-8","data-testid":u.Q.AutocompleteDesktopDiv,children:[(0,a.jsxs)("aside",{className:"w-full lg:pr-12 xl:pr-16",children:[(0,a.jsxs)(m.h,{heading:2,variant:m.Z.Beta,className:(0,f.cn)({"flex gap-8 justify-between md:justify-start items-center":!0,"text-xl font-bold":!i.isOrsay(),...(0,b.H)({orsay:"!text-4xl lg:!text-5xl"})}),children:[(0,a.jsx)("span",{children:s("products")}),i.routes.search&&(0,a.jsx)(p.A,{type:"standardHtml",href:`${i.routes.search}?q=${t}`,onClick:c,className:"underline text-base font-semibold hover:no-underline","data-testid":u.Q.AutocompleteDesktopShowAllLink,children:(0,a.jsx)("span",{className:"text-base font-medium",children:s("show-all")})})]}),(0,a.jsx)(_.b,{value:o,children:(0,a.jsx)("div",{className:"mt-4 grid grid-cols-1 min-[365px]:grid-cols-2 md:grid-cols-3 xl:grid-cols-4 gap-y-8 gap-x-2 lg:gap-6",children:l.products?.slice(0,4).map((e,t)=>(0,a.jsx)(x.E,{item:e,index:t,onClick:c,"data-testid":u.Q.AutocompleteDesktopProductCardVertical},e.id))})}),(0,a.jsx)("div",{className:"flex justify-center",children:i.routes.search&&(0,a.jsx)(g.S,{as:p.A,href:`${i.routes.search}?q=${t}`,className:"max-w-xs w-full mx-auto mt-8",onClick:c,"data-testid":u.Q.AutocompleteDesktopShowAllButton,children:s("show-all")})})]}),(0,a.jsxs)("aside",{className:"lg:border-l lg:border-gray-500 lg:pl-12 min-w-48",children:[(0,a.jsx)(m.h,{className:(0,f.cn)({...(0,b.H)({orsay:"!text-4xl lg:!text-5xl"})}),variant:m.Z.Beta,heading:3,children:s("categories")}),(0,a.jsx)("ul",{"data-testid":u.Q.AutocompleteDesktopUl,children:l.categories?.map((e,t)=>(0,a.jsx)("li",{className:"my-4 text-base break-words",children:(0,a.jsx)(p.A,{href:e.url,className:(0,f.cn)({"hover:underline":!0,...(0,b.H)({orsay:"underline hover:no-underline"})}),onClick:c,children:(0,a.jsx)("span",{children:e.name})})},`cat-${t}`))})]})]})})})});var N=s(28590),w=s(52661),S=s(88316),k=s(26134),A=s(64593),C=s(86750),L=s(50924),E=s(5466),F=s(23469);let O=s.n(F)()(()=>s.e(3399).then(s.bind(s,63399)).then(e=>e.NoResultsList),{loadableGenerated:{webpack:()=>[63399]}}),T=(0,l.PA)(()=>{let{t:e}=(0,r.Bd)("common"),{searchPage:t}=(0,d.Pj)(),s=!1;return t.type===E.i.CSAG_SEARCH?s=t.getFilterQueryByUrlSearch().length>0:t.type===E.i.LUIGIS&&(s=t.filterQuery.length>0),s?(0,a.jsx)(O,{}):(0,a.jsx)(h.m,{maxW:"xl",className:"text-center my-12 lg:my-16",children:(0,a.jsx)(L.d,{gap:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.h,{className:"!mb-4",children:e("not-found__title")}),(0,a.jsx)("p",{className:"text-lg font-medium max-w-[327px] mx-auto md:max-w-full mb-14",children:e("not-found__help-message")}),(0,a.jsx)("div",{className:"mb-12",children:(0,a.jsx)(C.$,{src:"/images/pages/search/not-found.svg",className:"w-16 mx-auto",width:64,height:64,alt:e("not-found__title")})}),(0,a.jsx)("p",{className:"text-base mb-12",children:e("not-found__advice")}),(0,a.jsx)(g.S,{as:p.A,className:"w-[min(20.4375rem,_100%)]",href:"/","data-testid":u.Q.EmptyNotFoundGoShoppingLink,children:e("go-shopping")})]}),geox:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.h,{className:"!mb-4",children:e("not-found__title")}),(0,a.jsx)("p",{className:"text-base mb-12",children:e("not-found__help-message")}),(0,a.jsx)(g.S,{as:p.A,className:"w-[min(20.4375rem,_100%)]",href:"/","data-testid":u.Q.EmptyNotFoundGoShoppingLink,children:e("go-shopping")})]}),orsay:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.h,{className:"!my-[5px]",children:e("not-found__title")}),(0,a.jsx)("p",{className:"text-base mb-[50px]",children:e("not-found__help-message")}),(0,a.jsx)(g.S,{as:p.A,className:"w-[min(20.4375rem,_100%)]",href:"/","data-testid":u.Q.EmptyNotFoundGoShoppingLink,children:e("go-shopping")})]}),default:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.h,{children:e("not-found__title")}),(0,a.jsx)("div",{className:"my-8 lg:my-12",children:(0,a.jsx)(C.$,{src:"/images/pages/search/search-not.svg",className:"w-[120px] mx-auto",width:120,height:120,alt:e("not-found__title")})}),(0,a.jsx)("p",{className:"text-base mb-12",children:e("not-found__help-message")}),(0,a.jsx)(g.S,{as:p.A,className:"w-[min(20.4375rem,_100%)]",href:"/","data-testid":u.Q.EmptyNotFoundGoShoppingLink,children:e("go-shopping")})]})})})}),M=({handleClose:e,isOpen:t,initialFocus:s,children:n})=>(0,a.jsxs)(N.lG,{onClose:e,isOpen:t,className:"fixed inset-0 w-full z-4000","data-testid":u.Q.DialogOpenedMainImageDiv,children:[(0,a.jsx)(N.LC,{"data-component":"DialogOverlay",className:"bg-overlay",transitionEnter:"transition duration-500 ease-in-out",transitionEnterFrom:"opacity-0",transitionEnterTo:"opacity-100",transitionLeave:"transition duration-500 delay-100 ease-in-out",transitionLeaveFrom:"opacity-100",transitionLeaveTo:"opacity-0"}),(0,a.jsx)(N.EI,{className:"absolute inset-0",transitionEnter:"transition duration-300 ease-in-out",transitionEnterFrom:"-translate-y-full",transitionEnterTo:"translate-y-0",transitionLeave:"transition duration-300 ease-in-out",transitionLeaveFrom:"translate-y-0",transitionLeaveTo:"-translate-y-full",children:(0,a.jsx)("div",{className:"p-0 after:content-none h-full text-center after:inline-block after:align-middle after:h-full after:w-[1px] after:-mr-[1px] overflow-auto",children:(0,a.jsx)(N.Lj,{as:"div",initialFocus:s,className:"!w-full !p-0 !rounded-none text-left inline-block align-middle relative bg-white",children:(0,a.jsx)(N.wE,{className:"max-h-none",children:n})})})})]}),Q=(0,l.PA)(()=>{var e;
1let[t,s]=(0,n.useState)(""),{header:l,search:o,settings:h,ui:m}=(0,d.Pj)(),p=(0,i.useRouter)(),{t:x}=(0,r.Bd)(),g=(0,n.useRef)(null),j=(0,n.useRef)(null),[v,_]=(0,n.useState)(l.ui.acMobileOpen),{a11yLabel:N}=(0,A.l)(),C=(0,k.I)(g,{rootMargin:"0px",threshold:.1}),L=(e=x("search__placeholder__animation")||"")&&"string"==typeof e?e.split(";").map(e=>e.trim()).filter(e=>e.length>0):[],E=L.length>1&&!t,F=(({texts:e,typingSpeed:t=100,deletingSpeed:s=50,afterTypingPause:a=2e3,betweenTextsPause:l=200,loop:i=!0,isActive:r=!0})=>{let[o,c]=(0,n.useState)(""),[u,d]=(0,n.useState)(0),[h,m]=(0,n.useState)(!0),[p,x]=(0,n.useState)(!1),[g,f]=(0,n.useState)(!1),[b,j]=(0,n.useState)(!1),v=(0,n.useRef)(null),_=(0,n.useCallback)(()=>{v.current&&clearTimeout(v.current),c(""),d(0),m(!0),x(!1),f(!1),j(!1)},[]);return(0,n.useEffect)(()=>{if(0===e.length||!r)return;let n=e[u];return g?v.current=setTimeout(()=>{f(!1),x(!0)},a):b?v.current=setTimeout(()=>{j(!1),m(!0)},l):p?o.length>0?v.current=setTimeout(()=>{c(n.substring(0,o.length-1))},s):(x(!1),j(!0),d(i?(u+1)%e.length:Math.min(u+1,e.length-1))):h&&(o.length<n.length?v.current=setTimeout(()=>{c(n.substring(0,o.length+1))},t):(m(!1),f(!0))),()=>{v.current&&clearTimeout(v.current)}},[o,u,h,p,g,b,e,t,s,a,l,i,r]),{currentText:o,isTyping:h,reset:_}})({texts:L,typingSpeed:100,deletingSpeed:50,afterTypingPause:2e3,betweenTextsPause:500,loop:!0,isActive:C&&E}),O=x("seo-title__search"),T=!1,Q="";1===L.length?O=L[0]:L.length>1&&(T=E,Q=F.currentText);let H=(0,n.useCallback)(()=>{_(!1)},[]);return(0,n.useEffect)(()=>{v||(0,w.h5)(()=>{l.ui.acMobileOpen=!1})},[v,l.ui]),(0,n.useEffect)(()=>(0,w.h5)(()=>{_(l.ui.acMobileOpen)}),[l.ui.acMobileOpen]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("form",{className:(0,f.cn)({"block relative w-[225px] group":!0,...(0,b.H)({orsay:"min-w-[19.6875rem] min-h-[3.375rem] !border-none"})}),role:"search",action:h.routes.search||void 0,onSubmit:e=>{e.preventDefault(),p.push(`${h.routes.search}?q=${t}`)},"data-search-service":o.searchService,children:[(0,a.jsx)("input",{type:"search",ref:g,name:"search",...N("search-field__input__label"),className:(0,f.cn)({[c().input]:!0,"appearance-none transition-colors bg-inherit placeholder:text-sm w-full":!0,"focus-visible:outline focus-visible:outline-1 focus-visible:outline-current focus-visible:outline-offset-2 text-input":!0,...(0,b.H)({base:"border-b !pr-8",orsay:"!pr-[--11] !pl-4 !border-none h-[--15]",geox:c().geoxInput})}),value:t,placeholder:T?Q:O,onChange:e=>{s(e.target.value),e.target.value.length>2?(l.ui.setAcOpen(!0),o.debouncedAutocomplete(e.target.value),l.ui.setAcMobileOpen(!0)):(l.ui.setAcOpen(!1),l.ui.setAcMobileOpen(!1))}}),(0,a.jsx)(S.J,{type:"submit",className:(0,f.cn)({"block absolute text-inherit focus-visible:outline-current focus-visible:outline-offset-1":!0,...(0,b.H)({base:"bottom-2 right-2",geox:"left-2 bottom-3",orsay:"right-4 top-1/2 -translate-y-1/2 !w-[--6]"})}),"data-testid":u.Q.SearchLinkXl,icon:"/images/icons/search.svg",iconClassName:(0,f.cn)({"z-10 !w-4 !h-4 lg:pointer-events-none transition-colors":!0,...(0,b.H)({orsay:"!w-full !h-full"}),[c().icon]:!0}),...N("search-field__submit__label")})]}),(0,a.jsx)(M,{handleClose:H,isOpen:v,initialFocus:j,children:(0,a.jsxs)("div",{className:"relative",style:{marginTop:m.headerHeight},"data-search-service":o.searchService,children:[(0,a.jsxs)("form",{className:"block xl:hidden",role:"search",action:h.routes.search||void 0,onSubmit:e=>{e.preventDefault(),l.ui.setAcMobileOpen(!1),h.routes.search&&p.push(`${h.routes.search}?q=${t}`)},"data-search-service":o.searchService,children:[(0,a.jsx)("input",{type:"search",enterKeyHint:"search",name:"search",ref:j,...N("search-field__input__label"),autoFocus:!0,className:(0,f.cn)({"rounded-none bg-white appearance-none pl-6 pr-14 h-14 w-full text-black placeholder:text-neutral-700 border-b text-input":!0}),value:t,placeholder:1===L.length?L[0]:x("seo-title__search"),onChange:e=>{s(e.target.value),e.target.value.length>2&&(l.ui.setAcOpen(!0),o.debouncedAutocomplete(e.target.value))}}),(0,a.jsx)(S.J,{className:"absolute top-1 right-1 [--custom-icon-button--icon-size:1rem] [--custom-icon-button--size:3rem]",type:"submit","data-testid":u.Q.SearchLink,...
1N("search-field__submit__label"),icon:"/images/icons/search.svg",iconClassName:(0,f.cn)({"text-neutral-700":!0,...(0,b.H)({base:"w-4 h-4",orsay:"!w-[--6] !h-[--6]"})})})]}),(0,a.jsx)(y,{isOpen:l.ui.acMobileOpen,setIsOpen:l.ui.setAcMobileOpen,v:t})]})})]})})},50924:(e,t,s)=>{"use strict";s.d(t,{d:()=>n});var a=s(81586);let n=({default:e,orsay:t,ua:s,gap:n,geox:l,celio:i})=>{let{settings:r}=(0,a.Pj)(),o={orsay:t,ua:s,gap:n,geox:l,celio:i,default:e}[r.projectName];return o||e}}}]);
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.