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 = "974"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Ijk3NCIsImV4cCI6MTcxNDM2NTM0NywiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.DD7836biLUqx068KuT6FBf08uJhZ8VtGV7e_WhiU9rU"; var accessTokenExpiry = "1714365347000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Ijk3NCIsImp0aSI6IjQ1YmQwZGViLTJhZTgtNGI5ZC05NmFiLWE1ZDA2MGVjYTRhNSIsImV4cCI6MTcxNDUzNzU0NywiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.3AVfAOXxD1gM1HDvvQVXbcht5t12VD4ZWiJfIXHdaVA"; var template = '