1function getEnv() { 2 const hostname = window.location.hostname; 3 4 if ( 5 hostname.includes("localhost") || 6 hostname.includes("10") || 7 hostname.includes("dev") || 8 hostname.includes("test") || 9 hostname.includes("qa") 10 ) { 11 return "test"; 12 } else { 13 return "prod"; 14 } 15} 16 17const env = getEnv(); 18 19// åç¹ 20(function (win, doc, sc, url, evt, elem, dd) { 21 win.sendTrackerName = evt; 22 win[evt] = 23 win[evt] || 24 function () { 25 (win[evt].queue = win[evt].queue || []).push(arguments); 26 }; 27 win[evt].start = +new Date(); 28 win["ath_elpv"] = 29 win["ath_elpv"] || 30 function () { 31 (win["ath_elpv"].queue = win["ath_elpv"].queue || []).push(arguments); 32 }; 33 elem = doc.createElement(sc); 34 dd = doc.getElementsByTagName(sc)[0]; 35 elem.async = 1; 36 elem.src = url; 37 (doc.body || doc.documentElement).appendChild(elem); 38})( 39 window, 40 document, 41 "script", 42 "https://h5.eagllwin.com/bigdata-sdk/athena-etm.js?v=" + 43 Math.round(new Date().getTime() / 1000 / 300), 44 "ath_send", 45); 46 47window.etm_setting = { 48 openEtm: "open", // æ¯å¦å¼å¯åç¹åè½ï¼è¯·æ³¨æå个å½å®¶éç§æ¿çï¼é¨åå½å®¶éè¦ç¨æ·å ææ 49 appid: 3018, // åç¹ç®¡çå¹³å°ä¸çappid, æ°å¼ç±»å 50 app_vn: "1.0", // ç½é¡µåºç¨çæ¬å·ï¼å符串类å 51 env, // test: æµè¯ç¯å¢æ¨¡å¼ãå¼å¯æ¥å¿ï¼ prod: ç产ç¯å¢ãå ³éæ¥å¿ 52 loc: "dsu-auto", // aws-eur: AWS ç±å°å °å¯ç¨åº, aws-ind: AWS å°åº¦å¯ç¨åºï¼ali-eur: é¿éäºæ³å °å ç¦å¯ç¨åºï¼dsu-autoèªå¨è§£æ 53 web_view: "close", // å ³é页颿µè§é¢ç½®åç¹éé 54 web_click: "close", // å ³éå ç´ ç¹å»é¢ç½®åç¹éé 55 web_leave: "close", // å ³é页é¢ç¦»å¼èªé¢ç½®åç¹éé 56 web_exposure: "close", // å ³é页é¢åçé¢ç½®åç¹éé 57 web_stay: "close", // å ³é页é¢å ç´ æå é¢ç½®åç¹éé 58 js_bridge: false, 59};
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.