!function(t){jQuery.fn[t]=function(s){return s?this.on("resize",(e=s,function(){var s=this,t=arguments;n?clearTimeout(n):i&&e.apply(s,t),n=setTimeout(function(){i||e.apply(s,t),n=null},a||100)})):this.trigger(t);var e,a,i,n}}((jQuery,"ss_smartresize")),function(e){e.fn.ssIsOnScreen=function(){var s=e(window),t={top:s.scrollTop(),left:s.scrollLeft()},s=(t.right=t.left+s.width(),t.bottom=t.top+s.height(),this.offset());return s.right=s.left+this.outerWidth(),s.bottom=s.top+this.outerHeight(),!(t.rights.right||t.bottoms.bottom)},e.throttle=ss_throttle=function(i,n,o,r){var c,l=0;function s(){var s=this,t=+new Date-l,e=arguments;function a(){l=+new Date,o.apply(s,e)}r&&!c&&a(),c&&clearTimeout(c),void 0===r&&i li > a",function(){s=c(this),t=s.find(".ss-reveal-label-wrap"),e=t.find(".ss-network-label"),i=t.find(".ss-network-count"),a=s.outerWidth(),(e.length||i.length)&&(e=e.outerWidth(!0)?0+e.outerWidth(!0):0,e=i.outerWidth(!0)?e+i.outerWidth(!0):e,e=parseInt(e),i=1+e/a,s.parent().css({flex:i+" 1 0%"}),t.css("padding-right",e+"px"))}),c(".ss-reveal-label").on("mouseleave",".ss-social-icons-container > li > a",function(){s=c(this),(t=s.find(".ss-reveal-label-wrap")).css("padding-right",0),s.parent().removeAttr("style")}))},socialShareButtons:function(){var a,i;c(".ss-social-icons-container").not("#ss-all-networks-popup .ss-social-icons-container").length<=0||(a=c("#ss-copy-popup"),c("body").on("click",".ss-social-icons-container > li > a, .ss-popup-networks .ss-popup-network > a, .ss-on-media-container ul.ss-social-icons-container > li > div, .ss-share-all",function(s){var t,e;i=c(this),o.clickTracking(i),s.preventDefault(),i.hasClass("ss-print-color")?window.print():i.hasClass("ss-copy-color")?(a.data("copy"),a.addClass("ss-copy-visible"),a.find(".ss-copy-action-field"),a.hasClass("ss-visible")||(o.showSharePopup("#ss-copy-popup"),a.find(".ss-copy-action-field").val(decodeURIComponent(i.data("ss-ss-link"))))):i.hasClass("ss-share-all")?o.showSharePopup("#ss-all-networks-popup"):i.hasClass("ss-pinterest-color")&&(i.data("ss-ss-link")&&"#"===i.data("ss-ss-link")||!i.data("ss-ss-link")&&i.attr("href")&&"#"===i.attr("href"))?((s=document.createElement("script")).setAttribute("type","text/javascript"),s.setAttribute("charset","UTF-8"),s.setAttribute("src","https://assets.pinterest.com/js/pinmarklet.js"),document.body.appendChild(s)):i.hasClass("ss-heart-color")||(i.hasClass("ss-envelope-color")||i.hasClass("ss-viber-color")||i.hasClass("ss-sms-color")?window.location.href=i.data("ss-ss-link"):(s=550,t=448,"twitter"==i.data("ss-ss-network-id")&&(s=739,t=506),"parler"==i.data("ss-ss-network-id")&&(s=780,t=500),e=i.data("ss-ss-link"),o.popupWindow(e,s,t))),i.hasClass("ss-share-all")||o.incrementShareClickCount(i)}),c("#ss-share-hub > a").on("click",function(s){s.preventDefault()}),c("#ss-floating-bar").on("click",".ss-hide-floating-bar",function(s){s.preventDefault(),c("#ss-floating-bar").toggleClass("ss-hidden")}),c(".ss-close-modal").on("click",function(s){s.preventDefault(),o.hideSharePopup()}),a.on("click",".ss-copy-action .ss-button",function(s){s.preventDefault();var t=c(this);a.find(".ss-copy-action-field").select();try{document.execCommand("copy"),o.removeSelection(),t.addClass("ss-visible-tooltip"),setTimeout(function(){t.removeClass("ss-visible-tooltip")},1500)}catch(s){alert("Press Ctrl/Cmd+C to copy")}}))},removeSelection:function(){window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty()},clickTracking:function(s){void 0!==socialsnap_script.click_tracking&&1==socialsnap_script.click_tracking&&s.attr("data-ss-ss-network-id")&&"ga"in window&&(tracker=ga.getAll()[0])&&tracker.send("event",{eventCategory:"socialsnap_share",eventAction:"socialsnap_"+s.attr("data-ss-ss-network-id")+"_share"})},popupWindow:function(s,t,e){var a=null!=window.screenLeft?window.screenLeft:screen.left,i=null!=window.screenTop?window.screenTop:screen.top,n=window.innerWidth||document.documentElement.clientWidth||screen.width,o=window.innerHeight||document.documentElement.clientHeight||screen.height,s=window.open(s,"Please wait...","scrollbars=1,status=0,menubar=0,personalbar=0,location=1,width="+t+", height="+e+", top="+(o/2-e/2+i)+", left="+(n/2-t/2+a));window.focus&&s.focus()},showSharePopup:function(s){var t=c(s);t.addClass("ss-visible"),setTimeout(function(){t.addClass("ss-animate-popup")},10),c("body").on("keyup",o.escHideSharePopup)},hideSharePopup:function(){var s=c(".ss-popup-overlay.ss-visible");s.addClass("ss-hide-popup"),setTimeout(function(){s.addClass("ss-remove-visible"),setTimeout(function(){s.removeClass("ss-remove-visible ss-hide-popup ss-visible ss-animate-popup ss-copy-visible"),s.find(".ss-popup-heading > span").html(s.data("share"))},400)},250),c("body").off("keyup",o.escHideSharePopup)},escHideSharePopup:function(s){27==s.keyCode&&o.hideSharePopup()},incrementShareClickCount:function(e){if(e.hasClass("ss-heart-color")){if(e.hasClass("ss-already-liked"))return;var s=e.data("ss-ss-post-id");e.addClass("ss-heart-pulse-animation"),c(".ss-heart-color[data-ss-ss-post-id="+s+"]").addClass("ss-already-liked")}var a={url:window.location.href,network:e.data("ss-ss-network-id"),post_id:e.data("ss-ss-post-id"),location:e.data("ss-ss-location"),permalink:e.data("ss-ss-permalink")},s={action:"ss_social_share_clicks",ss_click_data:JSON.stringify(a),nonce:socialsnap_script.nonce},s=c.post(socialsnap_script.ajaxurl,s,function(s){var t;s.success&&(void 0!==e.data("ss-ss-network-id")&&(t='[data-ss-ss-network-id="'+e.data("ss-ss-network-id")+'"][data-ss-ss-post-id="'+a.post_id+'"]',e.data("has-api")||t.length&&(void 0!==s.data&&void 0!==s.data.share_count?c(t).find(".ss-network-count").html(s.data.share_count):c(t).find(".ss-network-count").html(parseInt(c(t).find(".ss-network-count").html(),10)+1))),o.refreshTotalShares(e.data("ss-ss-post-id")))});i.push(s)},updateCTTcount:function(){c(".ss-ctt-wrapper").on("click",".ss-ctt-tweet, .ss-ctt-link",function(){var s={post_id:c(this).parent().data("ss-post-id"),url:c(this).attr("href")},s={action:"ss_ctt_clicked",ss_click_data:JSON.stringify(s),_ajax_nonce:socialsnap_script.nonce},s=c.post(socialsnap_script.ajaxurl,s,function(s){});i.push(s)})},clickToTweet:function(){c(".ss-ctt-wrapper").on("click","a",function(s){s.preventDefault(),o.popupWindow(c(this).attr("href"),739,253)})},refreshTotalShares:function(t){var s={url:window.location.href,post_id:t},s={action:"ss_social_share_total",ss_data:JSON.stringify(s),_ajax_nonce:socialsnap_script.nonce},s=c.post(socialsnap_script.ajaxurl,s,function(s){s.success&&void 0!==s.data&&void 0!==s.data.total_count&&c('.ss-total-shares[data-ss-ss-post-id="'+t+'"] span:first-child').length&&c('.ss-total-shares[data-ss-ss-post-id="'+t+'"] span:first-child').html(s.data.total_count)});i.push(s)},updateShareCounts:function(){c(".ss-social-icons-container").not("#ss-all-networks-popup .ss-social-icons-container").length<=0||"undefined"!=typeof SocialSnapShareCacheExpired&&1==SocialSnapShareCacheExpired&&o.updateShareCountsAPI()},updateShareCountsAPI:function(s){var e,t;"undefined"!=typeof SocialSnapShareCacheExpired&&1==SocialSnapShareCacheExpired&&(t=socialsnap_script.post_id)&&(e={url:window.location.href,post_id:t,networks:SocialSnapShareNetworks},"object"==jQuery.type(s)&&c.extend(e,s),t={action:"ss_social_share_api_counts",socialsnap_data:JSON.stringify(e),_ajax_nonce:socialsnap_script.nonce},s=c.post(socialsnap_script.ajaxurl,t,function(s){if(s.success){for(var t in s.data.result)c('.ss-social-icons-container [data-ss-ss-network-id="'+t+'"][data-ss-ss-post-id="'+e.post_id+'"] .ss-network-count').html(s.data.result[t]);o.refreshTotalShares(e.post_id)}}),i.push(s))},updateFollowCountsAPI:function(){var a,i,n;"undefined"!=typeof socialsnap_follow_counts&&(a=socialsnap_follow_counts.authorized,i=socialsnap_follow_counts.configured_networks,n=socialsnap_follow_counts.security,c.each(socialsnap_follow_counts.networks,function(s,t){var e={network:t,authorized:a,configured:i},t=c(".ss-follow-column[data-ss-sf-network-id="+t+"] .ss-follow-network-count-number");o.updateFollowCounts("ss_sf_counts",e,t,n)}))},updateFollowCounts:function(s,t,e,a){t.network;s={action:s,sf_networks:JSON.stringify(t),security:a},t=c.post(socialsnap_script.ajaxurl,s,function(s){s.success&&s.data.count&&e.html(s.data.count)});i.push(t)},cacheShortenedURLs:function(){var s;"undefined"!=typeof SocialSnapUncachedBitlyLinks&&"undefined"!=typeof SocialSnapUncachedBitlySecurity&&(s=c.post(socialsnap_script.ajaxurl,{action:"ss_cache_links",ss_ls_arr:SocialSnapUncachedBitlyLinks,security:SocialSnapUncachedBitlySecurity},function(s){s.success}),i.push(s))},onMediaShareController:function(){var e,a,i=parseInt(socialsnap_script.on_media_width),n=parseInt(socialsnap_script.on_media_height);c(".ss-on-media-container").each(function(s,t){e=c(this),a=e.find("img"),e.find(".ss-on-media-wrapper").css({display:"block"}),"inline"==a.css("display")&&e.css("display","inline"),a.outerHeight()