!function(t){"use strict";t(document).ready(function(){function i(o){return o.find(".youzify-page-symbole").remove(),parseInt(o.text())}t(document).on("click",".posts-nav-links a",function(o){o.preventDefault(),t("html, body").animate({scrollTop:t(".youzify-posts").offset().top-150},1e3);var a=i(t(this).clone()),n=t(this).closest(".youzify-pagination").attr("data-base");t.ajax({url:ajaxpagination.ajaxurl,type:"post",data:{action:"youzify_pages_pagination",query_vars:ajaxpagination.query_vars,youzify_base:n,youzify_page:a},beforeSend:function(){t("#youzify-main-posts").find(".youzify-posts-page").remove(),t(document).scrollTop(),t("#youzify-main-posts .youzify-loading").show()},success:function(o){t("#youzify-main-posts .youzify-loading").hide(),t("#youzify-main-posts").append(o)}})}),t(document).on("click",".comments-nav-links a",function(o){o.preventDefault(),t("html, body").animate({scrollTop:t(".youzify-comments").offset().top-150},1e3);var a=i(t(this).clone()),n=t(this).closest(".youzify-pagination").attr("data-base");t.ajax({url:ajaxpagination.ajaxurl,type:"post",data:{action:"youzify_comments_pagination",query_vars:ajaxpagination.query_vars,youzify_base:n,youzify_page:a},beforeSend:function(){t("#youzify-main-comments").find(".youzify-comments-page").remove(),t(document).scrollTop(),t("#youzify-main-comments .youzify-loading").show()},success:function(o){t("#youzify-main-comments .youzify-loading").hide(),t("#youzify-main-comments").append(o)}})})})}(jQuery);