1import{U as n,e as r,W as i}from"./entry.kc5avEVQ.js";const o=["images.ctfassets.net","images.contenthub.dev","images.staging.contenthub.dev","assets.staging.contenthub.dev","assets.contenthub.dev"],t=new Map,c={props:{src:{type:String,required:!0},disableLazyLoad:{type:Boolean,required:!1,default:!1}},data(){return{iconMarkup:""}},async serverPrefetch(){this.$route.path.startsWith("/external")&&await this.load()},mounted(){if(this.disableLazyLoad){this.load();return}this.$screenIntersectionObserver.registerVisibleOnceCallback(this.$refs.icon,this.load)},methods:{async load(){let e=this.src;e.startsWith("//")&&(e=`https:${e}`),t.has(e)||await this.addToCache(e),this.isTrustedDomain(e)&&e.includes(".svg")&&t.has(e)&&(this.iconMarkup=t.get(e))},isTrustedDomain(e){return e?.startsWith("/images/")?!0:new RegExp(`https?://(?:${o.join("|")})/.*`).test(e)},async addToCache(e){try{const s=await fetch(e);t.set(e,await s.text())}catch{t.delete(e)}}}},d=["innerHTML"];function h(e,s,u,l,a,p){return r(),i("span",{ref:"icon",class:"icon",innerHTML:a.iconMarkup},null,8,d)}const g=n(c,[["render",h],["__scopeId","data-v-c58e881b"]]);export{g 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.