!function(e,t){"object"==typeofmodule&&"object"==typeofmodule.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)thrownewError("jQuery requires a window with a document");returnt(e)}:t(e)}("undefined"!=typeofwindow?window:this,function(e,t){functionn(e){vart=!!e&&"length"ine&&e.length,n=pe.type(e);return"function"===n||pe.isWindow(e)?!1:"array"===n||0===t||"number"==typeoft&&t>0&&t-1ine}functioni(e,t,n){if(pe.isFunction(t))returnpe.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)returnpe.grep(e,function(e){returne===t!==n});if("string"==typeoft){if(Te.test(t))returnpe.filter(t,e,n);t=pe.filter(t,e)}returnpe.grep(e,function(e){returnpe.inArray(e,t)>-1!==n})}functionr(e,t){doe=e[t];while(e&&1!==e.nodeType);returne}functiono(e){vart={};returnpe.each(e.match(Ae)||[],function(e,n){t[n]=!0}),t}functiona(){ie.addEventListener?(ie.removeEventListener("DOMContentLoaded",s),e.removeEventListener("load",s)):(ie.detachEvent("onreadystatechange",s),e.detachEvent("onload",s))}functions(){(ie.addEventListener||"load"===e.event.type||"complete"===ie.readyState)&&(a(),pe.ready())}functionl(e,t,n){if(void0===n&&1===e.nodeType){vari="data-"+t.replace(Oe,"-$1").toLowerCase();if(n=e.getAttribute(i),"string"==typeofn){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Ie.test(n)?pe.parseJSON(n):n}catch(r){}pe.data(e,t,n)}elsen=void0}returnn}functionu(e){vart;for(tine)if(("data"!==t||!pe.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}functionc(e,t,n,i){if(He(e)){varr,o,a=pe.expando,s=e.nodeType,l=s?pe.cache:e,u=s?e[a]:e[a]&&a;if(u&&l[u]&&(i||l[u].data)||void0!==n||"string"!=typeoft)returnu||(u=s?e[a]=ne.pop()||pe.guid++:a),l[u]||(l[u]=s?{}:{toJSON:pe.noop}),("object"==typeoft||"function"==typeoft)&&(i?l[u]=pe.extend(l[u],t):l[u].data=pe.extend(l[u].data,t)),o=l[u],i||(o.data||(o.data={}),o=o.data),void0!==n&&(o[pe.camelCase(t)]=n),"string"==typeoft?(r=o[t],null==r&&(r=o[pe.camelCase(t)])):r=o,r}}functiond(e,t,n){if(He(e)){vari,r,o=e.nodeType,a=o?pe.cache:e,s=o?e[pe.expando]:pe.expando;if(a[s]){if(t&&(i=n?a[s]:a[s].data)){pe.isArray(t)?t=t.concat(pe.map(t,pe.camelCase)):tini?t=[t]:(t=pe.camelCase(t),t=tini?[t]:t.split(" ")),r=t.length;for(;r--;)deletei[t[r]];if(n?!u(i):!pe.isEmptyObject(i))return}(n||(deletea[s].data,u(a[s])))&&(o?pe.cleanData([e],!0):de.deleteExpando||a!=a.window?deletea[s]:a[s]=void0)}}}functionf(e,t,n,i){varr,o=1,a=20,s=i?function(){returni.cur()}:function(){returnpe.css(e,t,"")},l=s(),u=n&&n[3]||(pe.cssNumber[t]?"":"px"),c=(pe.cssNumber[t]||"px"!==u&&+l)&&Me.exec(pe.css(e,t));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;doo=o||".5",c/=o,pe.style(e,t,c+u);while(o!==(o=s()/l)&&1!==o&&--a)}returnn&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}functionp(e){vart=$e.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());returnn}functionh(e,t){varn,i,r=0,o="undefined"!=typeofe.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeofe.querySelectorAll?e.querySelectorAll(t||"*"):void0;if(!o)for(o=[],n=e.childNodes||e;null!=(i=n[r]);r++)!t||pe.nodeName(i,t)?o.push(i):pe.merge(o,h(i,t));returnvoid0===t||t&&pe.nodeName(e,t)?pe.merge([e],o):o}functionm(e,t){for(varn,i=0;null!=(n=e[i]);i++)pe._data(n,"globalEval",!t||pe._data(t[i],"globalEval"))}functiong(e){qe.test(e.type)&&(e.defaultChecked=e.checked)}functionv(e,t,n,i,r){for(varo,a,s,l,u,c,d,f=e.length,v=p(t),y=[],b=0;f>b;b++)if(a=e[b],a||0===a)if("object"===pe.type(a))pe.merge(y,a.nodeType?[a]:a);elseif(Ye.test(a)){for(l=l||v.appendChild(t.createElement("div")),u=(Re.exec(a)||["",""])[1].toLowerCase(),d=Xe[u]||Xe._default,l.innerHTML=d[1]+pe.htmlPrefilter(a)+d[2],o=d[0];o--;)l=l.lastChild;if(!de.leadingWhitespace&&We.test(a)&&y.push(t.createTextNode(We.exec(a)[0])),!de.tbody)for(a="table"!==u||Ue.test(a)?"<table>"!==d[1]||Ue.test(a)?0:l:l.firstChild,o=a&&a.childNodes.length;o--;)pe.nodeName(c=a.childNodes[o],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(pe.mer
left:n.left+t.pageXOffset},win:n}}functionw(){H=setInterval(function(){!c()&&E()},500)}functionC(){clearInterval(H)}functionT(){O&&(document[P]?C():w())}functionk(){O||(o(),p(),t.addEventListener("scroll",a),t.addEventListener("wheel",s),t.addEventListener("resize",E),t.addEventListener("orientationchange",E),e.addEventListener(B,T),w(),O=!0)}functionE(){if(O){h();for(vare=I.length-1;e>=0;e--)I[e]=y(I[e].node);p()}}functionS(){t.removeEventListener("scroll",a),t.removeEventListener("wheel",s),t.removeEventListener("resize",E),t.removeEventListener("orientationchange",E),e.removeEventListener(B,T),C(),O=!1}functionN(){S(),h()}functionL(){for(N();I.length;)I.pop()}functionA(e){for(vart=I.length-1;t>=0;t--)if(I[t].node===e)return;varn=y(e);I.push(n),O?d(n):k()}functionj(e){for(vart=I.length-1;t>=0;t--)I[t].node===e&&(f(I[t]),I.splice(t,1))}varD,H,I=[],O=!1,_=e.documentElement,M=function(){},P="hidden",B="visibilitychange";void0!==e.webkitHidden&&(P="webkitHidden",B="webkitvisibilitychange"),t.getComputedStyle||n();for(varF=["","-webkit-","-moz-","-ms-"],q=document.createElement("div"),R=F.length-1;R>=0;R--){try{q.style.position=F[R]+"sticky"}catch(z){}""!=q.style.position&&n()}o(),t.Stickyfill={stickies:I,add:A,remove:j,init:k,rebuild:E,pause:S,stop:N,kill:L}}(document,window),window.jQuery&&!function(e){e.fn.Stickyfill=function(){returnthis.each(function(){Stickyfill.add(this)}),this}}(window.jQuery),$(document).ready(function(){$("#main").fitVids(),$(".sticky").Stickyfill();vare=function(){vare=$(window).width();e>768?(Stickyfill.rebuild(),Stickyfill.init()):Stickyfill.stop()};e(),$(window).resize(function(){e()}),$("a").smoothScroll({offset:-20}),$("a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif']").addClass("image-popup"),$(".image-popup").magnificPopup({disableOn:function(){return!($(window).width()<500)},type:"image",tLoading:"Loading image #%curr%...",gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]},image:{tError:'<a href="%url%">Image #%curr%</a> could not be loaded.'},removalDelay:500,mainClass:"mfp-zoom-in",callbacks:{beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim")}},closeOnContentClick:!0,midClick:!0})});