1jQuery(function($) { 2 3 // Convert English numbers to RTL langs. 4 function codevzReplaceNumbers(e, m, x) { 5 var t = $('html').attr('lang').split("-")[0], 6 n = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], 7 r = ["\u0660", "\u0661", "\u0662", "\u0663", "\u0664", "\u0665", "\u0666", "\u0667", "\u0668", "\u0669"], 8 a = ["\u06F0", "\u06F1", "\u06F2", "\u06F3", "\u06F4", "\u06F5", "\u06F6", "\u06F7", "\u06F8", "\u06F9"], 9 i = { 10 "default": { 11 en: n, 12 ar: r, 13 fa: a 14 }, 15 "reverse": { 16 ar: r, 17 fa: a, 18 en: n 19 } 20 }, 21 o = i[m || "default"][t] || n; 22 23 $(e).contents().each(function() { 24 if (3 === this.nodeType) { 25 var nodeValue = this.nodeValue; 26 for (var s = 0; s < n.length; s++) { 27 nodeValue = nodeValue.replace(new RegExp(n[s], "g"), o[s]); 28 } 29 this.nodeValue = nodeValue; 30 } else if (1 === this.nodeType) { 31 var $this = $(this); 32 if (!($this.is(x.join(", ")) || $this.closest(x.join(", ")).length > 0)) { 33 codevzReplaceNumbers(this, m, x); 34 } 35 } 36 }); 37 } 38 39 // Selector, reverse mode, exclude. 40 codevzReplaceNumbers( 'body', null, ['.cz_ignore_number', '.cz_counter_num', '.progress_bar', '.glider', 'style', 'script', 'link', 'textarea', 'input'] ); 41 42});
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.