{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "contact-office-postcards",
  "type": "registry:component",
  "title": "Contact Office Postcards",
  "description": "A snap carousel of studio postcards, each with a drawn skyline whose sky, sun and lit windows follow the city's local time. Cards carry a stamp, address, open status and quick contact links, with arrows, dots and arrow keys.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "contact",
    "contact",
    "offices",
    "carousel",
    "local time",
    "skyline",
    "section"
  ],
  "docs": "https://hyperblur.dev/effects/contact-office-postcards",
  "files": [
    {
      "path": "registry/hyperblur/contact-office-postcards.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/contact-office-postcards.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface ContactPostcardOffice {\n  city: string;\n  code: string;\n  country: string;\n  timeZone: string;\n  fallbackHour: number;\n  address: string[];\n  phone: string;\n  email: string;\n  opens: number;\n  closes: number;\n  hue: number;\n}\n\nexport interface ContactOfficePostcardsProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\"> {\n  eyebrow?: string;\n  title?: string;\n  subtitle?: string;\n  offices?: ContactPostcardOffice[];\n  defaultIndex?: number;\n  onOfficeChange?: (office: ContactPostcardOffice) => void;\n  accent?: string;\n}\n\nconst defaultOffices: ContactPostcardOffice[] = [\n  { city: \"Lisbon\", code: \"LIS\", country: \"Portugal\", timeZone: \"Europe/Lisbon\", fallbackHour: 14, address: [\"Rua do Alecrim 72\", \"1200-018 Lisbon\"], phone: \"+351 21 340 8821\", email: \"lisbon@tessel.studio\", opens: 9, closes: 18, hue: 28 },\n  { city: \"Montreal\", code: \"YUL\", country: \"Canada\", timeZone: \"America/Toronto\", fallbackHour: 9, address: [\"5455 Avenue de Gaspé, 1010\", \"Montreal, QC H2T 3B3\"], phone: \"+1 514 555 0172\", email: \"montreal@tessel.studio\", opens: 9, closes: 17, hue: 205 },\n  { city: \"Seoul\", code: \"ICN\", country: \"South Korea\", timeZone: \"Asia/Seoul\", fallbackHour: 22, address: [\"17 Seongsuil-ro 8-gil\", \"Seongdong-gu, Seoul\"], phone: \"+82 2 6012 4408\", email: \"seoul@tessel.studio\", opens: 10, closes: 19, hue: 268 },\n  { city: \"Cape Town\", code: \"CPT\", country: \"South Africa\", timeZone: \"Africa/Johannesburg\", fallbackHour: 15, address: [\"The Old Biscuit Mill, Unit 9\", \"Woodstock, Cape Town\"], phone: \"+27 21 447 3390\", email: \"capetown@tessel.studio\", opens: 8, closes: 17, hue: 160 },\n  { city: \"Mexico City\", code: \"MEX\", country: \"Mexico\", timeZone: \"America/Mexico_City\", fallbackHour: 7, address: [\"Colima 124, Roma Norte\", \"06700 Mexico City\"], phone: \"+52 55 4170 2286\", email: \"cdmx@tessel.studio\", opens: 9, closes: 18, hue: 340 },\n];\n\nfunction hash(n: number) {\n  let x = (n * 2654435761) >>> 0;\n  x ^= x >>> 16;\n  x = Math.imul(x, 73244475) >>> 0;\n  x ^= x >>> 16;\n  return x >>> 0;\n}\n\nfunction seedOf(s: string) {\n  let h = 0;\n  for (let i = 0; i < s.length; i++) h = (Math.imul(h, 31) + s.charCodeAt(i)) >>> 0;\n  return h;\n}\n\nfunction skyline(city: string) {\n  const seed = seedOf(city);\n  const out: { x: number; w: number; h: number; win: { x: number; y: number; lit: boolean }[]; roof: number }[] = [];\n  let x = -4;\n  let i = 0;\n  while (x < 320) {\n    const r = hash(seed + i * 17);\n    const w = 22 + (r % 26);\n    const h = 34 + ((r >>> 5) % 72);\n    const win: { x: number; y: number; lit: boolean }[] = [];\n    for (let wy = 150 - h + 8; wy < 142; wy += 9) {\n      for (let wx = x + 5; wx < x + w - 6; wx += 7) {\n        const k = hash(seed + Math.round(wx * 31 + wy * 7));\n        win.push({ x: wx, y: wy, lit: k % 3 !== 0 });\n      }\n    }\n    out.push({ x, w, h, win, roof: (r >>> 11) % 4 });\n    x += w + 2 + ((r >>> 9) % 5);\n    i++;\n  }\n  return out;\n}\n\nfunction phase(h: number) {\n  if (h >= 7 && h < 17) return \"day\";\n  if ((h >= 17 && h < 20) || (h >= 5 && h < 7)) return \"dusk\";\n  return \"night\";\n}\n\nconst css = `\n@keyframes hb-wd3-twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }\n@keyframes hb-wd3-drift { from { transform: translateX(-40px); } to { transform: translateX(360px); } }\n@keyframes hb-wd3-in { from { opacity: 0; transform: translateY(24px) rotate(var(--hb-wd3-rot)); } to { opacity: 1; transform: rotate(var(--hb-wd3-rot)); } }\n.hb-wd3 {\n  --hb-wd3-accent: #f5a524;\n  position: relative;\n  box-sizing: border-box;\n  width: 100%;\n  container-type: inline-size;\n  background: radial-gradient(70% 60% at 50% 0%, #151311, #0a0a0a 70%);\n  color: #ededed;\n  font-family: inherit;\n  overflow: hidden;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-wd3 *, .hb-wd3 *::before, .hb-wd3 *::after { box-sizing: border-box; }\n.hb-wd3-in { max-width: 1180px; margin: 0 auto; padding: 72px 0 84px; }\n.hb-wd3-head { padding: 0 20px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 34px; }\n.hb-wd3-eyebrow { font: 500 12px/1 var(--font-mono, monospace); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hb-wd3-accent); }\n.hb-wd3-title { margin: 12px 0 10px; font: 600 clamp(30px, 4.6cqw, 48px)/1.04 var(--font-grotesk, inherit); letter-spacing: -0.03em; max-width: 18ch; }\n.hb-wd3-sub { margin: 0; color: #8f8f8f; font-size: 15px; line-height: 1.6; max-width: 46ch; }\n.hb-wd3-nav { display: flex; gap: 8px; }\n.hb-wd3-arrow { appearance: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); background: #121212; color: #ededed; display: grid; place-items: center; cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }\n.hb-wd3-arrow:hover:not(:disabled) { background: #1c1c1c; border-color: rgba(255,255,255,0.24); }\n.hb-wd3-arrow:active:not(:disabled) { transform: scale(0.94); }\n.hb-wd3-arrow:disabled { opacity: 0.35; cursor: default; }\n.hb-wd3-arrow:focus-visible { outline: 2px solid var(--hb-wd3-accent); outline-offset: 3px; }\n.hb-wd3-arrow svg { width: 16px; height: 16px; }\n.hb-wd3-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 20px 30px; scroll-padding: 0 20px; scrollbar-width: none; outline: none; }\n.hb-wd3-track::-webkit-scrollbar { display: none; }\n.hb-wd3-track:focus-visible { box-shadow: inset 0 0 0 2px var(--hb-wd3-accent); border-radius: 12px; }\n.hb-wd3-card { --hb-wd3-rot: 0deg; flex: none; width: min(380px, 84cqw); scroll-snap-align: start; border-radius: 6px; background: #f3efe6; color: #1b1a17; padding: 12px; box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 28px 50px -24px rgba(0,0,0,0.85), 0 2px 4px rgba(0,0,0,0.4); transform: rotate(var(--hb-wd3-rot)); transition: transform 0.5s cubic-bezier(0.34, 1.3, 0.5, 1), box-shadow 0.4s ease, opacity 0.4s ease; animation: hb-wd3-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; opacity: 0.72; }\n.hb-wd3-card:nth-child(odd) { --hb-wd3-rot: -1.4deg; }\n.hb-wd3-card:nth-child(even) { --hb-wd3-rot: 1.1deg; }\n.hb-wd3-card[data-active=\"true\"], .hb-wd3-card:hover, .hb-wd3-card:focus-within { --hb-wd3-rot: 0deg; opacity: 1; box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 40px 70px -28px rgba(0,0,0,0.9), 0 0 0 1px color-mix(in srgb, var(--hb-wd3-accent) 50%, transparent); }\n.hb-wd3-scene { position: relative; border-radius: 3px; overflow: hidden; aspect-ratio: 316 / 160; }\n.hb-wd3-scene svg { display: block; width: 100%; height: 100%; }\n.hb-wd3-star { animation: hb-wd3-twinkle 3s ease-in-out infinite; }\n.hb-wd3-cloud { animation: hb-wd3-drift 38s linear infinite; }\n.hb-wd3-stamp { position: absolute; top: 8px; right: 8px; width: 54px; height: 64px; padding: 3px; background: #f3efe6; border: 3px dotted rgba(10,10,10,0.35); background-clip: padding-box; box-shadow: 0 4px 10px -4px rgba(0,0,0,0.4); transform: rotate(4deg); }\n.hb-wd3-stamp div { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 2px; border: 1px solid rgba(27,26,23,0.25); }\n.hb-wd3-stamp b { font: 700 15px/1 var(--font-grotesk, inherit); letter-spacing: 0.02em; }\n.hb-wd3-stamp span { font: 500 7.5px/1 var(--font-mono, monospace); letter-spacing: 0.12em; color: #6b6760; }\n.hb-wd3-mark { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; background: rgba(10,10,10,0.6); color: #fff; font: 600 11px/1 var(--font-mono, monospace); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }\n.hb-wd3-mark svg { width: 12px; height: 12px; }\n.hb-wd3-body { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 16px 6px 6px; }\n.hb-wd3-city { margin: 0; font: 600 24px/1 var(--font-grotesk, inherit); letter-spacing: -0.02em; }\n.hb-wd3-country { margin: 5px 0 12px; font: 500 10.5px/1 var(--font-mono, monospace); letter-spacing: 0.14em; text-transform: uppercase; color: #8a857b; }\n.hb-wd3-addr { margin: 0; font-size: 13px; line-height: 1.5; color: #3d3a34; }\n.hb-wd3-lines { display: grid; gap: 6px; align-content: start; min-width: 120px; padding-left: 14px; border-left: 1px dashed rgba(27,26,23,0.2); }\n.hb-wd3-lines a { font-size: 12.5px; color: #1b1a17; text-decoration: none; border-bottom: 1px solid rgba(27,26,23,0.18); padding-bottom: 5px; transition: color 0.2s ease, border-color 0.2s ease; }\n.hb-wd3-lines a:hover { color: color-mix(in srgb, var(--hb-wd3-accent) 70%, #000); border-color: currentColor; }\n.hb-wd3-lines a:focus-visible { outline: 2px solid var(--hb-wd3-accent); outline-offset: 2px; }\n.hb-wd3-status { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--font-mono, monospace); margin-top: 4px; }\n.hb-wd3-status::before { content: \"\"; width: 7px; height: 7px; border-radius: 50%; background: #9a958b; }\n.hb-wd3-status[data-open=\"true\"] { color: #15803d; }\n.hb-wd3-status[data-open=\"true\"]::before { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }\n.hb-wd3-dots { display: flex; gap: 6px; justify-content: center; }\n.hb-wd3-dot { appearance: none; border: 0; padding: 0; height: 6px; width: 6px; border-radius: 999px; background: #3a3a3a; cursor: pointer; transition: width 0.4s cubic-bezier(0.34, 1.3, 0.5, 1), background-color 0.3s ease; }\n.hb-wd3-dot[aria-current=\"true\"] { width: 26px; background: var(--hb-wd3-accent); }\n.hb-wd3-dot:focus-visible { outline: 2px solid var(--hb-wd3-accent); outline-offset: 3px; }\n@media (prefers-reduced-motion: reduce) {\n  .hb-wd3 *, .hb-wd3 *::before, .hb-wd3 *::after { animation: none !important; transition: none !important; }\n  .hb-wd3-track { scroll-behavior: auto; }\n}\n`;\n\nfunction Scene({ office, hour, uid }: { office: ContactPostcardOffice; hour: number; uid: string }) {\n  const p = phase(hour);\n  const b = React.useMemo(() => skyline(office.city), [office.city]);\n  const sky = p === \"day\" ? [`hsl(${office.hue} 70% 72%)`, \"#f6e7c8\"] : p === \"dusk\" ? [`hsl(${(office.hue + 250) % 360} 45% 32%)`, \"#f39a5b\"] : [\"#070a1a\", `hsl(${office.hue} 40% 16%)`];\n  const sunT = Math.min(1, Math.max(0, (hour - 6) / 12));\n  const sx = (20 + sunT * 276).toFixed(1);\n  const sy = (110 - Math.sin(sunT * Math.PI) * 80).toFixed(1);\n  const id = `hb-wd3-sky-${uid}-${office.code}`;\n  return (\n    <svg viewBox=\"0 0 316 160\" preserveAspectRatio=\"xMidYMid slice\" aria-hidden=\"true\">\n      <defs>\n        <linearGradient id={id} x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\">\n          <stop offset=\"0\" stopColor={sky[0]} />\n          <stop offset=\"1\" stopColor={sky[1]} />\n        </linearGradient>\n      </defs>\n      <rect width=\"316\" height=\"160\" fill={`url(#${id})`} />\n      {p === \"night\" &&\n        Array.from({ length: 28 }, (_, i) => {\n          const r = hash(i + seedOf(office.code));\n          return <circle key={i} className=\"hb-wd3-star\" cx={(r % 316).toFixed(0)} cy={((r >>> 8) % 80).toFixed(0)} r={(0.5 + ((r >>> 4) % 10) / 10).toFixed(1)} fill=\"#fff\" style={{ animationDelay: `${((r >>> 3) % 30) / 10}s` }} />;\n        })}\n      {p === \"night\" ? (\n        <g>\n          <circle cx=\"250\" cy=\"34\" r=\"13\" fill=\"#f4f1e6\" />\n          <circle cx=\"256\" cy=\"30\" r=\"12\" fill={sky[0]} />\n        </g>\n      ) : (\n        <g>\n          <circle cx={sx} cy={sy} r={p === \"dusk\" ? 20 : 15} fill={p === \"dusk\" ? \"#ffcf8a\" : \"#fff6d8\"} opacity=\"0.35\" />\n          <circle cx={sx} cy={sy} r={p === \"dusk\" ? 13 : 10} fill={p === \"dusk\" ? \"#ffb35c\" : \"#fffaf0\"} />\n        </g>\n      )}\n      {p !== \"night\" && (\n        <g className=\"hb-wd3-cloud\" opacity={p === \"day\" ? 0.8 : 0.35}>\n          <ellipse cx=\"40\" cy=\"42\" rx=\"26\" ry=\"7\" fill=\"#fff\" />\n          <ellipse cx=\"54\" cy=\"37\" rx=\"14\" ry=\"8\" fill=\"#fff\" />\n        </g>\n      )}\n      {b.map((bd, i) => {\n        const top = 150 - bd.h;\n        const fill = p === \"day\" ? `hsl(${office.hue} 18% ${30 + (i % 3) * 5}%)` : p === \"dusk\" ? `hsl(${(office.hue + 240) % 360} 25% ${14 + (i % 3) * 3}%)` : `hsl(${office.hue} 20% ${8 + (i % 3) * 2}%)`;\n        return (\n          <g key={i}>\n            <rect x={bd.x} y={top} width={bd.w} height={bd.h + 10} fill={fill} />\n            {bd.roof === 1 && <rect x={bd.x + bd.w / 2 - 1} y={top - 12} width=\"2\" height=\"12\" fill={fill} />}\n            {bd.roof === 2 && <path d={`M${bd.x} ${top} L${bd.x + bd.w / 2} ${top - 9} L${bd.x + bd.w} ${top}z`} fill={fill} />}\n            {bd.win.map((w, j) =>\n              p === \"day\" ? (\n                j % 2 === 0 ? <rect key={j} x={w.x} y={w.y} width=\"3\" height=\"4\" fill=\"rgba(255,255,255,0.18)\" /> : null\n              ) : w.lit || p === \"dusk\" ? (\n                <rect key={j} x={w.x} y={w.y} width=\"3\" height=\"4\" fill={w.lit ? \"#ffd27a\" : \"rgba(255,210,122,0.25)\"} opacity={w.lit ? 0.9 : 1} />\n              ) : null,\n            )}\n          </g>\n        );\n      })}\n      <rect y=\"150\" width=\"316\" height=\"10\" fill={p === \"day\" ? \"#2b2a28\" : \"#0b0b0d\"} />\n    </svg>\n  );\n}\n\nexport function ContactOfficePostcards({\n  eyebrow = \"Studios\",\n  title = \"Five rooms, one team, always someone awake\",\n  subtitle = \"Drop by any of our studios or write to the one closest to you. The sky on each card follows the local time.\",\n  offices = defaultOffices,\n  defaultIndex = 0,\n  onOfficeChange,\n  accent = \"#f5a524\",\n  className = \"\",\n  style,\n  ...rest\n}: ContactOfficePostcardsProps) {\n  const uid = React.useId().replace(/:/g, \"\");\n  const track = React.useRef<HTMLDivElement>(null);\n  const [active, setActive] = React.useState(Math.min(defaultIndex, offices.length - 1));\n  const [hours, setHours] = React.useState<Record<string, { h: number; label: string }>>({});\n  const changeRef = React.useRef(onOfficeChange);\n  React.useEffect(() => {\n    changeRef.current = onOfficeChange;\n  });\n\n  React.useEffect(() => {\n    const tick = () => {\n      const now = new Date();\n      const next: Record<string, { h: number; label: string }> = {};\n      for (const o of offices) {\n        try {\n          const label = new Intl.DateTimeFormat(\"en-GB\", { hour: \"2-digit\", minute: \"2-digit\", timeZone: o.timeZone, hourCycle: \"h23\" }).format(now);\n          const [hh, mm] = label.split(\":\").map(Number);\n          next[o.code] = { h: hh + mm / 60, label };\n        } catch {\n          next[o.code] = { h: o.fallbackHour, label: `${String(o.fallbackHour).padStart(2, \"0\")}:00` };\n        }\n      }\n      setHours(next);\n    };\n    tick();\n    const t = setInterval(tick, 30000);\n    return () => clearInterval(t);\n  }, [offices]);\n\n  const go = (i: number) => {\n    const el = track.current;\n    const card = el?.children[i] as HTMLElement | undefined;\n    if (!el || !card) return;\n    el.scrollTo({ left: card.offsetLeft - el.offsetLeft - 20, behavior: window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches ? \"auto\" : \"smooth\" });\n  };\n\n  const onScroll = () => {\n    const el = track.current;\n    if (!el) return;\n    const kids = Array.from(el.children) as HTMLElement[];\n    let best = 0;\n    let dist = Infinity;\n    kids.forEach((k, i) => {\n      const d = Math.abs(k.offsetLeft - el.offsetLeft - 20 - el.scrollLeft);\n      if (d < dist) {\n        dist = d;\n        best = i;\n      }\n    });\n    if (best !== active) {\n      setActive(best);\n      changeRef.current?.(offices[best]);\n    }\n  };\n\n  const onKey = (e: React.KeyboardEvent) => {\n    if (e.key === \"ArrowRight\") {\n      e.preventDefault();\n      go(Math.min(offices.length - 1, active + 1));\n    } else if (e.key === \"ArrowLeft\") {\n      e.preventDefault();\n      go(Math.max(0, active - 1));\n    }\n  };\n\n  return (\n    <section className={`hb-wd3 ${className}`} style={{ \"--hb-wd3-accent\": accent, ...style } as React.CSSProperties} {...rest}>\n      <style href=\"hb-contact-office-postcards\" precedence=\"default\">{css}</style>\n      <div className=\"hb-wd3-in\">\n        <div className=\"hb-wd3-head\">\n          <div>\n            <div className=\"hb-wd3-eyebrow\">{eyebrow}</div>\n            <h2 className=\"hb-wd3-title\">{title}</h2>\n            <p className=\"hb-wd3-sub\">{subtitle}</p>\n          </div>\n          <div className=\"hb-wd3-nav\">\n            <button type=\"button\" className=\"hb-wd3-arrow\" aria-label=\"Previous studio\" disabled={active === 0} onClick={() => go(active - 1)}>\n              <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.8\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\"><path d=\"M10 3L5 8l5 5\" /></svg>\n            </button>\n            <button type=\"button\" className=\"hb-wd3-arrow\" aria-label=\"Next studio\" disabled={active === offices.length - 1} onClick={() => go(active + 1)}>\n              <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.8\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\"><path d=\"M6 3l5 5-5 5\" /></svg>\n            </button>\n          </div>\n        </div>\n        <div ref={track} className=\"hb-wd3-track\" tabIndex={0} role=\"region\" aria-roledescription=\"carousel\" aria-label=\"Studios\" onScroll={onScroll} onKeyDown={onKey}>\n          {offices.map((o, i) => {\n            const t = hours[o.code];\n            const h = t?.h ?? o.fallbackHour;\n            const open = h >= o.opens && h < o.closes;\n            return (\n              <article key={o.code} className=\"hb-wd3-card\" data-active={i === active} aria-roledescription=\"slide\" aria-label={`${o.city}, ${i + 1} of ${offices.length}`} style={{ animationDelay: `${(i * 0.08).toFixed(2)}s` }}>\n                <div className=\"hb-wd3-scene\">\n                  <Scene office={o} hour={h} uid={uid} />\n                  <div className=\"hb-wd3-stamp\" aria-hidden=\"true\">\n                    <div>\n                      <b>{o.code}</b>\n                      <span>TESSEL</span>\n                    </div>\n                  </div>\n                  <span className=\"hb-wd3-mark\">\n                    <svg viewBox=\"0 0 12 12\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.4\" strokeLinecap=\"round\" aria-hidden=\"true\"><circle cx=\"6\" cy=\"6\" r=\"4.6\" /><path d=\"M6 3.4V6l1.8 1.2\" /></svg>\n                    {t?.label ?? `${String(o.fallbackHour).padStart(2, \"0\")}:00`} local\n                  </span>\n                </div>\n                <div className=\"hb-wd3-body\">\n                  <div>\n                    <h3 className=\"hb-wd3-city\">{o.city}</h3>\n                    <p className=\"hb-wd3-country\">{o.country}</p>\n                    {o.address.map((a) => (\n                      <p key={a} className=\"hb-wd3-addr\">{a}</p>\n                    ))}\n                    <span className=\"hb-wd3-status\" data-open={open}>\n                      {open ? `Open until ${o.closes}:00` : `Opens at ${String(o.opens).padStart(2, \"0\")}:00`}\n                    </span>\n                  </div>\n                  <div className=\"hb-wd3-lines\">\n                    <a href={`tel:${o.phone.replace(/\\s/g, \"\")}`}>{o.phone}</a>\n                    <a href={`mailto:${o.email}`}>{o.email.split(\"@\")[0]}@</a>\n                    <a href=\"#\">Directions</a>\n                  </div>\n                </div>\n              </article>\n            );\n          })}\n        </div>\n        <div className=\"hb-wd3-dots\">\n          {offices.map((o, i) => (\n            <button key={o.code} type=\"button\" className=\"hb-wd3-dot\" aria-label={`Show ${o.city}`} aria-current={i === active} onClick={() => go(i)} />\n          ))}\n        </div>\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}