1var buttonSrc = '/UI/images/reciteme.png'; 2var serviceUrl = "//api.reciteme.com/asset/js?key="; 3var serviceKey = "5b71ce284db18bad3ef5ad2b6a400d447ca0253e"; 4var options = {}; // Options can be added as needed 5var autoLoad = false; 6var enableFragment = "#reciteEnable"; 7var loaded = [], frag = !1; window.location.hash === enableFragment && (frag = !0); function loadScript(c, b) { var a = document.createElement("script"); a.type = "text/javascript"; a.readyState ? a.onreadystatechange = function () { if ("loaded" == a.readyState || "complete" == a.readyState) a.onreadystatechange = null, void 0 != b && b() } : void 0 != b && (a.onload = function () { b() }); a.src = c; document.getElementsByTagName("head")[0].appendChild(a) } function _rc(c) { c += "="; for (var b = document.cookie.split(";"), a = 0; a < b.length; a++) { for (var d = b[a]; " " == d.charAt(0);)d = d.substring(1, d.length); if (0 == d.indexOf(c)) return d.substring(c.length, d.length) } return null } function loadService(c) { for (var b = serviceUrl + serviceKey, a = 0; a < loaded.length; a++)if (loaded[a] == b) return; loaded.push(b); loadScript(serviceUrl + serviceKey, function () { "function" === typeof _reciteLoaded && _reciteLoaded(); "function" == typeof c && c(); Recite.load(options); Recite.Event.subscribe("Recite:load", function () { Recite.enable() }) }) } "true" == _rc("Recite.Persist") && loadService(); if (autoLoad && "false" != _rc("Recite.Persist") || frag) document.addEventListener ? document.addEventListener("DOMContentLoaded", function (c) { loadService() }) : loadService(); 8 9function reciteSkipSelector(selector) { 10 var elementsToSkip = $(selector); 11 for (var i = 0; i < elementsToSkip.length; i++) { 12 if (elementsToSkip[i]) { 13 elementsToSkip[i].setAttribute('data-recite-skip', true); 14 } 15 } 16 $("reciteword.recite-ignore-styles-background.recite-ignore-styles-color").removeAttr("data-word-value"); 17 $(".material-icons-outlined").css("cssText", $(".material-icons-outlined").css("cssText") + "font-family: 'Material Icons' !important"); 18 $(".material-icons").css("cssText", $(".material-icons").css("cssText") + "font-family: 'Material Icons' !important"); 19 $(".fa").css("cssText", $(".fa").css("cssText") + "font-family: 'FontAwesome' !important"); 20} 21 22// Floating Button: 23function _reciteLoaded() { 24 var selectors = ['.material-icons-outlined', '.material-icons']; 25 for (let selector of selectors) { 26 if (!selector) { 27 continue; 28 } 29 reciteSkipSelector(selector); 30 } 31 if (reciteMeButton && reciteMeButton.parentNode) { 32 reciteMeButton.parentNode.removeChild(reciteMeButton); 33 } 34} 35 36var reciteMeButton; 37function _createReciteButton() { 38 var buttonParentSelector = 'body'; 39 var buttonContainer = document.createElement("div"); 40 var buttonImage = document.createElement("img"); 41 var buttonAlt = "Recite Me accessibility and Language Support"; 42 var buttonTitle = "Launch Recite Me"; 43 44 buttonContainer.setAttribute('id', 'reciteme-button'); 45 buttonContainer.setAttribute('alt', buttonAlt); 46 buttonContainer.setAttribute('title', buttonTitle); 47 buttonImage.setAttribute('alt', buttonAlt); 48 buttonImage.setAttribute('title', buttonTitle); 49 buttonImage.setAttribute('src', buttonSrc); 50 buttonContainer.appendChild(buttonImage); 51 var buttonParent = document.querySelector(buttonParentSelector); 52 buttonParent.appendChild(buttonContainer); 53 buttonContainer.addEventListener("click", function () { 54 loadService(); 55 return false; 56 }); 57 reciteMeButton = buttonContainer; 58} 59if (document.readyState === "loading") { 60 document.addEventListener("DOMContentLoaded", function () { 61 _createReciteButton(); 62 }); 63} else { 64 _createReciteButton(); 65} 66 67$("li span.material-icons-outlined").hover( 68 function () { 69 $("reciteword.recite-ignore-styles-background.recite-ignore-styles-color").removeAttr("data-word-value"); 70 $(".material-icons-outlined").css("cssText", $(".material-icons-outlined").css("cssText") + "font-family: 'Material Icons' !important"); 71 $(".material-icons").css("cssText", $(".material-icons").css("cssText") + "font-family: 'Material Icons' !important"); 72 $(".fa").css("cssText", $(".fa").css("cssText") + "font-family: 'FontAwesome' !important"); 73 });
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.