{"context":{"brandSettings":{"accentColor1":{"hex":"#58c3ef"},"accentColor2":{"hex":"#15af97"},"accentColor3":{"hex":"#edc800"},"bodyFont":{"font":"Poppins","fontSet":"GOOGLE"},"colors":[{"hex":"#004d67"},{"hex":"#ffffff"},{"hex":"#e7615a"},{"hex":"#312f33"},{"hex":"#a6a6a6"},{"hex":"#000000"}],"fallbackFont":{"font":"verdana, geneva","fontSet":"DEFAULT"},"favicon":{"domain":null,"name":"Discngine","src":"https://files.discngine.com/hubfs/Favicon.png"},"favicons":[{"domain":null,"name":"Discngine","src":"https://files.discngine.com/hubfs/Favicon.png"}],"fonts":[],"logo":{"alt":"Discngine","domain":null,"height":119,"link":"discngine.com","name":"discngine_logo_color_light_no BG (2).png","src":"https://files.discngine.com/hubfs/Signature/logo%20white.png","width":250},"logos":[{"alt":"Discngine","domain":null,"height":119,"link":"discngine.com","name":"discngine_logo_color_light_no BG (2).png","src":"https://files.discngine.com/hubfs/Signature/logo%20white.png","width":250},{"alt":null,"domain":null,"height":1000,"link":"","name":"Discngine dark background","src":"https://files.discngine.com/hubfs/discngine_logo_color_background.png","width":2100}],"primaryColor":{"hex":"#004d67"},"primaryFavicon":{"domain":null,"name":"Discngine","src":"https://files.discngine.com/hubfs/Favicon.png"},"primaryFont":{"font":"Poppins","fontSet":"GOOGLE"},"primaryLogo":{"alt":"Discngine","domain":null,"height":119,"link":"discngine.com","name":"discngine_logo_color_light_no BG (2).png","src":"https://files.discngine.com/hubfs/Signature/logo%20white.png","width":250},"secondaryColor":{"hex":"#e77707"}},"menuData":{"activeBranch":false,"activeNode":false,"blogNode":false,"categoryId":null,"children":[{"activeBranch":false,"activeNode":false,"blogNode":false,"categoryId":null,"children":[],"contentGroupId":null,"contentType":null,"errorMessage":null,"guid":null,"isDeleted":false,"isNonLinkingNode":false,"isPublished":true,"label":"Tickets","level":1,"linkTarget":null,"live":true,"nodeType":3,"pageId":null,"pageTitle":null,"parentGuid":null,"slug":null,"state":null,"subcategory":null,"topLevelAncestorGuid":null,"url":"https://www2.discngine.com/tickets-view","urlParamStr":"","urlWithoutAnchor":"https://www2.discngine.com/tickets-view"},{"activeBranch":false,"activeNode":false,"blogNode":false,"categoryId":null,"children":[],"contentGroupId":null,"contentType":null,"errorMessage":null,"guid":null,"isDeleted":false,"isNonLinkingNode":false,"isPublished":true,"label":"Sign out","level":1,"linkTarget":null,"live":true,"nodeType":3,"pageId":null,"pageTitle":null,"parentGuid":null,"slug":null,"state":null,"subcategory":null,"topLevelAncestorGuid":null,"url":"https://www2.discngine.com/_hcms/mem/logout","urlParamStr":"","urlWithoutAnchor":"https://www2.discngine.com/_hcms/mem/logout"},{"activeBranch":false,"activeNode":false,"blogNode":false,"categoryId":null,"children":[],"contentGroupId":null,"contentType":null,"errorMessage":null,"guid":null,"isDeleted":false,"isNonLinkingNode":false,"isPublished":true,"label":"Products Documentation","level":1,"linkTarget":"_blank","live":true,"nodeType":3,"pageId":null,"pageTitle":null,"parentGuid":null,"slug":null,"state":null,"subcategory":null,"topLevelAncestorGuid":null,"url":"https://docs.discngine.com/","urlParamStr":"","urlWithoutAnchor":"https://docs.discngine.com/"}],"contentGroupId":null,"contentType":null,"errorMessage":null,"guid":null,"isDeleted":false,"isNonLinkingNode":false,"isPublished":true,"label":null,"level":0,"linkTarget":null,"live":true,"nodeType":3,"pageId":null,"pageTitle":null,"parentGuid":null,"slug":null,"state":null,"subcategory":null,"topLevelAncestorGuid":null,"url":null,"urlParamStr":"","urlWithoutAnchor":"null"},"themeSettings":{"bodyFont":{"casing":null,"color":null,"css":"font-family: Poppins;","fallback":null,"font":"Poppins","font_set":"DEFAULT","letter_spacing":null,"line_height":null,"size":null,"size_unit":null,"style":"font-family: Poppins; font-style: normal; font-weight: normal; text-decoration: none","styles":{"font-family":"Poppins","font-style":"normal","font-weight":"normal","text-decoration":"none"},"variant":null},"primaryFont":{"casing":null,"color":null,"css":"font-family: Poppins;","fallback":null,"font":"Poppins","font_set":"DEFAULT","letter_spacing":null,"line_height":null,"size":null,"size_unit":null,"style":"font-family: Poppins; font-style: normal; font-weight: normal; text-decoration: none","styles":{"font-family":"Poppins","font-style":"normal","font-weight":"normal","text-decoration":"none"},"variant":null},"trellisBorderRadius":"rounded","trellisColorFillPrimaryDefault":{"color":"#004d67","css":"#004d67","hex":"#004d67","opacity":null,"rgb":"rgb(0, 77, 103)","rgba":"rgba(0, 77, 103, 1)"},"trellisColorFillSecondaryDefault":{"color":"#e77707","css":"#e77707","hex":"#e77707","opacity":null,"rgb":"rgb(231, 119, 7)","rgba":"rgba(231, 119, 7, 1)"},"trellisColorFillSurfaceDefault":"light","trellisColorFillTertiaryDefault":{"color":"#58c3ef","css":"#58c3ef","hex":"#58c3ef","opacity":null,"rgb":"rgb(88, 195, 239)","rgba":"rgba(88, 195, 239, 1)"},"trellisColorTextInteractiveDefault":{"color":"#666666","css":"#666666","hex":"#666666","opacity":null,"rgb":"rgb(102, 102, 102)","rgba":"rgba(102, 102, 102, 1)"}},"companyName":"Discngine Support"},"modules":{},"dndAreas":{},"globalPartials":{},"headHtml":"<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> \n<script src=\"/hs/hsstatic/jquery-libs/static-1.1/jquery/jquery-1.7.1.js\"></script> \n<script>hsjQuery = window['jQuery'];</script> \n<meta property=\"og:description\" content=\"\"> \n<meta property=\"og:title\" content=\"\"> \n<meta name=\"twitter:description\" content=\"\"> \n<meta name=\"twitter:title\" content=\"\"> \n<style>\na.cta_button{-moz-box-sizing:content-box !important;-webkit-box-sizing:content-box !important;box-sizing:content-box !important;vertical-align:middle}.hs-breadcrumb-menu{list-style-type:none;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px}.hs-breadcrumb-menu-item{float:left;padding:10px 0px 10px 10px}.hs-breadcrumb-menu-divider:before{content:'›';padding-left:10px}.hs-featured-image-link{border:0}.hs-featured-image{float:right;margin:0 0 20px 20px;max-width:50%}@media (max-width: 568px){.hs-featured-image{float:none;margin:0;width:100%;max-width:100%}}.hs-screen-reader-text{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}\n</style> \n<!--  Added by GoogleAnalytics4 integration --> \n<script data-cookieconsent=\"ignore\">\nvar _hsp = window._hsp = window._hsp || [];\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\n\nvar useGoogleConsentModeV2 = true;\nvar waitForUpdateMillis = 1000;\n\n\nif (!window._hsGoogleConsentRunOnce) {\n  window._hsGoogleConsentRunOnce = true;\n\n  gtag('consent', 'default', {\n    'ad_storage': 'denied',\n    'analytics_storage': 'denied',\n    'ad_user_data': 'denied',\n    'ad_personalization': 'denied',\n    'wait_for_update': waitForUpdateMillis\n  });\n\n  if (useGoogleConsentModeV2) {\n    _hsp.push(['useGoogleConsentModeV2'])\n  } else {\n    _hsp.push(['addPrivacyConsentListener', function(consent){\n      var hasAnalyticsConsent = consent && (consent.allowed || (consent.categories && consent.categories.analytics));\n      var hasAdsConsent = consent && (consent.allowed || (consent.categories && consent.categories.advertisement));\n\n      gtag('consent', 'update', {\n        'ad_storage': hasAdsConsent ? 'granted' : 'denied',\n        'analytics_storage': hasAnalyticsConsent ? 'granted' : 'denied',\n        'ad_user_data': hasAdsConsent ? 'granted' : 'denied',\n        'ad_personalization': hasAdsConsent ? 'granted' : 'denied'\n      });\n    }]);\n  }\n}\n\ngtag('js', new Date());\ngtag('set', 'developer_id.dZTQ1Zm', true);\ngtag('config', 'G-6E5EZTMW78');\n</script> \n<script data-cookieconsent=\"ignore\" async src=\"https://www.googletagmanager.com/gtag/js?id=G-6E5EZTMW78\"></script> \n<!-- /Added by GoogleAnalytics4 integration --> \n<link rel=\"canonical\" href=\"https://support.discngine.com/hs/portals/customer-portal-app/brand\"> \n<!-- Consent: no HubSpot page views until Analytics consent --> \n<script>\n(function () {\n  var _hsq = window._hsq = window._hsq || [];\n  var _hsp = window._hsp = window._hsp || [];\n  var tracked = false;\n  _hsq.push(['doNotTrack']);\n  _hsp.push(['addPrivacyConsentListener', function (consent) {\n    if (consent && consent.categories && consent.categories.analytics === true && !tracked) {\n      tracked = true;\n      _hsq.push(['doNotTrack', { track: true }]);\n      _hsq.push(['trackPageView']);\n      console.log('[Consent] HubSpot tracking on.');\n    }\n  }]);\n})();\n</script> \n<!-- End consent --> \n<meta property=\"og:url\" content=\"https://support.discngine.com/hs/portals/customer-portal-app/brand\"> \n<meta http-equiv=\"content-language\" content=\"en\">","footerHtml":"<!-- HubSpot performance collection script --> \n<script defer src=\"/hs/hsstatic/content-cwv-embed/static-1.1293/embed.js\"></script> \n<!-- Start of HubSpot Analytics Code --> \n<script type=\"text/javascript\">\nvar _hsq = _hsq || [];\n_hsq.push([\"setContentType\", \"app-page\"]);\n_hsq.push([\"setCanonicalUrl\", \"https:\\/\\/support.discngine.com\\/hs\\/portals\\/customer-portal-app\\/brand\"]);\n_hsq.push([\"setPageId\", \"222742707075\"]);\n_hsq.push([\"setContentMetadata\", {\n    \"contentPageId\": 222742707075,\n    \"legacyPageId\": \"222742707075\",\n    \"contentFolderId\": null,\n    \"contentGroupId\": null,\n    \"abTestId\": null,\n    \"languageVariantId\": 222742707075,\n    \"languageCode\": \"en\",\n    \n    \n}]);\n</script> \n<script type=\"text/javascript\" id=\"hs-script-loader\" async defer src=\"/hs/scriptloader/5842486.js\"></script> \n<!-- End of HubSpot Analytics Code --> \n<script type=\"text/javascript\">\nvar hsVars = {\n    render_id: \"33627e60-0ebf-423d-8cd5-9df9a2054757\",\n    ticks: 1793719237498,\n    page_id: 222742707075,\n    \n    content_group_id: 0,\n    portal_id: 5842486,\n    app_hs_base_url: \"https://app.hubspot.com\",\n    cp_hs_base_url: \"https://cp.hubspot.com\",\n    language: \"en\",\n    analytics_page_type: \"app-page\",\n    scp_content_type: \"\",\n    \n    analytics_page_id: \"222742707075\",\n    category_id: 20,\n    folder_id: 0,\n    is_hubspot_user: false\n}\n</script> \n<script defer src=\"/hs/hsstatic/HubspotToolsMenu/static-1.640/js/index.js\"></script> \n<!-- Cookie Settings button and Cookie Policy link --> \n<div style=\"text-align:center; padding:16px 0; font-size:14px;\"> \n <button type=\"button\" id=\"hs_show_banner_button\" style=\"background-color:#004A65; border:1px solid #004A65; border-radius:3px;\n           padding:10px 16px; color:#FFFFFF; font-family:inherit; font-size:inherit;\n           cursor:pointer;\" onclick=\"(function(){\n      var _hsp = window._hsp = window._hsp || [];\n      _hsp.push(['showBanner']);\n    })()\"> Cookie Settings </button> \n <a href=\"https://www.discngine.com/cookies-policy\" target=\"_blank\" rel=\"noopener\" style=\"margin-left:16px;\">Cookie Policy</a> \n</div> \n<!-- On consent withdrawal: stop Google Analytics, delete analytics cookies, reload the page --> \n<script>\n(function () {\n  var _hsq = window._hsq = window._hsq || [];\n  var _hsp = window._hsp = window._hsp || [];\n  var last = null, withdrawn = false;\n  var GA_IDS = ['G-6E5EZTMW78'];\n  var BLOCK = /google-analytics\\.com|analytics\\.google\\.com|googletagmanager\\.com/;\n\n  function blocked(url) {\n    try { return BLOCK.test(String(url)); } catch (e) { return false; }\n  }\n\n  // Disable Google Analytics and block any request it still tries to send\n  function stopGa() {\n    GA_IDS.forEach(function (id) { window['ga-disable-' + id] = true; });\n    if (window.gtag) {\n      window.gtag('consent', 'update', {\n        analytics_storage: 'denied', ad_storage: 'denied',\n        ad_user_data: 'denied', ad_personalization: 'denied'\n      });\n    }\n    if (navigator.sendBeacon) {\n      var beacon = navigator.sendBeacon.bind(navigator);\n      navigator.sendBeacon = function (url, data) {\n        return blocked(url) ? true : beacon(url, data);\n      };\n    }\n    if (window.fetch) {\n      var fetchFn = window.fetch;\n      window.fetch = function (input) {\n        var url = input && input.url ? input.url : input;\n        if (blocked(url)) { return Promise.resolve(new Response(null, { status: 204 })); }\n        return fetchFn.apply(this, arguments);\n      };\n    }\n    var open = XMLHttpRequest.prototype.open;\n    var send = XMLHttpRequest.prototype.send;\n    XMLHttpRequest.prototype.open = function (method, url) {\n      this._blocked = blocked(url);\n      return open.apply(this, arguments);\n    };\n    XMLHttpRequest.prototype.send = function () {\n      if (this._blocked) { return; }\n      return send.apply(this, arguments);\n    };\n    var src = Object.getOwnPropertyDescriptor(HTMLImageElement.prototype, 'src');\n    if (src && src.set) {\n      Object.defineProperty(HTMLImageElement.prototype, 'src', {\n        configurable: true,\n        get: src.get,\n        set: function (v) { if (!blocked(v)) { src.set.call(this, v); } }\n      });\n    }\n  }\n\n  // Delete cookies whose name starts with one of the prefixes\n  function deleteCookies(prefixes) {\n    var root = '.' + location.hostname.split('.').slice(-2).join('.');\n    document.cookie.split(';').forEach(function (c) {\n      var name = c.split('=')[0].trim();\n      if (!prefixes.some(function (p) { return name.indexOf(p) === 0; })) return;\n      [root, location.hostname, ''].forEach(function (d) {\n        document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/' + (d ? '; domain=' + d : '');\n      });\n    });\n  }\n\n  // Current value of the cookie that stores the visitor's choice\n  function choiceCookie() {\n    var m = document.cookie.match(/(?:^|;\\s*)__hs_cookie_cat_pref=([^;]*)/);\n    return m ? m[1] : null;\n  }\n\n  // Reload as soon as the new choice is saved (at most 0.5 s)\n  function reloadWhenSaved(before) {\n    var waited = 0;\n    var timer = setInterval(function () {\n      waited += 50;\n      if (choiceCookie() !== before || waited >= 500) {\n        clearInterval(timer);\n        location.reload();\n      }\n    }, 50);\n  }\n\n  // Analytics cookies are shared across discngine.com sites, so all of them are deleted\n  _hsp.push(['addPrivacyConsentListener', function (consent) {\n    if (withdrawn || !consent || !consent.categories) return;\n    var now = {\n      analytics: consent.categories.analytics === true,\n      advertisement: consent.categories.advertisement === true\n    };\n    if (last && ((last.analytics && !now.analytics) || (last.advertisement && !now.advertisement))) {\n      withdrawn = true;\n      var before = choiceCookie();\n      stopGa();\n      if (!now.analytics) {\n        _hsq.push(['doNotTrack']);\n        deleteCookies(['_ga', '_gid', '_gat', '_clck', '_clsk', '__hstc', '__hssc', '__hssrc', 'hubspotutk']);\n      }\n      console.log('[Consent] Consent withdrawn - reloading page.');\n      reloadWhenSaved(before);\n      return;\n    }\n    last = now;\n  }]);\n})();\n</script>","headElements":[{"tag":"meta","attributes":{"name":"viewport","content":"width=device-width, initial-scale=1"}},{"tag":"script","attributes":{"src":"/hs/hsstatic/jquery-libs/static-1.1/jquery/jquery-1.7.1.js"}},{"tag":"script","children":[{"tag":"#text","text":"hsjQuery = window['jQuery'];"}]},{"tag":"meta","attributes":{"property":"og:description","content":""}},{"tag":"meta","attributes":{"property":"og:title","content":""}},{"tag":"meta","attributes":{"name":"twitter:description","content":""}},{"tag":"meta","attributes":{"name":"twitter:title","content":""}},{"tag":"style","children":[{"tag":"#text","text":"a.cta_button{-moz-box-sizing:content-box !important;-webkit-box-sizing:content-box !important;box-sizing:content-box !important;vertical-align:middle}.hs-breadcrumb-menu{list-style-type:none;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px}.hs-breadcrumb-menu-item{float:left;padding:10px 0px 10px 10px}.hs-breadcrumb-menu-divider:before{content:'›';padding-left:10px}.hs-featured-image-link{border:0}.hs-featured-image{float:right;margin:0 0 20px 20px;max-width:50%}@media (max-width: 568px){.hs-featured-image{float:none;margin:0;width:100%;max-width:100%}}.hs-screen-reader-text{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}"}]},{"tag":"script","children":[{"tag":"#text","text":"var _hsp = window._hsp = window._hsp || [];\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\n\nvar useGoogleConsentModeV2 = true;\nvar waitForUpdateMillis = 1000;\n\n\nif (!window._hsGoogleConsentRunOnce) {\n  window._hsGoogleConsentRunOnce = true;\n\n  gtag('consent', 'default', {\n    'ad_storage': 'denied',\n    'analytics_storage': 'denied',\n    'ad_user_data': 'denied',\n    'ad_personalization': 'denied',\n    'wait_for_update': waitForUpdateMillis\n  });\n\n  if (useGoogleConsentModeV2) {\n    _hsp.push(['useGoogleConsentModeV2'])\n  } else {\n    _hsp.push(['addPrivacyConsentListener', function(consent){\n      var hasAnalyticsConsent = consent && (consent.allowed || (consent.categories && consent.categories.analytics));\n      var hasAdsConsent = consent && (consent.allowed || (consent.categories && consent.categories.advertisement));\n\n      gtag('consent', 'update', {\n        'ad_storage': hasAdsConsent ? 'granted' : 'denied',\n        'analytics_storage': hasAnalyticsConsent ? 'granted' : 'denied',\n        'ad_user_data': hasAdsConsent ? 'granted' : 'denied',\n        'ad_personalization': hasAdsConsent ? 'granted' : 'denied'\n      });\n    }]);\n  }\n}\n\ngtag('js', new Date());\ngtag('set', 'developer_id.dZTQ1Zm', true);\ngtag('config', 'G-6E5EZTMW78');"}],"attributes":{"data-cookieconsent":"ignore"}},{"tag":"script","attributes":{"async":"","src":"https://www.googletagmanager.com/gtag/js?id=G-6E5EZTMW78","data-cookieconsent":"ignore"}},{"tag":"link","attributes":{"rel":"canonical","href":"https://support.discngine.com/hs/portals/customer-portal-app/brand"}},{"tag":"script","children":[{"tag":"#text","text":"(function () {\n  var _hsq = window._hsq = window._hsq || [];\n  var _hsp = window._hsp = window._hsp || [];\n  var tracked = false;\n  _hsq.push(['doNotTrack']);\n  _hsp.push(['addPrivacyConsentListener', function (consent) {\n    if (consent && consent.categories && consent.categories.analytics === true && !tracked) {\n      tracked = true;\n      _hsq.push(['doNotTrack', { track: true }]);\n      _hsq.push(['trackPageView']);\n      console.log('[Consent] HubSpot tracking on.');\n    }\n  }]);\n})();"}]},{"tag":"meta","attributes":{"property":"og:url","content":"https://support.discngine.com/hs/portals/customer-portal-app/brand"}},{"tag":"meta","attributes":{"http-equiv":"content-language","content":"en"}}],"footerElements":[{"tag":"script","attributes":{"defer":"","src":"/hs/hsstatic/content-cwv-embed/static-1.1293/embed.js"}},{"tag":"script","children":[{"tag":"#text","text":"var _hsq = _hsq || [];\n_hsq.push([\"setContentType\", \"app-page\"]);\n_hsq.push([\"setCanonicalUrl\", \"https:\\/\\/support.discngine.com\\/hs\\/portals\\/customer-portal-app\\/brand\"]);\n_hsq.push([\"setPageId\", \"222742707075\"]);\n_hsq.push([\"setContentMetadata\", {\n    \"contentPageId\": 222742707075,\n    \"legacyPageId\": \"222742707075\",\n    \"contentFolderId\": null,\n    \"contentGroupId\": null,\n    \"abTestId\": null,\n    \"languageVariantId\": 222742707075,\n    \"languageCode\": \"en\",\n    \n    \n}]);"}],"attributes":{"type":"text/javascript"}},{"tag":"script","id":"hs-script-loader","attributes":{"async":"","defer":"","src":"/hs/scriptloader/5842486.js","type":"text/javascript"}},{"tag":"script","children":[{"tag":"#text","text":"var hsVars = {\n    render_id: \"33627e60-0ebf-423d-8cd5-9df9a2054757\",\n    ticks: 1793719237498,\n    page_id: 222742707075,\n    \n    content_group_id: 0,\n    portal_id: 5842486,\n    app_hs_base_url: \"https://app.hubspot.com\",\n    cp_hs_base_url: \"https://cp.hubspot.com\",\n    language: \"en\",\n    analytics_page_type: \"app-page\",\n    scp_content_type: \"\",\n    \n    analytics_page_id: \"222742707075\",\n    category_id: 20,\n    folder_id: 0,\n    is_hubspot_user: false\n}"}],"attributes":{"type":"text/javascript"}},{"tag":"script","attributes":{"defer":"","src":"/hs/hsstatic/HubspotToolsMenu/static-1.640/js/index.js"}},{"tag":"div","children":[{"tag":"button","id":"hs_show_banner_button","attributes":{"onclick":"(function(){\n      var _hsp = window._hsp = window._hsp || [];\n      _hsp.push(['showBanner']);\n    })()","type":"button"},"style":{"background-color":"#004A65","border":"1px solid #004A65","border-radius":"3px","cursor":"pointer","padding":"10px 16px","color":"#FFFFFF","font-size":"inherit","font-family":"inherit"}},{"tag":"a","attributes":{"rel":"noopener","href":"https://www.discngine.com/cookies-policy","target":"_blank"},"style":{"margin-left":"16px"}}],"style":{"padding":"16px 0","font-size":"14px","text-align":"center"}},{"tag":"script","children":[{"tag":"#text","text":"(function () {\n  var _hsq = window._hsq = window._hsq || [];\n  var _hsp = window._hsp = window._hsp || [];\n  var last = null, withdrawn = false;\n  var GA_IDS = ['G-6E5EZTMW78'];\n  var BLOCK = /google-analytics\\.com|analytics\\.google\\.com|googletagmanager\\.com/;\n\n  function blocked(url) {\n    try { return BLOCK.test(String(url)); } catch (e) { return false; }\n  }\n\n  // Disable Google Analytics and block any request it still tries to send\n  function stopGa() {\n    GA_IDS.forEach(function (id) { window['ga-disable-' + id] = true; });\n    if (window.gtag) {\n      window.gtag('consent', 'update', {\n        analytics_storage: 'denied', ad_storage: 'denied',\n        ad_user_data: 'denied', ad_personalization: 'denied'\n      });\n    }\n    if (navigator.sendBeacon) {\n      var beacon = navigator.sendBeacon.bind(navigator);\n      navigator.sendBeacon = function (url, data) {\n        return blocked(url) ? true : beacon(url, data);\n      };\n    }\n    if (window.fetch) {\n      var fetchFn = window.fetch;\n      window.fetch = function (input) {\n        var url = input && input.url ? input.url : input;\n        if (blocked(url)) { return Promise.resolve(new Response(null, { status: 204 })); }\n        return fetchFn.apply(this, arguments);\n      };\n    }\n    var open = XMLHttpRequest.prototype.open;\n    var send = XMLHttpRequest.prototype.send;\n    XMLHttpRequest.prototype.open = function (method, url) {\n      this._blocked = blocked(url);\n      return open.apply(this, arguments);\n    };\n    XMLHttpRequest.prototype.send = function () {\n      if (this._blocked) { return; }\n      return send.apply(this, arguments);\n    };\n    var src = Object.getOwnPropertyDescriptor(HTMLImageElement.prototype, 'src');\n    if (src && src.set) {\n      Object.defineProperty(HTMLImageElement.prototype, 'src', {\n        configurable: true,\n        get: src.get,\n        set: function (v) { if (!blocked(v)) { src.set.call(this, v); } }\n      });\n    }\n  }\n\n  // Delete cookies whose name starts with one of the prefixes\n  function deleteCookies(prefixes) {\n    var root = '.' + location.hostname.split('.').slice(-2).join('.');\n    document.cookie.split(';').forEach(function (c) {\n      var name = c.split('=')[0].trim();\n      if (!prefixes.some(function (p) { return name.indexOf(p) === 0; })) return;\n      [root, location.hostname, ''].forEach(function (d) {\n        document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/' + (d ? '; domain=' + d : '');\n      });\n    });\n  }\n\n  // Current value of the cookie that stores the visitor's choice\n  function choiceCookie() {\n    var m = document.cookie.match(/(?:^|;\\s*)__hs_cookie_cat_pref=([^;]*)/);\n    return m ? m[1] : null;\n  }\n\n  // Reload as soon as the new choice is saved (at most 0.5 s)\n  function reloadWhenSaved(before) {\n    var waited = 0;\n    var timer = setInterval(function () {\n      waited += 50;\n      if (choiceCookie() !== before || waited >= 500) {\n        clearInterval(timer);\n        location.reload();\n      }\n    }, 50);\n  }\n\n  // Analytics cookies are shared across discngine.com sites, so all of them are deleted\n  _hsp.push(['addPrivacyConsentListener', function (consent) {\n    if (withdrawn || !consent || !consent.categories) return;\n    var now = {\n      analytics: consent.categories.analytics === true,\n      advertisement: consent.categories.advertisement === true\n    };\n    if (last && ((last.analytics && !now.analytics) || (last.advertisement && !now.advertisement))) {\n      withdrawn = true;\n      var before = choiceCookie();\n      stopGa();\n      if (!now.analytics) {\n        _hsq.push(['doNotTrack']);\n        deleteCookies(['_ga', '_gid', '_gat', '_clck', '_clsk', '__hstc', '__hssc', '__hssrc', 'hubspotutk']);\n      }\n      console.log('[Consent] Consent withdrawn - reloading page.');\n      reloadWhenSaved(before);\n      return;\n    }\n    last = now;\n  }]);\n})();"}]}]}