function setCookieForNotice(e) { var t = new Date, i = t.getTime(); "1week" == e && (i += 6048e5), "1month" == e && (i += 2629743e3), "1year" == e && (i += 31556916e3), t.setTime(i), document.cookie = "after_exit" == e ? "cookie_notice_seen=1; path=/" : "cookie_notice_seen=1; expires=" + t.toUTCString() + "; path=/", document.getElementById("patchstack-cookie-notice").style.cssText = "visibility:hidden !important" } (function(window, document, undefined){ function getCookie(cname) { var name = cname + "="; var decodedCookie = decodeURIComponent(document.cookie); var ca = decodedCookie.split(';'); for(var i = 0; i