!function(e,n){"use strict";window.elementor.channels.editor.on("ekit:editor:google_calendar_delete_cache",(function(e){let n={gCalendarId:e.$el.parents("#elementor-controls").find("[data-setting='ekit_event_google_calendar_id']")[0].value};jQuery.ajax({data:n,type:"post",url:window.googleCalendarDeleteConfig.restUrl+"elementskit/v1/widget/calendar/remove_cache/",beforeSend:function(n){n.setRequestHeader("X-WP-Nonce",googleCalendarDeleteConfig.nonce),e.$el.find(".elementor-control-input-wrapper").append('<div class="alert alert-info" role="alert" style="margin-top:5px">Waiting for server response...</div>')},success:function(e){confirm((e.success,e.msg))},complete:function(){e.$el.find(".alert").fadeOut().remove()}})}))}(jQuery);