import{a as Ee}from"/build/_shared/chunk-WTPDL5JZ.js";import{a as K,b as W}from"/build/_shared/chunk-5PT6UJUN.js";import{a as be}from"/build/_shared/chunk-O2ZYEK6Q.js";import{a as X,r as J}from"/build/_shared/chunk-Y2K4RUWM.js";import"/build/_shared/chunk-JJBZ3ZLJ.js";import{c as D,h as z,j as V,k as $,l as Q,o as q}from"/build/_shared/chunk-HF6MYZTT.js";import{b as ve,d as P,f as ye,g as Y,h,i as y}from"/build/_shared/chunk-2ADOHOB6.js";var re=ve((it,te)=>{"use strict";y();function Ce(n){return n&&typeof n=="object"&&"default"in n?n.default:n}var ee=Y(),Se=Ce(ee);function Z(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Oe(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}var Pe=!!(typeof window<"u"&&window.document&&window.document.createElement);function Ie(n,e,t){if(typeof n!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof e!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof t<"u"&&typeof t!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function r(i){return i.displayName||i.name||"Component"}return function(s){if(typeof s!="function")throw new Error("Expected WrappedComponent to be a React component.");var l=[],a;function o(){a=n(l.map(function(p){return p.props})),c.canUseDOM?e(a):t&&(a=t(a))}var c=function(p){Oe(A,p);function A(){return p.apply(this,arguments)||this}A.peek=function(){return a},A.rewind=function(){if(A.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var T=a;return a=void 0,l=[],T};var u=A.prototype;return u.UNSAFE_componentWillMount=function(){l.push(this),o()},u.componentDidUpdate=function(){o()},u.componentWillUnmount=function(){var T=l.indexOf(this);l.splice(T,1),o()},u.render=function(){return Se.createElement(s,this.props)},A}(ee.PureComponent);return Z(c,"displayName","SideEffect("+r(s)+")"),Z(c,"canUseDOM",Pe),c}}te.exports=Ie});y();y();y();var m=P(be()),ae=P(re()),se=P(Ee()),x=P(Y()),ce=P(ye()),O={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},d={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},ot=Object.keys(d).map(function(n){return d[n]}),g={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},N={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},M={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},xe=Object.keys(N).reduce(function(n,e){return n[N[e]]=e,n},{}),Le=[d.NOSCRIPT,d.SCRIPT,d.STYLE],v="data-react-helmet",_e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Re=function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")},Ge=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}(),w=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},He=function(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)},ne=function(n,e){var t={};for(var r in n)e.indexOf(r)>=0||!Object.prototype.hasOwnProperty.call(n,r)||(t[r]=n[r]);return t},Me=function(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n},k=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},Ne=function(e){var t=L(e,d.TITLE),r=L(e,M.TITLE_TEMPLATE);if(r&&t)return r.replace(/%s/g,function(){return Array.isArray(t)?t.join(""):t});var i=L(e,M.DEFAULT_TITLE);return t||i||void 0},Ye=function(e){return L(e,M.ON_CHANGE_CLIENT_STATE)||function(){}},B=function(e,t){return t.filter(function(r){return typeof r[e]<"u"}).map(function(r){return r[e]}).reduce(function(r,i){return w({},r,i)},{})},Be=function(e,t){return t.filter(function(r){return typeof r[d.BASE]<"u"}).map(function(r){return r[d.BASE]}).reverse().reduce(function(r,i){if(!r.length)for(var s=Object.keys(i),l=0;l<s.length;l++){var a=s[l],o=a.toLowerCase();if(e.indexOf(o)!==-1&&i[o])return r.concat(i)}return r},[])},G=function(e,t,r){var i={};return r.filter(function(s){return Array.isArray(s[e])?!0:(typeof s[e]<"u"&&Ue("Helmet: "+e+' should be of type "Array". Instead found type "'+_e(s[e])+'"'),!1)}).map(function(s){return s[e]}).reverse().reduce(function(s,l){var a={};l.filter(function(u){for(var f=void 0,T=Object.keys(u),b=0;b<T.length;b++){var E=T[b],C=E.toLowerCase();t.indexOf(C)!==-1&&!(f===g.REL&&u[f].toLowerCase()==="canonical")&&!(C===g.REL&&u[C].toLowerCase()==="stylesheet")&&(f=C),t.indexOf(E)!==-1&&(E===g.INNER_HTML||E===g.CSS_TEXT||E===g.ITEM_PROP)&&(f=E)}if(!f||!u[f])return!1;var R=u[f].toLowerCase();return i[f]||(i[f]={}),a[f]||(a[f]={}),i[f][R]?!1:(a[f][R]=!0,!0)}).reverse().forEach(function(u){return s.push(u)});for(var o=Object.keys(a),c=0;c<o.length;c++){var p=o[c],A=(0,ce.default)({},i[p],a[p]);i[p]=A}return s},[]).reverse()},L=function(e,t){for(var r=e.length-1;r>=0;r--){var i=e[r];if(i.hasOwnProperty(t))return i[t]}return null},ke=function(e){return{baseTag:Be([g.HREF,g.TARGET],e),bodyAttributes:B(O.BODY,e),defer:L(e,M.DEFER),encode:L(e,M.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:B(O.HTML,e),linkTags:G(d.LINK,[g.REL,g.HREF],e),metaTags:G(d.META,[g.NAME,g.CHARSET,g.HTTPEQUIV,g.PROPERTY,g.ITEM_PROP],e),noscriptTags:G(d.NOSCRIPT,[g.INNER_HTML],e),onChangeClientState:Ye(e),scriptTags:G(d.SCRIPT,[g.SRC,g.INNER_HTML],e),styleTags:G(d.STYLE,[g.CSS_TEXT],e),title:Ne(e),titleAttributes:B(O.TITLE,e)}},F=function(){var n=Date.now();return function(e){var t=Date.now();t-n>16?(n=t,e(t)):setTimeout(function(){F(e)},0)}}(),ie=function(e){return clearTimeout(e)},Fe=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||F:globalThis.requestAnimationFrame||F,je=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ie:globalThis.cancelAnimationFrame||ie,Ue=function(e){return console&&typeof console.warn=="function"&&console.warn(e)},H=null,De=function(e){H&&je(H),e.defer?H=Fe(function(){oe(e,function(){H=null})}):(oe(e),H=null)},oe=function(e,t){var r=e.baseTag,i=e.bodyAttributes,s=e.htmlAttributes,l=e.linkTags,a=e.metaTags,o=e.noscriptTags,c=e.onChangeClientState,p=e.scriptTags,A=e.styleTags,u=e.title,f=e.titleAttributes;j(d.BODY,i),j(d.HTML,s),ze(u,f);var T={baseTag:I(d.BASE,r),linkTags:I(d.LINK,l),metaTags:I(d.META,a),noscriptTags:I(d.NOSCRIPT,o),scriptTags:I(d.SCRIPT,p),styleTags:I(d.STYLE,A)},b={},E={};Object.keys(T).forEach(function(C){var R=T[C],U=R.newTags,Te=R.oldTags;U.length&&(b[C]=U),Te.length&&(E[C]=T[C].oldTags)}),t&&t(),c(e,b,E)},le=function(e){return Array.isArray(e)?e.join(""):e},ze=function(e,t){typeof e<"u"&&document.title!==e&&(document.title=le(e)),j(d.TITLE,t)},j=function(e,t){var r=document.getElementsByTagName(e)[0];if(!!r){for(var i=r.getAttribute(v),s=i?i.split(","):[],l=[].concat(s),a=Object.keys(t),o=0;o<a.length;o++){var c=a[o],p=t[c]||"";r.getAttribute(c)!==p&&r.setAttribute(c,p),s.indexOf(c)===-1&&s.push(c);var A=l.indexOf(c);A!==-1&&l.splice(A,1)}for(var u=l.length-1;u>=0;u--)r.removeAttribute(l[u]);s.length===l.length?r.removeAttribute(v):r.getAttribute(v)!==a.join(",")&&r.setAttribute(v,a.join(","))}},I=function(e,t){var r=document.head||document.querySelector(d.HEAD),i=r.querySelectorAll(e+"["+v+"]"),s=Array.prototype.slice.call(i),l=[],a=void 0;return t&&t.length&&t.forEach(function(o){var c=document.createElement(e);for(var p in o)if(o.hasOwnProperty(p))if(p===g.INNER_HTML)c.innerHTML=o.innerHTML;else if(p===g.CSS_TEXT)c.styleSheet?c.styleSheet.cssText=o.cssText:c.appendChild(document.createTextNode(o.cssText));else{var A=typeof o[p]>"u"?"":o[p];c.setAttribute(p,A)}c.setAttribute(v,"true"),s.some(function(u,f){return a=f,c.isEqualNode(u)})?s.splice(a,1):l.push(c)}),s.forEach(function(o){return o.parentNode.removeChild(o)}),l.forEach(function(o){return r.appendChild(o)}),{oldTags:s,newTags:l}},pe=function(e){return Object.keys(e).reduce(function(t,r){var i=typeof e[r]<"u"?r+'="'+e[r]+'"':""+r;return t?t+" "+i:i},"")},Ve=function(e,t,r,i){var s=pe(r),l=le(t);return s?"<"+e+" "+v+'="true" '+s+">"+k(l,i)+"</"+e+">":"<"+e+" "+v+'="true">'+k(l,i)+"</"+e+">"},$e=function(e,t,r){return t.reduce(function(i,s){var l=Object.keys(s).filter(function(c){return!(c===g.INNER_HTML||c===g.CSS_TEXT)}).reduce(function(c,p){var A=typeof s[p]>"u"?p:p+'="'+k(s[p],r)+'"';return c?c+" "+A:A},""),a=s.innerHTML||s.cssText||"",o=Le.indexOf(e)===-1;return i+"<"+e+" "+v+'="true" '+l+(o?"/>":">"+a+"</"+e+">")},"")},de=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(e).reduce(function(r,i){return r[N[i]||i]=e[i],r},t)},Qe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(e).reduce(function(r,i){return r[xe[i]||i]=e[i],r},t)},qe=function(e,t,r){var i,s=(i={key:t},i[v]=!0,i),l=de(r,s);return[x.default.createElement(d.TITLE,l,t)]},Xe=function(e,t){return t.map(function(r,i){var s,l=(s={key:i},s[v]=!0,s);return Object.keys(r).forEach(function(a){var o=N[a]||a;if(o===g.INNER_HTML||o===g.CSS_TEXT){var c=r.innerHTML||r.cssText;l.dangerouslySetInnerHTML={__html:c}}else l[o]=r[a]}),x.default.createElement(e,l)})},S=function(e,t,r){switch(e){case d.TITLE:return{toComponent:function(){return qe(e,t.title,t.titleAttributes,r)},toString:function(){return Ve(e,t.title,t.titleAttributes,r)}};case O.BODY:case O.HTML:return{toComponent:function(){return de(t)},toString:function(){return pe(t)}};default:return{toComponent:function(){return Xe(e,t)},toString:function(){return $e(e,t,r)}}}},Ae=function(e){var t=e.baseTag,r=e.bodyAttributes,i=e.encode,s=e.htmlAttributes,l=e.linkTags,a=e.metaTags,o=e.noscriptTags,c=e.scriptTags,p=e.styleTags,A=e.title,u=A===void 0?"":A,f=e.titleAttributes;return{base:S(d.BASE,t,i),bodyAttributes:S(O.BODY,r,i),htmlAttributes:S(O.HTML,s,i),link:S(d.LINK,l,i),meta:S(d.META,a,i),noscript:S(d.NOSCRIPT,o,i),script:S(d.SCRIPT,c,i),style:S(d.STYLE,p,i),title:S(d.TITLE,{title:u,titleAttributes:f},i)}},Ke=function(e){var t,r;return r=t=function(i){He(s,i);function s(){return Re(this,s),Me(this,i.apply(this,arguments))}return s.prototype.shouldComponentUpdate=function(a){return!(0,se.default)(this.props,a)},s.prototype.mapNestedChildrenToProps=function(a,o){if(!o)return null;switch(a.type){case d.SCRIPT:case d.NOSCRIPT:return{innerHTML:o};case d.STYLE:return{cssText:o}}throw new Error("<"+a.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},s.prototype.flattenArrayTypeChildren=function(a){var o,c=a.child,p=a.arrayTypeChildren,A=a.newChildProps,u=a.nestedChildren;return w({},p,(o={},o[c.type]=[].concat(p[c.type]||[],[w({},A,this.mapNestedChildrenToProps(c,u))]),o))},s.prototype.mapObjectTypeChildren=function(a){var o,c,p=a.child,A=a.newProps,u=a.newChildProps,f=a.nestedChildren;switch(p.type){case d.TITLE:return w({},A,(o={},o[p.type]=f,o.titleAttributes=w({},u),o));case d.BODY:return w({},A,{bodyAttributes:w({},u)});case d.HTML:return w({},A,{htmlAttributes:w({},u)})}return w({},A,(c={},c[p.type]=w({},u),c))},s.prototype.mapArrayTypeChildrenToProps=function(a,o){var c=w({},o);return Object.keys(a).forEach(function(p){var A;c=w({},c,(A={},A[p]=a[p],A))}),c},s.prototype.warnOnInvalidChildren=function(a,o){return!0},s.prototype.mapChildrenToProps=function(a,o){var c=this,p={};return x.default.Children.forEach(a,function(A){if(!(!A||!A.props)){var u=A.props,f=u.children,T=ne(u,["children"]),b=Qe(T);switch(c.warnOnInvalidChildren(A,f),A.type){case d.LINK:case d.META:case d.NOSCRIPT:case d.SCRIPT:case d.STYLE:p=c.flattenArrayTypeChildren({child:A,arrayTypeChildren:p,newChildProps:b,nestedChildren:f});break;default:o=c.mapObjectTypeChildren({child:A,newProps:o,newChildProps:b,nestedChildren:f});break}}}),o=this.mapArrayTypeChildrenToProps(p,o),o},s.prototype.render=function(){var a=this.props,o=a.children,c=ne(a,["children"]),p=w({},c);return o&&(p=this.mapChildrenToProps(o,p)),x.default.createElement(e,p)},Ge(s,null,[{key:"canUseDOM",set:function(a){e.canUseDOM=a}}]),s}(x.default.Component),t.propTypes={base:m.default.object,bodyAttributes:m.default.object,children:m.default.oneOfType([m.default.arrayOf(m.default.node),m.default.node]),defaultTitle:m.default.string,defer:m.default.bool,encodeSpecialCharacters:m.default.bool,htmlAttributes:m.default.object,link:m.default.arrayOf(m.default.object),meta:m.default.arrayOf(m.default.object),noscript:m.default.arrayOf(m.default.object),onChangeClientState:m.default.func,script:m.default.arrayOf(m.default.object),style:m.default.arrayOf(m.default.object),title:m.default.string,titleAttributes:m.default.object,titleTemplate:m.default.string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var i=e.rewind();return i||(i=Ae({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),i},r},We=function(){return null},Je=(0,ae.default)(ke,De,Ae)(We),_=Ke(Je);_.renderStatic=_.rewind;var ue="/build/_assets/swiper.min-5C7XM72Y.css";var fe="/build/_assets/global-TMEHBZ7W.css";var me="/build/_assets/favicon-E2DIIAXC.png";var ge=P(Y());y();var he=()=>{if(typeof window!="undefined")return localStorage.getItem("locale")};var rt=()=>[{rel:"stylesheet",href:K},{rel:"stylesheet",href:ue},{rel:"stylesheet",href:W},{rel:"stylesheet",href:fe},{rel:"icon",href:me,type:"image/png"}];var nt=()=>({title:"aic"});function we(){let{gaTrackingId:n,yandexMetrikaId:e}=Q();return(0,ge.useEffect)(()=>{J(String(he()))},[]),h.createElement("html",{style:{minHeight:"100vh"}},h.createElement("head",null,h.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1.0"}),h.createElement(V,null),h.createElement("meta",{name:"google-site-verification",content:"3Ov0xgIIahfjaQO7KzGBQ33f7WSqx-YVyBBnPK4df8Y"}),h.createElement(z,null),typeof document=="undefined"?"__STYLES__":null),h.createElement("body",{style:{margin:0,minHeight:"inherit"}},h.createElement("noscript",null,h.createElement("div",null,h.createElement("img",{src:"https://mc.yandex.ru/watch/"+e,style:{position:"absolute",left:"-9999px"},alt:""}))),h.createElement(q,null),X(h.createElement(D,null)),h.createElement($,null),n?h.createElement(_,null,h.createElement("script",{async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${n}`}),h.createElement("script",{async:!0,id:"gtag-init"},`
                    window.dataLayer = window.dataLayer || [];
                    function gtag(){dataLayer.push(arguments);}
                    gtag('js', new Date());
    
                    gtag('config', '${n}', {
                      page_path: window.location.pathname,
                    });
                    `)):null,e?h.createElement(_,null,h.createElement("script",{type:"text/javascript"},`
                        (function (m, e, t, r, i, k, a) {
                        m[i] = m[i] || function () {
                            (m[i].a = m[i].a || []).push(arguments)
                        };
                        m[i].l = 1 * new Date();
                        for (var j = 0; j < document.scripts.length; j++) {
                            if (document.scripts[j].src === r) {
                                return;
                            }
                        }
                        k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a)
                    })(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
                        ym(${e}, "init", {clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true});
                        `)):null,h.createElement(_,null,h.createElement("script",{type:"text/javascript"},`
                (function(ratingRuneta) {
                var rrcid = new URLSearchParams(window.location.search).get(ratingRuneta); if (rrcid) window.sessionStorage.setItem(ratingRuneta, rrcid);
                rrcid = window.sessionStorage.getItem(ratingRuneta);
                (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
                m[i].l=1*new Date();
                for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) {return;}} k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a
                )})
                (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
                ym(92096748, "init", {
                'clickmap' : false,
                'trackLinks': false,
                'accurateTrackBounce' : true, 'webvisor' : false,
                'params' : {
                'rrcid' : rrcid
            }
            });
            })('rrcid');
            `)),h.createElement("div",{id:"root_modals"})))}export{we as default,rt as links,nt as meta};