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 = "152"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjE1MiIsImV4cCI6MTcxNDcxMDAyOSwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.QULcKnI7UKYpArTMPWX5Ov6_tDdmbqACJbYUHbxHznY"; var accessTokenExpiry = "1714710029000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjE1MiIsImp0aSI6ImE4YzZjMzdlLWY2ZTItNDExMS05ZWVmLTk0ZWU4NjE0NTUzYSIsImV4cCI6MTcxNDg4MjIyOSwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.4SXkDfHSKOeAEdLq8iqfNkLXphZ8h2KRlepp7qNPzAA"; var template = '