1function debugLog(message,data){if(window.consentManagerDebugConfig && window.consentManagerDebugConfig.debug_enabled){if(data !== undefined){console.log('Google Consent Mode: ' + message,data);}else{console.log('Google Consent Mode: ' + message);}}}if(window.consentManagerDebugConfig && window.consentManagerDebugConfig.debug_enabled){console.log('Google Consent Mode v2: Script loaded');}window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}let GOOGLE_CONSENT_V2_DEFAULTS ={'ad_storage': 'denied','ad_user_data': 'denied','ad_personalization': 'denied','analytics_storage': 'denied','personalization_storage': 'denied','functionality_storage': 'denied','security_storage': 'denied'};let GOOGLE_CONSENT_V2_FIELDS = [ 'ad_storage','ad_user_data','ad_personalization','analytics_storage','personalization_storage','functionality_storage','security_storage',];let GOOGLE_CONSENT_V2_FIELDS_EVENTS ={'analytics_storage':{'on_granted': function(){console.log('Analytics storage consent granted');},'on_denied': function(){console.log('Analytics storage consent denied');}}};function array_combine(keys,values){const newArray ={};let i = 0;if(typeof keys !== 'object' || typeof values !== 'object' || typeof keys.length !== 'number' || typeof values.length !== 'number' || !keys.length || !values.length || keys.length !== values.length){return false;}for(i = 0;i < keys.length;i++){newArray[keys[i]] = values[i];}return newArray;}function array_fill(startIndex,num,mixedVal){let key;const tmpArr = [];if(!isNaN(startIndex)&& !isNaN(num)){for(key = 0;key < num;key++){tmpArr[(key + startIndex)] = mixedVal;}}return tmpArr;}let currentConsentSettings ={...GOOGLE_CONSENT_V2_DEFAULTS};gtag('consent','default',currentConsentSettings);if(localStorage.getItem('userId')!= null){window.dataLayer.push({'user_id': localStorage.getItem('userId')});}function setConsent(consent){debugLog('Updating with consent',consent);for(const key of Object.keys(currentConsentSettings)){if(typeof consent[key] !== "undefined"){if(typeof(GOOGLE_CONSENT_V2_FIELDS_EVENTS[key])!= 'undefined'){if(consent[key] === true && currentConsentSettings[key] === 'denied'){GOOGLE_CONSENT_V2_FIELDS_EVENTS[key]['on_granted']();}else if(consent[key] === false && currentConsentSettings[key] === 'granted'){GOOGLE_CONSENT_V2_FIELDS_EVENTS[key]['on_denied']();}}currentConsentSettings[key] =(consent[key] === true ? 'granted' : 'denied');}}window.currentConsentSettings ={...currentConsentSettings};debugLog('Final settings',currentConsentSettings);gtag('consent','update',currentConsentSettings);}window.GoogleConsentModeV2 ={setConsent: setConsent,getCurrentSettings: function(){return{...currentConsentSettings};},fields: GOOGLE_CONSENT_V2_FIELDS,events: GOOGLE_CONSENT_V2_FIELDS_EVENTS};window.setConsent = setConsent;window.currentConsentSettings ={...currentConsentSettings};if(window.consentManagerDebugConfig && window.consentManagerDebugConfig.debug_enabled){console.log('Google Consent Mode v2 initialized');}
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.