PageSourceSearch

https://www.gap.at/_next/static/chunks/8146.3b5894629e90531c.js

js gap.at collected 2026-10-06 13:20:15 UTC 10,031 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8146],{621:(e,t,r)=>{"use strict";r.d(t,{Y:()=>s});let s=(e,t=!1,r=null,s,a)=>{if(!e)return"";let l=new Date(e),i="";return l&&(i=l.toLocaleDateString(s,{timeZone:a})),l&&t&&(i+=`${r||" "}${l.toLocaleTimeString(s,{hour:"2-digit",minute:"2-digit",timeZone:a})}`),i}},16074:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n,h:()=>d});var s,a=r(26514),l=r(75406),i=r(26843),c=r.n(i),n=((s={}).Alpha="alpha",s.Beta="beta",s.Gamma="gamma",s.None="none",s);let d=({heading:e=1,variant:t="alpha",weight:r,children:s,className:i,...n})=>{let d=e?`h${e}`:"div";return(0,a.jsx)(d,{className:(0,l.cn)({[c()[t]]:c()[t],[`!font-${r}`]:r,[`${i}`]:i}),...n,children:s})}},26843:e=>{e.exports={alpha:"Title_alpha__RS3in",beta:"Title_beta__DjMos",gamma:"Title_gamma__KEwR8"}},39285:(e,t,r)=>{"use strict";r.d(t,{H:()=>a});var s=r(81586);let a=({base:e="",celio:t,gap:r,geox:a,orsay:l,ua:i})=>{let{settings:c}=(0,s.Pj)(),n=e;return c.isCelio()&&"string"==typeof t&&(n=t),c.isGap()&&"string"==typeof r&&(n=r),c.isGeox()&&"string"==typeof a&&(n=a),c.isOrsay()&&"string"==typeof l&&(n=l),c.isUa()&&"string"==typeof i&&(n=i),{[n.trim()]:!!n.trim()}}},51973:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var s=r(26514),a=r(81586),l=r(52661),i=r(96456),c=r.n(i),n=r(46225),d=r(75834),o=r(71557);let u="prefetched",m="timeout",h="clicked",p=(e,t)=>{switch(t.type){case u:return{...e,prefetched:t.value};case m:return{...e,timeout:t.value};case h:return{...e,clicked:t.value}}},f=({testId:e,href:t,type:r="customLink",children:i,className:f="",prefetch:g=!0,onMouseEnter:x,onClick:j,target:v="_self",shallow:y=!1,as:b,preventRouterNavigation:_=!1,scroll:w=!0,replace:N=!1,...$})=>{let{ui:S}=(0,a.Pj)(),O=(0,n.useRouter)(),[k,A]=(0,d.useReducer)(p,{prefetched:!1,timeout:null,clicked:!1});switch(r){case"customLink":return(0,s.jsx)("a",{"data-testid":e,onClick:e=>{if(!e.ctrlKey&&!e.metaKey&&(A({type:h,value:!0}),e.preventDefault(),j&&j instanceof Function&&j(e),!_)){if(N)return void O.replace(t,b,{shallow:y,scroll:w});O.push(t,b,{shallow:y,scroll:w})}},onMouseEnter:e=>{x&&x instanceof Function&&(0,l.h5)(()=>{S.isDesktop&&x(e)}),!g||k.prefetched||t.startsWith("http")||A({type:m,value:setTimeout(()=>{!k.clicked&&t&&O.prefetch(t),A({type:u,value:!0})},500)})},onMouseLeave:()=>{g&&k.timeout&&clearTimeout(k.timeout)},href:(0,o.o)(t),className:f,target:v,...$,children:i});case"nextLink":return(0,s.jsx)(c(),{href:(0,o.o)(t),prefetch:g,target:v,className:f,scroll:w,replace:N,...$,children:i});case"nextLinkWithoutA":return(0,s.jsx)(c(),{href:(0,o.o)(t),prefetch:g,scroll:w,replace:N,...$,children:i});case"standardHtml":return(0,s.jsx)("a",{"data-testid":e,target:v,href:(0,o.o)(t),className:f,...$,onClick:j,children:i})}}},52344:(e,t,r)=>{"use strict";r.r(t),r.d(t,{MyOrders:()=>j});var s=r(26514),a=r(75834),l=r(73064),i=r(55047),c=r(14366),n=r(75406),d=r(39285),o=r(60269),u=r(51973);let m=()=>{let{t:e}=(0,i.Bd)("common");return(0,s.jsxs)("div",{className:"flex flex-col items-center gap-6 mt-12 lg:mt-16",children:[(0,s.jsx)(c.I,{icon:"/images/icons/list.svg",className:(0,n.cn)({"mb-2":!0,...(0,d.H)({base:"w-10 lg:w-24",celio:"w-10 lg:w-24 text-gray-600",geox:"w-24 h-24 lg:w-32 lg:h-32 text-blue-500"})})}),(0,s.jsx)("p",{className:(0,n.cn)({"font-bold":!0,...(0,d.H)({base:"text-lg",orsay:"text-2xl"})}),children:e("account__my-orders__empty-orders-title")}),(0,s.jsx)(o.S,{as:u.A,href:"/",className:"!px-14",children:e("account__my-orders__empty-orders-button")})]})};var h=r(59429),p=r(16074),f=r(80254),g=r(81586),x=r(49421);let j=(0,h.PA)(()=>{let{user:e}=(0,g.Pj)(),{t}=(0,i.Bd)("common");return(0,a.useEffect)(()=>{e.fetchOrders()},[]),(0,s.jsxs)("div",{className:"lg:text-left",children:[(0,s.jsx)(p.h,{className:(0,n.cn)({"!mt-0 !mb-1":!0,...(0,d.H)({gap:"lg:!mb-8"})}),children:t("account__my-orders__title")}),(0,s.jsx)("p",{className:(0,n.cn)({"text-base mb-5 lg:mb-6":!0,...(0,d.H)({gap:"!text-left lg:!mb-16"})}),children:t("account__my-orders__perrex")}),(0,s.jsx)("section",{"data-testid":f.Q.AccountMyOrdersSection,children:e.orders?e.orders.length>0?(0,s.jsx)(s.Fragment,{children:e.orders.map((e,t)=>(0,s.jsx)(l.V,{order:e},`order-${t}`))}):!e.isLoadingOrders&&(0,s.jsx)(m,{}):null}),e.isLoadingOrders&&(0,s.jsx)("div",{className:"relative mt-8",children:(0,s.jsx)(x.a,{isActive:!0})})]})})},73064:(e,t,r)=>{"use strict";r.d(t,{V:()=>p});
1var s=r(26514),a=r(55047),l=r(59429),i=r(621),c=r(14366),n=r(84775),d=r(51973),o=r(86750),u=r(81586),m=r(80254),h=r(75406);let p=(0,l.PA)(({order:e,className:t})=>{let{settings:r}=(0,u.Pj)(),{t:l}=(0,a.Bd)("common");return(0,s.jsx)("div",{className:(0,h.cn)({"border-t last:border-b border-gray-500":!0,[`${t}`]:t}),children:(0,s.jsx)(d.A,{href:e.url?e.url:"#","data-testid":m.Q.AccountOrderLink,className:"text-sm",title:`${l("order")} ${e.number}`,children:(0,s.jsxs)("article",{"aria-labelledby":`order-${e.id}`,className:"grid grid-rows-[1fr_1fr] gap-x-4 lg:gap-x-6 grid-cols-[6.75rem_1fr_2.5rem] py-5 transition-colors duration-300 hover:bg-gray-300 lg:grid-cols-[9.875rem_1fr_1fr_1fr_3rem]",children:[(0,s.jsx)("div",{className:"grid grid-cols-[3.25rem_3.25rem] lg:grid-cols-[4.688rem_4.688rem] row-span-2 gap-x-1 lg:gap-x-2","data-testid":m.Q.AccountOrderImgDiv,children:e.items&&e.items[0]&&(0,s.jsxs)(s.Fragment,{children:[e.items[0].media?.length>0?(0,s.jsx)(o.$,{width:r.productMediaSizes.myOrderList.width,height:r.productMediaSizes.myOrderList.height,src:e.items[0].media[0].path,alt:`${e.items[0].title} - ${String(1).padStart(3,"0")}`}):null,e.items[1]&&e.items[1].media?.length>0?(0,s.jsxs)("div",{className:"relative",style:{aspectRatio:`${r.productMediaSizes.myOrderList.width} / ${r.productMediaSizes.myOrderList.height}`},children:[(0,s.jsx)(o.$,{width:r.productMediaSizes.myOrderList.width,height:r.productMediaSizes.myOrderList.height,src:e.items[1].media[0].path,alt:`${e.items[1].title} - ${String(2).padStart(3,"0")}`}),e.items.length>2?(0,s.jsxs)("div",{className:"absolute inset-0 bg-black/40 text-white flex items-center justify-center text-base",children:["+",e.items.length-2]}):null]}):null]})}),(0,s.jsxs)("div",{className:"self-center flex flex-col lg:row-span-2","data-testid":m.Q.AccountOrderDescriptionDiv,children:[(0,s.jsxs)("span",{id:`order-${e.id}`,children:[l("order")," ",e.number||"number not found"]}),(0,s.jsx)("span",{className:"hidden lg:inline text-gray-700",children:(0,i.Y)(e.createdAt,!1)})]}),(0,s.jsxs)("div",{className:"self-center hidden lg:inline lg:row-span-2","data-testid":m.Q.AccountOrderPlaceDiv,children:[(0,s.jsx)("span",{children:e.isEshop?l("place_eshop"):e.warehouse}),(0,s.jsx)(n.j,{value:e.prices.total,suffix:e.prices.currency,className:"font-semibold"})]}),(0,s.jsx)("div",{className:(0,h.cn)({"self-center col-start-2 row-start-2 lg:row-auto lg:col-start-4 lg:row-span-2 font-semibold":!0,"text-red-500":e.isCancelled}),"data-testid":m.Q.AccountOrderStatusDiv,children:e.status&&l(`order_status_${e.status}`)}),(0,s.jsx)("div",{className:"w-10 h-10 lg:w-12 lg:h-12 border border-gray-500 col-start-3 lg:col-start-5 row-span-2 self-center relative",children:(0,s.jsx)(c.I,{icon:"/images/icons/chevron-right.svg",className:"w-4 h-6 absolute left-[40%] top-[12px] lg:top-[35%]","data-testid":m.Q.AccountOrderIconDiv})})]})})})})},74595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return a}});let s=r(75834);function a(e,t){let r=(0,s.useRef)(null),a=(0,s.useRef)(null);return(0,s.useCallback)(s=>{if(null===s){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=l(e,s)),t&&(a.current=l(t,s))},[e,t])}function l(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>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)},84775:(e,t,r)=>{"use strict";r.d(t,{j:()=>d,s:()=>n});var s=r(26514),a=r(81586),l=r(73700),i=r(75406),c=r(75834);let n=(e="")=>e.replaceAll(" ","\xa0"),d=({testId:e,value:t,suffix:r,prefix:d,decimalScale:o,className:u,affix:m})=>{let{settings:h}=(0,a.Pj)(),p=(0,c.useMemo)(()=>!("string"==typeof d&&d.startsWith("-")),[d]);return(0,s.jsxs)("div",{className:(0,i.cn)({[`${u}`]:u,"whitespace-nowrap":!0}
1),children:[(0,s.jsx)(l.HG,{"data-testid":e,value:t,thousandSeparator:h.numberFormat?.thousandsSeparator?n(h.numberFormat?.thousandsSeparator):"\xa0",decimalSeparator:h.numberFormat?.decimalSeparator?n(h.numberFormat?.decimalSeparator):",",decimalScale:null==o?h.numberFormat?.decimals:o,prefix:d,suffix:r?` ${r}`:` ${h.defaultCurrency}`,fixedDecimalScale:!0,displayType:"text",allowNegative:p}),m]})}},86750:(e,t,r)=>{"use strict";r.d(t,{$:()=>n,C:()=>o});var s=r(26514),a=r(58245),l=r.n(a),i=r(41179),c=r(81586);let n=({alt:e,aspectRatio:t=null,className:r,height:a,placeholder:c,sizes:n,src:o,unoptimized:u,width:m,onClick:h,style:p,priority:f,...g})=>{let x=d(n);return(null===t&&m&&a&&(t=m/a),o)?(0,s.jsx)("div",{className:"c-media max-w-full",onClick:h,children:(0,s.jsx)(l(),{loader:({src:e,width:r,quality:s})=>(0,i.T)({src:e,width:r,quality:s,height:t?Math.round(r/t):0}),sizes:x,width:m,height:a,src:o,placeholder:c,className:r,unoptimized:u,style:p,priority:f,alt:e||"",...g})}):(0,s.jsx)("div",{className:"c-media max-w-full",children:(0,s.jsx)("div",{className:r,style:{aspectRatio:t||void 0,...p}})})},d=e=>{let{screens:t}=(0,c.Pj)();if(!e)return;if(e.custom)return e.custom;let r="";return Object.entries(t).forEach(t=>{let[s,a]=t;e[s]&&(r+=`(max-width: ${a}) ${e[s]},`)}),e.default&&(r+=`${e.default}`),r||void 0},o=({src:e,autoPlay:t=!0,width:r,controls:a=!1,ref:l,...c})=>e?(0,s.jsx)("video",{ref:l,preload:"metadata",autoPlay:t,loop:!0,muted:!0,controls:a,playsInline:!0,width:r,...c,children:(0,s.jsx)("source",{src:(0,i.f)(e),type:"video/mp4"})},e):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.