!function(){var e={215(e,t,n){var o,r;
/*!
 * JavaScript Cookie v2.2.1
 * https://github.com/js-cookie/js-cookie
 *
 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
 * Released under the MIT license
 */!function(c){if(void 0===(r="function"==typeof(o=c)?o.call(t,n,t,e):o)||(e.exports=r),e.exports=c(),!!0){var i=window.Cookies,u=window.Cookies=c();u.noConflict=function(){return window.Cookies=i,u}}}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var o in n)t[o]=n[o]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(o){function r(){}function c(t,n,c){if("undefined"!=typeof document){"number"==typeof(c=e({path:"/"},r.defaults,c)).expires&&(c.expires=new Date(1*new Date+864e5*c.expires)),c.expires=c.expires?c.expires.toUTCString():"";try{var i=JSON.stringify(n);/^[\{\[]/.test(i)&&(n=i)}catch(e){}n=o.write?o.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var u="";for(var a in c)c[a]&&(u+="; "+a,!0!==c[a]&&(u+="="+c[a].split(";")[0]));return document.cookie=t+"="+n+u}}function i(e,n){if("undefined"!=typeof document){for(var r={},c=document.cookie?document.cookie.split("; "):[],i=0;i<c.length;i++){var u=c[i].split("="),a=u.slice(1).join("=");n||'"'!==a.charAt(0)||(a=a.slice(1,-1));try{var d=t(u[0]);if(a=(o.read||o)(a,d)||t(a),n)try{a=JSON.parse(a)}catch(e){}if(r[d]=a,e===d)break}catch(e){}}return e?r[e]:r}}return r.set=c,r.get=function(e){return i(e,!1)},r.getJSON=function(e){return i(e,!0)},r.remove=function(t,n){c(t,"",e(n,{expires:-1}))},r.defaults={},r.withConverter=n,r}(function(){})})}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var c=t[o]={exports:{}};return e[o](c,c.exports,n),c.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=window.ctFrontend,t=n(215),o=n.n(t);const r=function(){const e=o().get("blocksy_current_theme")||document.documentElement.dataset.colorMode;"os-default"===e?document.documentElement.dataset.colorMode=e:(document.documentElement.dataset.colorMode=`${e}:updating`,setTimeout(function(){document.documentElement.dataset.colorMode=e},300))};let c=!1;(0,e.registerDynamicChunk)("blocksy_dark_mode",{mount:function(e,t={}){const{event:n}=t||{};if(!n)return void(c||(c=!0,r()));let i=o().get("blocksy_current_theme")||("os-default"===document.documentElement.dataset.colorMode?"os-default":"light");"os-default"===i&&(i=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),o().set("blocksy_current_theme","light"===i?"dark":"light",{expires:new Date(1*new Date+80352e5),sameSite:"lax"}),setTimeout(function(){r()})}})}()}();