1import{r as e}from"./rolldown-runtime-C60lm6uB.js";import{i as t}from"./framework-D_rUT4EX.js";import{Z as n}from"./vinext-D-dV_khO.js";var r=e(t(),1);function i(e){return!(e===`/admin`||e.startsWith(`/admin/`)||e===`/organisateur`||e.startsWith(`/organisateur/`)||e===`/coureur`||e.startsWith(`/coureur/`)||e===`/connexion`)}function a(){return window.matchMedia(`(max-width: 767px)`).matches?`mobile`:window.matchMedia(`(max-width: 1024px)`).matches?`tablet`:`desktop`}function o(){let e=n(),t=(0,r.useRef)(null);return(0,r.useEffect)(()=>{!i(e)||t.current===e||(t.current=e,fetch(`/api/metrics`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({metric:`page_view`,slug:`site`,pagePath:e,placement:`page_view`,deviceCategory:a()}),keepalive:!0}).catch(()=>void 0))},[e]),null}export{o as default};
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.