document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll("div[data-designrush-widget]").forEach((function(e){var t=e.dataset.style,a=e.dataset.agencyId,s=e.dataset.loaded;if(a&&!s){var n=new URL("https://www.designrush.com/api/widgets/agency-reviews");n.searchParams.set("agency_id",a),n.searchParams.set("style",t);var d=new XMLHttpRequest;d.open("GET",n.toString(),!0),d.onreadystatechange=function(){4==this.readyState&&200==this.status&&(e.innerHTML=this.responseText)},d.send(),e.dataset.loaded=!0}}))}));