1'use strict'; 2 3/*请æ±çå°ååç»æäºæ¬¡å¤ç*/ 4window.$dataCommon = { 5 repsData: [], 6 repsApi: [], 7 //ç»ææ°æ®è¿è¡è½¬æ¢ 8 doConvert: function doConvert(dataNew) { 9 if (window.$dataCommon && window.$dataCommon.repsData && window.$dataCommon.repsData.length > 0) { 10 (function () { 11 var jsonS = JSON.stringify(dataNew); 12 window.$dataCommon.repsData.forEach(function (element) { 13 var ch = element.key; 14 if (jsonS.includes(element.key)) { 15 jsonS = jsonS.replace(new RegExp(ch, 'g'), element.value); 16 } 17 }); 18 dataNew = JSON.parse(jsonS); 19 })(); 20 } 21 return dataNew; 22 }, 23 //å¤çæ¥å£æ¿æ¢ 24 doApiUrl: function doApiUrl(dataUrl) { 25 if (window.$dataCommon && window.$dataCommon.repsApi && window.$dataCommon.repsApi.length > 0) { 26 (function () { 27 var jsonS = dataUrl; 28 window.$dataCommon.repsApi.forEach(function (element) { 29 var ch = element.key; 30 if (jsonS.includes(element.key)) { 31 jsonS = jsonS.replace(new RegExp(ch, 'g'), element.value); 32 } 33 }); 34 dataUrl = jsonS; 35 })(); 36 } 37 return dataUrl; 38 } 39};
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.