PageSourceSearch

https://www.gap.at/_next/static/chunks/1465.b03a2a6113bbbf0b.js

js gap.at collected 2026-10-06 13:18:56 UTC 7,235 bytes, 1 lines download raw bytes

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