{"version":3,"sources":["../../dev/j/detect-device.js"],"names":["detect","avm","require","detecting","os","isAndroid","$","addClass"],"mappings":"AAgBA,GAAIA,QAASC,IAAIC,QAAQ,gBACrBC,UAAYH,QAEZG,WAAUC,GAAGC,UAChBC,EAAE,QAAQC,SAAS,iBAEnBD,EAAE,QAAQC,SAAS","file":"detect-device.js","sourcesContent":["/* \n\tfile: \t\t\tdetect-device.js \n\ttitle: \t\t\tDetect device mobile/desktop and add class to body\n\tdescription: \tIn page content two bottons:\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\tauthor: \t\tPavel Prokes, Avast Software\n\tuse: \t\t\tUse with this css:\n\t\t\t\t\t\t.detect-desktop .href_switch_mobile {\n\t\t\t\t\t\t display: none;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t.detect-mobile .href_switch_desktop {\n\t\t\t\t\t\t display: none;\n\t\t\t\t\t\t}\n*/\n\nvar detect = avm.require('avast.detect');\nvar detecting = detect(); //Browser and OS detection, return following object\n\nif (detecting.os.isAndroid) {\n\t$('body').addClass('detect-mobile');\n} else {\n\t$('body').addClass('detect-desktop');\n}"]}