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 = "y7vn22iw"; var locationKey = "5k865w6g"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjVrODY1dzZnIiwiZXhwIjoxNzE0MjAzNDc4LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.0dYf7d27cX7eV5pZMp_MPJU6GFofdKiGcvuAaYYw9fI"; var accessTokenExpiry = "1714203478000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjVrODY1dzZnIiwianRpIjoiOGY2ZGYxYmUtNWZiYy00Y2ZiLTkwOTgtODYzMTgxZDNkYTMyIiwiZXhwIjoxNzE0Mzc1Njc4LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.4zJJiNLeToxfaoKE25AxqtHmoGWRY2YKt1-fuOcfgHA"; var template = '