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 = "1oa15x3n"; var locationKey = "exeter"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImV4ZXRlciIsImV4cCI6MTcxNDcyNDA4MSwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.6l3-h-C_8GecPCzZdAZHMi5zmrUE7iijmMuqh5USNbg"; var accessTokenExpiry = "1714724081000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImV4ZXRlciIsImp0aSI6IjYwMGUxYWE5LWRjNWMtNDJjZS05MDY4LTZmNDBiYzJmZGU1NyIsImV4cCI6MTcxNDg5NjI4MSwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.Gni8PvRlLjuvx1ynTJJ1gURRvhpv-bXrg3E8Mvii_sw"; var template = '