1var smallScreen,originalTitleTag,mainSection,isTouch=$("html").hasClass("touchevents");$(window).load(function(){$.waypoints("refresh"),window.addEventListener("popstate",function(){if(!window.location.hash){const e=document.querySelector(".active-overlay.reveal");e&&(e.classList.remove("reveal"),this.setTimeout(()=>{e.classList.remove("active-overlay"),document.body.classList.remove("active-overlay"),e.classList.contains("show-overlay")&&e.classList.remove("show-overlay")},400))}});function e(t){if(t>=$(".thumb-holder img").size())return;$(".thumb-holder img").eq(t).addClass("image-loaded"),$(".thumb-holder img").eq(t).removeClass("image-loading");var n=t+1;setTimeout(function(){e(n)},250)}setTimeout(function(){e(0)},250),($("body").hasClass("page-id-9")||$("body").hasClass("parent-pageid-9"))&&initHistory()}),$(document).ready(function(){$(function(){objectFitImages()}),peopleOverlay(),expandableSections(),smallScreen=$(window).width()<767,$(window).scroll(function(){$(window).scrollTop()>25?$("body").addClass("tucked").addClass("scrolled-down"):$("body").removeClass("tucked").removeClass("scrolled-down")}),$(".header-container header").hover(function(){if(smallScreen)return;$("body").removeClass("tucked")},function(){}),$("main").hover(function(){$(window).scrollTop()>25&&$("body").addClass("tucked")},function(){}),initScrollMagic(),setTimeout(function(){$("#credit").css("opacity","1")},1e3),$("#slideshow").length>0&&(homeSlideshow=$("#slideshow").cycle({slides:"> .slide",speed:3e3,manualSpeed:500,timeout:4500,fx:"fadeout",delay:500}),setTimeout(function(){$(".tagline").fadeOut(2e3)},2500)),$("#menu-button").click(function(){$("#mobile-nav").slideToggle(),$(this).toggleClass("active"),$("body").toggleClass("opened-menu")}),$("nav.subnav a").click(function(e){if($(this).attr("rel")=="clickthrough")return;var n,t=$(this).attr("href").substring($(this).attr("href").lastIndexOf("/")+1).replace(/\//g,"");if(e.preventDefault(),$("nav.subnav li a").removeClass("cur"),$(this).addClass("cur"),$(this).attr("rel")=="filter")n=$(this).attr("id"),urlPath="?filter="+n,window.history.pushState(null,null,urlPath),filter(n);else return offset=smallScreen?30:91,offset=t=="philosophy"?135:offset,offset=t=="contact"?0:offset,$(".main").css("opacity",0),$("html,body").delay(1e3).animate({scrollTop:$("#"+t).offset().top-offset},0,function(){$(".main").css("opacity",1)}),!1}),GetUrlValue("filter")?filter(GetUrlValue("filter")):$("body").hasClass("page-template-page_portfolio")&&$("ul#project-list").addClass("all"),$("section#people .text-holder p,.project .text-holder p").click(function(){$(this).parent().toggleClass("show-profile")}),$("section#recognition .text-holder span.click").click(function(){$(this).parent().toggleClass("show-press")}),$("html").hasClass("touchevents")&&$("#credit").addClass("touch").find("a").click(function(e){e.preventDefault(),href=$(this).attr("href"),setTimeout(function(){window.location=href},1e3)}),($("body").hasClass("page-id-9")||$("body").hasClass("parent-pageid-9"))&&initHistory()});function initHistory(){var n,e=window.location.href.substring(siteURL.length),e=e.substring(e.lastIndexOf("/")+1).replace(/\//g,""),t=$("#"+e);t.length&&e!="studio"?(offset=smallScreen?0:-$(window).height()*0-180,n=t.offset().top+offset,$("html,body").scrollTop(n),setTimeout("initWaypoints();",500)):initWaypoints(),History.Adapter.bind(window,"statechange",function(){var s,o=History.getState(),t=window.location.href.substring(siteURL.length),t=t.substring(t.lastIndexOf("/")+1),n=$("#"+t);n.length&&(s=n.offset().top)})}function initWaypoints(){$("section:not(#contact)").waypoint(function(e){if($(this).css("display")=="none")return;e=="down"&&(onSectionChange($(this)),setCurNavLink($(this).attr("id")))},{offset:"50%"}),$("section:not(#contact)").waypoint(function(e){if($(this).css("display")=="none")return;e=="up"&&(onSectionChange($(this)),setCurNavLink($(this).attr("id")))},{offset:function(){return-$(this).height()+$(window).height()*.5}}),$("section#contact").waypoint(function(e){e=="down"&&(onSectionChange($(this)),setCurNavLink($(this).attr("id")))},{offset:"40%"}),$("section#contact").waypoint(function(e){e=="up"&&(onSectionChange($(this)),setCurNavLink($(this).attr("id")))},{offset:function(){return-$(this).height()+$(window).height()*.1}}
1),waypoints=$.waypoints}originalTitleTag=document.title,mainSection=$("#primary").attr("rel")+"/";function onSectionChange(e,t){var n;if(e.hasClass("fixed-bg"))return;t?n=e.attr("id")+"/"+t.attr("id"):n=e.attr("id"),e.is("#studio")&&(n=""),n.indexOf(mainSection)==-1&&(n=mainSection+n),n=siteURL+"/"+n,History.pushState({snappedTo:e.attr("id")},originalTitleTag+"",n),setCurNavLink(e.data("panel"))}function setCurNavLink(e){var t=$(".subnav");t.find("li").removeClass("current_page_item").removeClass("current_page_parent").removeClass("current_page_ancestor"),t.find("li").each(function(){var t=$(this).find("a").attr("href").substring($(this).find("a").attr("href").lastIndexOf("/")+1).replace(/\//g,"");t==e&&$(this).addClass("current_page_item")})}function GetUrlValue(e){for(var n,o=window.location.search.substring(1),s=o.split("&"),t=0;t<s.length;t++)if(n=s[t].split("="),n[0]==e)return n[1]}function filter(e){$("ul#project-list").fadeOut(function(){$("ul#project-list").removeClass(),$("ul#project-list").addClass(e),$("ul#project-list").fadeIn()}),$("nav.subnav li a").removeClass("cur"),$("nav.subnav li a#"+e).addClass("cur")}function initScrollMagic(){controller=new ScrollMagic,$(".rows.project .row:not(.full-bg)").each(function(){var t,e=new TimelineMax,s=$(window).height()*.9,n=[];$(this).each(function(){}),e.add(n),t=new ScrollScene({triggerElement:$(this),triggerHook:.75,reverse:!0}),t.setTween(e).addTo(controller)}),$("#contact-strip").each(function(){var t,e=new TimelineMax,s=$(window).height()*.9,n=[];$(this).each(function(e){n.push(TweenMax.fromTo($(this),.5,{alpha:0,y:0},{delay:e*1,alpha:1,y:0,force3D:!0,ease:Linear.easeNone}))}),e.add(n),t=new ScrollScene({triggerElement:$(this),triggerHook:.5,reverse:!0}),t.setTween(e).addTo(controller)})}function peopleOverlay(){const e=document.querySelectorAll("section#people .people-grid-item");if(e.length<0)return;if(e.forEach(t=>{const n=t.querySelector(".people-overlay-btn"),s=t.querySelector("a.page-anchor").getAttribute("name"),i=t.querySelector(".overlay-holder"),a=n.querySelector("button"),o=t.querySelector(".bio-holder button");navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?(n.addEventListener("click",n=>{e.forEach(e=>{e.classList.contains("show-overlay")&&e.classList.remove("show-overlay")}),t.classList.add("show-overlay")}),a.addEventListener("click",()=>{t.classList.add("active-overlay"),document.body.classList.add("active-overlay"),setTimeout(()=>{t.classList.add("reveal")},400),history.pushState?history.pushState(null,null,"#"+s):location.hash=s})):n&&n.addEventListener("click",e=>{t.classList.add("active-overlay"),document.body.classList.add("active-overlay"),setTimeout(()=>{t.classList.add("reveal")},400),i.scrollTo(0,0),history.pushState?history.pushState(null,null,"#"+s):location.hash=s}),o&&o.addEventListener("click",()=>{history.pushState({},document.title,window.location.href.split("#")[0]),t.classList.remove("reveal"),setTimeout(()=>{t.classList.remove("active-overlay"),document.body.classList.remove("active-overlay"),t.classList.contains("show-overlay")&&t.classList.remove("show-overlay")},400)})}),window.location.pathname.indexOf("studio/people")>-1&&window.location.hash){console.log("refreshed"),currentHash=window.location.hash.slice(1);const e=document.querySelector("section#people .people-grid-item[data-name='"+currentHash+"']");if(e){e.classList.add("active-overlay"),document.body.classList.add("active-overlay");const t=e.querySelector(".overlay-holder");t.scrollTo(0,0),$(window).load(function(){setTimeout(function(){e.classList.add("reveal"),window.location.hash=currentHash},500)})}}}function expandableSections(){const t=document.querySelectorAll(".expand-toggle"),e=window.matchMedia("(prefers-reduced-motion: reduce)").matches;t.forEach(t=>{const n=document.getElementById(t.getAttribute("aria-controls"));if(!n)return;const i=t.querySelector(".expand-label"),s=()=>{$.waypoints&&$.waypoints("refresh")},o=()=>{if(n.classList.contains("is-expanded"))return;n.classList.remove("fits"),n.classList.toggle("fits",n.scrollHeight<=n.clientHeight+1)},a=()=>{n.classList.add("is-expanded"),n.style.maxHeight=n.scrollHeight+"px",t.setAttribute("aria-expanded","true"),i.textContent="Collapse",e&&(n.style.maxHeight="none",s())},r=()=>{n.style.maxHeight=n.scrollHeight+"px",n.offsetHeight,n.classList.remove("is-expanded"),n.style.maxHeight="",t.setAttribute("aria-expanded","fal
1se"),i.textContent="Expand",e&&s(),n.getBoundingClientRect().top<0&&n.scrollIntoView({behavior:e?"auto":"smooth",block:"start"})};n.addEventListener("transitionend",e=>{if(e.target!==n||e.propertyName!=="max-height")return;n.classList.contains("is-expanded")&&(n.style.maxHeight="none"),s()}),t.addEventListener("click",()=>{n.classList.contains("is-expanded")?r():a()}),n.addEventListener("focusin",()=>{!n.classList.contains("is-expanded")&&!n.classList.contains("fits")&&a()}),o(),window.addEventListener("resize",o),window.addEventListener("load",o)})}"onpageshow"in window?window.addEventListener("pageshow",function(){setTimeout(function(){document.body.classList.remove("transition-out")},50)},!1):function(){setTimeout(function(){document.body.classList.remove("transition-out")},50)}(),$(document).on("click",function(e){for(var t=e.target;t&&!t.href;)t=t.parentNode;if(t==document||t==null){$(".grid-item a.active").removeClass("active");return}if(t&&t.getAttribute("target")=="_blank"||t&&$(t).hasClass("no-ajaxy"))return;if(t){$(t).parent().is(".grid-item")?(e.stopPropagation(),e.preventDefault(),1===3&&Modernizr.touchevents&&!$(t).hasClass("active")?($(".grid-item a.active").removeClass("active"),$(t).addClass("active")):(document.body.classList.add("transition-out"),setTimeout(function(){window.location=t.href},1e3))):(e.stopPropagation(),e.preventDefault(),document.body.classList.add("transition-out"),document.querySelector(".main-navigation").classList.remove("toggled"),setTimeout(function(){window.location=t.href},1e3));return}}),window.addEventListener("keydown",function(e){if(e.key=="Escape"||e.key=="Esc"){const e=document.querySelector(".people-grid-item.active-overlay.reveal");(e||document.body.classList.contains("active-overlay"))&&(e.classList.remove("reveal"),setTimeout(()=>{e.classList.remove("active-overlay"),document.body.classList.remove("active-overlay"),e.classList.contains("show-overlay")&&e.classList.remove("show-overlay")},400),history.pushState({},document.title,window.location.href.split("#")[0]))}})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.