window.addEventListener("elementor/init",function(){const a=elementor.modules.controls.BaseData.extend({onReady(){function a(){const a=SLEImceIcons.attSocial,b=document.createElement("div");SLEImceIcons.social(b,a,!0);const c=encodeURIComponent(JSON.stringify(a));setTimeout(function(){let d=b.innerHTML;if(a?.slbbFont&&-1!==a?.slbbFont?.indexOf(" ")){const b=new RegExp(`&quot;\s*${a.slbbFont.replaceAll("'","")}\s*&quot;`);d=d.replace(b,a.slbbFont.replaceAll("'",""))}const e=d+"attsafelayoutatt"+c,f=document.getElementById("sl-ei-socialshare-elementor-value");f.value=e,f.dispatchEvent(new Event("change"))},2)}function b(){let b={},d=c.control_socialshare.val().split("attsafelayoutatt");1<d?.length&&(b=JSON.parse(decodeURIComponent(d[1])));let e={hasC:!0,popoverOffset:-150,callBack:a};setTimeout(function(){SLEImceIcons.menuSocial(document.getElementById("sl-ei-socialshare-elementor-body"),b,e,!0)},10)}this.control_socialshare=this.$el.find("#sl-ei-socialshare-elementor-value");var c=this;b(),this.control_socialshare.on("change",()=>{SLEImceIcons.elementorAction=1,this.saveValue()}),this.control_socialshare.on("click",()=>{b()})},saveValue(){this.setValue(this.control_socialshare.val())}});elementor.addControlView("Safelayout_socialshare_control",a)});