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 = "edvdbghn"; var locationKey = "6101"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjYxMDEiLCJleHAiOjE3MTQyNzI0NDQsImlzcyI6IlRydXN0aXN0IiwiYXVkIjoiV2lkZ2V0cyJ9.O86kkQmiKVel0B0Me1UQp9S-wG5ipDXfLO_8t6PkYY4"; var accessTokenExpiry = "1714272444000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjYxMDEiLCJqdGkiOiIyMWVjY2E2NS05ZWFmLTRkYjMtYjA2ZC0wNjNlMWQ5YTU3MmUiLCJleHAiOjE3MTQ0NDQ2NDQsImlzcyI6IlRydXN0aXN0IiwiYXVkIjoiV2lkZ2V0cyJ9.uoq0PItnSlq0GncuJ9mVvdvKvIUkuGmUqdggyg1yla0"; var template = '