!function(){"use strict";jQuery(document).ready(function(s){s(".cosmoswp-gsm-btn").click(function(t){t.preventDefault(),s(this).addClass("updating-message"),s(this).text(cosmoswp_adi_install.btn_text),s.ajax({type:"POST",url:ajaxurl,data:{action:"cosmoswp_getting_started",security:cosmoswp_adi_install.nonce},success:function(t){var e,o;s(".cosmoswp-gsm-close").length&&(e="&cosmoswp_gsm_admin_notice_nonce="+s(".cosmoswp-gsm-close").attr("href").split("cosmoswp_gsm_admin_notice_nonce=")[1]),o=t.data.redirect+e,window.location.href=o},error:function(s,t,e){console.log(e)}})}),s(".cwp-card-header a").click(function(t){t.preventDefault();var e=s(this).attr("href");s(".cwp-card-body-wrap").addClass("hidden"),s(e).removeClass("hidden")})})}();