PageSourceSearch

https://nebius.com/_next/static/chunks/7501.cc9a9056a1ef07bc.js

js nebius.com collected 2026-10-02 03:16:21 UTC 5,573 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7501],{27501:(e,a,t)=>{"use strict";t.r(a),t.d(a,{SliderClient:()=>A,default:()=>L});var i,s=t(15244),l=t(61504),n=t(89928),r=t(60315),o=t(85005),d=t(32643),c=t(2165),u=t(78880),p=t(13386),h=t(73677),m=t(16043);let f=JSON.parse('{"arrow-right":"Next","arrow-left":"Previous","dot-label":"Page {{index}}","pagination-label":"Pages"}'),x=JSON.parse('{"arrow-right":"Дальше","arrow-left":"Назад","dot-label":"Страница {{index}}","pagination-label":"Страницы"}'),b=(0,m.N)({en:f,ru:x},`${p.CU}SliderNewBlock`);t(69762);let g=(0,p.om)("slider-arrow"),w=({type:e,transparent:a,onClick:t,className:i,size:l=16,extraProps:n})=>(0,s.jsx)("div",{className:g(null,i),children:(0,s.jsx)("button",{className:g("button"),onClick:t,"aria-label":b(`arrow-${e}`),...n,children:(0,s.jsx)("div",{className:g("inner",{type:e,transparent:a}),children:(0,s.jsx)("span",{className:g("icon-wrapper"),children:(0,s.jsx)(h.A,{size:l,type:"horizontal",iconType:"navigation",className:g("icon")})})})})});var N=t(28389),j=t.n(N),v=t(46171),S=t.n(v),y=t(84218),C=((i={}).Xs="xs",i.Sm="sm",i.Md="md",i.Lg="lg",i);let k={[C.Lg]:3,[C.Md]:2,[C.Sm]:2,[C.Xs]:1.2},O=(e,a)=>Object.entries(a).forEach(([a,t])=>e.setAttribute(a,String(t)));t(53200);let P=(0,p.om)("slider-new-block"),A=({animated:e,title:a,description:t,type:i,anchorId:p,arrows:h=!0,adaptive:m,autoplay:f,infinite:x=!1,dots:g=!0,initialSlide:N=0,className:v,dotsClassName:C,disclaimer:A,children:L,blockClassName:E,arrowSize:I,slidesToShow:T,onSlideChange:z,onSlideChangeTransitionStart:B,onSlideChangeTransitionEnd:M,onActiveIndexChange:_,onBreakpoint:D})=>{let{autoplay:q,isLocked:H,childrenCount:J,breakpoints:U,onSwiper:$,handleSwiperInit:F,onPrev:K,onNext:V,setIsLocked:X}=(({children:e,autoplayMs:a,type:t,...i})=>{let[s,n]=l.useState(),[r,o]=l.useState(!1),d=(e=>{let[a,t]=l.useState(e);return l.useEffect(()=>{t(a=>e&&"object"==typeof e&&j()(a,e)?a:e)},[e]),a})(i.slidesToShow),c=l.Children.count(e),p=void 0!==a&&a>0,h=l.useMemo(()=>(function({contentLength:e,slidesToShow:a,mobileFullscreen:t}){let i;return i="number"==typeof a?Object.keys(k).reduce((e,t)=>({...e,[t]:a}),{}):a||k,Object.entries({...k,...S()(i,e=>!isNaN(e)),xs:!t&&e>1?k.xs:1}).reduce((e,[a,t])=>{let i=y.L[a]+1;return e[i]={slidesPerView:t,slidesOffsetBefore:i>y.L.sm?0:24,slidesOffsetAfter:i>y.L.sm?0:24},e},{})})({contentLength:c,slidesToShow:d,mobileFullscreen:!!(t&&Object.values(u.ue).includes(t))}),[d,t,c]);return l.useEffect(()=>{s&&s.autoplay&&(p?s.autoplay.start():s.autoplay.stop())},[s,p]),{slider:s,onSwiper:n,onNext:()=>{if(s){if(s.isEnd&&!s.params.loop)return void s.slideTo(0);s.slideNext()}},onPrev:()=>{if(s){if(s.isBeginning&&!s.params.loop)return void s.slideTo(c-1);s.slidePrev()}},handleSwiperInit:e=>{n(e),setTimeout(()=>e.update(),100)},breakpoints:h,childrenCount:c,isLocked:r,setIsLocked:o,autoplay:p&&{delay:a,disableOnInteraction:!1}}})({slidesToShow:T,children:L,type:i,autoplayMs:f}
1),R=!!q,G=R?-1:0,[Q,W]=l.useState(!0),Y=(e=>{if(!e.enabled)return;let{isA11yControlHidden:a,controlTabIndex:t,bulletClass:i,bulletActiveClass:s,paginationLabel:l}=e;return{pagination:{clickable:!0,bulletClass:i,bulletActiveClass:s},onPaginationUpdate:e=>{let n=e.pagination.el;O(n,{role:"menu","aria-hidden":a,"aria-label":l}),n.querySelectorAll(`.${i}`).forEach(e=>{let i=e.classList.contains(s);O(e,{role:"menuitemradio","aria-hidden":a,"aria-checked":i,tabindex:t})})}}})({enabled:g,isA11yControlHidden:R,controlTabIndex:G,bulletClass:P("dot",C),bulletActiveClass:P("dot_active"),paginationLabel:b("pagination-label")});return(0,s.jsxs)("div",{className:P({"one-slide":1===J,"only-arrows":(!a||"string"!=typeof a&&!a?.text)&&!t&&h,"without-dots":!g||H,type:i},E),children:[p&&(0,s.jsx)(o.A,{id:p}),(0,s.jsx)(c.A,{title:a,subtitle:t,className:P("header",{"no-description":!t})}),(0,s.jsx)(d.A,{className:P("animate-slides"),animate:e,children:1===l.Children.count(L)?(0,s.jsx)("div",{className:P("slider",v),children:L}):(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)(r.RC,{modules:[n.Ij,n.Jq,n.dK],className:P("slider",v),onSwiper:$,speed:700,autoplay:q,loop:x,autoHeight:m,initialSlide:N,noSwiping:!1,slidesOffsetBefore:24,slidesOffsetAfter:24,breakpoints:U,onSlideChange:z,onSlideChangeTransitionStart:B,onSlideChangeTransitionEnd:M,onActiveIndexChange:_,onBreakpoint:(e,a)=>{W(1===Math.floor(e.slidesPerViewDynamic())),D?.(e,a)},onLock:()=>X(!0),onUnlock:()=>X(!1),onInit:F,watchSlidesProgress:!0,watchOverflow:!0,a11y:{slideLabelMessage:"",paginationBulletMessage:b("dot-label",{index:"{{index}}"})},...Y,children:l.Children.map(L,(e,a)=>(0,s.jsx)(r.qr,{className:P("slide"),children:({isVisible:a,isActive:t,isNext:i,isPrev:l})=>{let n=()=>{i?V():l&&K()},r=!R&&!a;return(0,s.jsx)("div",{className:P("slide-item"),...Q&&!t&&(i||l)?{role:"button",tabIndex:r?-1:G,"aria-label":i?b("arrow-right"):b("arrow-left"),onClick:e=>{e.preventDefault(),e.stopPropagation(),n()},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),n())}}:{},"aria-hidden":r,children:e})}},a))}),h&&!H&&(0,s.jsxs)("div",{"aria-hidden":R,children:[(0,s.jsx)(w,{className:P("arrow",{prev:!0}),type:"left",transparent:i===u.ue.HeaderCard,onClick:K,size:I,extraProps:{tabIndex:G}}),(0,s.jsx)(w,{className:P("arrow",{next:!0}),type:"right",transparent:i===u.ue.HeaderCard,onClick:V,size:I,extraProps:{tabIndex:G}})]}),(0,s.jsx)("div",{className:P("footer"),children:A?(0,s.jsx)("div",{className:P("disclaimer",{size:A?.size||"m"}),children:A?.text}):null})]})})]})},L=A},69762:()=>{}}]);

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.