/*!
 * CookieConsent v2.6.1
 * https://www.github.com/orestbida/cookieconsent
 * Author Orest Bida
 * Released under the MIT License
 */
(function(){'use strict';var CookieConsent=function(root){var ENABLE_LOGS=!1;var _config={current_lang:'en',autorun:!0,cookie_name:'cc_cookie',cookie_expiration:182,cookie_domain:location.hostname,cookie_path:'/',cookie_same_site:'Lax',use_rfc_cookie:!1,autoclear_cookies:!0,revision:0,script_selector:'data-cookiecategory'};var _cookieconsent={};var saved_cookie_content={};var consent_modal_exists=!1;var cookie_consent_accepted=!1;var consent_modal_visible=!1;var settings_modal_visible=!1;var clicked_inside_modal=!1;var current_modal_focusable;var all_table_headers,all_blocks,onAccept,onChange;var valid_revision=!0,revision_enabled=!1,data=null;var is_bot=!1;var last_elem_before_modal;var last_consent_modal_btn_focus;var consent_modal_focusable=[];var settings_modal_focusable=[];var toggle_states=[];var toggle_categories=[];var toggle_readonly=[];var html_dom=document.documentElement;var main_container;var consent_modal;var settings_container,settings_inner;var _setConfig=function(conf_params){_log("CookieConsent [CONFIG]: received_config_settings ",conf_params);if(typeof conf_params.cookie_expiration==="number"){_config.cookie_expiration=conf_params.cookie_expiration}
if(typeof conf_params.autorun==="boolean"){_config.autorun=conf_params.autorun}
if(typeof conf_params.cookie_domain==="string"){_config.cookie_domain=conf_params.cookie_domain}
if(typeof conf_params.cookie_same_site==="string"){_config.cookie_same_site=conf_params.cookie_same_site}
if(typeof conf_params.cookie_path==="string"){_config.cookie_path=conf_params.cookie_path}
if(typeof conf_params.cookie_name==="string"){_config.cookie_name=conf_params.cookie_name}
if(typeof conf_params.onAccept==="function"){onAccept=conf_params.onAccept}
if(typeof conf_params.onChange==="function"){onChange=conf_params.onChange}
if(typeof conf_params.revision==="number"){conf_params.revision>-1&&(_config.revision=conf_params.revision);revision_enabled=!0}
if(conf_params.autoclear_cookies===!0){_config.autoclear_cookies=!0}
if(conf_params.use_rfc_cookie===!0){_config.use_rfc_cookie=!0}
if(conf_params.hide_from_bots===!0){is_bot=navigator&&((navigator.userAgent&&/bot|crawl|spider|slurp|teoma/i.test(navigator.userAgent))||navigator.webdriver)}
_config.page_scripts=conf_params.page_scripts===!0;_config.page_scripts_order=conf_params.page_scripts_order!==!1;if(conf_params.auto_language===!0){_config.current_lang=_getValidatedLanguage(_getBrowserLang(),conf_params.languages)}else{if(typeof conf_params.current_lang==="string"){_config.current_lang=_getValidatedLanguage(conf_params.current_lang,conf_params.languages)}}
_log("CookieConsent [LANG]: setting current_lang = '"+_config.current_lang+"'")}
var _addCookieSettingsButtonListener=function(){var all_links=document.querySelectorAll('a[data-cc="c-settings"], button[data-cc="c-settings"]');for(var x=0;x<all_links.length;x++){all_links[x].setAttribute('aria-haspopup','dialog');_addEvent(all_links[x],'click',function(event){_cookieconsent.showSettings(0);event.preventDefault?event.preventDefault():event.returnValue=!1})}}
var _getValidatedLanguage=function(lang,all_languages){if(all_languages.hasOwnProperty(lang)){return lang}else if(_getKeys(all_languages).length>0){if(all_languages.hasOwnProperty(_config.current_lang)){return _config.current_lang}else{return _getKeys(all_languages)[0]}}}
var _getModalFocusableData=function(){var allowed_focusable_types=['[href]','button','input','details','[tabindex="0"]'];function _getAllFocusableElements(modal,_array){var focus_later=!1,focus_first=!1;try{var focusable_elems=modal.querySelectorAll(allowed_focusable_types.join(':not([tabindex="-1"]), '));var attr,len=focusable_elems.length,i=0;while(i<len){attr=focusable_elems[i].getAttribute('data-focus');if(!focus_first&&attr==="1"){focus_first=focusable_elems[i]}else if(attr==="0"){focus_later=focusable_elems[i];if(!focus_first&&focusable_elems[i+1].getAttribute('data-focus')!=="0"){focus_first=focusable_elems[i+1]}}
i++}}catch(e){return modal.querySelectorAll(allowed_focusable_types.join(', '))}
_array[0]=focusable_elems[0];_array[1]=focusable_elems[focusable_elems.length-1];_array[2]=focus_later;_array[3]=focus_first}
_getAllFocusableElements(settings_inner,settings_modal_focusable);if(consent_modal_exists){_getAllFocusableElements(consent_modal,consent_modal_focusable)}}
var _conf_params,_createConsentModal,revision_message="",consent_text;var _createCookieConsentHTML=function(never_accepted,conf_params){main_container=_createNode('div');main_container.id='cc--main';main_container.style.position="fixed";main_container.style.zIndex="1000000";main_container.innerHTML='<!--[if lt IE 9 ]><div id="cc_div" class="cc_div ie"></div><![endif]--><!--[if (gt IE 8)|!(IE)]><!--><div id="cc_div" class="cc_div"></div><!--<![endif]-->'
var all_modals_container=main_container.children[0];var lang=_config.current_lang;var innerText=(typeof html_dom.textContent==='string'?'textContent':'innerText');_conf_params=conf_params;_createConsentModal=function(conf_params){if(conf_params.force_consent===!0){_addClass(html_dom,'force--consent')}
var description=conf_params.languages[lang].consent_modal.description;if(revision_enabled){if(!valid_revision){description=description.replace("{{revision_message}}",revision_message||conf_params.languages[lang].consent_modal.revision_message||"")}else{description=description.replace("{{revision_message}}","")}}
if(consent_modal){consent_text.innerHTML=description;return}
consent_modal=_createNode('div');var consent_modal_inner=_createNode('div');var consent_modal_inner_inner=_createNode('div');var consent_title=_createNode('div');consent_text=_createNode('div');var consent_buttons=_createNode('div');var consent_primary_btn=_createNode('button');var consent_secondary_btn=_createNode('button');var overlay=_createNode('div');consent_modal.id='cm';consent_modal_inner.id='c-inr';consent_modal_inner_inner.id='c-inr-i';consent_title.id='c-ttl';consent_text.id='c-txt';consent_buttons.id="c-bns";consent_primary_btn.id='c-p-bn';consent_secondary_btn.id='c-s-bn';overlay.id='cm-ov';consent_primary_btn.className="c-bn";consent_secondary_btn.className="c-bn c_link";consent_title.setAttribute('role','heading');consent_title.setAttribute('aria-level','2');consent_modal.setAttribute('role','dialog');consent_modal.setAttribute('aria-modal','true');consent_modal.setAttribute('aria-hidden','false');consent_modal.setAttribute('aria-labelledby','c-ttl');consent_modal.setAttribute('aria-describedby','c-txt');consent_modal.style.visibility=overlay.style.visibility="hidden";overlay.style.opacity=0;consent_title.insertAdjacentHTML('beforeend',conf_params.languages[lang].consent_modal.title);consent_text.insertAdjacentHTML('beforeend',description);consent_primary_btn[innerText]=conf_params.languages[lang].consent_modal.primary_btn.text;consent_secondary_btn[innerText]=conf_params.languages[lang].consent_modal.secondary_btn.text;var accept_type;if(conf_params.languages[lang].consent_modal.primary_btn.role=='accept_all'){accept_type='all'}
_addEvent(consent_primary_btn,"click",function(){_cookieconsent.hide();_log("CookieConsent [ACCEPT]: cookie_consent was accepted!");_cookieconsent.accept(accept_type)});if(conf_params.languages[lang].consent_modal.secondary_btn.role=='accept_necessary'){_addEvent(consent_secondary_btn,'click',function(){_cookieconsent.hide();_cookieconsent.accept([])})}else{_addEvent(consent_secondary_btn,'click',function(){_cookieconsent.showSettings(0)})}
consent_modal_inner_inner.appendChild(consent_title);consent_modal_inner_inner.appendChild(consent_text);consent_buttons.appendChild(consent_primary_btn);consent_buttons.appendChild(consent_secondary_btn);consent_modal_inner.appendChild(consent_modal_inner_inner);consent_modal_inner.appendChild(consent_buttons);consent_modal.appendChild(consent_modal_inner);all_modals_container.appendChild(consent_modal);all_modals_container.appendChild(overlay);consent_modal_exists=!0}
if(!never_accepted)_createConsentModal(conf_params);settings_container=_createNode('div');var settings_container_valign=_createNode('div');var settings=_createNode('div');var settings_container_inner=_createNode('div');settings_inner=_createNode('div');var settings_title=_createNode('div');var settings_header=_createNode('div');var settings_close_btn=_createNode('button');var settings_close_btn_container=_createNode('div');var settings_blocks=_createNode('div');var overlay=_createNode('div');settings_container.id='s-cnt';settings_container_valign.id="c-vln";settings_container_inner.id="c-s-in";settings.id="cs";settings_title.id='s-ttl';settings_inner.id='s-inr';settings_header.id="s-hdr";settings_blocks.id='s-bl';settings_close_btn.id='s-c-bn';overlay.id='cs-ov';settings_close_btn_container.id='s-c-bnc';settings_close_btn.className='c-bn';settings_close_btn.setAttribute('aria-label',conf_params.languages[lang].settings_modal.close_btn_label||'Close');settings_container.setAttribute('role','dialog');settings_container.setAttribute('aria-modal','true');settings_container.setAttribute('aria-hidden','true');settings_container.setAttribute('aria-labelledby','s-ttl');settings_title.setAttribute('role','heading');settings_container.style.visibility=overlay.style.visibility="hidden";overlay.style.opacity=0;settings_close_btn_container.appendChild(settings_close_btn);_addEvent(settings_container_valign,'keydown',function(evt){evt=evt||window.event;if(evt.keyCode==27){_cookieconsent.hideSettings(0)}},!0);_addEvent(settings_close_btn,'click',function(){_cookieconsent.hideSettings(0)});all_blocks=conf_params.languages[_config.current_lang].settings_modal.blocks;all_table_headers=conf_params.languages[_config.current_lang].settings_modal.cookie_table_headers;var n_blocks=all_blocks.length;settings_title.insertAdjacentHTML('beforeend',conf_params.languages[_config.current_lang].settings_modal.title);for(var i=0;i<n_blocks;++i){var block_section=_createNode('div');var block_table_container=_createNode('div');var block_desc=_createNode('div');var block_title_container=_createNode('div');block_section.className='c-bl';block_table_container.className='desc';block_desc.className='p';block_title_container.className='title';block_desc.insertAdjacentHTML('beforeend',all_blocks[i].description);if(typeof all_blocks[i].toggle!=='undefined'){var accordion_id="c-ac-"+i;var block_title_btn=_createNode('button');var block_switch_label=_createNode('label');var block_switch=_createNode('input');var block_switch_span=_createNode('span');var label_text_span=_createNode('span');var block_switch_span_on_icon=_createNode('span');var block_switch_span_off_icon=_createNode('span');block_title_btn.className='b-tl';block_switch_label.className='b-tg';block_switch.className='c-tgl';block_switch_span_on_icon.className='on-i';block_switch_span_off_icon.className='off-i';block_switch_span.className='c-tg';label_text_span.className="t-lb";block_title_btn.setAttribute('aria-expanded','false');block_title_btn.setAttribute('aria-controls',accordion_id);block_switch.type='checkbox';block_switch_span.setAttribute('aria-hidden','true');var cookie_category=all_blocks[i].toggle.value;block_switch.value=cookie_category;label_text_span[innerText]=all_blocks[i].title;block_title_btn.insertAdjacentHTML('beforeend',all_blocks[i].title);block_title_container.appendChild(block_title_btn);block_switch_span.appendChild(block_switch_span_on_icon);block_switch_span.appendChild(block_switch_span_off_icon);if(never_accepted){if(_inArray(saved_cookie_content.level,cookie_category)>-1){block_switch.checked=!0;toggle_states.push(!0)}else{toggle_states.push(!1)}}else if(all_blocks[i].toggle.enabled){block_switch.checked=!0;toggle_states.push(!0)}else{toggle_states.push(!1)}
toggle_categories.push(cookie_category);if(all_blocks[i].toggle.readonly){block_switch.disabled=!0;_addClass(block_switch_span,'c-ro');toggle_readonly.push(!0)}else{toggle_readonly.push(!1)}
_addClass(block_table_container,'b-acc');_addClass(block_title_container,'b-bn');_addClass(block_section,'b-ex');block_table_container.id=accordion_id;block_table_container.setAttribute('aria-hidden','true');block_switch_label.appendChild(block_switch);block_switch_label.appendChild(block_switch_span);block_switch_label.appendChild(label_text_span);block_title_container.appendChild(block_switch_label);(function(accordion,block_section,btn){_addEvent(block_title_btn,'click',function(){if(!_hasClass(block_section,'act')){_addClass(block_section,'act');btn.setAttribute('aria-expanded','true');accordion.setAttribute('aria-hidden','false')}else{_removeClass(block_section,'act');btn.setAttribute('aria-expanded','false');accordion.setAttribute('aria-hidden','true')}},!1)})(block_table_container,block_section,block_title_btn)}else{var block_title=_createNode('div');block_title.className='b-tl';block_title.setAttribute('role','heading');block_title.setAttribute('aria-level','3');block_title.insertAdjacentHTML('beforeend',all_blocks[i].title);block_title_container.appendChild(block_title)}
block_section.appendChild(block_title_container);block_table_container.appendChild(block_desc);var remove_cookie_tables=conf_params.remove_cookie_tables===!0;if(!remove_cookie_tables&&typeof all_blocks[i].cookie_table!=='undefined'){var tr_tmp_fragment=document.createDocumentFragment();for(var p=0;p<all_table_headers.length;++p){var th1=_createNode('th');var obj=all_table_headers[p];th1.setAttribute('scope','col');if(obj){var new_column_key=obj&&_getKeys(obj)[0];th1[innerText]=all_table_headers[p][new_column_key];tr_tmp_fragment.appendChild(th1)}}
var tr_tmp=_createNode('tr');tr_tmp.appendChild(tr_tmp_fragment);var thead=_createNode('thead');thead.appendChild(tr_tmp);var block_table=_createNode('table');block_table.appendChild(thead);var tbody_fragment=document.createDocumentFragment();for(var n=0;n<all_blocks[i].cookie_table.length;n++){var tr=_createNode('tr');for(var g=0;g<all_table_headers.length;++g){var obj=all_table_headers[g];if(obj){var new_column_key=_getKeys(obj)[0];var td_tmp=_createNode('td');td_tmp.insertAdjacentHTML('beforeend',all_blocks[i].cookie_table[n][new_column_key]);td_tmp.setAttribute('data-column',obj[new_column_key]);tr.appendChild(td_tmp)}}
tbody_fragment.appendChild(tr)}
var tbody=_createNode('tbody');tbody.appendChild(tbody_fragment);block_table.appendChild(tbody);block_table_container.appendChild(block_table)}
block_section.appendChild(block_table_container);settings_blocks.appendChild(block_section)}
var settings_buttons=_createNode('div');var settings_save_btn=_createNode('button');var settings_accept_all_btn=_createNode('button');settings_buttons.id='s-bns';settings_save_btn.id='s-sv-bn';settings_accept_all_btn.id='s-all-bn';settings_save_btn.className='c-bn';settings_accept_all_btn.className='c-bn';settings_save_btn.insertAdjacentHTML('beforeend',conf_params.languages[_config.current_lang].settings_modal.save_settings_btn);settings_accept_all_btn.insertAdjacentHTML('beforeend',conf_params.languages[_config.current_lang].settings_modal.accept_all_btn);settings_buttons.appendChild(settings_accept_all_btn);var reject_all_btn_text=conf_params.languages[_config.current_lang].settings_modal.reject_all_btn;if(reject_all_btn_text){var reject_all_btn=_createNode('button');reject_all_btn.id='s-rall-bn';reject_all_btn.className='c-bn';reject_all_btn.insertAdjacentHTML('beforeend',reject_all_btn_text);_addEvent(reject_all_btn,'click',function(){_cookieconsent.hideSettings();_cookieconsent.hide();_cookieconsent.accept([])});settings_inner.className="bns-t";settings_buttons.appendChild(reject_all_btn)}
settings_buttons.appendChild(settings_save_btn);_addEvent(settings_save_btn,'click',function(){_cookieconsent.hideSettings();_cookieconsent.hide();_cookieconsent.accept()});_addEvent(settings_accept_all_btn,'click',function(){_cookieconsent.hideSettings();_cookieconsent.hide();_cookieconsent.accept('all')});settings_header.appendChild(settings_title);settings_header.appendChild(settings_close_btn_container);settings_inner.appendChild(settings_header);settings_inner.appendChild(settings_blocks);settings_inner.appendChild(settings_buttons);settings_container_inner.appendChild(settings_inner);settings.appendChild(settings_container_inner);settings_container_valign.appendChild(settings);settings_container.appendChild(settings_container_valign);all_modals_container.appendChild(settings_container);all_modals_container.appendChild(overlay);(root||document.body).appendChild(main_container)}
var _saveCookiePreferences=function(accepted_categories){var category_toggles=document.querySelectorAll('.c-tgl')||[];var changedSettings=[],must_reload=!1;if(category_toggles.length>0){for(var i=0;i<category_toggles.length;i++){if(_inArray(accepted_categories,toggle_categories[i])!==-1){category_toggles[i].checked=!0;if(!toggle_states[i]){changedSettings.push(toggle_categories[i]);toggle_states[i]=!0}}else{category_toggles[i].checked=!1;if(toggle_states[i]){changedSettings.push(toggle_categories[i]);toggle_states[i]=!1}}}
if(_config.autoclear_cookies&&cookie_consent_accepted&&changedSettings.length>0){var len=all_blocks.length;var count=-1;var all_cookies_array=_getCookie('','all');var domains=[_config.cookie_domain,'.'+_config.cookie_domain];if(_config.cookie_domain.slice(0,4)==='www.'){var non_www_domain=_config.cookie_domain.substr(4);domains.push(non_www_domain);domains.push('.'+non_www_domain)}
if(_config.cookie_domain.slice(0,8)==='privacy.'){var non_priv_domain=_config.cookie_domain.substr(8);domains.push(non_priv_domain);domains.push('.'+non_priv_domain)}
if(_config.cookie_domain.slice(0,2)==='m.'){var non_m_domain=_config.cookie_domain.substr(2);domains.push(non_m_domain);domains.push('.'+non_m_domain)}
if(_config.cookie_domain.slice(0,10)==='nonpublic.'){var non_nonpub_domain=_config.cookie_domain.substr(10);domains.push(non_nonpub_domain);domains.push('.'+non_nonpub_domain)}
if(_config.cookie_domain.slice(0,8)==='katalog.'){var non_cat_domain=_config.cookie_domain.substr(8);domains.push(non_cat_domain);domains.push('.'+non_cat_domain)}
for(var jk=0;jk<len;jk++){var curr_block=all_blocks[jk];if(curr_block.hasOwnProperty('toggle')){if(!toggle_states[++count]&&curr_block.hasOwnProperty('cookie_table')&&_inArray(changedSettings,curr_block.toggle.value)>-1){var curr_cookie_table=curr_block.cookie_table;var ckey=_getKeys(all_table_headers[0])[0];var clen=curr_cookie_table.length;if(curr_block.toggle.reload==='on_disable')must_reload=!0;for(var hk=0;hk<clen;hk++){var curr_row=curr_cookie_table[hk],found_cookies=[];var curr_cookie_name=curr_row[ckey];var is_regex=curr_row.is_regex||!1;var curr_cookie_domain=curr_row.domain||null;var curr_cookie_path=curr_row.path||!1;curr_cookie_domain&&(domains=[curr_cookie_domain,'.'+curr_cookie_domain]);if(is_regex){for(var n=0;n<all_cookies_array.length;n++){if(all_cookies_array[n].match(curr_cookie_name)){found_cookies.push(all_cookies_array[n])}}}else{var found_index=_inArray(all_cookies_array,curr_cookie_name);if(found_index>-1)found_cookies.push(all_cookies_array[found_index])}
_log("CookieConsent [AUTOCLEAR]: search cookie: '"+curr_cookie_name+"', found:",found_cookies);if(found_cookies.length>0){_eraseCookies(found_cookies,curr_cookie_path,domains);curr_block.toggle.reload==='on_clear'&&(must_reload=!0)}}}}}}}
saved_cookie_content={"level":accepted_categories,"revision":_config.revision,"data":data,"rfc_cookie":_config.use_rfc_cookie}
if(!cookie_consent_accepted||changedSettings.length>0||!valid_revision){valid_revision=!0;_setCookie(_config.cookie_name,JSON.stringify(saved_cookie_content));_manageExistingScripts()}
if(typeof onAccept==="function"&&!cookie_consent_accepted){cookie_consent_accepted=!0;return onAccept(saved_cookie_content)}
if(typeof onChange==="function"&&changedSettings.length>0){onChange(saved_cookie_content,changedSettings)}
if(must_reload){window.location.reload()}}
var _loadCSS=function(css_path,callback){var enable=typeof css_path==='string'&&css_path!="";if(enable&&!document.getElementById('cc--style')){var style=_createNode('style');style.id='cc--style';var xhr=new XMLHttpRequest();xhr.onreadystatechange=function(){if(this.readyState==4&&this.status==200){style.setAttribute('type','text/css');if(style.styleSheet){style.styleSheet.cssText=this.responseText}else{style.appendChild(document.createTextNode(this.responseText))}
document.getElementsByTagName('head')[0].appendChild(style);_log("CookieConsent [AUTOLOAD_CSS]: loaded style = '"+css_path+"'");callback()}};xhr.open("GET",css_path);xhr.send()}else{callback()}}
var _inArray=function(arr,value){var len=arr.length;for(var i=0;i<len;i++){if(arr[i]==value)
return i}
return-1}
var _log=function(print_msg,optional_param,error){ENABLE_LOGS&&(!error?console.log(print_msg,optional_param!==undefined?optional_param:' '):console.error(print_msg,optional_param||""))}
var _createNode=function(type){var el=document.createElement(type);if(type==='button'){el.setAttribute('type',type)}
return el}
var _getBrowserLang=function(){var browser_lang=navigator.language||navigator.browserLanguage;browser_lang.length>2&&(browser_lang=browser_lang[0]+browser_lang[1]);_log("CookieConsent [LANG]: detected_browser_lang = '"+browser_lang+"'");return browser_lang.toLowerCase()}
var _handleFocusTrap=function(){var tabbedOutsideDiv=!1;var tabbedInsideModal=!1;_addEvent(document,'keydown',function(e){e=e||window.event;if(e.key!=='Tab')return;if(current_modal_focusable){if(e.shiftKey){if(document.activeElement===current_modal_focusable[0]){current_modal_focusable[1].focus();e.preventDefault()}}else{if(document.activeElement===current_modal_focusable[1]){current_modal_focusable[0].focus();e.preventDefault()}}
if(!tabbedInsideModal&&!clicked_inside_modal){tabbedInsideModal=!0;!tabbedOutsideDiv&&e.preventDefault();if(e.shiftKey){if(current_modal_focusable[3]){if(!current_modal_focusable[2]){current_modal_focusable[0].focus()}else{current_modal_focusable[2].focus()}}else{current_modal_focusable[1].focus()}}else{if(current_modal_focusable[3]){current_modal_focusable[3].focus()}else{current_modal_focusable[0].focus()}}}}
!tabbedInsideModal&&(tabbedOutsideDiv=!0)});if(document.contains){_addEvent(main_container,'click',function(e){e=e||window.event;if(settings_modal_visible){if(!settings_inner.contains(e.target)){_cookieconsent.hideSettings(0);clicked_inside_modal=!1}else{clicked_inside_modal=!0}}else if(consent_modal_visible){if(consent_modal.contains(e.target)){clicked_inside_modal=!0}}},!0)}}
var _guiManager=function(gui_options,only_consent_modal){if(typeof gui_options!=='object')return;var consent_modal_options=gui_options.consent_modal;var settings_modal_options=gui_options.settings_modal;function _setLayout(modal,allowed_layouts,allowed_positions,allowed_transitions,layout,position,transition){position=position&&position.split(" ")||[];if(_inArray(allowed_layouts,layout)>-1){_addClass(modal,layout);if(!(layout==='bar'&&position[0]==='middle')&&_inArray(allowed_positions,position[0])>-1){for(var i=0;i<position.length;i++){_addClass(modal,position[i])}}}(_inArray(allowed_transitions,transition)>-1)&&_addClass(modal,transition)}
if(consent_modal_exists&&consent_modal_options){_setLayout(consent_modal,['box','bar','cloud'],['top','middle','bottom'],['zoom','slide'],consent_modal_options.layout,consent_modal_options.position,consent_modal_options.transition)}
if(!only_consent_modal&&settings_modal_options){_setLayout(settings_container,['bar'],['left','right'],['zoom','slide'],settings_modal_options.layout,settings_modal_options.position,settings_modal_options.transition)}}
_cookieconsent.allowedCategory=function(cookie_category){return _inArray(JSON.parse(_getCookie(_config.cookie_name,'one',!0)||'{}')['level']||[],cookie_category)>-1}
_cookieconsent.run=function(conf_params){if(!document.getElementById('cc_div')){_setConfig(conf_params);if(is_bot)return;saved_cookie_content=JSON.parse(_getCookie(_config.cookie_name,'one',!0)||"{}");cookie_consent_accepted=saved_cookie_content.level!==undefined;data=saved_cookie_content.data!==undefined?saved_cookie_content.data:null;valid_revision=typeof conf_params.revision==="number"?cookie_consent_accepted?conf_params.revision>-1?saved_cookie_content.revision===_config.revision:!0:!0:!0;consent_modal_exists=(!cookie_consent_accepted||!valid_revision);_createCookieConsentHTML(!consent_modal_exists,conf_params);_loadCSS(conf_params.theme_css,function(){_getModalFocusableData();_guiManager(conf_params.gui_options);_addCookieSettingsButtonListener();if(_config.autorun&&consent_modal_exists){_cookieconsent.show(conf_params.delay||0)}
setTimeout(function(){_addClass(main_container,'c--anim')},30);setTimeout(function(){_handleFocusTrap()},100)});if(cookie_consent_accepted&&valid_revision){var rfc_prop_exists=typeof saved_cookie_content.rfc_cookie==="boolean";if(!rfc_prop_exists||(rfc_prop_exists&&saved_cookie_content.rfc_cookie!==_config.use_rfc_cookie)){saved_cookie_content.rfc_cookie=_config.use_rfc_cookie;_setCookie(_config.cookie_name,JSON.stringify(saved_cookie_content))}
_manageExistingScripts();if(typeof conf_params.onAccept==="function"){conf_params.onAccept(saved_cookie_content)}}}else{_log("CookieConsent [NOTICE]: cookie consent already attached to body!")}}
_cookieconsent.showSettings=function(delay){setTimeout(function(){_addClass(html_dom,"show--settings");settings_container.setAttribute('aria-hidden','false');settings_modal_visible=!0;setTimeout(function(){if(!consent_modal_visible){last_elem_before_modal=document.activeElement}else{last_consent_modal_btn_focus=document.activeElement}
if(settings_modal_focusable.length===0)return;if(settings_modal_focusable[3]){settings_modal_focusable[3].focus()}else{settings_modal_focusable[0].focus()}
current_modal_focusable=settings_modal_focusable},200);_log("CookieConsent [SETTINGS]: show settings_modal")},delay>0?delay:0)}
var _manageExistingScripts=function(){if(!_config.page_scripts)return;var scripts=document.querySelectorAll('script['+_config.script_selector+']');var sequential_enabled=_config.page_scripts_order;var accepted_categories=saved_cookie_content.level||[];_log("CookieConsent [SCRIPT_MANAGER]: sequential loading:",sequential_enabled);var _loadScripts=function(scripts,index){if(index<scripts.length){var curr_script=scripts[index];var curr_script_category=curr_script.getAttribute(_config.script_selector);if(_inArray(accepted_categories,curr_script_category)>-1){curr_script.type='text/javascript';curr_script.removeAttribute(_config.script_selector);var src=curr_script.getAttribute('data-src');var fresh_script=_createNode('script');fresh_script.textContent=curr_script.innerHTML;(function(destination,source){var attr,attributes=source.attributes;var len=attributes.length;for(var i=0;i<len;i++){attr=attributes[i];destination.setAttribute(attr.nodeName,attr.nodeValue)}})(fresh_script,curr_script);src?(fresh_script.src=src):(src=curr_script.src);if(src){if(sequential_enabled){if(fresh_script.readyState){fresh_script.onreadystatechange=function(){if(fresh_script.readyState==="loaded"||fresh_script.readyState==="complete"){fresh_script.onreadystatechange=null;_loadScripts(scripts,++index)}}}else{fresh_script.onload=function(){fresh_script.onload=null;_loadScripts(scripts,++index)}}}else{src=!1}}
curr_script.parentNode.replaceChild(fresh_script,curr_script);if(src)return}
_loadScripts(scripts,++index)}}
_loadScripts(scripts,0)}
var _setCookieData=function(new_data,mode){var set=!1;if(mode==='update'){data=_cookieconsent.get('data');var same_type=typeof data===typeof new_data;if(same_type&&typeof data==="object"){!data&&(data={});for(var prop in new_data){if(data[prop]!==new_data[prop]){data[prop]=new_data[prop]
set=!0}}}else if((same_type||!data)&&data!==new_data){data=new_data;set=!0}}else{data=new_data;set=!0}
set&&(saved_cookie_content.data=data,_setCookie(_config.cookie_name,JSON.stringify(saved_cookie_content)))
return set}
var _setRevision=function(new_revision,prompt_consent,message){if(main_container&&typeof new_revision==="number"&&saved_cookie_content.revision!==new_revision){revision_enabled=!0;revision_message=message;valid_revision=!1;_config.revision=new_revision;if(prompt_consent===!0){_createConsentModal(_conf_params);_guiManager(_conf_params.gui_options,!0);_getModalFocusableData();_cookieconsent.show()}else{_cookieconsent.accept()}
return!0}
return!1}
_cookieconsent.set=function(field,data){switch(field){case 'data':return _setCookieData(data.value,data.mode);case 'revision':return _setRevision(data.value,data.prompt_consent,data.message)}}
_cookieconsent.get=function(field){var cookie=JSON.parse(_getCookie(_config.cookie_name,'one',!0)||"{}");return cookie[field]}
_cookieconsent.loadScript=function(src,callback,attrs){var function_defined=typeof callback==='function';if(!document.querySelector('script[src="'+src+'"]')){var script=_createNode('script');if(attrs&&attrs.length>0){for(var i=0;i<attrs.length;++i){attrs[i]&&script.setAttribute(attrs[i].name,attrs[i].value)}}
if(function_defined){if(script.readyState){script.onreadystatechange=function(){if(script.readyState==="loaded"||script.readyState==="complete"){script.onreadystatechange=null;callback()}}}else{script.onload=callback}}
script.src=src;(document.head?document.head:document.getElementsByTagName('head')[0]).appendChild(script)}else{function_defined&&callback()}}
_cookieconsent.show=function(delay){if(consent_modal_exists){setTimeout(function(){_addClass(html_dom,"show--consent");consent_modal.setAttribute('aria-hidden','false');consent_modal_visible=!0;setTimeout(function(){last_elem_before_modal=document.activeElement;current_modal_focusable=consent_modal_focusable},200);_log("CookieConsent [MODAL]: show consent_modal")},delay>0?delay:0)}}
_cookieconsent.hide=function(){if(consent_modal_exists){_removeClass(html_dom,"show--consent");consent_modal.setAttribute('aria-hidden','true');consent_modal_visible=!1;setTimeout(function(){last_elem_before_modal.focus();current_modal_focusable=null},200);_log("CookieConsent [MODAL]: hide")}}
_cookieconsent.hideSettings=function(){_removeClass(html_dom,"show--settings");settings_modal_visible=!1;settings_container.setAttribute('aria-hidden','true');setTimeout(function(){if(consent_modal_visible){last_consent_modal_btn_focus&&last_consent_modal_btn_focus.focus();current_modal_focusable=consent_modal_focusable}else{last_elem_before_modal.focus();current_modal_focusable=null}
clicked_inside_modal=!1},200);_log("CookieConsent [SETTINGS]: hide settings_modal")}
_cookieconsent.accept=function(_categories,_exclusions){var categories=_categories||undefined;var exclusions=_exclusions||[];var to_accept=[];var _getCurrentPreferences=function(){var toggles=document.querySelectorAll('.c-tgl')||[];var states=[];for(var i=0;i<toggles.length;i++){if(toggles[i].checked){states.push(toggles[i].value)}}
return states}
if(!categories){to_accept=_getCurrentPreferences()}else{if(typeof categories==="object"&&typeof categories.length==="number"){for(var i=0;i<categories.length;i++){if(_inArray(toggle_categories,categories[i])!==-1)
to_accept.push(categories[i])}}else if(typeof categories==="string"){if(categories==='all')
to_accept=toggle_categories.slice();else{if(_inArray(toggle_categories,categories)!==-1)
to_accept.push(categories)}}}
if(exclusions.length>=1){for(var i=0;i<exclusions.length;i++){to_accept=to_accept.filter(function(item){return item!==exclusions[i]})}}
for(var i=0;i<toggle_categories.length;i++){if(toggle_readonly[i]===!0&&_inArray(to_accept,toggle_categories[i])===-1){to_accept.push(toggle_categories[i])}}
_saveCookiePreferences(to_accept)}
_cookieconsent.eraseCookies=function(_cookies,_path,_domain){var cookies=[];var domains=_domain?[_domain,"."+_domain]:[_config.cookie_domain,"."+_config.cookie_domain];if(typeof _cookies==="object"&&_cookies.length>0){for(var i=0;i<_cookies.length;i++){this.validCookie(_cookies[i])&&cookies.push(_cookies[i])}}else{this.validCookie(_cookies)&&cookies.push(_cookies)}
_eraseCookies(cookies,_path,domains)}
var _setCookie=function(name,value){var value=_config.use_rfc_cookie?encodeURIComponent(value):value;var date=new Date();date.setTime(date.getTime()+(1000*(_config.cookie_expiration*24*60*60)));var expires="; expires="+date.toUTCString();var cookieStr=name+"="+(value||"")+expires+"; Path="+_config.cookie_path+";";cookieStr+=" SameSite="+_config.cookie_same_site+";";if(location.hostname.indexOf(".")>-1){cookieStr+=" Domain="+_config.cookie_domain+";"}
if(location.protocol==="https:"){cookieStr+=" Secure;"}
document.cookie=cookieStr;_log("CookieConsent [SET_COOKIE]: cookie "+name+"='"+value+"' was set!")}
var _getCookie=function(name,filter,get_value){var found;if(filter==='one'){found=(found=document.cookie.match("(^|;)\\s*"+name+"\\s*=\\s*([^;]+)"))?(get_value?found.pop():name):"";if(found&&name===_config.cookie_name){try{found=JSON.parse(found)}catch(e){found=JSON.parse(decodeURIComponent(found))}
found=JSON.stringify(found)}}else if(filter==='all'){var cookies=document.cookie.split(/;\s*/);found=[];for(var i=0;i<cookies.length;i++){found.push(cookies[i].split("=")[0])}}
return found}
var _eraseCookies=function(cookies,custom_path,domains){var path=custom_path?custom_path:'/';var expires='Expires=Thu, 01 Jan 1970 00:00:01 GMT;';for(var i=0;i<cookies.length;i++){document.cookie=cookies[i]+'=; path='+path+'; '+expires;for(var j=0;j<domains.length;j++){document.cookie=cookies[i]+'=; path='+path+(domains[j].indexOf('.')>-1?'; domain='+domains[j]:"")+'; '+expires}
_log("CookieConsent [AUTOCLEAR]: deleting cookie: '"+cookies[i]+"' path: '"+path+"' domain:",domains)}}
_cookieconsent.validCookie=function(cookie_name){return _getCookie(cookie_name,'one',!0)!=""}
var _addEvent=function(elem,event,fn,passive){var passive=passive||!1;if(elem.addEventListener){passive?elem.addEventListener(event,fn,{passive:!0}):elem.addEventListener(event,fn,!1)}else{elem.attachEvent("on"+event,fn)}}
var _getKeys=function(obj){if(typeof obj==="object"){var keys=[],i=0;for(keys[i++]in obj){};return keys}}
var _addClass=function(elem,classname){if(elem.classList)
elem.classList.add(classname)
else{if(!_hasClass(elem,classname))
elem.className+=' '+classname}}
var _removeClass=function(el,className){el.classList?el.classList.remove(className):el.className=el.className.replace(new RegExp('(\\s|^)'+className+'(\\s|$)'),' ')}
var _hasClass=function(el,className){if(el.classList){return el.classList.contains(className)}
return!!el.className.match(new RegExp('(\\s|^)'+className+'(\\s|$)'))}
return _cookieconsent};var init='initCookieConsent';if(typeof window[init]!=='function'){window[init]=CookieConsent}})();!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).uuidv4=e()}(this,(function(){"use strict";var t,e=new Uint8Array(16);function o(){if(!t&&!(t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return t(e)}var n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function r(t){return"string"==typeof t&&n.test(t)}for(var i=[],u=0;u<256;++u)i.push((u+256).toString(16).substr(1));return function(t,e,n){var u=(t=t||{}).random||(t.rng||o)();if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,e){n=n||0;for(var f=0;f<16;++f)e[n+f]=u[f];return e}return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(i[t[e+0]]+i[t[e+1]]+i[t[e+2]]+i[t[e+3]]+"-"+i[t[e+4]]+i[t[e+5]]+"-"+i[t[e+6]]+i[t[e+7]]+"-"+i[t[e+8]]+i[t[e+9]]+"-"+i[t[e+10]]+i[t[e+11]]+i[t[e+12]]+i[t[e+13]]+i[t[e+14]]+i[t[e+15]]).toLowerCase();if(!r(o))throw TypeError("Stringified UUID is invalid");return o}(u)}}));var ccConfig={"current_lang":"cs","autoclear_cookies":!0,"theme_css":"https:\/\/privacy.gng.cz\/api\/css?webId=top-rezidence.cz&v=1","page_scripts":!0,"cookie_name":"cc_cookie","cookie_expiration":182,"auto_language":!1,"autorun":!0,"delay":0,"force_consent":!1,"hide_from_bots":!1,"remove_cookie_tables":!1,"cookie_domain":"js>web_domain","cookie_path":"\/","cookie_same_site":"Lax","use_rfc_cookie":!1,"revision":0,"api_url":"https:\/\/privacy.gng.cz\/api\/consent","key_url":"https:\/\/privacy.gng.cz\/api\/key","button":0,"cookies":["cc_cookie","PHPSESSID","nette-browser","_ga","_gid","_gat","_fbp","_fbc","sid"],"gui_options":{"consent_modal":{"layout":"bar","position":"bottom right","transition":"slide"},"settings_modal":{"layout":"box","position":"left","transition":"slide"}},"languages":{"cs":{"button":{"title":"Nastaven\u00ed cookies"},"consent_modal":{"title":"Tento web pou\u017e\u00edv\u00e1 cookies","description":"Za \u00fa\u010delem zlep\u0161en\u00ed V\u00e1m poskytovan\u00fdch slu\u017eeb vyu\u017e\u00edvaj\u00ed str\u00e1nky KKCG Real Estate Group a.s. soubory cookie. Ka\u017ed\u00fd typ cookie m\u00e1 sv\u016fj \u00fa\u010del. Nezbytn\u00e9 cookies budou pou\u017eity automaticky bez Va\u0161eho souhlasu, proto\u017ee zaji\u0161\u0165uj\u00ed nezbytn\u00e9 funkce t\u011bchto str\u00e1nek pro spr\u00e1vn\u00e9 fungov\u00e1n\u00ed. Ostatn\u00ed cookies (preferen\u010dn\u00ed k p\u0159izp\u016fsoben\u00ed str\u00e1nek Va\u0161im pot\u0159eb\u00e1m, analytick\u00e9 k p\u0159ehled\u016fm o Va\u0161em chov\u00e1n\u00ed a reklamn\u00ed k p\u0159izp\u016fsoben\u00ed reklamy na m\u00edru) m\u016f\u017eete bu\u010f v\u0161echny povolit n\u00ed\u017ee tla\u010d\u00edtkem \u201eRozum\u00edm a p\u0159ij\u00edm\u00e1m\u201c, odm\u00edtnout nebo nastavit podrobn\u011b <button type=\"button\" data-cc=\"c-settings\" class=\"cc-link\">kliknut\u00edm zde<\/button>. Sv\u016fj v\u00fdb\u011br m\u016f\u017eete tak\u00e9 kdykoliv pozd\u011bji zm\u011bnit. V\u00edce informac\u00ed o zpracov\u00e1n\u00ed cookies, zapojen\u00ed dal\u0161\u00edch partner\u016f a va\u0161ich pr\u00e1vech najdete v na\u0161ich <a class=\"cc-link\" href=\"https:\/\/www.kkcgrealestate.cz\/cs\/obecna-informace-o-osobnich-udajich\" target=\"_blank\">Z\u00e1sad\u00e1ch ochrany osobn\u00edch \u00fadaj\u016f<\/a>.","primary_btn":{"text":"Rozum\u00edm a p\u0159\u00edjm\u00e1m","role":"accept_all"},"secondary_btn":{"text":"Podrobn\u00e9 nastaven\u00ed","role":"settings"}},"settings_modal":{"title":"Nastaven\u00ed cookies","save_settings_btn":"Ulo\u017eit nastaven\u00ed","accept_all_btn":"Povolit v\u0161e","reject_all_btn":"Odm\u00edtnout v\u0161e","close_btn_label":"Zav\u0159\u00edt","cookie_table_headers":[{"col1":"N\u00e1zev"},{"col2":"Dom\u00e9na"},{"col3":"Expirace"},{"col4":"Popis"}],"blocks":[{"title":"Vyu\u017eit\u00ed cookies","description":"Za \u00fa\u010delem zlep\u0161en\u00ed V\u00e1m poskytovan\u00fdch slu\u017eeb vyu\u017e\u00edvaj\u00ed str\u00e1nky KKCG Real Estate Group a.s. cookies.<br \/><br \/> Soubory cookie jsou mal\u00e9 textov\u00e9 soubory, kter\u00e9 ukl\u00e1daj\u00ed informace ve Va\u0161em prohl\u00ed\u017ee\u010di.<br \/><br \/> Podle z\u00e1kona m\u016f\u017eeme ukl\u00e1dat na Va\u0161e za\u0159\u00edzen\u00ed cookies, pouze pokud jsou nezbytn\u011b nutn\u00e9 pro funk\u010dnost str\u00e1nek. Pro v\u0161echny ostatn\u00ed typy (preferen\u010dn\u00ed, analytick\u00e9 a reklamn\u00ed) pot\u0159ebujeme V\u00e1\u0161 souhlas.<br \/><br \/> Tato str\u00e1nka pou\u017e\u00edv\u00e1 r\u016fzn\u00e9 typy cookies. N\u011bkter\u00e9 cookies jsou um\u00edst\u011bny slu\u017ebami t\u0159et\u00edch stran, kter\u00e9 vyu\u017e\u00edv\u00e1me na na\u0161ich str\u00e1nk\u00e1ch.<br \/><br \/>V\u00edce informac\u00ed, najdete v na\u0161ich <a class=\"cc-link\" href=\"https:\/\/www.kkcgrealestate.cz\/cs\/obecna-informace-o-osobnich-udajich\" target=\"_blank\">Z\u00e1sad\u00e1ch ochrany osobn\u00edch \u00fadaj\u016f<\/a>."},{"title":"Nezbytn\u00e9 cookies","description":"Tyto cookies kter\u00e9 jsou nutn\u00e9 pro z\u00e1kladn\u00ed funk\u010dnost webu. Nem\u016f\u017eete je proto odm\u00edtnout a nepot\u0159ebujeme k jejich zpracov\u00e1n\u00ed V\u00e1\u0161 souhlas.","toggle":{"value":"functionality_storage","enabled":!0,"readonly":!0},"cookie_table":[{"col1":"cc_cookie","col2":"js>web_domain","col3":"1 rok","col4":"uchov\u00e1v\u00e1 informace o souhlasu s pou\u017e\u00edv\u00e1n\u00edm cookies"},{"col1":"PHPSESSID","col2":"js>web_domain","col3":"do konce relace","col4":"identifikuje va\u0161i aktu\u00e1ln\u00ed relaci se serverem"},{"col1":"nette-browser","col2":"js>web_domain","col3":"do konce relace","col4":"identifikuje va\u0161i aktu\u00e1ln\u00ed relaci se serverem"}]},{"title":"Analytick\u00e9 a statistick\u00e9 cookies","description":"Analytick\u00e9 cookies n\u00e1m pom\u00e1haj\u00ed zv\u00fd\u0161it u\u017eivatelsk\u00e9 pohodl\u00ed na\u0161eho webu t\u00edm, \u017ee pochop\u00edme, jak jej u\u017eivatel\u00e9 pou\u017e\u00edvaj\u00ed a analyzovat v\u00fdkon r\u016fzn\u00fdch prodejn\u00edch kan\u00e1l\u016f.","toggle":{"value":"analytics_storage","enabled":!1,"readonly":!1},"cookie_table":[{"col1":"_ga","col2":"js>analytics_domain","col3":"2 roky","col4":"dlouhodob\u00e9 rozpozn\u00e1n\u00ed u\u017eivatele pro slu\u017ebu Google analytics"},{"col1":"_gid","col2":"js>analytics_domain","col3":"1 den","col4":"kr\u00e1tkodob\u00e9 rozpozn\u00e1n\u00ed u\u017eivatele pro slu\u017ebu Google analytics"},{"col1":"^_gat","col2":"js>analytics_domain","col3":"1 minuta","col4":"omezen\u00ed po\u010dtu dotaz\u016f na Google analytics","is_regex":!0},{"col1":"_fbc","col2":"js>analytics_domain","col3":"3 m\u011bs\u00edce","col4":"m\u011b\u0159en\u00ed proklik\u016f z reklam na slu\u017eb\u011b Facebook"}]},{"title":"Reklamn\u00ed cookies","description":"Reklamn\u00ed cookies pou\u017e\u00edv\u00e1me spolu s na\u0161imi partnery pro personalizaci obsahu reklam a jejich spr\u00e1vn\u00e9mu zac\u00edlen\u00ed.","toggle":{"value":"ad_storage","enabled":!1,"readonly":!1},"cookie_table":[{"col1":"_ga","col2":"js>analytics_domain","col3":"2 roky","col4":"dlouhodob\u00e9 rozpozn\u00e1n\u00ed u\u017eivatele pro slu\u017ebu Google analytics"},{"col1":"_gid","col2":"js>analytics_domain","col3":"1 den","col4":"kr\u00e1tkodob\u00e9 rozpozn\u00e1n\u00ed u\u017eivatele pro slu\u017ebu Google analytics"},{"col1":"_fbp","col2":"js>analytics_domain","col3":"3 m\u011bs\u00edce","col4":"zobrazeni relevantn\u00edch reklam na slu\u017eb\u011b Facebook"},{"col1":"sid","col2":".seznam.cz","col3":"30 dn\u00ed","col4":"m\u011b\u0159en\u00ed konverz\u00ed slu\u017eby sklik.cz"}]}]},"essential":{"title":"Tento web pou\u017e\u00edv\u00e1 pouze nezbytn\u00e9 cookies","text":"Za \u00fa\u010delem zlep\u0161en\u00ed V\u00e1m poskytovan\u00fdch slu\u017eeb vyu\u017e\u00edvaj\u00ed str\u00e1nky KKCG Real Estate Group a.s. soubory cookie. Nezbytn\u00e9 cookies budou pou\u017eity automaticky bez Va\u0161eho souhlasu, proto\u017ee zaji\u0161\u0165uj\u00ed nezbytn\u00e9 funkce t\u011bchto str\u00e1nek pro spr\u00e1vn\u00e9 fungov\u00e1n\u00ed. \u017d\u00e1dn\u00e9 jin\u00e9 cookies tento web nevyu\u017e\u00edv\u00e1, podrobn\u00e9 informace o pou\u017eit\u00fdch cookies <button type=\"button\" data-cc=\"c-settings\" class=\"cc-link\">najdete zde<\/button>.  V\u00edce informac\u00ed o zpracov\u00e1n\u00ed cookies, zapojen\u00ed dal\u0161\u00edch partner\u016f a va\u0161ich pr\u00e1vech najdete v na\u0161ich <a class=\"cc-link\" href=\"https:\/\/www.kkcgrealestate.cz\/cs\/obecna-informace-o-osobnich-udajich\" target=\"_blank\">Z\u00e1sad\u00e1ch ochrany osobn\u00edch \u00fadaj\u016f<\/a>.","button":"Rozum\u00edm","modal_text":"Za \u00fa\u010delem zlep\u0161en\u00ed V\u00e1m poskytovan\u00fdch slu\u017eeb vyu\u017e\u00edvaj\u00ed str\u00e1nky KKCG Real Estate Group a.s. cookies.<br \/><br \/> Soubory cookie jsou mal\u00e9 textov\u00e9 soubory, kter\u00e9 ukl\u00e1daj\u00ed informace ve Va\u0161em prohl\u00ed\u017ee\u010di.<br \/><br \/> Podle z\u00e1kona m\u016f\u017eeme ukl\u00e1dat na Va\u0161e za\u0159\u00edzen\u00ed cookies, pouze pokud jsou nezbytn\u011b nutn\u00e9 pro funk\u010dnost str\u00e1nek, \u017e\u00e1dn\u00e9 jin\u00e9 cookies tento web nevyu\u017e\u00edv\u00e1.<br \/><br \/>V\u00edce informac\u00ed, najdete v na\u0161ich <a class=\"cc-link\" href=\"https:\/\/www.kkcgrealestate.cz\/cs\/obecna-informace-o-osobnich-udajich\" target=\"_blank\">Z\u00e1sad\u00e1ch ochrany osobn\u00edch \u00fadaj\u016f<\/a>."}},"sk":{"button":{"title":"Nastavenia cookies"},"consent_modal":{"title":"Tento web pou\u017e\u00edva cookies","description":"Za \u00fa\u010delom zlep\u0161ovania v\u00e1m poskytovan\u00fdch slu\u017eieb vyu\u017e\u00edvaj\u00fa str\u00e1nky KKCG Real Estate Group a.s. s\u00fabory cookies. Ka\u017ed\u00fd typ cookies m\u00e1 svoj \u00fa\u010del. Nevyhnutn\u00e9 cookies bud\u00fa pou\u017eit\u00e9 automaticky bez v\u00e1\u0161ho s\u00fahlasu, preto\u017ee zais\u0165uj\u00fa nevyhnutn\u00e9 funkcie t\u00fdchto str\u00e1nok a spr\u00e1vne fungovanie. Ostatn\u00e9 cookies (preferen\u010dn\u00e9 na prisp\u00f4sobenie str\u00e1nok va\u0161im potreb\u00e1m, analytick\u00e9 k preh\u013eadom o va\u0161om spr\u00e1van\u00ed a reklamn\u00e9 na prisp\u00f4sobenie reklamy na mieru) m\u00f4\u017eete bu\u010f v\u0161etky povoli\u0165 ni\u017e\u0161ie tla\u010didlom \u201eRozumiem a prij\u00edmam\u201c, odmietnu\u0165 alebo nastavi\u0165 podrobne <button type=\"button\" data-cc=\"c-settings\" class=\"cc-link\">kliknut\u00edm tu<\/button>. Svoj v\u00fdber m\u00f4\u017eete tie\u017e kedyko\u013evek nesk\u00f4r zmeni\u0165.","primary_btn":{"text":"Rozumiem a prij\u00edmam","role":"accept_all"},"secondary_btn":{"text":"Podrobn\u00e9 nastavenia","role":"settings"}},"settings_modal":{"title":"Nastavenia cookies","save_settings_btn":"Ulo\u017ei\u0165 nastavenia","accept_all_btn":"Povoli\u0165 v\u0161etky","reject_all_btn":"Odmietnu\u0165 v\u0161etky","close_btn_label":"Zavrie\u0165","cookie_table_headers":[{"col1":"N\u00e1zov"},{"col2":"Dom\u00e9na"},{"col3":"Expir\u00e1cia"},{"col4":"Popis"}],"blocks":[{"title":"Vyu\u017e\u00edvanie s\u00faborov cookies","description":"Za \u00fa\u010delom vylep\u0161enia V\u00e1m poskytovan\u00fdch slu\u017eieb vyu\u017e\u00edvaj\u00fa str\u00e1nky KKCG Real Estate Group a.s. cookies.<br \/><br \/> S\u00fabory cookies s\u00fa mal\u00e9 textov\u00e9 s\u00fabory, ktor\u00e9 ukladaj\u00fa inform\u00e1cie vo Va\u0161om prehliada\u010di.<br \/><br \/> Pod\u013ea z\u00e1kona m\u00f4\u017eeme uklada\u0165 cookies vo Va\u0161om zariaden\u00ed, ak s\u00fa nevyhnutn\u00e9 na fungovanie str\u00e1nky. Pre v\u0161etky ostatn\u00e9 typy cookies (preferen\u010dn\u00e9, analytick\u00e9 a reklamn\u00e9) potrebujeme V\u00e1\u0161 s\u00fahlas.<br \/><br \/> T\u00e1to str\u00e1nka pou\u017e\u00edva r\u00f4zne typy cookies. Niektor\u00e9 cookies s\u00fa umiestnen\u00e9 slu\u017ebami tret\u00edch str\u00e1n, ktor\u00e9 vyu\u017e\u00edvame na na\u0161ich str\u00e1nkach."}]},"essential":{"title":"T\u00e1to webov\u00e1 str\u00e1nka pou\u017e\u00edva iba nevyhnutn\u00e9 s\u00fabory cookie","text":"Za \u00fa\u010delom zlep\u0161ovania v\u00e1m poskytovan\u00fdch slu\u017eieb vyu\u017e\u00edvaj\u00fa str\u00e1nky KKCG Real Estate Group a.s. s\u00fabory cookies. Ka\u017ed\u00fd typ cookies m\u00e1 svoj \u00fa\u010del. Nevyhnutn\u00e9 cookies bud\u00fa pou\u017eit\u00e9 automaticky bez v\u00e1\u0161ho s\u00fahlasu, preto\u017ee zais\u0165uj\u00fa nevyhnutn\u00e9 funkcie t\u00fdchto str\u00e1nok a spr\u00e1vne fungovanie. Na tejto webovej str\u00e1nke sa nepou\u017e\u00edvaj\u00fa \u017eiadne in\u00e9 s\u00fabory cookie, podrobn\u00e9 inform\u00e1cie o pou\u017e\u00edvan\u00fdch s\u00faboroch cookie <button type=\"button\" data-cc=\"c-settings\" class=\"cc-link\">n\u00e1jdete tu<\/button>. ","button":"Rozumiem","modal_text":"Za \u00fa\u010delom vylep\u0161enia V\u00e1m poskytovan\u00fdch slu\u017eieb vyu\u017e\u00edvaj\u00fa str\u00e1nky KKCG Real Estate Group a.s. cookies.<br \/><br \/> S\u00fabory cookies s\u00fa mal\u00e9 textov\u00e9 s\u00fabory, ktor\u00e9 ukladaj\u00fa inform\u00e1cie vo Va\u0161om prehliada\u010di.<br \/><br \/> Pod\u013ea z\u00e1kona m\u00f4\u017eeme uklada\u0165 cookies vo Va\u0161om zariaden\u00ed, ak s\u00fa nevyhnutn\u00e9 na fungovanie str\u00e1nky, na tejto webovej str\u00e1nke sa nepou\u017e\u00edvaj\u00fa \u017eiadne in\u00e9 s\u00fabory cookie."}},"en":{"button":{"title":"Cookie settings"},"consent_modal":{"title":"This website is using cookies","description":"In order to improve the services provided, KKCG Real Estate Group a.s. website uses cookies. Each type of cookie has a purpose. The essential cookies will be used automatically without your consent, as they provide the functions necessary for a proper operation of this website. All other cookies (preferential to adapt the site to your needs, analytic to report on your behaviour and advertising to customize advertising) can be enabled below by clicking on the button \"Accept and Agree\", rejected or set in detail by <button type=\"button\" data-cc=\"c-settings\" class=\"cc-link\">clicking here<\/button>. You are also entitled to change your selection at any time later. You can find more information about the processing of cookies, the involvement of other partners and your rights in our <a class=\"cc-link\" href=\"https:\/\/www.kkcgrealestate.cz\/en\/general-information-about-personal-data\" target=\"_blank\">Privacy Policy<\/a>.","primary_btn":{"text":"Accept and Agree","role":"accept_all"},"secondary_btn":{"text":"Detailed settings","role":"settings"}},"settings_modal":{"title":"Cookie settings","save_settings_btn":"Save settings","accept_all_btn":"Accept all","reject_all_btn":"Reject all","close_btn_label":"Close","cookie_table_headers":[{"col1":"Name"},{"col2":"Domain"},{"col3":"Expiration"},{"col4":"Description"}],"blocks":[{"title":"Cookie usage","description":"In order to improve the service we provide to you, KKCG Real Estate Group a.s. website uses cookies.<br \/><br \/> Cookies are small text files that store information in your browser.<br \/><br \/> By law, we can only place cookies on your device if they are strictly necessary for the functionality of the site. For all other types (preferential, analytic and advertising) we need your consent.<br \/><br \/> This site uses different types of cookies. Some cookies are placed by third party services that we use on our site.<br \/><br \/>You can find more information about the processing of cookies, the involvement of other partners and your rights in our <a class=\"cc-link\" href=\"https:\/\/www.kkcgrealestate.cz\/en\/general-information-about-personal-data\" target=\"_blank\">Privacy Policy<\/a>."}]},"essential":{"title":"This website is using only essential cookies","text":"In order to improve the services provided, KKCG Real Estate Group a.s. website uses cookies. The essential cookies will be used automatically without your consent, as they provide the functions necessary for a proper operation of this website. This website is using only essential cookies, you can find detailed information by <button type=\"button\" data-cc=\"c-settings\" class=\"cc-link\">clicking here<\/button>.  You can find more information about the processing of cookies, the involvement of other partners and your rights in our <a class=\"cc-link\" href=\"https:\/\/www.kkcgrealestate.cz\/en\/general-information-about-personal-data\" target=\"_blank\">Privacy Policy<\/a>.","button":"Accept","modal_text":"In order to improve the service we provide to you, KKCG Real Estate Group a.s. website uses cookies.<br \/><br \/> Cookies are small text files that store information in your browser.<br \/><br \/> By law, we can only place cookies on your device if they are strictly necessary for the functionality of the site, no other cookies are used by this website.<br \/><br \/>You can find more information about the processing of cookies, the involvement of other partners and your rights in our <a class=\"cc-link\" href=\"https:\/\/www.kkcgrealestate.cz\/en\/general-information-about-personal-data\" target=\"_blank\">Privacy Policy<\/a>."}}},"company":"KKCG Real Estate Group a.s.","privacy_cs":"https:\/\/www.kkcgrealestate.cz\/cs\/obecna-informace-o-osobnich-udajich","privacy_en":"https:\/\/www.kkcgrealestate.cz\/en\/general-information-about-personal-data"};window.dataLayer=window.dataLayer||[];if(typeof gtag==="undefined"){function gtag(){dataLayer.push(arguments)}}
var ccContainer={jsMark:"js>",data:{},beforeAjax:function(xhr,url,success){},beforeAjaxSend:function(xhr,url){},afterAjax:function(xhr,url){},beforeUpdate:function(){},afterUpdate:function(){},onConsentsStr:function(url){return url},onGtagConsents:function(obj){return obj},onCookieLink:function(ele){return ele},onSetId:function(){},afterRun:function(){},initCC:function(){this.cookieconsent=initCookieConsent();var that=this;dataLayer.push({event:'gng_consent_visit'});function processParams(obj){for(let ok in obj){if(typeof obj[ok]==="object"){processParams(obj[ok])}else{let propValue=obj[ok].toString();if(propValue.search(that.jsMark)!==-1){var hostNameParts=location.hostname.split('.')
var tdl=hostNameParts.pop();var domain=hostNameParts.pop();var replaceMarks={'web_domain':location.hostname,'analytics_domain':'.'+domain+'.'+tdl,}
for(let mark in replaceMarks){propValue=propValue.replaceAll(that.jsMark+mark,replaceMarks[mark])}
obj[ok]=propValue}}}}
processParams(ccConfig);ccConfig.onAccept=function(cookie){that.updateApi()};ccConfig.onChange=function(cookie,changed_preferences){that.updateApi()}},refreshData:function(){this.data=this.cookieconsent.get('data')},getAjax:function(url,success){var xhr=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject('Microsoft.XMLHTTP');this.beforeAjax(xhr,url,success);xhr.open('GET',url);xhr.onreadystatechange=function(){if(xhr.readyState>3&&xhr.status==200){success(xhr.responseText)}};xhr.setRequestHeader('X-Requested-With','XMLHttpRequest');this.beforeAjaxSend(xhr,url);xhr.send();this.afterAjax(xhr,url);return xhr},updateApi:function(){this.refreshData();this.beforeUpdate();var consentsStr='';var gtagConsents={'ad_storage':'denied','analytics_storage':'denied','functionality_storage':'denied','settings':'denied','personalization_storage':'denied','security_storage':'denied'};this.cookieconsent.get('level').forEach(function(ele){consentsStr+='&consents[]='+ele
gtagConsents[ele]='granted'});consentsStr=this.onConsentsStr(consentsStr);gtagConsents=this.onGtagConsents(gtagConsents);gtag('consent','update',gtagConsents);this.cookieconsent.get('level').forEach(function(ele){dataLayer.push({event:'gng_consent_update'});dataLayer.push({event:'gng_consent_'+ele})});if(typeof this.data.consentid!=='undefined'){var that=this;this.getAjax(ccConfig.key_url,function(key){that.getAjax(ccConfig.api_url+'/?consentId='+that.data.consentid+consentsStr+'&key='+key,function(data){})})}
this.afterUpdate()},run:function(){if(ccConfig.button){var ele=document.createElement("A");ele.innerHTML=ccConfig.languages[ccConfig.current_lang].button.title
ele.id='cc--custom-open';ele.href='#!';ele.setAttribute('data-cc','c-settings');ele=this.onCookieLink(ele);ele.style.display='none';document.body.appendChild(ele);var buttonTimeout=null;function setButtonTimeout(){buttonTimeout=window.setTimeout(function(){var el=document.getElementById(ele.id);var style=window.getComputedStyle(el);if(style.getPropertyValue('user-select')==='none'){ele.style.display='block';window.setTimeout(function(){ele.classList.add('showed')},10)}else{setButtonTimeout()}},500)}
setButtonTimeout()}
this.cookieconsent.run(ccConfig);this.refreshData();if(typeof this.data==='undefined'){this.cookieconsent.set('data',{value:{consentid:uuidv4()}});this.refreshData();this.onSetId()}
this.afterRun()}};(function(){ccContainer.initCC();if(typeof webInit!=='undefined'&&typeof webInit.init!=='undefined'){webInit.init(ccContainer)}else{ccContainer.run()}})()