1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4086],{54270:function(t,e,n){n.r(e),n.d(e,{default:function(){return p}});var i=n(97458),a=n(31536),o=n(46402),r=n(13132),f=n(52983),s=n(60879),c=n(41512),l=n(61556),d=n.n(l),m=n(88159),u=n(76142),_=n(77920),g=n(94750);function p(t){let{enableSlider:e,fallback:n,...l}=t,{acf:{information:{site:{phc:p}}}}=(0,a.FC)(),h=(0,a.FC)(),{slug:x}=(0,a.Tt)(),{data:k}=(0,o.a)(["card-offers"],()=>g.ey.getMany({basename:"offers",options:{_fields:"acf.information.content,acf.information.settings.scheduled_offer,acf.information.settings.start_date_time,acf.information.settings.end_date_time,id,title",page:1,per_page:16,phc:p}}),{staleTime:1/0}),v=(0,r.b9)(c.Z),[b,j]=(0,s.YD)();return(0,f.useMemo)(()=>{v(j)},[j,v]),(null==k?void 0:k.result)&&(null==k?void 0:k.result.length)>0?(0,i.jsx)("div",{ref:b,"data-format":x,children:k&&k.result.length>0&&(0,i.jsx)("div",{className:"container flush ".concat(e?d().sliderContainer:"large-gutter padded").trim(),children:(0,i.jsx)("div",{className:"".concat(e?d().slider:d().grid).trim(),children:k.result.map((t,e)=>(0,i.jsx)(m.Z,{enable_slider:t.acf.information.content.enable_slider,image:t.acf.information.content.image,linkText:t.acf.information.content.link_text,linkUrl:(0,u.Z)(t.acf.information.content.link_url,h),offer:t.acf.information.content.offer||t.title.rendered,slider_images:Array.isArray(t.acf.information.content.slider_images)?t.acf.information.content.slider_images.map(t=>({image:t.slider_image})):void 0,text:t.acf.information.content.text,title:t.acf.information.content.title},"card-".concat(e+1)))})})}):(0,i.jsx)(_.default,{position:0,postId:0,acf_fc_layout:"",...l,...n})}}}]);
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.