(()=>{"use strict";var t,e;t=jQuery,window.RTSB&&window.RTSB._initialized&&(null===(e=window.RTSB.modules.registerAfterElementor("socialShare",function(){return{name:"socialShare",version:"1.0.0",init:function(){return function(t){t(document).on("click",'.rtsb-share-btn[target="_blank"]',function(t){t.preventDefault();var e=this.href,i={};switch(e.split("/")[2]){case"www.facebook.com":i={width:585,height:368};break;case"twitter.com":i={width:585,height:361};break;case"pinterest.com":i={width:750,height:550};break;default:i={width:585,height:515}}var n=(window.innerWidth-i.width)/2,r=(window.innerHeight-i.height)/2;n=Math.max(0,n),r=Math.max(0,r);var h="menubar=no,toolbar=no,resizable=yes,scrollbars=yes,width="+i.width+",height="+i.height+",left="+n+",top="+r;window.open(e,"",h)})}(t),this}}}))||void 0===e||e.init())})();