function ajaxNotice(t,n,e){e=e||0,e=Math.min(e,2e4),$("#notice").remove(),$("body").prepend('
x
",r.appendChild(o.childNodes[1])}return n&&t.extend(e,n),this.each(function(){var n=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];e.customSelector&&n.push(e.customSelector);var r=".fitvidsignore";e.ignore&&(r=r+", "+e.ignore);var i=t(this).find(n.join(","));(i=(i=i.not("object object")).not(r)).each(function(n){var e=t(this);if(!(e.parents(r).length>0||"embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){e.css("height")||e.css("width")||!isNaN(e.attr("height"))&&!isNaN(e.attr("width"))||(e.attr("height",9),e.attr("width",16));var i=("object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height())/(isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10));if(!e.attr("id")){var o="fitvid"+n;e.attr("id",o)}e.wrap('').parent(".fluid-width-video-wrapper").css("padding-top",100*i+"%"),e.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),function(){function t(t,n){return t.set(n[0],n[1]),t}function n(t,n){return t.add(n),t}function e(t,n,e){switch(e?e.length:0){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}function r(t,n,e,r){for(var i=-1,o=t.length;++ir?s*("desc"==e[r]?-1:1):s;break t}}r=t.b-n.b}return r})}function On(t,n){return t=Object(t),l(n,function(n,e){return e in t&&(n[e]=t[e]),n},{})}function In(t,n){var e={};return an(t,function(t,r){n(t,r)&&(e[r]=t)}),e}function Mn(t){return function(n){return null==n?W:n[t]}}function kn(t){return function(n){return ln(n,t)}}function Sn(t,n,e){var r=-1,i=n.length,o=t;for(e&&(o=c(t,function(t){return e(t)}));++rn&&(n=-n>i?0:i+n),0>(e=e>i?i:e)&&(e+=i),i=n>e?0:e-n>>>0,n>>>=0,e=Array(i);++r=i){for(;i>r;){var o=r+i>>>1,u=t[o];(e?n>=u:n>u)&&null!==u?r=o+1:i=o}return i}return Nn(t,n,qr,e)}function Nn(t,n,e,r){n=e(n);for(var i=0,o=t?t.length:0,u=n!=n,a=null===n,s=n===W;o>i;){var c=Ai((i+o)/2),f=e(t[c]),l=f!==W,h=f==f;(u?h||r:a?h&&l&&(r||null!=f):s?h&&(r||l):null!=f&&(r?n>=f:n>f))?i=c+1:o=c}return ki(o,4294967294)}function Un(t,n){for(var e=0,r=t.length,i=t[0],o=n?n(i):i,u=o,a=0,s=[i];++e
"+(r?r[t]:v[t])+"":""};return n.options.layout?this._buildLayout(n,d,n.options.layout,n.options.compact,n.options.significant,g):(n.options.compact?''+m(r)+m(i)+m(o)+m(u)+(d[a]?this._minDigits(n,n._periods[a],2):"")+(d[s]?(d[a]?n.options.timeSeparator:"")+this._minDigits(n,n._periods[s],2):"")+(d[c]?(d[a]||d[s]?n.options.timeSeparator:"")+this._minDigits(n,n._periods[c],2):""):''+b(r)+b(i)+b(o)+b(u)+b(a)+b(s)+b(c))+""+(n.options.description?''+n.options.description+"":"")},_buildLayout:function(n,e,f,l,h,p){for(var d=n.options[l?"compactLabels":"labels"],_=n.options.whichLabels||this._normalLabels,g=function(t){return(n.options[(l?"compactLabels":"labels")+_(n._periods[t])]||d)[t]},v=function(t,e){return n.options.digits[Math.floor(t/e)%10]},y={desc:n.options.description,sep:n.options.timeSeparator,yl:g(r),yn:this._minDigits(n,n._periods[r],1),ynn:this._minDigits(n,n._periods[r],2),ynnn:this._minDigits(n,n._periods[r],3),y1:v(n._periods[r],1),y10:v(n._periods[r],10),y100:v(n._periods[r],100),y1000:v(n._periods[r],1e3),ol:g(i),on:this._minDigits(n,n._periods[i],1),onn:this._minDigits(n,n._periods[i],2),onnn:this._minDigits(n,n._periods[i],3),o1:v(n._periods[i],1),o10:v(n._periods[i],10),o100:v(n._periods[i],100),o1000:v(n._periods[i],1e3),wl:g(o),wn:this._minDigits(n,n._periods[o],1),wnn:this._minDigits(n,n._periods[o],2),wnnn:this._minDigits(n,n._periods[o],3),w1:v(n._periods[o],1),w10:v(n._periods[o],10),w100:v(n._periods[o],100),w1000:v(n._periods[o],1e3),dl:g(u),dn:this._minDigits(n,n._periods[u],1),dnn:this._minDigits(n,n._periods[u],2),dnnn:this._minDigits(n,n._periods[u],3),d1:v(n._periods[u],1),d10:v(n._periods[u],10),d100:v(n._periods[u],100),d1000:v(n._periods[u],1e3),hl:g(a),hn:this._minDigits(n,n._periods[a],1),hnn:this._minDigits(n,n._periods[a],2),hnnn:this._minDigits(n,n._periods[a],3),h1:v(n._periods[a],1),h10:v(n._periods[a],10),h100:v(n._periods[a],100),h1000:v(n._periods[a],1e3),ml:g(s),mn:this._minDigits(n,n._periods[s],1),mnn:this._minDigits(n,n._periods[s],2),mnnn:this._minDigits(n,n._periods[s],3),m1:v(n._periods[s],1),m10:v(n._periods[s],10),m100:v(n._periods[s],100),m1000:v(n._periods[s],1e3),sl:g(c),sn:this._minDigits(n,n._periods[c],1),snn:this._minDigits(n,n._periods[c],2),snnn:this._minDigits(n,n._periods[c],3),s1:v(n._periods[c],1),s10:v(n._periods[c],10),s100:v(n._periods[c],100),s1000:v(n._periods[c],1e3)},m=f,b=r;b<=c;b++){var w="yowdhms".charAt(b),x=new RegExp("\\{"+w+"<\\}([\\s\\S]*)\\{"+w+">\\}","g");m=m.replace(x,!h&&e[b]||h&&p[b]?"$1":"")}return t.each(y,function(t,n){var e=new RegExp("\\{"+t+"\\}","g");m=m.replace(e,n)}),m},_minDigits:function(t,n,e){return(n=""+n).length>=e?this._translateDigits(t,n):(n="0000000000"+n,this._translateDigits(t,n.substr(n.length-e)))},_translateDigits:function(t,n){return(""+n).replace(/[0-9]/g,function(n){return t.options.digits[n]})},_determineShow:function(t){var n=t.options.format,e=[];return e[r]=n.match("y")?"?":n.match("Y")?"!":null,e[i]=n.match("o")?"?":n.match("O")?"!":null,e[o]=n.match("w")?"?":n.match("W")?"!":null,e[u]=n.match("d")?"?":n.match("D")?"!":null,e[a]=n.match("h")?"?":n.match("H")?"!":null,e[s]=n.match("m")?"?":n.match("M")?"!":null,e[c]=n.match("s")?"?":n.match("S")?"!":null,e},_calculatePeriods:function(t,n,e,f){t._now=f,t._now.setMilliseconds(0);var h=new Date(t._now.getTime());t._since?f.getTime()").bind("load",function(){var r=e.attr("data-"+c.data_attribute);e.hide(),e.is("img")?e.attr("src",r):e.css("background-image","url('"+r+"')"),e[c.effect](c.effect_speed),n.loaded=!0;var i=t.grep(s,function(t){return!t.loaded});if(s=t(i),c.load){var o=s.length;c.load.call(n,o,c)}}).attr("src",e.attr("data-"+c.data_attribute))}}),0!==c.event.indexOf("scroll")&&e.bind(c.event,function(){n.loaded||e.trigger("appear")})}),i.bind("resize",function(){u()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&i.bind("pageshow",function(n){n.originalEvent&&n.originalEvent.persisted&&s.each(function(){t(this).trigger("appear")})}),t(e).ready(function(){u()}),this},t.belowthefold=function(e,o){return(o.container===r||o.container===n?(n.innerHeight?n.innerHeight:i.height())+i.scrollTop():t(o.container).offset().top+t(o.container).height())<=t(e).offset().top-o.threshold},t.rightoffold=function(e,o){return(o.container===r||o.container===n?i.width()+i.scrollLeft():t(o.container).offset().left+t(o.container).width())<=t(e).offset().left-o.threshold},t.abovethetop=function(e,o){return(o.container===r||o.container===n?i.scrollTop():t(o.container).offset().top)>=t(e).offset().top+o.threshold+t(e).height()},t.leftofbegin=function(e,o){return(o.container===r||o.container===n?i.scrollLeft():t(o.container).offset().left)>=t(e).offset().left+o.threshold+t(e).width()},t.inviewport=function(n,e){return!(t.rightoffold(n,e)||t.leftofbegin(n,e)||t.belowthefold(n,e)||t.abovethetop(n,e))},t.extend(t.expr[":"],{"below-the-fold":function(n){return t.belowthefold(n,{threshold:0})},"above-the-top":function(n){return!t.belowthefold(n,{threshold:0})},"right-of-screen":function(n){return t.rightoffold(n,{threshold:0})},"left-of-screen":function(n){return!t.rightoffold(n,{threshold:0})},"in-viewport":function(n){return t.inviewport(n,{threshold:0})},"above-the-fold":function(n){return!t.belowthefold(n,{threshold:0})},"right-of-fold":function(n){return t.rightoffold(n,{threshold:0})},"left-of-fold":function(n){return!t.rightoffold(n,{threshold:0})}})}(jQuery,window,document);