1import{d as e,i as t,n,a as s,c as r,e as o,g as i,r as c}from"./vue-BLbPMQBZ.js";import{c as l}from"./exports-DzJyI3gR.js";import"./preload-helper-D9jEkzRM.js";import"./apollo.client-CTIoy0fp.js";const a=["innerHTML"],p=["innerHTML"],d=e({__name:"ArticleScriptElement",props:{scriptContent:{},scriptCaption:{default:void 0}},setup(e){const d=e,u=c("");function g(e,t){const n=e[t],s=document.createElement("script");s.onerror=e=>{l(e)},s.type="text/javascript";const r=!!n.src;r?(s.src=n.src,s.onload=()=>{e.length>t+1?(console.debug("Loading next script"),g(e,t+1)):console.debug("All scripts loaded")}):n.innerHTML&&(s.innerHTML=n.innerHTML),document.body.appendChild(s),!r&&e.length>t+1?(console.debug("Loading next script"),g(e,t+1)):e.length<=t+1&&console.debug("All scripts loaded")}return t(async()=>{const e=(new DOMParser).parseFromString(d.scriptContent,"text/html");u.value=e.body.innerHTML,await n();const t=e.getElementsByTagName("script");t.length>0?g(t,0):console.debug("No script elements in ArticleScript")}),(t,n)=>(s(),r("div",null,[o("div",{class:"script",innerHTML:u.value},null,8,a),e.scriptCaption?(s(),r("div",{key:0,class:"script caption",innerHTML:e.scriptCaption},null,8,p)):i("",!0)]))}});export{d as default};
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.