PageSourceSearch

https://stepnovskiy.ru/_next/static/chunks/3825.7483ba267075639a.js

js stepnovskiy.ru collected 2026-10-02 23:38:40 UTC 4,100 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3825],{83825:function(e,r,n){"use strict";n.r(r),n.d(r,{default:function(){return m}});var s=n(85893),t=n(67294),i=n(73749),l=(n(60956),n(67813)),a=n.n(l),c=n(12118),u=n(43920),o=n.n(u),d=function(e){var r,n,i=e.images,l=e.setFsVisible,a=e.startIndex,c=function(e){if(i.length){var r=d+e;!i[r]&&e>0?r=0:!i[r]&&e<0&&(r=i.length-1),m(r)}},u=(0,t.useState)(a),d=u[0],m=u[1],f="url(".concat(null===(r=i[d])||void 0===r?void 0:r.image_1600,")");return(0,s.jsxs)("div",{className:o().fullscreen,children:[(0,s.jsx)("div",{className:o().img,style:{backgroundImage:f,filter:"brightness(".concat(100-(null===(n=i[d])||void 0===n?void 0:n.apply_blackout),"%)")}}),(0,s.jsx)("button",{className:o().exit,onClick:function(){return l(!1)}}),(0,s.jsx)("button",{className:o().prev,onClick:function(){return c(-1)}}),(0,s.jsx)("button",{className:o().next,onClick:function(){return c(1)}})]})},m=function(e){var r=e.item,n=(0,t.useRef)(null),l=(0,t.useRef)(null),u=(0,t.useRef)(null),o=(0,t.useRef)(null),m=(0,t.useState)(0),f=m[0],x=m[1],v=(0,t.useState)(!1),p=v[0],g=v[1];return(0,t.useEffect)((function(){if(n.current&&o.current&&l.current&&u.current){var e=n.current.clientWidth,r=Math.round(9*e/16);n.current.style.width="".concat(e,"px"),n.current.style.height="".concat(r,"px"),o.current.style.width="".concat(e,"px");var s=new i.Z(o.current,{slidesPerView:e/90,freeMode:!0,watchSlidesVisibility:!0,watchSlidesProgress:!0,threshold:5}),t=new i.Z(n.current,{preloadImages:!1,lazy:{loadPrevNext:!0},speed:400,keyboard:!0,navigation:{nextEl:l.current,prevEl:u.current},thumbs:{swiper:s},threshold:5});return t.on("slideChange",(function(){return x(t.realIndex)})),function(){s.destroy(!0,!1),t.destroy(!0,!1)}}}),[]),(0,s.jsxs)("div",{className:"bg-gray-200 relative",children:[(0,s.jsx)("button",{className:a().fs,onClick:function(){return g(!0)}}),p&&(0,s.jsx)(d,{images:r.images,setFsVisible:g,startIndex:f}),(0,s.jsxs)("div",{ref:n,className:"swiper-container ".concat(a().gallery),children:[(0,s.jsx)("div",{className:"swiper-wrapper",children:r.images.map((function(e,r){return(0,s.jsxs)("div",{className:"swiper-slide",role:"button",tabIndex:r,onClick:function(){return g(!0)},onKeyDown:function(){return g(!0)},children:[(0,s.jsx)("img",{"data-src":e.image_800,alt:e.description||"",className:"swiper-lazy ".concat(a().img," cursor-pointer"),style:{filter:"brightness(".concat(100-e.apply_blackout,"%)")}}),(0,s.jsx)("div",{className:"swiper-lazy-preloader"})]},r)}))}),(0,s.jsx)("div",{ref:l,className:"swiper-button-next"}),(0,s.jsx)("div",{ref:u,className:"swiper-button-prev"})]}),(0,s.jsx)("div",{ref:o,className:"swiper-container ".concat(a().thumbs),children:(0,s.jsx)("div",{className:"swiper-wrapper",children:r.images.map((function(e,r){return(0,s.jsx)("div",{className:"swiper-slide",children:(0,s.jsx)("img",{className:a().img,src:e.image_250,alt:e.url})},r)}))})}),(0,s.jsx)(c.Z,{image:r.images[f]})]})}},12118:function(e,r,n){"use strict";n.d(r,{H:function(){return l}});var s=n(85893),t=n(75591),i=n.n(t);function l(e,r){var n=(null===r||void 0===r?void 0:r.isVideo)?"\u0412\u0438\u0434\u0435\u043e":"\u0424\u043e\u0442\u043e";return(null===e||void 0===e?void 0:e.author)||(null===e||void 0===e?void 0:e.source)?"".concat(n,": ").concat(e.author||""," ").concat(e.source||""):""}r.Z=function(e){var r=e.image,n=e.isVideo;if(!r)return null;var t=l(r,{isVideo:void 0!==n&&n});return(0,s.jsxs)("div",{className:i().imageText,children:[r.description&&(0,s.jsx)("div",{className:"mb-1",children:r.description}),t&&(0,s.jsx)("div",{className:"text-gray-600",children:t})]})}},67813:function(e){e.exports={fs:"Gallery_fs__EklJe",gallery:"Gallery_gallery__mIMu7",img:"Gallery_img__ftjro",thumbs:"Gallery_thumbs__PKMdy"}},43920:function(e){e.exports={fullscreen:"GalleryFullscreen_fullscreen__qSKkg",img:"GalleryFullscreen_img__WptM0",prev:"GalleryFullscreen_prev__HTT0L",next:"GalleryFullscreen_next__wtAnW",exit:"GalleryFullscreen_exit__ZhdNE"}},75591:function(e){e.exports={imageText:"PhotoText_imageText__MdvLm"}},60956:function(){}}]);

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.