(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4265],{10857:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return _},NormalizeError:function(){return y},PageNotFoundError:function(){return v},SP:function(){return h},ST:function(){return m},WEB_VITALS:function(){return o},execOnce:function(){return a},getDisplayName:function(){return c},getLocationOrigin:function(){return l},getURL:function(){return u},isAbsoluteUrl:function(){return s},isResSent:function(){return f},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return d},stringifyError:function(){return x}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>i.test(e);function l(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function u(){let{href:e}=window.location,t=l();return e.substring(t.length)}function c(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function d(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${c(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let h="u">typeof performance,m=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class y extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class _ extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function x(e){return JSON.stringify({message:e.message,stack:e.stack})}},17436:(e,t,r)=>{"use strict";r.d(t,{td:()=>n});let n=(e,t,r,n)=>{let o=[t,r,n];return o[e%100>4&&e%100<20?2:[2,0,1,1,1,2][e%10<5?e%10:5]]||o[0]}},20091:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var o in n)Object.defineProperty(t,o,{enumerable:!0,get:n[o]});let a=r(66388)._(r(31393)),i=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(a.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${o}${c}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return s(e)}},21545:()=>{},29842:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},31393:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={assign:function(){return s},searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return i}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function o(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function a(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,a(e));else t.set(r,a(n));return t}function s(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},33988:()=>{},37940:(e,t,r)=>{"use strict";r.d(t,{ms:()=>n.D,n5:()=>n.g,pm:()=>n.a,uu:()=>n.h});var n=r(52708)},41705:(e,t,r)=>{"use strict";r.d(t,{V:()=>f}),r(33988);var n=r(95155),o=r(12115),a=r(66216),i=r(63959),s=r(29722);let l=(0,r(7596).g)("expert-quote","sc"),u=Object.freeze({expertQuote:l,wrapper:`${l}__wrapper`,title:`${l}__title`,card:`${l}__card`,content:`${l}__content`,aboutText:`${l}__aboutText`,about:`${l}__about`,img:`${l}__img`,name:`${l}__name`,position:`${l}__position`,text:`${l}__text`}),c=(0,o.memo)(({className:e,quote:t})=>t?(0,n.jsx)("section",{className:(0,s.A)(u.wrapper,e),children:(0,n.jsxs)(a.m,{children:[(0,n.jsx)(i.D,{as:"h2",type:"display",weight:"bold",className:(0,s.A)(u.title,"mb-6"),children:"Мнение эксперта"}),(0,n.jsx)("div",{className:u.card,children:(0,n.jsxs)("div",{className:u.content,children:[(0,n.jsxs)("div",{className:u.about,children:[t.expert.photo&&(0,n.jsx)("a",{href:t.expert.url,children:(0,n.jsx)("div",{className:u.img,style:{backgroundImage:`url(${t.expert.photo})`}})}),(0,n.jsxs)("div",{className:u.aboutText,children:[(0,n.jsx)("a",{href:t.expert.url,className:u.name,children:t.expert.name}),(0,n.jsx)("p",{className:u.position,dangerouslySetInnerHTML:{__html:t.expert.position}})]})]}),(0,n.jsx)("p",{className:u.text,dangerouslySetInnerHTML:{__html:t.content}})]})})]})}):null);c.displayName="ExpertQuote";let f=c},62804:(e,t,r)=>{"use strict";r.d(t,{C:()=>_});var n=r(95155),o=r(12115),a=r(17294),i=r(76701),s=r(9683),l=r(29722),u=r(62849),c=r(26048),f=r(69679),d=r(56082);r(42879);var p=r(92681),h=r(34337),m=r(83640);r(21545);let g=(e,t,r,n)=>{(0,o.useEffect)(()=>(e.addEventListener(t,r),()=>e.removeEventListener(t,r)),[...n,t,e,r])},y=(0,m.g)("hint"),v=Object.freeze({hint:y,hintDialog:`${y}__dialog`,activator:`${y}__activator`,footer:`${y}__footer`,text:`${y}__text`,close:`${y}__close`,icon:`${y}__icon`,inverted:`${y}--inverted`}),_=(0,o.forwardRef)(({className:e,style:t,isVisible:r,position:m="top",heading:y,footer:_,children:b,text:x,withoutTail:j,inverted:E,dataQa:N,dataId:P,role:$="dialog",...w},S)=>{var O;let T,C=(0,o.useRef)(null),{refs:k,floatingStyles:L,context:A}=(0,i.we)({placement:m,middleware:[(0,a.cY)(12),(0,a.UU)({fallbackAxisSideDirection:"start",crossAxis:!1}),(0,a.BN)(),(0,s.UE)({element:C,padding:8})]}),{value:R,show:I,hide:U,toggle:M}=(0,h.u)(r),D=(T=(0,o.useRef)(null),(0,o.useEffect)(()=>{let e=e=>{var t;(null==(t=T.current)?void 0:t.contains(e.target))||U()};return window.addEventListener("click",e),()=>window.removeEventListener("click",e)},[]),T);if((0,o.useImperativeHandle)(S,()=>null==D?void 0:D.current),"u">typeof window){let e;g(window,"resize",(O=()=>A.update(),e=!1,function(...t){e||(O(...t),e=!0,setTimeout(()=>{e=!1},300))}),[]),g(window,"keyup",e=>{"Escape"===e.key&&U()},[U])}return(0,n.jsxs)("div",{ref:D,className:(0,l.A)(v.hint,e),style:t,children:[(0,n.jsx)("button",{type:"button",className:v.activator,ref:k.setReference,tabIndex:0,onClick:M,children:"function"==typeof b?b({show:I,hide:U,toggle:M,visible:R}):b}),R&&(0,n.jsxs)("div",{role:$,className:(0,l.A)(v.hintDialog,{[v.inverted]:E}),ref:k.setFloating,style:L,...w,"data-id":P,"data-qa":N,children:[y&&(0,n.jsx)(d.H,{dataQa:(0,p.g)(`${N}-heading`,!!N),className:"mb-3",as:"h6",type:"h6",children:y}),(0,n.jsx)("p",{"data-qa":(0,p.g)(`${N}-text`,!!N),className:(0,l.A)(v.text),children:x}),_&&(0,n.jsx)("div",{"data-qa":(0,p.g)(`${N}-footer`,!!N),className:(0,l.A)(v.footer),children:_}),(0,n.jsx)("button",{type:"button",tabIndex:-1,className:v.close,onClick:U,children:(0,n.jsx)(c.P,{"aria-hidden":"true",className:v.icon,style:{display:"inline-flex",fontSize:16},children:(0,n.jsx)(u.S,{})})}),!j&&(0,n.jsx)(i.ie,{width:16,ref:C,d:f.t,context:A,fill:E?"var(--color-white)":"var(--color-black-500)"})]})]})});_.displayName="Hint"},69470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=r(10857),o=r(48512);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},98500:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return _}};for(var o in n)Object.defineProperty(t,o,{enumerable:!0,get:n[o]});let a=r(66388),i=r(95155),s=a._(r(12115)),l=r(20091),u=r(22909),c=r(21172),f=r(10857),d=r(70127);r(47284);let p=r(74616),h=r(24972),m=r(69470),g=r(77565);function y(e){var t,n;let o,a,y,[_,b]=(0,s.useOptimistic)(h.IDLE_LINK_STATUS),x=(0,s.useRef)(null),{href:j,as:E,children:N,prefetch:P=null,passHref:$,replace:w,shallow:S,scroll:O,onClick:T,onMouseEnter:C,onTouchStart:k,legacyBehavior:L=!1,onNavigate:A,transitionTypes:R,ref:I,unstable_dynamicOnHover:U,...M}=e;o=N,L&&("string"==typeof o||"number"==typeof o)&&(o=(0,i.jsx)("a",{children:o}));let D=s.default.useContext(u.AppRouterContext),F=!1!==P,B=!1!==P?null===(n=P)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,z="string"==typeof(t=E||j)?t:(0,l.formatUrl)(t);if(L){if(o?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=s.default.Children.only(o)}let q=L?a&&"object"==typeof a&&a.ref:I,K=s.default.useCallback(e=>(null!==D&&(x.current=(0,h.mountLinkInstance)(e,z,D,B,F,b)),()=>{x.current&&((0,h.unmountLinkForCurrentNavigation)(x.current),x.current=null),(0,h.unmountPrefetchableInstance)(e)}),[F,z,D,B,b]),Q={ref:(0,c.useMergedRef)(K,q),onClick(e){L||"function"!=typeof T||T(e),L&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(e),!D||e.defaultPrevented||function(e,t,n,o,a,i,l){{let u,{nodeName:c}=e.currentTarget;if("A"===c.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(t)){o&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:f}=r(70156);s.default.startTransition(()=>{f(t,o?"replace":"push",!1===a?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,l)})}}(e,z,x,w,O,A,R)},onMouseEnter(e){L||"function"!=typeof C||C(e),L&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),D&&F&&(0,h.onNavigationIntent)(e.currentTarget,!0===U)},onTouchStart:function(e){L||"function"!=typeof k||k(e),L&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),D&&F&&(0,h.onNavigationIntent)(e.currentTarget,!0===U)}};return(0,f.isAbsoluteUrl)(z)?Q.href=z:L&&!$&&("a"!==a.type||"href"in a.props)||(Q.href=(0,d.addBasePath)(z)),y=L?s.default.cloneElement(a,Q):(0,i.jsx)("a",{...M,...Q,children:o}),(0,i.jsx)(v.Provider,{value:_,children:y})}r(29842);let v=(0,s.createContext)(h.IDLE_LINK_STATUS),_=()=>(0,s.useContext)(v);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}}]);