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