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 = "diwwhxe0"; var locationKey = "i_ts3ceh"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImlfdHMzY2VoIiwiZXhwIjoxNzE1MDM3MzU0LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.n2bLO9vjPttb-skWU_Tk4olhmC3dA_56HDK9nzXTekE"; var accessTokenExpiry = "1715037354000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImlfdHMzY2VoIiwianRpIjoiYjFhMThjNGYtNzAwYS00NzFhLTlmODctZDg0NjIyOTI5YzgyIiwiZXhwIjoxNzE1MjA5NTU0LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.n1Ajzea7rfrjppi8QEN4d2BMoBxgfmz6Zmld6_QI-b4"; var template = '