1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,8341,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={cancelIdleCallback:function(){return i},requestIdleCallback:function(){return n}};for(var s in r)Object.defineProperty(a,s,{enumerable:!0,get:r[s]});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},i="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},79520,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={default:function(){return b},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return _}};for(var s in r)Object.defineProperty(a,s,{enumerable:!0,get:r[s]});let n=e.r(55682),i=e.r(90809),l=e.r(43476),o=n._(e.r(74080)),d=i._(e.r(71645)),c=e.r(42732),u=e.r(22737),m=e.r(8341),p=new Map,h=new Set,f=e=>{let{src:t,id:a,onLoad:r=()=>{},onReady:s=null,dangerouslySetInnerHTML:n,children:i="",strategy:l="afterInteractive",onError:d,stylesheets:c}=e,m=a||t;if(m&&h.has(m))return;if(p.has(t)){h.add(m),p.get(t).then(r,d);return}let f=()=>{s&&s(),h.add(m)},g=document.createElement("script"),_=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),r&&r.call(this,t),f()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){d&&d(e)});n?(g.innerHTML=n.__html||"",f()):i?(g.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",f()):t&&(g.src=t,p.set(t,_)),(0,u.setAttributesFromProps)(g,e),"worker"===l&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",l),c&&(e=>{if(o.default.preinit)return e.forEach(e=>{o.default.preinit(e,{as:"style"})});if("undefined"!=typeof window){let t=document.head;e.forEach(e=>{let a=document.createElement("link");a.type="text/css",a.rel="stylesheet",a.href=e,t.appendChild(a)})}})(c),document.body.appendChild(g)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,m.requestIdleCallback)(()=>f(e))}):f(e)}function _(e){e.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");h.add(t)})}function x(e){let{id:t,src:a="",onLoad:r=()=>{},onReady:s=null,strategy:n="afterInteractive",onError:i,stylesheets:u,...p}=e,{updateScripts:g,scripts:_,getIsSsr:x,appDir:b,nonce:v}=(0,d.useContext)(c.HeadManagerContext);v=p.nonce||v;let y=(0,d.useRef)(!1);(0,d.useEffect)(()=>{let e=t||a;y.current||(s&&e&&h.has(e)&&s(),y.current=!0)},[s,t,a]);let w=(0,d.useRef)(!1);if((0,d.useEffect)(()=>{if(!w.current){if("afterInteractive"===n)f(e);else"lazyOnload"===n&&("complete"===document.readyState?(0,m.requestIdleCallback)(()=>f(e)):window.addEventListener("load",()=>{(0,m.requestIdleCallback)(()=>f(e))}));w.current=!0}},[e,n]),("beforeInteractive"===n||"worker"===n)&&(g?(_[n]=(_[n]||[]).concat([{id:t,src:a,onLoad:r,onReady:s,onError:i,...p,nonce:v}]),g(_)):x&&x()?h.add(t||a):x&&!x()&&f({...e,nonce:v})),b){if(u&&u.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===n)if(!a)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,l.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...p,id:t}])})`}});else return o.default.preload(a,p.integrity?{as:"script",integrity:p.integrity,nonce:v,crossOrigin:p.crossOrigin}:{as:"script",nonce:v,crossOrigin:p.crossOrigin}),(0,l.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([a,{...p,id:t}])})`}});"afterInteractive"===n&&a&&o.default.preload(a,p.integrity?{as:"script",integrity:p.integrity,nonce:v,crossOrigin:p.crossOrigin}:{as:"script",nonce:v,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(x,"__nextScript",{value:!0});let b=x;("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esMo
1dule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},32189,(e,t,a)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},65156,(e,t,a)=>{"use strict";var r=e.r(32189);function s(){}function n(){}n.resetWarningCache=s,t.exports=function(){function e(e,t,a,s,n,i){if(i!==r){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:n,resetWarningCache:s};return a.PropTypes=a,a}},45009,(e,t,a)=>{t.exports=e.r(65156)()},16915,(e,t,a)=>{!function(r,s){if("function"==typeof define&&define.amd){let r;void 0!==(r=s(e.r,a,t))&&e.v(r)}else t.exports=s()}(e.e,function(){var e,t,a,r={};r.version="0.2.0";var s=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function n(e,t,a){return e<t?t:e>a?a:e}r.configure=function(e){var t,a;for(t in e)void 0!==(a=e[t])&&e.hasOwnProperty(t)&&(s[t]=a);return this},r.status=null,r.set=function(e){var t=r.isStarted();r.status=1===(e=n(e,s.minimum,1))?null:e;var a=r.render(!t),o=a.querySelector(s.barSelector),d=s.speed,c=s.easing;return a.offsetWidth,i(function(t){var n,i,u,m;""===s.positionUsing&&(s.positionUsing=r.getPositioningCSS()),l(o,(n=e,i=d,u=c,(m="translate3d"===s.positionUsing?{transform:"translate3d("+(-1+n)*100+"%,0,0)"}:"translate"===s.positionUsing?{transform:"translate("+(-1+n)*100+"%,0)"}:{"margin-left":(-1+n)*100+"%"}).transition="all "+i+"ms "+u,m)),1===e?(l(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout(function(){l(a,{transition:"all "+d+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},d)},d)):setTimeout(t,d)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},s.trickleSpeed)};return s.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*n(Math.random()*t,.1,.95)),t=n(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*s.trickleRate)},e=0,t=0,r.promise=function(a){return a&&"resolved"!==a.state()&&(0===t&&r.start(),e++,t++,a.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)})),this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");d(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=s.template;var a,n=t.querySelector(s.barSelector),i=e?"-100":(-1+(r.status||0))*100,o=document.querySelector(s.parent);return l(n,{transition:"all 0 linear",transform:"translate3d("+i+"%,0,0)"}),!s.showSpinner&&(a=t.querySelector(s.spinnerSelector))&&m(a),o!=document.body&&d(o,"nprogress-custom-parent"),o.appendChild(t),t},r.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(s.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&m(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var i=(a=[],function(e){a.push(e),1==a.length&&function e(){var t=a.shift();t&&t(e)}()}),l=function(){var e=["Webkit","O","Moz","ms"],t={};function a(a,r,s){var n;r=t[n=(n=r).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[n]=function(t){var a=document.body.style;if(t in a)return t;for(var r,s=e.length,n=t.charAt(0).toUpperCase()+t.slice(1);s--;)if((r=e[s]+n)in a)return r;return t}(n)),a.style[r]=s}return function(e,t){var r,s,n=arguments;if(2==n.length)for(r in t)void 0!==(s=t[r])&&t.hasOwnProperty(r)&&a(e,r,s);else a(e,n[1],n[2])}}();function o(e,t){return("string"==typeof e?e:u(e)).indexOf(" "+t+" ")>=0}function d(e,t){var a=u(e),r=a+t;o(a,t)||(e.className=r.substring(1))}function c(e,t){var a,r=u(e);o(e,t)&&(e.className=(a=r.replace(" "+t+" "," ")).substring(1,a.length-1))}function u(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function m(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r})},18421,(e,t,a)=>{var r=Object.create,s=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,l=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,d=(e,t)=>s(e,"name",{value:t,configurable:!0}),c=(e,t,a,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of i(t))o.call(e,l)||l===a||s(e,l,{get:()=>t[l],enumerable:!(r=n(t,l))||r.enumerable});return e},u=(e,t,a)=>(a=null!=e?r(l(e)):{}
1,c(!t&&e&&e.__esModule?a:s(a,"default",{value:e,enumerable:!0}),e)),m={},p={default:()=>y,useTopLoader:()=>b};for(var h in p)s(m,h,{get:p[h],enumerable:!0});t.exports=c(s({},"__esModule",{value:!0}),m);var f=u(e.r(45009)),g=u(e.r(71645)),_=u(e.r(16915)),x=u(e.r(16915)),b=d(()=>({start:()=>x.start(),done:e=>x.done(e),remove:()=>x.remove(),setProgress:e=>x.set(e),inc:e=>x.inc(e),trickle:()=>x.trickle(),isStarted:()=>x.isStarted(),isRendered:()=>x.isRendered(),getPositioningCSS:()=>x.getPositioningCSS()}),"useTopLoader"),v=d(({color:e,height:t,showSpinner:a,crawl:r,crawlSpeed:s,initialPosition:n,easing:i,speed:l,shadow:o,template:c,zIndex:u=1600,showAtBottom:m=!1,showForHashAnchor:p=!0,nonce:h})=>{let f=null!=e?e:"#29d",x=o||void 0===o?o?`box-shadow:${o}`:`box-shadow:0 0 10px ${f},0 0 5px ${f}`:"",b=g.createElement("style",{nonce:h},`#nprogress{pointer-events:none}#nprogress .bar{background:${f};position:fixed;z-index:${u};${m?"bottom: 0;":"top: 0;"}left:0;width:100%;height:${null!=t?t:3}px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;${x};opacity:1;-webkit-transform:rotate(3deg) translate(0px,-4px);-ms-transform:rotate(3deg) translate(0px,-4px);transform:rotate(3deg) translate(0px,-4px)}#nprogress .spinner{display:block;position:fixed;z-index:${u};${m?"bottom: 15px;":"top: 15px;"}right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:2px solid transparent;border-top-color:${f};border-left-color:${f};border-radius:50%;-webkit-animation:nprogress-spinner 400ms linear infinite;animation:nprogress-spinner 400ms linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`),v=d(e=>new URL(e,window.location.href).href,"toAbsoluteURL"),y=d((e,t)=>{let a=new URL(v(e)),r=new URL(v(t));return a.href.split("#")[0]===r.href.split("#")[0]},"isHashAnchor"),w=d((e,t)=>{let a=new URL(v(e)),r=new URL(v(t));return a.hostname.replace(/^www\./,"")===r.hostname.replace(/^www\./,"")},"isSameHostName");return g.useEffect(()=>{let e,t;function o(e,t){let a=new URL(e),r=new URL(t);if(a.hostname===r.hostname&&a.pathname===r.pathname&&a.search===r.search){let e=a.hash,t=r.hash;return e!==t&&a.href.replace(e,"")===r.href.replace(t,"")}return!1}_.configure({showSpinner:null==a||a,trickle:null==r||r,trickleSpeed:null!=s?s:200,minimum:null!=n?n:.08,easing:null!=i?i:"ease",speed:null!=l?l:200,template:null!=c?c:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'}),d(o,"isAnchorOfCurrentUrl");var u,m,h=document.querySelectorAll("html");let f=d(()=>h.forEach(e=>e.classList.remove("nprogress-busy")),"removeNProgressClass");function g(e){for(;e&&"a"!==e.tagName.toLowerCase();)e=e.parentElement;return e}function x(e){try{let t=e.target,a=g(t),r=null==a?void 0:a.href;if(r){let t=window.location.href,s=""!==a.target,n=["tel:","mailto:","sms:","blob:","download:"].some(e=>r.startsWith(e));if(!w(window.location.href,a.href))return;let i=o(t,r)||y(window.location.href,a.href);if(!p&&i)return;r===t||s||n||i||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey||!v(a.href).startsWith("http")?(_.start(),_.done(),f()):_.start()}}catch(e){_.start(),_.done()}}function b(){_.done(),f()}function j(){_.done()}return d(g,"findClosestAnchor"),d(x,"handleClick"),e=(u=window.history).pushState,u.pushState=(...t)=>(_.done(),f(),e.apply(u,t)),t=(m=window.history).replaceState,m.replaceState=(...e)=>(_.done(),f(),t.apply(m,e)),d(b,"handlePageHide"),d(j,"handleBackAndForth"),window.addEventListener("popstate",j),document.addEventListener("click",x),window.addEventListener("pagehide",b),()=>{document.removeEventListener("click",x),window.removeEventListener("pagehide",b),window.removeEventListener("popstate",j)}},[]),b},"NextTopLoader"),y=v;v.propTypes={color:f.string,height:f.number,showSpinner:f.bool,crawl:f.bool,crawlSpeed:f.number,initialPosition:f.number,easing:f.string,speed:f.number,template:f.string,shadow:f.oneOfType([f.string,f.bool]),zIndex:f.number,showAtBottom:f.bool}},14378,e=>{"use strict";var t=e.i(43476),a=e.i(22016),r=e.i(18566);e.s(["MenuClient",0,({items:e,className:s})=>{let n=(0,r.usePathname)(),i=e=>e.replace(/^\/index\.php/,"").replace(/\/$/,"").toLowerCase()||"/",l=e=>e.map(e=>
1{let r=i(e.uri||"/"),s=i(n),o="/"===r?"/"===s:s===r||s.startsWith(r+"/");return(0,t.jsxs)("li",{className:`menu-item${o?" active":""}`,children:[(0,t.jsxs)(a.default,{href:r,className:`menu-item__link${o?" active":""}`,children:[e.label,e.children?.length>0&&(0,t.jsx)("span",{className:"dropdown-icon",onClick:e=>{e.preventDefault(),e.stopPropagation()},children:"â¼"})]}),e.children?.length>0&&(0,t.jsx)("ul",{className:"submenu",children:l(e.children)})]},e.id)});return(0,t.jsx)("ul",{className:`flex-block ${s}`,children:l(e)})}])},42946,e=>{e.v({age:"HeaderMiddle-module__aA1zSG__age",allNotificationsLink:"HeaderMiddle-module__aA1zSG__allNotificationsLink",avatarInitial:"HeaderMiddle-module__aA1zSG__avatarInitial",avatarMenu:"HeaderMiddle-module__aA1zSG__avatarMenu",bellIcon:"HeaderMiddle-module__aA1zSG__bellIcon",emptyMiniCart:"HeaderMiddle-module__aA1zSG__emptyMiniCart",loading:"HeaderMiddle-module__aA1zSG__loading",loadingCart:"HeaderMiddle-module__aA1zSG__loadingCart",markAsReadBtn:"HeaderMiddle-module__aA1zSG__markAsReadBtn",markAsReadButton:"HeaderMiddle-module__aA1zSG__markAsReadButton",menuAndLogo:"HeaderMiddle-module__aA1zSG__menuAndLogo",menuNav:"HeaderMiddle-module__aA1zSG__menuNav",middleMenuWrap:"HeaderMiddle-module__aA1zSG__middleMenuWrap",miniCartTitle:"HeaderMiddle-module__aA1zSG__miniCartTitle",miniCartTotal:"HeaderMiddle-module__aA1zSG__miniCartTotal",noNotifications:"HeaderMiddle-module__aA1zSG__noNotifications",notificationContent:"HeaderMiddle-module__aA1zSG__notificationContent",n
1otificationContentArea:"HeaderMiddle-module__aA1zSG__notificationContentArea",notificationCount:"HeaderMiddle-module__aA1zSG__notificationCount",notificationDate:"HeaderMiddle-module__aA1zSG__notificationDate",notificationDropdown:"HeaderMiddle-module__aA1zSG__notificationDropdown",notificationFooter:"HeaderMiddle-module__aA1zSG__notificationFooter",notificationHeader:"HeaderMiddle-module__aA1zSG__notificationHeader",notificationItem:"HeaderMiddle-module__aA1zSG__notificationItem",notificationList:"HeaderMiddle-module__aA1zSG__notificationList",notificationText:"HeaderMiddle-module__aA1zSG__notificationText",notificationTitle:"HeaderMiddle-module__aA1zSG__notificationTitle",notificationWrapper:"HeaderMiddle-module__aA1zSG__notificationWrapper",postLink:"HeaderMiddle-module__aA1zSG__postLink",productImage:"HeaderMiddle-module__aA1zSG__productImage",productQty:"HeaderMiddle-module__aA1zSG__productQty",productRemoveMiniCart:"HeaderMiddle-module__aA1zSG__productRemoveMiniCart",productWrap:"HeaderMiddle-module__aA1zSG__productWrap",quantityCount:"HeaderMiddle-module__aA1zSG__quantityCount",show:"HeaderMiddle-module__aA1zSG__show",unread:"HeaderMiddle-module__aA1zSG__unread",userActions:"HeaderMiddle-module__aA1zSG__userActions",userActionsWrap:"HeaderMiddle-module__aA1zSG__userActionsWrap"})},39557,e=>{"use strict";var t=e.i(68834),a=e.i(6144);let r=["ru","ÑÑ","su","by"],s=async(e,t,s,n)=>
1{let i=e.length<3?"Ðогин должен ÑодеÑжаÑÑ Ð¼Ð¸Ð½Ð¸Ð¼Ñм 3 Ñимвола.":/^[a-zA-Z0-9]+$/.test(e)?null:"Ðогин должен ÑодеÑжаÑÑ ÑолÑко лаÑинÑкие бÑÐºÐ²Ñ Ð¸ ÑиÑÑÑ.";if(i)return{errors:[i]};let l=(e=>{if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))return"ÐекоÑÑекÑнÑй ÑоÑÐ¼Ð°Ñ ÑлекÑÑонной поÑÑÑ.";let t=e.split("@")[1].toLowerCase().split(".").pop();return r.includes(t)?null:"РегиÑÑÑаÑÐ¸Ñ ÑазÑеÑена ÑолÑко Ñ ÑоÑÑийÑÐºÐ¸Ñ email (.ru, .ÑÑ, .su, .by)."})(t);if(l)return{errors:[l]};let o=s.length<6?"ÐаÑÐ¾Ð»Ñ Ð´Ð¾Ð»Ð¶ÐµÐ½ ÑодеÑжаÑÑ Ð¼Ð¸Ð½Ð¸Ð¼Ñм 6 Ñимволов.":/[A-Z]/.test(s)?/[0-9]/.test(s)?/[!@#$%^&*(),.?":{}|<>]/.test(s)?null:"ÐаÑÐ¾Ð»Ñ Ð´Ð¾Ð»Ð¶ÐµÐ½ ÑодеÑжаÑÑ Ñ Ð¾ÑÑ Ð±Ñ Ð¾Ð´Ð¸Ð½ ÑпеÑиалÑнÑй Ñимвол (напÑимеÑ, !, @, #, $, %, ^, &, *, (, ), ?, :, .).":"ÐаÑÐ¾Ð»Ñ Ð´Ð¾Ð»Ð¶ÐµÐ½ ÑодеÑжаÑÑ Ñ Ð¾ÑÑ Ð±Ñ Ð¾Ð´Ð½Ñ ÑиÑÑÑ.":"ÐаÑÐ¾Ð»Ñ Ð´Ð¾Ð»Ð¶ÐµÐ½ ÑодеÑжаÑÑ Ñ Ð¾ÑÑ Ð±Ñ Ð¾Ð´Ð½Ñ Ð·Ð°Ð³Ð»Ð°Ð²Ð½ÑÑ Ð±ÑквÑ.";if(o)return{errors:[o]};let d=0===n.length?"ÐаполниÑе поле":null;if(d)return{errors:[d]};let c=` 2 mutation RegisterUser( 3 $username: String!, 4 $password: String!, 5 $email: String!, 6 $displayName: String! 7 ) { 8 registerUser( 9 input: { 10 clientMutationId: "uniqueId", 11 username: $username, 12 password: $password, 13 email: $email, 14 displayName: $displayName 15 } 16 ) { 17 user { 18 jwtAuthToken 19 jwtRefreshToken 20 } 21 } 22 } 23 `;try{return{user:(await (0,a.graphqlRequest)({query:c,variables:{username:e,password:s,email:t,displayName:n}})).registerUser}}catch(e){return{errors:[{message:e.message||"ÐÑоизоÑла непÑÐµÐ´Ð²Ð¸Ð´ÐµÐ½Ð½Ð°Ñ Ð¾Ñибка."}]}}};var n=e.i(1232),i=e.i(81949);let l=(0,t.create)(e=>({activeTab:"login",user:null,errors:[],isLoading:!1,displayName:"",username:"",email:"",password:"",showPassword:!1,toggleShowPassword:()=>e(e=>({showPassword:!e.showPassword})),toggleTabsAuthModal:()=>e(e=>({tabsAuthModal:!e.tabsAuthModal})),setActiveTab:t=>e({activeTab:t}),setUsername:t=>e({username:t}),setEmail:t=>e({email:t}),setPassword:t=>e({password:t}),setDisplayName:t=>e({displayName:t}),setErrors:t=>e({errors:t}),clearErrors:()=>e({errors:[]}),register:async(t,a,r,n)=>{e({isLoading:!0});try{let{user:i,errors:l}=await s(t,a,r,n);i?(e({user:i,errors:[]}),window.location.reload()):e({errors:l||[]})}catch(e){}finally{e({isLoading:!1})}},login:async(t,a)=>{if(t.includes("@")&&!["ru","ÑÑ","su","by"].includes(t.split("@")[1]?.toLowerCase().split(".").pop()))return void e({errors:["ÐвÑоÑизаÑÐ¸Ñ ÑазÑеÑена ÑолÑко Ñ ÑоÑÑийÑÐºÐ¸Ñ email (.ru, .ÑÑ, .su, .by)."]});e({isLoading:!0}),localStorage.removeItem("session_token");try{let r=await i.default.post("/api/login",{username:t,password:a});if(r.data.errors&&r.data.errors.length>0)return void e({errors:r.data.errors});200===r.status?(e({user:r.data.user,errors:[]}),window.location.reload()):e({user:r.data.user,errors:[]})}catch(t){e({errors:t.response?.data?.errors||["ÐÑибка пÑи авÑоÑизаÑии"]})}finally{e({isLoading:!1})}},resetPassword:async t=>{e({isLoading:!0});try{let a=await i.default.post("/api/reset-password",{username:t});a.data.errors?.length>0?e({errors:a.data.errors}):e({errors:[],successMessage:a.data.message})}catch(t){e({errors:t.response?.data?.errors||["ÐÑибка пÑи ÑбÑоÑе паÑолÑ"]})}finally{e({isLoading:!1})}},logout:async()=>{try{await i.default.post("/api/logout"),localStorage.removeItem("session_token"),localStorage.removeItem("accessibility-settings"),n.useCartStore.setState({items:[],totalQuantity:0,totalPrice:null}),e({user:null,errors:[],username:"",password:"",displayName:""}),window.location.href="/"}catch(e){localStorage.removeItem("session_token"),window.location.href="/"}}}));e.s(["useAuthStore",0,l],39557)},35460,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(57688),s=e.i(22016),n=e.i(42946),i=e.i(18092),l=e.i(68341),o=e.i(28e3),d=e.i(39557),c=e.i(39992),u=e.i(22625);e.s(["UserAccount",0,()=>{let{openOverlay:e}=(0,l.useOverlayStore)(),{openModal:m}=(0,o.useModalStore)(),{userCurrent:p,loading:h}=(0,c.useAuth)(),[f,g]=(0,a.useState)(!1),_=(0,a.useRef)(null);(0,a.useEffect)(()=>{function e(e){_.current&&!_.current.contains(e.target)&&g(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[_]);let x=async()=>{g(!1);try{await d.useAuthStore.getState().logout(),window.location.reload()}catch(e){}}
23,b=p?.name||p?.email||"ÐолÑзоваÑелÑ",v=b.charAt(0).toUpperCase(),y=p?.avatar?.url&&!p.avatar.url.includes("gravatar.com");return(0,t.jsxs)("div",{className:`${n.default.userActionsWrap} user-menu__wrap user-account`,ref:_,children:[(0,t.jsx)("div",{className:n.default.avatarWrap,onClick:()=>{g(!f)},children:(0,t.jsx)(i.Icon,{id:"user",width:32,height:32})}),(0,t.jsx)("ul",{className:`user-menu ${f?"open":""}`,children:h?(0,t.jsx)("li",{style:{justifyContent:"center",cursor:"default"},children:(0,t.jsx)(u.Spiner,{})}):p?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("li",{children:[y?(0,t.jsx)(r.default,{className:n.default.avatarMenu,src:p.avatar.url,alt:`ÐваÑÐ°Ñ ${b}`,width:45,height:45,style:{borderRadius:"50%"}}):(0,t.jsx)("div",{className:n.default.avatarInitial,children:v}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("span",{children:["ÐÑивеÑ, ",b]}),(0,t.jsx)("span",{children:p.email?` (${p.email})`:""})]})]}),(0,t.jsx)("li",{style:{cursor:"pointer"},onClick:()=>g(!1),children:(0,t.jsx)(s.default,{href:"/account",children:"ÐиÑнÑй кабинеÑ"})}),(0,t.jsx)("li",{style:{cursor:"pointer"},onClick:x,children:"ÐÑÑ
од"})]}):(0,t.jsx)("li",{onClick:()=>{g(!1),e("modal-auth"),m()},style:{cursor:"pointer"},children:"ÐойÑи / РегиÑÑÑаÑиÑ"})})]})}])},7345,e=>{"use strict";var t=e.i(43476),a=e.i(57688),r=e.i(71645),s=e.i(18092),n=e.i(42946),i=e.i(1232),l=e.i(84465),o=e.i(22016),d=e.i(41762),c=e.i(22625),u=e.i(55952);e.s(["MiniCart",0,()=>{let{items:e,totalPrice:m,removeItemFromCart:p,setCart:h,totalQuantity:f}=(0,i.useCartStore)(),[g,_]=(0,r.useState)(null),[x,b]=(0,r.useState)(!0),[v,y]=(0,r.useState)(null),[w,j]=(0,r.useState)(!1),S=(0,r.useRef)(null),k=(0,r.useCallback)(async()=>{try{b(!0);let e=await (0,d.getCart)();h(e)}catch(e){}finally{b(!1)}},[h]);(0,r.useEffect)(()=>{k()},[k]),(0,r.useEffect)(()=>{function e(e){S.current&&!S.current.contains(e.target)&&j(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[S]),(0,r.useEffect)(()=>{let e=()=>{k()};return window.addEventListener("customCartUpdate",e),()=>{window.removeEventListener("customCartUpdate",e)}},[k]);let N=async t=>{_(t);try{let a=e.find(e=>e.key===t),r=a?a.name:"ТоваÑ";await p(t)?y({message:`"${r}" Ñдален из коÑзинÑ.`,type:"success"}):y({message:`Ðе ÑдалоÑÑ ÑдалиÑÑ ÑоваÑ.`,type:"error"})}catch(e){y({message:`ÐÑибка пÑи Ñдалении ÑоваÑа.`,type:"error"})}finally{_(null)}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:`${n.default.userActionsWrap} user-menu__wrap basket`,ref:S,children:[(0,t.jsxs)("div",{onClick:()=>{j(!w)},style:{cursor:"pointer"},children:[(0,t.jsx)(s.Icon,{id:"basket",width:32,height:32}),f>0&&(0,t.jsx)("span",{className:n.default.quantityCount,children:f})]}),(0,t.jsxs)("ul",{className:`user-menu ${w?"open":""}`,children:[(0,t.jsx)("li",{className:n.default.miniCartTitle,children:(0,t.jsx)("div",{children:"ÐоÑзина"})}),x?(0,t.jsx)("li",{className:n.default.loadingCart,children:(0,t.jsx)(c.Spiner,{})}):e.length>0?(0,t.jsxs)(t.Fragment,{children:[e.map((e,r)=>{let s=g===e.key,i=e.image||e.imageUrl||e.product?.node?.image?.mediaItemUrl,o=e.name||e.product?.node?.name,d=e.price||e.variation?.node?.salePrice||e.variation?.node?.regularPrice;return(0,t.jsxs)("li",{className:`${n.default.productWrap} ${s?n.default.loading:""}`,children:[(0,t.jsxs)("div",{className:n.default.productImage,children:[i&&(0,t.jsx)(a.default,{src:i,width:40,height:40,alt:o||"ТоваÑ"}),(0,t.jsx)("span",{className:n.default.productQty,children:e.quantity})]}),(0,t.jsxs)("p",{className:n.default.productName,children:[o,e.attributes?.length>0&&(0,t.jsxs)("span",{className:n.default.attributeText,children:["â ",e.attributes.map(e=>e.labelResolved).filter(Boolean).join(", ")]})]}),(0,t.jsx)("p",{children:(0,t.jsxs)("b",{children:[d,"â½"]})}),(0,t.jsx)(l.Button,{className:`${n.default.productRemoveMiniCart} ${s?n.default.loading:""}`,buttonText:"â",onClick:()=>N(e.key),disabled:s})]},`${e.key}-${r}`)}),(0,t.jsx)("li",{children:(0,t.jsx)(o.default,{className:"button-primary go-to-cart",href:"/cart",onClick:()=>j(!1),children:"ÐÑоÑмиÑÑ Ð·Ð°ÐºÐ°Ð·"})}),(0,t.jsxs)("li",{className:n.default.miniCartTotal,children:[(0,t.jsx)("b",{children:"ÐÑого:"})," ",(0,t.jsxs)("b",{children:[m,"â½"]})]})]}):(0,t.jsx)("div",{className:n.default.emptyMiniCart,children:(0,t.jsx)("b",{children:"ÐоÑзина пÑÑÑа"})})]})]}),v&&(0,t.jsx)(u.Notification,{message:v.message,type:v.type,onClose:()=>y(null)})]})}])},29598,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(18566),s=e.i(18092),n=e.i(42946),i=e.i(39992),l=e.i(14632),o=e.i(28e3),d=e.i(68341),c=e.i(91189),u=e.i(22016);e.s(["NotificationBell",0,()=>{let{userCurrent:e,loading:m}=(0,i.useAuth)(),p=(0,r.useRouter)(),{openModal:h}=(0,o.useModalStore)(),{openOverlay:f}=(0,d.useOverlayStore)(),[g,_]=(0,a.useState)(!1),x=(0,a.useRef)(null),b=(0,l.useNotificationStore)(e=>e.notifications),v=(0,l.useNotificationStore)(e=>e.unreadCount),y=(0,l.useNotificationStore)(e=>e.initializeSocket),w=(0,l.useNotificationStore)(e=>e.disconnectSocket),j=(0,l.useNotificationStore)(e=>e.markAsRead);(0,a.useEffect)(()=>(!m&&e&&y(e.databaseId),()=>{w()}),[m,e,y,w]),(0,a.useEffect)(()=>{function e(e){x.current&&!x.current.contains(e.target)&&_(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[x]);let S=b.slice(0,10);return(0,t.jsxs)("div",{className:`${n.default.notificationWrapper} ${n.default.userActionsWrap}`,ref:x,children:[(0,t.jsxs)("div",{className:n.default.bellIcon,onClick:()=>{_(!g)},children:[(0,t.jsx)(s.Icon,{id:"bell",width:32,height:32}),e&&v>0&&(0,t.jsx)("span",{className:n.default.notificationCount,children:v>10?"10+":v})]}),(0,t.jsxs)("div",{className:`${n.default.notificationDropdown} ${g?n.default.show:""}`,children:[(0,t.jsx)("div",{className:n.default.notificationHeader,children:(0,t.jsx)("div",{children:"УведомлениÑ"})}),m?(0,t.jsx)("p",{className:n.default.noNotifications,children:"ÐагÑÑзка..."}):e?(0,t.jsxs)(t.Fragment,{children:[b.length>0?(0,t.jsx)("ul",{className:n.default.notificationList,children:S.map(e=>{let a=1===e.is_read,r=e.link||e.post_slug||e.postSlug,s=r?r.startsWith("/")?r:`/${r}`:"#",i=r&&"#"!==r;return(0,t.jsxs)("li",{className:`${n.default.notificationItem} ${!a?n.default.unread:""}`,children:[(0,t.jsx)("a",{href:s,onClick:t=>{var r;i?(r=e.id,t.preventDefault(),a||j(r),_(!1),p.push(s)):t.preventDefault()},className:n.default.notificationContentArea,style:{cursor:i?"pointer":"default"},children:(0,t.jsxs)("div",{className:n.default.notificationText,children:[(0,t.jsx)("p",{className:n.default.notificationTitle,children:e.title}),(0,t.jsx)("div",{className:n.default.notificationContent,dangerouslySetInnerHTML:{__html:e.content}}),(0,t.jsxs)("div",{className:n.default.notificationFooter,children:[(0,t.jsx)("span",{className:n.default.notificationDate,children:(0,c.formatDate)(e.created_at)}),i&&(0,t.jsx)("span",{className:n.default.postLink,children:"ÐеÑейÑи â"})]})]})}),!a&&(0,t.jsx)("button",{onClick:()=>j(e.id),className:n.default.markAsReadBtn,title:"ÐÑмеÑиÑÑ ÐºÐ°Ðº пÑоÑиÑано",children:"â"})]},e.id)})}):(0,t.jsx)("p",{className:n.default.noNotifications,children:"ÐÐµÑ Ð½Ð¾Ð²ÑÑ
Ñведомлений"}),(0,t.jsx)(u.default,{href:"/account?tab=notifications",className:n.default.allNotificationsLink,onClick:()=>_(!1),children:"ÐÑе ÑведомлениÑ"})]}):(0,t.jsx)("div",{className:n.default.noNotifications,children:(0,t.jsxs)("p",{children:[(0,t.jsx)("span",{className:"link-style",onClick:()=>{_(!1),f("modal-auth"),h()},style:{cursor:"pointer"},children:"ÐойдиÑе в аккаÑнÑ"}),", ÑÑÐ¾Ð±Ñ Ð²Ð¸Ð´ÐµÑÑ ÑведомлениÑ."]})})]})]})}])},453,e=>{"use strict";let t=(0,e.i(68834).create)(e=>({isOpenMenu:!1,overlayOpen:!1,activeMenus:{},toggle:()=>e(e=>({isOpenMenu:!e.isOpenMenu})),toggleOverlay:()=>e(e=>({overlayOpen:!e.overlayOpen})),closeBurger:()=>e({isOpenMenu:!1}),toggleMenu:t=>e(e=>({activeMenus:{...e.activeMenus,[t]:!e.activeMenus[t]}})),closeAllMenus:()=>e({activeMenus:{}})}));e.s(["useMenus",0,t])},49306,e=>{"use strict";var t=e.i(43476),a=e.i(453),r=e.i(68341);e.s(["Burger",0,()=>{let{isOpenMenu:e,toggle:s}=(0,a.useMenus)(),{openOverlay:n}=(0,r.useOverlayStore)();return(0,t.jsxs)("button",{id:"burger",className:e?"open":"",onClick:()=>{s(),n("menu")},children:[(0,t.jsx)("span",{}),(0,t.jsx)("span",{}),(0,t.jsx)("span",{})]})}])},54085,e=>
23{e.v({noResults:"SearchInputWithResults-module__gkNelq__noResults",resultContent:"SearchInputWithResults-module__gkNelq__resultContent",resultImage:"SearchInputWithResults-module__gkNelq__resultImage",resultItem:"SearchInputWithResults-module__gkNelq__resultItem",searchInput:"SearchInputWithResults-module__gkNelq__searchInput",searchInputWrap:"SearchInputWithResults-module__gkNelq__searchInputWrap",searchResults:"SearchInputWithResults-module__gkNelq__searchResults",searchSpiner:"SearchInputWithResults-module__gkNelq__searchSpiner",searchTitle:"SearchInputWithResults-module__gkNelq__searchTitle",searchWrapper:"SearchInputWithResults-module__gkNelq__searchWrapper",showAll:"SearchInputWithResults-module__gkNelq__showAll"})},65749,e=>{"use strict";var t=e.i(43476),a=e.i(57688),r=e.i(71645),s=e.i(6144);async function n(e){let t=` 24 query SearchNews($term: String!) { 25 relevanssiSearch(term: $term, limit: 10) { 26 databaseId 27 id 28 title 29 slug 30 date 31 fifuImageUrl 32 } 33 } 34 `;try{let a=await (0,s.graphqlRequest)({query:t,variables:{term:e}});return(a?.relevanssiSearch||[]).map(e=>({...e,imgUrl:e.featuredImage?.node?.sourceUrl||e.fifuImageUrl||null}))}catch(e){return[]}}var i=e.i(22016),l=e.i(54085),o=e.i(43139),d=e.i(22625),c=e.i(18566);e.s(["SearchInputWithResults",0,({classLabel:e,placeholder:s="ÐоиÑк по ÑайÑÑ"})=>{let[u,m]=(0,r.useState)(""),[p,h]=(0,r.useState)([]),[f,g]=(0,r.useState)(!1),[_,x]=(0,r.useState)(!1),b=(0,r.useRef)(null),v=(0,c.usePathname)();return(0,r.useEffect)(()=>{g(!1)},[v]),(0,r.useEffect)(()=>{let e=e=>{b.current&&!b.current.contains(e.target)&&g(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,r.useEffect)(()=>{let e=setTimeout(()=>{u.length>=2?(x(!0),n(u).then(e=>{h(e.filter(e=>e&&Object.keys(e).length>0)),g(!0)}).catch(()=>{h([]),g(!0)}).finally(()=>{x(!1)})):(h([]),g(!1),x(!1))},1e3);return()=>clearTimeout(e)},[u]),(0,t.jsxs)("div",{className:`${l.default.searchWrapper} ${e||""}`,ref:b,children:[(0,t.jsxs)("div",{className:l.default.searchInputWrap,children:[(0,t.jsx)(o.Input,{type:"text",value:u,placeholder:s,onChange:e=>m(e.target.value),className:l.default.searchInput}),_&&(0,t.jsx)(d.Spiner,{className:l.default.searchSpiner})]}),f&&!_&&0===p.length&&(0,t.jsx)("div",{className:l.default.noResults,children:"ÐÐµÑ ÑезÑлÑÑаÑов"}),f&&p.length>0&&(0,t.jsxs)("div",{className:l.default.searchResults,children:[(0,t.jsx)("ul",{children:p.map(e=>e.id&&e.slug?(0,t.jsx)("li",{className:l.default.resultItem,children:(0,t.jsx)(i.default,{href:`/news/${e.slug}`,children:(0,t.jsxs)("div",{className:l.default.resultContent,children:[(e.featuredImage?.node?.sourceUrl||e.fifuImageUrl)&&(0,t.jsx)(a.default,{width:50,height:50,src:e.featuredImage?.node?.sourceUrl||e.fifuImageUrl,alt:e.title,className:l.default.resultImage}),(0,t.jsx)("span",{className:l.default.searchTitle,children:e.title})]})})},e.slug):null)}),(0,t.jsx)("div",{className:l.default.showAll,children:(0,t.jsx)(i.default,{href:`/search?query=${encodeURIComponent(u)}`,children:"ÐоказаÑÑ Ð²Ñе ÑезÑлÑÑаÑÑ â"})})]})]})}],65749)},27501,e=>{e.v({active:"MobileNavMenu-module__MwMygq__active",buttonClose:"MobileNavMenu-module__MwMygq__buttonClose",inputMobSearch:"MobileNavMenu-module__MwMygq__inputMobSearch",logo:"MobileNavMenu-module__MwMygq__logo",mobileCategoryMenu:"MobileNavMenu-module__MwMygq__mobileCategoryMenu",mobileCloseBtn:"MobileNavMenu-module__MwMygq__mobileCloseBtn",mobileMenuBottom:"MobileNavMenu-module__MwMygq__mobileMenuBottom",mobileMenuWrap:"MobileNavMenu-module__MwMygq__mobileMenuWrap"})},26271,e=>{"use strict";var t=e.i(43476),a=e.i(57688),r=e.i(22016),s=e.i(453),n=e.i(84465),i=e.i(27501);let l=({items:e,onItemClick:a})=>{let{activeMenus:n,toggleMenu:i}=(0,s.useMenus)();return(0,t.jsx)("ul",{className:"mobile-category__menu",children:e.map((e,s)=>{let l=n[s]||!1;return(0,t.jsxs)("li",{className:"menu-item",children:[(0,t.jsxs)("div",{className:"menu-item__wrapper",style:{display:"flex",alignItems:"center",gap:"6px",justifyContent:"space-between"},children:[(0,t.jsx)(r.default,{href:e?.uri,className:"menu-item__link",onClick:a,children:e.label}),e?.children&&e.children.length>0&&(0,t.jsx)("span",{className:`dropdown-icon${l?" active":""}`,onClick:e=>{e.preventDefault(),e.stopPropagation(),i(s)},style:{cursor:"pointer",userSelect:"none"},children:"â¼"})]}),e.children&&e.children.length>0&&(0,t.jsx)("ul",{className:`submenu${l?" active":""}`,children:e.children.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e?.uri,onClick:a,children:e?.label})},e?.id))})]},e.id)})})},o=({socialLinks:e})=>e&&0!==e.length?(0,t.jsx)("ul",{className:"flex-block social-links__mob",children:e.map((e,s)=>{let n=e.soczialnayaSet,i=n?.image?.node?.mediaItemUrl,l=n?.image?.node?.altText,o=n?.link;return i&&o?(0,t.jsx)("li",{className:"flex-block",children:(0,t.jsx)(r.default,{rel:"nofollow",href:o,target:"_blank",children:(0,t.jsx)(a.default,{src:i,width:24,height:24,alt:l,title:l})})},s):null})}):null;var d=e.i(68341),c=e.i(65749);e.s(["MobileNavMenuClient",0,({siteLogo:e,hierarchicalMenu:u,socialLinks:m})=>{let{toggle:p,isOpenMenu:h}=(0,s.useMenus)(),{closeOverlay:f}=(0,d.useOverlayStore)(),g=()=>{p(),f()};return(0,t.jsxs)("div",{className:`${i.default.mobileMenuWrap} ${h?i.default.active:""}`,children:[(0,t.jsx)("div",{className:i.default.mobileCloseBtn,children:(0,t.jsx)(n.Button,{className:i.default.buttonClose,titleBtn:"СкÑÑÑÑ Ð¼ÐµÐ½Ñ",buttonText:"Ã",onClick:g})}),(0,t.jsxs)("div",{className:i.default.mobileMenuTop,children:[e?.sourceUrl?(0,t.jsx)(r.default,{href:"/",className:i.default.logo,onClick:g,children:(0,t.jsx)(a.default,{src:e.sourceUrl,alt:"ÐогоÑип",width:446,height:63})}):null,(0,t.jsx)(c.SearchInputWithResults,{classLabel:i.default.inputSearch,placeholder:"ÐоиÑк по ÑайÑÑ"}),(0,t.jsx)("nav",{className:"flex-block",children:(0,t.jsx)(l,{items:u,onItemClick:g})})]}),(0,t.jsxs)("div",{className:i.default.mobileMenuBottom,children:[(0,t.jsx)("p",{children:"ÐÑ Ð² ÑоÑиалÑнÑÑ ÑеÑÑÑ :"}),m?.length>0&&(0,t.jsx)(o,{socialLinks:m})]})]})}],26271)},66003,e=>{e.v({arrowIcon:"Footer-module__JGhRua__arrowIcon",arrowIconOpen:"Footer-module__JGhRua__arrowIconOpen",categoryMenuFooter:"Footer-module__JGhRua__categoryMenuFooter",collapsibleContent:"Footer-module__JGhRua__collapsibleContent",collapsibleContentOpen:"Footer-module__JGhRua__collapsibleContentOpen",collapsibleTitle:"Footer-module__JGhRua__collapsibleTitle",footerBottom:"Footer-module__JGhRua__footerBottom",footerMiddle:"Footer-module__JGhRua__footerMiddle",footerPages:"Footer-module__JGhRua__footerPages",footerSocial:"Footer-module__JGhRua__footerSocial",footerTopBtns:"Footer-module__JGhRua__footerTopBtns",footerTopWrap:"Footer-module__JGhRua__footerTopWrap",logo:"Footer-module__JGhRua__logo"})},55160,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(22016),s=e.i(66003);function n({items:e}){let[n,i]=(0,a.useState)(!1);return(0,t.jsxs)("div",{className:s.default.footerNav,children:[(0,t.jsxs)("div",{className:`${s.default.collapsibleTitle} menu__title`,onClick:()=>{i(!n)},children:["Ð ÑбÑики",(0,t.jsx)("span",{className:`${s.default.arrowIcon} ${n?s.default.arrowIconOpen:""}`,children:"â¼"})]}),(0,t.jsx)("div",{className:`${s.default.collapsibleContent} ${n?s.default.collapsibleContentOpen:""}`,children:(0,t.jsx)("ul",{className:`${s.default.categoryMenuFooter} category__menu`,children:e.length?e.map(e=>(0,t.jsx)("li",{className:"menu-item",children:(0,t.jsx)(r.default,{href:e.uri||"/",className:"menu-item__link",children:e.label})},e.id)):(0,t.jsx)("li",{children:"ÐаÑегоÑии не найденÑ"})})})]})}e.s(["CollapsibleCategoryList",()=>n])},33123,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(57688),s=e.i(18092);e.s(["CurrencyRates",0,()=>{let[e,n]=(0,a.useState)(null),[i,l]=(0,a.useState)(!0),[o,d]=(0,a.useState)(!1),c=(0,a.useRef)(null);return(0,a.useEffect)(()=>{!async function(){try{let e=await fetch("/api/getCurrency"),t=await e.json();n(t)}catch(e){}finally{l(!1)}}()},[]),(0,a.useEffect)(()=>{function e(e){c.current&&!c.current.contains(e.target)&&d(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[c]),(0,t.jsxs)("div",{ref:c,children:[(0,t.jsx)("div",{className:"currency-toggle-button",onClick:()=>d(!o),children:(0,t.jsx)(s.Icon,{id:"currency",width:32,height:32,fill:"#000000"})}),(0,t.jsxs)("div",{className:`currency-box ${o?"show":""}`,children:[(0,t.jsxs)("div",{className:"currency__title",children:["ÐÑÑÑÑ Ð²Ð°Ð»ÑÑ",(0,t.jsx)("br",{})," ЦРРФ"]}),i&&(0,t.jsx)("p",{children:"ÐагÑÑзка..."}),!i&&!e&&(0,t.jsx)("p",{children:"ÐÑибка загÑÑзки"}),!i&&e&&(0,t.jsxs)("ul",{children:[(0,t.jsxs)("li",{children:[(0,t.jsx)(r.default,{src:"/usa.png",width:24,height:24,alt:"USD"})," ",e.USD.toFixed(2)," â½"]}),(0,t.jsxs)("li",{children:[(0,t.jsx)(r.default,{src:"/eu.png",width:24,height:24,alt:"EUR"})," ",e.EUR.toFixed(2)," â½"]}),(0,t.jsxs)("li",{children:[(0,t.jsx)(r.default,{src:"/china.png",width:24,height:24,alt:"CNY"})," ",e.CNY.toFixed(2)," â½"]}),(0,t.jsxs)("li",{children:[(0,t.jsx)(r.default,{src:"/turkey.png",width:24,height:24,alt:"TRY"})," ",e.TRY?.toFixed(2)??"-"," â½"]})]})]})]})}])},59085,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(84465);e.s(["ScrollToTopButton",0,()=>{let[e,s]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{let e=()=>{s(window.pageYOffset>200)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),e)?(0,t.jsx)(r.Button,{onClick:()=>{let e=document.querySelector(".header");e?e.scrollIntoView({behavior:"smooth"}):window.scrollTo({top:0,behavior:"smooth"})},className:"scroll-to-top-button",titleBtn:"ÐавеÑÑ ",buttonText:"â"}):null}])},99572,e=>{e.v({active:"GeoModal-module__AkNTJW__active",geoModal:"GeoModal-module__AkNTJW__geoModal",geoToggle:"GeoModal-module__AkNTJW__geoToggle",mapTitle:"GeoModal-module__AkNTJW__mapTitle",show:"GeoModal-module__AkNTJW__show",tabButton:"GeoModal-module__AkNTJW__tabButton",tabContent:"GeoModal-module__AkNTJW__tabContent",tabs:"GeoModal-module__AkNTJW__tabs"})},88960,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(18092),s=e.i(99572);e.s(["GeoModal",0,()=>{let[e,n]=(0,a.useState)(!1),[i,l]=(0,a.useState)("map"),o=(0,a.useRef)(null);(0,a.useEffect)(()=>{function e(e){o.current&&!o.current.contains(e.target)&&n(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[o]);let d=e=>{l(e)};return(0,t.jsxs)("div",{ref:o,children:[(0,t.jsx)("div",{className:s.default.geoToggle,onClick:t=>{t.stopPropagation(),n(!e)},children:(0,t.jsx)(r.Icon,{id:"geo",width:16,height:16,fill:"#000000"})}),(0,t.jsxs)("div",{className:`${s.default.geoModal} ${e?s.default.show:""}`,children:[(0,t.jsx)("h2",{className:s.default.mapTitle,children:"ÐÑ Ð½Ð° каÑÑе"}),(0,t.jsxs)("div",{className:s.default.tabs,children:[(0,t.jsx)("button",{className:`${s.default.tabButton} ${"map"===i?s.default.active:""}`,onClick:()=>d("map"),children:"ÐаÑÑа"}),(0,t.jsx)("button",{className:`${s.default.tabButton} ${"panorama"===i?s.default.active:""}`,onClick:()=>d("panorama"),children:"ÐаноÑама"})]}),(0,t.jsxs)("div",{className:s.default.tabContent,children:["map"===i&&(0,t.jsx)("div",{className:s.default.tabPanel,children:(0,t.jsx)("iframe",{src:"https://yandex.ru/map-widget/v1/?um=constructor%3A57df199c74e36f5a47fbd60be8e3b339d8685e8698c304f93964b05eea07eb47&source=constructor",width:"100%",height:"400",frameBorder:"0"})}),"panorama"===i&&(0,t.jsx)("div",{className:s.default.tabPanel,children:(0,t.jsxs)("div",{style:{position:"relative",overflow:"hidden"},children:[(0,t.jsx)("a",{href:"https://yandex.ru/maps/53/kurgan/?utm_medium=mapframe&utm_source=maps",
34style:{color:"#eee",fontSize:"12px",position:"absolute",top:"0px"},children:"ÐÑÑган"}),(0,t.jsx)("a",{href:"https://yandex.ru/maps/53/kurgan/house/ulitsa_gogolya_23/YkwYdQRjSU0AQFtvfXhyd3hiZw==/panorama/?l=stv%2Csta&ll=65.333224%2C55.436365&panorama%5Bdirection%5D=311.520026%2C4.580612&panorama%5Bfull%5D=true&panorama%5Bpoint%5D=65.333396%2C55.436274&panorama%5Bspan%5D=84.933952%2C35.475651&tab=panorama&utm_medium=mapframe&utm_source=maps&z=21",style:{color:"#eee",fontSize:"12px",position:"absolute",top:"14px"},children:"УлиÑа ÐоголÑ, 23 â Ð¯Ð½Ð´ÐµÐºÑ ÐаÑÑÑ"}),(0,t.jsx)("iframe",{src:"https://yandex.ru/map-widget/v1/?l=stv%2Csta&ll=65.333224%2C55.436365&mode=whatshere&panorama%5Bdirection%5D=311.520026%2C4.580612&panorama%5Bfull%5D=true&panorama%5Bpoint%5D=65.333396%2C55.436274&panorama%5Bspan%5D=84.933952%2C35.475651&tab=panorama&whatshere%5Bpoint%5D=65.332841%2C55.436569&whatshere%5Bzoom%5D=17&z=21",width:"100%",height:"400",frameBorder:"1",allowFullScreen:!0,style:{position:"relative"}})]})})]})]})]})}])},3303,(e,t,a)=>{t.exports=e.r(79520)},79269,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(3303);function s(){let[e,s]=(0,a.useState)(null);return(0,a.useEffect)(()=>{try{let e=screen.width,t=screen.height,a=screen.colorDepth?screen.colorDepth:screen.pixelDepth,r="//counter.yadro.ru/hit?t14.5;r"+escape(document.referrer)+";s"+e+"*"+t+"*"+a+";u"+escape(document.URL)+";"+Math.random();s(r)}catch(e){console.error("LI Error",e)}},[]),(0,t.jsxs)("div",{className:"footer-analytics",children:[(0,t.jsx)("a",{href:"https://metrika.yandex.ru/stat/?id=40512050&from=informer",target:"_blank",rel:"nofollow",className:"block",children:(0,t.jsx)("img",{src:"https://informer.yandex.ru/informer/40512050/3_1_FFFFFFFF_FFFFFFFF_0_pageviews",style:{width:"88px",height:"31px",border:"0"},alt:"ЯндекÑ.ÐеÑÑика",title:"ЯндекÑ.ÐеÑÑика: даннÑе за ÑÐµÐ³Ð¾Ð´Ð½Ñ (пÑоÑмоÑÑÑ, визиÑÑ Ð¸ ÑникалÑнÑе поÑеÑиÑели)",className:"ym-advanced-informer","data-cid":"40512050","data-lang":"ru"})}),(0,t.jsx)(r.default,{id:"yandex-metrika",strategy:"afterInteractive",children:`
vendor: 454 bytes, lines 34-41
34 35 (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; 36 m[i].l=1*new Date(); 37 for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }} 38 k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) 39 (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); 40 41 ym(
4140512050
vendor: 140 bytes, lines 41-46
41, "init", { 42 clickmap:true, 43 trackLinks:true, 44 accurateTrackBounce:true 45 }); 46
46`}),(0,t.jsx)("noscript",{children:(0,t.jsx)("div",{children:(0,t.jsx)("img",{src:"https://mc.yandex.ru/watch/40512050",style:{position:"absolute",left:"-9999px"},alt:""})})}),e&&(0,t.jsx)("a",{href:"//www.liveinternet.ru/stat/kikonline.ru",target:"_blank",rel:"nofollow",children:(0,t.jsx)("img",{src:e,alt:"LiveInternet",title:"LiveInternet: показано ÑиÑло пÑоÑмоÑÑов за 24 ÑаÑа, поÑеÑиÑелей за 24 ÑаÑа и за ÑегоднÑ",width:"88",height:"31",style:{border:0}})})]})}e.s(["default",()=>s])},39603,e=>{e.v({active:"ModalAuth-module__GLEKMG__active",modalTab:"ModalAuth-module__GLEKMG__modalTab",modalTabs:"ModalAuth-module__GLEKMG__modalTabs"})},2357,e=>{"use strict";var t=e.i(43476),a=e.i(68341),r=e.i(28e3),s=e.i(71645),n=e.i(84465),i=e.i(39992),l=e.i(39557);let o=({children:e})=>{let{user:o}=(0,l.useAuthStore)(),{userCurrent:d,loading:c}=(0,i.useAuth)(),{isOpenModal:u,closeModal:m}=(0,r.useModalStore)(),{closeOverlay:p}=(0,a.useOverlayStore)();return((0,s.useEffect)(()=>{o&&d&&!c&&m()},[o,d,c,m]),(0,s.useEffect)(()=>{o&&p()},[o,p]),c)?(0,t.jsx)("p",{children:"ÐагÑÑзка..."}):o?null:(0,t.jsx)("div",{className:`modal ${u?"active":""}`,children:(0,t.jsxs)("div",{className:"modal__wrap",children:[(0,t.jsx)(n.Button,{className:"modal__close",titleBtn:"ÐакÑÑÑÑ",buttonText:"Ã",onClick:()=>{m(),p()}}),e]})})};var d=e.i(22016),c=e.i(43139),u=e.i(22625),m=e.i(45552);let p=({message:e})=>{let a;return(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:((a=document.createElement("textarea")).innerHTML=e,a.value)}})};var h=e.i(55952),f=e.i(59972),g=e.i(76584);let _=()=>{let{username:e,email:a,password:r,setUsername:i,displayName:o,setDisplayName:_,setEmail:x,setPassword:b,register:v,errors:y,isLoading:w,showPassword:j,toggleShowPassword:S,setErrors:k,clearErrors:N}=(0,l.useAuthStore)(e=>
46e),[C,M]=(0,s.useState)(""),[T,I]=(0,s.useState)(null),[A,B]=(0,s.useState)(""),[L,E]=(0,s.useState)(null),[$,R]=(0,s.useState)(!1),O=async t=>{if(t.preventDefault(),!$)return void alert("ÐÐ»Ñ ÑегиÑÑÑаÑии необÑ
одимо ÑоглаÑиÑÑÑÑ Ñ Ð¿Ð¾Ð»Ð¸Ñикой конÑиденÑиалÑноÑÑи.");if(N(),A){E({message:"РегиÑÑÑаÑÐ¸Ñ Ð¿ÑоÑла ÑÑпеÑно! ÐожалÑйÑÑа, пÑовеÑÑÑе ÑÐ²Ð¾Ñ Ð¿Ð¾ÑÑÑ Ð´Ð»Ñ Ð¿Ð¾Ð´ÑвеÑждениÑ.",type:"success"}),_(""),i(""),x(""),b(""),M("");return}r!==C?k(["ÐаÑоли не ÑовпадаÑÑ."]):!w&&T&&await v(e,a,r,o,T)};return(0,t.jsxs)("form",{onSubmit:O,className:"flex-block auth-form",children:[L&&(0,t.jsx)(h.Notification,{message:L.message,type:L.type,onClose:()=>E(null)}),(0,t.jsxs)("div",{className:"honeypot-field",children:[(0,t.jsx)("label",{htmlFor:"website",children:"Website"}),(0,t.jsx)("input",{type:"text",id:"website",name:"website",tabIndex:"-1",autoComplete:"off",value:A,onChange:e=>B(e.target.value)})]}),(0,t.jsx)(c.Input,{type:"text",placeholder:"ÐмÑ",value:o,onChange:e=>_(e.target.value)}),(0,t.jsx)(c.Input,{type:"text",placeholder:"Ðогин",value:e,onChange:e=>i(e.target.value)}),(0,t.jsx)(c.Input,{type:"email",placeholder:"Email",value:a,onChange:e=>x(e.target.value)}),(0,t.jsxs)("div",{className:"input-group",children:[(0,t.jsx)(c.Input,{className:"input-password",type:j?"text":"password",placeholder:"ÐаÑолÑ",value:r,onChange:e=>b(e.target.value)}),(0,t.jsx)(m.ButtonIcon,{className:"show-password",id:"eye",width:16,height:16,type:"button",titleBtn:j?"СкÑÑÑÑ Ð¿Ð°ÑолÑ":"ÐоказаÑÑ Ð¿Ð°ÑолÑ",onClick:S})]}),(0,t.jsxs)("div",{className:"input-group",children:[(0,t.jsx)(c.Input,{type:j?"text":"password",placeholder:"ÐодÑвеÑдиÑе паÑолÑ",value:C,onChange:e=>M(e.target.value)}),(0,t.jsx)(m.ButtonIcon,{className:"show-password",id:"eye",width:16,height:16,type:"button",titleBtn:j?"СкÑÑÑÑ Ð¿Ð°ÑолÑ":"ÐоказаÑÑ Ð¿Ð°ÑолÑ",onClick:S})]}),(0,t.jsx)(g.default,{id:"register-consent",checked:$,onChange:R,label:(0,t.jsxs)("span",{children:["Я пÑÐ¸Ð½Ð¸Ð¼Ð°Ñ ÑÑÐ»Ð¾Ð²Ð¸Ñ ",(0,t.jsx)(d.default,{href:"/polzovatelskoe-soglashenie/",target:"_blank",style:{color:"#0056b3",fontSize:"14px"},children:"ÐолÑзоваÑелÑÑкого ÑоглаÑениÑ"})," и Ð´Ð°Ñ ÑоглаÑие на обÑабоÑÐºÑ Ð¼Ð¾Ð¸Ñ
пеÑÑоналÑнÑÑ
даннÑÑ
ÑоглаÑно ",(0,t.jsx)(d.default,{href:"/politika-konfidenczialnosti/",target:"_blank",style:{color:"#0056b3",fontSize:"14px"},children:"ÐолиÑике конÑиденÑиалÑноÑÑи"}),"."]})}),(0,t.jsx)(n.Button,{type:"submit",className:`button-second auth__btn ${w?"disabled":""}`,titleBtn:"ÐаÑегиÑÑÑиÑоваÑÑÑÑ",buttonText:w?(0,t.jsx)(u.Spiner,{}):"ÐаÑегиÑÑÑиÑоваÑÑÑÑ"}),(0,t.jsx)(f.Captcha,{onVerify:I}),y.length>0&&(0,t.jsx)("div",{className:"error-message",children:(0,t.jsx)(p,{message:y[0]})})]})},x=()=>{let{username:e,password:a,setUsername:r,setPassword:i,login:o,isLoading:d,errors:h,showPassword:g,toggleShowPassword:_,setActiveTab:x}=(0,l.useAuthStore)(e=>e),[b,v]=(0,s.useState)(null),y=async t=>{t.preventDefault(),!d&&b&&await o(e,a,b)};return(0,t.jsxs)("form",{onSubmit:y,className:"flex-block auth-form",children:[(0,t.jsx)(c.Input,{type:"text",placeholder:"ÐÐ¼Ñ Ð¿Ð¾Ð»ÑзоваÑелÑ",value:e,onChange:e=>r(e.target.value)}),(0,t.jsxs)("div",{className:"input-group",children:[(0,t.jsx)(c.Input,{type:g?"text":"password",placeholder:"ÐаÑолÑ",value:a,onChange:e=>i(e.target.value)}),(0,t.jsx)(m.ButtonIcon,{className:"show-password",id:"eye",width:16,height:16,type:"button",titleBtn:g?"СкÑÑÑÑ Ð¿Ð°ÑолÑ":"ÐоказаÑÑ Ð¿Ð°ÑолÑ",onClick:_})]}),(0,t.jsx)(n.Button,{type:"submit",titleBtn:"ÐоиÌÑи",buttonText:d?(0,t.jsx)(u.Spiner,{}):"ÐоиÌÑи",className:`button-second auth__btn ${d?"disabled":""}`}),(0,t.jsx)(f.Captcha,{onVerify:v}),h.length>0&&(0,t.jsx)("div",{className:"error-message",children:(0,t.jsx)(p,{message:h[0]})}),(0,t.jsx)(n.Button,{onClick:()=>x("forgot"),type:"button",titleBtn:"ÐабÑли паÑолÑ?",buttonText:"ÐабÑли паÑолÑ?",className:"button__link"})]})};var b=e.i(39603);let v=()=>{let{username:e,setUsername:a,resetPassword:r,errors:i,isLoading:o,successMessage:d}=(0,l.useAuthStore)(e=>
46e),[m,h]=(0,s.useState)(null),g=async t=>{t.preventDefault(),!m||o||await r(e,m)};return(0,t.jsxs)("form",{className:"flex-block auth-form",onSubmit:g,children:[(0,t.jsx)(c.Input,{type:"text",placeholder:"Ðогин или email",value:e,onChange:e=>a(e.target.value)}),(0,t.jsx)(n.Button,{className:`button-second auth__btn ${o?"disabled":""}`,type:"submit",titleBtn:"ÐоÑÑÑановиÑÑ Ð¿Ð°ÑолÑ",buttonText:o?(0,t.jsx)(u.Spiner,{}):"ÐоÑÑÑановиÑÑ Ð¿Ð°ÑолÑ"}),i.length>0&&(0,t.jsx)("p",{className:"error-message",children:(0,t.jsx)(p,{message:i})}),d&&(0,t.jsx)("p",{className:"success-message",children:d}),(0,t.jsx)(f.Captcha,{onVerify:h})]})},y=()=>{let{activeTab:e,setActiveTab:a}=(0,l.useAuthStore)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:b.default.modalTabs,children:[(0,t.jsx)(n.Button,{className:`${b.default.modalTab} ${"login"===e?b.default.active:""}`,titleBtn:"ÐÑ Ð¾Ð´",buttonText:"ÐÑ Ð¾Ð´",onClick:()=>a("login")}),(0,t.jsx)(n.Button,{className:`${b.default.modalTab} ${"register"===e?b.default.active:""}`,titleBtn:"РегиÑÑÑаÑиÑ",buttonText:"РегиÑÑÑаÑиÑ",onClick:()=>a("register")})]}),"login"===e&&(0,t.jsx)(x,{}),"register"===e&&(0,t.jsx)(_,{}),"forgot"===e&&(0,t.jsx)(v,{})]})};var w=e.i(453),j=e.i(1704),S=e.i(6144);let k=` 47 mutation UpdateCategorySubscriptions($subscriptions: [String]!) { 48 updateCategorySubscriptions(input: { subscriptions: $subscriptions }) { 49 success 50 } 51 } 52`,N=async e=>{try{let t=await (0,S.graphqlRequest)({query:k,variables:{subscriptions:e}});return t.updateCategorySubscriptions?.success||!1}catch(e){return!1}};var C=e.i(24482);let M=({categories:e,selectedCats:a,onCheckboxChange:r})=>
52(0,t.jsx)("div",{className:C.default.categorySubscriptionList,children:e.map(e=>(0,t.jsxs)("label",{style:{cursor:"pointer",display:"flex",gap:"10px",alignItems:"center"},children:[(0,t.jsx)("input",{type:"checkbox",style:{width:"16px",height:"16px",flexShrink:0},checked:a.includes(e.slug),onChange:()=>r(e.slug)}),(0,t.jsx)("span",{children:e.name})]},e.id))}),T=()=>{let{userCurrent:e}=(0,i.useAuth)(),[a,r]=(0,s.useState)([]),[l,o]=(0,s.useState)([]),[c,m]=(0,s.useState)(!0),[p,f]=(0,s.useState)(null),[_,x]=(0,s.useTransition)(),[b,v]=(0,s.useState)(!1);return((0,s.useEffect)(()=>{e&&(m(!0),(0,j.getSubscriptionData)().then(({categories:e,subscriptions:t})=>{r(e),o(t)}).catch(()=>f({message:"ÐÑибка загÑÑзки даннÑÑ
",type:"error"})).finally(()=>m(!1)))},[e]),c)?(0,t.jsx)("div",{style:{minHeight:"200px",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,t.jsx)(u.Spiner,{})}):(0,t.jsxs)("div",{children:[p&&(0,t.jsx)(h.Notification,{...p,onClose:()=>f(null)}),(0,t.jsx)("div",{className:C.default.tableWrapper,children:(0,t.jsx)(M,{categories:a,selectedCats:l,onCheckboxChange:e=>{o(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])}})}),(0,t.jsx)(g.default,{id:"describe-consent",checked:b,onChange:v,label:(0,t.jsxs)("span",{children:["Я пÑÐ¸Ð½Ð¸Ð¼Ð°Ñ ÑÑÐ»Ð¾Ð²Ð¸Ñ ",(0,t.jsx)(d.default,{href:"/polzovatelskoe-soglashenie/",target:"_blank",style:{color:"#0056b3",fontSize:"14px"},children:"ÐолÑзоваÑелÑÑкого ÑоглаÑениÑ"})," и Ð´Ð°Ñ ÑоглаÑие на обÑабоÑÐºÑ Ð¼Ð¾Ð¸Ñ
пеÑÑоналÑнÑÑ
даннÑÑ
ÑоглаÑно ",(0,t.jsx)(d.default,{href:"/politika-konfidenczialnosti/",target:"_blank",style:{color:"#0056b3",fontSize:"14px"},children:"ÐолиÑике конÑиденÑиалÑноÑÑи"}),"."]})}),(0,t.jsx)(n.Button,{onClick:()=>{if(!b)return f({message:"ÐÑ Ð´Ð¾Ð»Ð¶Ð½Ñ ÑоглаÑиÑÑÑÑ Ñ ÑÑловиÑми иÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ ÑеÑвиÑа",type:"error"});x(async()=>{await N(l)?f({message:"ÐÑ Ð¿Ð¾Ð´Ð¿Ð¸ÑÐ°Ð½Ñ Ð½Ð° вÑбÑаннÑе ÑÑбÑики",type:"success"}):f({message:"ÐÑибка ÑоÑ
ÑанениÑ.",type:"error"})})},disabled:_,className:`button-second ${C.default.buttonSubscription} ${_?C.default.disabled:""}`,style:{marginTop:"20px",padding:"10px 25px"},buttonText:_?(0,t.jsx)(u.Spiner,{}):"СоÑ
ÑаниÑÑ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ"})]})};e.s(["Overlay",0,()=>{let{overlayOpen:e,overlayType:s,closeOverlay:n}=(0,a.useOverlayStore)(),{isOpenModal:i,closeModal:l}=(0,r.useModalStore)(),{toggle:d,isOpenMenu:c}=(0,w.useMenus)();if(!e)return null;let u=null;return"modal-auth"===s&&i?u=(0,t.jsx)(y,{}):"modal-subscriptions"===s&&i&&(u=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{style:{textAlign:"center",marginBottom:"5px"},children:"ÐодпиÑаÑÑÑÑ"}),(0,t.jsx)("p",{style:{textAlign:"center",marginBottom:"20px",color:"var(--placeholder)"},children:"ÐолÑÑайÑе ÑÐ²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ Ð¾ новÑÑ
пÑбликаÑиÑÑ
пÑÑмо на ÑайÑе"}),(0,t.jsx)(T,{})]})),(0,t.jsxs)("div",{className:"overlay",onClick:e=>{e.target===e.currentTarget&&(n(),i&&l(),c&&d())},children:[u&&(0,t.jsx)("div",{className:"overlay-content",children:(0,t.jsx)(o,{children:u})}),"menu"===s]})}],2357)},12080,e=>{e.v({adminBar:"AdminBar-module__ch30ha__adminBar",adminBarContainer:"AdminBar-module__ch30ha__adminBarContainer",adminBarLeft:"AdminBar-module__ch30ha__adminBarLeft",adminBarRight:"AdminBar-module__ch30ha__adminBarRight",adminLink:"AdminBar-module__ch30ha__adminLink",dropdownItem:"AdminBar-module__ch30ha__dropdownItem",dropdownMenu:"AdminBar-module__ch30ha__dropdownMenu",dropdownTitle:"AdminBar-module__ch30ha__dropdownTitle",dropdownWrapper:"AdminBar-module__ch30ha__dropdownWrapper"})},18264,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(39992),s=e.i(39995),n=e.i(12080),i=e.i(18566);function l(){let{userCurrent:e,loading:l}=(0,r.useAuth)(),{editLink:o,slug:d,postType:c}=(0,s.usePageDataStore)(),[u,m]=(0,a.useState)(!1),[p,h]=(0,a.useState)(!1);(0,i.useRouter)();let f=e?.roles?.nodes.map(e=>e.name)||[],g=!l&&e&&f.some(e=>["administrator","editor"].includes(e));(0,a.useEffect)(()=>
52{if(g){let e=document.querySelector(".wrapper");return e&&(e.style.marginTop="40px"),()=>{e&&(e.style.marginTop="0")}}},[g]);let _=async()=>{if(d&&c&&!u&&window.confirm("ÐÑиÑÑиÑÑ ÐºÑÑ ÑÑой ÑÑÑаниÑÑ?")){m(!0);try{(await fetch("/api/clear-page-cache",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({slug:d,type:c})})).ok?window.location.reload():alert("ÐÑибка пÑи оÑиÑÑке кÑÑа")}catch(e){console.error(e),alert("ÐÑибка ÑеÑи")}finally{m(!1)}}};if(!g)return null;let x="https://kikonline.ru/kik-admin/wp-admin";return(0,t.jsx)("div",{className:`${n.default.adminBar} admin-bar`,children:(0,t.jsxs)("div",{className:n.default.adminBarContainer,children:[(0,t.jsx)("div",{className:n.default.adminBarLeft,children:(0,t.jsxs)("span",{children:["ð ",e.name]})}),(0,t.jsxs)("div",{className:n.default.adminBarRight,children:[d&&c&&(0,t.jsx)("button",{onClick:_,className:n.default.adminLink,"data-tooltip":"ÐÑиÑÑиÑÑ ÐºÑÑ ÑÑÑаниÑÑ",style:{cursor:"pointer",border:"1px solid white"},disabled:u,children:u?"...":"ð§¹"}),(0,t.jsx)("a",{href:"/docs",target:"_blank",rel:"noopener noreferrer","data-tooltip":"ÐокÑменÑаÑиÑ",className:n.default.adminLink,children:"ð"}),(0,t.jsx)("a",{href:`${x}/admin.php?page=ads-list`,target:"_blank",rel:"noopener noreferrer","data-tooltip":"Реклама",className:n.default.adminLink,children:"ð°"}),(0,t.jsx)("a",{href:`${x}/edit-comments.php`,target:"_blank",rel:"noopener noreferrer","data-tooltip":"ÐомменÑаÑии",className:n.default.adminLink,children:"ð¬"}),(0,t.jsxs)("div",{className:n.default.dropdownWrapper,onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),children:[(0,t.jsx)("div",{className:n.default.adminLink,style:{cursor:"default"},children:"â"}),p&&(0,t.jsxs)("div",{className:n.default.dropdownMenu,children:[(0,t.jsx)("div",{className:n.default.dropdownTitle,children:"СоздаÑÑ:"}),[{label:"ÐовоÑÑÑ",slug:"news"},{label:"Ðидео",slug:"video"},{label:"ФоÑоалÑбом",slug:"photoalbum"},{label:"ÐаÑÑнеÑÑ",slug:"partners"},{label:"СÑÑаниÑа",slug:"page"},{label:"ТоваÑ",slug:"product"}].map(e=>(0,t.jsx)("a",{href:`${x}/post-new.php?post_type=${e.slug}`,target:"_blank",rel:"noopener noreferrer",className:n.default.dropdownItem,children:e.label},e.slug))]})]}),o&&(0,t.jsx)("a",{href:o,target:"_blank",rel:"noopener noreferrer","data-tooltip":"РедакÑиÑоваÑÑ ÑÑÑ Ð·Ð°Ð¿Ð¸ÑÑ",className:n.default.adminLink,children:"âï¸"}),(0,t.jsx)("a",{href:x,target:"_blank",rel:"noopener noreferrer","data-tooltip":"ÐонÑÐ¾Ð»Ñ WP",className:n.default.adminLink,children:"âï¸"})]})]})})}e.s(["AdminBar",()=>l])},77444,e=>{e.v({arrowNext:"TopBlockNews-module__Jl_Lba__arrowNext",arrowPrev:"TopBlockNews-module__Jl_Lba__arrowPrev",sliderContent:"TopBlockNews-module__Jl_Lba__sliderContent",swiperImage:"TopBlockNews-module__Jl_Lba__swiperImage",swiperLink:"TopBlockNews-module__Jl_Lba__swiperLink",swiperTitle:"TopBlockNews-module__Jl_Lba__swiperTitle",swiperTitleBlock:"TopBlockNews-module__Jl_Lba__swiperTitleBlock",titleBlockLink:"TopBlockNews-module__Jl_Lba__titleBlockLink",topBlockSlider:"TopBlockNews-module__Jl_Lba__topBlockSlider"})},38607,e=>{"use strict";var t=e.i(43476),a=e.i(22016),r=e.i(57688),s=e.i(80401);e.i(41983);var n=e.i(79053),i=e.i(77444),l=e.i(45552),o=e.i(39238);e.s(["TopBlockNewsClient",0,({slides:e})=>(0,t.jsx)("div",{className:"container top-block",style:{background:"var(--white)"},children:(0,t.jsxs)(s.Swiper,{className:i.default.topBlockSlider,modules:[n.Navigation],spaceBetween:10,slidesPerView:5,navigation:{prevEl:".arrow-prev",nextEl:".arrow-next"},breakpoints:{0:{slidesPerView:2,spaceBetween:5},552:{slidesPerView:3,spaceBetween:5},768:{slidesPerView:4,spaceBetween:10},1024:{slidesPerView:5,spaceBetween:10}},children:[e.map((e,n)=>(0,t.jsx)(s.SwiperSlide,{children:(0,t.jsxs)("div",{className:i.default.sliderContent,children:[(0,t.jsx)(a.default,{href:e.titleLink||"#",className:i.default.titleBlockLink,children:(0,t.jsx)("div",{className:i.default.swiperTitleBlock,children:e.titleBLock})}),(0,t.jsxs)(a.default,{href:e.slug,className:i.default.swiperLink,children:[e.image&&(0,t.jsx)(r.default,{src:(0,o.getImageUrl)(e.image),alt:e.title,width:300,height:200,className:i.default.swiperImage,loading:"eager",priority:!0}),(0,t.jsx)("p",{className:i.default.swiperTitle,children:e.title})]})]})}
52,n)),(0,t.jsx)(l.ButtonIcon,{className:`${i.default.arrowPrev} arrow-prev`,id:"arrow-left",width:16,height:16,type:"button",titleBtn:"ÐÑедÑдÑÑий"}),(0,t.jsx)(l.ButtonIcon,{className:`${i.default.arrowNext} arrow-next`,id:"arrow-right",width:16,height:16,type:"button",titleBtn:"СледÑÑÑий"})]})})])},17444,e=>{"use strict";var t=e.i(43476),a=e.i(71645);let r=(0,a.createContext)();e.s(["AccessibilityProvider",0,({children:e})=>{let s=(()=>{let[e,t]=(0,a.useState)(16),[r,s]=(0,a.useState)(1.5),[n,i]=(0,a.useState)(!1),[l,o]=(0,a.useState)(!0),[d,c]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=localStorage.getItem("accessibility-settings");if(e){let a=JSON.parse(e);a.fontSize&&t(a.fontSize),a.lineHeight&&s(a.lineHeight),"boolean"==typeof a.darkMode&&i(a.darkMode),"boolean"==typeof a.imagesEnabled&&o(a.imagesEnabled),"boolean"==typeof a.panelOpen&&c(a.panelOpen)}},[]),(0,a.useEffect)(()=>{localStorage.setItem("accessibility-settings",JSON.stringify({fontSize:e,lineHeight:r,darkMode:n,imagesEnabled:l,panelOpen:d}))},[e,r,n,l,d]),(0,a.useEffect)(()=>{document.body.classList.toggle("accessibility",d)},[d]),(0,a.useEffect)(()=>{document.body.classList.toggle("accessibility-no-image",!l)},[l]),(0,a.useEffect)(()=>{document.body.classList.toggle("dark-mode",n)},[n]),{fontSize:e,lineHeight:r,darkMode:n,imagesEnabled:l,panelOpen:d,toggleImages:()=>o(e=>!e),togglePanel:()=>c(e=>!e),increaseFontSize:()=>t(e=>Math.min(e+2,20)),decreaseFontSize:()=>t(e=>Math.max(e-2,12)),toggleDarkMode:()=>i(e=>!e),increaseLineHeight:()=>s(e=>Math.min(parseFloat((e+.1).toFixed(1)),2.5)),decreaseLineHeight:()=>s(e=>Math.max(parseFloat((e-.1).toFixed(1)),1))}})();return(0,t.jsx)(r.Provider,{value:s,children:e})},"useAccessibility",0,()=>(0,a.useContext)(r)],17444)},80681,e=>{"use strict";var t=e.i(43476),a=e.i(17444);e.s(["AccessibilityPanel",0,()=>{let{darkMode:e,togglePanel:r,imagesEnabled:s,toggleImages:n,increaseFontSize:i,decreaseFontSize:l,toggleDarkMode:o,increaseLineHeight:d,decreaseLineHeight:c}=(0,a.useAccessibility)();return(0,t.jsx)("div",{className:"accessibility-panel",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"accessibility-panel__actions",children:[(0,t.jsx)("button",{onClick:r,className:"accessibility-panel__close",children:"â"}),(0,t.jsxs)("div",{className:"accessibility-panel__btns",children:[(0,t.jsx)("label",{children:"ШÑиÑÑ"}),(0,t.jsxs)("div",{className:"accessibility-panel__double-btn",children:[(0,t.jsx)("button",{onClick:i,children:"+"}),(0,t.jsx)("button",{onClick:l,children:"-"})]})]}),(0,t.jsxs)("div",{className:"accessibility-panel__btns",children:[(0,t.jsx)("label",{children:"ÐнÑеÑвал"}),(0,t.jsxs)("div",{className:"accessibility-panel__double-btn",children:[(0,t.jsx)("button",{onClick:d,children:"+"}),(0,t.jsx)("button",{onClick:c,children:"-"})]})]}),(0,t.jsxs)("div",{className:"accessibility-panel__btns",children:[(0,t.jsx)("label",{children:"Тема"}),(0,t.jsx)("button",{onClick:o,children:e?"СвеÑ.":"Тем."})]}),(0,t.jsxs)("div",{className:"accessibility-panel__btns",children:[(0,t.jsx)("label",{children:"Ðзоб."}),(0,t.jsx)("button",{onClick:n,children:s?"ÐÑк":"Ðкл"})]})]})})})}])},14698,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(18566),s=e.i(17444),n=e.i(55952);e.s(["Main",0,({children:e})=>{let{fontSize:i,lineHeight:l,darkMode:o,panelOpen:d}=(0,s.useAccessibility)(),c=(0,r.usePathname)(),[u,m]=(0,a.useState)(null);return(0,a.useEffect)(()=>{let e=document.querySelector(".main");if(!e)return;let t=()=>{let t=document.querySelector(".left-sidebar"),a=document.querySelector(".right-sidebar");e.classList.toggle("has-left-sidebar",!!t),e.classList.toggle("has-right-sidebar",!!a)};t();let a=new MutationObserver(t);return a.observe(e,{childList:!0,subtree:!0}),()=>a.disconnect()},[c]),(0,a.useEffect)(()=>{let e=document.querySelector(".main");e&&(d?(e.classList.add("accessible-content"),e.style.setProperty("--font-size",`${i}px`),e.style.setProperty("--h1-size",`${2*i}px`),e.style.setProperty("--h2-size",`${1.5*i}
52px`),e.style.setProperty("--h3-size",`${1.17*i}px`),e.style.setProperty("--h4-size",`${i}px`),e.style.setProperty("--line-height",l),e.style.setProperty("--color",o?"#fff":"#000"),e.style.setProperty("--bg-color",o?"#121212":"#fff")):(e.classList.remove("accessible-content"),e.removeAttribute("style")))},[i,l,o,d]),(0,a.useEffect)(()=>{m(null)},[c]),(0,t.jsxs)("main",{className:"main",children:[u&&(0,t.jsx)(n.Notification,{message:u.message,type:u.type,onClose:()=>m(null)}),e]})}])},73891,e=>{"use strict";var t=e.i(43476),a=e.i(17444);e.s(["AccessibilityToggleButton",0,()=>{let{togglePanel:e}=(0,a.useAccessibility)();return(0,t.jsx)("button",{className:"accessibility-toggle-btn",onClick:e,"aria-label":"ÐеÑÑÐ¸Ñ Ð´Ð»Ñ ÑлабовидÑÑиÑ
",title:"ÐеÑÑÐ¸Ñ Ð´Ð»Ñ ÑлабовидÑÑиÑ
",children:"ð"})}])},53267,e=>{"use strict";var t=e.i(43476),a=e.i(18566);e.s(["TopBlockWrapper",0,({children:e})=>{let r=(0,a.usePathname)();return r&&r.startsWith("/docs")?null:(0,t.jsx)(t.Fragment,{children:e})}])},42760,e=>{"use strict";let t;e.i(47167);var a=e.i(71645);let r=!1;"u">typeof window&&(window.OneSignalDeferred=window.OneSignalDeferred||[],(t=document.createElement("script")).id="onesignal-sdk",t.defer=!0,t.src="https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.js",t.onerror=()=>{},document.head.appendChild(t));function s(){let e=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{e.current||(async()=>{try{var t,a;await (t={appId:"8e1b26ca-8892-429a-8562-5cb57eae8a2c",safari_web_id:"web.onesignal.auto.166712e5-2aee-41ea-b95e-8df3d8ab1f28",allowLocalhostAsSecureOrigin:!1,welcomeNotification:{disable:!1,title:"Ðиконлайн",message:"ÐÑ Ð¿Ð¾Ð´Ð¿Ð¸ÑÐ°Ð½Ñ Ð½Ð° новоÑÑи kikonline.ru"},notifyButton:{enable:!0,size:"medium",theme:"default",position:"bottom-left",showCredit:!1,offset:{bottom:"20px",left:"20px"},text:{"tip.state.unsubscribed":"ÐодпиÑаÑÑÑÑ Ð½Ð° ÑведомлениÑ","tip.state.subscribed":"ÐÑ Ð¿Ð¾Ð´Ð¿Ð¸ÑÐ°Ð½Ñ Ð½Ð° новоÑÑи","tip.state.blocked":"ÐÑ Ð·Ð°Ð±Ð»Ð¾ÐºÐ¸Ñовали ÑведомлениÑ","message.action.subscribed":"СпаÑибо за подпиÑкÑ!","message.action.resubscribed":"ÐÑ Ñнова подпиÑанÑ!","message.action.unsubscribed":"ÐÑ Ð¾ÑпиÑалиÑÑ Ð¾Ñ Ð½Ð¾Ð²Ð¾ÑÑей.","dialog.main.title":"УпÑавление ÑведомлениÑми","dialog.main.button.subscribe":"ÐÐÐÐÐСÐТЬСЯ","dialog.main.button.unsubscribe":"ÐТÐÐСÐТЬСЯ","dialog.blocked.title":"РазблокиÑоваÑÑ ÑведомлениÑ","dialog.blocked.message":"СледÑйÑе инÑÑÑÑкÑиÑм бÑаÑзеÑа, ÑÑÐ¾Ð±Ñ ÑазÑеÑиÑÑ ÑведомлениÑ."},colors:{"circle.background":"#1a527e","circle.foreground":"white","badge.background":"#d63638","badge.foreground":"white","badge.bordercolor":"white","pulse.color":"#1a527e","dialog.button.background.hovering":"#02b949","dialog.button.background.active":"#1a527e","dialog.button.background":"#1a527e","dialog.button.foreground":"white"}},promptOptions:{slidedown:{prompts:[{type:"push",autoPrompt:!0,text:{actionMessage:"ХоÑиÑе пеÑвÑми ÑзнаваÑÑ Ð¾ ÑÑоÑнÑÑ
новоÑÑÑÑ
ÐÑÑгана?",acceptButton:"Ðа, Ñ
оÑÑ",cancelButton:"Ðозже"},delay:{pageViews:1,timeDelay:5}}]}}},r?Promise.reject("OneSignal is already initialized."):t&&t.appId?document?((null==(a=t.welcomeNotification)?void 0:a.disabled)!==void 0&&(t.welcomeNotification.disable=t.welcomeNotification.disabled),new Promise((e,a)=>{var s;null==(s=window.OneSignalDeferred)||s.push(s=>{s.init(t).then(()=>{r=!0,e()}).catch(a)})})):Promise.reject("Document is not defined."):Promise.reject("You need to provide your OneSignal appId.")),e.current=!0}catch(e){console.log("OneSignal init status:",e.message||e)}})()},[]),null}e.s(["default",()=>s],42760)},86803,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(22016);function s(){let[e,s]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{localStorage.getItem("kik_cookie_consent")||s(!0)},[]),e)?(0,t.jsx)("div",{style:{position:"fixed",bottom:0,left:0,width:"100%",backgroundColor:"#ffffff",borderTop:"1px solid #e0e0e0",boxShadow:"0 -2px 10px rgba(0,0,0,0.1)",zIndex:99999,padding:"20px",boxSizing:"border-box"},children:(0,t.jsxs)("div",{style:{maxWidth:"1200px",margin:"0 auto",display:"flex",flexWrap:"wrap",alignItems:"center",justifyContent:"space-between",gap:"20px"},children:[(0,t.jsxs)("div",{style:{flex:"1 1 600px",fontSize:"14px",lineHeight:"1.5",color:"#333333"},children:[(0,t.jsxs)("p",{style:{margin:"0 0 5px 0"},children:["ÐÑ Ð¸ÑполÑзÑем ÑÐ°Ð¹Ð»Ñ cookie и ÑеÑвиÑÑ ÑÑаÑиÑÑики (",(0,t.jsx)("strong",{children:"ЯндекÑ.ÐеÑÑика, Top.Mail.ru, LiveInternet"})," и дÑ.) Ð´Ð»Ñ ÑлÑÑÑÐµÐ½Ð¸Ñ ÑабоÑÑ ÑайÑа. ÐÑÐ¾Ð´Ð¾Ð»Ð¶Ð°Ñ Ð¿Ð¾Ð»ÑзоваÑÑÑÑ ÑайÑом, Ð²Ñ Ð´Ð°ÐµÑе ÑоглаÑие на обÑабоÑÐºÑ Ð²Ð°ÑиÑ
пеÑÑоналÑнÑÑ
даннÑÑ
."]}),(0,t.jsxs)("div",{children:["ÐодÑобнее в"," ",(0,t.jsx)(r.default,{href:"/politika-konfidenczialnosti/",style:{color:"#0056b3",textDecoration:"underline",fontWeight:"bold",fontSize:"14px"},children:"ÐолиÑике конÑиденÑиалÑноÑÑи"}),"."]})]}),(0,t.jsx)("button",{onClick:()=>{localStorage.setItem("kik_cookie_consent","true"),s(!1)},style:{backgroundColor:"#1a527e",color:"#ffffff",border:"none",padding:"12px 24px",borderRadius:"6px",fontSize:"14px",fontWeight:"600",cursor:"pointer",whiteSpace:"nowrap",flexShrink:0},onMouseOver:e=>e.target.style.backgroundColor="#1a527e",onMouseOut:e=>e.target.style.backgroundColor="#1a527e",children:"ХоÑоÑо, ÑоглаÑен"})]})}):null}e.s(["default",()=>s])}]);
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.