";return c.firstChild&&c.firstChild.namespaceURI==="http://www.w3.org/2000/svg"},injectElementWithStyles:function(k,m,e,l){var d,j,g,h,c=document.createElement("div"),i=document.body,f=i||document.createElement("body");if(parseInt(e,10)){while(e--){g=document.createElement("div");g.id=l?l[e]:b+(e+1);c.appendChild(g)}}d=["",'"].join("");c.id=b;(i?c:f).innerHTML+=d;f.appendChild(c);if(!i){f.style.background="";f.style.overflow="hidden";h=a.style.overflow;a.style.overflow="hidden";a.appendChild(f)}j=m(c,k);if(!i){f.parentNode.removeChild(f);a.style.overflow=h}else{c.parentNode.removeChild(c)}return !!j},isMQuerySupported:function(e){var d=window.matchMedia||window.msMatchMedia,c=false;if(d){c=d(e).matches}else{this.injectElementWithStyles("@media "+e+" { #"+b+" { position: absolute; } }",function(f){c=(window.getComputedStyle?getComputedStyle(f,null):f.currentStyle)["position"]==="absolute"})}return c},isInlineBlockSupported:function(){var e=$('
'),c;$("body").append(e);c=e.width()>100;e.remove();return c},isTransparentPNGSupported:function(){var c=navigator.userAgent.match(/MSIE (\d+)/);if(!c||!c[1]){return true}c=parseFloat(c[1]);return navigator.appName!=="Microsoft Internet Explorer"||c>6}}}function myMap(){this.rules={};this.rulesData=[]}myMap.prototype={add:function(a){a=a||null;if(a&&!this.rules[a]){this.rulesData.push(a);this.rules[a]=this.rulesData.length-1}return this},get:function(a){var b=this.rules[a];return b&&this.rulesData[b]||null},getAll:function(){return this.rulesData.join(" ")}};var detector=new Detector();(function(){var a=new myMap();a.add("js").add(detector.isBorderRadiusSupported()?"m-border-radius":"m-no-border-radius").add(detector.isIEMetroMode()&&"m-ie10-metro").add(detector.isSVGSupported()?"m-svg":"i-ua_inlinesvg_no no-data-url").add(this.device&&"m-touch");detector.checkDataURLSupport(function(b){if(!b){document.documentElement.className+=" no-data-url"}});if(this.document&&this.document.documentElement){this.document.documentElement.className+=" "+a.getAll()}})();