1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7717,9399],{27717:function(e,n,i){i.r(n);var l=i(85893);i(67294);var r=i(5152),t=i.n(r),s=i(25675),o=i.n(s),a=i(11163),d=i(58991),u=i(41664),c=i.n(u),v=i(79250);let p=t()(()=>Promise.all([i.e(2261),i.e(589)]).then(i.bind(i,72472)),{loadableGenerated:{webpack:()=>[72472]},ssr:!1});n.default=e=>{var n;let{banners:i,slidesPerView:r}=e,{locale:t}=(0,a.useRouter)(),{ref:s,shouldMount:u}=(0,v.n)({rootMargin:"240px"}),w=null!==(n=null==i?void 0:i.slice(0,r?Math.min(r,4):3))&&void 0!==n?n:[],h=(e,n)=>{var i,r,s,a,u,v;return(0,l.jsx)(c(),{legacyBehavior:!0,href:null==e?void 0:null===(i=e.attributes)||void 0===i?void 0:i.link[null!=t?t:"ro"],children:(0,l.jsx)("a",{className:"group block overflow-hidden rounded-[26px] border border-slate-200 bg-white p-1.5 shadow-[0_14px_38px_rgba(15,23,42,0.05)] transition duration-300 hover:-translate-y-0.5 hover:shadow-[0_18px_42px_rgba(15,23,42,0.10)]",children:(0,l.jsx)(o(),{className:"h-auto w-full rounded-[20px] transition duration-500 group-hover:scale-[1.02]",src:"".concat(d.b_).concat("ro"===t?null==e?void 0:null===(r=e.attributes)||void 0===r?void 0:r.image_ro:null==e?void 0:null===(s=e.attributes)||void 0===s?void 0:s.image_ru),alt:null!==(v=null==e?void 0:null===(u=e.attributes)||void 0===u?void 0:null===(a=u.title)||void 0===a?void 0:a[null!=t?t:"ro"])&&void 0!==v?v:"Banner",height:120,width:300,sizes:"(min-width: 1280px) 300px, (min-width: 1024px) 29vw, (min-width: 768px) 42vw, 88vw",quality:72})})},n)};return(0,l.jsxs)("section",{ref:s,className:"mx-auto mt-7 w-full max-w-[1400px] px-3 sm:mt-8 sm:px-4 lg:px-6",children:[!u&&(0,l.jsx)("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 md:gap-4 xl:grid-cols-3",children:w.map((e,n)=>h(e,n))}),u&&(0,l.jsx)(p,{slides:null==i?void 0:i.map((e,n)=>h(e,n)),swiperProps:{style:{width:"100%"},spaceBetween:16,slidesPerView:r||6,breakpoints:{0:{slidesPerView:1.15,spaceBetween:12},768:{slidesPerView:2.15,spaceBetween:16},1024:{slidesPerView:3,spaceBetween:18},1200:{slidesPerView:r||4,spaceBetween:20}}}})]})}},79250:function(e,n,i){i.d(n,{n:function(){return r}});var l=i(67294);let r=function(){let{rootMargin:e="200px",fallbackDelay:n=2500}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=(0,l.useRef)(null),[r,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{if(r)return;let l=!0,s=null,o=null,a=()=>{l&&t(!0)};return"function"==typeof IntersectionObserver&&i.current?(s=new IntersectionObserver(e=>{var n;(null===(n=e[0])||void 0===n?void 0:n.isIntersecting)&&(a(),null==s||s.disconnect())},{rootMargin:e})).observe(i.current):o=window.setTimeout(a,n),()=>{l=!1,null==s||s.disconnect(),null!==o&&window.clearTimeout(o)}},[n,e,r]),{ref:i,shouldMount:r}}}}]);
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.