PageSourceSearch

https://www.gap.at/_next/static/chunks/1056.55a3234de3ba2494.js

js gap.at collected 2026-10-06 13:18:55 UTC 12,680 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[804,1056],{26723:(e,s,t)=>{t.d(s,{y:()=>u});var a=t(26514),i=t(41246),r=t(51973),l=t(53636),n=t(29086),o=t(40804),d=t(80254),c=t(75406),h=t(70248),m=t(81586),p=t(52661);let u=(0,t(59429).PA)(()=>{let{header:e,dataLayer:s}=(0,m.Pj)(),t=(0,h.j)();if(!e.ui.activeDesktopItem)return null;let u=e.ui.activeDesktopItem.title;return(0,a.jsx)(i.m,{variant:"default",maxW:"xl",children:(0,a.jsx)("div",{className:"flex justify-center overflow-hidden",children:(0,a.jsx)("div",{className:"py-8 w-full",children:(0,a.jsxs)("div",{className:"grid grid-cols-2","data-testid":d.Q.NavigationDesktopNavBar,"data-submenu":!0,children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"text-base font-semibold my-8 lowercase","data-testid":d.Q.NavigationDesktopNavBarTitle,children:(0,a.jsx)(r.A,{href:e.ui.activeDesktopItem.url,prefetch:!1,className:(0,c.cn)({"font-bold hover:underline":!0,"focus-visible":t,"outline-none":!t}),onClick:()=>{(0,p.h5)(()=>{s.navigationMenuItemOnClick(`${u}`),(0,n.g)("mouseleave")})},children:u})}),(0,a.jsx)("ul",{className:"grid grid-rows-6 grid-flow-col gap-x-16 w-fit","data-testid":d.Q.NavigationDesktopNavBarUl,children:e.ui.activeDesktopItem.data?.map(e=>(0,a.jsx)("li",{className:"lowercase text-sm my-2",children:(0,a.jsx)(r.A,{href:e.url,prefetch:!1,className:(0,c.cn)({"hover:underline underline-offset-2 decoration-2":!0,"focus-visible":t,"outline-none":!t}),onClick:()=>{(0,p.h5)(()=>{s.navigationMenuItemOnClick(`${u} / ${e.title}`),(0,n.g)("mouseleave")})},children:e.title})},e.categoryEcomId))})]}),(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)(o.MenuBanner,{categoryId:e.ui.activeDesktopItem.categoryEcomId,type:"menuBanner1",variant:"desktop",onBannerClick:()=>(0,n.g)("mouseleave")}),(0,a.jsx)(o.MenuBanner,{categoryId:e.ui.activeDesktopItem.categoryEcomId,type:"menuBanner2",variant:"desktop",onBannerClick:()=>(0,n.g)("mouseleave")}),(0,a.jsx)(l.a,{className:"bottom-9 right-8"})]})]})})})})})},40804:(e,s,t)=>{t.r(s),t.d(s,{MenuBanner:()=>d});var a=t(26514),i=t(51973),r=t(86750),l=t(75406),n=t(70248),o=t(81586);let d=({categoryId:e,type:s,variant:t,mainSetIsOpen:d,onBannerClick:c,className:h})=>{let m=(0,n.j)(),{header:p}=(0,o.Pj)(),u=p.getMenuBannerByCategoryIdAndType(e,s);if(!u)return null;let x="desktop"===t?u.media?.desktop:u.media?.tablet;return x?(0,a.jsxs)(i.A,{href:u.link?u.link:"#",prefetch:!1,className:(0,l.cn)({"xl:ml-[10px] pb-12 px-4":"desktop"===t,"relative my-5":"mobile"===t,"focus-visible":m,"outline-none":!m,[`${h}`]:h}),onClick:()=>{d&&d(!1),c&&c()},children:[(0,a.jsx)("div",{children:(0,a.jsx)(r.$,{width:x.width||("desktop"===t?256:163),height:x.height||("desktop"===t?256:221),src:x.path,alt:u.title,sizes:{lg:"50vw",default:"260px"}})}),"desktop"===t?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h2",{className:"mt-4 mb-2 lowercase text-center text-base",children:u.title}),u.text&&(0,a.jsx)("span",{className:"mt-2 text-sm underline",dangerouslySetInnerHTML:{__html:u.text}})]}):u.title&&(0,a.jsx)("span",{className:"absolute uppercase bottom-[10px] left-[10px] text-white",children:u.title})]}):null}},91056:(e,s,t)=>{t.r(s),t.d(s,{HeaderDefault:()=>z});var a=t(26514),i=t(46225),r=t(23469),l=t.n(r),n=t(55047),o=t(59429),d=t(80254),c=t(31950),h=t(51973),m=t(14366),p=t(81586),u=t(94560),x=t(75406),v=t(65030),j=t.n(v);let g=(0,o.PA)(({...e})=>{let{header:s,user:t}=(0,p.Pj)(),i=s.headerBanners.find(e=>"aboveHeader"===e.type),r=i?.banners[0];return r&&("registered"!==i.displayForClient||t.isLoggedIn)?"unregistered"===i.displayForClient&&t.isLoggedIn?(0,a.jsx)("div",{}):(0,a.jsx)("div",{className:(0,x.cn)({[j().aboveHeaderBg]:!0,"flex items-center justify-center text-black mx-auto py-2 h-[42px]":!0}),...e,children:(0,a.jsx)("div",{className:"text-center leading-2 text-xs md:text-sm text-white",dangerouslySetInnerHTML:{__html:r.text}})}):(0,a.jsx)("div",{})});var f=t(88304);let N=()=>{let{t:e}=(0,n.Bd)("common"),{settings:s}=(0,p.Pj)();return(0,a.jsxs)("ul",{className:"flex items-center",children:[s.routes.userLogin&&(0,a.jsx)("li",{className:"pr-2",children:(0,a.jsxs)(h.A,{href:s.routes.userLogin,className:"hover:underline flex items-end","data-testid":d.Q.TopBarSignInLink,children:[(0,a.jsx)("div",{className:"inline-block pr-2",children:(0,a.jsx)(m.I,{icon:"/images/icons/profile.svg",className:"md:w-4 lg:h-4"})}),e("sign-in")]})}),s.routes.userRegistration&&(0,a.jsx)("li",{className:"hover:underline border-l border-white pl-2",children:(0,a.jsx)(h.A,{href:s.routes.userRegistration,className:"hover:underline","data-testid":d.Q.TopBarSignUpLink,children:e("sign-up")})}),s.routes.lpFirstLoginPage&&(0,a.jsx)("li",{className:"hover:underline border-l border-white pl-2 ml-2",children:(0,a.jsx)(h.A,{href:s.routes.lpFirstLoginPage,className:"hover:underline","data-testid":d.Q.TopBarActivationLink,children:e("activation")})})]})},b=()=>{let{t:e}=(0,n.Bd)("common"),s=(0,i.useRouter)(),{settings:t}=(0,p.Pj)();return(0,a.jsxs)("ul",{className:"flex items-center",children:[(0,a.jsx)("li",{className:"pr-2",children:(0,a.jsx)("div",{className:"flex gay-x-2 items-center",onClick:()=>{(0,u.Kd)().then(()=>s.reload())}})}),t.routes.userOverview&&(0,a.jsx)("li",{className:"pr-2",children:(0,a.jsx)(h.A,{href:t.routes.userOverview,className:"hover:underline pb-3","data-testid":d.Q.TopBarMyAccountLink,children:(0,a.jsxs)("div",{className:"flex gay-x-2 items-center hover:underline",children:[(0,a.jsx)("span",{className:"ml-4",children:e("my-account")}
1),(0,a.jsx)(m.I,{icon:"/images/icons/chevron-up.svg",className:"w-3 h-3 fill-white rotate-180 ml-1 rotate-180deg"})]})})})]})},k=(0,o.PA)(()=>{let{user:e}=(0,p.Pj)();return(0,a.jsx)(c.e,{isOpen:!0,children:e.fetched&&e.user?(0,a.jsx)(b,{}):(0,a.jsx)(N,{})})}),w=(0,o.PA)(()=>{let{t:e}=(0,n.Bd)("common"),{settings:s}=(0,p.Pj)();return(0,a.jsxs)("div",{className:"text-white text-xs xl:text-sm lg:flex xl:grid xl:grid-cols-3","data-testid":d.Q.TopBarHeaderDiv,children:[(0,a.jsx)("div",{className:"hidden lg:flex",children:(0,a.jsxs)("ul",{className:"flex items-center leading-tight",children:[s.routes.storeList&&(0,a.jsx)("li",{className:"pb-3 pt-3 pr-6",children:(0,a.jsx)(h.A,{href:s.routes.storeList,className:"hover:underline pb-3 whitespace-nowrap","data-testid":d.Q.TopBarStoreListLink,children:e("retail-stores")})}),s.routes.shippingAndPaymentPage&&(0,a.jsx)("li",{className:"pb-3 pt-3 pr-6",children:(0,a.jsx)(h.A,{href:s.routes.shippingAndPaymentPage,className:"hover:underline pb-3 whitespace-nowrap","data-testid":d.Q.TopBarShippingAndPaymentPageLink,children:e("shipping-and-payment")})}),s.routes.contactView&&(0,a.jsx)("li",{className:"pb-3 pt-3 pr-6",children:(0,a.jsx)(h.A,{href:s.routes.contactView,className:"hover:underline pb-3 whitespace-nowrap","data-testid":d.Q.TopBarContactLink,children:e("contact")})}),s.routes.lpLoyaltyProgramPage&&(0,a.jsx)("li",{className:"pb-3 pt-3 pr-6",children:(0,a.jsx)(h.A,{href:s.routes.lpLoyaltyProgramPage,className:"hover:underline pb-3 whitespace-nowrap","data-testid":d.Q.TopBarLpLoyaltyProgramPageLink,children:e("lp__loyalty-program")})}),s.routes.lpGiftCardsPage&&(0,a.jsx)("li",{className:"pb-3 pt-3 pr-6",children:(0,a.jsx)(h.A,{href:s.routes.lpGiftCardsPage,className:"hover:underline pb-3 whitespace-nowrap","data-testid":d.Q.TopBarLpGiftCardsPageLink,children:e("lp__gift-cards")})}),s.routes.goodsReturnPage&&"true"===f.env.NEXT_PUBLIC_SHOW_RETURN_PAGE_IN_TOP_BAR&&(0,a.jsx)("li",{className:"pr-8 pb-3 pt-3",children:(0,a.jsx)(h.A,{href:s.routes.goodsReturnPage,className:"hover:underline pb-3","data-testid":d.Q.TopBarGoodsReturnPageLink,children:e("return-page")})}),s.routes.faqPage&&(0,a.jsx)("li",{className:"pb-3 pt-3 pr-6",children:(0,a.jsx)(h.A,{href:s.routes.faqPage,className:"hover:underline pb-3 whitespace-nowrap","data-testid":d.Q.TopBarFaqPageLink,children:e("help")})})]})}),(0,a.jsx)(g,{"data-testid":d.Q.TopBarAboveHeaderBannerDiv}),(0,a.jsx)("div",{className:"hidden lg:flex items-center justify-end ml-auto",children:(0,a.jsx)(k,{})})]})});var y=t(29086),P=t(26723),B=t(28590);let L=(0,o.PA)(()=>{let{header:e,ui:s}=(0,p.Pj)(),t=!!e.ui.activeDesktopItem&&!!e.ui.activeDesktopItem.data&&0!==e.ui.activeDesktopItem.data.length;return s.isDesktop?(0,a.jsxs)(B.lG,{onMouseEnter:()=>{(0,y.g)("mouseenter")},className:"z-4000 fixed w-full h-screen top-0 left-0",isOpen:t,children:[(0,a.jsx)(B.LC,{className:"fixed inset-0 bg-overlay",transitionEnter:"ease-out duration-300",transitionEnterFrom:"opacity-0",transitionEnterTo:"opacity-100",transitionLeave:"ease-in duration-200",transitionLeaveFrom:"opacity-100",transitionLeaveTo:"opacity-0"}),(0,a.jsx)(B.Lj,{transitionEnter:"ease-out duration-300",transitionEnterFrom:"opacity-0 -translate-y-full",transitionEnterTo:"opacity-100 translate-y-0",transitionLeave:"ease-in duration-200",transitionLeaveFrom:"opacity-100 translate-y-0",transitionLeaveTo:"opacity-0 -translate-y-full",as:"div",className:"fixed bg-white w-full z-100 left-0 shadow-md",style:{to
1p:s.headerHeight},onMouseLeave:()=>{(0,y.g)("mouseleave")},children:(0,a.jsx)(B.wE,{children:(0,a.jsx)(P.y,{})})})]}):null});var A=t(77185);let I=(0,o.PA)(({item:e,index:s})=>{let{header:t,dataLayer:i}=(0,p.Pj)();return(0,a.jsx)(h.A,{href:e.url,prefetch:!1,onClick:()=>{i.navigationMenuItemOnClick(`${e.title}`),(0,y.g)("mouseleave")},className:"inline-block p-4",children:(0,a.jsxs)("div",{className:"relative tracking-wider text-black",children:[(0,a.jsx)("div",{className:(0,x.cn)({"absolute w-0 group-hover:w-full h-0.5 group-hover:font-bold font-bold bg-black transition-[width] duration-300 left-0 bottom-px":!0,"!w-full":t.ui.navActiveIndex===s})}),e.title,(0,a.jsx)(A.v,{className:"w-[12px] h-full -right-3",index:s})]})})}),_=()=>{let{header:e}=(0,p.Pj)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("nav",{className:"flex flex-wrap content-start overflow-hidden h-full [&>*]:h-full [&>*]:flex [&>*]:items-center","data-testid":d.Q.HeaderDesktopNav,children:e.menuItems.map((e,s)=>{let t=e.data.length>0;return(0,a.jsx)("div",{className:"group whitespace-nowrap text-base relative cursor-pointer",onMouseEnter:t?()=>{(0,y.g)("mouseenter",300,s)}:void 0,onMouseLeave:t?()=>{(0,y.g)("mouseleave",300)}:void 0,onClick:t?()=>{(0,y.g)("mouseleave")}:void 0,children:(0,a.jsx)(I,{item:e,index:s})},`menuItem-${e.categoryEcomId}-${s}`)})}),(0,a.jsx)(L,{})]})};
1var C=t(52661),T=t(40286),M=t(3887),D=t(53144),E=t(88316),Q=t(75834);let O=l()(()=>Promise.all([t.e(8980),t.e(7445)]).then(t.bind(t,37445)).then(e=>e.Search),{loadableGenerated:{webpack:()=>[37445]},ssr:!1}),F=(0,o.PA)(()=>{let{header:e}=(0,p.Pj)(),{t:s}=(0,n.Bd)(),t=(0,Q.useMemo)(()=>e.ui.acMobileOpen?s("search-field__submit__label-close"):s("search-field__submit__label"),[e.ui.acMobileOpen,s]);return(0,a.jsxs)("div",{className:"lowercase h-14 lg:h-18 text-lg text-center flex justify-between",children:[(0,a.jsxs)("div",{className:"flex gap-12 min-w-0",children:[(0,a.jsx)("div",{className:"flex items-center shrink-0",children:(0,a.jsx)(T.v,{})}),(0,a.jsx)("div",{className:"min-w-0",children:(0,a.jsx)(_,{})})]}),(0,a.jsx)("div",{className:"flex items-center justify-end shrink-0",children:(0,a.jsxs)("ul",{className:"flex items-center",children:[(0,a.jsx)("li",{className:"px-3 hidden xl:block",children:(0,a.jsx)(O,{})}),(0,a.jsx)("li",{className:"px-3 block xl:hidden",children:(0,a.jsx)(E.J,{onClick:s=>{s.stopPropagation(),(0,C.h5)(()=>{e.ui.setAcMobileOpen(!e.ui.acMobileOpen)})},icon:`/images/icons/${e.ui.acMobileOpen?"search-cross":"search"}.svg`,iconClassName:"text-black",iconSize:"1rem",type:"button",title:t,"aria-label":t})}),(0,a.jsx)("li",{className:"px-3",children:(0,a.jsx)(D.y,{})}),(0,a.jsx)("li",{className:"px-3",children:(0,a.jsx)(M.z,{})})]})})]})});var H=t(11927),R=t(41246),G=t(35617);let S=l()(()=>Promise.all([t.e(2728),t.e(3227)]).then(t.bind(t,63227)).then(e=>e.CoreBarMobile),{loadableGenerated:{webpack:()=>[63227]}}),$=l()(()=>t.e(6155).then(t.bind(t,16155)).then(e=>e.BelowHeaderBanner),{loadableGenerated:{webpack:()=>[16155]}}),z=()=>{let e=(0,i.useRouter)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(H.u,{}),(0,a.jsxs)("div",{className:"relative z-50",children:[(0,a.jsxs)("div",{className:j().topBarBg,children:[(0,a.jsx)(R.m,{variant:"no-padding",className:"px-6",children:(0,a.jsx)(w,{})}),(0,a.jsx)($,{"data-testid":d.Q.LayoutPageBelowHeaderBannerDiv})]}),(0,a.jsx)("div",{className:"bg-white hidden lg:block",children:(0,a.jsx)(R.m,{variant:"no-padding",className:"px-6",children:(0,a.jsx)(F,{})})}),(0,a.jsx)(S,{}),(0,a.jsx)("div",{className:"border-b border-gray-400"})]}),"/product-detail/[id]"===e.pathname?(0,a.jsx)(G.Y,{}):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.