PageSourceSearch

https://spo-25.ru/_next/static/chunks/7334.604d11302a3bc3df.js

js spo-25.ru collected 2026-10-07 18:57:48 UTC 9,416 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a801db97-4a66-4f70-8579-dd3dad68d52e",e._sentryDebugIdIdentifier="sentry-dbid-a801db97-4a66-4f70-8579-dd3dad68d52e")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7334],{47334:function(e,t,n){"use strict";n.r(t),n.d(t,{Bvi2Panel:function(){return N}});var r,o,i=n(59499),u=n(16835),c=n(67294),s=n(4190),l=n(3735),a=n(42651),f=n(62469),h=n(90512),g=n(89382),p=n(98964),m=n(84639),b=n(98103),d=n(7531),w=n(29582),v=n(47236),y=n(16308),O=n.n(y),B=n(2526),j=n(49317),x=n(85893);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach(function(t){(0,i.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var E=((r=E||{}).Increment="increment",r.Decrement="decrement",r),G=((o=G||{}).ToggleSettings="toggle-settings",o.ToggleBvi="toggle-bvi",o.TogglePanel="toggle-panel",o),N=function(){var e=(0,s.eY)([b.wp,b.CH,b.jV,b.Gh,b.UA,b.BS,b.Hm,b.sR,b.w6]),t=(0,u.Z)(e,9),n=t[0],r=n.isEnabled,o=n.isPanelVisible,i=n.colorScheme,y=n.imagesMode,S=n.speechSynthesis,N=n.isSettingsDialogOpen,P=t[1],T=t[2],k=t[3],D=t[4],Q=t[5],R=t[6],Z=t[7],U=t[8],I=(0,g.Z)({align:"center",dragFree:!0,skipSnaps:!0,breakpoints:{"(min-width: 1100px)":{active:!1}}}),V=(0,u.Z)(I,1)[0],X=(0,c.useRef)(null),L=(0,c.useRef)(null),_=(0,c.useCallback)(function(e){V(e),X.current=e},[V]);(0,c.useEffect)(function(){if(!r||!o)return l.Q1;var e=X.current;if(null===e)return l.Q1;var t=function(){document.documentElement.style.setProperty("--bvi2-panel-height","".concat(e.offsetHeight,"px"))},n=new ResizeObserver(t);return n.observe(e),t(),function(){n.unobserve(e),n.disconnect(),document.documentElement.style.removeProperty("--bvi2-panel-height")}},[r,o]),(0,c.useEffect)(function(){if(!r||o)return l.Q1;var e=L.current;if(null===e)return l.Q1;var t=function(){var t=e.getBoundingClientRect(),n=window.innerHeight-t.top;document.documentElement.style.setProperty("--bvi2-button-clearance","".concat(n,"px"))},n=new ResizeObserver(t);return n.observe(e),t(),window.addEventListener("resize",t),function(){n.unobserve(e),n.disconnect(),window.removeEventListener("resize",t),document.documentElement.style.removeProperty("--bvi2-button-clearance")}},[r,o]);var W=(0,c.useMemo)(function(){return{title:"Размер шрифта",options:[E.Decrement,E.Increment],getOptionContent:function(e){return(0,p.EQ)(e).with(E.Increment,function(){return"A+"}).with(E.Decrement,function(){return"A-"}).exhaustive()},getOptionTitle:function(e){return(0,p.EQ)(e).with(E.Increment,function(){return"Увеличить размер шрифта"}).with(E.Decrement,function(){return"Уменьшить размер шрифта"}).exhaustive()},getOptionKey:l.yR,onValueChange:function(e){switch(e){case E.Increment:D();break;case E.Decrement:Q()}}}},[Q,D]),F=(0,c.useMemo)(function(){return{title:"Цвет сайта",options:[m.B3.White,m.B3.Black,m.B3.Blue,m.B3.Brown,m.B3.Green],getOptionContent:(0,l.a9)("Ц"),getOptionTitle:function(e){return(0,p.EQ)(e).with(m.B3.White,function(){return"Белая цветовая схема"}).with(m.B3.Black,function(){return"Чёрная цветовая схема"}).with(m.B3.Blue,function(){return"Синяя цветовая схема"}).with(m.B3.Brown,function(){return"Коричневая цветовая схема"}).with(m.B3.Green,function(){return"Зеленая цветовая схема"}).exhaustive()},getOptionKey:l.yR,getOptionColorScheme:function(e){return(0,p.EQ)(e).with(m.B3.White,function(){return w.L.White}).with(m.B3.Black,function(){return w.L.Black}).with(m.B3.Blue,function(){return w.L.Blue}).with(m.B3.Brown,function(){return w.L.Brown}).with(m.B3.Green,function(){return w.L.Green}).exhaustive()},value:i,onValueChange:R}}
1,[i,R]),K=(0,c.useMemo)(function(){return{title:"Изображения",options:[m.GX.True,m.GX.False,m.GX.Grayscale],getOptionContent:function(e){return(0,p.EQ)(e).with(m.GX.True,function(){return(0,x.jsx)(f.XBm,{})}).with(m.GX.False,function(){return(0,x.jsx)(f.SYN,{})}).with(m.GX.Grayscale,function(){return(0,x.jsx)(f.aoh,{})}).exhaustive()},getOptionTitle:function(e){return(0,p.EQ)(e).with(m.GX.True,function(){return"Показать изображения"}).with(m.GX.False,function(){return"Скрыть изображения"}).with(m.GX.Grayscale,function(){return"Монохромные изображения"}).exhaustive()},getOptionKey:l.yR,value:y,onValueChange:Z}},[y,Z]),M=(0,c.useMemo)(function(){return{title:"Синтез речи",options:[m.l1.False,m.l1.True],getOptionContent:function(e){return(0,p.EQ)(e).with(m.l1.True,function(){return(0,x.jsx)(f.bx5,{})}).with(m.l1.False,function(){return(0,x.jsx)(f.gQ8,{})}).exhaustive()},getOptionTitle:function(e){return(0,p.EQ)(e).with(m.l1.True,function(){return"Включить синтез речи"}).with(m.l1.False,function(){return"Выключить синтез речи"}).exhaustive()},getOptionKey:l.yR,value:S,onValueChange:U}},[U,S]),z=(0,c.useMemo)(function(){return{title:"Настройки",options:[G.ToggleSettings,G.ToggleBvi,G.TogglePanel],getOptionContent:function(e){return(0,p.EQ)(e).with(G.ToggleSettings,function(){return(0,x.jsx)(f.UG6,{})}).with(G.ToggleBvi,function(){return"Обычная версия сайта"}).with(G.TogglePanel,function(){return(0,x.jsx)(f.V_R,{})}).exhaustive()},getOptionTitle:function(e){return(0,p.EQ)(e).with(G.ToggleSettings,function(){return"Настройки"}).with(G.ToggleBvi,function(){return"Обычная версия сайта"}).with(G.TogglePanel,function(){return"Показать/скрыть панель"}).exhaustive()},getOptionKey:l.yR,onValueChange:function(e){switch(e){case G.ToggleSettings:k(!N);break;case G.ToggleBvi:P(!r);break;case G.TogglePanel:T(!o)}}}},[r,o,N,P,T,k]);return r?(0,x.jsx)(a.f,{asChild:!0,children:o?(0,x.jsx)("div",{ref:_,className:O().root,children:(0,x.jsxs)("div",{className:O().content,children:[(0,x.jsx)(j.t,C(C({},W),{},{className:O().buttonGroup})),(0,x.jsx)(j.t,C(C({},F),{},{className:O().buttonGroup})),(0,x.jsx)(j.t,C(C({},K),{},{className:O().buttonGroup})),(0,x.jsx)(j.t,C(C({},M),{},{className:O().buttonGroup})),(0,x.jsx)(j.t,C(C({},z),{},{className:O().buttonGroup}))]})}):(0,x.jsx)(v.hU,{ref:L,icon:B.tE,variant:"plain-white",hasShadow:!0,className:(0,h.Z)(O().button,d.U.NoStyles),classes:{icon:d.U.NoStyles,root:d.U.NoStyles},onClick:function(){return T(!o)}})}):null}},49317:function(e,t,n){"use strict";n.d(t,{t:function(){return g}});var r=n(59499),o=n(4730),i=n(90512),u=n(7531),c=n(29582),s=n(73711),l=n.n(s),a=n(85893),f=["title","className"];function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var g=function(e){var t=e.title,n=e.className,s=(0,o.Z)(e,f);return(0,a.jsxs)("div",{className:(0,i.Z)(l().root,u.U.NoStyles,n),children:[(0,a.jsx)("h2",{className:(0,i.Z)(l().title,u.U.NoStyles),children:t}),(0,a.jsx)(c.e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){(0,r.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({className:(0,i.Z)(l().buttons,u.U.NoStyles)},s))]})}},29582:function(e,t,n){"use strict";n.d(t,{L:function(){return f},e:function(){return g}});var r,o=n(3735),i=n(36858),u=n(90512),c=n(7531),s=n(92905),l=n.n(s),a=n(85893),f=((r={}).Default="default",r.White="white",r.Black="black",r.Blue="blue",r.Brown="brown",r.Green="green",r),h={[f.Default]:l().isColorSchemeDefault,[f.White]:l().isColorSchemeWhite,[f.Black]:l().isColorSchemeBlack,[f.Blue]:l().isColorSchemeBlue,[f.Brown]:l().isColorSchemeBrown,[f.Green]:l().isColorSchemeGreen},g=function(e){var t=e.options,n=e.getOptionContent,r=e.getOptionTitle,s=e.getOptionKey,g=e.getOptionColorScheme,p=void 0===g?(0,o.a9)(f.Default):g,m=e.value,b=e.onValueChange,d=e.className,w=void 0!==m?s(m):"";return(0,a.jsx)(i.fC,{type:"single",value:w,onValueChange:function(e){if(void 0!==b){var n=t.find(function(t){return s(t)===e});void 0!==n&&b(n)}},className:(0,u.Z)(l().root,d,c.U.NoStyles),children:t.map(function(e){return(0,a.jsx)(i.ck,{value:s(e),"aria-label":r(e),title:r(e),className:(0,u.Z)(l().button,h[p(e)],c.U.NoStyles),children:n(e)},s(e))})})}},16308:function(e){e.exports={root:"mK",content:"mL",button:"mM"}},73711:function(e){e.exports={root:"m0",title:"m1",buttons:"m2"}},92905:function(e){e.exports={root:"m7",button:"m8",isColorSchemeDefault:"m9",isColorSchemeWhite:"na",isColorSchemeBlack:"nb",isColorSchemeBlue:"nc",isColorSchemeBrown:"nd",isColorSchemeGreen:"ne"}}}]);

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.