PageSourceSearch

https://www.harlinmiller.com/cache/scripts.js

js harlinmiller.com collected 2026-09-29 04:09:34 UTC 39,641 bytes, 3 lines download raw bytes

1!function(){"use strict";
2/*! modernizr 3.6.0 (Custom Build) | MIT *
3	 * https://modernizr.com/download/?-objectfit-setclasses !*/!function(e,t,i){function n(e,t){return typeof e===t}function a(e){return e.replace(/([a-z])-([a-z])/g,(function(e,t,i){return t+i.toUpperCase()})).replace(/^-/,"")}function s(e,t){return function(){return e.apply(t,arguments)}}function o(e,t,i){var a;for(var o in e)if(e[o]in t)return!1===i?e[o]:n(a=t[e[o]],"function")?s(a,i||t):a;return!1}function r(e,t){return!!~(""+e).indexOf(t)}function l(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):b?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function d(e){return e.replace(/([A-Z])/g,(function(e,t){return"-"+t.toLowerCase()})).replace(/^ms-/,"-ms-")}function c(t,i,n){var a;if("getComputedStyle"in e){a=getComputedStyle.call(e,t,i);var s=e.console;if(null!==a)n&&(a=a.getPropertyValue(n));else if(s){s[s.error?"error":"log"].call(s,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else a=!i&&t.currentStyle&&t.currentStyle[n];return a}function h(e,i,n,a){var s,o,r,d,c="modernizr",h=l("div"),g=function(){var e=t.body;return e||((e=l(b?"svg":"body")).fake=!0),e}();if(parseInt(n,10))for(;n--;)(r=l("div")).id=a?a[n]:c+(n+1),h.appendChild(r);return(s=l("style")).type="text/css",s.id="s"+c,(g.fake?g:h).appendChild(s),g.appendChild(h),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(t.createTextNode(e)),h.id=c,g.fake&&(g.style.background="",g.style.overflow="hidden",d=w.style.overflow,w.style.overflow="hidden",w.appendChild(g)),o=i(h,e),g.fake?(g.parentNode.removeChild(g),w.style.overflow=d,w.offsetHeight):h.parentNode.removeChild(h),!!o}function g(t,n){var a=t.length;if("CSS"in e&&"supports"in e.CSS){for(;a--;)if(e.CSS.supports(d(t[a]),n))return!0;return!1}if("CSSSupportsRule"in e){for(var s=[];a--;)s.push("("+d(t[a])+":"+n+")");return h("@supports ("+(s=s.join(" or "))+") { #modernizr { position: absolute; } }",(function(e){return"absolute"==c(e,null,"position")}))}return i}function u(e,t,s,o){function d(){h&&(delete I.style,delete I.modElem)}if(o=!n(o,"undefined")&&o,!n(s,"undefined")){var c=g(e,s);if(!n(c,"undefined"))return c}for(var h,u,f,p,m,v=["modernizr","tspan","samp"];!I.style&&v.length;)h=!0,I.modElem=l(v.shift()),I.style=I.modElem.style;for(f=e.length,u=0;f>u;u++)if(p=e[u],m=I.style[p],r(p,"-")&&(p=a(p)),I.style[p]!==i){if(o||n(s,"undefined"))return d(),"pfx"!=t||p;try{I.style[p]=s}catch(e){}if(I.style[p]!=m)return d(),"pfx"!=t||p}return d(),!1}function f(e,t,i,a,s){var r=e.charAt(0).toUpperCase()+e.slice(1),l=(e+" "+C.join(r+" ")+r).split(" ");return n(t,"string")||n(t,"undefined")?u(l,t,a,s):o(l=(e+" "+y.join(r+" ")+r).split(" "),t,i)}var p=[],m=[],v={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var i=this;setTimeout((function(){t(i[e])}),0)},addTest:function(e,t,i){m.push({name:e,fn:t,options:i})},addAsyncTest:function(e){m.push({name:null,fn:e})}},$=function(){};$.prototype=v,$=new $;var w=t.documentElement,b="svg"===w.nodeName.toLowerCase(),x="Moz O ms Webkit",y=v._config.usePrefixes?x.toLowerCase().split(" "):[];v._domPrefixes=y;var C=v._config.usePrefixes?x.split(" "):[];v._cssomPrefixes=C;var k=function(t){var n,a=prefixes.length,s=e.CSSRule;if(void 0===s)return i;if(!t)return!1;if((n=(t=t.replace(/^@/,"")).replace(/-/g,"_").toUpperCase()+"_RULE")in s)return"@"+t;for(var o=0;a>o;o++){var r=prefixes[o];if(r.toUpperCase()+"_"+n in s)return"@-"+r.toLowerCase()+"-"+t}return!1};v.atRule=k;var S={elem:l("modernizr")};$._q.push((function(){delete S.elem}));var I={style:S.elem.style};$._q.unshift((function(){delete I.style})),v.testAllProps=f;var z=v.prefixed=function(e,t,i){return 0===e.indexOf("@")?k(e):(-1!=e.indexOf("-")&&(e=a(e)),t?f(e,t,i):f(e,"pfx"))};$.addTest("objectfit",!!z("objectFit"),{aliases:["object-fit"]}),function(){var e,t,i,a,s,o;for(var r in m)if(m.hasOwnProperty(r)){if(e=[],(t=m[r]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(i=0;i<t.options.aliases.length;i++)e.push(t.options.aliases[i].toLowerCase());for(a=n(t.fn,"function")?t.fn():t.fn,s=0;s<e.length;s++)1===(o=e[s].split(".")).length?$[o[0]]=a:(!$[o[0]]||$[o[0]]instanceof Boolean||($[o[0]]=new Boolean($[o[0]])),$[o[0]][o[1]]=a),p.push((a?"":"no-")+o.join("-"))}}(),function(e){var t=w.className,i=$._config.classPrefix||"";if(b&&(t=t.baseVal),$._config.enableJSClass){var n=new RegExp("(^|\\s)"+i+"no-js(\\s|$)");t=t.replace(n,"$1"+i+"js$2")}$._config.enableClasses&&(t+=" "+i+e.join(" "+i),b?w.className.baseVal=t:w.className=t)}(p),delete v.addTest,delete v.addAsyncTest;for(var T=0;T<$._q.length;T++)$._q[T]();e.Modernizr=$}(window,document),function(e){e.fn.autoSizes=function(t){log("autoSizes"),t=t||{};return t=e.extend({timeout:1e3,class:"autosizes-on",loadingClass:"autosizes-loading"},t),this.each((function(){var i=e(this);if(log("getting image dimensions for:"),log(i),!i.hasClass(t.class)){var n=i.data("srcset"),a=i.data("src");i.prop({srcset:n,src:a}).addClass(t.class).removeClass(t.loadingClass).removeAttr("data-srcset").removeAttr("data-src")}var s=i.width(),o=i.height();if(log("width is "+i.width()),0===s||i.hasClass("orientation-landscape")&&o>s){if(log("width is 0, looking for height"),o>0){log("height is > 0, using that");o=parseInt(i.height())}else if("none"!=i.css("max-height")){log("height is 0, looking for max-height, which is "+i.css("max-height"));o=parseInt(i.css("max-height"))}else{log("defaulting to height: 100");o=100}var r=i.data("dimensions").split("x"),l=r[0],d=r[1];s=Math.round(o*l/d)}s=Math.round(s);return i.prop("sizes",s+"px"),this}))}}(jQuery),window.rsnBrowser=new Object,rsnBrowser.detect=function(){var e=window.navigator.userAgent.toLowerCase(),t=new Object;t.os=new Object,t.browser=new Object,-1!=e.indexOf("mac os x")?t.os.name="osx":-1!=e.indexOf("windows")?t.os.name="windows":-1!=e.indexOf("linux")&&(t.os.name="linux"),-1!=e.indexOf("webkit")?t.browser.engine="webkit":-1!=e.indexOf("gecko")?t.browser.engine="gecko":-1!=e.indexOf("msie")&&(t.browser.engine="msie");var i=e.match(/(opera|chrome|safari|firefox|trident|applewebkit)\/?\s*(\.?\d+(\.\d+)*)/i);return i&&(i[1]&&"trident"==i[1]?t.browser.name="msie":i[1]?t.browser.name=i[1]:t.browser.name="unknown",i[2]?t.browser.version=i[2]:t.browser.version="unknown","safari"==t.browser.name&&(t.browser.version=e.match(/version\/?\s*(\.?\d+(\.\d+)*)/i)[1])),t},rsnBrowser.compareVersions=function(e,t){for(var i=e.split("."),n=t.split("."),a=0;a<i.length;++a){if(n.length==a)return!0;
3if(i[a]!=n[a])return i[a]>n[a]}return i.length==n.length},window.lightbox=new Object,navigator.userAgent.match(/(iphone|ipod|ipad)/i),lightbox.start=function(){function e(e){var t=$(e.target);(t.is(".close-overlay")||t.is("#overlay")||27===e.which||40===e.which)&&(e.preventDefault(),$("#overlay").removeClass("show"),setTimeout((function(){$("#overlay").remove()}),250),history.pushState("",document.title,window.location.pathname+window.location.search))}$(".thumbs:not(.group .thumbs)").unbind("click").on("click",".gallery-image-thumb a",(function(e){var t=$(this);if(!t.hasClass("custom")){e.preventDefault();var i=t.find("img");lightbox.show(i)}})),lightbox.bookmark(),$(document).on("click","#overlay",e),$(document).on("click","#overlay a.next.paging",(function(e){lightbox.next("next"),e.preventDefault()})),$(document).on("click","#overlay a.back.paging",(function(e){lightbox.next("back"),e.preventDefault()})),$("body").keydown((function(t){37===t.which?lightbox.next("back"):39===t.which?lightbox.next("next"):27!==t.which&&40!==t.which||e(t)})),$(window).resize((function(){lightbox.resize(),$("#overlay .image").show()}))},lightbox.bookmark=function(){if(window.location.hash){var e=window.location.hash.replace("#","");$("body").find('img[data-filename^="'+e+'"]').closest("a").each((function(){$(this).click()}))}},lightbox.next=function(e){if($("#overlay img").data("filename")){var t=$("#overlay img").data("filename"),i=$('img[data-filename="'+t+'"]').not("#overlay img").closest("li"),n="back"===e?i.prevAll(".gallery-image-thumb:first"):i.nextAll(".gallery-image-thumb:first");if(0===n.length)return!1;var a=n.find("img"),s=n.children("h4").text(),o=n.children("div").html();lightbox.show(a,s,o)}return!1},lightbox.show=function(e){$("#overlay").length<1&&($('<div id="overlay"></div>').appendTo("body"),setTimeout((function(){$("#overlay").addClass("show")}),1));var t=$("#overlay");t.html('<div class="image"></div><a class="paging back" href="#back"><i class="fal fa-chevron-left"></i></a><a class="paging next" href="#next"><i class="fal fa-chevron-right"></i></a><a class="close-overlay" href="#close"><i class="fal fa-times"></i></a>');var i=e.closest("li"),n=e.clone().removeAttr("style"),a=e.closest("a").attr("id").replace(/^thumb\-/,"image-");n.prop({id:a});var s=n.data("source");t.children(".image").addClass("source-"+s),n.data("dimensions").split("x"),t.find(".image").append(n),setTimeout((function(){lightbox.resize(),t.children("div").addClass("show")}),100),log("filename: "+n.data("filename"));var o=n.data("filename").toString().replace(/\..+$/,"");window.location.hash=o,lightbox.hidePaging(o),rsn.imageTagalongs();var r=i.find("h4").html(),l=i.find(".description");l.hasClass("description-paypal")&&$("#overlay").addClass("overlay--paypal");var d=l.html();r||d?(log("Title or description found"),$("#overlay > div").append('<div class="info show"></div>'),r&&$("#overlay .info").append("<h4>"+r+"</h4>"),d&&$("#overlay .info").append("<p>"+d+"</p>")):log("Title or description NOT found"),setTimeout((function(){i.css({outline:"2px solid $f00"}),$(".preloaded").remove();var e=n.attr("sizes"),t=i.next().find("a img").clone().removeAttr("id style width height class data-sizes data-filename").addClass("preloaded").prop({sizes:e});$("body").append(t)}),300)}
3,lightbox.resize=function(){var e=$("#overlay .image"),t=e.children("img"),i=$(window),n=i.width(),a=i.height();if(t.data("dimensions"))var s=t.data("dimensions").split("x"),o=s[0],r=s[1];var l=parseInt(e.css("padding-top"))+parseInt(e.css("padding-bottom")),d=parseInt(e.css("padding-left"))+parseInt(e.css("padding-right"));if(1*r+1*l>a){log("Resizing to fit vertically"),log("originalImageHeight: "+r),log("overlayVerticalPadding: "+l),log("windowHeight: "+a);var c=o*((h=a-l)/r)}else{log("image is small enough to fit on screen");var h=r;c=o}if(1*c+1*d>n){log("Resizing to fit horizontal");h=r*((c=n-d)/o)}var g=(a-(1*h+1*l))/2,u=(n-(1*c+1*d))/2;$("#overlay .image > img:not(.blocker)").css({width:c+"px",height:h+"px"}),$("#overlay .image").css({"margin-left":u+"px","margin-top":g+"px"})},lightbox.hidePaging=function(){if($("#overlay img").data("filename")){var e=$("#overlay img").data("filename"),t=$('img[data-filename="'+e+'"]').not("#overlay img").closest("li");0===t.next().length?$("#overlay a.next").addClass("invisible"):$("#overlay a.next").removeClass("invisible"),0===t.prev().length?$("#overlay a.back").addClass("invisible"):$("#overlay a.back").removeClass("invisible")}},window.rsn=new Object,rsn.usingDownloadBlocker=!1,rsn.usingShareButton=!1,jQuery.fn.extend({ensureLoad:function(e){return this.each((function(){this.complete?e.call(this):$(this).on("load",e)}))}}),window.log=e=>{"undefined"!=typeof develop&&window.console&&window.console.log&&console.log(e)},rsn.findFullSizeImages=function(){return $("ul.images img, #overlay img, #sidebar img").not(".body img, .html img, .blocker, form img, footer img, .thumbs img")},rsn.browserDetect=function(){var e=rsnBrowser.detect();$("body").addClass(e.browser.engine),log(e),navigator.userAgent.match(/like Mac OS X/i)&&$("body").addClass("ios")},rsn.ios=function(){},rsn.email=function(){$('a[href^="mailto:"]').click((function(e){e.preventDefault(),window.location.href=$(this).attr("href")}))}
3,rsn.links=function(){$("#content a").each((function(){var e=$(this).attr("href"),t=document.domain.replace(/^www\./,"");void 0===e||e.match("http://"+t)||e.match("http://www."+t)||e.match(/^\//)||e.match(/^\#/)||$(this).attr("target","_blank").attr("rel","external")})),$(document).on("click",'a[href="#top"]',(function(){return window.scrollTo(0,0),!1}))},rsn.externalNavLinks=function(){$("nav a").each((function(){var e=$(this).attr("href"),t=document.domain.replace(/^www\./,"");void 0===e||e.match("http://"+t)||e.match("http://www."+t)||e.match(/^\//)||e.match(/^\#/)||$(this).attr("target","_blank").attr("rel","external")}))},function(e){e.fn.getImageSizeWhileLoading=function(t){t=t||{};return t=e.extend({findDimension:"width",assignTo:"self"},t),this.each((function(){e(this).find("img").each((function(){var i=e(this),n="self"===t.assignTo?i:i.closest(t.assignTo);if(i.data("dimensions")&&i.data("dimensions").match(/^\d+x\d+$/))var a=(a=i.data("dimensions").split("x"))[0]/a[1];else a=i.attr("width")/i.attr("height");if("width"===t.findDimension)var s=parseInt(i.css("height")),o=Math.round(s*a);else o=parseInt(i.css("width")),s=Math.round(o/a);n.css({width:o+"px",height:s+"px"})}))}))}}
3(jQuery),rsn.home=new Object,rsn.home.setup=function(){var e=$("#billboard > .img:first-child");if(void 0===(t=e[0].currentSrc)||t.length<1)var t=e.attr("src");log("loading "+t);var i=new Image;i.onload=function(){rsn.home.slideshowHeight($("#billboard > .img:first-child")),setTimeout((function(){$("#billboard").removeClass("loading"),$("#billboard > .img").length>1&&rsn.home.slideshow()}),1)},i.src=t},rsn.home.slideshowHeight=function(e){if($("body").hasClass("nobleed")){var t=e.height();$("#billboard").css("height",t+"px"),log("Resizing billboard to match next slide")}},rsn.home.slideshow=function(){log("starting slideshow"),$("#billboard > .img:first-child").addClass("active");var e=void 0!==window.slideshowDelay?1e3*window.slideshowDelay:4500,t=setInterval((function(){i(1)}),e);function i(e){var t=$("#billboard .active");if(e>0)var i=t.next(".img").length>0?t.next():$("#billboard > .img:first-child");else i=t.prev(".img").length>0?t.prev():$("#billboard > .img:last-child");rsn.home.slideshowHeight(i),i.addClass("active"),t.removeClass("active")}$("#billboard").click((function(){clearInterval(t),t=setInterval((function(){i(1)}),e),i(1)})),$("body").keydown((function(n){39===n.which?(clearInterval(t),t=setInterval((function(){i(1)}),e),i(1)):37===n.which&&(clearInterval(t),t=setInterval((function(){i(1)}),e),i(-1))}))},rsn.grid=function(){if($(".centered .grid .thumbs > li, div.archive:not(.list) li").length>0){var e=parseInt($(".grid .thumbs > li:first-child").width());$(".grid .thumbs > li").css("height",e+"px"),$(".center .archive:not(.grid) .thumbs li:nth-child(6n+1)").addClass("clear")}$("#content .grid img, #content .archive img").each((function(){var e=$
3(this);e.ensureLoad((function(){e.addClass("loaded")}))}))},rsn.carousel=new Object,rsn.carousel.resize=function(){"undefined"!=typeof timeout&&clearTimeout(timeout),window.timeout=setTimeout((function(){var e=0;$.each([".layout-header-wide header",".layout-header-wide footer",".centered header",".centered #content > h2",".centered footer","#content"],(function(t,i){if($(i).length>0){var n=0;"#content"!=i&&(n+=$(i).height()),n+=parseInt($(i).css("padding-top")),n+=parseInt($(i).css("padding-bottom")),"#content"!=i&&$(".layout-header-wide").length<1&&(n+=parseInt($(i).css("margin-top"))),n+=parseInt($(i).css("margin-bottom")),e+=n,log(i+": "+n)}}));var t=parseInt($("div.carousel .images > li:first-child").css("padding-top"))+parseInt($("div.carousel .images > li:first-child").css("padding-bottom")),i=$(window).height()-e-t;if(log("imagePadding: "+t),log("contentHeight: "+i),null==(n=$(".carousel .thumbs:visible").outerHeight()))var n=0;var a=i-n;$(".carousel").css({height:i+"px"}),$("ul.images").css({height:a+"px","line-height":a+"px"}),log("windowHeight: "+$(window).height()),log("usedVerticalSpace: "+e),log("contentHeight: "+i),log("thumbHeight: "+n),log("stageHeight: "+a)}),50)},rsn.carousel.bookmark=function(){if(window.location.hash){var e=window.location.hash.replace("#","");return $(".thumbs").find('img[data-filename^="'+e+'"]').closest("a").each((function(){$(this).click()})),!0}return!1},rsn.carousel.multi=function(){rsn.carousel.resize(),$(window).resize(rsn.carousel.resize),$("ul.images").after('<a class="paging back" href="#back">Back</a><a class="paging next" href="#next">Next</a>');var e="carousel-selected-thumb",t="carousel-selected-image";function i(i){i&&i.preventDefault();var n=$(this);n.find("img");var a=n.closest("li");a.siblings().removeClass(e),a.addClass(e);var s=n.attr("id").replace("thumb-","image-"),o=$("#"+s).closest("li");o.siblings().removeClass(t),o.addClass(t);var r=$(".thumbs");r.stop(),setTimeout((function(){var t=r.find("."+e),i=t.position();if(i){var n=r.scrollLeft(),a=t.width(),s=r.width(),o=i.left+n-s/2+a/2;r.animate({scrollLeft:o},500)}}),10)}$(".carousel .images"),$(".thumbs a").click(i),$(".paging.next").click((function(t){t.preventDefault(),$("."+e).next().children("a").each(i)})),$(".paging.back").click((function(t){t.preventDefault(),$("."+e).prev().children("a").each(i)})),$("body").keydown((function(t){39==t.which?(t.preventDefault(),$("."+e).next().children("a").each(i)):37==t.which&&(t.preventDefault(),$("."+e).prev().children("a").each(i))})),$(".thumbs li:first-child > a").each(i),setTimeout((function(){$(".carousel").removeClass("loading")}),50)},rsn.carousel.centered=function(){rsn.carousel.resize(),$(window).resize(rsn.carousel.resize),$("ul.images").after('<a class="paging back" href="#back">Back</a><a class="paging next" href="#next">Next</a>');var e="carousel-selected-thumb",t="carousel-selected-image";function i(){var i=$(this),n=i.closest("li");n.siblings().removeClass(e),n.addClass(e);var a=i.attr("id").replace("thumb-","image-"),s=$("#"+a).closest("li");s.siblings().removeClass(t),s.addClass(t);var o=$(".thumbs");o.stop(),setTimeout((function(){var t=o.find("."+e),i=t.position();if(i){var n=o.scrollLeft(),a=t.width(),s=o.width(),r=i.left+n-s/2+a/2;o.animate({scrollLeft:r},500)}}),10)}$(".carousel .images"),$(".thumbs li:first-child > a").each(i),$(".thumbs a").click(i),$(".paging.next").click((function(t){t.preventDefault(),$("."+e).next().children("a").each(i)})),$(".paging.back").click((function(t){t.preventDefault(),$("."+e).prev().children("a").each(i)})),$("body").keydown((function(t){39==t.which?(t.preventDefault(),$("."+e).next().children("a").each(i)):37==t.which&&(t.preventDefault(),$("."+e).prev().children("a").each(i))})),setTimeout((function(){$(".carousel").removeClass("loading")}),50)},rsn.resetPageStyles=function(){if(log("=== resetPageStyles ==="),$(".sidescroll").length>0){var e=$(".sidescroll .gallery-image"),t=parseInt(e.css("max-height"));log("assignedHeight: "+t),e.data({"max-height":t})}else $(".tile").length>0?rsn.tiles.layout(!0):$(".blocks").length>0&&rsn.blocks.makeCollage(!0)}
3,rsn.sideScroll=new Object,rsn.sideScroll.space=function(){var e=$("html")[0].clientHeight,t=parseInt($(".images > li:first-child").css("margin-top"))+parseInt($(".images > li:first-child").css("margin-bottom")),i=e;if($(".layout-header-wide").length>0){var n=$("header").height(),a=$("footer:visible").outerHeight(),s=parseInt($("#content").css("padding-top"))+parseInt($("#content").css("padding-bottom"));t+=n+a+s,i-=n+a+s}return log("headerHeight: "+n),log("footerHeight: "+a),log("contentPadding: "+s),log("usedSpace: "+t),{windowHeight:e,usedSpace:t,stageHeight:i,maxImageHeight:e-t}},rsn.sideScroll.resize=function(){log("resizing sidescroll layout");var e=rsn.sideScroll.space();log(e),$(".sidescroll li").data("max-height")||rsn.resetPageStyles();var t=$(".sidescroll .gallery-image").data("max-height");if(e.maxImageHeight>t){var i=t;log("Assigned image height is smaller than max possible.")}else{i=e.maxImageHeight;log("Assigned image height is larger than available space.")}$(".sidescroll .images").css({"line-height":e.stageHeight+"px"}),$(".sidescroll img").css({"max-height":i+"px"}),$(".sidescroll").removeClass("loading")},rsn.uniformHeight=function(e){if(void 0===e)e=675;$(".centered .sidescroll").length>0?$(".centered .sidescroll img").css({"max-height":e+"px"}):(rsn.uniformHeight.maxHeight=function(){var t=parseInt($("html")[0].clientHeight),i=parseInt($(".images > li:first-child").css("margin-top")),n=parseInt($(".images > li:first-child").css("margin-bottom"));if($(".layout-header-wide").length>0)var a=rsn.sideScroll.space().maxImageHeight;else a=t-i-n;if(a>e)var s=e;else s=a;$(".sidescroll img").css({"max-height":s+"px","max-width":"none"})},$(document).ready((function(){$(".sidescroll li").css({"max-width":"none"}),rsn.uniformHeight.maxHeight(),$(window).resize(rsn.uniformHeight.maxHeight)})))},rsn.sideScroll.sidebar=function(){rsn.sideScroll.resize(),$("body").hasClass("ios")||$(window).resize(rsn.sideScroll.resize),$("#content").css("visibility","visible"),$(".sidescroll").length>0&&($(window).on("mousewheel",(function(e){if($(".sidescroll").is(":visible")&&(log(e.deltaX,e.deltaY,e.deltaFactor),0!=e.deltaY)){var t=$(this).scrollLeft();$(this).scrollLeft(t-e.deltaY*e.deltaFactor)}})),$(".left .images li").hover((function(){$(this).addClass("hover")}),(function(){$(this).removeClass("hover")})),$(document).keydown((function(e){var t=parseInt($("header").css("width")),i=parseInt($(window).width())-t,n=void 0!==window.horizontalSlideSpeed?window.horizontalSlideSpeed:750;if(37==e.which){log("left"),$("html, body").stop();var a=$(window).scrollLeft();return $($(".images > li").get().reverse()).each((function(){var e=parseInt($(this).offset().left-a);if(e+parseInt($(this).width())<t+i/2-20){var s=parseInt($(this).width()),o=parseInt(a+e-t-i/2+s/2);return log(o),$("html, body").animate({scrollLeft:o},n),!1}})),!1}if(39==e.which){$("html, body").stop();a=$(window).scrollLeft();return $(".images > li").each((function(){var e=parseInt($(this).offset().left-a);if(e>t+i/2+20){var s=parseInt($(this).width()),o=parseInt(a+e-t-i/2+s/2);return log(o),$("html, body").animate({scrollLeft:o},n),!1}})),!1}})),$(document).on("click",".images .image > img",(function(e){e.preventDefault(),(e=$.Event("keydown")).which=39,$(document).trigger(e)})))},rsn.sideScroll.headerWide=function(){$("header").css("position","fixed"),$("footer").css("position","fixed");var e=2*parseInt($(".images > li:first-child").css("margin-right"));$("#content").css({"padding-left":e+"px"}),rsn.sideScroll.resize(),$("body").hasClass("ios")||$(window).resize(rsn.sideScroll.resize),$("#content").css("visibility","visible"),$(window).on("mousewheel",(function(e){if(log(e.deltaX,e.deltaY,e.deltaFactor),0!=e.deltaY){e.preventDefault();var t=$(this).scrollLeft();$(this).scrollLeft(t-e.deltaY*e.deltaFactor)}})),$(".layout-header-wide .images li").hover((function(){$(this).addClass("hover")}),(function(){$(this).removeClass("hover")})),$(document).keydown((function(e){var t=parseInt($(window).width()),i=void 0!==window.horizontalSlideSpeed?window.horizontalSlideSpeed:750;if(37===e.which){e.preventDefault(),$("html, body").stop();var n=$(window).scrollLeft();
3$($(".images > li").get().reverse()).each((function(){var e=parseInt($(this).offset().left),a=e-n,s=t/2,o=parseInt($(this).width());if(a+o<s){var r=e-(t-o)/2;return $("html, body").animate({scrollLeft:r},i),!1}}))}else if(39===e.which){e.preventDefault(),$("html, body").stop();n=$(window).scrollLeft();$(".images > li").each((function(){var e=parseInt($(this).offset().left);if(e-n>t/2){var a=parseInt($(this).width()),s=e-(t-a)/2;return $("html, body").animate({scrollLeft:s},i),!1}}))}})),$(document).on("click",".images .image > img",(function(e){e.preventDefault(),(e=$.Event("keydown")).which=39,$(document).trigger(e)}))},rsn.sideScroll.header=function(){navigator.appVersion.indexOf("Mac"),$(".sidescroll .images").mousewheel((function(e){0!=e.deltaY&&(e.preventDefault(),$(this)[0].scrollLeft-=e.deltaY*e.deltaFactor)})),$(".sidescroll").removeClass("loading"),$(".sidescroll .images li").hover((function(){$(this).addClass("hover")}),(function(){$(this).removeClass("hover")}))},rsn.tiles=new Object,rsn.tiles.setup=function(){var e=$
3(".tile > .thumbs");rsn.tiles.layout(!1);var t=null;$(window).bind("resize",(function(){e.css({opacity:0,visibility:"hidden"}),t&&clearTimeout(t),t=setTimeout((function(){rsn.tiles.layout(!1)}),200)})),e.find("img").ensureLoad((function(){$(this).addClass("loaded")})),$("div.tile").hasClass("collage")||lightbox.start("div.tile"),$(window).on("load",(function(){rsn.tiles.layout(!1),setTimeout((function(){rsn.tiles.layout(!1)}),1e3),$(".tile.flickr").addClass("loaded")}))},rsn.tiles.layout=function(e){log("rsn.tiles.layout:"+e);var t=$(".tile > .thumbs"),i=t.children(".gallery-image-thumb:first").children("a");"undefined"!=typeof timeout&&clearTimeout(timeout),window.timeout=setTimeout((function(){i.data("targetWidth")&&!e||i.data({targetWidth:parseInt(i.css("width"))});var n=i.data("targetWidth"),a=parseInt(i.css("margin-right")),s=n+a;"left"===pageLayout||"header-wide"===pageLayout&&t.css({paddingTop:a,paddingLeft:a}),log("calculating tiles layout");var o=-1!=navigator.appVersion.indexOf("Win")?5:0,r=t.width(),l=r/s,d=Math.ceil(l);log(d+" columns");var c=Math.floor(r/d)-o,h=c-a,g=2*h+a,u={itemSelector:"li",transitionDuration:"0s",isResizeBound:!1,columnWidth:c,percentPosition:!0};log("========"),log("containerWidth: "+r),log("margin: "+a),log("newColumnCount: "+d),log("newColumnWidth: "+c),log("newImageWidth: "+h),log("========"),t.find("a").css({width:h+"px"}),t.find("a.feature").css({width:2*h+a+"px"}),t.find(".gallery-text-thumb").css({width:g+"px"}),t.getImageSizeWhileLoading({findDimension:"height",assignTo:"a"}),t.masonry(u),t.addClass("loaded").css({opacity:1,visibility:"visible"}),$.fn.autoSizes&&$('img[data-sizes="auto"]').autoSizes()}),1)},rsn.parseImageSrc=function(e){return!e.match(/\/\d+_(thumb|image)_\d+\..+$/)&&(null!==(t=e.match(/^(https?:\/\/)(.+\..+\.com)\/(.+)\/(.+)-(\d+)(-thumb|-700)?\.(.+)$/i))&&(t={protocol:t[1],domain:t[2],folder:t[3],name:t[4],id:t[5],suffix:t[6],extension:t[7]}));var t},rsn.buildImageSrc=function(e){return e.protocol+e.domain+"/"+e.folder+"/"+e.name+"-"+e.id+e.suffix+"."+e.extension},rsn.isHighDensity=function(){return window.matchMedia&&(window.matchMedia("only screen and (min-resolution: 124dpi), only screen and (min-resolution: 1.3dppx), only screen and (min-resolution: 48.8dpcm)").matches||window.matchMedia("only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 2.6/2), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (min-device-pixel-ratio: 1.3)").matches)||window.devicePixelRatio&&window.devicePixelRatio>1.3},rsn.correctResolution=function(){ppiHighRes=1.5,ppiStandard=1;var e=rsn.isHighDensity()?ppiHighRes:ppiStandard;$("img").each((function(){var t=$(this),i=t.data("src"),n=parseInt(t.height()),a=rsn.parseImageSrc(i);a.suffix=n<=350/e?"-thumb":n<=700/e?"-700":"";var s=rsn.buildImageSrc(a);t.prop({src:s})}))},jQuery.fn.cleanWhitespace=function(){return this.contents().filter((function(){return 3==this.nodeType&&!/\S/.test(this.nodeValue)})).remove(),this},rsn.blocks=new Object,rsn.blocks.makeCollage=function(e){var t=[];return $(".blocks > .thumbs").each((function(){var i=$(this),n=i.children("li:first-child").children("a");n.data("targetHeight")&&!e||n.data({targetHeight:parseInt(n.css("height"))});var a=n.data("targetHeight"),s=parseInt(n.css("margin-right"));"left"===pageLayout?i.css({paddingTop:s,paddingLeft:s}):"header-wide"===pageLayout?i.css({paddingTop:s,paddingLeft:s,paddingRight:s}):"centered"===pageLayout&&i.css({paddingTop:s,paddingBottom:s}
3),i.find("img").each((function(){var e=$(this);if(t=e.data("dimensions")){var t=t.split("x");e.prop({width:t[0],height:t[1]})}})),log("makeCollage"),log("targetHeight: "+a),i.cleanWhitespace().collagePlus({targetHeight:a,padding:s,allowPartialLastRow:!0,images:i.children("li").children("a")}).css({opacity:1,visibility:"visible"}),t.push(i)})),t},rsn.blocks.setup=function(){var e=rsn.blocks.makeCollage(!1);$.each(e,(function(e,t){var i=null;$(window).bind("resize",(function(){$(t).css({opacity:0,visibility:"hidden"}),i&&clearTimeout(i),i=setTimeout((function(){rsn.blocks.makeCollage(!1)}),200)}))})),$("div.blocks").hasClass("collage")||lightbox.start("div.blocks")},rsn.markup=function(){},rsn.computedStyles=function(){if($("#page-index.centered.bleed footer").length>0){var e=parseInt($("#content").width()),t=parseInt($("#content").outerWidth()),i=parseInt((t-e)/2),n=t/-2;$(".bleed footer").css({width:e+"px","margin-left":n+"px","padding-left":i+"px","padding-right":i+"px"}),$(".bleed footer").addClass("show")}var a=$("footer p").css("color");if($(".credit path").css({fill:a}),$("body.left").length>0){var s=parseInt($("header").css("width"))-(i=parseInt($("footer").css("padding-left"))+parseInt($("footer").css("padding-right")));$("footer").css({width:s+"px"}).addClass("show")}if($("body.left").length>0&&($("nav").is(":visible")||$("nav").show(),$("header h1 a").data({top:parseInt($("header h1 a").position().top)}),$("nav").data({top:parseInt($("nav").position().top)}),$("footer").data({height:parseInt($("footer").height())}),rsn.computedStyles.prototype.responsiveSidebar(),$(window).resize(rsn.computedStyles.prototype.responsiveSidebar)),$("body.left").length>0&&$(".textpage").length>0||$(".layout-header-wide").length>0&&$(".textpage").length>0){function l(){$(".textpage").width()<700?($(".text-left").addClass("text-centered").addClass("text-left-disabled").removeClass("text-left"),$(".text-right").addClass("text-centered").addClass("text-right-disabled").removeClass("text-right")):($(".text-left-disabled").removeClass("text-centered").removeClass("text-left-disabled").addClass("text-left"),$(".text-right-disabled").removeClass("text-centered").removeClass("text-right-disabled").addClass("text-right"))}l(),$(window).resize(l)}var o=$(".layout-header-wide div.group:not(.tile), .layout-header-wide div.archive:not(.tile)");if(o.length>0){function d(e){var t=e.width(),i=e.children(".thumbs").children("li").length;if(i<(n=Math.floor(t/r)))var n=i;var a=r*n;e.children(".thumbs").css({width:a+"px"})}o.children(".thumbs").css({float:"none",margin:"0 auto"});var r=o.children(".thumbs").children("li:first-child").outerWidth(!0);d(o),o.addClass("opaque"),$(window).resize((function(){d(o)}))}$("div.archive").addClass("opaque")},rsn.computedStyles.prototype.responsiveSidebar=function(){var e=$
3("header h1 a"),t=$("nav"),i=$("footer");e.data("top");var n=t.data("top"),a=t[0].scrollHeight,s=i.data("height"),o=$(window).height()-n-s;a>o?t.addClass("scroll").css({height:o+"px"}):t.removeClass("scroll").css({height:"auto"})},rsn.pages=function(){$(window).scroll((function(){"undefined"!=typeof loadNextPage&&clearTimeout(loadNextPage),loadNextPage=setTimeout((function(){$(window).height()+$(window).scrollTop()>=$(document).height()-600&&rsn.nextPage()}),250)}))},rsn.nextPage=function(){var e=1*$(".paged").attr("class").split(" ").pop().replace("page",""),t=e+1;$(".paged").removeClass("page"+e).addClass("page"+t);var i="/"+tag+"?page="+t;$('<div id="temporary"></div>').appendTo("body").load(i+" .paged > *",(function(){$(this).children().each((function(){$(this).appendTo(".paged")})),$(this).remove()}))},rsn.forms=function(){var e="/actions"+$(this).attr("action");$(this).attr("action",e)},rsn.peek=function(){$("a").each((function(){var e=$(this).attr("href")+"?peek=true";$(this).attr("href",e)}))},rsn.indexpage=function(e){if($("div.group").length<1&&$("div.archive").length<1){e=e.replace("/","").toLowerCase();$("#page-"+e).addClass("index"),$(".index .grid").addClass("archive").removeClass("grid"),$(".index .thumbs > li >
3 a").each((function(){var e=$(this).find("div").text().trim();$(this).attr("href",e)}))}},$.expr[":"].icontains=function(e,t,i,n){return(e.textContent||e.innerText||jQuery(e).text()||"").toLowerCase().indexOf(i[3].toLowerCase())>=0},rsn.dropdown=function(){if($("nav .accordion").length>0&&$("nav .dropdown").length>0)log("New drop down menus in use");else{let e;log("running oldschool drop down menu hack"),$("nav").hide(),$("body").hasClass("left")?($("nav").addClass("accordion"),e="accordion"):($("nav").addClass("dropdown2"),e="dropdown2"),$('nav a[href*="#"]').each((function(){let e=$(this);var t=$(this).attr("href").replace("#","");$(this).parent().append("<ul></ul>"),$('nav a:icontains("'+t+': ")').each((function(){let t=$(this).text().split(":")[1].toString();t=$.trim(t),$(this).text(t),$(this).parent().appendTo(e.siblings("ul"))}))})),$("nav").show(),$("nav ul ul").each((function(){$(this).show(),$(this).css("height",$(this).height()),$(this).hide()})),$('nav > ul > li:has("ul") > a').click((function(){if("accordion"==e){var t=$(this).siblings("ul");t.stop(),t.hasClass("expanded")?(t.removeClass("expanded"),t.slideUp("fast")):(t.addClass("expanded"),t.slideDown("fast"))}return!1})),"accordion"==e&&$("nav ul ul .selected").closest("ul").addClass("expanded").show()}},rsn.dropdown2=function(){$("nav .menu > a").click((function(e){e.preventDefault()})),$("nav").hasClass("accordion")||$("nav").hasClass("dropdown"),$("body").on("click","nav .accordion > a",(function(e){e.preventDefault();var t=$(this).siblings("ul");let i;i=!!t.hasClass("expanded"),i?t.animate({opacity:0}
3,150,(function(){$(this).slideUp("fast",(function(){$(this).removeClass("expanded").removeClass("expanded-onload")}))})):(t.parent().siblings().children("ul.expanded").animate({opacity:0},150,(function(){$(this).slideUp("fast",(function(){$(this).removeClass("expanded").removeClass("expanded-onload")}))})),t.slideDown("fast",(function(){t.animate({opacity:1},150),rsn.computedStyles.prototype.responsiveSidebar()})),t.addClass("expanded"))})),$("nav").show()},rsn.imageTagalongs=function(){rsn.usingDownloadBlocker&&rsn.blocker(),rsn.usingShareButton&&rsn.shareImage()},rsn.blocker=function(){rsn.usingDownloadBlocker=!0;var e='<img class="blocker" src="/images/blank.png" alt="" style="position:absolute;top:0;left:0;width:100%;height:100%;max-height:100%;">';rsn.findFullSizeImages().after(e),$("#billboard").append(e)},rsn.shareImage=function(){rsn.usingShareButton=!0,rsn.findFullSizeImages().each((function(){var e=$(this),t=window.location.href;if(e.data("src"))var i=e.data("src");else i=e.prop("src");var n=e.prop("alt"),a=(a=t.split("#"))[0]+"?image="+i+"#"+a[1],s="https://www.facebook.com/sharer/sharer.php?"+$.param({u:a}),o="//twitter.com/home?status="+encodeURIComponent(n+"\n"+t+"\n"+i),r="//www.pinterest.com/pin/create/button/?"+$.param({url:t,media:i,description:n});e.parent().append('<span class="rsn_share">\t\t\t\t<a target="_blank" class="facebook" href="'+s+'" title="Share image on Facebook">Facebook</a>\t\t\t\t<a target="_blank" class="twitter" href="'+o+'" title="Share image on Twitter">Twitter</a>\t\t\t\t<a target="_blank" class="pinterest" href="'+r+'" title="Pin image on Pinterest">Pinterest</a>\t\t\t</span>')}))},rsn.customFonts=function(){"undefined"!=typeof custom_fonts&&$.each(custom_fonts,(function(){""!=this.source&&$("head").append(this.source)}))},rsn.wrapText=function(e){if(void 0===e)e="body";else{e=e.split(",");$.each(e,(function(t){e[t]="#page-"+e[t].replace(/\s+/g,"")}));e=e.join(",")}$(e).each((function(){$("#sidebar img").prependTo("#main .body").addClass("right"),$("#main").addClass("wide"),$("#sidebar").remove()}))},rsn.confirmation=function(){$("#confirmation .close").click((function(e){e.preventDefault(),$("#confirmation").fadeOut("fast")}))}
3,rsn.cookiesNotice=function(){var e=$("#cookies-notice");void 0===Cookies.get("cookiesNotice")&&e.addClass("show"),e.on("click",'[href="#okay"]',(function(t){t.preventDefault(),e.removeClass("show"),Cookies.set("cookiesNotice","okay",{expires:7})}))},rsn.analytics=function(){var e=window.location.hostname.replace(/^www\./,"");$("body").append('<img id="stats" src="/stats/'+e+'" alt="">')},rsn.fullScreenVideo=function(e){var t=e[Math.floor(Math.random()*e.length)];$("#billboard").html(t);var i=$("#billboard iframe"),n=$(window);function a(){var e={width:n.width(),height:n.height()},t=i.width()/i.height();if(e.width/e.height>t)var a=((o=(r=e.width)/t)-e.height)/-2,s=0;else{var o,r;a=0,s=((r=(o=e.height)*t)-e.width)/-2}i.css({width:r+"px",height:o+"px",left:s+"px",top:a+"px"})}i.css({position:"absolute"}),a(),$(window).resize(a)},rsn.validateForm=function(e){log("Validating form");var t=$(this);t.find(".error").removeClass("error"),t.find("input, textarea").each((function(){var t=$(this);t.prop("required")&&t.val().length<1&&(e.preventDefault(),log("missing field"),t.addClass("error"))}))},rsn.footerIcons=function(){$("footer .icons a").each((function(){var e,t=$(this);(e=(e=t.css("background-image")).replace("url(","").replace(")","").replace(/\"/gi,"")).match(/\.svg$/)?$.get(e,(function(e){var i=$(e).find("svg");i=i.removeAttr("xmlns:a"),t.addClass("link-icon").append(i)}),"xml"):t.addClass("show")}))},rsn.autoSizes=function(){var e;$('img[data-sizes="auto"]').autoSizes(),$(window).resize((function(){clearTimeout(e),e=setTimeout((function(){log("Window resized"),$('img[data-sizes="auto"]').autoSizes()}),500)})),MutationObserver=window.MutationObserver||window.WebKitMutationObserver,new MutationObserver((function(t,i){$(t).each((function(){"childList"==this.type&&(clearTimeout(e),e=setTimeout((function(){log("child added: autosizes"),$('img[data-sizes="auto"]').autoSizes()}),200))}))})).observe(document.body,{subtree:!0,childList:!0,attributes:!1})},rsn.fitImage=function(e,t,i){if(void 0===i)i=0;$frame=$(e),$image=$(t);var n=$frame.width(),a=$frame.height(),s=$image.data("dimensions").split("x"),o=s[0],r=s[1];if(1*r+i>a){log("resizing for height");var l=o*((d=a-i)/r)}else{log("image is small enough to fit on screen");var d=r;l=o}if(1*l+1*i>n){log("Resizing to fit horizontal");d=r*((l=n-i)/o)}$image.css({width:l+"px",height:d+"px"})},rsn.compatibility=function(){if(!Modernizr.objectfit){function e(e,t){$(e).each((function(){var e=$
3(this),i=e.parent(),n=e.prop("src");n&&(i.css({"background-image":"url("+n+")","background-size":t,"background-position":"center center","background-repeat":"no-repeat"}),e.css({opacity:0,visibility:"hidden"}))}))}e(".carousel .images li img","contain"),e(".bleed #billboard img","cover")}},$((function(){rsn.browserDetect();var e=$("body");e.hasClass("layout-header-wide")?window.pageLayout="header-wide":e.hasClass("left")?window.pageLayout="left":e.hasClass("centered")&&(window.pageLayout="centered"),rsn.markup(),rsn.compatibility(),rsn.footerIcons(),$("nav ul ul").length>0&&rsn.dropdown2(),rsn.ios(),$("#content .grid").not(".collage").length>0&&lightbox.start("#content .grid"),rsn.email(),rsn.links(),$("body.left div.sidescroll").length>0&&rsn.sideScroll.sidebar(),$("body.centered div.sidescroll").length>0&&rsn.sideScroll.header(),$(".layout-header-wide div.sidescroll").length>0&&rsn.sideScroll.headerWide(),$(".centered div.carousel").length>0&&rsn.carousel.centered(),$(".left div.carousel").length>0&&rsn.carousel.multi(),$(".layout-header-wide div.carousel").length>0&&rsn.carousel.multi(),$("div.tile").length>0&&rsn.tiles.setup(),$("div.blocks").length>0&&rsn.blocks.setup(),rsn.computedStyles(),rsn.autoSizes(),$("#billboard").length>0&&rsn.home.setup(),$(".paged").length>0&&rsn.pages(),$(".contact_form").each(rsn.forms),$("form").submit(rsn.validateForm),rsn.grid(),rsn.customFonts(),"undefined"!=typeof peek&&rsn.peek(),rsn.analytics(),$("#confirmation").length>0&&rsn.confirmation(),$("#cookies-notice").length>0&&rsn.cookiesNotice()}))}();

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.