PageSourceSearch

https://progorod33.ru/_next/static/chunks/6106.9c107cf647de7a92.js

js progorod33.ru collected 2026-10-02 06:22:22 UTC 3,054 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6106],{56106:function(e,a,t){"use strict";t.r(a),t.d(a,{TabBar:function(){return _},TabBarItem:function(){return x},TabBarItemEmpty:function(){return T}});var n=t(85893),r=t(67294),i=t(41664),c=t.n(i),s=t(14924),b=t(94184),u=t.n(b),o=t(65852),l=t.n(o),v=r.memo(function(e){var a=e.navLabel,t=e.className,r=e.tabIndex,i=e.onChangeActiveTab,c=function(){return i(a,r)};return(0,n.jsx)("button",{type:"button",className:u()(l().navItem,(0,s.Z)({},l().navItemActive,t)),onClick:c,children:a})}),m=t(68327),f=t(91557),d=t.n(f),_=r.memo(function(e){var a=e.children,t=e.activeTabDefault,i=void 0===t?0:t,s=r.useRef(null),b=(0,r.useState)(null),u=b[0],o=b[1],l=(0,r.useState)(i),f=l[0],_=l[1],B=(0,r.useState)(!1),h=B[0],N=B[1],p=(0,r.useState)(!1),I=p[0],x=p[1],w=function(e){return e.map(function(e){var a=e.props;return a?a.label:null})},C=function(e,a){e!==u&&o(e),_(a),N(!1)},T=r.useCallback(function(){if(s.current){var e=s.current.children[1].children[f].children[0],a=e&&e.getBoundingClientRect().bottom;a-60<0&&N(!0),a-60>20&&N(!1)}},[f]),E=r.useCallback(function(){var e=+(0,m.o)("screenWidth");e&&e<767?x(!0):x(!1)},[]);return(0,r.useEffect)(function(){var e;return o(w(a)[+i]),E(),window.addEventListener("resize",E),function(){window.removeEventListener("resize",E)}},[]),(0,r.useEffect)(function(){return I&&window.addEventListener("scroll",T),function(){window.removeEventListener("scroll",T)}},[I,u]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:d().tabBar,ref:s,children:[(0,n.jsx)("div",{className:d().tabBarNavContainer,children:(0,n.jsx)("div",{className:d().tabBarNav,children:w(a).map(function(e,a){return e&&(0,n.jsx)(v,{navLabel:e,tabIndex:a,className:u===e?"active":null,onChangeActiveTab:C},e)})})}),(0,n.jsx)("div",{className:d().tabBarContainer,children:r.Children.map(a,function(e){return e&&r.cloneElement(e,{activeTab:u})})})]}),h&&(0,n.jsx)(c(),{prefetch:!1,href:"/news",children:(0,n.jsx)("a",{className:d().tabBarMoreNewsLink,children:"Ещё новости"})})]})}),B=t(26042),h=t(69396),N=t(99534),p=t(62375),I=t.n(p),x=r.memo(function(e){var a=e.children,t=e.label,r=e.activeTab,i=(0,N.Z)(e,["children","label","activeTab"]);return(0,n.jsx)("div",(0,h.Z)((0,B.Z)({className:u()(I().TabBarItem,(0,s.Z)({},I().active,t===r))},i),{children:a}))}),w=t(73969),C=t.n(w),T=r.memo(function(e){var a=e.message;return(0,n.jsx)("div",{className:C().TabBarItemEmpty,children:a})})},73969:function(e){e.exports={TabBarItemEmpty:"tab-bar-item-empty_TabBarItemEmpty__iM3wB"}},62375:function(e){e.exports={TabBarItem:"tab-bar-item_TabBarItem__pZRUG",active:"tab-bar-item_active__NuXKH"}},65852:function(e){e.exports={navItem:"tab-bar-nav_navItem__RMSnf",navItemActive:"tab-bar-nav_navItemActive__48IRP"}},91557:function(e){e.exports={tabBar:"tab-bar_tabBar__0iv_b",tabBarNavContainer:"tab-bar_tabBarNavContainer__VUqtz",tabBarContainer:"tab-bar_tabBarContainer__GvlBM",tabBarNav:"tab-bar_tabBarNav__jpUtW",tabBarMoreNewsLink:"tab-bar_tabBarMoreNewsLink__HKI7f"}}}]);

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.