1(function(){'use strict';var element=document.querySelector('#custom-fonts'),fontPath=element.getAttribute('data-theme-path'),fontCss=element.getAttribute('data-fonts-css'),cssFileRevision=element.getAttribute('data-fonts-revision'),cssHref=fontPath+fontCss;if(canWriteToLS()&&isFileCached(cssFileRevision)){injectRawStyle(localStorage.font_css_cache);}else{window.addEventListener('load',function(){var xhr=new XMLHttpRequest(),text;xhr.open('GET',cssHref,true);xhr.onreadystatechange=function(){if(xhr.readyState===4&&xhr.status===200){text=xhr.responseText;text=text.replace(new RegExp('../fonts/','g'),fontPath+'fonts/');injectRawStyle(text);if(canWriteToLS()){localStorage.font_css_cache=text;localStorage.font_css_revision=cssFileRevision;}}};xhr.send();});} 2function isFileCached(revision){return localStorage.font_css_cache&&(localStorage.font_css_revision===revision);} 3function injectRawStyle(text){var style=document.createElement('style');style.setAttribute('type','text/css');style.setAttribute('id','inject-font');style.innerHTML=text;document.getElementsByTagName('head')[0].appendChild(style);} 4function canWriteToLS(){try{window.localStorage.setItem('_canWriteToLS',1);window.localStorage.removeItem('_canWriteToLS');return true;}catch(e){return false;}}}());
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.