(window.webpackJsonpLIS=window.webpackJsonpLIS||[]).push([[5],{548:function(e,t,a){"use strict";a.r(t),a.d(t,"initSiteTracking",(function(){return r}));var n=function(e){return function(e,t,a){var n=new Date;n.setTime(n.getTime()+864e5*a),document.cookie=e+"="+t+";path=/;expires="+n.toGMTString()}(e,"",-1)},o=function(e){var t,a,n,o,i,c;t=window,a=document,n="script",o="ga",t.GoogleAnalyticsObject=o,t.ga=t.ga||function(){(t.ga.q=t.ga.q||[]).push(arguments)},t.ga.l=1*new Date,i=a.createElement(n),c=a.getElementsByTagName(n)[0],i.async=1,i.src="//www.google-analytics.com/analytics.js",c.parentNode.insertBefore(i,c),ga("create",e.id,{cookieName:"gaCookie",cookieExpires:7776e3}),ga("set","anonymizeIp",!0),ga("send","pageview")},i=function(e){e.analytics.id?("opt-out"===e.mode&&o(e.analytics),document.addEventListener("cookie-consent-status-change",(function(t){"allow"===t.detail.status?o(e.analytics):function(e){n("gaCookie"),n("_gat"),n("_gat_gtag_".concat(e.id)),n("gaCookie_gid")}(e.analytics)}))):console.warn("Site Tracking: No analytics ID specified")},c=function(e){!function(e,t,a,n,o){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var i=t.getElementsByTagName(a)[0],c=t.createElement(a);c.async=!0,c.src="https://www.googletagmanager.com/gtm.js?id="+o,i.parentNode.insertBefore(c,i)}(window,document,"script","dataLayer",e.id)},s=function(e){e.tagManager.id?("opt-out"!==e.mode&&1!==e.tagManager.persist||c(e.tagManager),document.addEventListener("cookie-consent-status-change",(function(t){"allow"===t.detail.status?c(e.tagManager):(n("_gid"),n("_ga"))}))):console.warn("Site Tracking: No tag manager ID specified")},g=function(){document.addEventListener("cookie-consent-status-change",(function(e){var t;"allow"===e.detail.status?((t=window._paq||[]).push(["rememberConsentGiven"]),t.push(["forgetUserOptOut"])):function(){var e=window._paq||[];e.push(["forgetConsentGiven"]),e.push(["optUserOut"]),n("paddlejs_campaign_referrer"),n("paddlejs_checkout_variant"),n("MATOMO_SESSID")}()}))},r=function(e){"analytics"===e.type?i(e):"tag-manager"===e.type?s(e):"matomo"===e.type&&g()}}}]);