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 = "ox2tbm5e"; var locationKey = "bh4p2072"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImJoNHAyMDcyIiwiZXhwIjoxNzE0MzQyMDMwLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.T8ZTXusjRCq20fwwPPDhsbbHN7kcvN9r61-tyShbB-s"; var accessTokenExpiry = "1714342030000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImJoNHAyMDcyIiwianRpIjoiY2ZmNzA2YTYtZTI2Mi00ZTBmLTg4YTgtNzcyNmFiNmZhOGIwIiwiZXhwIjoxNzE0NTE0MjMwLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.0zDBqpOoxlbpzri8D-LEhBp2_lDJLmuXCurRJIftZao"; var template = '