"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/eula"],{3155(e,p,t){t.r(p),t.d(p,{default:()=>a});var l=t(95);const a=({isUpdate:e,license:p})=>{const t=l.Locale.getSection("admin.controllers.index.eula");new l.Popup({popupCls:"popup-panel popup-panel-lg",id:"eula-update-popup",hideOnBgClick:!1,title:e?t.lmsg("updatePopupTitle"):t.lmsg("popupTitle"),content:`<h4>${e?t.lmsg("updatePopupDescription"):t.lmsg("popupDescription")}</h4><div class="eula">${p}</div>`,buttons:[{id:"eula-update-accept",title:t.lmsg("buttonAccept"),handler(e,p){l.api.post("/admin/index/accept-eula"),p.hide()}},{id:"eula-update-decline",title:t.lmsg("buttonDecline"),handler(e,p){document.location.href="/logout.php",p.hide()}}]})};(Object.getOwnPropertyDescriptor(a,"name")||{}).writable||Object.defineProperty(a,"name",{value:"default",configurable:!0})}}]);
//# sourceMappingURL=eula.js.map?6b46fbbff81c386b893b