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 = "dgxogiv8"; var locationKey = ""; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImRneG9naXY4IiwiZXhwIjoxNzE0Mzc5NDYxLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.zP6fIbYfp_y0Hu1DLPivYLozbh2XH2uZ_DDmAhrw61k"; var accessTokenExpiry = "1714379461000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImRneG9naXY4IiwianRpIjoiMWQxNGUwZmUtMzYxZC00YmU5LWE1ZWEtZmExN2NjODhmOTBhIiwiZXhwIjoxNzE0NTUxNjYxLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ._ElG0L5l5y4yFEs9S91favgX_ebXXDNdh_ecDnwZdzE"; var template = '