!function(n,t,i){function o(n,t){return typeof n===t}function rt(){var i,n,u,f,e,s,t;for(var c in h)if(h.hasOwnProperty(c)){if(i=[],n=h[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=o(n.fn,"function")?n.fn():n.fn,e=0;e<i.length;e++)s=i[e],t=s.split("."),1===t.length?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),d.push((f?"":"no-")+t.join("-"))}}function ut(n){var t=e.className,i=r._config.classPrefix||"",u;(c&&(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),c?e.className.baseVal=t:e.className=t)}function s(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):c?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function ft(){var n=t.body;return n||(n=s(c?"svg":"body"),n.fake=!0),n}function v(n,i,r,u){var o,a,c,v,l="modernizr",h=s("div"),f=ft();if(parseInt(r,10))for(;r--;)c=s("div"),c.id=u?u[r]:l+(r+1),h.appendChild(c);return o=s("style"),o.type="text/css",o.id="s"+l,(f.fake?f:h).appendChild(o),f.appendChild(h),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(t.createTextNode(n)),h.id=l,f.fake&&(f.style.background="",f.style.overflow="hidden",v=e.style.overflow,e.style.overflow="hidden",e.appendChild(f)),a=i(h,n),f.fake?(f.parentNode.removeChild(f),e.style.overflow=v,e.offsetHeight):h.parentNode.removeChild(h),!!a}function et(n,t){return!!~(""+n).indexOf(t)}function ot(n){return n.replace(/([a-z])-([a-z])/g,function(n,t,i){return t+i.toUpperCase()}).replace(/^-/,"")}function st(n,t){return function(){return n.apply(t,arguments)}}function ht(n,t,i){var r;for(var u in n)if(n[u]in t)return i===!1?n[u]:(r=t[n[u]],o(r,"function")?st(r,i||t):r);return!1}function b(n){return n.replace(/([A-Z])/g,function(n,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function ct(t,i,r){var u,f,e;return"getComputedStyle"in n?(u=getComputedStyle.call(n,t,i),f=n.console,null!==u?r&&(u=u.getPropertyValue(r)):f&&(e=f.error?"error":"log",f[e].call(f,"getComputedStyle returning null, its possible modernizr test results are inaccurate"))):u=!i&&t.currentStyle&&t.currentStyle[r],u}function lt(t,r){var f=t.length,u;if("CSS"in n&&"supports"in n.CSS){for(;f--;)if(n.CSS.supports(b(t[f]),r))return!0;return!1}if("CSSSupportsRule"in n){for(u=[];f--;)u.push("("+b(t[f])+":"+r+")");return u=u.join(" or "),v("@supports ("+u+") { #modernizr { position: absolute; } }",function(n){return"absolute"==ct(n,null,"position")})}return i}function at(n,t,r,u){function c(){v&&(delete f.style,delete f.modElem)}var l,v,h,y,e,p,a;if((u=o(u,"undefined")?!1:u,!o(r,"undefined"))&&(l=lt(n,r),!o(l,"undefined")))return l;for(a=["modernizr","tspan","samp"];!f.style&&a.length;)v=!0,f.modElem=s(a.shift()),f.style=f.modElem.style;for(y=n.length,h=0;y>h;h++)if(e=n[h],p=f.style[e],et(e,"-")&&(e=ot(e)),f.style[e]!==i){if(u||o(r,"undefined"))return c(),"pfx"==t?e:!0;try{f.style[e]=r}catch(w){}if(f.style[e]!=p)return c(),"pfx"==t?e:!0}return c(),!1}function k(n,t,i,r,u){var f=n.charAt(0).toUpperCase()+n.slice(1),e=(n+" "+p.join(f+" ")+f).split(" ");return o(t,"string")||o(t,"undefined")?at(e,t,r,u):(e=(n+" "+nt.join(f+" ")+f).split(" "),ht(e,t,i))}function y(n,t,r){return k(n,i,i,t,r)}var d=[],h=[],u={_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){h.push({name:n,fn:t,options:i})},addAsyncTest:function(n){h.push({name:null,fn:n})}},r=function(){},l,tt,p,w,f,it,a;r.prototype=u;r=new r;var e=t.documentElement,c="svg"===e.nodeName.toLowerCase(),g="Moz O ms Webkit",nt=u._config.usePrefixes?g.toLowerCase().split(" "):[];for(u._domPrefixes=nt,l=u._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""],u._prefixes=l,r.addTest("csspositionsticky",function(){var n="position:",t="sticky",r=s("a"),i=r.style;return i.cssText=n+l.join(t+";"+n).slice(0,-n.length),-1!==i.position.indexOf(t)}),tt=function(){var t=n.matchMedia||n.msMatchMedia;return t?function(n){var i=t(n);return i&&i.matches||!1}:function(t){var i=!1;return v("@media "+t+" { #modernizr { position: absolute; } }",function(t){i="absolute"==(n.getComputedStyle?n.getComputedStyle(t,null):t.currentStyle).position}),i}}(),u.mq=tt,p=u._config.usePrefixes?g.split(" "):[],u._cssomPrefixes=p,w={elem:s("modernizr")},r._q.push(function(){delete w.elem}),f={style:w.elem.style},r._q.unshift(function(){delete f.style}),u.testAllProps=k,u.testAllProps=y,r.addTest("flexbox",y("flexBasis","1px",!0)),r.addTest("flexboxlegacy",y("boxDirection","reverse",!0)),it=u.testStyles=v,r.addTest("touchevents",function(){var i,r;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:(r=["@media (",l.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join(""),it(r,function(n){i=9===n.offsetTop})),i}),rt(),ut(d),delete u.addTest,delete u.addAsyncTest,a=0;a<r._q.length;a++)r._q[a]();n.Modernizr=r}(window,document)