(function(n){var f=n.event,i,e={_:0},t=0,r,u;i=f.special.throttledresize={setup:function(){n(this).on("resize",i.handler)},teardown:function(){n(this).off("resize",i.handler)},handler:function(o,s){var h=this,c=arguments;r=!0;u||(setInterval(function(){t++;(t>i.threshold&&r||s)&&(o.type="throttledresize",f.dispatch.apply(h,c),r=!1,t=0);t>9&&(n(e).stop(),u=!1,t=0)},30),u=!0)},threshold:0}})(jQuery),function(n){var r=n.event,t,i;t=r.special.debouncedresize={setup:function(){n(this).on("resize",t.handler)},teardown:function(){n(this).off("resize",t.handler)},handler:function(n,u){var e=this,o=arguments,f=function(){n.type="debouncedresize";r.dispatch.apply(e,o)};i&&clearTimeout(i);u?f():i=setTimeout(f,t.threshold)},threshold:150}}(jQuery);!function(n,t,i){function o(n,t){return typeof n===t}function it(){var i,n,u,f,e,c,t,s;for(s in h)if(h.hasOwnProperty(s)){if(i=[],n=h[s],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++)c=i[e],t=c.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),g.push((f?"":"no-")+t.join("-"))}}function rt(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 ut(n,t){return!!~(""+n).indexOf(t)}function ft(n){return n.replace(/([a-z])-([a-z])/g,function(n,t,i){return t+i.toUpperCase()}).replace(/^-/,"")}function et(n,t){return function(){return n.apply(t,arguments)}}function ot(n,t,i){var r,u;for(u in n)if(n[u]in t)return i===!1?n[u]:(r=t[n[u]],o(r,"function")?et(r,i||t):r);return!1}function k(n){return n.replace(/([A-Z])/g,function(n,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function st(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 ht(){var n=t.body;return n||(n=s(c?"svg":"body"),n.fake=!0),n}function ct(n,i,r,u){var o,a,c,v,l="modernizr",h=s("div"),f=ht();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 lt(t,r){var f=t.length,u;if("CSS"in n&&"supports"in n.CSS){for(;f--;)if(n.CSS.supports(k(t[f]),r))return!0;return!1}if("CSSSupportsRule"in n){for(u=[];f--;)u.push("("+k(t[f])+":"+r+")");return u=u.join(" or "),ct("@supports ("+u+") { #modernizr { position: absolute; } }",function(n){return"absolute"==st(n,null,"position")})}return i}function at(n,t,r,f){function c(){v&&(delete u.style,delete u.modElem)}var l,v,h,y,e,p,a;if((f=o(f,"undefined")?!1:f,!o(r,"undefined"))&&(l=lt(n,r),!o(l,"undefined")))return l;for(a=["modernizr","tspan","samp"];!u.style&&a.length;)v=!0,u.modElem=s(a.shift()),u.style=u.modElem.style;for(y=n.length,h=0;y>h;h++)if(e=n[h],p=u.style[e],ut(e,"-")&&(e=ft(e)),u.style[e]!==i){if(f||o(r,"undefined"))return c(),"pfx"==t?e:!0;try{u.style[e]=r}catch(w){}if(u.style[e]!=p)return c(),"pfx"==t?e:!0}return c(),!1}function d(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+" "+w.join(f+" ")+f).split(" "),ot(e,t,i))}function a(n,t,r){return d(n,i,i,t,r)}var g=[],h=[],f={_version:"3.5.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(){},v,e,c,nt,tt,y,p,w,b,u,l;for(r.prototype=f,r=new r,r.addTest("svgfilters",function(){var t=!1;try{t="SVGFEColorMatrixElement"in n&&2==SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE}catch(i){}return t}),v=f._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""],f._prefixes=v,e=t.documentElement,c="svg"===e.nodeName.toLowerCase(),r.addTest("inlinesvg",function(){var n=s("div");return n.innerHTML="<svg/>","http://www.w3.org/2000/svg"==("undefined"!=typeof SVGRect&&n.firstChild&&n.firstChild.namespaceURI)}),nt=("CSS"in n)&&("supports"in n.CSS),tt=("supportsCSS"in n),r.addTest("supports",nt||tt),y="Moz O ms Webkit",p=f._config.usePrefixes?y.split(" "):[],f._cssomPrefixes=p,w=f._config.usePrefixes?y.toLowerCase().split(" "):[],f._domPrefixes=w,b={elem:s("modernizr")},r._q.push(function(){delete b.elem}),u={style:b.elem.style},r._q.unshift(function(){delete u.style}),f.testAllProps=d,f.testAllProps=a,r.addTest("cssfilters",function(){if(r.supports)return a("filter","blur(2px)");var n=s("a");return n.style.cssText=v.join("filter:blur(2px); "),!!n.style.length&&(t.documentMode===i||t.documentMode>9)}),r.addTest("csstransforms",function(){return-1===navigator.userAgent.indexOf("Android 2.")&&a("transform","scale(1)",!0)}),it(),rt(g),delete f.addTest,delete f.addAsyncTest,l=0;l<r._q.length;l++)r._q[l]();n.Modernizr=r}(window,document);var objectFitImages=function(){"use strict";function a(n){if(n.srcset&&!k&&window.picturefill){var t=window.picturefill._;n[t.ns]&&n[t.ns].evaled||t.fillImg(n,{reselect:!0});n[t.ns].curSrc||(n[t.ns].supported=!1,t.fillImg(n,{reselect:!0}));n.currentSrc=n[t.ns].curSrc||n.src}}function v(n){for(var t,r=getComputedStyle(n).fontFamily,i={};null!==(t=w.exec(r));)i[t[1]]=t[2];return i}function s(i,r,f){t.width=r||1;t.height=f||1;i[n].width===t.width&&i[n].height===t.height||(i[n].width=t.width,i[n].height=t.height,u.call(i,"src",t.toDataURL()))}function f(n,t){n.naturalWidth?t(n):setTimeout(f,100,n,t)}function h(t){var r=v(t),i=t[n];if(r["object-fit"]=r["object-fit"]||"fill",!i.img){if("fill"===r["object-fit"])return;if(!i.skipTest&&c&&!r["object-position"])return}if(!i.img){i.img=new Image(t.width,t.height);i.img.srcset=o.call(t,"data-ofi-srcset")||t.srcset;i.img.src=o.call(t,"data-ofi-src")||t.src;u.call(t,"data-ofi-src",t.src);u.call(t,"data-ofi-srcset",t.srcset);s(t,t.naturalWidth||t.width,t.naturalHeight||t.height);t.srcset&&(t.srcset="");try{y(t)}catch(a){window.console&&console.log("http://bit.ly/ofi-old-browser")}}a(i.img);t.style.backgroundImage="url("+(i.img.currentSrc||i.img.src).replace("(","%28").replace(")","%29")+")";t.style.backgroundPosition=r["object-position"]||"center";t.style.backgroundRepeat="no-repeat";/scale-down/.test(r["object-fit"])?f(i.img,function(){t.style.backgroundSize=i.img.naturalWidth>t.width||i.img.naturalHeight>t.height?"contain":"auto"}):t.style.backgroundSize=r["object-fit"].replace("none","auto").replace("fill","100% 100%");f(i.img,function(n){s(t,n.naturalWidth,n.naturalHeight)})}function y(t){var i={get:function(i){return t[n].img[i?i:"src"]},set:function(i,r){return t[n].img[r?r:"src"]=i,u.call(t,"data-ofi-"+r,i),h(t),i}};Object.defineProperty(t,"src",i);Object.defineProperty(t,"currentSrc",{get:function(){return i.get("currentSrc")}});Object.defineProperty(t,"srcset",{get:function(){return i.get("srcset")},set:function(n){return i.set(n,"srcset")}})}function p(){function t(t,i){return t[n]&&t[n].img&&("src"===i||"srcset"===i)?t[n].img:t}e||(HTMLImageElement.prototype.getAttribute=function(n){return o.call(t(this,n),n)},HTMLImageElement.prototype.setAttribute=function(n,i){return u.call(t(this,n),n,String(i))})}function r(t,i){var f=!l&&!t,u;if(i=i||{},t=t||"img",e&&!i.skipTest||!b)return!1;for("string"==typeof t?t=document.querySelectorAll(t):("length"in t)||(t=[t]),u=0;u<t.length;u++)t[u][n]=t[u][n]||{skipTest:i.skipTest},h(t[u]);f&&(document.body.addEventListener("load",function(n){"IMG"===n.target.tagName&&r(n.target,{skipTest:i.skipTest})},!0),l=!0,t="img");i.watchMQ&&window.addEventListener("resize",r.bind(null,t,{skipTest:i.skipTest}))}var n="bfred-it:object-fit-images",w=/(object-fit|object-position)\s*:\s*([-\w\s%]+)/g,i=new Image,t=document.createElement("canvas"),c="object-fit"in i.style,e="object-position"in i.style,b="background-size"in i.style&&window.HTMLCanvasElement,k="string"==typeof i.currentSrc,o=i.getAttribute,u=i.setAttribute,l=!1;return r.supportsObjectFit=c,r.supportsObjectPosition=e,p(),r}()