PageSourceSearch

https://windsorstar.com/wp-content/client-mu-plugins/pmd-analytics/build/js/amplitude-head.js?ver=1790268642

js windsorstar.com collected 2026-09-24 17:39:50 UTC 1,915 bytes, 2 lines download raw bytes

1!function(t){if(!t)return;try{let e=localStorage.getItem("pmd_amplitude_device_id");if(!e){const d=JSON.parse(localStorage.getItem("AMP_"+t.apiKey)||"{}");d&&d.deviceId&&(e=d.deviceId,localStorage.setItem("pmd_amplitude_device_id",e))}e&&(window.pmdAmplitudeDeviceId=e)}catch(t){}window.pmdAmplitudeSDKLoading=!0;const e=document.createElement("script");function d(){window._pmdEnrichFCData&&"function"==typeof window._pmdEnrichFCData.onDataReady&&window._pmdEnrichFCData.onDataReady(t=>{try{if(t&&window.amplitude&&"function"==typeof window.amplitude.Identify){const e=t?.pid??null,d=t?.hashed_data??[],i=new window.amplitude.Identify;let a={};try{a=JSON.parse(localStorage.getItem("pmd_fc_data"))??{}}catch(t){a={}}let n=!1;if(a&&a.amplitude_sync_status&&(n=a.amplitude_sync_status),!n){e&&(i.set("fc_pid",e),n=!0);for(let t=0;t<d.length;t++)i.set(`fc_sha256_email_${t+1}`,d[t]),n=!0;if("function"==typeof window.amplitude.identify&&window.amplitude.identify(i),n&&!a.amplitude_sync_status){a.amplitude_sync_status=n;try{localStorage.setItem("pmd_fc_data",JSON.stringify(a))}catch(t){}}}}}catch(t){}})}e.src=t.sdkUrl,e.async=!0,e.onload=function(){const e=window.amplitude.init(t.apiKey,t.config),i=function(){try{let e="function"==typeof window.amplitude.getDeviceId?window.amplitude.getDeviceId():null;if(!e){const d=JSON.parse(localStorage.getItem("AMP_"+t.apiKey)||"{}");d&&d.deviceId&&(e=d.deviceId)}e&&(localStorage.setItem("pmd_amplitude_device_id",e),window.pmdAmplitudeDeviceId=e)}catch(t){}window._pmdEnrichFCData&&"function"==typeof window._pmdEnrichFCData.onDataReady?d():document.addEventListener("pmd_enrich_data_initialized",()=>{d()},{once:!0}),window.pmdAmplitudeSDKLoaded=!0,"function"==typeof window._pmdAmplitudeOnReady&&window._pmdAmplitudeOnReady()};e&&e.promise?e.promise.then(i):i()},document.head.appendChild(e)}(window._pmdAmplitudeHeadConfig);
2//# sourceMappingURL=amplitude-head.js.map

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.