PageSourceSearch

https://invoicegenerator.com/build/assets/TrustpilotWidget-P2FE6sQv.js

js invoicegenerator.com collected 2026-10-02 15:54:30 UTC 1,720 bytes, 1 lines download raw bytes

1import{H as l,a3 as u,k as c,b as p,a2 as f}from"./vue-core-DbgIM4iY.js";const d="https://widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js";let n=null;function m(){return n||(n=new Promise((t,r)=>{if(window.Trustpilot){t(window.Trustpilot);return}let e=document.querySelector(`script[src="${d}"]`);e||(e=document.createElement("script"),e.src=d,e.async=!0,document.head.appendChild(e)),e.addEventListener("load",()=>t(window.Trustpilot)),e.addEventListener("error",()=>{n=null,r(new Error("Failed to load Trustpilot widget script"))})}),n)}async function o(t){if(t)try{(await m())?.loadFromElement?.(t,!0)}catch{}}function b(t,r="200px"){if(!t)return()=>{};if(typeof IntersectionObserver>"u")return o(t),()=>{};const e=new IntersectionObserver(i=>{i.some(s=>s.isIntersecting)&&(e.disconnect(),o(t))},{rootMargin:r});return e.observe(t),()=>e.disconnect()}const w=["data-locale","data-template-id","data-businessunit-id","data-style-height","data-token"],y={__name:"TrustpilotWidget",props:{templateId:{type:String,required:!0},token:{type:String,required:!0},businessUnitId:{type:String,default:"68c9475986bd000b35294b70"},styleHeight:{type:String,default:"24px"},locale:{type:String,default:"en-US"}},setup(t,{expose:r}){const e=p(null);function i(){o(e.value)}return l(i),r({reload:i}),(s,a)=>(f(),u("div",{class:"trustpilot-widget",ref_key:"widgetRef",ref:e,"data-locale":t.locale,"data-template-id":t.templateId,"data-businessunit-id":t.businessUnitId,"data-style-height":t.styleHeight,"data-style-width":"100%","data-token":t.token},[...a[0]||(a[0]=[c("a",{href:"https://www.trustpilot.com/review/invoicegenerator.com",target:"_blank",rel:"noopener"},"Trustpilot",-1)])],8,w))}};export{y as _,b as r};

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.