PageSourceSearch

https://www.gap.at/_next/static/chunks/pages/checkout/empty-cart-c7bc67f8350df7bb.js

js gap.at collected 2026-10-06 13:18:03 UTC 6,692 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7829],{16074:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u,h:()=>i});var s,r=a(26514),l=a(75406),c=a(26843),n=a.n(c),u=((s={}).Alpha="alpha",s.Beta="beta",s.Gamma="gamma",s.None="none",s);let i=({heading:e=1,variant:t="alpha",weight:a,children:s,className:c,...u})=>{let i=e?`h${e}`:"div";return(0,r.jsx)(i,{className:(0,l.cn)({[n()[t]]:n()[t],[`!font-${a}`]:a,[`${c}`]:c}),...u,children:s})}},21369:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSG:()=>j,default:()=>y});var s=a(26514),r=a(55047);a(54532);var l=a(75834),c=a(59429),n=a(46225),u=a(51973),i=a(14366),o=a(86750),d=a(50924),m=a(16074),h=a(81586),p=a(75406),_=a(60269),f=a(80254);let x=(0,c.PA)(()=>{let{t:e}=(0,r.Bd)("common"),{cart:t,settings:a}=(0,h.Pj)(),c=(0,n.useRouter)();return(0,l.useEffect)(()=>{!t.isLoading&&t.orderItems?.length>0&&a.routes.cartProducts&&c.push(`${a.routes.cartProducts}`)},[t,t.isLoading]),(0,s.jsxs)("section",{className:"py-16 lg:py-32 text-center",children:[(0,s.jsx)(d.d,{orsay:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.h,{className:"!mb-[5px]",children:e("checkout__empty-cart__title")}),(0,s.jsx)("p",{className:"mb-[50px]",children:e("checkout__empty-cart__text")})]}),geox:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.h,{className:"!mt-0 !mb-4",children:e("checkout__empty-cart__title")}),(0,s.jsx)("p",{className:"mb-12 mt-4 text-base text-sm text-gray-700 [&>a]:underline [&>a:hover]:no-underline",dangerouslySetInnerHTML:{__html:e("checkout__empty-cart__text")}})]}),gap:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.h,{className:"!mx-auto !my-0 max-w-xs md:max-w-full pb-12",children:e("checkout__empty-cart__title")}),(0,s.jsx)("div",{className:"w-24 h-16 mx-auto pb-12",children:(0,s.jsx)(o.$,{alt:e("checkout__empty-cart__title"),src:"/images/pages/checkout/empty-cart.svg",width:86,height:64})}),(0,s.jsx)("p",{className:"my-12 text-base mx-auto max-w-xs md:max-w-full",children:e("checkout__empty-cart__text")})]}),default:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.h,{children:e("checkout__empty-cart__title")}),(0,s.jsx)(i.I,{icon:"/images/icons/shopping-bag.svg",className:"w-32 my-12 mx-auto fill-neutral-500"}),(0,s.jsx)("p",{className:"my-12 text-base",children:e("checkout__empty-cart__text")})]})}),(0,s.jsx)(_.S,{href:"/",className:(0,p.cn)({"w-[270px] h-11":a.isUa(),"w-[327px]":!a.isUa(),"h-[50px]":a.isGap()||a.isOrsay()}),as:u.A,"data-testid":f.Q.EmptyNotFoundGoShoppingLink,children:e("go-shopping")})]})});var j=!0;let y=x},26843:e=>{e.exports={alpha:"Title_alpha__RS3in",beta:"Title_beta__DjMos",gamma:"Title_gamma__KEwR8"}},28860:(e,t,a)=>{"use strict";a(17260),a(96968)},29305:(e,t,a)=>{"use strict";var s=a(88304);s.env.DEFAULT_LOCALE&&s.env.DEFAULT_LOCALE},50924:(e,t,a)=>{"use strict";a.d(t,{d:()=>r});var s=a(81586);let r=({default:e,orsay:t,ua:a,gap:r,geox:l,celio:c})=>{let{settings:n}=(0,s.Pj)(),u={orsay:t,ua:a,gap:r,geox:l,celio:c,default:e}[n.projectName];return u||e}},51973:(e,t,a)=>{"use strict";a.d(t,{A:()=>_});var s=a(26514),r=a(81586),l=a(52661),c=a(96456),n=a.n(c),u=a(46225),i=a(75834),o=a(71557);let d="prefetched",m="timeout",h="clicked",p=(e,t)=>{switch(t.type){case d:return{...e,prefetched:t.value};case m:return{...e,timeout:t.value};case h:return{...e,clicked:t.value}}},_=({testId:e,href:t,type:a="customLink",children:c,className:_="",prefetch:f=!0,onMouseEnter:x,onClick:j,target:y="_self",shallow:g=!1,as:v,preventRouterNavigation:k=!1,scroll:N=!0,replace:b=!1,...w})=>{let{ui:L}=(0,r.Pj)(),E=(0,u.useRouter)(),[P,T]=(0,i.useReducer)(p,{prefetched:!1,timeout:null,clicked:!1});switch(a){case"customLink":return(0,s.jsx)("a",{"data-testid":e,onClick:e=>{if(!e.ctrlKey&&!e.metaKey&&(T({type:h,value:!0}),e.preventDefault(),j&&j instanceof Function&&j(e),!k)){if(b)return void E.replace(t,v,{shallow:g,scroll:N});E.push(t,v,{shallow:g,scroll:N})}},onMouseEnter:e=>{x&&x instanceof Function&&(0,l.h5)(()=>{L.isDesktop&&x(e)}),!f||P.prefetched||t.startsWith("http")||T({type:m,value:setTimeout(()=>{!P.clicked&&t&&E.prefetch(t),T({type:d,value:!0})},500)})},onMouseLeave:()=>{f&&P.timeout&&clearTimeout(P.timeout)},href:(0,o.o)(t),className:_,target:y,...w,children:c});case"nextLink":return(0,s.jsx)(n(),{href:(0,o.o)(t),prefetch:f,target:y,className:_,scroll:N,replace:b,...w,children:c});case"nextLinkWithoutA":return(0,s.jsx)(n(),{href:(0,o.o)(t),prefetch:f,scroll:N,replace:b,...w,children:c});case"standardHtml":return(0,s.jsx)("a",{"data-testid":e,target:y,href:(0,o.o)(t),className:_,...w,onClick:j,children:c})}}},54532:(e,t,a)=>{"use strict";a(29305),a(28860)},58666:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/checkout/empty-cart",function(){return a(21369)}])},74595:(e,t,a)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return r}});let s=a(75834);function r(e,t){let a=(0,s.useRef)(null),r=(0,s.useRef)(null);return(0,s.useCallback)(s=>{if(null===s){let e=a.current;e&&(a.current=null,e());let t=r.current;t&&(r.current=null,t())}else e&&(a.current=l(e,s)),t&&(r.current=l(t,s))},[e,t])}function l(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let a=e(t);return"function"==typeof a?a:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},86750:(e,t,a)=>{"use strict";a.d(t,{$:()=>u,C:()=>o});var s=a(26514),r=a(58245),l=a.n(r),c=a(41179),n=a(81586);let u=({alt:e,aspectRatio:t=null,className:a,height:r,placeholder:n,sizes:u,src:o,unoptimized:d,width:m,onClick:h,style:p,priority:_,...f})=>{let x=i(u);return(null===t&&m&&r&&(t=m/r),o)?(0,s.jsx)("div",{className:"c-media max-w-full",onClick:h,children:(0,s.jsx)(l(),{loader:({src:e,width:a,quality:s})=>(0,c.T)({src:e,width:a,quality:s,height:t?Math.round(a/t):0}),sizes:x,width:m,height:r,src:o,placeholder:n,className:a,unoptimized:d,style:p,priority:_,alt:e||"",...f})}):(0,s.jsx)("div",{className:"c-media max-w-full",children:(0,s.jsx)("div",{className:a,style:{aspectRatio:t||void 0,...p}})})},i=e=>{let{screens:t}=(0,n.Pj)();if(!e)return;if(e.custom)return e.custom;let a="";return Object.entries(t).forEach(t=>{let[s,r]=t;e[s]&&(a+=`(max-width: ${r}) ${e[s]},`)}),e.default&&(a+=`${e.default}`),a||void 0},o=({src:e,autoPlay:t=!0,width:a,controls:r=!1,ref:l,...n})=>e?(0,s.jsx)("video",{ref:l,preload:"metadata",autoPlay:t,loop:!0,muted:!0,controls:r,playsInline:!0,width:a,...n,children:(0,s.jsx)("source",{src:(0,c.f)(e),type:"video/mp4"})},e):null}},e=>{e.O(0,[8245,6456,636,6593,8792],()=>e(e.s=58666)),_N_E=e.O()}]);

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.