1(function(){'use strict';var COOKIE_NAME='wc_facebook_signals_state';var STATE_ACTIVE='active';var STATE_HELD='held';function setCookie(name,value,days){var d=new Date();d.setTime(d.getTime()+days*86400000);document.cookie=name+'='+ 2encodeURIComponent(value)+';expires='+ 3d.toUTCString()+';path=/;SameSite=Lax';} 4function getCookie(name){var match=document.cookie.match(new RegExp('(?:^|;\\s*)'+name+'=([^;]*)'));return match?decodeURIComponent(match[1]):null;} 5function updateState(state){setCookie(COOKIE_NAME,state,365);var params=wc_facebook_signals_params;return new Promise(function(resolve,reject){var xhr=new XMLHttpRequest();xhr.open('POST',params.ajax_url,true);xhr.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8');xhr.onload=function(){if(xhr.status>=200&&xhr.status<300){try{var data=JSON.parse(xhr.responseText);resolve(data);}catch(e){reject(e);}}else{reject(new Error('AJAX failed: '+xhr.status));}};xhr.onerror=function(){reject(new Error('Network error'));};xhr.send('action='+ 6encodeURIComponent(params.action)+'&security='+ 7encodeURIComponent(params.nonce)+'&state='+ 8encodeURIComponent(state));});} 9function hold(){return updateState(STATE_HELD);} 10function release(){return updateState(STATE_ACTIVE).then(function(data){if(window.FacebookSignals&&window.FacebookSignals._held){return window.FacebookSignals.release().then(function(){return data;},function(){return data;});} 11return data;});} 12function getState(){var val=getCookie(COOKIE_NAME);if(val===null){return null;} 13return val===STATE_ACTIVE?STATE_ACTIVE:STATE_HELD;} 14window.fbwcsignal=window.fbwcsignal||{};window.fbwcsignal.hold=hold;window.fbwcsignal.release=release;window.fbwcsignal.getState=getState;})();
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.