1const consentType={gdpr:'optin',ccpa:'optout',};const categoryMap={functional:'preferences',analytics:['statistics','statistics-anonymous'],performance:'functional',advertisement:'marketing',};const gskEnabled=typeof _ckyGsk!=='undefined'&&_ckyGsk?_ckyGsk:!1;document.addEventListener("cookieyes_consent_update",function(){const consentData=getCkyConsent();const categories=consentData.categories;if((consentData.isUserActionCompleted===!1)&&gskEnabled&&!Object.values(categories).slice(1).includes(!0)){return} 2window.wp_consent_type=consentData.activeLaw?consentType[consentData.activeLaw]:'optin';let event=new CustomEvent('wp_consent_type_defined');document.dispatchEvent(event);Object.entries(categories).forEach(([key,value])=>{if(!(key in categoryMap)) 3return;setConsentStatus(key,value?'allow':'deny')});function setConsentStatus(key,status){if(Array.isArray(categoryMap[key])){categoryMap[key].forEach(el=>{wp_set_consent(el,status)})}else{wp_set_consent(categoryMap[key],status)}}}) 4;
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.