1var DntErrors={errorMsg:{},errorStack:[],addError:function(elt_id){var error_exists=false;var stack_length=DntErrors.errorStack.length;for(i=0;i<stack_length;i++){if(DntErrors.errorStack[i]==elt_id||(elt_id.includes('amount')&&DntErrors.errorStack[i]==='choose_amount')){error_exists=true;break;}} 2if(error_exists==false){DntErrors.errorStack.push(elt_id);}},getGlobalErrorMessage:function(){const errorCount=DntErrors.errorStack.length;if(errorCount==1){return DntErrors.errorMsg.error;} 3return DntErrors.errorMsg.errors.replace('%s',errorCount);},removeError:function(elt_id){var stack_length=DntErrors.errorStack.length;for(i=0;i<stack_length;i++){if(DntErrors.errorStack[i]==elt_id){DntErrors.errorStack.splice(i,1);}}},resetErrors:function(){DntErrors.errorStack=[];},displayErrors:function(){$('#form-error').detach();var stack_length=DntErrors.errorStack.length;if(stack_length==0){return;} 4$('.ira-processing').removeClass('ira-processing');var e=document.createElement('div');e.setAttribute('id','form-error');e.setAttribute('class','line');var h3=document.createElement('h3');e.appendChild(h3);const txth3=document.createTextNode(DntErrors.getGlobalErrorMessage());h3.appendChild(txth3);var ul=document.createElement('ul');e.appendChild(ul);for(i=0;i<stack_length;i++){var li=document.createElement('li');ul.appendChild(li);var error_txt=$('#'+DntErrors.errorStack[i]).attr('data-ira-errormsg')||eval('DntErrors.errorMsg.'+DntErrors.errorStack[i]);if(error_txt){DntErrors.splitAndAppendErrorMsg(li,error_txt);}else{var label=$("label[for='"+DntErrors.errorStack[i]+"']").clone();label.children().last().remove();label.children().last().remove();txtli=document.createTextNode(DntErrors.errorMsg.qualification.replace('%s',label.text().trim()));li.appendChild(txtli);}} 5var cont=$('#form-info');if(cont.length!=0){cont.after(e);}else{var cont=$('#content');if(cont.length==0){cont=$('#main');} 6cont.prepend(e);} 7var url=window.location.href;var reg=new RegExp('#form\-error');if(!reg.test(url)){location.href=url+'#form-error';}else{location.href=url;} 8$('body').trigger($.Event("error_change"));},updateCustomErrorMsg:function($input,errorMsg){$input.attr('data-ira-errormsg',errorMsg);},splitAndAppendErrorMsg:function($container,errorMsg){const errorLines=errorMsg.split('<br>');for(let j=0;j<errorLines.length;j++){let errorNode=document.createTextNode(errorLines[j]);$container.append(errorNode);if(j<errorLines.length-1){$container.append(document.createElement('br'));}}}}
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.