!function(n,t){function y(n,t){return typeof n===t}function p(){var r,n,u,e,o,s,t;for(var h in f)if(f.hasOwnProperty(h)){if(r=[],n=f[h],n.name&&(r.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(u=0;u<n.options.aliases.length;u++)r.push(n.options.aliases[u].toLowerCase());for(e=y(n.fn,"function")?n.fn():n.fn,o=0;o<r.length;o++)s=r[o],t=s.split("."),1===t.length?i[t[0]]=e:(!i[t[0]]||i[t[0]]instanceof Boolean||(i[t[0]]=new Boolean(i[t[0]])),i[t[0]][t[1]]=e),c.push((e?"":"no-")+t.join("-"))}}function w(n){var t=r.className,u=i._config.classPrefix||"",f;(e&&(t=t.baseVal),i._config.enableJSClass)&&(f=new RegExp("(^|\\s)"+u+"no-js(\\s|$)"),t=t.replace(f,"$1"+u+"js$2"));i._config.enableClasses&&(t+=" "+u+n.join(" "+u),e?r.className.baseVal=t:r.className=t)}function o(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):e?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function b(){var n=t.body;return n||(n=o(e?"svg":"body"),n.fake=!0),n}function h(n,i,u,f){var s,a,c,v,l="modernizr",h=o("div"),e=b();if(parseInt(u,10))for(;u--;)c=o("div"),c.id=f?f[u]:l+(u+1),h.appendChild(c);return s=o("style"),s.type="text/css",s.id="s"+l,(e.fake?e:h).appendChild(s),e.appendChild(h),s.styleSheet?s.styleSheet.cssText=n:s.appendChild(t.createTextNode(n)),h.id=l,e.fake&&(e.style.background="",e.style.overflow="hidden",v=r.style.overflow,r.style.overflow="hidden",r.appendChild(e)),a=i(h,n),e.fake?(e.parentNode.removeChild(e),r.style.overflow=v,r.offsetHeight):h.parentNode.removeChild(h),!!a}var f=[],u={_version:"3.3.1",_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){f.push({name:n,fn:t,options:i})},addAsyncTest:function(n){f.push({name:null,fn:n})}},i=function(){},a,v,s;i.prototype=u;i=new i;var c=[],r=t.documentElement,e="svg"===r.nodeName.toLowerCase(),l=u._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):[];for(u._prefixes=l,a=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 h("@media "+t+" { #modernizr { position: absolute; } }",function(t){i="absolute"==(n.getComputedStyle?n.getComputedStyle(t,null):t.currentStyle).position}),i}}(),u.mq=a,v=u.testStyles=h,e||!function(n,t){function v(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x<style>"+t+"<\/style>",r.insertBefore(i.lastChild,r.firstChild)}function h(){var n=i.elements;return"string"==typeof n?n.split(" "):n}function y(n,t){var r=i.elements;"string"!=typeof r&&(r=r.join(" "));"string"!=typeof n&&(n=n.join(" "));i.elements=r+" "+n;f(t)}function u(n){var t=a[n[l]];return t||(t={},s++,n[l]=s,a[s]=t),t}function c(n,i,f){if(i||(i=t),r)return i.createElement(n);f||(f=u(i));var e;return e=f.cache[n]?f.cache[n].cloneNode():k.test(n)?(f.cache[n]=f.createElem(n)).cloneNode():f.createElem(n),!e.canHaveChildren||b.test(n)||e.tagUrn?e:f.frag.appendChild(e)}function p(n,i){if(n||(n=t),r)return n.createDocumentFragment();i=i||u(n);for(var e=i.frag.cloneNode(),f=0,o=h(),s=o.length;s>f;f++)e.createElement(o[f]);return e}function w(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag());n.createElement=function(r){return i.shivMethods?c(r,n,t):t.createElem(r)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+h().join().replace(/[\w\-:]+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(i,t.frag)}function f(n){n||(n=t);var f=u(n);return!i.shivCSS||e||f.hasCSS||(f.hasCSS=!!v(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||w(n,f),n}var e,r,o=n.html5||{},b=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,k=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,l="_html5shiv",s=0,a={},i;!function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";e="hidden"in n;r=1==n.childNodes.length||function(){t.createElement("a");var n=t.createDocumentFragment();return"undefined"==typeof n.cloneNode||"undefined"==typeof n.createDocumentFragment||"undefined"==typeof n.createElement}()}catch(i){e=!0;r=!0}}();i={elements:o.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:o.shivCSS!==!1,supportsUnknownElements:r,shivMethods:o.shivMethods!==!1,type:"default",shivDocument:f,createElement:c,createDocumentFragment:p,addElements:y};n.html5=i;f(t);"object"==typeof module&&module.exports&&(module.exports=i)}("undefined"!=typeof n?n:this,t),i.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(""),v(r,function(n){i=9===n.offsetTop})),i}),i.addTest("localstorage",function(){var n="modernizr";try{return localStorage.setItem(n,n),localStorage.removeItem(n),!0}catch(t){return!1}}),p(),w(c),delete u.addTest,delete u.addAsyncTest,s=0;s<i._q.length;s++)i._q[s]();n.Modernizr=i}(window,document)