PageSourceSearch

https://calibrx.com/wp-content/plugins/socialsnap-plus/assets/js/socialsnap.js?ver=1.1.8.3

js calibrx.com collected 2026-10-09 22:32:21 UTC 12,653 bytes, 1 lines download raw bytes

1!function(s,t){jQuery.fn[t]=function(s){return s?this.bind("resize",function(a,e,i){var n;return function(){var s=this,t=arguments;n?clearTimeout(n):i&&a.apply(s,t),n=setTimeout(function(){i||a.apply(s,t),n=null},e||100)}}(s)):this.trigger(t)}}(jQuery,"ss_smartresize"),function(e){e.fn.ssIsOnScreen=function(){var s=e(window),t={top:s.scrollTop(),left:s.scrollLeft()};t.right=t.left+s.width(),t.bottom=t.top+s.height();var a=this.offset();return a.right=a.left+this.outerWidth(),a.bottom=a.top+this.outerHeight(),!(t.right<a.left||t.left>a.right||t.bottom<a.top||t.top>a.bottom)},e.throttle=ss_throttle=function(i,n,o,r){var c,l=0;function s(){var s=this,t=+new Date-l,a=arguments;function e(){l=+new Date,o.apply(s,a)}r&&!c&&e(),c&&clearTimeout(c),void 0===r&&i<t?e():!0!==n&&(c=setTimeout(r?function(){c=void 0}:e,void 0===r?i-t:i))}return"boolean"!=typeof n&&(r=o,o=n,n=void 0),e.guid&&(s.guid=o.guid=o.guid||e.guid++),s}}(jQuery),function(c){var o=[],r={init:function(){r.abortAjaX(),c(document).ready(r.ready),c(window).on("load",r.load),c(window).ss_smartresize(r.resize)},ready:function(){r.onMediaShareController(),r.calcShareBarHeight(),r.socialShareButtons(),r.revealLabel(),r.clickToTweet(),r.stickyBar(),r.stickyAfterScroll()},load:function(){r.entranceAnimation(),setTimeout(function(){r.updateShareCounts(),r.updateFollowCountsAPI(),r.cacheShortenedURLs(),r.updateCTTcount(),r.onMediaShareController()},250)},resize:function(){r.calcShareBarHeight(),r.stickyAfterScroll(),r.stickyBar(),r.onMediaShareController()},abortAjaX:function(){c(document).ajaxComplete(function(s,t,a){o=c.grep(o,function(s){return s!=t})});var t=window.onbeforeunload;window.onbeforeunload=function(){var s=t?t():void 0;return null==s&&c.each(o,function(s,t){t.abort()}),s}},entranceAnimation:function(){c(".ss-animate-entrance").length&&c(".ss-animate-entrance").addClass("ss-animated")},calcShareBarHeight:function(){var s=c("#ss-floating-bar");if(s.length){var t=0;if(void 0!==s.attr("data-offset")){var a=parseInt(s.attr("data-offset"));isNaN(a)||(t+=a)}var e=s.innerHeight(),i=c(window).height();s.hasClass("ss-right-top-sidebar")||s.hasClass("ss-left-top-sidebar")||(s.hasClass("ss-left-bottom-sidebar")||s.hasClass("ss-right-bottom-sidebar")?t+=i-e:t+=i/2-e/2),t<0&&(t=0),i<e?s.css({top:"0",bottom:"initial"}):i<t+e?s.css({top:"initial",bottom:"0"}):s.css({top:t+"px",bottom:"initial"})}},revealLabel:function(){var s,t,a,e,i,n,o;c(".ss-reveal-label").length&&(c(".ss-reveal-label").on("mouseenter",".ss-social-icons-container > li > a",function(){s=c(this),t=s.find(".ss-reveal-label-wrap"),a=t.find(".ss-network-label"),e=t.find(".ss-network-count"),n=s.outerWidth(),(a.length||e.length)&&(i=a.outerWidth(!0)+e.outerWidth(!0),i=parseInt(i),o=1+i/n,s.parent().css({flex:o+" 1 0%"}),t.css("padding-right",i+"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(){if(!(c(".ss-social-icons-container").not("#ss-all-networks-popup .ss-social-icons-container").length<=0)){var n,o=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",function(s){if(n=c(this),r.clickTracking(n),s.preventDefault(),n.hasClass("ss-print-color"))window.print();else if(n.hasClass("ss-copy-color")){o.data("copy");o.addClass("ss-copy-visible"),o.find(".ss-copy-action-field").select(),o.hasClass("ss-visible")||(r.showSharePopup("#ss-copy-popup"),o.find(".ss-copy-action-field").select())}else if(n.hasClass("ss-share-all"))r.showSharePopup("#ss-all-networks-popup");else if(n.hasClass("ss-pinterest-color")&&(n.data("ss-ss-link")&&"#"===n.data("ss-ss-link")||!n.data("ss-ss-link")&&n.attr("href")&&"#"===n.attr("href"))){var t=document.createElement("script");t.setAttribute("type","text/javascript"),t.setAttribute("charset","UTF-8"),t.setAttribute("src","https://assets.pinterest.com/js/pinmarklet.js"),document.body.appendChild(t)}else if(n.hasClass("ss-heart-color"));else if(n.hasClass("ss-envelope-color")||n.hasClass("ss-viber-color")||n.hasClass("ss-sms-color"))window.location.href=n.data("ss-ss-link");else{var a=550,e=448;"twitter"==n.data("ss-ss-network-id")&&(a=739,e=253);var i=n.data("ss-ss-link");r.popupWindow(i,a,e)}n.hasClass("ss-share-all")||r.incrementShareClickCount(n)}),c("#ss-share-hub > a").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").click(function(s){s.preventDefault(),r.hide
1SharePopup()}),o.on("click",".ss-copy-action .ss-button",function(s){s.preventDefault();var t=c(this);o.find(".ss-copy-action-field").select();try{document.execCommand("copy"),t.addClass("ss-visible-tooltip"),setTimeout(function(){t.removeClass("ss-visible-tooltip")},1500)}catch(s){alert("Press Ctrl/Cmd+C to copy")}})}},clickTracking:function(s){void 0!==socialsnap_script.click_tracking&&1==socialsnap_script.click_tracking&&"function"==typeof ga&&s.attr("data-ss-ss-network-id")&&ga("send","event","socialsnap_share","socialsnap_"+s.attr("data-ss-ss-network-id")+"_share")},popupWindow:function(s,t,a){var e=null!=window.screenLeft?window.screenLeft:screen.left,i=null!=window.screenTop?window.screenTop:screen.top,n=(window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width)/2-t/2+e,o=(window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height)/2-a/2+i,r=window.open(s,"Please wait...","scrollbars=1,status=0,menubar=0,personalbar=0,location=1,width="+t+", height="+a+", top="+o+", left="+n);window.focus&&r.focus()},showSharePopup:function(s){var t=c(s);t.addClass("ss-visible"),setTimeout(function(){t.addClass("ss-animate-popup")},10),c("body").on("keyup",r.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",r.escHideSharePopup)},escHideSharePopup:function(s){27==s.keyCode&&r.hideSharePopup()},incrementShareClickCount:function(a){if(a.hasClass("ss-heart-color")){if(a.hasClass("ss-already-liked"))return;var s=a.data("ss-ss-post-id");a.addClass("ss-heart-pulse-animation"),c(".ss-heart-color[data-ss-ss-post-id="+s+"]").addClass("ss-already-liked")}var e={url:window.location.href,network:a.data("ss-ss-network-id"),post_id:a.data("ss-ss-post-id"),location:a.data("ss-ss-location"),permalink:a.data("ss-ss-permalink")},t={action:"ss_social_share_clicks",ss_click_data:JSON.stringify(e),_ajax_nonce:socialsnap_script.nonce},i=c.post(socialsnap_script.ajaxurl,t,function(s){if(s.success){if(void 0!==a.data("ss-ss-network-id")){var t='[data-ss-ss-network-id="'+a.data("ss-ss-network-id")+'"][data-ss-ss-post-id="'+e.post_id+'"]';a.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))}r.refreshTotalShares(a.data("ss-ss-post-id"))}});o.push(i)},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")},t={action:"ss_ctt_clicked",ss_click_data:JSON.stringify(s),_ajax_nonce:socialsnap_script.nonce},a=c.post(socialsnap_script.ajaxurl,t,function(s){});o.push(a)})},clickToTweet:function(){c(".ss-ctt-wrapper").on("click","a",function(s){s.preventDefault(),r.popupWindow(c(this).attr("href"),739,253)})},refreshTotalShares:function(t){var s={url:window.location.href,post_id:t},a={action:"ss_social_share_total",ss_data:JSON.stringify(s),_ajax_nonce:socialsnap_script.nonce},e=c.post(socialsnap_script.ajaxurl,a,function(s){if(s.success){if(void 0===s.data||void 0===s.data.total_count)return;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)}});o.push(e)},updateShareCounts:function(){c(".ss-social-icons-container").not("#ss-all-networks-popup .ss-social-icons-container").length<=0||"undefined"!=typeof SocialSnapShareCacheExpired&&1==SocialSnapShareCacheExpired&&r.updateShareCountsAPI()},updateShareCountsAPI:function(s){if("undefined"!=typeof SocialSnapShareCacheExpired&&1==SocialSnapShareCacheExpired){var t=socialsnap_script.post_id;if(t){var a={url:window.location.href,post_id:t};"object"==jQuery.type(s)&&c.extend(a,s);var e={action:"ss_social_share_api_counts",socialsnap_data:JSON.stringify(a),_ajax_nonce:socialsnap_script.nonce},i=c.post(socialsnap_script.ajaxurl,e,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="'+a.post_id+'"] .ss-network-count').html(s.data.result[t]);r.refreshTotalShares(a.post_id)}});o.push(i)}}},updateFollowCountsAPI:function(){if("undefined"!=typeof socialsnap_follow_counts){var s=socialsnap_follow_counts.networks,i=socialsnap_follow_counts.authorized,n=socialsnap_follow_counts.configured_networks,o=socialsnap_follow_counts.security;c.each(s,function(s,t){var a={network:t,authorized:i,configured:n},e=c(".ss-follow-column[data-ss-sf-network-id="+t+"] .ss-follow-network-count-number");
1r.updateFollowCounts("ss_sf_counts",a,e,o)})}},updateFollowCounts:function(s,t,a,e){t.network;var i={action:s,sf_networks:JSON.stringify(t),security:e},n=c.post(socialsnap_script.ajaxurl,i,function(s){s.success&&s.data.count&&a.html(s.data.count)});o.push(n)},cacheShortenedURLs:function(){if("undefined"!=typeof SocialSnapUncachedBitlyLinks&&"undefined"!=typeof SocialSnapUncachedBitlySecurity){var s={action:"ss_cache_links",ss_ls_arr:SocialSnapUncachedBitlyLinks,security:SocialSnapUncachedBitlySecurity},t=c.post(socialsnap_script.ajaxurl,s,function(s){s.success});o.push(t)}},onMediaShareController:function(){var a,e,i=parseInt(socialsnap_script.on_media_width),n=parseInt(socialsnap_script.on_media_height);c(".ss-on-media-container").each(function(s,t){a=c(this),e=a.find("img"),a.find(".ss-on-media-wrapper").css({display:"block"}),"inline"==e.css("display")&&a.css("display","inline"),(e.outerHeight()<n||e.outerWidth()<i||e.hasClass("skip-on-media"))&&a.find(".ss-on-media-wrapper").css({display:"none"})})},stickyAfterScroll:function(){var s=c("#ss-sticky-bar");if(s.length&&!s.hasClass("ss-sync-inline"))if(0!=s.data("afterscroll")&&s.data("afterscroll")){function t(){a=c(window).scrollTop(),e<a?(s.removeClass("ss-initially-hidden"),setTimeout(function(){s.addClass("ss-animated ss-visible")},70),s.hasClass("ss-bottom-sticky-bar")&&c("body").css({"margin-bottom":s.outerHeight()})):(s.removeClass("ss-animated ss-visible"),c("body").css({"margin-bottom":""}))}var a=0,e=parseInt(s.data("afterscroll"));c(window).scroll(c.throttle(250,t)),t()}else s.hasClass("ss-top-sticky-bar")?c("body").css({"margin-top":s.outerHeight()}):s.hasClass("ss-bottom-sticky-bar")&&c("body").css({"margin-bottom":s.outerHeight()})},stickyBar:function(){var s=c("#ss-sticky-bar");if(s.length&&c(".ss-inline-share-wrapper").length&&s.hasClass("ss-sync-inline")){var t,a,e=[],i=[],n=c(window).width(),o=!1;if(c(".ss-inline-share-wrapper").each(function(){if("ss-sticky-bar"===(t=c(this)).parent().attr("id"))return c(this).addClass("ss-sticky-bar-as-inline"),!0;a=t.offset(),e.push(a.left),i.push(t.outerWidth())}),e=c.unique(e),i=c.unique(i),1!=e.length||1!=i.length)return s.find(".ss-inline-share-wrapper").removeAttr("style"),!1;700<n?s.find(".ss-inline-share-wrapper").css({width:i[0],left:e[0]+"px",padding:"0px"}):s.find(".ss-inline-share-wrapper").removeAttr("style");function r(){if(n<=700)return s.addClass("ss-animated"),!1;o=!1,c(".ss-inline-share-wrapper").not(".ss-sticky-bar-as-inline").each(function(){c(this).find(".ss-social-icons-container").ssIsOnScreen()&&(o=!0)}),o?(s.removeClass("ss-animated").addClass("ss-hidden"),s.hasClass("ss-bottom-sticky-bar")&&c("body").css({"margin-bottom":""})):(s.addClass("ss-animated").removeClass("ss-hidden"),s.hasClass("ss-bottom-sticky-bar")&&c("body").css({"margin-bottom":s.outerHeight()}))}c(window).scroll(c.throttle(250,r)),r()}}};r.init(),window.socialsnapfields=r}(jQuery);

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.