1import{aC as g,n as a}from"./CJ_zYOxm.js";let l;const p=new Uint8Array(16);function f(){if(!l&&(l=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!l))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return l(p)}const n=[];for(let e=0;e<256;++e)n.push((e+256).toString(16).slice(1));function y(e,t=0){return n[e[t+0]]+n[e[t+1]]+n[e[t+2]]+n[e[t+3]]+"-"+n[e[t+4]]+n[e[t+5]]+"-"+n[e[t+6]]+n[e[t+7]]+"-"+n[e[t+8]]+n[e[t+9]]+"-"+n[e[t+10]]+n[e[t+11]]+n[e[t+12]]+n[e[t+13]]+n[e[t+14]]+n[e[t+15]]}const h=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),s={randomUUID:h};function w(e,t,d){if(s.randomUUID&&!e)return s.randomUUID();e=e||{};const o=e.random||(e.rng||f)();return o[6]=o[6]&15|64,o[8]=o[8]&63|128,y(o)}const _={host:"us-west-1.log.aliyuncs.com",project:"pai-us",logstore:"web-askmath",time:.05,count:1};function x(){const e=navigator.userAgent;return e.indexOf("Chrome")!==-1?"chrome":e.indexOf("Safari")!==-1?"safari":e.indexOf("Firefox")!==-1?"firefox":e.indexOf("Edge")!==-1||e.indexOf("Edg")!==-1?"edge":e.indexOf("MSIE")!==-1||e.indexOf("Trident")!==-1?"internet_explorer":"unknown_browser"}function U(){try{localStorage.getItem("web-model-uuid")||(localStorage.setItem("web-model-install-time",Math.round(new Date().getTime()/1e3).toString()),localStorage.setItem("web-model-uuid",w()))}catch(e){console.error("Failed to initialize UUID:",e)}}U();function I(){try{return a().email||""}catch(e){return console.error(e),""}}function S(){try{return a().user_id||""}catch(e){return console.error(e),""}}function D(e,t,d,o){g(()=>import("./DAR7SY7M.js"),[],import.meta.url).then(u=>{const c=u.default;let r="en";const i=window.location.pathname.toLowerCase();i.includes("/de/")?r="de":i.includes("/es/")?r="es":i.includes("/fr/")?r="fr":i.includes("/jp/")?r="jp":i.includes("/pt/")?r="pt":i.includes("/ru/")?r="ru":i.includes("/zh/")&&(r="zh");let m={email:I(),uuid:localStorage.getItem("web-model-uuid")||"",event_time:Math.round(new Date().getTime()/1e3).toString(),event_category:e||"",event_operate:t||"",event_tag:d||"",event_detail:o||"",event_language:r,url:window.location.href,type:x(),install_time:localStorage.getItem("web-model-install-time")||"",user_id:S()||"0",isMobile:navigator.userAgent.toLowerCase().includes("mobile")?"1":"0",isPay:(()=>{try{return a().is_payment||!1}catch{return!1}})()};new c(_).send(m)}).catch(u=>{console.error("Failed to load SlsTracker:",u)})}export{D as s};
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.