!function(t){"use strict";function a(){var a=window.fusion.getCurrentPostID();!a||0>a||t.ajax({type:"POST",url:awbViewCountVars.ajaxUrl,data:{action:"awb_update_current_post_visitors_count",post_id:a},dataType:"json"}).done((function(a){t(".awb-dynamic-current-visitors-count").text(a.count)}))}t(".awb-dynamic-current-visitors-count").length&&("ajax"===awbViewCountVars.currentPostVisitorsCount&&a(),"1"===awbViewCountVars.currentPostVisitorsCountLive&&setInterval(a,1e3*parseInt(awbViewCountVars.currentPostVisitorsCountLiveInterval))),"ajax"===awbViewCountVars.postViews&&setTimeout((function(){var a=window.fusion.getCurrentPostID();!a||0>a||t.ajax({type:"POST",url:awbViewCountVars.ajaxUrl,data:{action:"avada_set_ajax_post_views",postId:a},dataType:"json"})}),1e3)}(jQuery);