1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function($,Drupal){Drupal.behaviors.pdfLinkTarget={attach:function(context,settings){$('.page-body',context).find('a[href*=".pdf"]').each(function(){var href=$(this).attr('href');if(href&&href.match(/\.pdf($|[?#])/i)&&!$(this).attr('target')){$(this).attr('target','_blank');$(this).attr('rel','noopener nofollow');if(href.indexOf('?')>-1){if(!/[?&]inline=1($|&|#)/.test(href)){href=href.replace(/(#.*)?$/,'&inline=1$1');$(this).attr('href',href);}}else{if(!/[?&]inline=1($|&|#)/.test(href)){href=href.replace(/(#.*)?$/,'?inline=1$1');$(this).attr('href',href);}}var match=href.match(/\/([^\/]+\.pdf)(?:[?#].*)?$/i);if(match&&match[1])$(this).attr('data-file-name',match[1]);}});}};})(jQuery,Drupal);;
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.