1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7375],{57375:(e,t,a)=>{a.r(t),a.d(t,{default:()=>p});var s=a(54568),n=a(96006);a(7620);var r=a(63386);let o=e=>{var t;let{isFetching:a,isLoading:n,...o}=e;return n||a?(0,s.jsx)(r.default,{isInProfilePage:!0,isLoading:!0,variant:"secondary"}):(null==(t=o.items)?void 0:t.length)?(0,s.jsx)(r.default,{isInProfilePage:!0,variant:"secondary",...o}):null};o.displayName="CrossBrandCustomProductList";var i=a(19873),l=a(66485),u=a(67879),c=a(41954),d=a(52906);let h=e=>{let{id:t,pageId:a}=e,{data:r}=(0,n.useSession)(),{data:h,isFetching:p,isLoading:m}=(e=>{let{enabled:t=!0,initialData:a,parameters:s}=e,r=(0,d.Ay)(),{data:o}=(0,n.useSession)();return(0,i.useQuery)([l.Ol.CROSS_BRAND_CUSTOM_PRODUCT_LIST,s,r],async()=>{let e=(0,u.A)(s);return await fetch("".concat("/api/content-modules/cross-brand-custom-product-list","?").concat(e.toString()),{headers:{"Accept-Language":(0,c.A)(r),"Content-Type":"application/json",...(null==o?void 0:o.user.accessToken)?{Authorization:"Bearer ".concat(null==o?void 0:o.user.accessToken)}:{}},method:"GET"}).then(e=>{if(e.ok)return e.json();throw Error("".concat(e.status," - ").concat(e.statusText))}).catch(e=>{throw console.error("hooks.useQueryCrossBrandCustomProductList",e),e})},{enabled:!!s&&t,initialData:a,keepPreviousData:!0,staleTime:l.SJ})})({enabled:!!r,parameters:{id:t,pageId:a}});return!r||m?(0,s.jsx)(o,{isLoading:!0}):h?(0,s.jsx)(o,{ctaLinks:h.ctaLinks,headline:h.headline,isFetching:p,items:h.items,preHeadline:h.preHeadline,subHeadline:h.subHeadline,text:h.text}):null};h.displayName="CrossBrandCustomProductListContainer";let p=h}}]); 2//# sourceMappingURL=7375.a73d33a24dac5f6f.js.map
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.