"use strict";(self.webpackChunk_genially_view_client=self.webpackChunk_genially_view_client||[]).push([[9398],{99398:(e,t,n)=>{n.r(t),n.d(t,{LogRocketAnonymousIntegration:()=>v});var o=n(74579),i=n(9795),r=n(36026),s=n(96543),c=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;const{equals:l}=o.A;class v{constructor(e){this.uniqueEvents=[],this.isActive=void 0!==e,this.lrInstance=e}get active(){return this.isActive}start(){}trackLogRocketEvent(e){const t=e.payload,{name:n,unique:o}=t,s=((e,t)=>{var n={};for(var o in e)a.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&c)for(var o of c(e))t.indexOf(o)<0&&u.call(e,o)&&(n[o]=e[o]);return n})(t,["name","unique"]);r.A.appEnv!==i.H.Local&&r.A.appEnv!==i.H.Dynamic?this.lrInstance.track(n,s):console.log("This video recording event would be tracked in production",{name:n,unique:!1!==o,eventProperties:s})}trackEvent(e){const t=e instanceof s.D;if(!this.isActive||!t)return;const n=!1!==e.payload.unique;if(!n||!this.uniqueEvents.some((t=>l(t,e))))try{this.trackLogRocketEvent(e),n&&this.uniqueEvents.push(e),this.log("Event tracked",e)}catch(o){console.error(o)}}log(e,t){r.A.debug&&console.debug(`[LogRocket] ${e}`,t?{metadata:t}:"")}}}}]);
//# sourceMappingURL=https://s3-static-genially.genially.com/view/static/js/9398.774b353a.chunk.js.map