1function showHide_perezvon(element_id) { 2 $(".phone_mask_perezvon").mask("(999) 999-99-99"); 3 //ÐÑли ÑÐ»ÐµÐ¼ÐµÐ½Ñ Ñ id-Ñником element_id ÑÑÑеÑÑвÑÐµÑ 4 if (document.getElementById(element_id)) { 5 //ÐапиÑÑваем ÑÑÑÐ»ÐºÑ Ð½Ð° ÑÐ»ÐµÐ¼ÐµÐ½Ñ Ð² пеÑеменнÑÑ obj 6 var obj = document.getElementById(element_id); 7 //ÐÑли css-ÑвойÑÑво display не block, Ñо: 8 if (obj.style.display !== "block") { 9 obj.style.display = "block"; //ÐоказÑваем ÑÐ»ÐµÐ¼ÐµÐ½Ñ 10 } else 11 obj.style.display = "none"; //СкÑÑваем ÑÐ»ÐµÐ¼ÐµÐ½Ñ 12 } 13 //ÐÑли ÑÐ»ÐµÐ¼ÐµÐ½Ñ Ñ id-Ñником element_id не найден, Ñо вÑводим ÑообÑение 14 else 15 alert("ÐÐ»ÐµÐ¼ÐµÐ½Ñ Ñ id: " + element_id + " не найден!"); 16} 17$(document).ready(function () { 18 $('div.button-widget_perezvon').on('click', function () { 19 let phonezrr = $("#phoneperezvon").val()?.replace(/\D+/g, ""); 20 if (phonezrr.length < 7) { 21 $('#phoneperezvon').css('border', '1px solid #FF0000'); 22 } 23 if (phonezrr.length > 6) { 24 $(this).html('ÐÑпÑавка...'); 25 // sevastopolskaya / kaluzhskaya / lobnenskaya / udalcovo 26 let service_phone = document.getElementById("sevastopolskaya")?.textContent?.replace(/\D+/g, "") || "74951507036"; 27 sendMangoOfficeApi('sevastopolskaya', 'red_button', `7${phonezrr}`, service_phone); 28 showNotification('ÐÑпÑавлено!', 'ÐаÑа заÑвка полÑÑена, Ð¼Ñ Ð¿ÐµÑезвоним в ÑеÑении 30 ÑекÑнд'); 29 showHide_perezvon('perethvon0'); 30 showHide_perezvon('perethvon'); 31 $('.button-widget_perezvon').html('ÐÑпÑавлено'); 32 $('#phoneperezvon').remove(); 33 } 34 }); 35});
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.