!function(){"use strict";document.addEventListener("rey-DOMContentLoaded",(function(){!function(){var e=document.querySelector(".rey-cookieNotice");if(e){var t=function(t){document.dispatchEvent(new CustomEvent("reycore/cookie_notice/accepted",{detail:{fromButton:t,notice:e}})),"undefined"!=typeof jQuery&&jQuery(document).trigger("reycore/cookie_notice/accepted")};rey.util.ls.get("rey-cookie-notice")?t():(rey.elements.sitePreloader?document.addEventListener("rey/preloader/loaded",(function(){e.classList.add("--visible")})):setTimeout((function(){e.classList.add("--visible")}),2e3),e.querySelector(".btn").addEventListener("click",(function(o){o.preventDefault(),rey.util.ls.set("rey-cookie-notice",!0,rey.util.expiration.month),e.classList.remove("--visible"),t(!0)})))}}()}))}();