1import{n as e}from"./rolldown-runtime-hePW80VL.js";import{cc as t}from"./braze-5BURuUU0.js";import{a as n,i as r,n as i,r as a,t as o}from"./vendor~base~webVitals-DiOZsTjU.js";var s=e({});function c(e){let n=`${t(`api`,`https://microapi.ferryhopper.com/`)}api/web-vitals/collect`,{name:r,value:i,id:a,rating:o,attribution:s}=e,c={name:r,value:i,id:a,rating:o,debugTarget:`unknown`};switch(r){case`CLS`:c.debugTarget=s.largestShiftTarget;break;case`FID`:case`INP`:c.debugTarget=s.eventTarget;break;case`LCP`:c.debugTarget=s.element}c.location=window.location.pathname;let l=JSON.stringify(c);navigator.sendBeacon&&navigator.sendBeacon(n,l)||fetch(n,{body:l,method:`POST`,keepalive:!0})}i(c),a(c),r(c),o(c),n(c);export{s as t};
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.