text: !function(){"use strict";var e=e||{_isSafari:null,_isMobile:null,_searchedTag:null};e.isSafari=function(){if(null===e._isSafari){var a=navigator.userAgent,t=a.indexOf("Chrome"),i=a.indexOf("Safari");e._isSafari=-1!=i&&-1==t?!0:!1}return e._isSafari},e.isMobile=function(){if(null===e._isMobile){var a=/(Android|webOS|iPhone|iPod|iPad|BlackBerry|IEMobile|Opera Mini)/i;e._isMobile=a.test(navigator.userAgent)?!0:!1}return e._isMobile},e.replaceAll=function(e,a,t){return e.replace(new RegExp(a,"g"),t)},e.elemExists=function(e){return e=$(e),e.length>0?!0:!1},e.getTag=function(a){if(null===e._searchedTag&&e.elemExists(a)){var t,i=window.location.href,r=i.split("tag"),n=e.replaceAll(r[1],"/","");n=e.replaceAll(n,"-"," "),t=n.charAt(0).toUpperCase(),n=t+n.substring(1,n.length),e._searchedTag=n}return e._searchedTag},e.aTagWrap=function(a,t,i){if(e.elemExists(a)){var r=$(a);r.length>0&&r.each(function(){var e=$(this),a=e.attr("src");if(!e.hasClass(i)){var r="";r="<a class='"+t+"' href='"+a+"'></a>",e.wrap(r)}})}},window.app=e}(window,document),function(e){"use strict";function a(e){var a=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);delete a[0];for(var t=1;3>=t;++t)a[t]=parseInt(a[t]).toString(16),1==a[t].length&&(a[t]="0"+a[t]);return"#"+a.join("")}var t,i=window.app,r=function(a,t){var r=document.querySelectorAll(t);imagesLoaded(r,function(){var t=e(a);e(".post").fitVids(),i.aTagWrap(".post img","fluid-popup","no-fluid"),i.elemExists(".fluid-popup")&&e(".fluid-popup").fluidbox(),t.addClass("show-posts"),e(".post").addClass("show-posts")})},n=function(a,t,i){var r=e(a),n=e(t);if(r.length>0&&n.length>0){var o=r.html().split("of"),s=n.attr("href").slice(-2).replace("/","");r=parseInt(o[1]),s=parseInt(s),e("#post-container").infinitescroll({navSelector:".pagination",nextSelector:".pagination .older-posts",itemSelector:".post",loading:{finishedMsg:"No more posts.",img:"http://static.tumblr.com/dbek3sy/gUImt1cjo/ajax-loader.gif"}},function(a){i.go(40);{var t=e(a);t.attr("id")}i.go(60),s+=1,i.go(80),s>r?(e(window).unbind(".infscr"),e(".pagination").remove()):n.attr("href","/page/"+s+"/"),i.go(100),e(a).addClass("show-posts")})}};if(i.elemExists(".navbar")){var o=document.querySelector(".navbar"),s=new Headroom(o);s.init(),t=e(".navbar").css("backgroundColor"),t=a(t)}if(i.elemExists(".post")&&r("#post-container",".post"),null!==i.getTag("#tag-search")&&e("#tag-search").html(i.getTag("#tag-search")),i.elemExists(".page-number",".older-posts")){var l={bg:t,target:"",id:"mynano"},c=new Nanobar(l);n(".page-number",".older-posts",c)}}(jQuery);