try { var weezmo_module_bis_id = "3310c535-2c6b-4597-b7ef-e44b15eaf855"; window.wzm = { wid: "istr..ot1x5ym9yEoJFg0Csox5", bid: "3310c535-2c6b-4597-b7ef-e44b15eaf855", identifiers: [], setClientInfo: function (userData) { userData.wid = wzm.wid; userData.bid = wzm.bid; userData.identifiers = wzm.identifiers; query(userData); function query(data) { var xhr = new XMLHttpRequest(); xhr.open("POST", "https://api.weezmo.com/client/info", true); xhr.setRequestHeader("Content-Type", "application/json"); xhr.onload = function () { localStorage.setItem("main_wid", JSON.parse(this.responseText)); }; xhr.onerror = function (message) { console.log(message); } xhr.send(JSON.stringify(data)); } } }; (function setCookie(cname, cvalue, exdays) { if (document.cookie && document.cookie.indexOf(cname) === -1) { var d = new Date(); d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000)); var expires = d.toUTCString(); var domain = window.location.hostname.replace(/^(www\.)/, ""); document.cookie = cname + "=" + cvalue + ";expires=" + expires + ";path=/" + ";domain=" + domain; } })("_wid", wzm.wid, 365); } catch (err) { }try { (function fbId() { var fb = /_fbp=(fb\.*\.\d+\.\d+)/.exec(window.document.cookie); if (fb && fb[1]) wzm?.identifiers.push({ Type: 'Facebook', Value: fb[1]}); })(); } catch(err) { } try { ga(function (tracker) { wzm?.identifiers.push({ Type: 'Google', Value: tracker.get('clientId')}); }); } catch(err) { }