PageSourceSearch

https://www.bicyclebluebook.com/assets/SoldListingBannerSlot-CvJe_ihN.js

js bicyclebluebook.com collected 2026-09-25 20:08:48 UTC 1,487 bytes, 1 lines download raw bytes

1import{j as e,ah as i,r as o,lA as c,n as m,lB as d,lC as x}from"./main-COI-4JT4.js";function u({message:t,browseLabel:s,browseHref:l}){return e.jsx("div",{className:"w-full bg-[#cb000e] px-4 py-4 md:px-10",children:e.jsxs("div",{className:"mx-auto flex max-w-[1512px] flex-col gap-4 md:flex-row md:items-center md:justify-between",children:[e.jsxs("div",{className:"flex min-w-0 flex-col gap-3 sm:flex-row sm:items-center sm:gap-4",children:[e.jsx("div",{className:"flex shrink-0 items-center justify-center self-start rounded-lg bg-white p-2 sm:self-auto",children:e.jsx("span",{className:"text-[18px] leading-none font-extrabold tracking-[0.9px] text-[#cb000e]",children:"SOLD"})}),e.jsx("p",{className:"text-[18px] leading-normal font-medium text-pretty text-white",children:t})]}),e.jsx("a",{href:l,className:"shrink-0 self-start border-b border-solid border-white pb-2 text-[18px] leading-normal font-bold tracking-[0.9px] text-white hover:opacity-90 md:self-auto",children:s})]})})}const f=/^\/(marketplace|listing)\//;function g(){const t=i({select:a=>a.location.pathname}),s=o.useMemo(()=>{if(!f.test(t))return null;const a=t.split("/").filter(Boolean),r=a[a.length-1]??"";return c(r)},[t]),{data:l}=m({queryKey:["marketplace-listing",s],queryFn:()=>x(s),enabled:!!s,staleTime:300*1e3,refetchOnWindowFocus:!1}),n=d(l);return n.isSold?e.jsx(u,{message:n.bannerMessage,browseLabel:n.browseSameBrandLabel,browseHref:n.browseSameBrandHref}):null}export{g as SoldListingBannerSlot};

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.