!function(n,t,i){function o(n,t){return typeof n===t}function pt(){var i,n,u,f,e,s,t;for(var h in l)if(l.hasOwnProperty(h)){if(i=[],n=l[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=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),et.push((f?"":"no-")+t.join("-"))}}function rt(n){var t=s.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?s.className.baseVal=t:s.className=t)}function w(n,t){var u,i,f;if("object"==typeof n)for(u in n)ct(n,u)&&w(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);rt([(t&&0!=t?"":"no-")+i.join("-")]);r._trigger(n,t)}return r}function f(){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 ut(n){return n.replace(/([a-z])-([a-z])/g,function(n,t,i){return t+i.toUpperCase()}).replace(/^-/,"")}function b(n){return n.replace(/([A-Z])/g,function(n,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function wt(){var n=t.body;return n||(n=f(c?"svg":"body"),n.fake=!0),n}function k(n,i,r,u){var o,a,c,v,l="modernizr",h=f("div"),e=wt();if(parseInt(r,10))for(;r--;)c=f("div"),c.id=u?u[r]:l+(r+1),h.appendChild(c);return o=f("style"),o.type="text/css",o.id="s"+l,(e.fake?e:h).appendChild(o),e.appendChild(h),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(t.createTextNode(n)),h.id=l,e.fake&&(e.style.background="",e.style.overflow="hidden",v=s.style.overflow,s.style.overflow="hidden",s.appendChild(e)),a=i(h,n),e.fake?(e.parentNode.removeChild(e),s.style.overflow=v,s.offsetHeight):h.parentNode.removeChild(h),!!a}function bt(n,t){return!!~(""+n).indexOf(t)}function kt(n,t){return function(){return n.apply(t,arguments)}}function dt(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")?kt(r,i||t):r);return!1}function gt(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 ni(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 "),k("@supports ("+u+") { #modernizr { position: absolute; } }",function(n){return"absolute"==gt(n,null,"position")})}return i}function ft(n,t,r,u){function c(){v&&(delete e.style,delete e.modElem)}var l,v,h,y,s,p,a;if((u=o(u,"undefined")?!1:u,!o(r,"undefined"))&&(l=ni(n,r),!o(l,"undefined")))return l;for(a=["modernizr","tspan","samp"];!e.style&&a.length;)v=!0,e.modElem=f(a.shift()),e.style=e.modElem.style;for(y=n.length,h=0;y>h;h++)if(s=n[h],p=e.style[s],bt(s,"-")&&(s=ut(s)),e.style[s]!==i){if(u||o(r,"undefined"))return c(),"pfx"==t?s:!0;try{e.style[s]=r}catch(w){}if(e.style[s]!=p)return c(),"pfx"==t?s:!0}return c(),!1}function a(n,t,i,r,u){var f=n.charAt(0).toUpperCase()+n.slice(1),e=(n+" "+d.join(f+" ")+f).split(" ");return o(t,"string")||o(t,"undefined")?ft(e,t,r,u):(e=(n+" "+y.join(f+" ")+f).split(" "),dt(e,t,i))}function v(n,t,r){return a(n,i,i,t,r)}var et=[],ot="Moz O ms Webkit",l=[],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){l.push({name:n,fn:t,options:i})},addAsyncTest:function(n){l.push({name:null,fn:n})}},y=u._config.usePrefixes?ot.toLowerCase().split(" "):[],h,r,st,ht,d,g,ct,s,c,nt,lt,at,vt,yt,tt,e,ti,it,ii,p;for(u._domPrefixes=y,h=u._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""],u._prefixes=h,r=function(){},r.prototype=u,r=new r,r.addTest("geolocation","geolocation"in navigator),r.addTest("history",function(){var t=navigator.userAgent;return-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone")||"file:"===location.protocol?n.history&&"pushState"in n.history:!1}),r.addTest("json","JSON"in n&&"parse"in JSON&&"stringify"in JSON),r.addTest("postmessage","postMessage"in n),r.addTest("queryselector","querySelector"in t&&"querySelectorAll"in t),r.addTest("serviceworker","serviceWorker"in navigator),r.addTest("svg",!!t.createElementNS&&!!t.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect),r.addTest("templatestrings",function(){var supports;try{eval("``");supports=!0}catch(e){}return!!supports}),st=("CSS"in n)&&("supports"in n.CSS),ht=("supportsCSS"in n),r.addTest("supports",st||ht),r.addTest("es6object",!!(Object.assign&&Object.is&&Object.setPrototypeOf)),r.addTest("filereader",!!(n.File&&n.FileList&&n.FileReader)),r.addTest("fetch","fetch"in n),r.addTest("localstorage",function(){var n="modernizr";try{return localStorage.setItem(n,n),localStorage.removeItem(n),!0}catch(t){return!1}}),r.addTest("sessionstorage",function(){var n="modernizr";try{return sessionStorage.setItem(n,n),sessionStorage.removeItem(n),!0}catch(t){return!1}}),d=u._config.usePrefixes?ot.split(" "):[],u._cssomPrefixes=d,g=function(t){var u,s=h.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;s>r;r++)if(e=h[r],o=e.toUpperCase()+"_"+u,o in f)return"@-"+e.toLowerCase()+"-"+t;return!1},u.atRule=g,!function(){var n={}.hasOwnProperty;ct=o(n,"undefined")||o(n.call,"undefined")?function(n,t){return t in n&&o(n.constructor.prototype[t],"undefined")}:function(t,i){return n.call(t,i)}}(),s=t.documentElement,c="svg"===s.nodeName.toLowerCase(),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=w}),c||!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;h>e;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;s>i;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),nt=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):!1}var r=!("onblur"in t.documentElement);return n}(),u.hasEvent=nt,r.addTest("hashchange",function(){return nt("hashchange",n)===!1?!1:t.documentMode===i||t.documentMode>7}),lt=function(n,t){var i=!1,e=f("div"),r=e.style,u;if(n in r)for(u=y.length,r[n]=t,i=r[n];u--&&!i;)r[n]="-"+y[u]+"-"+t,i=r[n];return""===i&&(i=!1),i},u.prefixedCSSValue=lt,r.addTest("canvas",function(){var n=f("canvas");return!(!n.getContext||!n.getContext("2d"))}),w("htmlimports","import"in f("link")),r.addTest("video",function(){var t=f("video"),n=!1;try{n=!!t.canPlayType;n&&(n=new Boolean(n),n.ogg=t.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=t.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=t.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""),n.vp9=t.canPlayType('video/webm; codecs="vp9"').replace(/^no$/,""),n.hls=t.canPlayType('application/x-mpegURL; codecs="avc1.42E01E"').replace(/^no$/,""))}catch(i){}return n}),r.addTest("csscalc",function(){var n="width:",t=f("a");return t.style.cssText=n+h.join("calc(10px);"+n),!!t.style.length}),r.addTest("cssgradients",function(){for(var o,i,u,e="background-image:",t="",n=0,s=h.length-1;s>n;n++)u=0===n?"to ":"",t+=e+h[n]+"linear-gradient("+u+"left top, #9f9, white);";return r._config.usePrefixes&&(t+=e+"-webkit-gradient(linear,left top,right bottom,from(#9f9),to(white));"),o=f("a"),i=o.style,i.cssText=t,(""+i.backgroundImage).indexOf("gradient")>-1}),r.addTest("cookies",function(){try{t.cookie="cookietest=1";var n=-1!=t.cookie.indexOf("cookietest=");return t.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",n}catch(i){return!1}}),at=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 k("@media "+t+" { #modernizr { position: absolute; } }",function(t){i="absolute"==(n.getComputedStyle?n.getComputedStyle(t,null):t.currentStyle).position}),i}}(),u.mq=at,vt=u.testStyles=k,yt=function(){var n=navigator.userAgent,t=n.match(/w(eb)?osbrowser/gi),i=n.match(/windows phone/gi)&&n.match(/iemobile\/([0-9])+/gi)&&parseFloat(RegExp.$1)>=9;return t||i}(),yt?r.addTest("fontface",!1):vt('@font-face {font-family:"font";src:url("https://")}',function(n,i){var f=t.getElementById("smodernizr"),u=f.sheet||f.styleSheet,e=u?u.cssRules&&u.cssRules[0]?u.cssRules[0].cssText:u.cssText||"":"",o=/src/i.test(e)&&0===e.indexOf(i.split(" ")[0]);r.addTest("fontface",o)}),tt={elem:f("modernizr")},r._q.push(function(){delete tt.elem}),e={style:tt.elem.style},r._q.unshift(function(){delete e.style}),ti=u.testProp=function(n,t,r){return ft([n],i,t,r)},u.testAllProps=a,it=u.prefixed=function(n,t,i){return 0===n.indexOf("@")?g(n):(-1!=n.indexOf("-")&&(n=ut(n)),t?a(n,t,i):a(n,"pfx"))},ii=u.prefixedCSS=function(n){var t=it(n);return t&&b(t)},r.addTest("intl",!!it("Intl",n)),u.testAllProps=v,r.addTest("cssanimations",v("animationName","a",!0)),r.addTest("flexbox",v("flexBasis","1px",!0)),r.addTest("csstransforms",function(){return-1===navigator.userAgent.indexOf("Android 2.")&&v("transform","scale(1)",!0)}),pt(),rt(et),delete u.addTest,delete u.addAsyncTest,p=0;p<r._q.length;p++)r._q[p]();n.Modernizr=r}(window,document)