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 = "u0ge8dyo"; var locationKey = "435"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjQzNSIsImV4cCI6MTcxNDg5MTE2NSwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.w4gT1_OidHJep1W7su8f_UXG5iLkzr6ujememImi4_M"; var accessTokenExpiry = "1714891165000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjQzNSIsImp0aSI6IjhmOTk3Njg1LWNhYjQtNDkyOS05YjJlLWE0MjI0ZTgxZDgwYiIsImV4cCI6MTcxNTA2MzM2NSwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.xDZju9gE98j6optUsNlRVWzqBPOjAjutJbBcweLMbi4"; var template = '