Files
e-tib.com/.next/static/chunks/bd93dc44b2deaa66.js
Marc Mintel d14122005d Initial commit: E-TIB production hardening & E2E foundation
Former-commit-id: ef04fca3d76375630c05aac117bf586953f3b657
2026-04-28 19:11:38 +02:00

4 lines
1.1 KiB
JavaScript

;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="bc83096c-ce5b-3caf-fef2-985331dc6ce8")}catch(e){}}();
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,315391,e=>{"use strict";var t=e.i(907358),n=e.i(976819),r=e.i(630655),i=e.i(216033);function l(){let e=(0,n.usePathname)(),{trackEvent:l}=(0,r.useAnalytics)(),s=(0,t.useRef)(new Set);return(0,t.useEffect)(()=>{s.current.clear()},[e]),(0,t.useEffect)(()=>{let t=()=>{let t=window.scrollY,n=window.innerHeight,r=document.documentElement.scrollHeight-n;if(r<=0)return;let c=Math.round(t/r*100);[25,50,75,100].forEach(t=>{c>=t&&!s.current.has(t)&&(s.current.add(t),l(i.AnalyticsEvents.SCROLL_DEPTH,{depth:t,path:e}))})};return window.addEventListener("scroll",t,{passive:!0}),t(),()=>{window.removeEventListener("scroll",t)}},[e,l]),null}e.s(["default",()=>l])},248785,e=>{e.n(e.i(315391))}]);
//# debugId=bc83096c-ce5b-3caf-fef2-985331dc6ce8