(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{7804:function(n,t,e){Promise.resolve().then(e.t.bind(e,6153,23)),Promise.resolve().then(e.t.bind(e,7565,23)),Promise.resolve().then(e.t.bind(e,6583,23)),Promise.resolve().then(e.t.bind(e,6034,23)),Promise.resolve().then(e.t.bind(e,1386,23)),Promise.resolve().then(e.bind(e,2029)),Promise.resolve().then(e.bind(e,5274))},2029:function(n,t,e){"use strict";e.d(t,{ClientInitializer:function(){return s}});var i=e(2265),r=e(631),o=e(5089);let s=()=>{let{env:n}=(0,o.k)();return(0,i.useEffect)(()=>{"dev"!==n.NEXT_PUBLIC_VERSION&&(0,r.zK)()},[n.NEXT_PUBLIC_VERSION]),null}},5274:function(n,t,e){"use strict";e.d(t,{EnvProvider:function(){return o},F:function(){return r}});var i=e(7437);let r=(0,e(2265).createContext)(null),o=n=>{let{children:t,env:e}=n;return(0,i.jsx)(r.Provider,{value:{env:e},children:t})}},5089:function(n,t,e){"use strict";e.d(t,{k:function(){return o}});var i=e(2265),r=e(5274);let o=()=>{let n=(0,i.useContext)(r.F);if(!n)throw Error("useEnv должен быть внутри EnvProvider");return n}},6583:function(){},7565:function(){},6034:function(){},6153:function(){},1386:function(){},631:function(n,t,e){"use strict";function i(){return typeof window>"u"}function r(n){i()||(Array.isArray(window.dataLayer)?window.dataLayer.push(n):console.log("window.dataLayer does not exist"),Array.isArray(window._mtm)?window._mtm.push(n):console.log("window._mtm does not exist"))}function o(){if(i()){console.warn("Cant initialize tag manager on server side");return}"function"!=typeof window._init_gtm?console.warn("Cant init GTM, please check if GTM script exists"):window._init_gtm(),"function"!=typeof window._init_mtm?console.warn("Cant init MTM, please check if MTM script exists"):window._init_mtm()}e.d(t,{AB:function(){return r},zK:function(){return o}})}},function(n){n.O(0,[280,729,570,875,357,971,117,744],function(){return n(n.s=7804)}),_N_E=n.O()}]);