1$(function () { 2 $(document).on('submit', 'form', function (event) { 3 const $form = $(this); 4 5 if ('get' === $form.attr('method')) { 6 return; 7 } 8 9 let $csrfInput = $form.find('[name="' + window.csrfTokenName + '"]'); 10 11 if (0 !== $csrfInput.length) { 12 $csrfInput.val(window.csrfTokenValue); 13 } else { 14 $csrfInput = $('<input type="hidden" name="' + window.csrfTokenName + '" value="' + window.csrfTokenValue + '"/>'); 15 $form.append($csrfInput); 16 } 17 }); 18});
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.