1import{r as e}from"./rolldown-runtime-B0Z9INg1.js";import{K as t,R as n,a as r,d as i,it as a,r as o,rt as s,t as c,z as l}from"./event-logger-opS20UOn.js";var u=e({logCustomEvent:()=>d});function d(e,u){if(!o.rr())return!1;if(e==null||e.length<=0)return a.error(`logCustomEvent requires a non-empty eventName, got "${e}". Ignoring event.`),!1;if(!l(e,`log custom event`,`the event name`))return!1;let[d,f]=n(u,t.$e,`eventProperties`,`log custom event "${e}"`,`event`);if(!d)return!1;let p=o.l();if(p&&p.Ce(e))return a.info(`Custom Event "${e}" is blocklisted, ignoring.`),!1;let m=c.lt(s.CustomEvent,{n:e,p:f});if(m.W){a.info(`Logged custom event "${e}".`);for(let t of m.Ee)r.o().he(i.xe,[e,u],t)}return m.W}export{u as n,d as t}; 2//# sourceMappingURL=log-custom-event-UvYInVez.js.map
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.