"use strict";(self.webpackChunk_genially_view_client=self.webpackChunk_genially_view_client||[]).push([[9398],{99398:(e,n,t)=>{t.r(n),t.d(n,{LogRocketAnonymousIntegration:()=>b});var r=t(84671),i=t.n(r),o=t(74579),u=t(9795),a=t(36026),c=t(96543);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var f=["name","unique"];function s(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,v(r.key),r)}}function v(e){var n=function(e,n){if("object"!=l(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==l(n)?n:n+""}var y=o.A.equals,p=function(e){var n=e.payload,t=n.name,r=n.unique,o=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==n.indexOf(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t=o[r],-1===n.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(n,f);a.A.appEnv!==u.H.Local&&a.A.appEnv!==u.H.Dynamic?i().track(t,o):console.log("This video recording event would be tracked in production",{name:t,unique:!1!==r,eventProperties:o})},b=function(){return e=function e(){var n,t,r;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),n=this,r=[],(t=v(t="uniqueEvents"))in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,this.isActive=void 0!==i()},n=[{key:"active",get:function(){return this.isActive}},{key:"start",value:function(){}},{key:"trackEvent",value:function(e){var n=e instanceof c.D;if(this.isActive&&n){var t=!1!==e.payload.unique;if(!t||!this.uniqueEvents.some((function(n){return y(n,e)})))try{p(e),t&&this.uniqueEvents.push(e),this.log("Event tracked",e)}catch(r){console.error(r)}}}},{key:"log",value:function(e,n){a.A.debug&&console.debug("[LogRocket] ".concat(e),n?{metadata:n}:"")}}],n&&s(e.prototype,n),t&&s(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n,t}()}}]);
//# sourceMappingURL=https://s3-static-genially.genially.com/view/static/js/9398.2250fc55.chunk.js.map