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 = "444"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjQ0NCIsImV4cCI6MTcxNDcxNjcyMSwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.mMzc3er2mC5tdo3uR5pK9s_U13nItRaTEw0e-GGxqBk"; var accessTokenExpiry = "1714716721000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjQ0NCIsImp0aSI6IjRhZmIyZTI5LTUzZmQtNGRiNy05YzhiLTk5YTVhNTQxNjVhNSIsImV4cCI6MTcxNDg4ODkyMSwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.EESG2pv4rPGwRqnZRvF31ATQ58_N8i_MQgTrxlJ8DgU"; var template = '