'+t+"
"),a.on("click",".notice.is-dismissible .notice-dismiss",function(){setTimeout(function(){a.removeClass("plugin-card-update-failed").find(".column-name a").focus()},200)}),s.removeClass("updating-message").addClass("button-disabled").attr("aria-label",o.updates.l10n.pluginInstallFailedLabel.replace("%s",s.data("name"))).text(o.updates.l10n.installFailedShort),o.a11y.speak(t,"assertive"),p.trigger("wp-plugin-install-error",e)))},o.updates.installImporterSuccess=function(e){o.updates.addAdminNotice({id:"install-success",className:"notice-success is-dismissible",message:o.updates.l10n.importerInstalledMsg.replace("%s",e.activateUrl+"&from=import")}),r('[data-slug="'+e.slug+'"]').removeClass("install-now updating-message").addClass("activate-now").attr({href:e.activateUrl+"&from=import","aria-label":o.updates.l10n.activateImporterLabel.replace("%s",e.pluginName)}).text(o.updates.l10n.activateImporter),o.a11y.speak(o.updates.l10n.installedMsg,"polite"),p.trigger("wp-importer-install-success",e)},o.updates.installImporterError=function(e){var t=o.updates.l10n.installFailed.replace("%s",e.errorMessage),a=r('[data-slug="'+e.slug+'"]'),s=a.data("name");o.updates.isValidResponse(e,"install")&&(o.updates.maybeHandleCredentialError(e,"install-plugin")||(o.updates.addAdminNotice({id:e.errorCode,className:"notice-error is-dismissible",message:t}),a.removeClass("updating-message").text(o.updates.l10n.installNow).attr("aria-label",o.updates.l10n.pluginInstallNowLabel.replace("%s",s)),o.a11y.speak(t,"assertive"),p.trigger("wp-importer-install-error",e)))},o.updates.deletePlugin=function(e){var t=r('[data-plugin="'+e.plugin+'"]').find(".row-actions a.delete");return e=_.extend({success:o.updates.deletePluginSuccess,error:o.updates.deletePluginError},e),t.html()!==o.updates.l10n.deleting&&t.data("originaltext",t.html()).text(o.updates.l10n.deleting),o.a11y.speak(o.updates.l10n.deleting,"polite"),p.trigger("wp-plugin-deleting",e),o.updates.ajax("delete-plugin",e)},o.updates.deletePluginSuccess=function(i){r('[data-plugin="'+i.plugin+'"]').css({backgroundColor:"#faafaa"}).fadeOut(350,function(){var e=r("#bulk-action-form"),t=r(".subsubsub"),a=r(this),s=e.find("thead th:not(.hidden), thead td").length,n=o.template("item-deleted-row"),l=d.plugins;a.hasClass("plugin-update-tr")||a.after(n({slug:i.slug,plugin:i.plugin,colspan:s,name:i.pluginName})),a.remove(),-1!==_.indexOf(l.upgrade,i.plugin)&&(l.upgrade=_.without(l.upgrade,i.plugin),o.updates.decrementCount("plugin")),-1!==_.indexOf(l.inactive,i.plugin)&&(l.inactive=_.without(l.inactive,i.plugin),l.inactive.length?t.find(".inactive .count").text("("+l.inactive.length+")"):t.find(".inactive").remove()),-1!==_.indexOf(l.active,i.plugin)&&(l.active=_.without(l.active,i.plugin),l.active.length?t.find(".active .count").text("("+l.active.length+")"):t.find(".active").remove()),-1!==_.indexOf(l.recently_activated,i.plugin)&&(l.recently_activated=_.without(l.recently_activated,i.plugin),l.recently_activated.length?t.find(".recently_activated .count").text("("+l.recently_activated.length+")"):t.find(".recently_activated").remove()),l.all=_.without(l.all,i.plugin),l.all.length?t.find(".all .count").text("("+l.all.length+")"):(e.find(".tablenav").css({visibility:"hidden"}),t.find(".all").remove(),e.find("tr.no-items").length||e.find("#the-list").append(''+e+"