1import{t as u,o as l,aU as a,_ as f,bh as m,bi as p}from"./DWeRgZHd.js";const r=u.ELEMENTCLICK,_=u.PICTURESTAY;function E(e){const t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function S(e){let t=0;for(;e;)t+=e.offsetTop,e=e.offsetParent;return t}function w(){const e=document.querySelectorAll("h1, h2");for(const[n,o]of e.entries())if(E(o))return o.dataset.section||`section_${n+1}`;const t=[];e.forEach((n,o)=>{const s=S(n);t[o]=s});const c=window.scrollY||document.documentElement.scrollTop,i=t.findIndex(n=>c<n);return i===1?"hero_section":`section_${i}`}function d(){const e=w();if(e){const{setSectionBizParams:t}=m();t(e)}}const C=()=>{const e=p(()=>{d()},500);l(()=>{d(),window.addEventListener("scroll",e)}),a(()=>{window.removeEventListener("scroll",e)})},h=()=>{const e=f;return{_pointFeatureDownLoadClick:n=>{e(r,{element_position:"hero_section",element_type:"button",element_name:"download",...n})},_pointPictureSlider:n=>{e(_,{element_position:"hero_section",element_type:"slider",element_name:"slider",action_duration:0,...n})},_pointFeatureSection:C,_pointConvertPageClick:n=>{e(r,{...n})}}};export{h as u};
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.