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 = "493"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjQ5MyIsImV4cCI6MTcxNDcwOTUyMywiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.QvD4DsBU-nmq7pgawKuEXL96VcJbvRm3yuU8tqkEGRs"; var accessTokenExpiry = "1714709523000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjQ5MyIsImp0aSI6ImM3YjBlNGQ0LTI5YmUtNGE5Mi04MDQyLTg3NjQwZjVlMjZkYSIsImV4cCI6MTcxNDg4MTcyMywiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.BIkzi6OpN9Vo68xQZXhYaYiGarsolmMUaT9_oJRPj3w"; var template = '