import{o as i,co as g}from"./app-k0jcl5PQ.js";function f(n){function s(a,e){const t=n.config[a.type];if(!(t!=null&&t.isValid(a)))return;const r={...t.logBaseData===!1?{}:n.baseData,...a},c=g.omit(r,["type"]),l=i.mergeOptions(t.analyticsOptions,[n.analyticsOptions,e]);return{data:c,analyticsOptions:l}}function o(a,e){if(!n.shouldLog)return;const t=s(a,e);t&&i.logUserAction(t.data,t.analyticsOptions)}return{getData:s,log:o}}export{f as g};
//# sourceMappingURL=9ZqmMPFe.chunk.js.map
