window.Modernizr=function(a,b,c){function d(a){s.cssText=a}function e(a,b){return typeof a===b}function f(a,b){return!!~(""+a).indexOf(b)}function g(a,b){for(var d in a){var e=a[d];if(!f(e,"-")&&s[e]!==c)return"pfx"==b?e:!0}return!1}function h(a,b,d){for(var f in a){var g=b[a[f]];if(g!==c)return d===!1?a[f]:e(g,"function")?g.bind(d||b):g}return!1}function i(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),f=(a+" "+v.join(d+" ")+d).split(" ");return e(b,"string")||e(b,"undefined")?g(f,b):(f=(a+" "+w.join(d+" ")+d).split(" "),h(f,b,c))}var j,k,l,m="2.7.1",n={},o=!0,p=b.documentElement,q="modernizr",r=b.createElement(q),s=r.style,t=({}.toString," -webkit- -moz- -o- -ms- ".split(" ")),u="Webkit Moz O ms",v=u.split(" "),w=u.toLowerCase().split(" "),x={},y=[],z=y.slice,A=function(a,c,d,e){var f,g,h,i,j=b.createElement("div"),k=b.body,l=k||b.createElement("body");if(parseInt(d,10))for(;d--;)h=b.createElement("div"),h.id=e?e[d]:q+(d+1),j.appendChild(h);return f=["­",'"].join(""),j.id=q,(k?j:l).innerHTML+=f,l.appendChild(j),k||(l.style.background="",l.style.overflow="hidden",i=p.style.overflow,p.style.overflow="hidden",p.appendChild(l)),g=c(j,a),k?j.parentNode.removeChild(j):(l.parentNode.removeChild(l),p.style.overflow=i),!!g},B={}.hasOwnProperty;l=e(B,"undefined")||e(B.call,"undefined")?function(a,b){return b in a&&e(a.constructor.prototype[b],"undefined")}:function(a,b){return B.call(a,b)},Function.prototype.bind||(Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var c=z.call(arguments,1),d=function(){if(this instanceof d){var e=function(){};e.prototype=b.prototype;var f=new e,g=b.apply(f,c.concat(z.call(arguments)));return Object(g)===g?g:f}return b.apply(a,c.concat(z.call(arguments)))};return d}),x.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:A(["@media (",t.join("touch-enabled),("),q,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=9===a.offsetTop}),c},x.history=function(){return!!a.history&&!!history.pushState},x.csstransforms=function(){return!!i("transform")},x.csstransforms3d=function(){var a=!!i("perspective");return a&&"webkitPerspective"in p.style&&A("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=9===b.offsetLeft&&3===b.offsetHeight}),a},x.video=function(){var a=b.createElement("video"),c=!1;try{(c=!!a.canPlayType)&&(c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(d){}return c},x.audio=function(){var a=b.createElement("audio"),c=!1;try{(c=!!a.canPlayType)&&(c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(d){}return c};for(var C in x)l(x,C)&&(k=C.toLowerCase(),n[k]=x[C](),y.push((n[k]?"":"no-")+k));return n.addTest=function(a,b){if("object"==typeof a)for(var d in a)l(a,d)&&n.addTest(d,a[d]);else{if(a=a.toLowerCase(),n[a]!==c)return n;b="function"==typeof b?b():b,"undefined"!=typeof o&&o&&(p.className+=" "+(b?"":"no-")+a),n[a]=b}return n},d(""),r=j=null,function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=s.elements;return"string"==typeof a?a.split(" "):a}function e(a){var b=r[a[p]];return b||(b={},q++,a[p]=q,r[q]=b),b}function f(a,c,d){if(c||(c=b),k)return c.createElement(a);d||(d=e(c));var f;return f=d.cache[a]?d.cache[a].cloneNode():o.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!f.canHaveChildren||n.test(a)||f.tagUrn?f:d.frag.appendChild(f)}function g(a,c){if(a||(a=b),k)return a.createDocumentFragment();c=c||e(a);for(var f=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)f.createElement(h[g]);return f}function h(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return s.shivMethods?f(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(s,b.frag)}function i(a){a||(a=b);var d=e(a);return s.shivCSS&&!j&&!d.hasCSS&&(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),k||h(a,d),a}var j,k,l="3.7.0",m=a.html5||{},n=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,o=/^(?: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,p="_html5shiv",q=0,r={};!function(){try{var a=b.createElement("a");a.innerHTML="",j="hidden"in a,k=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){j=!0,k=!0}}();var s={elements:m.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:l,shivCSS:m.shivCSS!==!1,supportsUnknownElements:k,shivMethods:m.shivMethods!==!1,type:"default",shivDocument:i,createElement:f,createDocumentFragment:g};a.html5=s,i(b)}(this,b),n._version=m,n._prefixes=t,n._domPrefixes=w,n._cssomPrefixes=v,n.testProp=function(a){return g([a])},n.testAllProps=i,n.testStyles=A,p.className=p.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(o?" js "+y.join(" "):""),n}(this,this.document),window.Detectizr=function(a,b,c,d){function e(a,b){var c,d,f;if(arguments.length>2)for(c=1,d=arguments.length;d>c;c+=1)e(a,arguments[c]);else for(f in b)b.hasOwnProperty(f)&&(a[f]=b[f]);return a}function f(a){return s.browser.userAgent.indexOf(a)>-1}function g(a){return a.test(s.browser.userAgent)}function h(a){return a.exec(s.browser.userAgent)}function i(a){return a.replace(/^\s+|\s+$/g,"")}function j(a){return null===a||a===d?"":String(a).replace(/((\s|\-|\.)+[a-z0-9])/g,function(a){return a.toUpperCase().replace(/(\s|\-|\.)/g,"")})}function k(a,b){var c=b||"",d=1===a.nodeType&&(a.className?(" "+a.className+" ").replace(x," "):"");if(d){for(;d.indexOf(" "+c+" ")>=0;)d=d.replace(" "+c+" "," ");a.className=b?i(d):""}}function l(a,b,c){a&&(a=j(a),b&&(b=j(b),n(a+b,!0),c&&n(a+b+"_"+c,!0)))}function m(){a.clearTimeout(q),q=a.setTimeout(function(){r=s.device.orientation,s.device.orientation=a.innerHeight>a.innerWidth?"portrait":"landscape",n(s.device.orientation,!0),r!==s.device.orientation&&n(r,!1)},10)}function n(a,b){a&&t&&(v.addAllFeaturesAsClass?t.addTest(a,b):(b="function"==typeof b?b():b,b?t.addTest(a,!0):(delete t[a],k(y,a))))}function o(a,b){a.version=b;var c=b.split(".");c.length>0?(c=c.reverse(),a.major=c.pop(),c.length>0?(a.minor=c.pop(),c.length>0?(c=c.reverse(),a.patch=c.join(".")):a.patch="0"):a.minor="0"):a.major="0"}function p(d){var i,k,p,q,r,x,y,z,A=this;if(v=e({},v,d||{}),v.detectDevice){for(s.device={type:"",model:"",orientation:""},q=s.device,g(/googletv|smarttv|internet.tv|netcast|nettv|appletv|boxee|kylo|roku|dlnadoc|ce\-html/)?(q.type=u[0],q.model="smartTv"):g(/xbox|playstation.3|wii/)?(q.type=u[0],q.model="gameConsole"):g(/ip(a|ro)d/)?(q.type=u[1],q.model="ipad"):g(/tablet/)&&!g(/rx-34/)||g(/folio/)?(q.type=u[1],q.model=String(h(/playbook/)||"")):g(/linux/)&&g(/android/)&&!g(/fennec|mobi|htc.magic|htcX06ht|nexus.one|sc-02b|fone.945/)?(q.type=u[1],q.model="android"):g(/kindle/)||g(/mac.os/)&&g(/silk/)?(q.type=u[1],q.model="kindle"):g(/gt-p10|sc-01c|shw-m180s|sgh-t849|sch-i800|shw-m180l|sph-p100|sgh-i987|zt180|htc(.flyer|\_flyer)|sprint.atp51|viewpad7|pandigital(sprnova|nova)|ideos.s7|dell.streak.7|advent.vega|a101it|a70bht|mid7015|next2|nook/)||g(/mb511/)&&g(/rutem/)?(q.type=u[1],q.model="android"):g(/bb10/)?(q.type=u[1],q.model="blackberry"):(q.model=h(/iphone|ipod|android|blackberry|opera mini|opera mobi|skyfire|maemo|windows phone|palm|iemobile|symbian|symbianos|fennec|j2me/),null!==q.model?(q.type=u[2],q.model=String(q.model)):(q.model="",g(/bolt|fennec|iris|maemo|minimo|mobi|mowser|netfront|novarra|prism|rx-34|skyfire|tear|xv6875|xv6975|google.wireless.transcoder/)?q.type=u[2]:g(/opera/)&&g(/windows.nt.5/)&&g(/htc|xda|mini|vario|samsung\-gt\-i8000|samsung\-sgh\-i9/)?q.type=u[2]:g(/windows.(nt|xp|me|9)/)&&!g(/phone/)||g(/win(9|.9|nt)/)||g(/\(windows 8\)/)?q.type=u[3]:g(/macintosh|powerpc/)&&!g(/silk/)?(q.type=u[3],q.model="mac"):g(/linux/)&&g(/x11/)?q.type=u[3]:g(/solaris|sunos|bsd/)?q.type=u[3]:g(/bot|crawler|spider|yahoo|ia_archiver|covario-ids|findlinks|dataparksearch|larbin|mediapartners-google|ng-search|snappy|teoma|jeeves|tineye/)&&!g(/mobile/)?(q.type=u[3],q.model="crawler"):q.type=u[2])),i=0,k=u.length;k>i;i+=1)n(u[i],q.type===u[i]);v.detectDeviceModel&&n(j(q.model),!0)}if(v.detectScreen&&(t&&t.mq&&(n("smallScreen",t.mq("only screen and (max-width: 480px)")),n("verySmallScreen",t.mq("only screen and (max-width: 320px)")),n("veryVerySmallScreen",t.mq("only screen and (max-width: 240px)"))),q.type===u[1]||q.type===u[2]?(a.onresize=function(a){m(a)},m()):(q.orientation="landscape",n(q.orientation,!0))),v.detectOS&&(s.os={},r=s.os,""!==q.model&&("ipad"===q.model||"iphone"===q.model||"ipod"===q.model?(r.name="ios",o(r,(g(/os\s([\d_]+)/)?RegExp.$1:"").replace(/_/g,"."))):"android"===q.model?(r.name="android",o(r,g(/android\s([\d\.]+)/)?RegExp.$1:"")):"blackberry"===q.model?(r.name="blackberry",o(r,g(/version\/([^\s]+)/)?RegExp.$1:"")):"playbook"===q.model&&(r.name="blackberry",o(r,g(/os ([^\s]+)/)?RegExp.$1.replace(";",""):""))),r.name||(f("win")||f("16bit")?(r.name="windows",f("windows nt 6.3")?o(r,"8.1"):f("windows nt 6.2")||g(/\(windows 8\)/)?o(r,"8"):f("windows nt 6.1")?o(r,"7"):f("windows nt 6.0")?o(r,"vista"):f("windows nt 5.2")||f("windows nt 5.1")||f("windows xp")?o(r,"xp"):f("windows nt 5.0")||f("windows 2000")?o(r,"2k"):f("winnt")||f("windows nt")?o(r,"nt"):f("win98")||f("windows 98")?o(r,"98"):(f("win95")||f("windows 95"))&&o(r,"95")):f("mac")||f("darwin")?(r.name="mac os",f("68k")||f("68000")?o(r,"68k"):f("ppc")||f("powerpc")?o(r,"ppc"):f("os x")&&o(r,(g(/os\sx\s([\d_]+)/)?RegExp.$1:"os x").replace(/_/g,"."))):f("webtv")?r.name="webtv":f("x11")||f("inux")?r.name="linux":f("sunos")?r.name="sun":f("irix")?r.name="irix":f("freebsd")?r.name="freebsd":f("bsd")&&(r.name="bsd")),r.name&&(n(r.name,!0),r.major&&(l(r.name,r.major),r.minor&&l(r.name,r.major,r.minor))),r.addressRegisterSize=g(/\sx64|\sx86|\swin64|\swow64|\samd64/)?"64bit":"32bit",n(r.addressRegisterSize,!0)),v.detectBrowser&&(x=s.browser,g(/opera|webtv/)||!g(/msie\s([\d\w\.]+)/)&&!f("trident")?f("firefox")?(x.engine="gecko",x.name="firefox",o(x,g(/firefox\/([\d\w\.]+)/)?RegExp.$1:"")):f("gecko/")?x.engine="gecko":f("opera")?(x.name="opera",x.engine="presto",o(x,g(/version\/([\d\.]+)/)?RegExp.$1:g(/opera(\s|\/)([\d\.]+)/)?RegExp.$2:"")):f("konqueror")?x.name="konqueror":f("chrome")?(x.engine="webkit",x.name="chrome",o(x,g(/chrome\/([\d\.]+)/)?RegExp.$1:"")):f("iron")?(x.engine="webkit",x.name="iron"):f("crios")?(x.name="chrome",x.engine="webkit",o(x,g(/crios\/([\d\.]+)/)?RegExp.$1:"")):f("applewebkit/")?(x.name="safari",x.engine="webkit",o(x,g(/version\/([\d\.]+)/)?RegExp.$1:"")):f("mozilla/")&&(x.engine="gecko"):(x.engine="trident",x.name="ie",!a.addEventListener&&c.documentMode&&7===c.documentMode?o(x,"8.compat"):g(/trident.*rv[ :](\d+)\./)?o(x,RegExp.$1):o(x,g(/trident\/4\.0/)?"8":RegExp.$1)),x.name&&(n(x.name,!0),x.major&&(l(x.name,x.major),x.minor&&l(x.name,x.major,x.minor))),n(x.engine,!0),x.language=b.userLanguage||b.language,n(x.language,!0)),v.detectPlugins){for(x.plugins=[],A.detectPlugin=function(a){var c,d,e,f=b.plugins;for(k=f.length-1;k>=0;k--){for(c=f[k],d=c.name+c.description,e=0,p=a.length;p>=0;p--)-1!==d.indexOf(a[p])&&(e+=1);if(e===a.length)return!0}return!1},A.detectObject=function(a){for(k=a.length-1;k>=0;k--)try{new ActiveXObject(a[k])}catch(b){}return!1},i=w.length-1;i>=0;i--)y=w[i],z=!1,a.ActiveXObject?z=A.detectObject(y.progIds):b.plugins&&(z=A.detectPlugin(y.substrs)),z&&(x.plugins.push(y.name),n(y.name,!0));b.javaEnabled()&&(x.plugins.push("java"),n("java",!0))}}var q,r,s={},t=a.Modernizr,u=["tv","tablet","mobile","desktop"],v={addAllFeaturesAsClass:!1,detectDevice:!0,detectDeviceModel:!0,detectScreen:!0,detectOS:!0,detectBrowser:!0,detectPlugins:!0},w=[{name:"adobereader",substrs:["Adobe","Acrobat"],progIds:["AcroPDF.PDF","PDF.PDFCtrl.5"]},{name:"flash",substrs:["Shockwave Flash"],progIds:["ShockwaveFlash.ShockwaveFlash.1"]},{name:"wmplayer",substrs:["Windows Media"],progIds:["wmplayer.ocx"]},{name:"silverlight",substrs:["Silverlight"],progIds:["AgControl.AgControl"]},{name:"quicktime",substrs:["QuickTime"],progIds:["QuickTime.QuickTime"]}],x=/[\t\r\n]/g,y=c.documentElement;return s.detect=function(a){return p(a)},s.init=function(){s!==d&&(s.browser={userAgent:(b.userAgent||b.vendor||a.opera).toLowerCase()},s.detect())},s.init(),s}(this,this.navigator,this.document);