3401window.parent.postMessage({ action: 'closeModal', withReload }, document.location.origin);3402}34033404/**3405* Добавляет обработчик для закрытия модального окна при нажатии Esc3406* в simplified версии формы авторизации3407*/3408function tma__sign__addEventListenerEscape() {3409window.addEventListener('keydown', function (event) {3410if (event.key === 'Escape') tma__sign__postCloseModalMessage({ resetForm: true });3411});3412
}if (typeof exports !== 'undefined') { module.exports = { tma__sign__getAgreementSubtext, };}