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 = "u7csqy37"; var locationKey = "nj3d84ah"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Im5qM2Q4NGFoIiwiZXhwIjoxNzI1NzcxODg3LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.SpHQDcG7YTkfTZEDgIq4PaUhv1jQrycmHXPBCH6v5vU"; var accessTokenExpiry = "1725771887000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Im5qM2Q4NGFoIiwianRpIjoiM2MxYTdjODItOWI1NC00ODQzLTgxODMtNGU4MmY1MTNhMzM0IiwiZXhwIjoxNzI1OTQ0MDg3LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.bh2lQgRnkxNDWEXdVvOukJN4xnMlDXDDqCZTISC7QRY"; var template = '