"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[4692],{44692:(c,i,o)=>{o.d(i,{BrowserConsoleBackend:()=>p});var a=o(3353),t=o(22136);class p{constructor(){this.options={},this.supportedEvents=[a.on.Pageview,a.on.Interaction,a.on.ExperimentView],this.addEvent=e=>{if((0,t.nB)(e)&&console.log("[EchoSrv:pageview]",e.payload.page),(0,t.fX)(e)){const r=e.payload.interactionName;console.log("[EchoSrv:event]",r,e.payload.properties);const s=Object.entries(e.payload.properties??{}).filter(([v,l])=>{const n=typeof l;return!(n==="string"||n==="number"||n==="boolean"||n==="undefined")});s.length>0&&console.warn("Event",r,"has invalid property types. Event properties should only be string, number or boolean. Invalid properties:",Object.fromEntries(s))}(0,t.p6)(e)&&console.log("[EchoSrv:experiment]",e.payload)},this.flush=()=>{}}}}}]);

//# sourceMappingURL=4692.815e07ece015cbd4fef5.js.map