text: /*!
   Ridiculously Responsive Social Sharing Buttons
   Team: @dbox, @joshuatuscan
   Site: http://www.kurtnoble.com/labs/rrssb
   kmk_rrssb: v1.5.7
  */
  +function(t,e,r){"use strict";var i={calc:!1};e.fn.rrssb=function(t){var i=e.extend({description:r,emailSubject:r,image:r,title:r,tweetvia:r,url:r},t);for(var s in i)i.hasOwnProperty(s)&&i[s]!==r&&(i[s]=a(i[s]));i.url!==r&&(e(this).find(".rrssb-facebook a").attr("href","https://www.facebook.com/sharer/sharer.php?u="+i.url),e(this).find(".rrssb-twitter a").attr("href","https://twitter.com/intent/tweet?url="+i.url+(i.title!==r?"&text="+i.title:"")+(i.tweetvia!==r?"&via="+i.tweetvia:"")),e(this).find(".rrssb-linkedin a").attr("href","http://www.linkedin.com/shareArticle?mini=true&url="+i.url+(i.title!==r?"&title="+i.title:"")+(i.description!==r?"&summary="+i.description:"")),e(this).find(".rrssb-googleplus a").attr("href","https://plus.google.com/share?url="+i.url),e(this).find(".rrssb-pocket a").attr("href","https://getpocket.com/save?url="+i.url),e(this).find(".rrssb-buffer a").attr("href","http://bufferapp.com/add?&url="+i.url+(i.title!==r?"&text="+i.title:"")),e(this).find(".rrssb-tumblr a").attr("href","http://tumblr.com/share/link?url="+i.url+(i.title!==r?"&name="+i.title:"")+(i.description!==r?"&description="+i.description:"")),e(this).find(".rrssb-reddit a").attr("href","http://www.reddit.com/submit?url="+i.url+(i.description!==r?"&text="+i.description:"")+(i.title!==r?"&title="+i.title:"")),e(this).find(".rrssb-delicious a").attr("href","http://delicious.com/save?v=5&jump=close&url="+i.url+(i.title!==r?"&title="+i.title:"")),e(this).find(".rrssb-stumbleupon a").attr("href","http://www.stumbleupon.com/submit?url="+i.url+(i.title!==r?"&title="+i.title:"")),e(this).find(".rrssb-hackernews a").attr("href","https://news.ycombinator.com/submitlink?u="+i.url+(i.title!==r?"&t="+i.title:"")),e(this).find(".rrssb-vk a").attr("href","http://vk.com/share.php?url="+i.url),e(this).find(".rrssb-whatsapp a").attr("href","whatsapp://send?text="+i.url+(i.title!==r?"&text="+i.title:"")),e(this).find(".rrssb-email a").attr("href","mailto:?"+(i.emailSubject!==r?"subject="+i.emailSubject:"")+(i.title!==r?"&body="+i.title:"")+" - "+i.url))};var s=function(){var t=e("<div>"),r=["calc","-webkit-calc","-moz-calc"];e("body").append(t);for(var s=0;s<r.length;s++)if(t.css("width",r[s]+"(1px)"),1===t.width()){i.calc=r[s];break}t.remove()},a=function(t){if(t!==r&&null!==t){if(null===t.match(/%[0-9a-f]{2}/i))return encodeURIComponent(t);t=decodeURIComponent(t),a(t)}},n=function(){e(".rrssb-buttons").each(function(){var t=e(this),r=e("li:visible",t),i=r.length,s=100/i;r.css("width",s+"%").attr("data-initwidth",s)})},l=function(){e(".rrssb-buttons").each(function(){var t=e(this),r=t.width(),i=e("li",t).not(".small").first().width();i>170&&e("li.small",t).length<1?t.addClass("large-format"):t.removeClass("large-format"),200>r?t.removeClass("small-format").addClass("tiny-format"):t.removeClass("tiny-format")})},o=function(){e(".rrssb-buttons").each(function(){var t=e(this),r=e("li",t),i=r.filter(".small"),s=0,a=0,n=i.first(),l=parseFloat(n.attr("data-size"))+55,o=i.length;if(o===r.length){var c=42*o,h=t.width();h>c+l&&(t.removeClass("small-format"),i.first().removeClass("small"),u())}else{r.not(".small").each(function(){var t=e(this),r=parseFloat(t.attr("data-size"))+55,i=parseFloat(t.width());s+=i,a+=r});var m=s-a;m>l&&(n.removeClass("small"),u())}})},c=function(t){e(".rrssb-buttons").each(function(){var t=e(this),r=e("li",t);e(r.get().reverse()).each(function(t,i){var s=e(this);if(s.hasClass("small")===!1){var a=parseFloat(s.attr("data-size"))+55,n=parseFloat(s.width());if(a>n){var l=r.not(".small").last();e(l).addClass("small"),u()}}--i||o()})}),t===!0&&m(u)},u=function(){e(".rrssb-buttons").each(function(){var t,r,s,a,l,o=e(this),c=e("li",o),u=c.filter(".small"),h=u.length;h>0&&h!==c.length?(o.removeClass("small-format"),u.css("width","42px"),s=42*h,t=c.not(".small").length,r=100/t,l=s/t,i.calc===!1?(a=(o.innerWidth()-1)/t-l,a=Math.floor(1e3*a)/1e3,a+="px"):a=i.calc+"("+r+"% - "+l+"px)",c.not(".small").css("width",a)):h===c.length?(o.addClass("small-format"),n()):(o.removeClass("small-format"),n())}),l()},h=function(){e(".rrssb-buttons").each(function(t){e(this).addClass("rrssb-"+(t+1))}),s(),n(),e(".rrssb-buttons li .rrssb-text").each(function(){var t=e(this),r=t.width();t.closest("li").attr("data-size",r)}),c(!0)},m=function(t){e(".rrssb-buttons li.small").removeClass("small"),c(),t()},d=function(e,i,s,a){var n=t.screenLeft!==r?t.screenLeft:screen.left,l=t.screenTop!==r?t.screenTop:screen.top,o=t.innerWidth?t.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,c=t.innerHeight?t.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,u=o/2-s/2+n,h=c/3-a/3+l,m=t.open(e,i,"scrollbars=yes, width="+s+", height="+a+", top="+h+", left="+u);t.focus&&m.focus()},f=function(){var t={};return function(e,r,i){i||(i="Don't call this twice without a uniqueId"),t[i]&&clearTimeout(t[i]),t[i]=setTimeout(e,r)}}();e(document).ready(function(){e(document).on("click",".rrssb-buttons a.popup",{},function(t){var r=e(this);d(r.attr("href"),r.find(".rrssb-text").html(),580,470),t.preventDefault()}),e(t).resize(function(){m(u),f(function(){m(u)},200,"finished resizing")}),h()}),t.rrssbInit=h}(window,jQuery),$(document).ready(function(){$("#pinit").click(function(){$("#pinmarklet").remove();var t=document.createElement("script");t.setAttribute("type","text/javascript"),t.setAttribute("charset","UTF-8"),t.setAttribute("id","pinmarklet"),t.setAttribute("src","http://assets.pinterest.com/js/pinmarklet.js?r="+99999999*Math.random()),document.body.appendChild(t)})});