1import{g as e,h as r,u as s}from"./2c1ab0fe.RaLGJvq2.js";import{j as n}from"./f67abd2c.BTHhdhoM.js";import{l as i}from"./164ad2e3.bPUx3Fg0.js";function t({impressionType:t,impressionFeatures:o,enabled:m,children:p}){const c=function({impressionType:s,impressionFeatures:t,enabled:o=!0}){const m=i(),p=e(null),c=e(!1),u=n({impressionType:s,impressionFeatures:t});return r(()=>{if(!o||c.current||!window.IntersectionObserver)return;const e=new IntersectionObserver(s=>{const n=s.some(({isIntersecting:e})=>e);r&&n&&(e.unobserve(r),c.current=!0,m("impression",{...u.current,timestamp:new Date}))},{threshold:1}),r=p.current;return r&&e.observe(r),()=>{r&&e.unobserve(r)}},[m,o,u]),p}({impressionType:t,impressionFeatures:o,enabled:m});return s("div",{ref:c,children:p})}export{t as I};
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.