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://widgetassets.trustist.com"; var businessKey = "e0any32y"; var locationKey = "yw0j42we"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Inl3MGo0MndlIiwiZXhwIjoxNzU2NjQ2MTY1LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.n5OzLJ8f6Y9Q2IzFCw7lGtE6pva81pM2cC4j0awt3a0"; var accessTokenExpiry = "1756646165000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Inl3MGo0MndlIiwianRpIjoiMjMwZGU3MzgtN2QzOS00YmU3LTk5OGMtNTY0MGI4MTdjZThlIiwiZXhwIjoxNzU2ODE4MzY1LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.-1mH1AjSrzprk5UIJT0ZIwjCpa9Lcv5cv2t3fhKlyIE"; var template = '