Ubuntu
var updraft_restore_screen=!0;jQuery(document).ready(function(e){function r(r,a){var o=new XMLHttpRequest,n="action="+a+"&updraftplus_ajax_restore=do_ajax_restore&job_id="+r,d=0,l=!0,u=e("#updraftplus_ajax_restore_debug").length;o.open("POST",ajaxurl,!0),o.onprogress=function(e){if(e.currentTarget.status>=200&&e.currentTarget.status<300){if(-1!==e.currentTarget.responseText.indexOf(""+r.data.fileindex+"").replace("%s2",""+r.data.total_files+"")),"db"==r.stage&&r.data.hasOwnProperty("stage")&&("table"==r.data.stage?t.find(".updraft_component--progress").html(" — "+updraftlion.restore_db_table_progress.replace("%s",""+r.data.table+"")):"finished"==r.data.stage?t.find(".updraft_component--progress").html(" — "+updraftlion.finished):"begun"==r.data.stage&&t.find(".updraft_component--progress").html(" — "+updraftlion.begun+"...")),d!==l){if(d){var s=_.find("[data-component="+d+"]");s.find(".updraft_component--progress").html(""),s.removeClass("active").addClass("done")}"finished"==l?(t.addClass("done"),_.find("[data-component]").each(function(r,t){$el=e(t),$el.is(".done")||$el.addClass("error")}),r.data.hasOwnProperty("actions")&&"object"==typeof r.data.actions&&e.each(r.data.actions,function(e,r){_.after(''+e+"")})):t.addClass("active")}d=l}}function a(){var r=Math.round(Date.now()/1e3),t=r-i;if(60>t)e("#updraftplus_ajax_restore_last_activity").html(updraftlion.last_activity.replace("%d",t));else{var a=120-t;0