"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/show-output-popup"],{3229(t,e,s){s.r(e),s.d(e,{default:()=>o});var p=s(95);const o=t=>{const e=JSON.parse(t.getAttribute("data-config")),s=t.getAttribute("data-output"),o=p.Locale.getSection("components.tasks.scheduler-run-task");let a="",l="";e.result?(a="popupDone",l="hint-ok"):(a="popupError",l="hint-failed"),a=o.lmsg(a,{task:e.name,seconds:e.seconds});const n=new p.Popup({id:"scheduled-tasks-popup",title:o.lmsg("popupTitle"),closeButtonEnabled:!0,content:`<div><p><span class="${l}"><b>${a}</b></span></p></div><div class="tree-box"><p>${(0,p.escapeHtml)(s).replace(/\n/gm,"<br>")}</p></div>`,buttons:[{title:o.lmsg("popupClose"),handler(){n.hide()}}]})};s.dn(o)}}]);
//# sourceMappingURL=show-output-popup.js.map?25bde3509c65c1a45813