PageSourceSearch

https://www.vendasta.com/wp-content/plugins/vd-cache-control/min/badge-loader.min.js?ver=7f8648b7

js vendasta.com collected 2026-09-24 08:36:10 UTC 1,153 bytes, 4 lines download raw bytes

1(function(){const s=document.querySelectorAll(".vendasta-partner-badge");if(s.length===0)return;const t={};s.forEach(o=>{const n=o.getAttribute("data-partner-id")?.trim().toLowerCase(),u=o.getAttribute("data-theme")||"light",a=(o.getAttribute("data-cert")||"ai-partner").trim().toLowerCase();if(!n)return;const r=n+"::"+a,i=e=>{if(e&&e.status&&e.status.toLowerCase()==="active"&&(!e.cert||e.cert===a)){const h=e.badges[u];o.innerHTML=`
2                    <a href="${e.profile_url}" target="_blank" rel="noopener">
3                        <img src="${h}" alt="Verified Partner" style="max-width:200px; height:auto; display:block;">
4                    </a>`}else console.warn(`Partner ${n} is not active or invalid for cert "${a}".`),o.innerHTML=""};t[r]?t[r].data?i(t[r].data):t[r].queue.push(i):(t[r]={data:null,queue:[i]},fetch(`https://www.vendasta.com/wp-json/myprogram/v1/verify/${n}/?cert=${encodeURIComponent(a)}`).then(e=>{if(!e.ok)throw new Error("Network response was not ok");return e.json()}).then(e=>{t[r].data=e,t[r].queue.forEach(c=>c(e))}).catch(e=>{console.error("Badge Verification Error:",e),t[r].queue.forEach(c=>c(null))}))})})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.