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 = "4iw2ls50"; var locationKey = "cq60k6se"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImNxNjBrNnNlIiwiZXhwIjoxNzE0NTM4MzkyLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.4bf70UjrRf4RTGue-ko9uOkwH8oMvRo-spSferRh--A"; var accessTokenExpiry = "1714538392000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImNxNjBrNnNlIiwianRpIjoiZjU2ZTZiZTYtYmUxNS00NDAzLWI2MjQtMTdiZTJkZGRhNjZmIiwiZXhwIjoxNzE0NzEwNTkyLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ._d3uvshqm1doklixhdLCHYhTtCN-DnB7eIZwJA5tiT0"; var template = '