1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7267],{626:function(e,r,t){t.d(r,{Z:function(){return m}});var l=t(96535),n=t(27378),a=t(23615),o=t.n(a);let c=e=>{let{children:r,bannerModifier:t,itemsPerRow:l,enableAutoScroll:a,autoScrollTimer:o,pauseScrollOnHover:c,modifier:s}=e,u=(0,n.useRef)(),[i,m]=(0,n.useState)({displayLeft:!1,displayRight:!0}),[d,f]=(0,n.useState)(!1),p=(0,n.useRef)();(0,n.useEffect)(()=>{p.current=d;let e=setInterval(function(){p.current?b(!0):clearInterval(e)},o);return()=>clearInterval(e)},[o,d]),(0,n.useEffect)(()=>{let{current:{offsetWidth:e,scrollWidth:r}}=u;r<=e&&m({displayLeft:!1,displayRight:!1}),f(a)},[a]);let b=e=>{if(!u||!u.current)return;let{current:{offsetWidth:r,scrollLeft:t,scrollWidth:l}}=u;p.current&&t+r>=l?u.current.scrollLeft=0:u.current.scrollLeft=e?t+r:t-r},{displayLeft:y,displayRight:S}=i,h="cards-carousel".concat(t).concat(s?" ".concat(s):"");return n.createElement("div",{className:h,onMouseEnter:()=>{c&&f(!1)},onMouseLeave:()=>{c&&f(!0)}},n.createElement("div",{className:"cards-carousel--left-button-wrapper"},y&&n.createElement("button",{type:"button",className:"cards-carousel--button-back icon-button icon","aria-label":"Scroll left",onClick:()=>{f(!1),b()}},n.createElement("i",{className:"cards-carousel--arrow cards-carousel--arrow__left"}))),n.createElement("div",{className:"cards-carousel--right-button-wrapper"},S&&n.createElement("button",{type:"button",className:"cards-carousel--button-forward icon-button icon","aria-label":"Scroll right",onClick:()=>{f(!1),b(!0)}},n.createElement("i",{className:"cards-carousel--arrow cards-carousel--arrow__right"}))),n.createElement("div",{className:"cards-carousel--content items-per-row-".concat(l),ref:u,onScroll:()=>{let{current:{offsetWidth:e,scrollLeft:r,scrollWidth:t}}=u;m({displayLeft:!!r,displayRight:r+e+1<t})}},r))};c.propTypes={bannerModifier:o().string,itemsPerRow:o().number,children:o().oneOfType([o().arrayOf(o().node),o().node]),enableAutoScroll:o().bool,pauseScrollOnHover:o().bool,autoScrollTimer:o().number},c.defaultProps={itemsPerRow:0,bannerModifier:"",children:[],enableAutoScroll:!1,pauseScrollOnHover:!1,autoScrollTimer:0};let s=e=>{let{children:r,bannerModifier:t,itemsPerRow:l,autoScrollTimer:a,numberOfCards:o}=e,c="cards-carousel--content smooth-scroll items-per-row-".concat(l),s=a*o/1e3,u="".concat(s<1?1:s,"s");return n.createElement("div",{className:"cards-carousel-smooth".concat(t)},n.createElement("div",{className:c,style:{animationDuration:u}},r),n.createElement("div",{className:c,style:{animationDuration:u}},r))};s.propTypes={bannerModifier:o().string,itemsPerRow:o().number,children:o().oneOfType([o().arrayOf(o().node),o().node]),autoScrollTimer:o().number,numberOfCards:o().number},s.defaultProps={itemsPerRow:0,bannerModifier:"",children:[],autoScrollTimer:0,numberOfCards:1};let u=["enableSmoothScroll"],i=e=>{let{enableSmoothScroll:r}=e,t=(0,l.Z)(e,u);return r?n.createElement(s,t):n.createElement(c,t)};i.propTypes={enableSmoothScroll:o().bool},i.defaultProps={enableSmoothScroll:!1};var m=i},95873:function(e,r,t){t.r(r);var l=t(25773),n=t(96535),a=t(27378),o=t(23615),c=t.n(o),s=t(626);let u=["children"],i=e=>{let{children:r}=e,t=(0,n.Z)(e,u);return a.createElement(s.Z,(0,l.Z)({},t,{modifier:"slide-summary",pauseScrollOnHover:!0,enableAutoScroll:!0,autoScrollTimer:3500}),r)};i.propTypes={children:c().object.isRequired},r.default=i},96535:function(e,r,t){t.d(r,{Z:function(){return l}});function l(e,r){if(null==e)return{};var t,l,n=function(e,r){if(null==e)return{};var t={};for(var l in e)if(({}).hasOwnProperty.call(e,l)){if(-1!==r.indexOf(l))continue;t[l]=e[l]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l<a.length;l++)t=a[l],-1===r.indexOf(t)&&({}).propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}}}]); 2//# sourceMappingURL=blazePbVariantSlideSummary.92f9663de661d778.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.