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 = "b5_th2iu"; var locationKey = ""; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImI1X3RoMml1IiwiZXhwIjoxNzE0NzA1ODI4LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.nnSA_Ce-cyAdEs06ddUfMJBQL4qyLx3UKZcpOq_KziA"; var accessTokenExpiry = "1714705828000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImI1X3RoMml1IiwianRpIjoiOTMyMWIxMDgtODg1NC00Y2JmLTkzNjktZTFhNWQ4ZmIxNjVkIiwiZXhwIjoxNzE0ODc4MDI4LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.ovIdVippwQU1BE4AK25iNbt1ocuMjO_PER1j00Y-Ad0"; var template = '