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 = "bs1pful9"; var locationKey = "kx7x_5yw"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Imt4N3hfNXl3IiwiZXhwIjoxNzE0NzM1MzU0LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.AsSed1W0OOE-dBqnkISJbAeL--h1FHBnmnx39vEe_8s"; var accessTokenExpiry = "1714735354000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Imt4N3hfNXl3IiwianRpIjoiNzAxNGU3YWEtYmI4OC00MDRiLWI4MGMtZDIxZDMxZmZhZWM2IiwiZXhwIjoxNzE0OTA3NTU0LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.u8eZgx05OtKUiFmpfR06Imi283rYxUktAy2lh0NrmVg"; var template = '