PageSourceSearch

https://www.mango-office.ru/local/modules/mango.messages/component…/form.view/form_script.js?1790626629838

js mango-office.ru collected 2026-10-01 12:09:09 UTC 838 bytes, 26 lines download raw bytes

1document.addEventListener('click', (event) => {
2    if (event.target.classList.contains('js-captcha-reload')) {
3        reloadBitrixCaptcha(event.target);
4    }
5})
6
7window.reloadBitrixCaptcha = function (el) {
8    let captchaImg = el.closest('form').querySelector(".js-captcha-img img");
9    let captchaSid = el.closest('form').querySelector("[name=captcha_sid]");
10    let loader = new Loader();
11
12    fetch('/ajax/reload_captcha.php', {
13      method: 'GET',
14      headers: {
15        'X-Requested-With': 'XMLHttpRequest',
16        'Content-Type': 'application/json',
17      },
18    }).then((response) => {
19        loader.stopLoader();
20        return response.text()
21    }).then((sid) => {
22        sid = sid.replaceAll('"', '');
23        captchaImg.src = '/bitrix/tools/captcha.php?captcha_sid=' + sid;
24        captchaSid.value = sid;
25    });
26}

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.