"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[9395],{49395:(m,l,n)=>{n.d(l,{RudderstackBackend:()=>o});var d=n(3353),i=n(22136),c=n(87851);class o{constructor(a){this.options=a,this.supportedEvents=[d.on.Pageview,d.on.Interaction,d.on.ExperimentView],this.addEvent=e=>{window.rudderanalytics&&((0,i.nB)(e)&&window.rudderanalytics.page?.(),(0,i.fX)(e)&&window.rudderanalytics.track?.(e.payload.interactionName,e.payload.properties),(0,i.p6)(e)&&window.rudderanalytics.track?.("experiment_viewed",{experiment_id:e.payload.experimentId,experiment_group:e.payload.experimentGroup,experiment_variant:e.payload.experimentVariant}))},this.flush=()=>{};const f=a.sdkUrl||"https://cdn.rudderlabs.com/v1/rudder-analytics.min.js";(0,c.k0)(f);const s=window.rudderanalytics=[],u=["load","page","track","identify","alias","group","ready","reset","getAnonymousId","setAnonymousId"];for(let e=0;e<u.length;e++){const r=u[e];s[r]=function(t){return function(){s.push([t].concat(Array.prototype.slice.call(arguments)))}}(r)}if(window.rudderanalytics?.load?.(a.writeKey,a.dataPlaneUrl,{configUrl:a.configUrl,destSDKBaseURL:a.integrationsUrl}),a.user){const{identifier:e,intercomIdentifier:r}=a.user.analytics,t={};r&&(t.Intercom={user_hash:r}),window.rudderanalytics?.identify?.(e,{email:a.user.email,orgId:a.user.orgId,language:a.user.language,version:a.buildInfo.version,edition:a.buildInfo.edition},t)}}}}}]);

//# sourceMappingURL=9395.270d3d2fa5a291201470.js.map