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 = "217"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjIxNyIsImV4cCI6MTcxNDMyMzQxNCwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.SXQfmx93Ujzp38_jubSs2NY6eHu6YcGhS4wFfPonExA"; var accessTokenExpiry = "1714323414000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjIxNyIsImp0aSI6IjhhNGQwZjc3LWY4NzQtNDIyNy1hNzI2LTlhNWQyZmE0MmYxZCIsImV4cCI6MTcxNDQ5NTYxNCwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.W2xixwUMjjLdFslAD9d53kWf2llki49AbX06REKMiQU"; var template = '