1(function(){'use strict';function setCookie(name,value,days){var d=new Date();d.setTime(d.getTime()+days*86400000);document.cookie=name+'='+value+';path=/;expires='+d.toUTCString()+';SameSite=Lax'} 2function loadMapInWrap(wrap,btn){var src=btn.dataset.src;var overlay=wrap.querySelector('.kre-consent-overlay');var temp=document.createElement('div');temp.innerHTML='<iframe '+(btn.dataset.attrs||'')+' src="'+src+'"></iframe>';var iframe=temp.firstChild;if(!iframe||iframe.tagName!=='IFRAME'){iframe=document.createElement('iframe');iframe.src=src;iframe.style.cssText='width:100%;height:450px;border:0;';iframe.setAttribute('allowfullscreen','');iframe.setAttribute('loading','lazy')} 3iframe.dataset.consentProcessed='1';if(overlay)overlay.remove();wrap.appendChild(iframe)} 4window.kreLoadMap=function(btn){var wrap=btn.closest('.kre-consent-wrap');var remember=wrap.querySelector('.kre-consent-remember input').checked;if(remember){setCookie('kre_embed_consent_googlemaps','1',365)} 5loadMapInWrap(wrap,btn);if(remember){document.querySelectorAll('.kre-consent-wrap .kre-consent-btn[data-src]').forEach(function(b){var otherWrap=b.closest('.kre-consent-wrap');if(otherWrap&&otherWrap!==wrap)loadMapInWrap(otherWrap,b)})}};var BORLABS_SERVICE_KEYS=['maps','googlemaps'];function loadAllBlockedMaps(){document.querySelectorAll('.kre-consent-wrap .kre-consent-btn[data-src]').forEach(function(btn){var wrap=btn.closest('.kre-consent-wrap');if(wrap)loadMapInWrap(wrap,btn)})} 6function hasBorlabsConsent(){if(window.BorlabsCookie&&typeof window.BorlabsCookie.checkCookieConsent==='function'){for(var i=0;i<BORLABS_SERVICE_KEYS.length;i++){try{if(window.BorlabsCookie.checkCookieConsent(BORLABS_SERVICE_KEYS[i]))return!0}catch(e){}}} 7var match=document.cookie.match(/borlabs-cookie=([^;]+)/);if(match){try{var data=JSON.parse(decodeURIComponent(match[1]));if(data&&data.consents){for(var group in data.consents){if(!Array.isArray(data.consents[group]))continue;for(var j=0;j<BORLABS_SERVICE_KEYS.length;j++){if(data.consents[group].indexOf(BORLABS_SERVICE_KEYS[j])!==-1){return!0}}}}}catch(e){}} 8return!1} 9function checkAndLoad(){if(hasBorlabsConsent())loadAllBlockedMaps()} 10if(document.readyState==='loading'){document.addEventListener('DOMContentLoaded',checkAndLoad)}else{checkAndLoad()} 11document.addEventListener('borlabs-cookie-consent-saved',checkAndLoad);document.addEventListener('borlabs-cookie-consent-updated',checkAndLoad);BORLABS_SERVICE_KEYS.forEach(function(key){window.addEventListener('borlabs-cookie-accepted-'+key,loadAllBlockedMaps)})})()
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.