From 70c3446bcd81283e9135555ff352c9ea296368f2 Mon Sep 17 00:00:00 2001 From: skocheri Date: Thu, 17 Mar 2022 11:15:58 +0530 Subject: [PATCH] Updating webroot pubcid.mim.js --- src/main/resources/webroot/lib/pubcid.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/webroot/lib/pubcid.min.js b/src/main/resources/webroot/lib/pubcid.min.js index 0a956b9..79d0a81 100644 --- a/src/main/resources/webroot/lib/pubcid.min.js +++ b/src/main/resources/webroot/lib/pubcid.min.js @@ -1,2 +1,2 @@ -(()=>{const o="pubcid.org";window.googletag=window.googletag||{cmd:[]},window.googletag.encryptedSignalProviders=window.googletag.encryptedSignalProviders||[],googletag.encryptedSignalProviders.push({id:"pubcid.org",collectorFunction:function(){return new Promise(((e,n)=>fetch("https://id.sharedid.org/pubcid").then((o=>o.json())).then((e=>document.cookie=o+"="+e[o])).then(e).catch(n)))}})})(); +(()=>{const o="pubcid.org";function e(o){return o?(o^(window&&window.crypto&&window.crypto.getRandomValues?crypto.getRandomValues(new Uint8Array(1))[0]%16:16*Math.random())>>o/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)}window.googletag=window.googletag||{cmd:[]},window.googletag.encryptedSignalProviders=window.googletag.encryptedSignalProviders||[],window.pbjs=window.pbjs||[],googletag.encryptedSignalProviders.push({id:o,collectorFunction:function(){return new Promise(((n,t)=>{const i=pbjs.getUserIdsAsEids().filter((function(e){return e&&e.source==o}));let r=i?i[0].uids[0].id:e();window.localStorage.setItem(o,r),r?n(r):t("Setting local storage failed")}))}})})(); //# sourceMappingURL=pubcid.min.js.map \ No newline at end of file