1"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/mail-settings/confirmation-remove-popup-form"],{3201(t,e,n){n.r(e),n.d(e,{default:()=>s});var i=n(95);class o extends i.PopupForm{_initConfiguration(t){super._initConfiguration({locale:i.Locale.getSection("smb.components.forms.mail-settings.show"),...t}),this._handler=this._getConfigParam("handler",null),this._domain=this._getConfigParam("domain",null),this._handlerOnCancel=this._getConfigParam("handlerOnCancel",()=>null)}render(){super.render(),this.setBoxType("form-box"),this.setTitle(this.lmsg("title",{domain:(0,i.escapeHtml)(this._domain)})),(0,i.render)(document.getElementById(this._contentAreaId),`<div class="form-row"><div class="single-row"><div class="indent-box"><input id="confirm-remove-all" type="checkbox" class="checkbox" ><div class="indent-box-content"><label for="confirm-remove-all">${this.lmsg("checkbox",{domain:(0,i.escapeHtml)(this._domain)})}</label></div></div></div></div>`);const t=document.getElementById("confirm-remove-all");t.addEventListener("click",()=>{this._updateButton(this._buttonOk,{disabled:!t.checked})}),this.addOkButton(),this.addCancelButton()}addOkButton(){this._buttonOk=this.addRightButton(i.Locale.getSection("components.buttons").lmsg("yesRemove"),this.onOkClick,!0,!1,{disabled:!0,class:"btn-danger"})}addCancelButton(){this.addRightButton(i.Locale.getSection("components.buttons").lmsg("cancel"),this.onCancelClick,!1,!1)}onOkClick(){this._handler(),this.hide()}onCancelClick(){this._handlerOnCancel(),this.hide()}}const s=o}}]); 2//# sourceMappingURL=confirmation-remove-popup-form.js.map?134dfd991df79e2d8642
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.