PageSourceSearch

https://www.somanyceramics.com/build/assets/LcpImagePreload.vue_vue_type_script_setup_true_lang-IkeTc4_7.js

js somanyceramics.com collected 2026-10-03 21:09:37 UTC 829 bytes, 1 lines download raw bytes

1import{h as m}from"./vendor-inertia-DoowGBH0.js";import{d as c,b as g,j as n,g as u,u as h,i as l,k as s,F as d,E as _,t as y}from"./vendor-vue-BezOTQRv.js";const k=["href","type","fetchpriority"],v=c({__name:"LcpImagePreload",props:{href:{},images:{}},setup(o){const t=o,i=g(()=>{const e=(t.images??[]).filter(r=>typeof r=="string"&&r.trim()!=="");return e.length>0?e:typeof t.href=="string"&&t.href.trim()!==""?[t.href]:[]}),p=e=>{if(/\.webp(\?|#|$)/i.test(e))return"image/webp";if(/\.png(\?|#|$)/i.test(e))return"image/png";if(/\.jpe?g(\?|#|$)/i.test(e))return"image/jpeg"};return(e,r)=>i.value.length>0?(n(),u(h(m),{key:0},{default:l(()=>[(n(!0),s(d,null,_(i.value,(a,f)=>(n(),s("link",{key:a,rel:"preload",as:"image",href:a,type:p(a),fetchpriority:f===0?"high":"auto"},null,8,k))),128))]),_:1})):y("",!0)}});export{v as _};

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.