1class ScriptLoader{static loadScript(e,t){if(!t)return;if(!window.App.thirdParties[e])return void console.error("Unknown third-party script");const d=document.getElementById(e);if(d){JSON.parse(d.dataset.loaded)?t():this.#e(d,t)}else{const d=document.createElement("script");d.src=window.App.thirdParties[e],d.id=e,d.dataset.loaded=!1,document.body.appendChild(d),this.#e(d,t)}}static#e(e,t){e.addEventListener("load",()=>{e.dataset.loaded=!0,t()},{once:!0}),e.addEventListener("error",t=>{console.error(`[ScriptLoader] Failed to load script: ${e.src}`,t),e.remove()},{once:!0})}}export default ScriptLoader;
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.