PageSourceSearch

https://breezhub.com/assets/LocationLanding-SVO4JFoX.js

js breezhub.com collected 2026-10-04 23:46:26 UTC 21,215 bytes, 1 lines download raw bytes

1import{j as t}from"./radix-vendor-jJEH7Opp.js";import{bQ as me,m as _e,bR as Pe,n as Ke,w as $,j as Ue,bS as Ge,bT as He,x as Y,s as Ce,r as ze,af as qe,bU as Be,v as Je,bV as Xe,bW as Ze,H as Qe,S as Ie,an as W,A as Me,a6 as oe,bX as ke,bY as et}from"./index-BbaQI6wv.js";import{i as tt,d as st,j as at,r as A,N as nt,L as q}from"./react-vendor-DavDn-3-.js";import{P as F}from"./ProviderCard-CIYprwEW.js";import{J as rt}from"./JsonLd-CZWofnL6.js";import it from"./SmartFallback-B99W5ZzC.js";import{C as Te,F as ot}from"./FaqAccordion-DigHkJx3.js";import{M as lt}from"./MarketplaceListingRow--l8oNBE5.js";import{L as ct}from"./ListingsJsonLd-7tWDSxQI.js";import"./supabase-vendor-ZaDmUqc0.js";import"./badge-B-F-NJvr.js";import"./imageUrl-DlUjw6HB.js";import"./flame-C-uTKkvN.js";const B=(s,a)=>{const h=r=>r*Math.PI/180,N=h(a.lat-s.lat),l=h(a.lng-s.lng),L=h(s.lat),w=h(a.lat),J=Math.sin(N/2)**2+Math.cos(L)*Math.cos(w)*Math.sin(l/2)**2;return 2*3958.8*Math.asin(Math.sqrt(J))},j=s=>s.toLowerCase().trim().replace(/[^a-z0-9]+/g," ").trim(),K={alabama:"AL",alaska:"AK",arizona:"AZ",arkansas:"AR",california:"CA",colorado:"CO",connecticut:"CT",delaware:"DE","district-of-columbia":"DC",florida:"FL",georgia:"GA",hawaii:"HI",idaho:"ID",illinois:"IL",indiana:"IN",iowa:"IA",kansas:"KS",kentucky:"KY",louisiana:"LA",maine:"ME",maryland:"MD",massachusetts:"MA",michigan:"MI",minnesota:"MN",mississippi:"MS",missouri:"MO",montana:"MT",nebraska:"NE",nevada:"NV","new-hampshire":"NH","new-jersey":"NJ","new-mexico":"NM","new-york":"NY","north-carolina":"NC","north-dakota":"ND",ohio:"OH",oklahoma:"OK",oregon:"OR",pennsylvania:"PA","rhode-island":"RI","south-carolina":"SC","south-dakota":"SD",tennessee:"TN",texas:"TX",utah:"UT",vermont:"VT",virginia:"VA",washington:"WA","west-virginia":"WV",wisconsin:"WI",wyoming:"WY"},dt=Object.fromEntries(me.map(s=>[j(s.name),K[s.slug]])),U=s=>{const a=(s||"").trim();if(!a)return"";const d=a.toUpperCase();return/^[A-Z]{2}$/.test(d)?d:dt[j(a)]||""},k=s=>U(s.state)||U((s.location||"").split(",").pop()),_=s=>s.type==="state"?K[s.slug]||"":U(s.state),mt=Object.fromEntries(Object.entries(K).map(([s,a])=>[a,s])),ut=s=>{const a=mt[s];return a&&me.find(d=>d.slug===a)||null},gt=s=>String(s||"").split(/[;,/]|\band\b/gi).map(a=>j(a)).filter(Boolean).slice(0,3),ht=(s,a)=>{var l,L;const d=j(s);if(!d||a&&d===j(a))return!0;const h=a?K[((l=Object.entries(K).find(([,w])=>w===a))==null?void 0:l[0])||""]:"";if(h&&d===j(h.replace(/-/g," ")))return!0;const N=(L=me.find(w=>U(w.name)===a))==null?void 0:L.name;return!!N&&d===j(N)},P=(s,a)=>{const d=j(s.city||(s.location||"").split(",")[0]||""),h=gt(s.location)[0]||"",N=k(s),l=_(a);if(a.type==="state")return!!l&&N===l;const L=[a.name,...ke[a.slug]||[]].map(j);return N===l&&L.some(w=>d===w||h===w)},de=(s,a)=>{const d=Number(s),h=Number(a);return Number.isFinite(d)&&Number.isFinite(h)&&!(d===0&&h===0)},$e=(s,a)=>{if(de(s.lat,s.lng))return{lat:Number(s.lat),lng:Number(s.lng)};if(a&&a.type!=="state"&&P(s,a)&&a.lat!=null&&a.lng!=null)return{lat:a.lat,lng:a.lng};const d=j(s.city||(s.location||"").split(",")[0]||""),h=k(s),N=et.find(l=>h&&l.state&&U(l.state)!==h?!1:[l.name,...ke[l.slug]||[]].map(j).includes(d));return(N==null?void 0:N.lat)!=null&&(N==null?void 0:N.lng)!=null?{lat:N.lat,lng:N.lng}:null},xt={freight:["Freight Brokerage","Freight broker","Brokerage"],"logistics-services":["Labor & Staffing","Warehousing"],"last-mile":["Last-mile delivery","Last Mile"],trucking:["Transportation","Trucking","Trucking (FTL)","Trucking (LTL)"]},le=(s,a,d)=>new Set([s,...a,...xt[d]||[]].map(h=>h.toLowerCase().trim())),ce=(s,a)=>a.has((s.category||"").toLowerCase().trim())||(s.services||[]).some(d=>a.has((d||"").toLowerCase().trim())),pt={AL:["GA","FL","MS","TN"],AR:["MO","TN","MS","LA","TX","OK"],AZ:["CA","NV","UT","NM"],CA:["OR","NV","AZ"],CO:["WY","NE","KS","OK","NM","UT"],CT:["NY","MA","RI"],DC:["MD","VA"],DE:["MD","PA","NJ"],FL:["GA","AL"],GA:["FL","AL","TN","NC","SC"],IA:["MN","WI","IL","MO","NE","SD"],ID:["WA","OR","NV","UT","WY","MT"],IL:["WI","IN","KY","MO","IA"],IN:["MI","OH","KY","IL"],KS:["NE","MO","OK","CO"],KY:["IL","IN","OH","WV","VA","TN","MO"],LA:["TX","AR","MS"],MA:["NY","CT","RI","NH","VT"],MD:["PA","DE","VA","WV","DC"],ME:["NH"],MI:["WI","IN","OH"],MN:["ND","SD","IA","WI"],MO:["IA","IL","KY","TN","AR","OK","KS","NE"],MS:["TN","AL","LA","AR"],MT:["ID","WY","SD","ND"],NC:["VA","TN","GA","SC"],ND:["MT","SD","MN"],NE:["SD","IA","MO","KS","CO","WY"],NH:["ME","MA","VT"],NJ:["NY","PA","DE"],NM:["AZ","UT","CO","OK","TX"],NV:["CA","OR","ID","UT","AZ"],NY:["NJ","PA","CT","MA","VT"],OH:["MI","PA","WV","KY","IN"],OK:["KS","MO","AR","TX","NM","CO"],OR:["WA","ID","NV","CA"],PA:["NY","NJ","DE","MD","WV","OH"],RI:["MA","CT"],SC:["NC","GA"],SD:["ND","MN","IA","NE","WY","MT"],TN:["KY","VA","NC","GA","AL","MS","AR","MO"],TX:["NM","OK","AR","
1LA"],UT:["ID","WY","CO","NM","AZ","NV"],VA:["MD","WV","KY","TN","NC","DC"],VT:["NY","MA","NH"],WA:["ID","OR"],WI:["MN","IA","IL","MI"],WV:["PA","MD","VA","KY","OH"],WY:["MT","SD","NE","CO","UT","ID"]},$t=()=>{const s=_e(),{slug:a=""}=tt(),d=st(),[h,N]=at(),l=(h.get("zip")||"").replace(/\D/g,"").slice(0,5),[L,w]=A.useState(l);A.useEffect(()=>{w(l)},[l]);const J=e=>{const n=e.replace(/\D/g,"").slice(0,5),g=new URLSearchParams(h);n.length===5?g.set("zip",n):g.delete("zip"),N(g,{replace:!0})},r=A.useMemo(()=>Pe(a),[a]),G=Ke(),[Oe,ue]=A.useState(!1),[H,X]=A.useState(null),[ft,Z]=A.useState(!1),Q=50,[ge,he]=A.useState({slug:a,radius:Q}),I=ge.slug===a?ge.radius:Q,xe=e=>he({slug:a,radius:e});A.useLayoutEffect(()=>{he({slug:a,radius:Q})},[a]),A.useEffect(()=>{ue(!1)},[a]),A.useEffect(()=>{if(!l||l.length!==5){X(null),Z(!1);return}let e=!1;return(async()=>{var n;try{const g=await fetch(`https://api.zippopotam.us/us/${l}`);if(!g.ok)throw new Error("not found");const u=await g.json(),p=(n=u==null?void 0:u.places)==null?void 0:n[0];if(!p||e)return;X({zip:l,lat:parseFloat(p.latitude),lng:parseFloat(p.longitude),place:`${p["place name"]}, ${p["state abbreviation"]}`}),Z(!1)}catch{e||(X(null),Z(!0))}})(),()=>{e=!0}},[l]);const o=l.length===5&&(H==null?void 0:H.zip)===l?H:null,x=o,V=G,Ee=/\b(nationwide|national|all\s*states|usa|u\.s\.a|united\s*states)\b/i,{matched:C,nationwide:O,distances:pe,activeRadius:S,nearbyAreas:fe,stateFallback:z,neighborFallback:ee,nationalFallback:Ne}=A.useMemo(()=>{var we;const e={matched:[],nationwide:[],distances:{},activeRadius:0,nearbyAreas:[],stateFallback:[],neighborFallback:[],nationalFallback:[]};if(!r)return e;const n=s.find(c=>c.name===r.category.categoryName);if(!n)return e;const g=le(n.name,n.subcategories,r.category.urlSlug),u=r.category.urlSlug==="logistics-services"?V:V.filter(c=>ce(c,g)),p=u.filter(c=>Ee.test((c.location||"").toLowerCase()));if(x){const c=[],ve={};for(const b of u)if(de(b.lat,b.lng)){const M=B(x,{lat:Number(b.lat),lng:Number(b.lng)});ve[b.id]=M,c.push({p:b,d:M})}else k(b)===_(r.location)&&c.push({p:b,d:Number.POSITIVE_INFINITY});c.sort((b,M)=>b.d-M.d);const je=I===0?c:c.filter(b=>b.d<=I),Le=new Set;for(const{p:b}of je){const M=(we=(b.location||"").split(",")[0])==null?void 0:we.trim();M&&M.length>1&&Le.add(M)}return{...e,matched:je.map(b=>b.p),nationwide:p,distances:ve,activeRadius:I,nearbyAreas:Array.from(Le).slice(0,10)}}const v=u.filter(c=>P(c,r.location)),f=_(r.location),y=new Set(v.map(c=>c.id)),D=f?u.filter(c=>!y.has(c.id)&&k(c)===f):[],R=new Set([...y,...D.map(c=>c.id)]),T=f?pt[f]||[]:[],Ve=new Set(T),Ae=T.length?u.filter(c=>!R.has(c.id)&&Ve.has(k(c))):[],Ye=new Set([...R,...Ae.map(c=>c.id)]),We=u.filter(c=>!Ye.has(c.id)).slice(0,24);return{...e,matched:v,nationwide:p,stateFallback:D.slice(0,12),neighborFallback:Ae.slice(0,12),nationalFallback:We}},[V,r,x,I,s]),be=[],De=r?(()=>{if(r.location.type==="state")return $(r.category,r.location);const e=_(r.location),n=e?ut(e):null;return n?$(r.category,n):$(r.category,r.location)})():null;Ue(r?{title:Ge(r.category,r.location),description:He(r.category,r.location),canonical:`${Y}${De}`}:{title:"Page not found | Breez"});const[te,ye]=A.useState([]);if(A.useEffect(()=>{if(!r){ye([]);return}let e=!1;return(async()=>{let n=Ce.from("listings").select("id, title, type, price, location, images, category, urgent, lat, lng, city, state").eq("status","active").neq("type","looking");const g=r.category.urlSlug==="logistics-services"?[]:ze[r.category.urlSlug]||[];g.length>0&&(n=n.in("category",g));const{data:u}=await n.order("created_at",{ascending:!1}).limit(200);if(e)return;let p=u??[];x&&S!==void 0?p=p.map(f=>{if(de(f.lat,f.lng)){const y=B(x,{lat:Number(f.lat),lng:Number(f.lng)});return{...f,distance:y}}return f}).filter(f=>S===0?!0:f.distance!==void 0?f.distance<=S:P(f,r.location)).sort((f,y)=>f.distance!==void 0&&y.distance!==void 0?f.distance-y.distance:f.distance!==void 0?-1:y.distance!==void 0?1:0).slice(0,6):p=p.filter(v=>P(v,r.location)).slice(0,6),e||ye(p)})(),()=>{e=!0}},[r,x,S]),A.useEffect(()=>{if(!r||G.length===0||C.length>0||o)return;const e=`${r.location.name}${r.location.state?`, ${r.location.state}`:""}`;Ce.from("search_queries").insert({query:`${r.category.label} in ${e}`,context:"landing_miss",path:`/${a}`,result_count:0})},[r,a,G.length,C.length,o]),!r)return t.jsx(it,{});if(r.matchedAlias){const e=h.toString();return t.jsx(nt,{to:`${$(r.category,r.location)}${e?`?${e}`:""}`,replace:!0})}if(G.length===0)return t.jsx(qe,{variant:"list"});const{category:m,location:i}=r,Re=Be(m,i,C.length),E=`${i.name}${i.state?`, ${i.state}`:""}`,se=`${Y}${$(m,i)}`,ae=s.find(e=>e.name===m.categoryName),Fe=le(m.categoryName,(ae==null?void 0:ae.subcategories)||[],m.urlSlug),ne=_(i),Se=e=>{if(!x)return P(e,i);const n=$e(e,i);if(n){const g=B(x,n);return I===0||g<=I}return!!ne&&k(e)===ne},re=Array.from(V.reduce((e,n)=>{if(!(m.urlSlug==="logistics-services"||ce(n,Fe)))return e;const g=String(n.city||(n.location||"").split(",")[0]||"").trim(),u=k(n),p=Je(g,u||n.state);if(!g||!u||!p||p===i.slug||ht(g,u))return e;const v=Xe(p);if(!v||v.type==="state"||!(x?Se(n):u===ne))return e;const y=$e(n,v),D=x||(i.lat!=null&&i.lng!=null?{lat:i.lat,lng:i.lng}:null),R=D&&y?B(D,y):Number.POSITIVE_INFINITY;if(!x&&D&&y&&R>125)return e;const T=e.get(p);return T?(T.count+=1,T.distance=Math.min(T.distance,R),e):(e.set(p,{location:y?{...v,lat:y.lat,lng:y.lng}:v,count:1,distance:R}),e)},new Map).values()).sort((e,n)=>{const g=Number.isFinite(e.distance),u=Number.isFinite(n.distance);return g&&u&&e.distance!==n.distance?e.distance-n.distance:g!==u?g?-1:1:e.count!==n.count?n.count-e.count:e.location.name.localeCompare(n.location.name)}).slice(0,8).map(e=>e.location),ie=Ze.filter(e=>{if(e.urlSlug===m.urlSlug)return!1;const n=s.find(u=>u.name===e.categoryName);if(!n)return!1;const g=le(e.categoryName,n.subcategories||[],e.urlSlug);return V.some(u=>Se(u)?e.urlSlug==="logistics-services"?!0:ce(u,g):!1)});return t.jsxs("div",{className:"min-h-screen bg-background",children:[t.jsx(Qe,{}),t.jsx(rt,{data:{"@context":"https://schema.org","@graph":[{"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:Y},{"@type":"ListItem",position:2,name:m.label,item:`${Y}/category/${m.categoryName.toLowerCase().replace(/[^a-z0-9]+/g,"-")}`},{"@type":"ListItem",position:3,name:E,item:se}]},{"@type":"CollectionPage",name:`${m.label} in ${E}`,url:se,description:Re,isPartOf:{"@type":"WebSite",name:Ie,url:Y}}]}}),t.jsx("section",{className:"relative px-4 pt-5 pb-5 overflow-hidden",style:{background:"linear-gradient(165deg, hsl(220, 20%, 12%) 0%, hsl(250, 25%, 18%) 50%, hsl(220, 20%, 12%) 100%)"},children:t.jsxs("div",{className:"max-w-5xl mx-auto relative z-10",children:[t.jsxs("nav",{className:"text-[11px] text-white/60 mb-2","aria-label":"Breadcrumb",children:[t.jsx(q,{to:"/",className:"hover:text-white",children:"Home"}),t.jsx("span",{className:"px-1.5",children:"/"}),t.jsx(q,{to:`/category/${m.categoryName.toLowerCase().replace(/[^a-z0-9]+/g,"-")}`,className:"hover:text-white",children:m.label}),t.jsx("span",{className:"px-1.5",children:"/"}),t.jsx("span",{className:"text-white/80",children:(o==null?void 0:o.place)||E})]}),t.jsxs("h1",{className:"font-heading text-2xl sm:text-3xl font-extrabold text-white tracking-tight",children:[m.label," in ",(o==null?void 0:o.place)||E]})]})}),t.jsxs("section",{className:"max-w-5xl mx-auto px-4 py-6",children:[t.jsxs("div",{className:"mb-4 flex items-center gap-2 rounded-full border border-border bg-card pl-3 pr-1.5 py-1.5 
1shadow-sm overflow-x-auto",children:[t.jsxs("form",{onSubmit:e=>{e.preventDefault(),J(L)},className:"flex items-center gap-1.5 shrink-0",children:[t.jsx(W,{className:"w-3.5 h-3.5 text-muted-foreground"}),t.jsx("input",{type:"text",inputMode:"numeric",pattern:"[0-9]*",maxLength:5,value:L,onChange:e=>w(e.target.value.replace(/\D/g,"").slice(0,5)),placeholder:"ZIP",className:"w-16 bg-transparent text-xs text-foreground placeholder:text-muted-foreground/60 focus:outline-none","aria-label":"ZIP code"}),L!==l&&t.jsx("button",{type:"submit",className:"text-[11px] font-semibold px-2 py-0.5 rounded-full bg-primary text-primary-foreground hover:bg-primary/90",children:"Go"})]}),t.jsx("div",{className:"h-4 w-px bg-border shrink-0"}),t.jsxs("div",{className:"flex items-center gap-1 shrink-0",children:[[10,25,50,100,200].map(e=>{const n=x&&I===e;return t.jsxs("button",{onClick:()=>xe(e),disabled:!x,className:`text-[11px] font-semibold px-2.5 py-1 rounded-full transition-colors ${n?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground disabled:opacity-50"}`,children:[e,"mi"]},e)}),t.jsx("button",{onClick:()=>xe(0),disabled:!x,className:`text-[11px] font-semibold px-2.5 py-1 rounded-full transition-colors ${x&&I===0?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground disabled:opacity-50"}`,children:"All"})]})]}),t.jsxs("div",{className:"flex items-center justify-between gap-3 mb-3",children:[t.jsxs("h2",{className:"font-heading font-bold text-base text-foreground",children:[C.length," ",C.length===1?"provider":"providers",x?S===0?" nationwide":` within ${S} mi of ${(o==null?void 0:o.place)||i.name}`:i.type==="state"?` in ${i.name} (statewide)`:` in ${i.name}`]}),t.jsxs(q,{to:`/category/${m.categoryName.toLowerCase().replace(/[^a-z0-9]+/g,"-")}`,className:"text-xs text-primary font-bold inline-flex items-center gap-1 shrink-0",children:["See all ",t.jsx(Me,{className:"w-3 h-3"})]})]}),x&&fe.length>0&&t.jsx("div",{className:"mb-4 flex flex-wrap gap-1.5",children:fe.slice(0,6).map(e=>t.jsxs("span",{className:"inline-flex items-center gap-1 text-[11px] bg-muted text-muted-foreground px-2 py-0.5 rounded-full",children:[t.jsx(W,{className:"w-2.5 h-2.5"})," ",e]},e))}),C.length>0?t.jsx("div",{className:"space-y-3",children:C.map((e,n)=>t.jsx(F,{provider:e,index:n,distanceMi:x&&pe[e.id]!==void 0?pe[e.id]:void 0},e.id))}):t.jsxs("div",{className:"rounded-xl border border-border bg-card p-6 text-center",children:[t.jsx(oe,{className:"w-5 h-5 text-muted-foreground mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-foreground font-semibold",children:o?`Get matched with ${m.label.toLowerCase()} near you`:`Get matched with ${m.label.toLowerCase()} in ${i.name}`}),t.jsx("p",{className:"text-xs text-muted-foreground mt-1 mb-4",children:O.length>0?`${O.length} nationwide ${m.label.toLowerCase()} are available below, or list your company so customers ${x?`near ${(o==null?void 0:o.place)||i.name}`:`in ${i.name}`} can find you.`:`Post a request and ${m.label.toLowerCase()} serving ${x&&(o==null?void 0:o.place)||i.name} will reach out — typically within hours. You can also list your own company to be the first featured here.`}),t.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-2",children:[O.length>0&&t.jsxs("button",{onClick:()=>{ue(!0),requestAnimationFrame(()=>{var e;(e=document.getElementById("nationwide-providers"))==null||e.scrollIntoView({behavior:"smooth",block:"start"})})},className:"inline-flex items-center gap-2 px-5 h-10 rounded-full bg-primary text-white font-semibold text-sm",children:["See ",O.length," nationwide providers"]}),t.jsxs("button",{onClick:()=>d(`/requests?category=${encodeURIComponent(m.urlSlug)}&location=${encodeURIComponent(i.name)}${i.state?`&state=${encodeURIComponent(i.state)}`:""}`),className:"inline-flex items-center gap-2 px-5 h-10 rounded-full bg-foreground text-background font-semibold text-sm",children:["Post a request for ",i.name]}),t.jsx("button",{onClick:()=>d("/create-provider"),className:"inline-flex items-center gap-2 px-5 h-10 rounded-full border border-border bg-card text-foreground font-semibold text-sm",children:"List your company"}),t.jsx("button",{onClick:()=>d("/listings"),className:"inline-flex items-center gap-2 px-5 h-10 rounded-full border border-border bg-card text-foreground font-semibold text-sm",children:"List a product or space"})]})]}),C.length===0&&!o&&z.length>0&&i.type!=="state"&&t.jsxs("div",{className:"mt-6",children:[t.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[t.jsx(W,{className:"w-3.5 h-3.5 text-muted-foreground"}),t.jsxs("h3",{className:"font-heading font-bold text-sm text-foreground",children:[m.label," elsewhere in ",i.state||"the state"]})]}),t.jsx("div",{className:"space-y-3",children:z.map((e,n)=>t.jsx(F,{provider:e,index:n},e.id))})]}),C.length===0&&z.length===0&&!o&&ee.length>0&&t.jsxs("div",{className:"mt-6",children:[t.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[t.jsx(W,{className:"w-3.5 h-3.5 text-muted-foreground"}),t.jsxs("h3",{className:"font-heading font-bold text-sm text-foreground",children:[m.label," in neighboring states"]})]}),t.jsx("div",{className:"space-y-3",children:ee.map((e,n)=>t.jsx(F,{provider:e,index:n},e.id))})]}),C.length===0&&z.length===0&&ee.length===0&&!o&&Ne.length>0&&t.jsxs("div",{className:"mt-6",children:[t.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[t.jsx(oe,{className:"w-3.5 h-3.5 text-muted-foreground"}),t.jsxs("h3",{className:"font-heading font-bold text-sm text-foreground",children:["Top ",m.label.toLowerCase()," nationwide"]})]}),t.jsx("div",{className:"space-y-3",children:Ne.map((e,n)=>t.jsx(F,{provider:e,index:n},e.id))})]}),be.length>0&&t.jsxs("div",{className:"mt-8",children:[t.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[t.jsx(W,{className:"w-3.5 h-3.5 text-muted-foreground"}),t.jsxs("h3",{className:"font-heading font-bold text-sm text-foreground",children:["Also serving ",i.state?i.state:"the wider region"]}),t.jsx("span",{className:"text-[10px] uppercase tracking-wide text-muted-foreground bg-muted px-1.5 py-0.5 rounded",children:"Wider radius"})]}),t.jsx("div",{className:"space-y-3",children:be.map((e,n)=>t.jsx(F,{provider:e,index:n},e.id))})]}),O.length>
10&&Oe&&t.jsxs("div",{id:"nationwide-providers",className:"mt-8 scroll-mt-24",children:[t.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[t.jsx(oe,{className:"w-3.5 h-3.5 text-muted-foreground"}),t.jsx("h3",{className:"font-heading font-bold text-sm text-foreground",children:"Available nationwide"}),t.jsx("span",{className:"text-[10px] uppercase tracking-wide text-primary-foreground bg-primary px-1.5 py-0.5 rounded",children:"Nationwide"})]}),t.jsx("div",{className:"space-y-3",children:O.map((e,n)=>t.jsx(F,{provider:e,index:n},e.id))})]})]}),te.length>0&&t.jsxs("section",{className:"max-w-5xl mx-auto px-4 py-10 border-t border-border",children:[t.jsxs("div",{className:"flex items-end justify-between mb-3",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"font-heading font-extrabold text-base sm:text-lg text-foreground tracking-tight",children:o?S===0?"Marketplace listings (nationwide)":`Marketplace listings within ${S} mi`:`Marketplace listings in ${i.name}`}),t.jsx("p",{className:"text-xs text-muted-foreground mt-0.5",children:o?S===0?"Active space, equipment & services sorted by distance.":`Active space, equipment & services within ${S} miles.`:"Active space, equipment & services nearby."})]}),t.jsxs(q,{to:`/listings?q=${encodeURIComponent(i.name)}`,className:"inline-flex items-center gap-1 text-xs font-bold text-primary hover:underline shrink-0",children:["View all ",t.jsx(Me,{className:"w-3.5 h-3.5"})]})]}),t.jsx("div",{className:"grid sm:grid-cols-2 gap-2.5",children:te.map(e=>t.jsx(lt,{listing:e},e.id))}),t.jsx(ct,{name:`Marketplace listings in ${E} | ${Ie}`,description:`Active marketplace listings in ${E} on Breez.`,url:se,items:te.map(e=>({...e,status:"active"}))})]}),(ie.length>0||re.length>0)&&t.jsx("section",{className:"max-w-5xl mx-auto px-4 py-10 border-t border-border",children:t.jsxs("div",{className:"grid sm:grid-cols-2 gap-6",children:[ie.length>0&&t.jsx(Te,{title:`Other services in ${(o==null?void 0:o.place)||i.name}`,subtitle:o&&S>0?`Results stay within ${S} mi of ${l}`:void 0,items:ie.map(e=>({to:`${$(e,i)}${l?`?zip=${l}`:""}`,primary:e.label,secondary:o?`Near ${o.place}${S>0?` · ${S} mi`:""}`:void 0})),compact:!0}),re.length>0&&t.jsx(Te,{title:`${m.label} in other cities`,items:re.map(e=>({to:$(m,e),primary:`${e.name}${e.state?`, ${e.state}`:""}`})),compact:!0})]})}),t.jsx("section",{className:"max-w-5xl mx-auto px-4 py-10 border-t border-border",children:t.jsx(ot,{items:m.faqs})})]})};export{$t as default};

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.