1import{j as e,eA as m,I as o,ag as h,w as x}from"./client-Bai4VJA1.js";import{I as p}from"./FeaturedSgmWidgetHeader-Bs5pMGp9.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s.SENTRY_RELEASE={id:"97808a5afbf047a0a6f7534b79e8c9b165448d38"};var t=new s.Error().stack;t&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[t]="ef0b8970-de1b-484f-9219-001fc11623f0",s._sentryDebugIdIdentifier="sentry-dbid-ef0b8970-de1b-484f-9219-001fc11623f0")}catch{}})();const v=({size:s="sm",name:t,number:a,barrier:l,scratched:r,row:i="",className:c,weight:n="semiBold"})=>e.jsx("span",{className:o("flex overflow-hidden",{"text-xs":s==="xs","text-sm":s==="sm","line-through":r},c),children:e.jsxs("span",{className:o("flex min-w-0 gap-0.5","gs-runner-name-label"),children:[e.jsx("span",{className:o("truncate",{"font-semibold":n==="semiBold","font-normal":n==="normal"}),title:`${a?a+". ":""}${t}${m(l)?` (${i||""}${l})`:""}`,children:`${a?a+". ":""}${t}`}),m(l)&&e.jsx("span",{className:"shrink-0",children:`(${i||""}${l})`})]})}),$={xs:3,sm:4,md:6,lg:8,xl:10,default:8},E=({uri:s,type:t,country:a,tabNo:l,size:r="lg",useTypeFallback:i,asPlaceholder:c})=>{const n=h(),[f,u]=x.useState(!1),d=$[r??"default"],g=x.useCallback(()=>{if(f)return i?e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx(p,{name:t.toLowerCase(),size:r})}):e.jsx("img",{src:`${n.assetsUrl}/public/silks/default_silk.svg`,alt:"Default Silk",className:"absolute inset-0 h-full w-full object-contain"});if(t==="GREYHOUND"&&a&&l!==void 0){const b=(()=>{switch(a){case"USA":case"US":case"MEX":case"MX":return`${n.assetsUrl}/public/silks/greyhound/USA/${l}.svg`;case"GBR":case"UK":case"IRE":case"IRL":return`${n.assetsUrl}/public/silks/greyhound/UK/${l}.svg`;default:return`${n.assetsUrl}/public/silks/greyhound/AUS/${l}.svg`}})();return e.jsx("img",{src:b,alt:"Greyhound Silk",className:"absolute inset-0 h-full w-full object-contain",onError:()=>u(!0)})}return s?e.jsx("img",{src:s,alt:"Silk",className:"absolute inset-0 h-full w-full object-contain",onError:()=>u(!0)}):e.jsx("img",{src:`${n.assetsUrl}/public/silks/default_silk.svg`,alt:"Default Silk",className:"absolute inset-0 h-full w-full object-contain"})},[f,t,a,l,s,r,i,n]);return e.jsx("div",{className:o(`relative h-${d} w-${d} flex-shrink-0`),children:!c&&g()})};export{v as N,E as S};
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.