(function(n,t,i){function s(n,t){return typeof n===t}function w(){var i,n,u,f,e,h,t;for(var c in o)if(o.hasOwnProperty(c)){if(i=[],n=o[c],n.name&&(i.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(u=0;u<n.options.aliases.length;u++)i.push(n.options.aliases[u].toLowerCase());for(f=s(n.fn,"function")?n.fn():n.fn,e=0;e<i.length;e++)h=i[e],t=h.split("."),t.length===1?r[t[0]]=f:(!r[t[0]]||r[t[0]]instanceof Boolean||(r[t[0]]=new Boolean(r[t[0]])),r[t[0]][t[1]]=f),a.push((f?"":"no-")+t.join("-"))}}function v(n){var t=e.className,i=r._config.classPrefix||"",u;h&&(t=t.baseVal);r._config.enableJSClass&&(u=new RegExp("(^|\\s)"+i+"no-js(\\s|$)"),t=t.replace(u,"$1"+i+"js$2"));r._config.enableClasses&&(t+=" "+i+n.join(" "+i),h?e.className.baseVal=t:e.className=t)}function y(n,t){var u,i,f;if(typeof n=="object")for(u in n)l(n,u)&&y(u,n[u]);else{if(n=n.toLowerCase(),i=n.split("."),f=r[i[0]],i.length==2&&(f=f[i[1]]),typeof f!="undefined")return r;t=typeof t=="function"?t():t;i.length==1?r[i[0]]=t:(!r[i[0]]||r[i[0]]instanceof Boolean||(r[i[0]]=new Boolean(r[i[0]])),r[i[0]][i[1]]=t);v([(!!t&&t!=!1?"":"no-")+i.join("-")]);r._trigger(n,t)}return r}function b(){return typeof t.createElement!="function"?t.createElement(arguments[0]):h?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}var a=[],o=[],f={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(n,t){var i=this;setTimeout(function(){t(i[n])},0)},addTest:function(n,t,i){o.push({name:n,fn:t,options:i})},addAsyncTest:function(n){o.push({name:null,fn:n})}},r=function(){},e,h,l,c;r.prototype=f;r=new r;e=t.documentElement;h=e.nodeName.toLowerCase()==="svg",function(){var n={}.hasOwnProperty;l=s(n,"undefined")||s(n.call,"undefined")?function(n,t){return t in n&&s(n.constructor.prototype[t],"undefined")}:function(t,i){return n.call(t,i)}}();f._l={};f.on=function(n,t){this._l[n]||(this._l[n]=[]);this._l[n].push(t);r.hasOwnProperty(n)&&setTimeout(function(){r._trigger(n,r[n])},0)};f._trigger=function(n,t){if(this._l[n]){var i=this._l[n];setTimeout(function(){for(var r,n=0;n<i.length;n++)r=i[n],r(t)},0);delete this._l[n]}};r._q.push(function(){f.addTest=y});var u=b("input"),k="search tel url email datetime date month week time datetime-local number range color".split(" "),p={};for(r.inputtypes=function(n){for(var c=n.length,h="1)",f,s,r,o=0;o<c;o++)u.setAttribute("type",f=n[o]),r=u.type!=="text"&&"style"in u,r&&(u.value=h,u.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&u.style.WebkitAppearance!==i?(e.appendChild(u),s=t.defaultView,r=s.getComputedStyle&&s.getComputedStyle(u,null).WebkitAppearance!=="textfield"&&u.offsetHeight!==0,e.removeChild(u)):/^(search|tel)$/.test(f)||(r=/^(url|email)$/.test(f)?u.checkValidity&&u.checkValidity()===!1:u.value!=h)),p[n[o]]=!!r;return p}(k),w(),v(a),delete f.addTest,delete f.addAsyncTest,c=0;c<r._q.length;c++)r._q[c]();n.Modernizr=r})(window,document)