1if(typeof AOS!=='undefined'){AOS.init({duration:800,once:!0,disable:function(){return window.matchMedia('(prefers-reduced-motion: reduce)').matches||document.documentElement.classList.contains('accessibility-no-anim')}})}else{document.documentElement.classList.add('aos-unavailable')} 2window.addEventListener('load',function(){if(typeof AOS!=='undefined'){AOS.refresh()}});document.addEventListener('DOMContentLoaded',function(){const feedbackForm=document.getElementById('site-feedback-form');if(feedbackForm){feedbackForm.addEventListener('submit',function(e){e.preventDefault();const form=this;const btn=form.querySelector('button[type="submit"]');const msgBox=form.querySelector('.form-feedback-message');const btnTextSpan=btn.querySelector('span');const originalText=btnTextSpan.innerText;const consentCb=form.querySelector('input[name="user_consent"]');if(consentCb&&!consentCb.checked){msgBox.style.backgroundColor='rgba(var(--color-white--rgb), 0.05)';msgBox.style.color='var(--color-white)';msgBox.style.border='1px solid var(--color-error)';msgBox.innerHTML=(typeof currentLang!=='undefined'&¤tLang==='en')?'Please consent to the processing of personal data.':'ÐÑÐ´Ñ Ð»Ð°Ñка, дайÑе Ð·Ð³Ð¾Ð´Ñ Ð½Ð° обÑÐ¾Ð±ÐºÑ Ð¿ÐµÑÑоналÑÐ½Ð¸Ñ Ð´Ð°Ð½Ð¸Ñ .';msgBox.style.display='block';return} 3btn.disabled=!0;btnTextSpan.innerText='ÐÑдпÑавка...';msgBox.style.display='none';let restUrl='/wp-json/impulse/v1/feedback';const formDataStr=jQuery(form).serialize();jQuery.ajax({url:restUrl,type:'POST',data:formDataStr,success:function(res){if(res&&res.success){form.reset();msgBox.style.backgroundColor='#f0fdf4';msgBox.style.color='#166534';msgBox.style.border='1px solid #bbf7d0';msgBox.innerHTML=res.data||'УÑпÑÑно!';msgBox.style.display='block';setTimeout(()=>{const closeBtn=form.closest('.popup')?form.closest('.popup').querySelector('.popup__close'):null;if(closeBtn)closeBtn.click();const calendarCloseBtn=form.closest('.calendar-side-panel')?form.closest('.calendar-side-panel').querySelector('#callbackClose'):null;if(calendarCloseBtn)calendarCloseBtn.click();msgBox.style.display='none'},4000)}else{msgBox.style.backgroundColor='#fef2f2';msgBox.style.color='#991b1b';msgBox.style.border='1px solid #fecaca';msgBox.innerHTML=(res&&res.data)?res.data:('Ðомилка: '+JSON.stringify(res));msgBox.style.display='block'}},error:function(xhr,status,error){msgBox.style.backgroundColor='#fef2f2';msgBox.style.color='#991b1b';msgBox.style.border='1px solid #fecaca';let errText=error;if(xhr.responseJSON&&xhr.responseJSON.data){errText=xhr.responseJSON.data}else if(xhr.responseText){try{const parsed=JSON.parse(xhr.responseText);errText=parsed.data||xhr.responseText.substring(0,50)}catch(e){errText=xhr.responseText.substring(0,100)}} 4msgBox.innerHTML='Ðомилка: '+errText;msgBox.style.display='block'},complete:function(){btn.disabled=!1;btnTextSpan.innerText=originalText}})})}})
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.