(()=>{var t;(t=jQuery)(document).ready(function(){let a=t(".posts-data-table");const e=t("#wpadminbar"),n=["categories","tags","author"];a.each(function(){let a=t(this),s={responsive:!0,processing:!0,aLengthMenu:JSON.parse(configOptions.lengthMenu),iDisplayLength:configOptions.displayLength,fnDrawCallback:function(a){displayLength=-1===a._iDisplayLength?a.fnRecordsTotal():a._iDisplayLength,a.fnRecordsDisplay()<=displayLength?t(".dataTables_paginate").hide():t(".dataTables_paginate").show()}};"undefined"!=typeof posts_data_table&&posts_data_table.langurl&&(s.language={url:posts_data_table.langurl});let l=a.DataTable(s);a.on("page.dt",function(){if(!1!==t(this).data("scroll-offset")){let a=t(this).parent().offset().top-t(this).data("scroll-offset");if(e.length){a-=e.outerHeight()||32}t("html,body").animate({scrollTop:a},300)}}),a.data("click-filter")&&a.on("click","a",function(){let a=t(this),e=l.cell(a.closest("td").get(0)).index().column,s=l.column(e).header(),i=t(s).data("name");return-1===n.indexOf(i)||(l.search(a.text()).draw(),!1)}),a.addClass("loading").css("visibility","visible")})})})();