if (window.Element && !Element.prototype.closest) { Element.prototype.closest = function (s) { var matches = (this.document || this.ownerDocument).querySelectorAll(s), i, el = this; do { i = matches.length; while (--i >= 0 && matches.item(i) !== el) { }; } while ((i < 0) && (el = el.parentElement)); return el; }; } (function (w, d) { var widgetUrl = "https://widget.trustist.com"; var assetUrl = "https://wassets.trustist.com/assets"; var businessKey = "u0ge8dyo"; var locationKey = "149"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjE0OSIsImV4cCI6MTcxNDcwMTYwNSwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.7hbQLxsUujHdrkOxhsCGSp9xkr6FV51VqZaNEdUjr7o"; var accessTokenExpiry = "1714701605000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjE0OSIsImp0aSI6IjZlZTJkZmZkLTBjNzItNDZmOS1hNmM5LWUxODEwNTg3MjM3NSIsImV4cCI6MTcxNDg3MzgwNSwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.eoPbQD6xtGWGgwnauudDcnjqSSvfkPoMxDoeFo5HrQE"; var template = '