1"use strict";(globalThis.webpackChunkkentico_react_boilerplate=globalThis.webpackChunkkentico_react_boilerplate||[]).push([[3382],{43382:function(n,e,t){t.r(e),t.d(e,{default:function(){return E}});var i,o,r,l=t(67294),a=t(46066),u=t(40716),s=t.n(u),d=t(56613),c=t(2790),m=t(86737),f=t(49657),h=t(65479),g=t(19147),p=t(23311),b=function(n,e){return e&&Array.isArray(e)?e.length-n:0},w=function(n){return{tablet:n>=3?3:2,bigMobile:n>=2?2:1}},x=(t(47088),t(11332),function(n,e){return Object.defineProperty?Object.defineProperty(n,"raw",{value:e}):n.raw=e,n}),k=function(){return k=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n},k.apply(this,arguments)},v=function(n){var e=n.className,t=void 0===e?"":e,i=n.onClick,o=(0,l.useContext)(c.f.Ctx).localizations,r=t.includes("slick-disabled");return l.createElement(y,{disabled:r,iconButtonSmall:!0,onClick:i,suffix:"arrow-drop-right",template:"unstyled"},(0,f.i0)(o,"carousel/nextSlide"))},S=function(n){var e=n.className,t=void 0===e?"":e,i=n.onClick,o=(0,l.useContext)(c.f.Ctx).localizations,r=t.includes("slick-disabled");return l.createElement(M,{disabled:r,iconButtonSmall:!0,onClick:i,suffix:"arrow-drop-left",template:"unstyled"},(0,f.i0)(o,"carousel/previousSlide"))},C=d.ZP.div.withConfig({displayName:"StyledCounter",componentId:"-1ruf07k"})(i||(i=x(["\n bottom: ",";\n font-size: ",";\n font-weight: ",";\n left: ",";\n line-height: ",";\n padding-left: ",";\n padding-right: ",";\n position: absolute;\n right: ",";\n text-align: center;\n z-index: ",";\n\n @media (min-width: ","px) {\n right: ",";\n }\n\n @media (min-width: ","px) {\n bottom: auto;\n left: auto;\n padding-left: 0;\n padding-right: ",";\n right: ",";\n top: ",";\n }\n"],["\n bottom: ",";\n font-size: ",";\n font-weight: ",";\n left: ",";\n line-height: ",";\n padding-left: ",";\n padding-right: ",";\n position: absolute;\n right: ",";\n text-align: center;\n z-index: ",";\n\n @media (min-width: ","px) {\n right: ",";\n }\n\n @media (min-width: ","px) {\n bottom: auto;\n left: auto;\n padding-left: 0;\n padding-right: ",";\n right: ",";\n top: ",";\n }\n"])),s()(6),(function(n){return n.theme.fontSizes.md}),(function(n){return n.theme.fontWeight.bold}),s()(p.WB),(function(n){return n.theme.lineHeights.lg}),s()(24),s()(24),s()(p.WB+p.b6),(function(n){return n.theme.zIndex.base}),(function(n){return n.theme.breakpoints.sm}),s()(p.WB),(function(n){return n.theme.breakpoints.lg}),s()(16),s()(p._S+2*p.WB),s()(6)),y=(0,d.ZP)(g.Z).withConfig({displayName:"StyledNextArrow",componentId:"-uq6iha"})(o||(o=x(["\n bottom: 0;\n position: absolute;\n right: ",";\n\n @media (min-width: ","px) {\n right: 0;\n }\n\n @media (min-width: ","px) {\n bottom: auto;\n top: 0;\n }\n"],["\n bottom: 0;\n position: absolute;\n right: ",";\n\n @media (min-width: ","px) {\n right: 0;\n }\n\n @media (min-width: ","px) {\n bottom: auto;\n top: 0;\n }\n"])),s()(24),(function(n){return n.theme.breakpoints.sm}),(function(n){return n.theme.breakpoints.lg})),M=(0,d.ZP)(g.Z).withConfig({displayName:"StyledPreviousArrow",componentId:"-122klo4"})(r||(r=x(["\n bottom: 0;\n left: 0;\n position: absolute;\n\n @media (min-width: ","px) {\n bottom: auto;\n left: auto;\n right: ",";\n top: 0;\n }\n"],["\n bottom: 0;\n left: 0;\n position: absolute;\n\n @media (min-width: ","px) {\n bottom: auto;\n left: auto;\n right: ",";\n top: 0;\n }\n"])),(function(n){return n.theme.breakpoints.lg}),s()(p.WB+p._S)),E=function(n){var e=n.flatMissingImage,t=n.hasProductCard,i=n.items,o=n.slidesToShow,r=(0,l.useState)(0),u=r[0],s=r[1],d=(0,l.useContext)(c.f.Ctx),g=d.breakpoint,p=d.localizations,x=[m.mq.namedScreenQueries.screenMd].includes(g),y=[m.mq.namedScreenQueries.screenLg].includes(g),M=[m.mq.namedScreenQueries.screenXl,m.mq.namedScreenQueries.screenXxl].includes(g),E=(0,l.useRef)(null),q=(0,l.useMemo)((function(){if(M){var n=b(o,i);return u<=n?o+u:i.length}if(y){var e=w(o).tablet;return n=b(e,i),u<=n?u+e:i.length}return x?(e=w(o).bigMobile,n=b(e,i),u<=n?u+e:i.length):u+1}),[u,g]),z={beforeChange:function(n,e){return setTimeout((function(){return function(n){var e;
1s(n),(null===(e=null==E?void 0:E.current)||void 0===e?void 0:e.length)&&E.current.forEach((function(n){n.contentWindow.postMessage('{"event":"command", "func":"pauseVideo", "args":""}',"*")}))}(e)}),500)},nextArrow:l.createElement(v,null),prevArrow:l.createElement(S,null),slidesToScroll:1,infinite:!1,slidesToShow:o,speed:500,responsive:[{breakpoint:m.mq.screenLgMax,settings:{slidesToShow:w(o).tablet}},{breakpoint:m.mq.screenMdMax,settings:{slidesToShow:w(o).bigMobile}},{breakpoint:m.mq.screenSmMax,settings:{slidesToShow:1}}]};return(0,l.useEffect)((function(){var n;(null==(n=document.querySelectorAll(".slick-slider iframe"))?void 0:n.length)&&(E.current=n)}),[]),i&&i.length?l.createElement(l.Fragment,null,l.createElement(C,null,q," ",(0,f.i0)(p,"carousel/navigation/counter")," ",i.length),l.createElement(a.Z,k({},z),i.map((function(n){return l.createElement(h.Z,k({},n,{flatMissingImage:e,isProduct:t,key:n.id}))})))):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.