(()=>{"use strict";var t;(t=jQuery)(function(){var e,o=window.location.href,a=void 0!==screen.width&&screen.width>1024?"no":"yes",n=void 0!==document.title?document.title:"";function i(e){try{var o=parseInt(e.getAttribute("data-show_effect"));t(e).show(o)}catch(t){e.style.display="block"}var a=e.getAttribute("data-an_type"),n=t(e).hasClass("ht_ctc_entry_animation")?1200:120;setTimeout(function(){e.classList.add("ht_ctc_animation",a)},n),t(".ht-ctc-group").hover(function(){t(".ht-ctc-group .ht-ctc-cta-hover").show(220)},function(){t(".ht-ctc-group .ht-ctc-cta-hover").hide(100)})}function c(t){var e=t.getAttribute("data-group_id"),a="Click to Chat for WhatsApp",i="group: "+e,c=n+", "+o;"yes"===t.getAttribute("data-is_ga_enable")&&("undefined"!=typeof gtag?gtag("event",i,{event_category:a,event_label:c}):"undefined"!=typeof ga&&void 0!==ga.getAll?ga.getAll()[0].send("event",a,i,c):"undefined"!=typeof __gaTracker&&__gaTracker("send","event",a,i,c)),"undefined"!=typeof dataLayer&&dataLayer.push({event:"Click to Chat",event_category:a,event_label:c,event_action:i}),"yes"===t.getAttribute("data-ga_ads")&&"undefined"!=typeof gtag_report_conversion&&gtag_report_conversion(),"yes"===t.getAttribute("data-is_fb_pixel")&&"undefined"!=typeof fbq&&fbq("trackCustom","Click to Chat by HoliThemes",{Category:"Click to Chat for WhatsApp",return_type:"group",ID:e,Title:n,URL:o})}(e=document.querySelector(".ht-ctc-group"))&&(function(t){const e=t.getAttribute("data-css");if("yes"===a){if("show"===t.getAttribute("data-display_mobile")){var o=document.querySelector(".ht_ctc_desktop_group");o&&o.remove();var n=t.getAttribute("data-position_mobile");t.style.cssText=n+e,i(t)}}else if("show"===t.getAttribute("data-display_desktop")){var c=document.querySelector(".ht_ctc_mobile_group");c&&c.remove();var r=t.getAttribute("data-position");t.style.cssText=r+e,i(t)}}(e),e.addEventListener("click",function(){var t=e.getAttribute("data-group_id");window.open("https://chat.whatsapp.com/"+t,"_blank","noopener"),c(e)})),t(document).on("click",".ht-ctc-sc-group",function(){var t=this.getAttribute("data-ctc-link");t=encodeURI(t),window.open(t,"_blank","noopener"),c(this)})})})();