var Site=Site||{};Site.checkResponsive=new function(){const n=1248,t=768,i=function(){return document.body.offsetWidth>n},r=function(){return document.body.offsetWidth>t&&document.body.offsetWidth<=n},u=function(){return document.body.offsetWidth<=t};let f=!1;this.check=function(){const n=function(){var n=document.body.classList;n.contains("desktop")&&i()||n.contains("tablet")&&r()||n.contains("mobile")&&u()||(n.toggle("desktop",i()),n.toggle("tablet",r()),n.toggle("mobile",u()),f=!0)};n();window.addEventListener("resize",n)}};Site.AdaptiveInterface=function(){const n=function(n,t,i){const r=t.classList.contains("active");r?(t.classList.remove("active"),document.getElementById("body").removeEventListener("click",i)):(t.classList.add("active"),document.getElementById("body").addEventListener("click",i));n!==null&&n.forEach(n=>{r?n.classList.remove("active"):n.classList.add("active")})},t=function(){const i=document.getElementsByClassName("left-menu")[0],t=document.getElementById("menuDropDownToogle");if(i!==null&&t!==null){const r=function(u){n([i],t,r);u.stopPropagation()};t.onclick=r}},i=function(){const n=document.head.querySelector("meta[name=viewport]"),t=function(t){n.content=window.innerWidth<=768?"width=500, user-scalable=no":"width=device-width";t.stopPropagation()};window.addEventListener("DOMContentLoaded",t);window.addEventListener("resize",t)};i();t()}