warning for safari users
diff --git a/js/main.js b/js/main.js
index f4a8b69..f120d9f 100644
--- a/js/main.js
+++ b/js/main.js
@@ -288,6 +288,13 @@
 		
 		/* flash backups for videos */
 		videojs.options.flash.swf = "js/lib/video-js.swf";
+		
+		if (notorioussvg.agent.indexOf('safari')!=-1){ 
+			if (notorioussvg.agent.indexOf('chrome')  > -1){
+			} else {
+				alert('Hello Safari User, this is best viewed in Chrome due to the background videos, if you get stuck in a video use your keyboard right and left arrows to move to the next page.');
+			}
+		}
 	}
 };
 
diff --git a/js/notorious-svg.js b/js/notorious-svg.js
index 6c9c9ea..e77ac8e 100644
--- a/js/notorious-svg.js
+++ b/js/notorious-svg.js
@@ -517,6 +517,13 @@
 		
 		/* flash backups for videos */
 		videojs.options.flash.swf = "js/lib/video-js.swf";
+		
+		if (notorioussvg.agent.indexOf('safari')!=-1){ 
+			if (notorioussvg.agent.indexOf('chrome')  > -1){
+			} else {
+				alert('Hello Safari User, this is best viewed in Chrome due to the background videos, if you get stuck in a video use your keyboard right and left arrows to move to the next page.');
+			}
+		}
 	}
 };
 
diff --git a/js/notorious-svg.min.js b/js/notorious-svg.min.js
index 7c368a9..37cce53 100644
--- a/js/notorious-svg.min.js
+++ b/js/notorious-svg.min.js
@@ -4,4 +4,4 @@
 Lovingly coded by The Nortorious SVG  - http://barrelny.com 
 */
 !function(){function m(){return function(){}}function p(a){return function(){return this[a]}}function r(a){return function(){return a}}function u(a,b,c){if("string"==typeof a){if(0===a.indexOf("#")&&(a=a.slice(1)),u.va[a])return u.va[a];a=u.r(a)}if(!a||!a.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return a.player||new u.C(a,b,c)}function D(a,c,d,e){return d!==b?(a.b.style[c]=-1!==(""+d).indexOf("%")||-1!==(""+d).indexOf("px")?d:"auto"===d?"":d+"px",e||a.k("resize"),a):a.b?(d=a.b.style[c],e=d.indexOf("px"),-1!==e?parseInt(d.slice(0,e),10):parseInt(a.b["offset"+u.Z(c)],10)):0}function E(a,b){var c,d,e,f;return c=a.b,d=u.Qc(c),f=e=c.offsetWidth,c=a.handle,a.f.pd?(f=d.top,d=b.changedTouches?b.changedTouches[0].pageY:b.pageY,c&&(c=c.r().offsetHeight,f+=c/2,e-=c),Math.max(0,Math.min(1,(f-d+e)/e))):(e=d.left,d=b.changedTouches?b.changedTouches[0].pageX:b.pageX,c&&(c=c.r().offsetWidth,e+=c/2,f-=c),Math.max(0,Math.min(1,(d-e)/f)))}function ca(a,b){a.Y(b),b.d("click",u.bind(a,function(){this.Ua()}))}function G(a){a.na=f,a.ua.pc(),a.b.setAttribute("aria-pressed",f),a.J&&0<a.J.length&&a.J[0].r().focus()}function F(a){a.na=l,a.ua.Ua(),a.b.setAttribute("aria-pressed",l)}function da(a){var b={sources:[],tracks:[]};if(u.i.B(b,u.xb(a)),a.hasChildNodes()){var c,d,e,f;for(a=a.childNodes,e=0,f=a.length;f>e;e++)c=a[e],d=c.nodeName.toLowerCase(),"source"===d?b.sources.push(u.xb(c)):"track"===d&&b.tracks.push(u.xb(c))}return b}function H(a,b,c){a.h?(a.aa=l,a.h.D(),a.Eb&&(a.Eb=l,clearInterval(a.Qa)),a.Fb&&I(a),a.h=l):"Html5"!==b&&a.F&&(a.b.removeChild(a.F),a.F.player=h,a.F=h),a.ya=b,a.aa=l;var d=u.i.B({source:c,parentEl:a.b},a.f[b.toLowerCase()]);c&&(c.src==a.s.src&&0<a.s.currentTime&&(d.startTime=a.s.currentTime),a.s.src=c.src),a.h=new window.videojs[b](a,d),a.h.P(function(){if(this.a.Ta(),!this.j.Mb){var a=this.a;a.Eb=f,a.Qa=setInterval(u.bind(a,function(){this.s.mb<this.buffered().end(0)?this.k("progress"):1==this.Ha()&&(clearInterval(this.Qa),this.k("progress"))}),500),a.h.R("progress",function(){this.j.Mb=f;var a=this.a;a.Eb=l,clearInterval(a.Qa)})}this.j.Pb||(a=this.a,a.Fb=f,a.d("play",a.xc),a.d("pause",a.xa),a.h.R("timeupdate",function(){this.j.Pb=f,I(this.a)}))})}function I(a){a.Fb=l,a.xa(),a.t("play",a.xc),a.t("pause",a.xa)}function K(a,b,c){if(a.h&&!a.h.aa)a.h.P(function(){this[b](c)});else try{a.h[b](c)}catch(d){throw u.log(d),d}}function J(a,c){if(a.h.aa)try{return a.h[c]()}catch(d){throw a.h[c]===b?u.log("Video.js: "+c+" method not defined for "+a.ya+" playback technology.",d):"TypeError"==d.name?(u.log("Video.js: "+c+" unavailable on "+a.ya+" playback technology element.",d),a.h.aa=l):u.log(d),d}}function L(a){a.Sc=l,u.t(document,"keydown",a.ic),document.documentElement.style.overflow=a.Nc,u.w(document.body,"vjs-full-window"),a.k("exitFullWindow")}function ea(){var a=u.media.Va[i];return function(){throw Error('The "'+a+"\" method is not available on the playback technology's API")}}function fa(){var a=Q[S],b=a.charAt(0).toUpperCase()+a.slice(1);P["set"+b]=function(b){return this.b.vjs_setProperty(a,b)}}function T(a){P[a]=function(){return this.b.vjs_getProperty(a)}}function U(a){return a.za=a.za||[],a.za}function V(a,b,c){for(var d,e,f=a.za,g=0,h=f.length;h>g;g++)d=f[g],d.id()===b?(d.show(),e=d):c&&d.K()==c&&0<d.mode()&&d.disable();(b=e?e.K():c?c:l)&&a.k(b+"trackchange")}function W(a){0===a.ja&&a.load(),0===a.ia&&(a.a.d("timeupdate",u.bind(a,a.update,a.O)),a.a.d("ended",u.bind(a,a.reset,a.O)),("captions"===a.A||"subtitles"===a.A)&&a.a.S.textTrackDisplay.Y(a))}function X(a){var b=a.split(":");a=0;var c,d,e;return 3==b.length?(c=b[0],d=b[1],b=b[2]):(c=0,d=b[0],b=b[1]),b=b.split(/\s+/),b=b.splice(0,1)[0],b=b.split(/\.|,/),e=parseFloat(b[1]),b=b[0],a+=3600*parseFloat(c),a+=60*parseFloat(d),a+=parseFloat(b),e&&(a+=e/1e3),a}function $(a,c){var d=a.split("."),e=Z;!(d[0]in e)&&e.execScript&&e.execScript("var "+d[0]);for(var f;d.length&&(f=d.shift());)d.length||c===b?e=e[f]?e[f]:e[f]={}:e[f]=c}var b=void 0,f=!0,h=null,l=!1,t;document.createElement("video"),document.createElement("audio"),document.createElement("track");var v=u;window.Bd=window.Cd=u,u.Qb="4.1",u.yc="https:"==document.location.protocol?"https://":"http://",u.options={techOrder:["html5","flash"],html5:{},flash:{},width:300,height:150,defaultVolume:0,children:{mediaLoader:{},posterImage:{},textTrackDisplay:{},loadingSpinner:{},bigPlayButton:{},controlBar:{}}},"GENERATED_CDN_VSN"!==u.Qb&&(v.options.flash.swf=u.yc+"vjs.zencdn.net/"+u.Qb+"/video-js.swf"),u.va={},u.ka=u.CoreObject=m(),u.ka.extend=function(a){var b,c;a=a||{},b=a.init||a.g||this.prototype.init||this.prototype.g||m(),c=function(){b.apply(this,arguments)},c.prototype=u.i.create(this.prototype),c.prototype.constructor=c,c.extend=u.ka.extend,c.create=u.ka.create;for(var d in a)a.hasOwnProperty(d)&&(c.prototype[d]=a[d]);return c},u.ka.create=function(){var a=u.i.create(this.prototype);return this.apply(a,arguments),a},u.d=function(a,b,c){var d=u.getData(a);d.z||(d.z={}),d.z[b]||(d.z[b]=[]),c.u||(c.u=u.u++),d.z[b].push(c),d.T||(d.disabled=l,d.T=function(b){if(!d.disabled){b=u.hc(b);var c=d.z[b.type];if(c)for(var c=c.slice(0),e=0,f=c.length;f>e&&!b.nc();e++)c[e].call(a,b)}}),1==d.z[b].length&&(document.addEventListener?a.addEventListener(b,d.T,l):document.attachEvent&&a.attachEvent("on"+b,d.T))},u.t=function(a,b,c){if(u.mc(a)){var d=u.getData(a);if(d.z)if(b){var e=d.z[b];if(e){if(c){if(c.u)for(d=0;d<e.length;d++)e[d].u===c.u&&e.splice(d--,1)}else d.z[b]=[];u.ec(a,b)}}else for(e in d.z)b=e,d.z[b]=[],u.ec(a,b)}},u.ec=function(a,b){var c=u.getData(a);0===c.z[b].length&&(delete c.z[b],document.removeEventListener?a.removeEventListener(b,c.T,l):document.detachEvent&&a.detachEvent("on"+b,c.T)),u.Bb(c.z)&&(delete c.z,delete c.T,delete c.disabled),u.Bb(c)&&u.sc(a)},u.hc=function(a){function b(){return f}function c(){return l}if(!a||!a.Cb){var d=a||window.event;a={};for(var e in d)"layerX"!==e&&"layerY"!==e&&(a[e]=d[e]);if(a.target||(a.target=a.srcElement||document),a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement,a.preventDefault=function(){d.preventDefault&&d.preventDefault(),a.returnValue=l,a.Ab=b},a.Ab=c,a.stopPropagation=function(){d.stopPropagation&&d.stopPropagation(),a.cancelBubble=f,a.Cb=b},a.Cb=c,a.stopImmediatePropagation=function(){d.stopImmediatePropagation&&d.stopImmediatePropagation(),a.nc=b,a.stopPropagation()},a.nc=c,a.clientX!=h){e=document.documentElement;var g=document.body;a.pageX=a.clientX+(e&&e.scrollLeft||g&&g.scrollLeft||0)-(e&&e.clientLeft||g&&g.clientLeft||0),a.pageY=a.clientY+(e&&e.scrollTop||g&&g.scrollTop||0)-(e&&e.clientTop||g&&g.clientTop||0)}a.which=a.charCode||a.keyCode,a.button!=h&&(a.button=1&a.button?0:4&a.button?1:2&a.button?2:0)}return a},u.k=function(a,b){var c=u.mc(a)?u.getData(a):{},d=a.parentNode||a.ownerDocument;return"string"==typeof b&&(b={type:b,target:a}),b=u.hc(b),c.T&&c.T.call(a,b),d&&!b.Cb()?u.k(d,b):d||b.Ab()||(c=u.getData(b.target),!b.target[b.type])||(c.disabled=f,"function"==typeof b.target[b.type]&&b.target[b.type](),c.disabled=l),!b.Ab()},u.R=function(a,b,c){u.d(a,b,function(){u.t(a,b,arguments.callee),c.apply(this,arguments)})};var w=Object.prototype.hasOwnProperty;u.e=function(a,b){var c,d=document.createElement(a||"div");for(c in b)w.call(b,c)&&(-1!==c.indexOf("aria-")||"role"==c?d.setAttribute(c,b[c]):d[c]=b[c]);return d},u.Z=function(a){return a.charAt(0).toUpperCase()+a.slice(1)},u.i={},u.i.create=Object.create||function(a){function b(){}return b.prototype=a,new b},u.i.ra=function(a,b,c){for(var d in a)w.call(a,d)&&b.call(c||this,d,a[d])},u.i.B=function(a,b){if(!b)return a;for(var c in b)w.call(b,c)&&(a[c]=b[c]);return a},u.i.gc=function(a,b){var c,d,e;a=u.i.copy(a);for(c in b)w.call(b,c)&&(d=a[c],e=b[c],a[c]=u.i.oc(d)&&u.i.oc(e)?u.i.gc(d,e):b[c]);return a},u.i.copy=function(a){return u.i.B({},a)},u.i.oc=function(a){return!!a&&"object"==typeof a&&"[object Object]"===a.toString()&&a.constructor===Object},u.bind=function(a,b,c){function d(){return b.apply(a,arguments)}return b.u||(b.u=u.u++),d.u=c?c+"_"+b.u:b.u,d},u.pa={},u.u=1,u.expando="vdata"+(new Date).getTime(),u.getData=function(a){var b=a[u.expando];return b||(b=a[u.expando]=u.u++,u.pa[b]={}),u.pa[b]},u.mc=function(a){return a=a[u.expando],!(!a||u.Bb(u.pa[a]))},u.sc=function(a){var b=a[u.expando];if(b){delete u.pa[b];try{delete a[u.expando]}catch(c){a.removeAttribute?a.removeAttribute(u.expando):a[u.expando]=h}}},u.Bb=function(a){for(var b in a)if(a[b]!==h)return l;return f},u.p=function(a,b){-1==(" "+a.className+" ").indexOf(" "+b+" ")&&(a.className=""===a.className?b:a.className+" "+b)},u.w=function(a,b){if(-1!=a.className.indexOf(b)){for(var c=a.className.split(" "),d=c.length-1;d>=0;d--)c[d]===b&&c.splice(d,1);a.className=c.join(" ")}},u.ma=u.e("video"),u.G=navigator.userAgent,u.Cc=/iPhone/i.test(u.G),u.Bc=/iPad/i.test(u.G),u.Dc=/iPod/i.test(u.G),u.Ub=u.Cc||u.Bc||u.Dc;var aa=u,x,y=u.G.match(/OS (\d+)_/i);x=y&&y[1]?y[1]:b,aa.td=x,u.ab=/Android/i.test(u.G);var ba=u,z,A=u.G.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i),B,C;A?(B=A[1]&&parseFloat(A[1]),C=A[2]&&parseFloat(A[2]),z=B&&C?parseFloat(A[1]+"."+A[2]):B?B:h):z=h,ba.zc=z,u.Ec=u.ab&&/webkit/i.test(u.G)&&2.3>u.zc,u.Ac=/Firefox/i.test(u.G),u.ud=/Chrome/i.test(u.G),u.xb=function(a){var b={};if(a&&a.attributes&&0<a.attributes.length)for(var c,d,e=a.attributes,g=e.length-1;g>=0;g--)c=e[g].name,d=e[g].value,("boolean"==typeof a[c]||-1!==",autoplay,controls,loop,muted,default,".indexOf(","+c+","))&&(d=d!==h?f:l),b[c]=d;return b},u.xd=function(a,b){var c="";return document.defaultView&&document.defaultView.getComputedStyle?c=document.defaultView.getComputedStyle(a,"").getPropertyValue(b):a.currentStyle&&(c=a["client"+b.substr(0,1).toUpperCase()+b.substr(1)]+"px"),c},u.zb=function(a,b){b.firstChild?b.insertBefore(a,b.firstChild):b.appendChild(a)},u.Ob={},u.r=function(a){return 0===a.indexOf("#")&&(a=a.slice(1)),document.getElementById(a)},u.Ka=function(a,b){b=b||a;var c=Math.floor(a%60),d=Math.floor(a/60%60),e=Math.floor(a/3600),f=Math.floor(b/60%60),g=Math.floor(b/3600),e=e>0||g>0?e+":":"";return e+(((e||f>=10)&&10>d?"0"+d:d)+":")+(10>c?"0"+c:c)},u.Ic=function(){document.body.focus(),document.onselectstart=r(l)},u.od=function(){document.onselectstart=r(f)},u.trim=function(a){return a.toString().replace(/^\s+/,"").replace(/\s+$/,"")},u.round=function(a,b){return b||(b=0),Math.round(a*Math.pow(10,b))/Math.pow(10,b)},u.tb=function(a,b){return{length:1,start:function(){return a},end:function(){return b}}},u.get=function(a,b,c){var d=0===a.indexOf("file:")||0===window.location.href.indexOf("file:")&&-1===a.indexOf("http");"undefined"==typeof XMLHttpRequest&&(window.XMLHttpRequest=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(a){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(b){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(c){}throw Error("This browser does not support XMLHttpRequest.")});var e=new XMLHttpRequest;try{e.open("GET",a)}catch(f){c(f)}e.onreadystatechange=function(){4===e.readyState&&(200===e.status||d&&0===e.status?b(e.responseText):c&&c())};try{e.send()}catch(g){c&&c(g)}},u.gd=function(a){try{var b=window.localStorage||l;b&&(b.volume=a)}catch(c){22==c.code||1014==c.code?u.log("LocalStorage Full (VideoJS)",c):18==c.code?u.log("LocalStorage not allowed (VideoJS)",c):u.log("LocalStorage Error (VideoJS)",c)}},u.kc=function(a){return a.match(/^https?:\/\//)||(a=u.e("div",{innerHTML:'<a href="'+a+'">x</a>'}).firstChild.href),a},u.log=function(){u.log.history=u.log.history||[],u.log.history.push(arguments),window.console&&window.console.log(Array.prototype.slice.call(arguments))},u.Qc=function(a){var b,c;return a.getBoundingClientRect&&a.parentNode&&(b=a.getBoundingClientRect()),b?(a=document.documentElement,c=document.body,{left:b.left+(window.pageXOffset||c.scrollLeft)-(a.clientLeft||c.clientLeft||0),top:b.top+(window.pageYOffset||c.scrollTop)-(a.clientTop||c.clientTop||0)}):{left:0,top:0}},u.c=u.ka.extend({g:function(a,b,c){if(this.a=a,this.f=u.i.copy(this.f),b=this.options(b),this.O=b.id||(b.el&&b.el.id?b.el.id:a.id()+"_component_"+u.u++),this.Vc=b.name||h,this.b=b.el||this.e(),this.H=[],this.rb={},this.S={},(a=this.f)&&a.children){var d=this;u.i.ra(a.children,function(a,b){b!==l&&!b.loadEvent&&(d[a]=d.Y(a,b))})}this.P(c)}}),t=u.c.prototype,t.D=function(){if(this.H)for(var a=this.H.length-1;a>=0;a--)this.H[a].D&&this.H[a].D();this.S=this.rb=this.H=h,this.t(),this.b.parentNode&&this.b.parentNode.removeChild(this.b),u.sc(this.b),this.b=h},t.bd=p("a"),t.options=function(a){return a===b?this.f:this.f=u.i.gc(this.f,a)},t.e=function(a,b){return u.e(a,b)},t.r=p("b"),t.id=p("O"),t.name=p("Vc"),t.children=p("H"),t.Y=function(a,b){var c,d;return"string"==typeof a?(d=a,b=b||{},c=b.componentClass||u.Z(d),b.name=d,c=new window.videojs[c](this.a||this,b)):c=a,this.H.push(c),"function"==typeof c.id&&(this.rb[c.id()]=c),(d=d||c.name&&c.name())&&(this.S[d]=c),"function"==typeof c.el&&c.el()&&(this.qa||this.b).appendChild(c.el()),c},t.removeChild=function(a){if("string"==typeof a&&(a=this.S[a]),a&&this.H){for(var b=l,c=this.H.length-1;c>=0;c--)if(this.H[c]===a){b=f,this.H.splice(c,1);break}b&&(this.rb[a.id]=h,this.S[a.name]=h,(b=a.r())&&b.parentNode===(this.qa||this.b)&&(this.qa||this.b).removeChild(a.r()))}},t.Q=r(""),t.d=function(a,b){return u.d(this.b,a,u.bind(this,b)),this},t.t=function(a,b){return u.t(this.b,a,b),this},t.R=function(a,b){return u.R(this.b,a,u.bind(this,b)),this},t.k=function(a,b){return u.k(this.b,a,b),this},t.P=function(a){return a&&(this.aa?a.call(this):(this.Ra===b&&(this.Ra=[]),this.Ra.push(a))),this},t.Ta=function(){this.aa=f;var a=this.Ra;if(a&&0<a.length){for(var b=0,c=a.length;c>b;b++)a[b].call(this);this.Ra=[],this.k("ready")}},t.p=function(a){return u.p(this.b,a),this},t.w=function(a){return u.w(this.b,a),this},t.show=function(){return this.b.style.display="block",this},t.v=function(){return this.b.style.display="none",this},t.$=function(){return this.w("vjs-fade-out"),this.p("vjs-fade-in"),this},t.ta=function(){return this.w("vjs-fade-in"),this.p("vjs-fade-out"),this},t.pc=function(){return this.p("vjs-lock-showing"),this},t.Ua=function(){return this.w("vjs-lock-showing"),this},t.disable=function(){this.v(),this.show=m(),this.$=m()},t.width=function(a,b){return D(this,"width",a,b)},t.height=function(a,b){return D(this,"height",a,b)},t.Mc=function(a,b){return this.width(a,f).height(b)},u.o=u.c.extend({g:function(a,b){u.c.call(this,a,b);var c=l;this.d("touchstart",function(){c=f}),this.d("touchmove",function(){c=l});var d=this;this.d("touchend",function(a){c&&d.n(a),a.preventDefault(),a.stopPropagation()}),this.d("click",this.n),this.d("focus",this.Na),this.d("blur",this.Ma)}}),t=u.o.prototype,t.e=function(a,b){return b=u.i.B({className:this.Q(),innerHTML:'<div class="vjs-control-content"><span class="vjs-control-text">'+(this.oa||"Need Text")+"</span></div>",dd:"button","aria-live":"polite",tabIndex:0},b),u.c.prototype.e.call(this,a,b)},t.Q=function(){return"vjs-control "+u.c.prototype.Q.call(this)},t.n=m(),t.Na=function(){u.d(document,"keyup",u.bind(this,this.ba))},t.ba=function(a){(32==a.which||13==a.which)&&(a.preventDefault(),this.n())},t.Ma=function(){u.t(document,"keyup",u.bind(this,this.ba))},u.M=u.c.extend({g:function(a,b){u.c.call(this,a,b),this.Hc=this.S[this.f.barName],this.handle=this.S[this.f.handleName],a.d(this.qc,u.bind(this,this.update)),this.d("mousedown",this.Oa),this.d("touchstart",this.Oa),this.d("focus",this.Na),this.d("blur",this.Ma),this.d("click",this.n),this.a.d("controlsvisible",u.bind(this,this.update)),a.P(u.bind(this,this.update)),this.N={}}}),t=u.M.prototype,t.e=function(a,b){return b=b||{},b.className+=" vjs-slider",b=u.i.B({dd:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},b),u.c.prototype.e.call(this,a,b)},t.Oa=function(a){a.preventDefault(),u.Ic(),this.N.move=u.bind(this,this.Hb),this.N.end=u.bind(this,this.Ib),u.d(document,"mousemove",this.N.move),u.d(document,"mouseup",this.N.end),u.d(document,"touchmove",this.N.move),u.d(document,"touchend",this.N.end),this.Hb(a)},t.Ib=function(){u.od(),u.t(document,"mousemove",this.N.move,l),u.t(document,"mouseup",this.N.end,l),u.t(document,"touchmove",this.N.move,l),u.t(document,"touchend",this.N.end,l),this.update()},t.update=function(){if(this.b){var a,b=this.yb(),c=this.handle,d=this.Hc;if(isNaN(b)&&(b=0),a=b,c){a=this.b.offsetWidth;var e=c.r().offsetWidth;a=e?e/a:0,b*=1-a,a=b+a/2,c.r().style.left=u.round(100*b,2)+"%"}d.r().style.width=u.round(100*a,2)+"%"}},t.Na=function(){u.d(document,"keyup",u.bind(this,this.ba))},t.ba=function(a){37==a.which?(a.preventDefault(),this.vc()):39==a.which&&(a.preventDefault(),this.wc())},t.Ma=function(){u.t(document,"keyup",u.bind(this,this.ba))},t.n=function(a){a.stopImmediatePropagation(),a.preventDefault()},u.ga=u.c.extend(),u.ga.prototype.defaultValue=0,u.ga.prototype.e=function(a,b){return b=b||{},b.className+=" vjs-slider-handle",b=u.i.B({innerHTML:'<span class="vjs-control-text">'+this.defaultValue+"</span>"},b),u.c.prototype.e.call(this,"div",b)},u.la=u.c.extend(),u.la.prototype.e=function(){var a=this.options().Kc||"ul";return this.qa=u.e(a,{className:"vjs-menu-content"}),a=u.c.prototype.e.call(this,"div",{append:this.qa,className:"vjs-menu"}),a.appendChild(this.qa),u.d(a,"click",function(a){a.preventDefault(),a.stopImmediatePropagation()}),a},u.L=u.o.extend({g:function(a,b){u.o.call(this,a,b),this.selected(b.selected)}}),u.L.prototype.e=function(a,b){return u.o.prototype.e.call(this,"li",u.i.B({className:"vjs-menu-item",innerHTML:this.f.label},b))},u.L.prototype.n=function(){this.selected(f)},u.L.prototype.selected=function(a){a?(this.p("vjs-selected"),this.b.setAttribute("aria-selected",f)):(this.w("vjs-selected"),this.b.setAttribute("aria-selected",l))},u.ea=u.o.extend({g:function(a,b){u.o.call(this,a,b),this.ua=this.Ja(),this.Y(this.ua),this.J&&0===this.J.length&&this.v(),this.d("keyup",this.ba),this.b.setAttribute("aria-haspopup",f),this.b.setAttribute("role","button")}}),t=u.ea.prototype,t.na=l,t.Ja=function(){var a=new u.la(this.a);if(this.options().title&&a.r().appendChild(u.e("li",{className:"vjs-menu-title",innerHTML:u.Z(this.A),md:-1})),this.J=this.sb())for(var b=0;b<this.J.length;b++)ca(a,this.J[b]);return a},t.sb=m(),t.Q=function(){return this.className+" vjs-menu-button "+u.o.prototype.Q.call(this)},t.Na=m(),t.Ma=m(),t.n=function(){this.R("mouseout",u.bind(this,function(){this.ua.Ua(),this.b.blur()})),this.na?F(this):G(this)},t.ba=function(a){a.preventDefault(),32==a.which||13==a.which?this.na?F(this):G(this):27==a.which&&this.na&&F(this)},u.C=u.c.extend({g:function(a,b,c){this.F=a,b=u.i.B(da(a),b),this.s={},this.rc=b.poster,this.Ia=b.controls,b.customControlsOnMobile!==f&&(u.Ub||u.ab)?(a.controls=b.controls,this.Ia=l):a.controls=l,u.c.call(this,this,b,c),this.R("play",function(a){u.k(this.b,{type:"firstplay",target:this.b})||(a.preventDefault(),a.stopPropagation(),a.stopImmediatePropagation())}),this.d("ended",this.Xc),this.d("play",this.Kb),this.d("firstplay",this.Yc),this.d("pause",this.Jb),this.d("progress",this.$c),this.d("durationchange",this.Wc),this.d("error",this.Gb),this.d("fullscreenchange",this.Zc),u.va[this.O]=this,b.plugins&&u.i.ra(b.plugins,function(a,b){this[a](b)},this)}}),t=u.C.prototype,t.f=u.options,t.D=function(){u.va[this.O]=h,this.F&&this.F.player&&(this.F.player=h),this.b&&this.b.player&&(this.b.player=h),clearInterval(this.Qa),this.xa(),this.h&&this.h.D(),u.c.prototype.D.call(this)},t.e=function(){var a=this.b=u.c.prototype.e.call(this,"div"),b=this.F;if(b.removeAttribute("width"),b.removeAttribute("height"),b.hasChildNodes()){var c,d,e,g,h;for(c=b.childNodes,d=c.length,h=[];d--;)e=c[d],g=e.nodeName.toLowerCase(),("source"===g||"track"===g)&&h.push(e);for(c=0;c<h.length;c++)b.removeChild(h[c])}return b.id=b.id||"vjs_video_"+u.u++,a.id=b.id,a.className=b.className,b.id+="_html5_api",b.className="vjs-tech",b.player=a.player=this,this.p("vjs-paused"),this.width(this.f.width,f),this.height(this.f.height,f),b.parentNode&&b.parentNode.insertBefore(a,b),u.zb(b,a),a},t.xc=function(){this.fc&&this.xa(),this.fc=setInterval(u.bind(this,function(){this.k("timeupdate")}),250)},t.xa=function(){clearInterval(this.fc)},t.Xc=function(){this.f.loop&&(this.currentTime(0),this.play())},t.Kb=function(){u.w(this.b,"vjs-paused"),u.p(this.b,"vjs-playing")},t.Yc=function(){this.f.starttime&&this.currentTime(this.f.starttime)},t.Jb=function(){u.w(this.b,"vjs-playing"),u.p(this.b,"vjs-paused")},t.$c=function(){1==this.Ha()&&this.k("loadedalldata")},t.Wc=function(){this.duration(J(this,"duration"))},t.Gb=function(a){u.log("Video Error",a)},t.Zc=function(){this.I?this.p("vjs-fullscreen"):this.w("vjs-fullscreen")},t.play=function(){return K(this,"play"),this},t.pause=function(){return K(this,"pause"),this},t.paused=function(){return J(this,"paused")===l?l:f},t.currentTime=function(a){return a!==b?(this.s.zd=a,K(this,"setCurrentTime",a),this.Fb&&this.k("timeupdate"),this):this.s.currentTime=J(this,"currentTime")||0},t.duration=function(a){return a!==b?(this.s.duration=parseFloat(a),this):this.s.duration},t.buffered=function(){var a=J(this,"buffered"),b=this.s.mb=this.s.mb||0;return a&&0<a.length&&a.end(0)!==b&&(b=a.end(0),this.s.mb=b),u.tb(0,b)},t.Ha=function(){return this.duration()?this.buffered().end(0)/this.duration():0},t.volume=function(a){return a!==b?(a=Math.max(0,Math.min(1,parseFloat(a))),this.s.volume=a,K(this,"setVolume",a),u.gd(a),this):(a=parseFloat(J(this,"volume")),isNaN(a)?1:a)},t.muted=function(a){return a!==b?(K(this,"setMuted",a),this):J(this,"muted")||l},t.Sa=function(){return J(this,"supportsFullScreen")||l},t.wa=function(){var a=u.Ob.wa;return this.I=f,a?(u.d(document,a.vb,u.bind(this,function(){this.I=document[a.I],this.I===l&&u.t(document,a.vb,arguments.callee),this.k("fullscreenchange")})),this.b[a.tc]()):this.h.Sa()?K(this,"enterFullScreen"):(this.Sc=f,this.Nc=document.documentElement.style.overflow,u.d(document,"keydown",u.bind(this,this.ic)),document.documentElement.style.overflow="hidden",u.p(document.body,"vjs-full-window"),this.k("enterFullWindow"),this.k("fullscreenchange")),this},t.pb=function(){var a=u.Ob.wa;return this.I=l,a?document[a.ob]():this.h.Sa()?K(this,"exitFullScreen"):(L(this),this.k("fullscreenchange")),this},t.ic=function(a){27===a.keyCode&&(this.I===f?this.pb():L(this))},t.src=function(a){if(a instanceof Array){var b;a:{b=a;for(var c=0,d=this.f.techOrder;c<d.length;c++){var e=u.Z(d[c]),f=window.videojs[e];if(f.isSupported())for(var g=0,h=b;g<h.length;g++){var i=h[g];if(f.canPlaySource(i)){b={source:i,h:e};break a}}}b=l}b?(a=b.source,b=b.h,b==this.ya?this.src(a):H(this,b,a)):this.b.appendChild(u.e("p",{innerHTML:'Sorry, no compatible source and playback technology were found for this video. Try using another browser like <a href="http://bit.ly/ccMUEC">Chrome</a> or download the latest <a href="http://adobe.ly/mwfN1">Adobe Flash Player</a>.'}))}else a instanceof Object?window.videojs[this.ya].canPlaySource(a)?this.src(a.src):this.src([a]):(this.s.src=a,this.aa?(K(this,"src",a),"auto"==this.f.preload&&this.load(),this.f.autoplay&&this.play()):this.P(function(){this.src(a)}));return this},t.load=function(){return K(this,"load"),this},t.currentSrc=function(){return J(this,"currentSrc")||this.s.src||""},t.Pa=function(a){return a!==b?(K(this,"setPreload",a),this.f.preload=a,this):J(this,"preload")},t.autoplay=function(a){return a!==b?(K(this,"setAutoplay",a),this.f.autoplay=a,this):J(this,"autoplay")},t.loop=function(a){return a!==b?(K(this,"setLoop",a),this.f.loop=a,this):J(this,"loop")},t.poster=function(a){return a!==b&&(this.rc=a),this.rc},t.controls=function(a){return a!==b&&this.Ia!==a&&(this.Ia=!!a,this.k("controlschange")),this.Ia},t.error=function(){return J(this,"error")};var M,N,O;O=document.createElement("div"),N={},O.vd!==b?(N.tc="requestFullscreen",N.ob="exitFullscreen",N.vb="fullscreenchange",N.I="fullScreen"):(document.mozCancelFullScreen?(M="moz",N.I=M+"FullScreen"):(M="webkit",N.I=M+"IsFullScreen"),O[M+"RequestFullScreen"]&&(N.tc=M+"RequestFullScreen",N.ob=M+"CancelFullScreen"),N.vb=M+"fullscreenchange"),document[N.ob]&&(u.Ob.wa=N),u.da=u.c.extend({g:function(a,b){u.c.call(this,a,b),a.controls()||this.disable(),a.R("play",u.bind(this,function(){var a,b=u.bind(this,this.$),c=u.bind(this,this.ta);this.$(),"ontouchstart"in window||(this.a.d("mouseover",b),this.a.d("mouseout",c),this.a.d("pause",u.bind(this,this.pc)),this.a.d("play",u.bind(this,this.Ua))),a=l,this.a.d("touchstart",function(){a=f}),this.a.d("touchmove",function(){a=l}),this.a.d("touchend",u.bind(this,function(b){var c;a&&(c=this.r().className.search("fade-in"),-1!==c?this.ta():this.$()),a=l,this.a.paused()||b.preventDefault()}))}))}}),u.da.prototype.f={Ad:"play",children:{playToggle:{},currentTimeDisplay:{},timeDivider:{},durationDisplay:{},remainingTimeDisplay:{},progressControl:{},fullscreenToggle:{},volumeControl:{},muteToggle:{}}},u.da.prototype.e=function(){return u.e("div",{className:"vjs-control-bar"})},u.da.prototype.$=function(){u.c.prototype.$.call(this),this.a.k("controlsvisible")},u.da.prototype.ta=function(){u.c.prototype.ta.call(this),this.a.k("controlshidden")},u.Xb=u.o.extend({g:function(a,b){u.o.call(this,a,b),a.d("play",u.bind(this,this.Kb)),a.d("pause",u.bind(this,this.Jb))}}),t=u.Xb.prototype,t.oa="Play",t.Q=function(){return"vjs-play-control "+u.o.prototype.Q.call(this)},t.n=function(){this.a.paused()?this.a.play():this.a.pause()},t.Kb=function(){u.w(this.b,"vjs-paused"),u.p(this.b,"vjs-playing"),this.b.children[0].children[0].innerHTML="Pause"},t.Jb=function(){u.w(this.b,"vjs-playing"),u.p(this.b,"vjs-paused"),this.b.children[0].children[0].innerHTML="Play"},u.Ya=u.c.extend({g:function(a,b){u.c.call(this,a,b),a.d("timeupdate",u.bind(this,this.Ba))}}),u.Ya.prototype.e=function(){var a=u.c.prototype.e.call(this,"div",{className:"vjs-current-time vjs-time-controls vjs-control"});return this.content=u.e("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00',"aria-live":"off"}),a.appendChild(u.e("div").appendChild(this.content)),a},u.Ya.prototype.Ba=function(){var a=this.a.Nb?this.a.s.currentTime:this.a.currentTime();this.content.innerHTML='<span class="vjs-control-text">Current Time </span>'+u.Ka(a,this.a.duration())},u.Za=u.c.extend({g:function(a,b){u.c.call(this,a,b),a.d("timeupdate",u.bind(this,this.Ba))}}),u.Za.prototype.e=function(){var a=u.c.prototype.e.call(this,"div",{className:"vjs-duration vjs-time-controls vjs-control"});return this.content=u.e("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">Duration Time </span>0:00',"aria-live":"off"}),a.appendChild(u.e("div").appendChild(this.content)),a},u.Za.prototype.Ba=function(){this.a.duration()&&(this.content.innerHTML='<span class="vjs-control-text">Duration Time </span>'+u.Ka(this.a.duration()))},u.ac=u.c.extend({g:function(a,b){u.c.call(this,a,b)}}),u.ac.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},u.gb=u.c.extend({g:function(a,b){u.c.call(this,a,b),a.d("timeupdate",u.bind(this,this.Ba))}}),u.gb.prototype.e=function(){var a=u.c.prototype.e.call(this,"div",{className:"vjs-remaining-time vjs-time-controls vjs-control"});return this.content=u.e("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">Remaining Time </span>-0:00',"aria-live":"off"}),a.appendChild(u.e("div").appendChild(this.content)),a},u.gb.prototype.Ba=function(){this.a.duration()&&this.a.duration()&&(this.content.innerHTML='<span class="vjs-control-text">Remaining Time </span>-'+u.Ka(this.a.duration()-this.a.currentTime()))},u.Da=u.o.extend({g:function(a,b){u.o.call(this,a,b)}}),u.Da.prototype.oa="Fullscreen",u.Da.prototype.Q=function(){return"vjs-fullscreen-control "+u.o.prototype.Q.call(this)},u.Da.prototype.n=function(){this.a.I?(this.a.pb(),this.b.children[0].children[0].innerHTML="Fullscreen"):(this.a.wa(),this.b.children[0].children[0].innerHTML="Non-Fullscreen")},u.fb=u.c.extend({g:function(a,b){u.c.call(this,a,b)}}),u.fb.prototype.f={children:{seekBar:{}}},u.fb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-progress-control vjs-control"})},u.Yb=u.M.extend({g:function(a,b){u.M.call(this,a,b),a.d("timeupdate",u.bind(this,this.Aa)),a.P(u.bind(this,this.Aa))}}),t=u.Yb.prototype,t.f={children:{loadProgressBar:{},playProgressBar:{},seekHandle:{}},barName:"playProgressBar",handleName:"seekHandle"},t.qc="timeupdate",t.e=function(){return u.M.prototype.e.call(this,"div",{className:"vjs-progress-holder","aria-label":"video progress bar"})},t.Aa=function(){var a=this.a.Nb?this.a.s.currentTime:this.a.currentTime();this.b.setAttribute("aria-valuenow",u.round(100*this.yb(),2)),this.b.setAttribute("aria-valuetext",u.Ka(a,this.a.duration()))},t.yb=function(){return this.a.currentTime()/this.a.duration()},t.Oa=function(a){u.M.prototype.Oa.call(this,a),this.a.Nb=f,this.qd=!this.a.paused(),this.a.pause()},t.Hb=function(a){a=E(this,a)*this.a.duration(),a==this.a.duration()&&(a-=.1),this.a.currentTime(a)},t.Ib=function(a){u.M.prototype.Ib.call(this,a),this.a.Nb=l,this.qd&&this.a.play()},t.wc=function(){this.a.currentTime(this.a.currentTime()+5)},t.vc=function(){this.a.currentTime(this.a.currentTime()-5)},u.bb=u.c.extend({g:function(a,b){u.c.call(this,a,b),a.d("progress",u.bind(this,this.update))}}),u.bb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text">Loaded: 0%</span>'})},u.bb.prototype.update=function(){this.b.style&&(this.b.style.width=u.round(100*this.a.Ha(),2)+"%")},u.Wb=u.c.extend({g:function(a,b){u.c.call(this,a,b)}}),u.Wb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-play-progress",innerHTML:'<span class="vjs-control-text">Progress: 0%</span>'})},u.hb=u.ga.extend(),u.hb.prototype.defaultValue="00:00",u.hb.prototype.e=function(){return u.ga.prototype.e.call(this,"div",{className:"vjs-seek-handle"})},u.jb=u.c.extend({g:function(a,b){u.c.call(this,a,b),a.h&&a.h.j&&a.h.j.U===l&&this.p("vjs-hidden"),a.d("loadstart",u.bind(this,function(){a.h.j&&a.h.j.U===l?this.p("vjs-hidden"):this.w("vjs-hidden")}))}}),u.jb.prototype.f={children:{volumeBar:{}}},u.jb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-volume-control vjs-control"})},u.ib=u.M.extend({g:function(a,b){u.M.call(this,a,b),a.d("volumechange",u.bind(this,this.Aa)),a.P(u.bind(this,this.Aa)),setTimeout(u.bind(this,this.update),0)}}),t=u.ib.prototype,t.Aa=function(){this.b.setAttribute("aria-valuenow",u.round(100*this.a.volume(),2)),this.b.setAttribute("aria-valuetext",u.round(100*this.a.volume(),2)+"%")},t.f={children:{volumeLevel:{},volumeHandle:{}},barName:"volumeLevel",handleName:"volumeHandle"},t.qc="volumechange",t.e=function(){return u.M.prototype.e.call(this,"div",{className:"vjs-volume-bar","aria-label":"volume level"})},t.Hb=function(a){this.a.volume(E(this,a))},t.yb=function(){return this.a.muted()?0:this.a.volume()},t.wc=function(){this.a.volume(this.a.volume()+.1)},t.vc=function(){this.a.volume(this.a.volume()-.1)},u.bc=u.c.extend({g:function(a,b){u.c.call(this,a,b)}}),u.bc.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},u.kb=u.ga.extend(),u.kb.prototype.defaultValue="00:00",u.kb.prototype.e=function(){return u.ga.prototype.e.call(this,"div",{className:"vjs-volume-handle"})},u.fa=u.o.extend({g:function(a,b){u.o.call(this,a,b),a.d("volumechange",u.bind(this,this.update)),a.h&&a.h.j&&a.h.j.U===l&&this.p("vjs-hidden"),a.d("loadstart",u.bind(this,function(){a.h.j&&a.h.j.U===l?this.p("vjs-hidden"):this.w("vjs-hidden")}))}}),u.fa.prototype.e=function(){return u.o.prototype.e.call(this,"div",{className:"vjs-mute-control vjs-control",innerHTML:'<div><span class="vjs-control-text">Mute</span></div>'})
-},u.fa.prototype.n=function(){this.a.muted(this.a.muted()?l:f)},u.fa.prototype.update=function(){var a=this.a.volume(),b=3;for(0===a||this.a.muted()?b=0:.33>a?b=1:.67>a&&(b=2),this.a.muted()?"Unmute"!=this.b.children[0].children[0].innerHTML&&(this.b.children[0].children[0].innerHTML="Unmute"):"Mute"!=this.b.children[0].children[0].innerHTML&&(this.b.children[0].children[0].innerHTML="Mute"),a=0;4>a;a++)u.w(this.b,"vjs-vol-"+a);u.p(this.b,"vjs-vol-"+b)},u.Fa=u.ea.extend({g:function(a,b){u.ea.call(this,a,b),a.d("volumechange",u.bind(this,this.update)),a.h&&a.h.j&&a.h.j.U===l&&this.p("vjs-hidden"),a.d("loadstart",u.bind(this,function(){a.h.j&&a.h.j.U===l?this.p("vjs-hidden"):this.w("vjs-hidden")})),this.p("vjs-menu-button")}}),u.Fa.prototype.Ja=function(){var a=new u.la(this.a,{Kc:"div"}),b=new u.ib(this.a,u.i.B({pd:f},this.f.Dd));return a.Y(b),a},u.Fa.prototype.n=function(){u.fa.prototype.n.call(this),u.ea.prototype.n.call(this)},u.Fa.prototype.e=function(){return u.o.prototype.e.call(this,"div",{className:"vjs-volume-menu-button vjs-menu-button vjs-control",innerHTML:'<div><span class="vjs-control-text">Mute</span></div>'})},u.Fa.prototype.update=u.fa.prototype.update,u.eb=u.o.extend({g:function(a,b){u.o.call(this,a,b),(!a.poster()||!a.controls())&&this.v(),a.d("play",u.bind(this,this.v))}}),u.eb.prototype.e=function(){var a=u.e("div",{className:"vjs-poster",tabIndex:-1}),b=this.a.poster();return b&&("backgroundSize"in a.style?a.style.backgroundImage='url("'+b+'")':a.appendChild(u.e("img",{src:b}))),a},u.eb.prototype.n=function(){this.a.play()},u.Vb=u.c.extend({g:function(a,b){u.c.call(this,a,b),a.d("canplay",u.bind(this,this.v)),a.d("canplaythrough",u.bind(this,this.v)),a.d("playing",u.bind(this,this.v)),a.d("seeked",u.bind(this,this.v)),a.d("seeking",u.bind(this,this.show)),a.d("seeked",u.bind(this,this.v)),a.d("error",u.bind(this,this.show)),a.d("waiting",u.bind(this,this.show))}}),u.Vb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-loading-spinner"})},u.Wa=u.o.extend({g:function(a,b){u.o.call(this,a,b),a.controls()||this.v(),a.d("play",u.bind(this,this.v))}}),u.Wa.prototype.e=function(){return u.o.prototype.e.call(this,"div",{className:"vjs-big-play-button",innerHTML:"<span></span>","aria-label":"play video"})},u.Wa.prototype.n=function(){this.a.play()},u.q=u.c.extend({g:function(a,b,c){u.c.call(this,a,b,c)}}),u.q.prototype.n=u.ab?m():function(){this.a.controls()&&(this.a.paused()?this.a.play():this.a.pause())},u.q.prototype.j={U:f,jc:l,Mb:l,Pb:l},u.media={},u.media.Va="play pause paused currentTime setCurrentTime duration buffered volume setVolume muted setMuted width height supportsFullScreen enterFullScreen src load currentSrc preload setPreload autoplay setAutoplay loop setLoop error networkState readyState seeking initialTime startOffsetTime played seekable ended videoTracks audioTracks videoWidth videoHeight textTracks defaultPlaybackRate playbackRate mediaGroup controller controls defaultMuted".split(" ");for(var i=u.media.Va.length-1;i>=0;i--)u.q.prototype[u.media.Va[i]]=ea();u.m=u.q.extend({g:function(a,b,c){for(this.j.U=u.m.Jc(),this.j.Uc=!u.Ub,this.j.jc=f,u.q.call(this,a,b,c),(b=b.source)&&this.b.currentSrc==b.src?a.k("loadstart"):b&&(this.b.src=b.src),a.P(function(){this.F&&this.f.autoplay&&this.paused()&&(delete this.F.poster,this.play())}),this.d("click",this.n),a=u.m.$a.length-1;a>=0;a--)u.d(this.b,u.m.$a[a],u.bind(this.a,this.Pc));this.Ta()}}),t=u.m.prototype,t.D=function(){u.q.prototype.D.call(this)},t.e=function(){var a=this.a,b=a.F;b&&this.j.Uc!==l||(b?(b.player=h,a.F=h,a.r().removeChild(b),b=b.cloneNode(l)):b=u.e("video",{id:a.id()+"_html5_api",className:"vjs-tech"}),b.player=a,u.zb(b,a.r()));for(var c=["autoplay","preload","loop","muted"],d=c.length-1;d>=0;d--){var e=c[d];a.f[e]!==h&&(b[e]=a.f[e])}return b},t.Pc=function(a){this.k(a),a.stopPropagation()},t.play=function(){this.b.play()},t.pause=function(){this.b.pause()},t.paused=function(){return this.b.paused},t.currentTime=function(){return this.b.currentTime},t.fd=function(a){try{this.b.currentTime=a}catch(b){u.log(b,"Video is not ready. (Video.js)")}},t.duration=function(){return this.b.duration||0},t.buffered=function(){return this.b.buffered},t.volume=function(){return this.b.volume},t.ld=function(a){this.b.volume=a},t.muted=function(){return this.b.muted},t.jd=function(a){this.b.muted=a},t.width=function(){return this.b.offsetWidth},t.height=function(){return this.b.offsetHeight},t.Sa=function(){return"function"!=typeof this.b.webkitEnterFullScreen||!/Android/.test(u.G)&&/Chrome|Mac OS X 10.5/.test(u.G)?l:f},t.src=function(a){this.b.src=a},t.load=function(){this.b.load()},t.currentSrc=function(){return this.b.currentSrc},t.Pa=function(){return this.b.Pa},t.kd=function(a){this.b.Pa=a},t.autoplay=function(){return this.b.autoplay},t.ed=function(a){this.b.autoplay=a},t.loop=function(){return this.b.loop},t.hd=function(a){this.b.loop=a},t.error=function(){return this.b.error},u.m.isSupported=function(){return!!u.ma.canPlayType},u.m.nb=function(a){try{return!!u.ma.canPlayType(a.type)}catch(b){return""}},u.m.Jc=function(){var a=u.ma.volume;return u.ma.volume=a/2+.1,a!==u.ma.volume},u.m.$a="loadstart suspend abort error emptied stalled loadedmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate progress play pause ratechange volumechange".split(" "),u.Ec&&(document.createElement("video").constructor.prototype.canPlayType=function(a){return a&&-1!=a.toLowerCase().indexOf("video/mp4")?"maybe":""}),u.l=u.q.extend({g:function(a,b,c){u.q.call(this,a,b,c),c=b.source;var d=b.parentEl,e=this.b=u.e("div",{id:a.id()+"_temp_flash"}),g=a.id()+"_flash_api";a=a.f;var h=u.i.B({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:a.autoplay,preload:a.Pa,loop:a.loop,muted:a.muted},b.flashVars),i=u.i.B({wmode:"opaque",bgcolor:"#000000"},b.params),j=u.i.B({id:g,name:g,"class":"vjs-tech"},b.attributes);if(c&&(h.src=encodeURIComponent(u.kc(c.src))),u.zb(e,d),b.startTime&&this.P(function(){this.load(),this.play(),this.currentTime(b.startTime)}),b.iFrameMode!==f||u.Ac)u.l.Oc(b.swf,e,h,i,j);else{var k=u.e("iframe",{id:g+"_iframe",name:g+"_iframe",className:"vjs-tech",scrolling:"no",marginWidth:0,marginHeight:0,frameBorder:0});h.readyFunction="ready",h.eventProxyFunction="events",h.errorEventProxyFunction="errors",u.d(k,"load",u.bind(this,function(){var a,c=k.contentWindow;a=k.contentDocument?k.contentDocument:k.contentWindow.document,a.write(u.l.lc(b.swf,h,i,j)),c.player=this.a,c.ready=u.bind(this.a,function(b){b=a.getElementById(b);var c=this.h;c.b=b,u.d(b,"click",c.bind(c.n)),u.l.qb(c)}),c.events=u.bind(this.a,function(a,b){this&&"flash"===this.ya&&this.k(b)}),c.errors=u.bind(this.a,function(a,b){u.log("Flash Error",b)})})),e.parentNode.replaceChild(k,e)}}}),t=u.l.prototype,t.D=function(){u.q.prototype.D.call(this)},t.play=function(){this.b.vjs_play()},t.pause=function(){this.b.vjs_pause()},t.src=function(a){if(a=u.kc(a),this.b.vjs_src(a),this.a.autoplay()){var b=this;setTimeout(function(){b.play()},0)}},t.load=function(){this.b.vjs_load()},t.poster=function(){this.b.vjs_getProperty("poster")},t.buffered=function(){return u.tb(0,this.b.vjs_getProperty("buffered"))},t.Sa=r(l);var P=u.l.prototype,Q="preload currentTime defaultPlaybackRate playbackRate autoplay loop mediaGroup controller controls volume muted defaultMuted".split(" "),R="error currentSrc networkState readyState seeking initialTime duration startOffsetTime paused played seekable ended videoTracks audioTracks videoWidth videoHeight textTracks".split(" "),S;for(S=0;S<Q.length;S++)T(Q[S]),fa();for(S=0;S<R.length;S++)T(R[S]);if(u.l.isSupported=function(){return 10<=u.l.version()[0]},u.l.nb=function(a){return a.type in u.l.Rc?"maybe":void 0},u.l.Rc={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},u.l.onReady=function(a){a=u.r(a);var b=a.player||a.parentNode.player,c=b.h;a.player=b,c.b=a,c.d("click",c.n),u.l.qb(c)},u.l.qb=function(a){a.r().vjs_getProperty?a.Ta():setTimeout(function(){u.l.qb(a)},50)},u.l.onEvent=function(a,b){u.r(a).player.k(b)},u.l.onError=function(a,b){u.r(a).player.k("error"),u.log("Flash Error",b,a)},u.l.version=function(){var a="0,0,0";try{a=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(b){try{navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(a=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(c){}}return a.split(",")},u.l.Oc=function(a,b,c,d,e){a=u.l.lc(a,c,d,e),a=u.e("div",{innerHTML:a}).childNodes[0],c=b.parentNode,b.parentNode.replaceChild(a,b);var f=c.childNodes[0];setTimeout(function(){f.style.display="block"},1e3)},u.l.lc=function(a,b,c,d){var e="",f="",g="";return b&&u.i.ra(b,function(a,b){e+=a+"="+b+"&amp;"}),c=u.i.B({movie:a,flashvars:e,allowScriptAccess:"always",allowNetworking:"all"},c),u.i.ra(c,function(a,b){f+='<param name="'+a+'" value="'+b+'" />'}),d=u.i.B({data:a,width:"100%",height:"100%"},d),u.i.ra(d,function(a,b){g+=a+'="'+b+'" '}),'<object type="application/x-shockwave-flash"'+g+">"+f+"</object>"},u.Fc=u.c.extend({g:function(a,b,c){if(u.c.call(this,a,b,c),a.f.sources&&0!==a.f.sources.length)a.src(a.f.sources);else for(b=0,c=a.f.techOrder;b<c.length;b++){var d=u.Z(c[b]),e=window.videojs[d];if(e&&e.isSupported()){H(a,d);break}}}}),u.V=u.c.extend({g:function(a,b){u.c.call(this,a,b),this.O=b.id||"vjs_"+b.kind+"_"+b.language+"_"+u.u++,this.uc=b.src,this.Lc=b["default"]||b.dflt,this.nd=b.title,this.yd=b.srclang,this.Tc=b.label,this.ha=[],this.cc=[],this.ia=this.ja=0,this.a.d("fullscreenchange",u.bind(this,this.Gc))}}),t=u.V.prototype,t.K=p("A"),t.src=p("uc"),t.ub=p("Lc"),t.title=p("nd"),t.label=p("Tc"),t.readyState=p("ja"),t.mode=p("ia"),t.Gc=function(){this.b.style.fontSize=this.a.I?140*(screen.width/this.a.width())+"%":""},t.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-"+this.A+" vjs-text-track"})},t.show=function(){W(this),this.ia=2,u.c.prototype.show.call(this)},t.v=function(){W(this),this.ia=1,u.c.prototype.v.call(this)},t.disable=function(){2==this.ia&&this.v(),this.a.t("timeupdate",u.bind(this,this.update,this.O)),this.a.t("ended",u.bind(this,this.reset,this.O)),this.reset(),this.a.S.textTrackDisplay.removeChild(this),this.ia=0},t.load=function(){0===this.ja&&(this.ja=1,u.get(this.uc,u.bind(this,this.ad),u.bind(this,this.Gb)))},t.Gb=function(a){this.error=a,this.ja=3,this.k("error")},t.ad=function(a){var b,c;a=a.split("\n");for(var d="",e=1,f=a.length;f>e;e++)if(d=u.trim(a[e])){for(-1==d.indexOf("-->")?(b=d,d=u.trim(a[++e])):b=this.ha.length,b={id:b,index:this.ha.length},c=d.split(" --> "),b.startTime=X(c[0]),b.sa=X(c[1]),c=[];a[++e]&&(d=u.trim(a[e]));)c.push(d);b.text=c.join("<br/>"),this.ha.push(b)}this.ja=2,this.k("loaded")},t.update=function(){if(0<this.ha.length){var a=this.a.currentTime();if(this.Lb===b||a<this.Lb||this.La<=a){var c,d,e,g,h=this.ha,i=this.a.duration(),j=0,k=l,m=[];for(a>=this.La||this.La===b?g=this.wb!==b?this.wb:0:(k=f,g=this.Db!==b?this.Db:h.length-1);;){if(e=h[g],e.sa<=a)j=Math.max(j,e.sa),e.Ga&&(e.Ga=l);else if(a<e.startTime){if(i=Math.min(i,e.startTime),e.Ga&&(e.Ga=l),!k)break}else k?(m.splice(0,0,e),d===b&&(d=g),c=g):(m.push(e),c===b&&(c=g),d=g),i=Math.min(i,e.sa),j=Math.max(j,e.startTime),e.Ga=f;if(k){if(0===g)break;g--}else{if(g===h.length-1)break;g++}}for(this.cc=m,this.La=i,this.Lb=j,this.wb=c,this.Db=d,a=this.cc,h="",i=0,j=a.length;j>i;i++)h+='<span class="vjs-tt-cue">'+a[i].text+"</span>";this.b.innerHTML=h,this.k("cuechange")}}},t.reset=function(){this.La=0,this.Lb=this.a.duration(),this.Db=this.wb=0},u.Rb=u.V.extend(),u.Rb.prototype.A="captions",u.Zb=u.V.extend(),u.Zb.prototype.A="subtitles",u.Tb=u.V.extend(),u.Tb.prototype.A="chapters",u.$b=u.c.extend({g:function(a,b,c){if(u.c.call(this,a,b,c),a.f.tracks&&0<a.f.tracks.length){b=this.a,a=a.f.tracks;var d;for(c=0;c<a.length;c++){d=a[c];var e=b,f=d.kind,g=d.label,h=d.language,i=d;d=e.za=e.za||[],i=i||{},i.kind=f,i.label=g,i.language=h,f=u.Z(f||"subtitles"),e=new window.videojs[f+"Track"](e,i),d.push(e)}}}}),u.$b.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-text-track-display"})},u.X=u.L.extend({g:function(a,b){var c=this.ca=b.track;b.label=c.label(),b.selected=c.ub(),u.L.call(this,a,b),this.a.d(c.K()+"trackchange",u.bind(this,this.update))}}),u.X.prototype.n=function(){u.L.prototype.n.call(this),V(this.a,this.ca.O,this.ca.K())},u.X.prototype.update=function(){this.selected(2==this.ca.mode())},u.cb=u.X.extend({g:function(a,b){b.track={K:function(){return b.kind},bd:a,label:function(){return b.kind+" off"},ub:r(l),mode:r(l)},u.X.call(this,a,b),this.selected(f)}}),u.cb.prototype.n=function(){u.X.prototype.n.call(this),V(this.a,this.ca.O,this.ca.K())},u.cb.prototype.update=function(){for(var a,b=U(this.a),c=0,d=b.length,e=f;d>c;c++)a=b[c],a.K()==this.ca.K()&&2==a.mode()&&(e=l);this.selected(e)},u.W=u.ea.extend({g:function(a,b){u.ea.call(this,a,b),1>=this.J.length&&this.v()}}),u.W.prototype.sb=function(){var a,b=[];b.push(new u.cb(this.a,{kind:this.A}));for(var c=0;c<U(this.a).length;c++)a=U(this.a)[c],a.K()===this.A&&b.push(new u.X(this.a,{track:a}));return b},u.Ca=u.W.extend({g:function(a,b,c){u.W.call(this,a,b,c),this.b.setAttribute("aria-label","Captions Menu")}}),u.Ca.prototype.A="captions",u.Ca.prototype.oa="Captions",u.Ca.prototype.className="vjs-captions-button",u.Ea=u.W.extend({g:function(a,b,c){u.W.call(this,a,b,c),this.b.setAttribute("aria-label","Subtitles Menu")}}),u.Ea.prototype.A="subtitles",u.Ea.prototype.oa="Subtitles",u.Ea.prototype.className="vjs-subtitles-button",u.Sb=u.W.extend({g:function(a,b,c){u.W.call(this,a,b,c),this.b.setAttribute("aria-label","Chapters Menu")}}),t=u.Sb.prototype,t.A="chapters",t.oa="Chapters",t.className="vjs-chapters-button",t.sb=function(){for(var a,b=[],c=0;c<U(this.a).length;c++)a=U(this.a)[c],a.K()===this.A&&b.push(new u.X(this.a,{track:a}));return b},t.Ja=function(){for(var a,b,c=U(this.a),d=0,e=c.length,f=this.J=[];e>d;d++)if(a=c[d],a.K()==this.A&&a.ub()){if(2>a.readyState())return this.wd=a,a.d("loaded",u.bind(this,this.Ja)),void 0;b=a;break}if(c=this.ua=new u.la(this.a),c.b.appendChild(u.e("li",{className:"vjs-menu-title",innerHTML:u.Z(this.A),md:-1})),b){a=b.ha;for(var g,d=0,e=a.length;e>d;d++)g=a[d],g=new u.Xa(this.a,{track:b,cue:g}),f.push(g),c.Y(g)}return 0<this.J.length&&this.show(),c},u.Xa=u.L.extend({g:function(a,b){var c=this.ca=b.track,d=this.cue=b.cue,e=a.currentTime();b.label=d.text,b.selected=d.startTime<=e&&e<d.sa,u.L.call(this,a,b),c.d("cuechange",u.bind(this,this.update))}}),u.Xa.prototype.n=function(){u.L.prototype.n.call(this),this.a.currentTime(this.cue.startTime),this.update(this.cue.startTime)},u.Xa.prototype.update=function(){var a=this.cue,b=this.a.currentTime();this.selected(a.startTime<=b&&b<a.sa)},u.i.B(u.da.prototype.f.children,{subtitlesButton:{},captionsButton:{},chaptersButton:{}}),"undefined"!=typeof window.JSON&&"function"===window.JSON.parse)u.JSON=window.JSON;else{u.JSON={};var Y=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;u.JSON.parse=function(a,c){function d(a,e){var f,g,h=a[e];if(h&&"object"==typeof h)for(f in h)Object.prototype.hasOwnProperty.call(h,f)&&(g=d(h,f),g!==b?h[f]=g:delete h[f]);return c.call(a,e,h)}var e;if(a=String(a),Y.lastIndex=0,Y.test(a)&&(a=a.replace(Y,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),"function"==typeof c?d({"":e},""):e;throw new SyntaxError("JSON.parse(): invalid or malformed JSON data")}}u.dc=function(){var a,c,d=document.getElementsByTagName("video");if(d&&0<d.length)for(var e=0,f=d.length;f>e;e++){if(!(c=d[e])||!c.getAttribute){u.lb();break}c.player===b&&(a=c.getAttribute("data-setup"),a!==h&&(a=u.JSON.parse(a||"{}"),v(c,a)))}else u.rd||u.lb()},u.lb=function(){setTimeout(u.dc,1)},u.R(window,"load",function(){u.rd=f}),u.lb(),u.cd=function(a,b){u.C.prototype[a]=b};var Z=this;Z.sd=f,$("videojs",u),$("_V_",u),$("videojs.options",u.options),$("videojs.players",u.va),$("videojs.cache",u.pa),$("videojs.Component",u.c),u.c.prototype.dispose=u.c.prototype.D,u.c.prototype.createEl=u.c.prototype.e,u.c.prototype.el=u.c.prototype.r,u.c.prototype.addChild=u.c.prototype.Y,u.c.prototype.children=u.c.prototype.children,u.c.prototype.on=u.c.prototype.d,u.c.prototype.off=u.c.prototype.t,u.c.prototype.one=u.c.prototype.R,u.c.prototype.trigger=u.c.prototype.k,u.c.prototype.triggerReady=u.c.prototype.Ta,u.c.prototype.show=u.c.prototype.show,u.c.prototype.hide=u.c.prototype.v,u.c.prototype.width=u.c.prototype.width,u.c.prototype.height=u.c.prototype.height,u.c.prototype.dimensions=u.c.prototype.Mc,u.c.prototype.ready=u.c.prototype.P,u.c.prototype.fadeIn=u.c.prototype.$,u.c.prototype.fadeOut=u.c.prototype.ta,$("videojs.Player",u.C),u.C.prototype.dispose=u.C.prototype.D,u.C.prototype.requestFullScreen=u.C.prototype.wa,u.C.prototype.cancelFullScreen=u.C.prototype.pb,u.C.prototype.bufferedPercent=u.C.prototype.Ha,$("videojs.MediaLoader",u.Fc),$("videojs.TextTrackDisplay",u.$b),$("videojs.ControlBar",u.da),$("videojs.Button",u.o),$("videojs.PlayToggle",u.Xb),$("videojs.FullscreenToggle",u.Da),$("videojs.BigPlayButton",u.Wa),$("videojs.LoadingSpinner",u.Vb),$("videojs.CurrentTimeDisplay",u.Ya),$("videojs.DurationDisplay",u.Za),$("videojs.TimeDivider",u.ac),$("videojs.RemainingTimeDisplay",u.gb),$("videojs.Slider",u.M),$("videojs.ProgressControl",u.fb),$("videojs.SeekBar",u.Yb),$("videojs.LoadProgressBar",u.bb),$("videojs.PlayProgressBar",u.Wb),$("videojs.SeekHandle",u.hb),$("videojs.VolumeControl",u.jb),$("videojs.VolumeBar",u.ib),$("videojs.VolumeLevel",u.bc),$("videojs.VolumeHandle",u.kb),$("videojs.MuteToggle",u.fa),$("videojs.PosterImage",u.eb),$("videojs.Menu",u.la),$("videojs.MenuItem",u.L),$("videojs.SubtitlesButton",u.Ea),$("videojs.CaptionsButton",u.Ca),$("videojs.ChaptersButton",u.Sb),$("videojs.MediaTechController",u.q),u.q.prototype.features=u.q.prototype.j,u.q.prototype.j.volumeControl=u.q.prototype.j.U,u.q.prototype.j.fullscreenResize=u.q.prototype.j.jc,u.q.prototype.j.progressEvents=u.q.prototype.j.Mb,u.q.prototype.j.timeupdateEvents=u.q.prototype.j.Pb,$("videojs.Html5",u.m),u.m.Events=u.m.$a,u.m.isSupported=u.m.isSupported,u.m.canPlaySource=u.m.nb,u.m.prototype.setCurrentTime=u.m.prototype.fd,u.m.prototype.setVolume=u.m.prototype.ld,u.m.prototype.setMuted=u.m.prototype.jd,u.m.prototype.setPreload=u.m.prototype.kd,u.m.prototype.setAutoplay=u.m.prototype.ed,u.m.prototype.setLoop=u.m.prototype.hd,$("videojs.Flash",u.l),u.l.isSupported=u.l.isSupported,u.l.canPlaySource=u.l.nb,u.l.onReady=u.l.onReady,$("videojs.TextTrack",u.V),u.V.prototype.label=u.V.prototype.label,$("videojs.CaptionsTrack",u.Rb),$("videojs.SubtitlesTrack",u.Zb),$("videojs.ChaptersTrack",u.Tb),$("videojs.autoSetup",u.dc),$("videojs.plugin",u.cd),$("videojs.createTimeRange",u.tb)}(),function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var e,f=b||window.event,g=[].slice.call(arguments,1),h=0,i=0,j=0,k=0,l=0;return b=a.event.fix(f),b.type="mousewheel",f.wheelDelta&&(h=f.wheelDelta),f.detail&&(h=-1*f.detail),f.deltaY&&(j=-1*f.deltaY,h=j),f.deltaX&&(i=f.deltaX,h=-1*i),void 0!==f.wheelDeltaY&&(j=f.wheelDeltaY),void 0!==f.wheelDeltaX&&(i=-1*f.wheelDeltaX),k=Math.abs(h),(!c||c>k)&&(c=k),l=Math.max(Math.abs(j),Math.abs(i)),(!d||d>l)&&(d=l),e=h>0?"floor":"ceil",h=Math[e](h/c),i=Math[e](i/d),j=Math[e](j/d),g.unshift(b,h,i,j),(a.event.dispatch||a.event.handle).apply(this,g)}var c,d,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],f="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"];if(a.event.fixHooks)for(var g=e.length;g;)a.event.fixHooks[e[--g]]=a.event.mouseHooks;a.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=f.length;a;)this.addEventListener(f[--a],b,!1);else this.onmousewheel=b},teardown:function(){if(this.removeEventListener)for(var a=f.length;a;)this.removeEventListener(f[--a],b,!1);else this.onmousewheel=null}},a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})});var notorioussvg={currentScroll:0,scrolling:!1,lastScroll:0,windowWidth:$(window).width(),windowHeight:$(window).height(),device:!1,currentlyScrolling:!1,changingSlide:!1,url:"http://gotham-nyc.co",swiped:0,animating:!1,totalFaces:$(".left .face").length,onFace:0,verbs:["powerful","safe","explosive","fierce","universal","serendipitous","home","inspiring","overwhelming","unique","beautiful"],agent:navigator.userAgent.toLowerCase(),videos:function(){var a=_V_("melting-pot-boat");a.width(notorioussvg.windowWidth),a.height(notorioussvg.windowHeight);var b=_V_("did-you-know");b.width(notorioussvg.windowWidth),b.height(notorioussvg.windowHeight);var c=_V_("skyscraper-establishes");c.width(notorioussvg.windowWidth),c.height(notorioussvg.windowHeight);var d=_V_("the-cab-video");d.width(notorioussvg.windowWidth),d.height(notorioussvg.windowHeight);var e=_V_("clouds");e.width(notorioussvg.windowWidth),e.height(notorioussvg.windowHeight);var f=_V_("street-video");f.width(notorioussvg.windowWidth),f.height(notorioussvg.windowHeight)},startVideo:function(a){if(a.find("video").length){a.find("article").length&&a.hasClass("scrolling-section")&&a.find("article").css("position","relative");var b=a.find("video").attr("id");_V_(b).play()}},resize:function(){notorioussvg.windowHeight=$(window).height(),notorioussvg.windowWidth=$(window).width(),$(".scrolling-section article").css("margin-top",notorioussvg.windowHeight),$(".facts-holder").css("margin-bottom",notorioussvg.windowHeight),$(".face").css("height",notorioussvg.windowHeight),$(".col.left").css("top",-notorioussvg.windowHeight*(notorioussvg.totalFaces-1)),$(".col.right").css("top",0),$(".col").height(notorioussvg.windowHeight*notorioussvg.totalFaces),/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)?(notorioussvg.device=!0,/Android|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)&&alert("This site is best experienced on a desktop, or tablet in landscape. Haters gonna hate.")):notorioussvg.device=!1,notorioussvg.videos()},scrollTo:function(){notorioussvg.currentlyScrolling=!0,$("html, body").animate({scrollTop:offset},400,function(){notorioussvg.currentlyScrolling=!1,notorioussvg.currentScroll=offset})},goTo:function(a){if($("#container").find("[data-section='"+a+"']").length){notorioussvg.changingSlide=!0;var b=$(".content.active");if(b.data("section")!==a){var c=$("#container").find("[data-section='"+a+"']");notorioussvg.changeSlide(c,b,!1)}else notorioussvg.changingSlide=!1}},changeSlide:function(a,b,c){var d=500;c&&(d=300),a.addClass("active"),notorioussvg.startVideo(a),setTimeout(function(){b.removeClass("active"),notorioussvg.changingSlide=!1,window.location.hash=a.data("section")},d)},moveStrip:function(a){notorioussvg.animating||(notorioussvg.animating=!0,a&&("down"==a&&notorioussvg.onFace<notorioussvg.totalFaces-1?($("#verb").fadeOut(250,function(){$("#verb").removeClass().addClass("verb-"+(notorioussvg.onFace+1)),$("#verb").html(notorioussvg.verbs[notorioussvg.onFace+1]),$("#verb").fadeIn(250)}),$(".col.left").animate({top:-notorioussvg.windowHeight*(notorioussvg.totalFaces-notorioussvg.onFace-2)},500,function(){}),$(".col.right").animate({top:-notorioussvg.windowHeight*(notorioussvg.onFace+1)},500,function(){notorioussvg.onFace++}),notorioussvg.onFace==notorioussvg.totalFaces-2?$(".face-pairing .arrow").addClass("show"):$(".face-pairing .arrow").removeClass("show")):"up"==a&&0!=notorioussvg.onFace&&($("#verb").fadeOut(250,function(){$("#verb").removeClass().addClass("verb-"+(notorioussvg.onFace-1)),$("#verb").html(notorioussvg.verbs[notorioussvg.onFace-1]),$("#verb").fadeIn(250)}),$(".col.left").animate({top:-notorioussvg.windowHeight*(notorioussvg.totalFaces-notorioussvg.onFace)},500,function(){}),$(".col.right").animate({top:-notorioussvg.windowHeight*(notorioussvg.onFace-1)},500,function(){notorioussvg.onFace--}),$(".face-pairing .arrow").removeClass("show")),setTimeout(function(){notorioussvg.animating=!1},2e3)))},mouseWheel:function(a){Math.abs(a)>=.6&&(a>0?notorioussvg.moveStrip("up"):(console.log("down"),notorioussvg.moveStrip("down")))},onScroll:function(a){var b=a-this.lastScroll;Math.abs(b),b>0&&this.currentScroll>0?$("header").addClass("scroll-hide"):$("header").removeClass("scroll-hide"),this.currentScroll=a,this.lastScroll=a},init:function(){notorioussvg.resize(),$(window).on("scroll",function(){notorioussvg.onScroll($(this).scrollTop())}).on("resize",function(){notorioussvg.resize()}).on("mousewheel",function(a,b){$(".content.face-pairing").hasClass("active")&&(notorioussvg.mouseWheel(b),a.preventDefault())});var a;if(a=notorioussvg.device?"touchstart":"click",""!==window.location.hash&&"#intro"!==window.location.hash){var b=window.location.hash.substring(1);notorioussvg.goTo(b)}$(".menu-toggle").bind(a,function(a){a.preventDefault(),$("nav.dropdown").hasClass("open")?$("nav.dropdown").removeClass("open"):$("nav.dropdown").addClass("open")}),$(".menu-item").bind(a,function(){notorioussvg.goTo($(this).attr("href").substring(1)),$("nav.dropdown").removeClass("open")}),$("body").bind(a,function(a){var b=$(a.target);b.hasClass("menu-toggle")||b.parents().hasClass("menu-toggle")||b.hasClass("dropdown")||b.parents().hasClass("dropdown")||$("nav.dropdown").removeClass("open")}),$(".arrow").bind(a,function(a){if(a.preventDefault(),$(this).hasClass("arrow-right")||$(this).hasClass("arrow-left"))if(notorioussvg.changingSlide)$(this).hasClass("arrow-scroll")&&-1!=notorioussvg.agent.indexOf("safari")&&(notorioussvg.agent.indexOf("chrome")>-1||(notorioussvg.changingSlide=!0,$(this).parents(".content").find("article").animate({marginTop:0},500,function(){notorioussvg.changingSlide=!1})));else{if(notorioussvg.changingSlide=!0,$currentactive=$(".content.active"),$currentactive.find("video").length){var b=$currentactive.find("video").attr("id");_V_(b).pause(),$currentactive.hasClass("scrolling-section")&&$currentactive.find("article").css("position","absolute")}$(this).hasClass("arrow-right")?$(".content.active").next(".content").length?notorioussvg.changeSlide($currentactive.next(),$currentactive,!1):notorioussvg.changeSlide($(".content").first(),$currentactive,!1):$(this).hasClass("arrow-left")&&($(".content.active").prev(".content").length?notorioussvg.changeSlide($(".content.active").prev(),$currentactive,!0):notorioussvg.changeSlide($(".content").last(),$currentactive,!0))}}),$(document).keyup(function(a){37==a.keyCode?$(".arrow-left").trigger("click"):39==a.keyCode&&$(".arrow-right").trigger("click")}),$(".tweet").bind(a,function(){window.open("https://twitter.com/intent/tweet?url="+notorioussvg.url+"&via=barrelny&text="+encodeURIComponent("New York is "+$(".shout").val())+"&hashtags=gothamis,nycis,barrelny","_blank")}),videojs.options.flash.swf="js/lib/video-js.swf"}};$(function(){notorioussvg.init()});
\ No newline at end of file
+},u.fa.prototype.n=function(){this.a.muted(this.a.muted()?l:f)},u.fa.prototype.update=function(){var a=this.a.volume(),b=3;for(0===a||this.a.muted()?b=0:.33>a?b=1:.67>a&&(b=2),this.a.muted()?"Unmute"!=this.b.children[0].children[0].innerHTML&&(this.b.children[0].children[0].innerHTML="Unmute"):"Mute"!=this.b.children[0].children[0].innerHTML&&(this.b.children[0].children[0].innerHTML="Mute"),a=0;4>a;a++)u.w(this.b,"vjs-vol-"+a);u.p(this.b,"vjs-vol-"+b)},u.Fa=u.ea.extend({g:function(a,b){u.ea.call(this,a,b),a.d("volumechange",u.bind(this,this.update)),a.h&&a.h.j&&a.h.j.U===l&&this.p("vjs-hidden"),a.d("loadstart",u.bind(this,function(){a.h.j&&a.h.j.U===l?this.p("vjs-hidden"):this.w("vjs-hidden")})),this.p("vjs-menu-button")}}),u.Fa.prototype.Ja=function(){var a=new u.la(this.a,{Kc:"div"}),b=new u.ib(this.a,u.i.B({pd:f},this.f.Dd));return a.Y(b),a},u.Fa.prototype.n=function(){u.fa.prototype.n.call(this),u.ea.prototype.n.call(this)},u.Fa.prototype.e=function(){return u.o.prototype.e.call(this,"div",{className:"vjs-volume-menu-button vjs-menu-button vjs-control",innerHTML:'<div><span class="vjs-control-text">Mute</span></div>'})},u.Fa.prototype.update=u.fa.prototype.update,u.eb=u.o.extend({g:function(a,b){u.o.call(this,a,b),(!a.poster()||!a.controls())&&this.v(),a.d("play",u.bind(this,this.v))}}),u.eb.prototype.e=function(){var a=u.e("div",{className:"vjs-poster",tabIndex:-1}),b=this.a.poster();return b&&("backgroundSize"in a.style?a.style.backgroundImage='url("'+b+'")':a.appendChild(u.e("img",{src:b}))),a},u.eb.prototype.n=function(){this.a.play()},u.Vb=u.c.extend({g:function(a,b){u.c.call(this,a,b),a.d("canplay",u.bind(this,this.v)),a.d("canplaythrough",u.bind(this,this.v)),a.d("playing",u.bind(this,this.v)),a.d("seeked",u.bind(this,this.v)),a.d("seeking",u.bind(this,this.show)),a.d("seeked",u.bind(this,this.v)),a.d("error",u.bind(this,this.show)),a.d("waiting",u.bind(this,this.show))}}),u.Vb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-loading-spinner"})},u.Wa=u.o.extend({g:function(a,b){u.o.call(this,a,b),a.controls()||this.v(),a.d("play",u.bind(this,this.v))}}),u.Wa.prototype.e=function(){return u.o.prototype.e.call(this,"div",{className:"vjs-big-play-button",innerHTML:"<span></span>","aria-label":"play video"})},u.Wa.prototype.n=function(){this.a.play()},u.q=u.c.extend({g:function(a,b,c){u.c.call(this,a,b,c)}}),u.q.prototype.n=u.ab?m():function(){this.a.controls()&&(this.a.paused()?this.a.play():this.a.pause())},u.q.prototype.j={U:f,jc:l,Mb:l,Pb:l},u.media={},u.media.Va="play pause paused currentTime setCurrentTime duration buffered volume setVolume muted setMuted width height supportsFullScreen enterFullScreen src load currentSrc preload setPreload autoplay setAutoplay loop setLoop error networkState readyState seeking initialTime startOffsetTime played seekable ended videoTracks audioTracks videoWidth videoHeight textTracks defaultPlaybackRate playbackRate mediaGroup controller controls defaultMuted".split(" ");for(var i=u.media.Va.length-1;i>=0;i--)u.q.prototype[u.media.Va[i]]=ea();u.m=u.q.extend({g:function(a,b,c){for(this.j.U=u.m.Jc(),this.j.Uc=!u.Ub,this.j.jc=f,u.q.call(this,a,b,c),(b=b.source)&&this.b.currentSrc==b.src?a.k("loadstart"):b&&(this.b.src=b.src),a.P(function(){this.F&&this.f.autoplay&&this.paused()&&(delete this.F.poster,this.play())}),this.d("click",this.n),a=u.m.$a.length-1;a>=0;a--)u.d(this.b,u.m.$a[a],u.bind(this.a,this.Pc));this.Ta()}}),t=u.m.prototype,t.D=function(){u.q.prototype.D.call(this)},t.e=function(){var a=this.a,b=a.F;b&&this.j.Uc!==l||(b?(b.player=h,a.F=h,a.r().removeChild(b),b=b.cloneNode(l)):b=u.e("video",{id:a.id()+"_html5_api",className:"vjs-tech"}),b.player=a,u.zb(b,a.r()));for(var c=["autoplay","preload","loop","muted"],d=c.length-1;d>=0;d--){var e=c[d];a.f[e]!==h&&(b[e]=a.f[e])}return b},t.Pc=function(a){this.k(a),a.stopPropagation()},t.play=function(){this.b.play()},t.pause=function(){this.b.pause()},t.paused=function(){return this.b.paused},t.currentTime=function(){return this.b.currentTime},t.fd=function(a){try{this.b.currentTime=a}catch(b){u.log(b,"Video is not ready. (Video.js)")}},t.duration=function(){return this.b.duration||0},t.buffered=function(){return this.b.buffered},t.volume=function(){return this.b.volume},t.ld=function(a){this.b.volume=a},t.muted=function(){return this.b.muted},t.jd=function(a){this.b.muted=a},t.width=function(){return this.b.offsetWidth},t.height=function(){return this.b.offsetHeight},t.Sa=function(){return"function"!=typeof this.b.webkitEnterFullScreen||!/Android/.test(u.G)&&/Chrome|Mac OS X 10.5/.test(u.G)?l:f},t.src=function(a){this.b.src=a},t.load=function(){this.b.load()},t.currentSrc=function(){return this.b.currentSrc},t.Pa=function(){return this.b.Pa},t.kd=function(a){this.b.Pa=a},t.autoplay=function(){return this.b.autoplay},t.ed=function(a){this.b.autoplay=a},t.loop=function(){return this.b.loop},t.hd=function(a){this.b.loop=a},t.error=function(){return this.b.error},u.m.isSupported=function(){return!!u.ma.canPlayType},u.m.nb=function(a){try{return!!u.ma.canPlayType(a.type)}catch(b){return""}},u.m.Jc=function(){var a=u.ma.volume;return u.ma.volume=a/2+.1,a!==u.ma.volume},u.m.$a="loadstart suspend abort error emptied stalled loadedmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate progress play pause ratechange volumechange".split(" "),u.Ec&&(document.createElement("video").constructor.prototype.canPlayType=function(a){return a&&-1!=a.toLowerCase().indexOf("video/mp4")?"maybe":""}),u.l=u.q.extend({g:function(a,b,c){u.q.call(this,a,b,c),c=b.source;var d=b.parentEl,e=this.b=u.e("div",{id:a.id()+"_temp_flash"}),g=a.id()+"_flash_api";a=a.f;var h=u.i.B({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:a.autoplay,preload:a.Pa,loop:a.loop,muted:a.muted},b.flashVars),i=u.i.B({wmode:"opaque",bgcolor:"#000000"},b.params),j=u.i.B({id:g,name:g,"class":"vjs-tech"},b.attributes);if(c&&(h.src=encodeURIComponent(u.kc(c.src))),u.zb(e,d),b.startTime&&this.P(function(){this.load(),this.play(),this.currentTime(b.startTime)}),b.iFrameMode!==f||u.Ac)u.l.Oc(b.swf,e,h,i,j);else{var k=u.e("iframe",{id:g+"_iframe",name:g+"_iframe",className:"vjs-tech",scrolling:"no",marginWidth:0,marginHeight:0,frameBorder:0});h.readyFunction="ready",h.eventProxyFunction="events",h.errorEventProxyFunction="errors",u.d(k,"load",u.bind(this,function(){var a,c=k.contentWindow;a=k.contentDocument?k.contentDocument:k.contentWindow.document,a.write(u.l.lc(b.swf,h,i,j)),c.player=this.a,c.ready=u.bind(this.a,function(b){b=a.getElementById(b);var c=this.h;c.b=b,u.d(b,"click",c.bind(c.n)),u.l.qb(c)}),c.events=u.bind(this.a,function(a,b){this&&"flash"===this.ya&&this.k(b)}),c.errors=u.bind(this.a,function(a,b){u.log("Flash Error",b)})})),e.parentNode.replaceChild(k,e)}}}),t=u.l.prototype,t.D=function(){u.q.prototype.D.call(this)},t.play=function(){this.b.vjs_play()},t.pause=function(){this.b.vjs_pause()},t.src=function(a){if(a=u.kc(a),this.b.vjs_src(a),this.a.autoplay()){var b=this;setTimeout(function(){b.play()},0)}},t.load=function(){this.b.vjs_load()},t.poster=function(){this.b.vjs_getProperty("poster")},t.buffered=function(){return u.tb(0,this.b.vjs_getProperty("buffered"))},t.Sa=r(l);var P=u.l.prototype,Q="preload currentTime defaultPlaybackRate playbackRate autoplay loop mediaGroup controller controls volume muted defaultMuted".split(" "),R="error currentSrc networkState readyState seeking initialTime duration startOffsetTime paused played seekable ended videoTracks audioTracks videoWidth videoHeight textTracks".split(" "),S;for(S=0;S<Q.length;S++)T(Q[S]),fa();for(S=0;S<R.length;S++)T(R[S]);if(u.l.isSupported=function(){return 10<=u.l.version()[0]},u.l.nb=function(a){return a.type in u.l.Rc?"maybe":void 0},u.l.Rc={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},u.l.onReady=function(a){a=u.r(a);var b=a.player||a.parentNode.player,c=b.h;a.player=b,c.b=a,c.d("click",c.n),u.l.qb(c)},u.l.qb=function(a){a.r().vjs_getProperty?a.Ta():setTimeout(function(){u.l.qb(a)},50)},u.l.onEvent=function(a,b){u.r(a).player.k(b)},u.l.onError=function(a,b){u.r(a).player.k("error"),u.log("Flash Error",b,a)},u.l.version=function(){var a="0,0,0";try{a=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(b){try{navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(a=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(c){}}return a.split(",")},u.l.Oc=function(a,b,c,d,e){a=u.l.lc(a,c,d,e),a=u.e("div",{innerHTML:a}).childNodes[0],c=b.parentNode,b.parentNode.replaceChild(a,b);var f=c.childNodes[0];setTimeout(function(){f.style.display="block"},1e3)},u.l.lc=function(a,b,c,d){var e="",f="",g="";return b&&u.i.ra(b,function(a,b){e+=a+"="+b+"&amp;"}),c=u.i.B({movie:a,flashvars:e,allowScriptAccess:"always",allowNetworking:"all"},c),u.i.ra(c,function(a,b){f+='<param name="'+a+'" value="'+b+'" />'}),d=u.i.B({data:a,width:"100%",height:"100%"},d),u.i.ra(d,function(a,b){g+=a+'="'+b+'" '}),'<object type="application/x-shockwave-flash"'+g+">"+f+"</object>"},u.Fc=u.c.extend({g:function(a,b,c){if(u.c.call(this,a,b,c),a.f.sources&&0!==a.f.sources.length)a.src(a.f.sources);else for(b=0,c=a.f.techOrder;b<c.length;b++){var d=u.Z(c[b]),e=window.videojs[d];if(e&&e.isSupported()){H(a,d);break}}}}),u.V=u.c.extend({g:function(a,b){u.c.call(this,a,b),this.O=b.id||"vjs_"+b.kind+"_"+b.language+"_"+u.u++,this.uc=b.src,this.Lc=b["default"]||b.dflt,this.nd=b.title,this.yd=b.srclang,this.Tc=b.label,this.ha=[],this.cc=[],this.ia=this.ja=0,this.a.d("fullscreenchange",u.bind(this,this.Gc))}}),t=u.V.prototype,t.K=p("A"),t.src=p("uc"),t.ub=p("Lc"),t.title=p("nd"),t.label=p("Tc"),t.readyState=p("ja"),t.mode=p("ia"),t.Gc=function(){this.b.style.fontSize=this.a.I?140*(screen.width/this.a.width())+"%":""},t.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-"+this.A+" vjs-text-track"})},t.show=function(){W(this),this.ia=2,u.c.prototype.show.call(this)},t.v=function(){W(this),this.ia=1,u.c.prototype.v.call(this)},t.disable=function(){2==this.ia&&this.v(),this.a.t("timeupdate",u.bind(this,this.update,this.O)),this.a.t("ended",u.bind(this,this.reset,this.O)),this.reset(),this.a.S.textTrackDisplay.removeChild(this),this.ia=0},t.load=function(){0===this.ja&&(this.ja=1,u.get(this.uc,u.bind(this,this.ad),u.bind(this,this.Gb)))},t.Gb=function(a){this.error=a,this.ja=3,this.k("error")},t.ad=function(a){var b,c;a=a.split("\n");for(var d="",e=1,f=a.length;f>e;e++)if(d=u.trim(a[e])){for(-1==d.indexOf("-->")?(b=d,d=u.trim(a[++e])):b=this.ha.length,b={id:b,index:this.ha.length},c=d.split(" --> "),b.startTime=X(c[0]),b.sa=X(c[1]),c=[];a[++e]&&(d=u.trim(a[e]));)c.push(d);b.text=c.join("<br/>"),this.ha.push(b)}this.ja=2,this.k("loaded")},t.update=function(){if(0<this.ha.length){var a=this.a.currentTime();if(this.Lb===b||a<this.Lb||this.La<=a){var c,d,e,g,h=this.ha,i=this.a.duration(),j=0,k=l,m=[];for(a>=this.La||this.La===b?g=this.wb!==b?this.wb:0:(k=f,g=this.Db!==b?this.Db:h.length-1);;){if(e=h[g],e.sa<=a)j=Math.max(j,e.sa),e.Ga&&(e.Ga=l);else if(a<e.startTime){if(i=Math.min(i,e.startTime),e.Ga&&(e.Ga=l),!k)break}else k?(m.splice(0,0,e),d===b&&(d=g),c=g):(m.push(e),c===b&&(c=g),d=g),i=Math.min(i,e.sa),j=Math.max(j,e.startTime),e.Ga=f;if(k){if(0===g)break;g--}else{if(g===h.length-1)break;g++}}for(this.cc=m,this.La=i,this.Lb=j,this.wb=c,this.Db=d,a=this.cc,h="",i=0,j=a.length;j>i;i++)h+='<span class="vjs-tt-cue">'+a[i].text+"</span>";this.b.innerHTML=h,this.k("cuechange")}}},t.reset=function(){this.La=0,this.Lb=this.a.duration(),this.Db=this.wb=0},u.Rb=u.V.extend(),u.Rb.prototype.A="captions",u.Zb=u.V.extend(),u.Zb.prototype.A="subtitles",u.Tb=u.V.extend(),u.Tb.prototype.A="chapters",u.$b=u.c.extend({g:function(a,b,c){if(u.c.call(this,a,b,c),a.f.tracks&&0<a.f.tracks.length){b=this.a,a=a.f.tracks;var d;for(c=0;c<a.length;c++){d=a[c];var e=b,f=d.kind,g=d.label,h=d.language,i=d;d=e.za=e.za||[],i=i||{},i.kind=f,i.label=g,i.language=h,f=u.Z(f||"subtitles"),e=new window.videojs[f+"Track"](e,i),d.push(e)}}}}),u.$b.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-text-track-display"})},u.X=u.L.extend({g:function(a,b){var c=this.ca=b.track;b.label=c.label(),b.selected=c.ub(),u.L.call(this,a,b),this.a.d(c.K()+"trackchange",u.bind(this,this.update))}}),u.X.prototype.n=function(){u.L.prototype.n.call(this),V(this.a,this.ca.O,this.ca.K())},u.X.prototype.update=function(){this.selected(2==this.ca.mode())},u.cb=u.X.extend({g:function(a,b){b.track={K:function(){return b.kind},bd:a,label:function(){return b.kind+" off"},ub:r(l),mode:r(l)},u.X.call(this,a,b),this.selected(f)}}),u.cb.prototype.n=function(){u.X.prototype.n.call(this),V(this.a,this.ca.O,this.ca.K())},u.cb.prototype.update=function(){for(var a,b=U(this.a),c=0,d=b.length,e=f;d>c;c++)a=b[c],a.K()==this.ca.K()&&2==a.mode()&&(e=l);this.selected(e)},u.W=u.ea.extend({g:function(a,b){u.ea.call(this,a,b),1>=this.J.length&&this.v()}}),u.W.prototype.sb=function(){var a,b=[];b.push(new u.cb(this.a,{kind:this.A}));for(var c=0;c<U(this.a).length;c++)a=U(this.a)[c],a.K()===this.A&&b.push(new u.X(this.a,{track:a}));return b},u.Ca=u.W.extend({g:function(a,b,c){u.W.call(this,a,b,c),this.b.setAttribute("aria-label","Captions Menu")}}),u.Ca.prototype.A="captions",u.Ca.prototype.oa="Captions",u.Ca.prototype.className="vjs-captions-button",u.Ea=u.W.extend({g:function(a,b,c){u.W.call(this,a,b,c),this.b.setAttribute("aria-label","Subtitles Menu")}}),u.Ea.prototype.A="subtitles",u.Ea.prototype.oa="Subtitles",u.Ea.prototype.className="vjs-subtitles-button",u.Sb=u.W.extend({g:function(a,b,c){u.W.call(this,a,b,c),this.b.setAttribute("aria-label","Chapters Menu")}}),t=u.Sb.prototype,t.A="chapters",t.oa="Chapters",t.className="vjs-chapters-button",t.sb=function(){for(var a,b=[],c=0;c<U(this.a).length;c++)a=U(this.a)[c],a.K()===this.A&&b.push(new u.X(this.a,{track:a}));return b},t.Ja=function(){for(var a,b,c=U(this.a),d=0,e=c.length,f=this.J=[];e>d;d++)if(a=c[d],a.K()==this.A&&a.ub()){if(2>a.readyState())return this.wd=a,a.d("loaded",u.bind(this,this.Ja)),void 0;b=a;break}if(c=this.ua=new u.la(this.a),c.b.appendChild(u.e("li",{className:"vjs-menu-title",innerHTML:u.Z(this.A),md:-1})),b){a=b.ha;for(var g,d=0,e=a.length;e>d;d++)g=a[d],g=new u.Xa(this.a,{track:b,cue:g}),f.push(g),c.Y(g)}return 0<this.J.length&&this.show(),c},u.Xa=u.L.extend({g:function(a,b){var c=this.ca=b.track,d=this.cue=b.cue,e=a.currentTime();b.label=d.text,b.selected=d.startTime<=e&&e<d.sa,u.L.call(this,a,b),c.d("cuechange",u.bind(this,this.update))}}),u.Xa.prototype.n=function(){u.L.prototype.n.call(this),this.a.currentTime(this.cue.startTime),this.update(this.cue.startTime)},u.Xa.prototype.update=function(){var a=this.cue,b=this.a.currentTime();this.selected(a.startTime<=b&&b<a.sa)},u.i.B(u.da.prototype.f.children,{subtitlesButton:{},captionsButton:{},chaptersButton:{}}),"undefined"!=typeof window.JSON&&"function"===window.JSON.parse)u.JSON=window.JSON;else{u.JSON={};var Y=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;u.JSON.parse=function(a,c){function d(a,e){var f,g,h=a[e];if(h&&"object"==typeof h)for(f in h)Object.prototype.hasOwnProperty.call(h,f)&&(g=d(h,f),g!==b?h[f]=g:delete h[f]);return c.call(a,e,h)}var e;if(a=String(a),Y.lastIndex=0,Y.test(a)&&(a=a.replace(Y,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),"function"==typeof c?d({"":e},""):e;throw new SyntaxError("JSON.parse(): invalid or malformed JSON data")}}u.dc=function(){var a,c,d=document.getElementsByTagName("video");if(d&&0<d.length)for(var e=0,f=d.length;f>e;e++){if(!(c=d[e])||!c.getAttribute){u.lb();break}c.player===b&&(a=c.getAttribute("data-setup"),a!==h&&(a=u.JSON.parse(a||"{}"),v(c,a)))}else u.rd||u.lb()},u.lb=function(){setTimeout(u.dc,1)},u.R(window,"load",function(){u.rd=f}),u.lb(),u.cd=function(a,b){u.C.prototype[a]=b};var Z=this;Z.sd=f,$("videojs",u),$("_V_",u),$("videojs.options",u.options),$("videojs.players",u.va),$("videojs.cache",u.pa),$("videojs.Component",u.c),u.c.prototype.dispose=u.c.prototype.D,u.c.prototype.createEl=u.c.prototype.e,u.c.prototype.el=u.c.prototype.r,u.c.prototype.addChild=u.c.prototype.Y,u.c.prototype.children=u.c.prototype.children,u.c.prototype.on=u.c.prototype.d,u.c.prototype.off=u.c.prototype.t,u.c.prototype.one=u.c.prototype.R,u.c.prototype.trigger=u.c.prototype.k,u.c.prototype.triggerReady=u.c.prototype.Ta,u.c.prototype.show=u.c.prototype.show,u.c.prototype.hide=u.c.prototype.v,u.c.prototype.width=u.c.prototype.width,u.c.prototype.height=u.c.prototype.height,u.c.prototype.dimensions=u.c.prototype.Mc,u.c.prototype.ready=u.c.prototype.P,u.c.prototype.fadeIn=u.c.prototype.$,u.c.prototype.fadeOut=u.c.prototype.ta,$("videojs.Player",u.C),u.C.prototype.dispose=u.C.prototype.D,u.C.prototype.requestFullScreen=u.C.prototype.wa,u.C.prototype.cancelFullScreen=u.C.prototype.pb,u.C.prototype.bufferedPercent=u.C.prototype.Ha,$("videojs.MediaLoader",u.Fc),$("videojs.TextTrackDisplay",u.$b),$("videojs.ControlBar",u.da),$("videojs.Button",u.o),$("videojs.PlayToggle",u.Xb),$("videojs.FullscreenToggle",u.Da),$("videojs.BigPlayButton",u.Wa),$("videojs.LoadingSpinner",u.Vb),$("videojs.CurrentTimeDisplay",u.Ya),$("videojs.DurationDisplay",u.Za),$("videojs.TimeDivider",u.ac),$("videojs.RemainingTimeDisplay",u.gb),$("videojs.Slider",u.M),$("videojs.ProgressControl",u.fb),$("videojs.SeekBar",u.Yb),$("videojs.LoadProgressBar",u.bb),$("videojs.PlayProgressBar",u.Wb),$("videojs.SeekHandle",u.hb),$("videojs.VolumeControl",u.jb),$("videojs.VolumeBar",u.ib),$("videojs.VolumeLevel",u.bc),$("videojs.VolumeHandle",u.kb),$("videojs.MuteToggle",u.fa),$("videojs.PosterImage",u.eb),$("videojs.Menu",u.la),$("videojs.MenuItem",u.L),$("videojs.SubtitlesButton",u.Ea),$("videojs.CaptionsButton",u.Ca),$("videojs.ChaptersButton",u.Sb),$("videojs.MediaTechController",u.q),u.q.prototype.features=u.q.prototype.j,u.q.prototype.j.volumeControl=u.q.prototype.j.U,u.q.prototype.j.fullscreenResize=u.q.prototype.j.jc,u.q.prototype.j.progressEvents=u.q.prototype.j.Mb,u.q.prototype.j.timeupdateEvents=u.q.prototype.j.Pb,$("videojs.Html5",u.m),u.m.Events=u.m.$a,u.m.isSupported=u.m.isSupported,u.m.canPlaySource=u.m.nb,u.m.prototype.setCurrentTime=u.m.prototype.fd,u.m.prototype.setVolume=u.m.prototype.ld,u.m.prototype.setMuted=u.m.prototype.jd,u.m.prototype.setPreload=u.m.prototype.kd,u.m.prototype.setAutoplay=u.m.prototype.ed,u.m.prototype.setLoop=u.m.prototype.hd,$("videojs.Flash",u.l),u.l.isSupported=u.l.isSupported,u.l.canPlaySource=u.l.nb,u.l.onReady=u.l.onReady,$("videojs.TextTrack",u.V),u.V.prototype.label=u.V.prototype.label,$("videojs.CaptionsTrack",u.Rb),$("videojs.SubtitlesTrack",u.Zb),$("videojs.ChaptersTrack",u.Tb),$("videojs.autoSetup",u.dc),$("videojs.plugin",u.cd),$("videojs.createTimeRange",u.tb)}(),function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var e,f=b||window.event,g=[].slice.call(arguments,1),h=0,i=0,j=0,k=0,l=0;return b=a.event.fix(f),b.type="mousewheel",f.wheelDelta&&(h=f.wheelDelta),f.detail&&(h=-1*f.detail),f.deltaY&&(j=-1*f.deltaY,h=j),f.deltaX&&(i=f.deltaX,h=-1*i),void 0!==f.wheelDeltaY&&(j=f.wheelDeltaY),void 0!==f.wheelDeltaX&&(i=-1*f.wheelDeltaX),k=Math.abs(h),(!c||c>k)&&(c=k),l=Math.max(Math.abs(j),Math.abs(i)),(!d||d>l)&&(d=l),e=h>0?"floor":"ceil",h=Math[e](h/c),i=Math[e](i/d),j=Math[e](j/d),g.unshift(b,h,i,j),(a.event.dispatch||a.event.handle).apply(this,g)}var c,d,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],f="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"];if(a.event.fixHooks)for(var g=e.length;g;)a.event.fixHooks[e[--g]]=a.event.mouseHooks;a.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=f.length;a;)this.addEventListener(f[--a],b,!1);else this.onmousewheel=b},teardown:function(){if(this.removeEventListener)for(var a=f.length;a;)this.removeEventListener(f[--a],b,!1);else this.onmousewheel=null}},a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})});var notorioussvg={currentScroll:0,scrolling:!1,lastScroll:0,windowWidth:$(window).width(),windowHeight:$(window).height(),device:!1,currentlyScrolling:!1,changingSlide:!1,url:"http://gotham-nyc.co",swiped:0,animating:!1,totalFaces:$(".left .face").length,onFace:0,verbs:["powerful","safe","explosive","fierce","universal","serendipitous","home","inspiring","overwhelming","unique","beautiful"],agent:navigator.userAgent.toLowerCase(),videos:function(){var a=_V_("melting-pot-boat");a.width(notorioussvg.windowWidth),a.height(notorioussvg.windowHeight);var b=_V_("did-you-know");b.width(notorioussvg.windowWidth),b.height(notorioussvg.windowHeight);var c=_V_("skyscraper-establishes");c.width(notorioussvg.windowWidth),c.height(notorioussvg.windowHeight);var d=_V_("the-cab-video");d.width(notorioussvg.windowWidth),d.height(notorioussvg.windowHeight);var e=_V_("clouds");e.width(notorioussvg.windowWidth),e.height(notorioussvg.windowHeight);var f=_V_("street-video");f.width(notorioussvg.windowWidth),f.height(notorioussvg.windowHeight)},startVideo:function(a){if(a.find("video").length){a.find("article").length&&a.hasClass("scrolling-section")&&a.find("article").css("position","relative");var b=a.find("video").attr("id");_V_(b).play()}},resize:function(){notorioussvg.windowHeight=$(window).height(),notorioussvg.windowWidth=$(window).width(),$(".scrolling-section article").css("margin-top",notorioussvg.windowHeight),$(".facts-holder").css("margin-bottom",notorioussvg.windowHeight),$(".face").css("height",notorioussvg.windowHeight),$(".col.left").css("top",-notorioussvg.windowHeight*(notorioussvg.totalFaces-1)),$(".col.right").css("top",0),$(".col").height(notorioussvg.windowHeight*notorioussvg.totalFaces),/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)?(notorioussvg.device=!0,/Android|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)&&alert("This site is best experienced on a desktop, or tablet in landscape. Haters gonna hate.")):notorioussvg.device=!1,notorioussvg.videos()},scrollTo:function(){notorioussvg.currentlyScrolling=!0,$("html, body").animate({scrollTop:offset},400,function(){notorioussvg.currentlyScrolling=!1,notorioussvg.currentScroll=offset})},goTo:function(a){if($("#container").find("[data-section='"+a+"']").length){notorioussvg.changingSlide=!0;var b=$(".content.active");if(b.data("section")!==a){var c=$("#container").find("[data-section='"+a+"']");notorioussvg.changeSlide(c,b,!1)}else notorioussvg.changingSlide=!1}},changeSlide:function(a,b,c){var d=500;c&&(d=300),a.addClass("active"),notorioussvg.startVideo(a),setTimeout(function(){b.removeClass("active"),notorioussvg.changingSlide=!1,window.location.hash=a.data("section")},d)},moveStrip:function(a){notorioussvg.animating||(notorioussvg.animating=!0,a&&("down"==a&&notorioussvg.onFace<notorioussvg.totalFaces-1?($("#verb").fadeOut(250,function(){$("#verb").removeClass().addClass("verb-"+(notorioussvg.onFace+1)),$("#verb").html(notorioussvg.verbs[notorioussvg.onFace+1]),$("#verb").fadeIn(250)}),$(".col.left").animate({top:-notorioussvg.windowHeight*(notorioussvg.totalFaces-notorioussvg.onFace-2)},500,function(){}),$(".col.right").animate({top:-notorioussvg.windowHeight*(notorioussvg.onFace+1)},500,function(){notorioussvg.onFace++}),notorioussvg.onFace==notorioussvg.totalFaces-2?$(".face-pairing .arrow").addClass("show"):$(".face-pairing .arrow").removeClass("show")):"up"==a&&0!=notorioussvg.onFace&&($("#verb").fadeOut(250,function(){$("#verb").removeClass().addClass("verb-"+(notorioussvg.onFace-1)),$("#verb").html(notorioussvg.verbs[notorioussvg.onFace-1]),$("#verb").fadeIn(250)}),$(".col.left").animate({top:-notorioussvg.windowHeight*(notorioussvg.totalFaces-notorioussvg.onFace)},500,function(){}),$(".col.right").animate({top:-notorioussvg.windowHeight*(notorioussvg.onFace-1)},500,function(){notorioussvg.onFace--}),$(".face-pairing .arrow").removeClass("show")),setTimeout(function(){notorioussvg.animating=!1},2e3)))},mouseWheel:function(a){Math.abs(a)>=.6&&(a>0?notorioussvg.moveStrip("up"):(console.log("down"),notorioussvg.moveStrip("down")))},onScroll:function(a){var b=a-this.lastScroll;Math.abs(b),b>0&&this.currentScroll>0?$("header").addClass("scroll-hide"):$("header").removeClass("scroll-hide"),this.currentScroll=a,this.lastScroll=a},init:function(){notorioussvg.resize(),$(window).on("scroll",function(){notorioussvg.onScroll($(this).scrollTop())}).on("resize",function(){notorioussvg.resize()}).on("mousewheel",function(a,b){$(".content.face-pairing").hasClass("active")&&(notorioussvg.mouseWheel(b),a.preventDefault())});var a;if(a=notorioussvg.device?"touchstart":"click",""!==window.location.hash&&"#intro"!==window.location.hash){var b=window.location.hash.substring(1);notorioussvg.goTo(b)}$(".menu-toggle").bind(a,function(a){a.preventDefault(),$("nav.dropdown").hasClass("open")?$("nav.dropdown").removeClass("open"):$("nav.dropdown").addClass("open")}),$(".menu-item").bind(a,function(){notorioussvg.goTo($(this).attr("href").substring(1)),$("nav.dropdown").removeClass("open")}),$("body").bind(a,function(a){var b=$(a.target);b.hasClass("menu-toggle")||b.parents().hasClass("menu-toggle")||b.hasClass("dropdown")||b.parents().hasClass("dropdown")||$("nav.dropdown").removeClass("open")}),$(".arrow").bind(a,function(a){if(a.preventDefault(),$(this).hasClass("arrow-right")||$(this).hasClass("arrow-left"))if(notorioussvg.changingSlide)$(this).hasClass("arrow-scroll")&&-1!=notorioussvg.agent.indexOf("safari")&&(notorioussvg.agent.indexOf("chrome")>-1||(notorioussvg.changingSlide=!0,$(this).parents(".content").find("article").animate({marginTop:0},500,function(){notorioussvg.changingSlide=!1})));else{if(notorioussvg.changingSlide=!0,$currentactive=$(".content.active"),$currentactive.find("video").length){var b=$currentactive.find("video").attr("id");_V_(b).pause(),$currentactive.hasClass("scrolling-section")&&$currentactive.find("article").css("position","absolute")}$(this).hasClass("arrow-right")?$(".content.active").next(".content").length?notorioussvg.changeSlide($currentactive.next(),$currentactive,!1):notorioussvg.changeSlide($(".content").first(),$currentactive,!1):$(this).hasClass("arrow-left")&&($(".content.active").prev(".content").length?notorioussvg.changeSlide($(".content.active").prev(),$currentactive,!0):notorioussvg.changeSlide($(".content").last(),$currentactive,!0))}}),$(document).keyup(function(a){37==a.keyCode?$(".arrow-left").trigger("click"):39==a.keyCode&&$(".arrow-right").trigger("click")}),$(".tweet").bind(a,function(){window.open("https://twitter.com/intent/tweet?url="+notorioussvg.url+"&via=barrelny&text="+encodeURIComponent("New York is "+$(".shout").val())+"&hashtags=gothamis,nycis,barrelny","_blank")}),videojs.options.flash.swf="js/lib/video-js.swf",-1!=notorioussvg.agent.indexOf("safari")&&(notorioussvg.agent.indexOf("chrome")>-1||alert("Hello Safari User, this is best viewed in Chrome due to the background videos, if you get stuck in a video use your keyboard right and left arrows to move to the next page."))}};$(function(){notorioussvg.init()});
\ No newline at end of file