https://femantzaros.com/wp-content/plugins/sitepress-multilingual-cms/res/js/sitepress.js?ver=5.2.21
1 2icl_lang = icl_vars.current_language; 3icl_home = icl_vars.icl_home; 4 5function addLoadEvent(func) { 6 var oldonload = window.onload; 7 if (typeof window.onload != 'function') { 8 window.onload = func; 9 } else { 10 window.onload = function() { 11 if (oldonload) { 12 oldonload(); 13 } 14 func(); 15 } 16 } 17} 18addLoadEvent(function(){ 19 var lhid = document.createElement('input'); 20 lhid.setAttribute('type','hidden'); 21 lhid.setAttribute('name','lang'); 22 lhid.setAttribute('value',icl_lang); 23 src = document.getElementById('searchform'); 24 if(src){ 25 src.appendChild(lhid); 26 src.action=icl_home; 27 } 28}); 29 30function icl_retry_mtr(a){ 31 var id = a.getAttribute('id'); 32 spl = id.split('_'); 33 var loc = location.href.replace(/#(.*)$/,'').replace(/(&|\?)(retry_mtr)=([0-9]+)/g,'').replace(/&nonce=([0-9a-z]+)(&|$)/g,''); 34 if(-1 == loc.indexOf('?')){ 35 url_glue='?'; 36 }else{ 37 url_glue='&'; 38 } 39 location.href=loc+url_glue+'retry_mtr='+spl[3]+'&nonce='+spl[4]; 40 return false; 41}
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.