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 = "667"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjY2NyIsImV4cCI6MTcxNDI3ODI1NCwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.gKlE8NIse4G6dzcmfANwAmdpCwLBNi-NJQ9fz4BcKv0"; var accessTokenExpiry = "1714278254000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjY2NyIsImp0aSI6IjdhY2Q0MDk3LTU3OTAtNDIyMC1hMDExLTI2NGE4MDdhZWI3MCIsImV4cCI6MTcxNDQ1MDQ1NCwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.CLMYvdsPw7cmXemp7hB3i-l2h1ax2HnmFxyAEwtEB40"; var template = '