"use strict";(self.webpackChunk_genially_view_client=self.webpackChunk_genially_view_client||[]).push([[550],{45298:(e,n,t)=>{t.r(n),t.d(n,{GeniallyLogrocketAppId:()=>v,GeniallyLogrocketPlayAppId:()=>h,GeniallyLogrocketViewAppId:()=>y,hasOnetrustPermissionToLoadLogRocket:()=>m,loadLogRocketIntegration:()=>g});var o=t(84671),r=t.n(o),i=t(61737),a=t.n(i),c=t(9795),l=t(36358),u=0,s=function(e,n){return new Promise((function(t){setTimeout((function(){return window[e]?t(!0):u>=n?t(!1):(u+=1,t(s(e,n)))}),100)}))},f=t(80827),p=function(e,n,t,o){return new(t||(t=Promise))((function(r,i){function a(e){try{l(o.next(e))}catch(n){i(n)}}function c(e){try{l(o.throw(e))}catch(n){i(n)}}function l(e){var n;e.done?r(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(a,c)}l((o=o.apply(e,n||[])).next())}))},d=function(e,n){var t,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=(r=a.trys).length>0&&r[r.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=n.call(e,a)}catch(c){i=[6,c],o=0}finally{t=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},v="genially-z2e5p/genially",y="genially-z2e5p/view-em2xk",h="genially-z2e5p/play-ioyop";function w(e){var n,t=e.releaseVersion,o=e.appId,i=e.parentDomain,l={release:t,mergeIframes:!0,childDomains:e.childDomains,parentDomain:i,rootHostname:c.qC,network:{isEnabled:!1}};n=l,Object.keys(n).forEach((function(e){return e in n&&void 0===n[e]?delete n[e]:{}})),r().init(o,l),a()(r())}var m=function(){var e;return!0===(null===(e=window.OnetrustActiveGroups)||void 0===e?void 0:e.includes(f.$i.Performance))},g=function(e,n){return void 0===n&&(n=!1),p(void 0,void 0,void 0,(function(){return d(this,(function(t){switch(t.label){case 0:return l.A.appEnv===c.H.Local||l.A.appEnv===c.H.Dynamic?[3,3]:n?(w(e),[2,!0]):[4,(o="Optanon",new Promise((function(e){u=0,e(s(o,20))})))];case 1:return t.sent()&&window.Optanon?m()?(w(e),[2,!0]):[4,new Promise((function(e){var n;null===(n=window.Optanon)||void 0===n||n.OnConsentChanged((function(n){e(n.detail)}))}))]:[3,3];case 2:if(t.sent().includes(f.$i.Performance))return w(e),[2,!0];t.label=3;case 3:return[2,!1]}var o}))}))}},61737:(e,n,t)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){document.body.addEventListener("click",(function(e){try{for(var n=r(e.target),t=[],o=n;o;){var i="function"===typeof o.elementType&&o.elementType.displayName;i&&t.push(i),o=o.return}e.__lrName=t}catch(a){console.error("logrocket-react caught an error while hooking into React. Please make sure you are using the correct version of logrocket-react for your version of react-dom.")}}),{capture:!0,passive:!0})};var o=t(70377),r=void 0,i=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;i&&i.Events&&i.Events[0]?r=i.Events[0]:console.warn("logrocket-react does not work with this version of React"),e.exports=n.default}}]);
//# sourceMappingURL=https://s3-static-genially.genially.com/view/static/js/matahari.0d578772.chunk.js.map