1import{d as m,N as p,g as t,o as f,c,b as o,t as h,n as x,i as _,s as r}from"./uv7Rk5x0.js";const y=["aria-label"],b=m({__name:"FeaturedByBadge",props:{homeStorefrontId:{default:null},homeStorefrontName:{default:null},appearanceType:{default:null},size:{default:"small"}},setup(l){const e=l,n=p(),i=r(()=>!n.value.resolved||!e.homeStorefrontId?!1:e.homeStorefrontId!==n.value.id),u=r(()=>e.homeStorefrontName&&e.homeStorefrontName.trim()?e.homeStorefrontName:e.homeStorefrontId??"home hub"),a=r(()=>`Featured by ${u.value}`),d=r(()=>e.size==="default"?"text-xs px-2.5 py-1":"text-[10px] px-2 py-0.5");return(g,s)=>t(i)?(f(),c("span",{key:0,class:x(["inline-flex items-center gap-1 rounded-full font-medium bg-primary/10 text-primary border border-primary/20",t(d)]),role:"note","aria-label":t(a)},[s[0]||(s[0]=o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[o("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"})],-1)),o("span",null,h(t(a)),1)],10,y)):_("",!0)}}),B=Object.assign(b,{__name:"FeaturedByBadge"});export{B 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.