{"mappings":"CCAC,AAAA,SAAU,CAAM,EAGf,GAF6B,EAAO,YAAY,CAAC,OAAO,CAAC,iBAGvD,OAGF,SAAS,aAAa,CAAC,wBAAwB,SAAS,CAAC,GAAG,CAAC,SAQ7D,IAAM,EAAkB,KACjB,SAAS,aAAa,CAAC,oBAAoB,SAAS,CAAC,QAAQ,CAAC,UAGjE,SAAS,aAAa,CAAC,wBAAwB,KAAK,CAAC,OAAO,CAAG,OAF/D,SAAS,aAAa,CAAC,wBAAwB,KAAK,CAAG,EAI3D,CAEA,CAAA,SAAS,aAAa,CAAC,mCAAmC,OAAO,CAd7C,KAClB,EAAO,YAAY,CAAC,OAAO,CAAC,gBAAiB,CAAA,GAC7C,SAAS,aAAa,CAAC,wBAAwB,SAAS,CAAC,MAAM,CAAC,SAChE,GAAG,UAAU,YAAa,AAA2B,kBAA3B,SAAS,QAAQ,CAAC,IAAI,CAAuB,oBAAsB,yBAC/F,EAWA,WAAW,KACT,SAAS,aAAa,CAAC,uBAAuB,gBAAgB,CAAC,QAAS,EAC1E,EAAG,IAEL,EAAG","sources":["","src/partials/js/yotitle_notification.js"],"sourcesContent":["(function(window1) {\n const isNotificationClosed = window1.localStorage.getItem(\"yotitleClosed\");\n if (isNotificationClosed) return;\n document.querySelector(\".yotitleNotification\").classList.add(\"shown\");\n const handleClick = ()=>{\n window1.localStorage.setItem(\"yotitleClosed\", true);\n document.querySelector(\".yotitleNotification\").classList.remove(\"shown\");\n ym(49633516, \"reachGoal\", document.location.host === \"uxfeedback.ru\" ? \"closeYotitleBlock\" : \"test_closeYotitleBlock\");\n };\n const handleMenuClick = ()=>{\n if (!document.querySelector(\"#mainMenu.mobile\").classList.contains(\"active\")) document.querySelector(\".yotitleNotification\").style = \"\";\n else document.querySelector(\".yotitleNotification\").style.display = \"none\";\n };\n document.querySelector(\".yotitleNotification .closeIcon\").onclick = handleClick;\n setTimeout(()=>{\n document.querySelector(\"#mainMenu .menuIcon\").addEventListener(\"click\", handleMenuClick);\n }, 1000);\n})(window);\n\n//# sourceMappingURL=index.eb5b782f.js.map\n","(function (window) {\n const isNotificationClosed = window.localStorage.getItem('yotitleClosed');\n\n if (isNotificationClosed) {\n return;\n }\n\n document.querySelector('.yotitleNotification').classList.add('shown');\n\n const handleClick = () => {\n window.localStorage.setItem('yotitleClosed', true);\n document.querySelector('.yotitleNotification').classList.remove('shown');\n ym(49633516, 'reachGoal', document.location.host === 'uxfeedback.ru' ? 'closeYotitleBlock' : 'test_closeYotitleBlock');\n }\n\n const handleMenuClick = () => {\n if (!document.querySelector('#mainMenu.mobile').classList.contains('active')) {\n document.querySelector('.yotitleNotification').style = '';\n } else {\n document.querySelector('.yotitleNotification').style.display = 'none';\n }\n }\n\n document.querySelector('.yotitleNotification .closeIcon').onclick = handleClick;\n setTimeout(() => {\n document.querySelector('#mainMenu .menuIcon').addEventListener('click', handleMenuClick);\n }, 1000);\n\n})(window);"],"names":["window1","localStorage","getItem","document","querySelector","classList","add","handleMenuClick","contains","style","display","onclick","setItem","remove","ym","location","host","setTimeout","addEventListener","window"],"version":3,"file":"index.eb5b782f.js.map"}