1import{_ as c}from"./BK53tKGP.js";import{i as m}from"./CkiK4uUI.js";import{W as o,bR as t,ai as u,dg as d,ak as s,bq as _,aj as r,ah as i,bz as g}from"./C9Z41gEb.js";const h={name:"WsSearchResultBaseItem",props:{fallbackImage:{type:String,default:void 0},images:{type:Array,default:void 0},metaDescription:{type:String,default:void 0},slug:{type:[String,Object],required:!0},title:{type:String,required:!0}},created(){this.currentImage=Array.isArray(this.images)&&this.images.length?this.images[0].url:this.fallbackImage},methods:{imageProps_of:m}},f={class:"fill-width py-3 ml-3"},p=["innerHTML"],b=["innerHTML"];function y(a,x,e,k,I,n){const l=c;return t(),u(l,{class:"ws-search-result-base-item d-flex align-center text-base-color",tabindex:"0",to:e.slug},{default:d(()=>[a.currentImage?(t(),s("img",_({key:0,class:"ws-search-result-base-item__image ml-3",alt:""},n.imageProps_of(`${a.currentImage}?w=50&h=50`)),null,16)):r("",!0),i("div",f,[i("div",{class:g(["ws-search-result-base-item__title text-subtitle-1 mr-3",e.metaDescription?"text-truncate":"line-clamp-2"]),"data-test":"search-result-base-item-title",innerHTML:e.title},null,10,p),e.metaDescription?(t(),s("div",{key:0,class:"text-body-2 text-truncate mr-3",innerHTML:e.metaDescription},null,8,b)):r("",!0)])]),_:1},8,["to"])}const D=o(h,[["render",y]]);export{D as W};
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.