{"version":3,"file":"deviceDetection.js","names":["window","onload","deviceDetection","test","navigator","userAgent","document","body","setAttribute","getElementById","addEventListener","toggleSoftcontent","classList","toggle"],"sources":["../../Javascript/deviceDetection.js"],"sourcesContent":["window.onload = function deviceDetection() {\n if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {\n document.body.setAttribute('data-device', 'mobile')\n }\n if (!!document.getElementById(\"topbar-soft-content-toggle\")) {\n document.getElementById(\"topbar-soft-content-toggle\").addEventListener(\"click\", toggleSoftcontent);\n }\n}\nfunction toggleSoftcontent() {\n document.getElementById('master-container').classList.toggle('expand-softcontent')\n}\n"],"mappings":";;AAAAA,MAAM,CAACC,MAAM,GAAG,SAASC,eAAeA,CAAA,EAAG;EACvC,IAAI,gEAAgE,CAACC,IAAI,CAACC,SAAS,CAACC,SAAS,CAAC,EAAE;IAC5FC,QAAQ,CAACC,IAAI,CAACC,YAAY,CAAC,aAAa,EAAE,QAAQ,CAAC;EACvD;EACA,IAAI,CAAC,CAACF,QAAQ,CAACG,cAAc,CAAC,4BAA4B,CAAC,EAAE;IACzDH,QAAQ,CAACG,cAAc,CAAC,4BAA4B,CAAC,CAACC,gBAAgB,CAAC,OAAO,EAAEC,iBAAiB,CAAC;EACtG;AACJ,CAAC;AACD,SAASA,iBAAiBA,CAAA,EAAG;EACzBL,QAAQ,CAACG,cAAc,CAAC,kBAAkB,CAAC,CAACG,SAAS,CAACC,MAAM,CAAC,oBAAoB,CAAC;AACtF","ignoreList":[]}