!function(n,t,i){function s(n,t){return typeof n===t}function wt(){var i,n,u,f,e,o,t;for(var h in a)if(a.hasOwnProperty(h)){if(i=[],n=a[h],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++)o=i[e],t=o.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),pt.push((f?"":"no-")+t.join("-"))}}function ut(n){var t=e.className,i=r._config.classPrefix||"",u;(v&&(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),v?e.className.baseVal=t:e.className=t)}function c(n,t){var u,i,f;if("object"==typeof n)for(u in n)ht(n,u)&&c(u,n[u]);else{if(n=n.toLowerCase(),i=n.split("."),f=r[i[0]],2==i.length&&(f=f[i[1]]),"undefined"!=typeof f)return r;t="function"==typeof t?t():t;1==i.length?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);ut([(t&&0!=t?"":"no-")+i.join("-")]);r._trigger(n,t)}return r}function bt(n,t){return!!~(""+n).indexOf(t)}function f(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):v?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function kt(){var n=t.body;return n||(n=f(v?"svg":"body"),n.fake=!0),n}function ft(n,i,r,u){var s,a,c,v,l="modernizr",h=f("div"),o=kt();if(parseInt(r,10))for(;r--;)c=f("div"),c.id=u?u[r]:l+(r+1),h.appendChild(c);return s=f("style"),s.type="text/css",s.id="s"+l,(o.fake?o:h).appendChild(s),o.appendChild(h),s.styleSheet?s.styleSheet.cssText=n:s.appendChild(t.createTextNode(n)),h.id=l,o.fake&&(o.style.background="",o.style.overflow="hidden",v=e.style.overflow,e.style.overflow="hidden",e.appendChild(o)),a=i(h,n),o.fake?(o.parentNode.removeChild(o),e.style.overflow=v,e.offsetHeight):h.parentNode.removeChild(h),!!a}function et(n){return n.replace(/([A-Z])/g,function(n,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function dt(t,r){var f=t.length,u;if("CSS"in n&&"supports"in n.CSS){for(;f--;)if(n.CSS.supports(et(t[f]),r))return!0;return!1}if("CSSSupportsRule"in n){for(u=[];f--;)u.push("("+et(t[f])+":"+r+")");return u=u.join(" or "),ft("@supports ("+u+") { #modernizr { position: absolute; } }",function(n){return"absolute"==getComputedStyle(n,null).position})}return i}function ot(n){return n.replace(/([a-z])-([a-z])/g,function(n,t,i){return t+i.toUpperCase()}).replace(/^-/,"")}function st(n,t,r,u){function c(){a&&(delete h.style,delete h.modElem)}var l,a,o,v,e,y,p;if((u=!s(u,"undefined")&&u,!s(r,"undefined"))&&(l=dt(n,r),!s(l,"undefined")))return l;for(p=["modernizr","tspan"];!h.style;)a=!0,h.modElem=f(p.shift()),h.style=h.modElem.style;for(v=n.length,o=0;o<v;o++)if(e=n[o],y=h.style[e],bt(e,"-")&&(e=ot(e)),h.style[e]!==i){if(u||s(r,"undefined"))return c(),"pfx"!=t||e;try{h.style[e]=r}catch(w){}if(h.style[e]!=y)return c(),"pfx"!=t||e}return c(),!1}function gt(n,t){return function(){return n.apply(t,arguments)}}function ni(n,t,i){var r;for(var u in n)if(n[u]in t)return i===!1?n[u]:(r=t[n[u]],s(r,"function")?gt(r,i||t):r);return!1}function y(n,t,i,r,u){var f=n.charAt(0).toUpperCase()+n.slice(1),e=(n+" "+g.join(f+" ")+f).split(" ");return s(t,"string")||s(t,"undefined")?st(e,t,r,u):(e=(n+" "+nt.join(f+" ")+f).split(" "),ni(e,t,i))}function b(n,t,r){return y(n,i,i,t,r)}var a=[],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){a.push({name:n,fn:t,options:i})},addAsyncTest:function(n){a.push({name:null,fn:n})}},r=function(){},ht,k,h,d,g,nt,l,ct,tt,lt,at,it,vt,yt,rt,p;r.prototype=u;r=new r;var pt=[],e=t.documentElement,v="svg"===e.nodeName.toLowerCase();v||!function(n,t){function l(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 u(){var n=i.elements;return"string"==typeof n?n.split(" "):n}function w(n,t){var r=i.elements;"string"!=typeof r&&(r=r.join(" "));"string"!=typeof n&&(n=n.join(" "));i.elements=r+" "+n;o(t)}function f(n){var t=p[n[y]];return t||(t={},c++,n[y]=c,p[c]=t),t}function a(n,i,u){if(i||(i=t),r)return i.createElement(n);u||(u=f(i));var e;return e=u.cache[n]?u.cache[n].cloneNode():rt.test(n)?(u.cache[n]=u.createElem(n)).cloneNode():u.createElem(n),!e.canHaveChildren||it.test(n)||e.tagUrn?e:u.frag.appendChild(e)}function b(n,i){if(n||(n=t),r)return n.createDocumentFragment();i=i||f(n);for(var o=i.frag.cloneNode(),e=0,s=u(),h=s.length;e<h;e++)o.createElement(s[e]);return o}function k(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?a(r,n,t):t.createElem(r)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+u().join().replace(/[\w\-:]+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(i,t.frag)}function o(n){n||(n=t);var u=f(n);return!i.shivCSS||s||u.hasCSS||(u.hasCSS=!!l(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||k(n,u),n}function d(n){for(var t,i=n.getElementsByTagName("*"),r=i.length,e=RegExp("^(?:"+u().join("|")+")$","i"),f=[];r--;)t=i[r],e.test(t.nodeName)&&f.push(t.applyElement(g(t)));return f}function g(n){for(var t,r=n.attributes,u=r.length,i=n.ownerDocument.createElement(e+":"+n.nodeName);u--;)t=r[u],t.specified&&i.setAttribute(t.nodeName,t.nodeValue);return i.style.cssText=n.style.cssText,i}function nt(n){for(var t,i=n.split("{"),r=i.length,f=RegExp("(^|[\\s,>+~])("+u().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),o="$1"+e+"\\:$2";r--;)t=i[r]=i[r].split("}"),t[t.length-1]=t[t.length-1].replace(f,o),i[r]=t.join("}");return i.join("{")}function tt(n){for(var t=n.length;t--;)n[t].removeNode()}function v(n){function r(){clearTimeout(i._removeSheetTimer);t&&t.removeNode(!0);t=null}var t,u,i=f(n),o=n.namespaces,s=n.parentWindow;return!ft||n.printShived?n:("undefined"==typeof o[e]&&o.add(e),s.attachEvent("onbeforeprint",function(){r();for(var o,s,f,c=n.styleSheets,e=[],i=c.length,h=Array(i);i--;)h[i]=c[i];for(;f=h.pop();)if(!f.disabled&&ut.test(f.media)){try{o=f.imports;s=o.length}catch(a){s=0}for(i=0;i<s;i++)h.push(o[i]);try{e.push(f.cssText)}catch(a){}}e=nt(e.reverse().join(""));u=d(n);t=l(n,e)}),s.attachEvent("onafterprint",function(){tt(u);clearTimeout(i._removeSheetTimer);i._removeSheetTimer=setTimeout(r,500)}),n.printShived=!0,n)}var s,r,h=n.html5||{},it=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,rt=/^(?: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,y="_html5shiv",c=0,p={},i;!function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";s="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){s=!0;r=!0}}();i={elements:h.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:h.shivCSS!==!1,supportsUnknownElements:r,shivMethods:h.shivMethods!==!1,type:"default",shivDocument:o,createElement:a,createDocumentFragment:b,addElements:w};n.html5=i;o(t);var ut=/^$|\b(?:all|print)\b/,e="html5shiv",ft=!r&&function(){var i=t.documentElement;return!("undefined"==typeof t.namespaces||"undefined"==typeof t.parentWindow||"undefined"==typeof i.applyElement||"undefined"==typeof i.removeNode||"undefined"==typeof n.attachEvent)}();i.type+=" print";i.shivPrint=v;v(t);"object"==typeof module&&module.exports&&(module.exports=i)}("undefined"!=typeof n?n:this,t);!function(){var n={}.hasOwnProperty;ht=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)}}();u._l={};u.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)};u._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])(t)},0);delete this._l[n]}};r._q.push(function(){u.addTest=c});k={elem:f("modernizr")};r._q.push(function(){delete k.elem});h={style:k.elem.style};r._q.unshift(function(){delete h.style});u.testProp=function(n,t,r){return st([n],i,t,r)};r.addTest("svg",!!t.createElementNS&&!!t.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect);d="Moz O ms Webkit";g=u._config.usePrefixes?d.split(" "):[];u._cssomPrefixes=g;nt=u._config.usePrefixes?d.toLowerCase().split(" "):[];u._domPrefixes=nt;u.testAllProps=y;u.testAllProps=b;r.addTest("csstransitions",b("transition","all",!0));l=u._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):[];u._prefixes=l;ct=u.testStyles=ft;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(""),ct(r,function(n){i=9===n.offsetTop})),i});tt=function(t){var u,s=l.length,f=n.CSSRule,r,e,o;if("undefined"==typeof f)return i;if(!t)return!1;if(t=t.replace(/^@/,""),u=t.replace(/-/g,"_").toUpperCase()+"_RULE",u in f)return"@"+t;for(r=0;r<s;r++)if(e=l[r],o=e.toUpperCase()+"_"+u,o in f)return"@-"+e.toLowerCase()+"-"+t;return!1};u.atRule=tt;lt=u.prefixed=function(n,t,i){return 0===n.indexOf("@")?tt(n):(n.indexOf("-")!=-1&&(n=ot(n)),t?y(n,t,i):y(n,"pfx"))};r.addTest("objectfit",!!lt("objectFit"),{aliases:["object-fit"]});r.addTest("history",function(){var t=navigator.userAgent;return(t.indexOf("Android 2.")===-1&&t.indexOf("Android 4.0")===-1||t.indexOf("Mobile Safari")===-1||t.indexOf("Chrome")!==-1||t.indexOf("Windows Phone")!==-1)&&n.history&&"pushState"in n.history});var o=f("input"),ti="autocomplete autofocus list placeholder max min multiple pattern required step".split(" "),w={};for(r.input=function(t){for(var i=0,r=t.length;i<r;i++)w[t[i]]=!!(t[i]in o);return w.list&&(w.list=!(!f("datalist")||!n.HTMLDataListElement)),w}(ti),at="search tel url email datetime date month week time datetime-local number range color".split(" "),it={},r.inputtypes=function(n){for(var u,s,r,c=n.length,h="1)",f=0;f<c;f++)o.setAttribute("type",u=n[f]),r="text"!==o.type&&"style"in o,r&&(o.value=h,o.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(u)&&o.style.WebkitAppearance!==i?(e.appendChild(o),s=t.defaultView,r=s.getComputedStyle&&"textfield"!==s.getComputedStyle(o,null).WebkitAppearance&&0!==o.offsetHeight,e.removeChild(o)):/^(search|tel)$/.test(u)||(r=/^(url|email)$/.test(u)?o.checkValidity&&o.checkValidity()===!1:o.value!=h)),it[n[f]]=!!r;return it}(at),r.addTest("webgl",function(){var t=f("canvas"),i="probablySupportsContext"in t?"probablySupportsContext":"supportsContext";return i in t?t[i]("webgl")||t[i]("experimental-webgl"):"WebGLRenderingContext"in n}),r.addTest("displayrunin",b("display","run-in"),{aliases:["display-runin"]}),r.addTest("opacity",function(){var n=f("a").style;return n.cssText=l.join("opacity:.55;"),/^0.55$/.test(n.opacity)}),vt=("CSS"in n)&&("supports"in n.CSS),yt=("supportsCSS"in n),r.addTest("supports",vt||yt),r.addTest("createelementattrs",function(){try{return"test"==f('<input name="test" />').getAttribute("name")}catch(n){return!1}},{aliases:["createelement-attrs"]}),r.addTest("dataset",function(){var n=f("div");return n.setAttribute("data-a-b","c"),!(!n.dataset||"c"!==n.dataset.aB)}),r.addTest("contains",s(String.prototype.contains,"function")),rt=function(){function n(n,t){var u;return!!n&&(t&&"string"!=typeof t||(t=f(t||"div")),n="on"+n,u=n in t,!u&&r&&(t.setAttribute||(t=f("div")),t.setAttribute(n,""),u="function"==typeof t[n],t[n]!==i&&(t[n]=i),t.removeAttribute(n)),u)}var r=!("onblur"in t.documentElement);return n}(),u.hasEvent=rt,r.addTest("oninput",function(){var r,i=f("input"),u,o;if(i.setAttribute("oninput","return"),rt("oninput",e)||"function"==typeof i.oninput)return!0;try{u=t.createEvent("KeyboardEvent");r=!1;o=function(n){r=!0;n.preventDefault();n.stopPropagation()};u.initKeyEvent("keypress",!0,!0,n,!1,!1,!1,!1,0,"e".charCodeAt(0));e.appendChild(i);i.addEventListener("input",o,!1);i.focus();i.dispatchEvent(u);i.removeEventListener("input",o,!1);e.removeChild(i)}catch(s){r=!1}return r}),r.addAsyncTest(function(){var n=new Image;n.onerror=function(){c("webplossless",!1,{aliases:["webp-lossless"]})};n.onload=function(){c("webplossless",1==n.width,{aliases:["webp-lossless"]})};n.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA="}),r.addAsyncTest(function(){function t(){var n=new Image,t;for(n.onerror=function(){c("datauri",!0);r.datauri=new Boolean(!0);r.datauri.over32kb=!1},n.onload=function(){c("datauri",!0);r.datauri=new Boolean(!0);r.datauri.over32kb=1==n.width&&1==n.height},t="R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";t.length<33e3;)t="\r\n"+t;n.src="data:image/gif;base64,"+t}navigator.userAgent.indexOf("MSIE 7.")!==-1&&setTimeout(function(){c("datauri",!1)},10);var n=new Image;n.onerror=function(){c("datauri",!1)};n.onload=function(){1==n.width&&1==n.height?t():c("datauri",!1)};n.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw=="}),r.addAsyncTest(function(){var n,t,u,e,o;if(r.webglextensions=new Boolean(!1),r.webgl){try{n=f("canvas");t=n.getContext("webgl")||n.getContext("experimental-webgl");u=t.getSupportedExtensions()}catch(s){return}for(t!==i&&(r.webglextensions=new Boolean(!0)),e=-1,o=u.length;++e<o;)r.webglextensions[u[e]]=!0;n=i}}),r.addTest("target",function(){var t=n.document;if(!("querySelectorAll"in t))return!1;try{return t.querySelectorAll(":target"),!0}catch(i){return!1}}),wt(),ut(pt),delete u.addTest,delete u.addAsyncTest,p=0;p<r._q.length;p++)r._q[p]();n.Modernizr=r}(window,document)