PageSourceSearch

https://www.therjn.com/assets/js/translit.js

js therjn.com collected 2026-10-02 20:54:43 UTC 1,778 bytes, 89 lines download raw bytes

1var abc1 = new Array();
2abc1['а'] = 'a';
3abc1['б'] = 'b';
4abc1['в'] = 'v';
5abc1['г'] = 'g';
6abc1['д'] = 'd';
7abc1['е'] = 'e';
8abc1['ё'] = 'e';
9abc1['ж'] = 'zh';
10abc1['з'] = 'z';
11abc1['и'] = 'i';
12abc1['й'] = 'i';
13abc1['к'] = 'k';
14abc1['л'] = 'l';
15abc1['м'] = 'm';
16abc1['н'] = 'n';
17abc1['о'] = 'o';
18abc1['п'] = 'p';
19abc1['р'] = 'r';
20abc1['с'] = 's';
21abc1['т'] = 't';
22abc1['у'] = 'u';
23abc1['ф'] = 'f';
24abc1['х'] = 'kh';
25abc1['ц'] = 'ts';
26abc1['ч'] = 'ch';
27abc1['ш'] = 'sh';
28abc1['щ'] = 'shch';
29abc1['ъ'] = '\"';
30abc1['ы'] = 'y';
31abc1['ь'] = '\'';
32abc1['э'] = 'e';
33abc1['ю'] = 'yu';
34abc1['я'] = 'ya';
35abc1['А'] = 'A';
36abc1['Б'] = 'B';
37abc1['В'] = 'V';
38abc1['Г'] = 'G';
39abc1['Д'] = 'D';
40abc1['Е'] = 'E';
41abc1['Ё'] = 'E';
42abc1['Ж'] = 'Zh';
43abc1['З'] = 'Z';
44abc1['И'] = 'I';
45abc1['Й'] = 'I';
46abc1['К'] = 'K';
47abc1['Л'] = 'L';
48abc1['М'] = 'M';
49abc1['Н'] = 'N';
50abc1['О'] = 'O';
51abc1['П'] = 'P';
52abc1['Р'] = 'R';
53abc1['С'] = 'S';
54abc1['Т'] = 'T';
55abc1['У'] = 'U';
56abc1['Ф'] = 'F';
57abc1['Ð¥'] = 'Kh';
58abc1['Ц'] = 'Ts';
59abc1['Ч'] = 'Ch';
60abc1['Ш'] = 'Sh';
61abc1['Щ'] = 'Shch';
62abc1['Ъ'] = '\"\"';
63abc1['Ы'] = 'Y';
64abc1['Ь'] = '\'\'';
65abc1['Э'] = 'E';
66abc1['Ю'] = 'Yu';
67abc1['Я'] = 'Ya';
68
69function translatesymboltocharset1(symb)
70{
71    return abc1[symb]?abc1[symb]:symb;
72}
73
74jQuery('document').ready(function(){
75    var lang=jQuery('#currentLocale').val();
76    if (lang!='en_US') return;
77    var txt=jQuery('#articleCitations').html();
78    if (!txt) return 0;
79    var txtnew='';
80    var symb='';
81    if (!txt) return;
82    for (kk=0;kk<txt.length;kk++){
83        symb = translatesymboltocharset1(txt.substr(kk,1));
84        txtnew = txtnew.substr(0,txtnew.length) + symb;
85    }
86    jQuery('#articleCitations').html(txtnew);
87
88});
89

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.