{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "segmented-choice",
  "type": "registry:component",
  "title": "Segmented choice",
  "description": "Pick one option, or Any, with a count on each, such as 7+ seats.",
  "author": "Eugen Eşanu <https://eugenesanu.com>",
  "dependencies": [
    "clsx",
    "tailwind-merge"
  ],
  "files": [
    {
      "path": "registry/filters/segmented-choice.tsx",
      "type": "registry:component",
      "target": "@components/filters-ui/filters/segmented-choice.tsx",
      "content": "\"use client\";\n\nimport { Segmented, type SegmentedOption, type SegmentedProps, type SegmentedValue } from \"../ui/segmented\";\nimport { useLoading } from \"../ui/skeleton\";\nimport { StatusFrame, type StateProps } from \"../ui/status-frame\";\n\nexport type SegmentedChoiceProps<V extends SegmentedValue> = SegmentedProps<V> & Omit<StateProps, \"emptyText\">;\n\n/**\n * Pick one value, or none (\"Any\"), from a few options with counts.\n * An option whose count is 0 is dimmed and disabled, unless it is the current choice.\n */\nexport function SegmentedChoice<V extends SegmentedValue>({\n  options,\n  value,\n  status = \"ready\",\n  onRetry,\n  errorText,\n  disabled = false,\n  className,\n  style,\n  ...props\n}: SegmentedChoiceProps<V>) {\n  // While loading, by its own status or in the loading frame of an item around it (a block's card), the counts are\n  // not known yet, so no option is dimmed for a 0.\n  const loading = useLoading().loading || status === \"loading\";\n  const shown: SegmentedOption<V>[] = options.map((option) => ({\n    ...option,\n    disabled: option.disabled || (!loading && option.count === 0 && !Object.is(option.value, value)),\n  }));\n  // The frame dims and blocks the control while disabled, so the control is not dimmed a second time.\n  return (\n    <div className={className} style={style}>\n      <StatusFrame status={status} onRetry={onRetry} errorText={errorText} disabled={disabled}>\n        <Segmented options={shown} value={value} aria-disabled={disabled || undefined} {...props} />\n      </StatusFrame>\n    </div>\n  );\n}\n"
    },
    {
      "path": "registry/ui/segmented.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/segmented.tsx",
      "content": "\"use client\";\n\nimport { useLayoutEffect, useRef, useState, type HTMLAttributes, type KeyboardEvent, type ReactNode } from \"react\";\nimport { cn } from \"../lib/cn\";\nimport { onDirChange, readingKey, startOffset } from \"../lib/direction\";\nimport { formatsFor, resultsLabel } from \"../lib/format\";\nimport { CountPill } from \"./count-pill\";\nimport { SkeletonText } from \"./skeleton\";\n\nexport type SegmentedValue = string | number | null;\n\nexport type SegmentedOption<V extends SegmentedValue> = {\n  value: V;\n  label: ReactNode;\n  /** Shown in a count pill and read out with the label. Leave out for no pill (\"Any\"). */\n  count?: number;\n  disabled?: boolean;\n};\n\nexport type SegmentedProps<V extends SegmentedValue> = Omit<HTMLAttributes<HTMLDivElement>, \"onChange\" | \"defaultValue\"> & {\n  options: readonly SegmentedOption<V>[];\n  value: V;\n  onChange: (value: V) => void;\n  /** Accessible name of the group. */\n  label: string;\n  formatCount?: (n: number) => string;\n  /** Screen-reader words for a count: \"6 results\". */\n  countLabel?: (n: number) => string;\n  /** Formats the counts by default, e.g. \"de-DE\". */\n  locale?: string;\n  disabled?: boolean;\n  /** \"equal\": options with a count share the width equally, and a name too long to sit beside its count wraps with the count under it. \"content\": the same, except an option whose words need more keeps its own width (a name of several words may wrap beside its count instead). An option without a count (\"Any\") hugs its words while the control is under 340px wide. */\n  fit?: \"equal\" | \"content\";\n};\n\n// Forced colours drop the thumb's fill, so the chosen segment sits on the system highlight. Its colours stay as given:\n// left to the browser, its words would sit on a backplate in the page colour.\nconst FORCED_ON =\n  \"forced-colors:text-[HighlightText] forced-colors:[forced-color-adjust:none] forced-colors:focus-visible:outline-offset-2 forced-colors:focus-visible:outline-[CanvasText]\";\n\n/**\n * A segmented control: an option without a count (\"Any\") hugs its words while the control is under 340px wide (from 340px all share the width), the others share the rest equally, and one pill slides to the chosen one over 340ms.\n * It is a radiogroup with one tab stop; arrow keys, Home and End move and select. Right to left, the options run from\n * the right and Left and Right follow them. Long names wrap and the track grows. Inside a loading StatusFrame the\n * words and counts of options with a count draw as placeholders; \"Any\" and the pill on the choice stay.\n */\nexport function Segmented<V extends SegmentedValue>({\n  options,\n  value,\n  onChange,\n  label,\n  formatCount,\n  countLabel,\n  locale,\n  disabled = false,\n  fit = \"equal\",\n  className,\n  style,\n  ...props\n}: SegmentedProps<V>) {\n  const buttons = useRef<(HTMLButtonElement | null)[]>([]);\n  const words = countLabel ?? ((n: number) => resultsLabel(n, locale));\n  const count = formatCount ?? formatsFor(locale).number;\n  const index = options.findIndex((option) => Object.is(option.value, value));\n  const usable = (i: number) => !disabled && !options[i].disabled;\n  const [box, setBox] = useState<{ start: number; width: number; rtl: boolean } | null>(null);\n  const [placed, setPlaced] = useState(false);\n  // \"Any\" hugs its words only beside options that carry counts, and only while the track is narrow; a set without counts stays equal.\n  const counted = options.some((option) => option.count !== undefined);\n  const hugs = counted && options.some((option) => option.count === undefined);\n  const measuring = fit === \"content\" || hugs;\n  const tabStop = index >= 0 ? index : options.findIndex((_, i) => usable(i));\n\n  // Widths differ per option, so the pill takes the chosen button's measured box instead of a share of the track.\n  // Until it is measured, the chosen button paints its own pill, so the server render already shows the choice.\n  useLayoutEffect(() => {\n    const button = measuring && index >= 0 ? buttons.current[index] : null;\n    if (!button) return;\n    const measure = () => setBox({ start: startOffset(button), width: button.offsetWidth, rtl: getComputedStyle(button).direction === \"rtl\" });\n    measure();\n    const frame = requestAnimationFrame(() => setPlaced(true));\n    const observer = new ResizeObserver(measure);\n    buttons.current.forEach((b) => b && observer.observe(b));\n    const stop = onDirChange(measure);\n    return () => {\n      cancelAnimationFrame(frame);\n      observer.disconnect();\n      stop();\n    };\n  }, [measuring, index, options.length]);\n  const measured = measuring ? box : null;\n\n  const pick = (i: number) => {\n    buttons.current[i]?.focus();\n    if (i !== index) onChange(options[i].value);\n  };\n\n  const onKeyDown = (event: KeyboardEvent<HTMLDivElement>) => {\n    const from = Math.max(0, buttons.current.findIndex((b) => b === document.activeElement));\n    const n = options.length;\n    const walk = (start: number, step: number) => {\n      for (let k = 0, i = start; k < n; k++, i = (i + step + n) % n) if (usable(i)) return i;\n      return -1;\n    };\n    let next = -1;\n    switch (readingKey(event.key, event.currentTarget)) {\n      case \"ArrowRight\":\n      case \"ArrowDown\":\n        next = walk((from + 1) % n, 1);\n        break;\n      case \"ArrowLeft\":\n      case \"ArrowUp\":\n        next = walk((from - 1 + n) % n, -1);\n        break;\n      case \"Home\":\n        next = walk(0, 1);\n        break;\n      case \"End\":\n        next = walk(n - 1, -1);\n        break;\n      default:\n        return;\n    }\n    event.preventDefault();\n    if (next >= 0) pick(next);\n  };\n\n  return (\n    <div\n      role=\"radiogroup\"\n      aria-label={label}\n      aria-disabled={disabled || undefined}\n      onKeyDown={onKeyDown}\n      className={cn(\"@container relative flex min-h-10 rounded-[12px] bg-[var(--fu-segment-track,#2A2A2A)] p-1\", disabled && \"opacity-50\", className)}\n      style={style}\n      {...props}\n    >\n      <span\n        aria-hidden=\"true\"\n        className={cn(\n          \"pointer-events-none absolute top-1 bottom-1 inset-s-1 rounded-[9px] bg-[var(--fu-thumb,#404040)] [--flip:1] rtl:[--flip:-1]\",\n          \"forced-colors:bg-[Highlight] forced-colors:[forced-color-adjust:none]\",\n          measuring ? placed && \"transition-[left,right,width,opacity]\" : \"transition-[translate,opacity]\",\n          \"duration-[340ms] ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none\",\n          (index < 0 || (measuring && !measured)) && \"opacity-0\",\n        )}\n        style={\n          measuring\n            ? // physical: the start offset is measured in script from the physical edge that is the start in this direction.\n              { [measured?.rtl ? \"right\" : \"left\"]: measured?.start, width: measured?.width }\n            : { width: `calc((100% - 8px) / ${options.length})`, translate: `calc(var(--flip,1) * ${Math.max(index, 0) * 100}%) 0` }\n        }\n      />\n      {options.map((option, i) => {\n        const on = i === index;\n        const off = !usable(i);\n        const hug = hugs && option.count === undefined;\n        return (\n          <button\n            key={String(option.value)}\n            ref={(node) => {\n              buttons.current[i] = node;\n            }}\n            type=\"button\"\n            role=\"radio\"\n            aria-checked={on}\n            tabIndex={i === tabStop ? 0 : -1}\n            disabled={off}\n            onClick={() => pick(i)}\n            className={cn(\n              \"group/seg relative flex min-w-0 cursor-pointer items-center justify-center gap-x-1.5 gap-y-1 rounded-[9px] py-1.5 text-[14px] leading-5 font-medium\",\n              hug ? \"flex-none px-2.5 @min-[340px]:flex-1 @min-[340px]:px-0.5\" : \"flex-1 px-0.5\",\n              // At least its longest word and its count, so a single word is never cut; a longer name wraps.\n              fit === \"content\" && !hug && \"min-w-min\",\n              // In an equal share, a name too long to sit beside its count takes its own lines and the count moves under it.\n              fit === \"equal\" && \"flex-wrap content-center\",\n              on && measuring && !measured && \"bg-[var(--fu-thumb,#404040)] forced-colors:bg-[Highlight]\",\n              \"transition-[color,background-color,scale,opacity] duration-[340ms] ease-[cubic-bezier(0.22,1,0.36,1)] active:scale-[0.97] active:duration-75 motion-reduce:transition-none\",\n              \"outline-none focus-visible:outline-2 focus-visible:outline-solid focus-visible:outline-[var(--fu-accent-soft,#8FAAFF)]\",\n              // Hover and press fill with a faint thumb, so they preview the pick and still read on any track colour.\n              on\n                ? \"text-[var(--fu-text,#F8F5F1)]\"\n                : cn(\n                    \"text-[var(--fu-mute,#BDBDBD)] enabled:hover:text-[var(--fu-text,#F8F5F1)]\",\n                    \"enabled:hover:bg-[color-mix(in_srgb,var(--fu-thumb,#404040)_40%,transparent)] enabled:active:bg-[color-mix(in_srgb,var(--fu-thumb,#404040)_70%,transparent)]\",\n                  ),\n              \"disabled:cursor-not-allowed\",\n              off && !disabled && !on && \"opacity-40\",\n              on && FORCED_ON,\n            )}\n          >\n            {/* Words wrap at spaces and the track grows; a single word too long for its segment ends in an ellipsis.\n                Words that wrap stop 8px short of the segment's edges; beside a count they never reach that width, so a\n                name on one line sits as it did. */}\n            <span className={cn(\"min-w-0 overflow-hidden text-center text-ellipsis\", option.count !== undefined && \"max-w-[calc(100%-12px)]\")}>\n              {option.count === undefined ? option.label : <SkeletonText>{option.label}</SkeletonText>}\n            </span>\n            {option.count !== undefined && (\n              <>\n                <CountPill\n                  aria-hidden=\"true\"\n                  count={option.count}\n                  format={count}\n                  className={cn(\n                    \"group-enabled/seg:group-hover/seg:bg-[var(--fu-pill-hover,rgb(255_255_255/0.16))] group-enabled/seg:group-hover/seg:text-[var(--fu-text,#F8F5F1)]\",\n                    on && \"forced-colors:text-[HighlightText]\",\n                  )}\n                />\n                <span className=\"sr-only\">, {words(option.count)}</span>\n              </>\n            )}\n          </button>\n        );\n      })}\n    </div>\n  );\n}\n"
    },
    {
      "path": "registry/lib/cn.ts",
      "type": "registry:lib",
      "target": "@components/filters-ui/lib/cn.ts",
      "content": "import { clsx, type ClassValue } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nexport function cn(...inputs: ClassValue[]) {\n  return twMerge(clsx(inputs));\n}\n"
    },
    {
      "path": "registry/lib/direction.ts",
      "type": "registry:lib",
      "target": "@components/filters-ui/lib/direction.ts",
      "content": "// Right-to-left helpers for positions and keys worked out in script. Each reads the direction from the element\n// itself, so it is right when only a parent sets dir=\"rtl\".\n\n/** True when the element lays out right to left. */\nexport const isRtl = (node: Element | null | undefined) => !!node && getComputedStyle(node).direction === \"rtl\";\n\n/**\n * The arrow key as a step in reading order: in right-to-left, ArrowLeft moves forward and ArrowRight back, as the\n * ARIA patterns ask for horizontal widgets. Every other key comes back as it is.\n */\nexport function readingKey(key: string, node: Element | null | undefined): string {\n  if ((key !== \"ArrowLeft\" && key !== \"ArrowRight\") || !isRtl(node)) return key;\n  return key === \"ArrowLeft\" ? \"ArrowRight\" : \"ArrowLeft\";\n}\n\n/** A child's offset from its offset parent's start edge: its offsetLeft, or the distance from the right in RTL. */\nexport function startOffset(node: HTMLElement): number {\n  if (!isRtl(node)) return node.offsetLeft;\n  const parent = node.offsetParent as HTMLElement | null;\n  return (parent?.clientWidth ?? 0) - node.offsetLeft - node.offsetWidth;\n}\n\n/** Calls back whenever a dir attribute on the page changes, so a position measured in script can be taken again. */\nexport function onDirChange(callback: () => void): () => void {\n  if (typeof MutationObserver === \"undefined\") return () => {};\n  const observer = new MutationObserver(callback);\n  observer.observe(document.documentElement, { attributes: true, attributeFilter: [\"dir\"], subtree: true });\n  return () => observer.disconnect();\n}\n"
    },
    {
      "path": "registry/lib/format.ts",
      "type": "registry:lib",
      "target": "@components/filters-ui/lib/format.ts",
      "content": "// Numbers, prices, distances, percents and dates for one locale, built on Intl with no dependency. Pass any BCP 47\n// tag (\"de-DE\", \"ar-EG\"); a tag Intl cannot read falls back to en-US instead of throwing. The default is en-US, never\n// the browser's own locale, so the server and the browser always print the same text. UI words stay English.\n\nexport const DEFAULT_LOCALE = \"en-US\";\n\nexport type FormatOptions = {\n  /** ISO 4217 code for price and priceShort. Default \"USD\". */\n  currency?: string;\n  /** The unit of distance. Default \"kilometer\". */\n  unit?: \"kilometer\" | \"mile\";\n};\n\n/** Every formatter takes the value alone, so any of them can be passed straight to a format prop. */\nexport type Formats = {\n  /** The locale these formatters use, after any fallback. */\n  locale: string;\n  /** \"1,234\" in en-US, \"1.234\" in de-DE, up to three decimals. */\n  number: (value: number) => string;\n  /** A number with no group marks, such as a year: \"2026\", or \"٢٠٢٦\" in ar-EG. */\n  plain: (value: number) => string;\n  /** \"45k\", \"1.2M\". */\n  compact: (value: number) => string;\n  /** \"$45,000\" in en-US, \"45.000 $\" in de-DE: whole units of the currency. */\n  price: (value: number) => string;\n  /** \"$45k\" and \"$97.5k\" from a thousand up, \"$950\" below. */\n  priceShort: (value: number) => string;\n  /** \"50,000 km\" or \"31,069 mi\". */\n  distance: (value: number) => string;\n  /** A percentage given in percent, up to two decimals: 6.5 gives \"6.5%\" in en-US and \"6,5 %\" in de-DE. */\n  percent: (value: number) => string;\n  /** A day given as \"YYYY-MM-DD\", in words. Read in UTC, so it never shifts by a time zone. */\n  day: (iso: string, options: Intl.DateTimeFormatOptions) => string;\n  /** The name of a month, 0 for January. */\n  month: (index: number, style?: \"long\" | \"short\") => string;\n  /** The name of a weekday, 0 for Sunday. */\n  weekday: (index: number, style?: \"long\" | \"short\") => string;\n  /** The day weeks start on: 0 for Sunday, 1 for Monday, 6 for Saturday. */\n  firstDay: 0 | 1 | 5 | 6;\n  /** The locale's digits, 0 to 9: \"0123456789\", or \"٠١٢٣٤٥٦٧٨٩\" in ar-EG. */\n  digits: string;\n  /**\n   * Reads a number typed the locale's way, with an optional k or m: \"45,000\", \"$45k\" and \"1.2m\" in en-US, \"45.000\"\n   * and \"1,2m\" in de-DE. A unit such as \"km\" is not a suffix. Returns null when the text holds no number.\n   */\n  readNumber: (text: string) => number | null;\n};\n\n/**\n * A locale Intl has data for, or en-US. A well-formed tag with no data (\"zz\") would otherwise print in the\n * runtime's own locale, which differs between server and browser.\n */\nexport function safeLocale(locale?: string): string {\n  if (!locale) return DEFAULT_LOCALE;\n  try {\n    const [tag] = Intl.getCanonicalLocales(locale);\n    if (!tag) return DEFAULT_LOCALE;\n    if (!Intl.NumberFormat.supportedLocalesOf(tag).length || !Intl.DateTimeFormat.supportedLocalesOf(tag).length) return DEFAULT_LOCALE;\n    return tag;\n  } catch {\n    return DEFAULT_LOCALE;\n  }\n}\n\n/** A currency code Intl can read, or USD. */\nfunction safeCurrency(currency?: string): string {\n  if (!currency) return \"USD\";\n  try {\n    new Intl.NumberFormat(DEFAULT_LOCALE, { style: \"currency\", currency });\n    return currency.toUpperCase();\n  } catch {\n    return \"USD\";\n  }\n}\n\n// Where weeks start, by region, as CLDR 48 has it; every other region starts on Monday. A table rather than\n// Intl.Locale weekInfo, which not every browser has, so the server and every browser agree.\nconst SUNDAY = new Set(\n  \"AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN IS JM JP KE KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PT PY SA SG SV TH TT TW UM US VE VI WS YE ZA ZW\".split(\" \"),\n);\nconst SATURDAY = new Set(\"AF BH DJ DZ EG IQ IR JO KW LY OM QA SD SY\".split(\" \"));\n\nfunction firstDayOf(locale: string): 0 | 1 | 5 | 6 {\n  let region: string | undefined;\n  try {\n    region = new Intl.Locale(locale).maximize().region;\n  } catch {}\n  if (!region) return 0;\n  if (region === \"MV\") return 5;\n  if (SATURDAY.has(region)) return 6;\n  return SUNDAY.has(region) ? 0 : 1;\n}\n\nconst cache = new Map<string, Formats>();\n\n/** Formatters for one locale. Cheap to call on every render: each locale and option set is built once. */\nexport function formatsFor(locale?: string, options: FormatOptions = {}): Formats {\n  const tag = safeLocale(locale);\n  const currency = safeCurrency(options.currency);\n  const unit = options.unit === \"mile\" ? \"mile\" : \"kilometer\";\n  const key = `${tag}|${currency}|${unit}`;\n  const known = cache.get(key);\n  if (known) return known;\n\n  const nf = (o: Intl.NumberFormatOptions) => new Intl.NumberFormat(tag, o);\n  const dates = new Map<string, Intl.DateTimeFormat>();\n  const df = (o: Intl.DateTimeFormatOptions) => {\n    const id = JSON.stringify(o);\n    let format = dates.get(id);\n    if (!format) {\n      format = new Intl.DateTimeFormat(tag, { ...o, timeZone: \"UTC\" });\n      dates.set(id, format);\n    }\n    return format;\n  };\n  // English writes thousands with a small k, as the filters always have.\n  const english = tag === \"en\" || tag.startsWith(\"en-\");\n  const smallK = (text: string) => (english ? text.replace(/K\\b/, \"k\") : text);\n\n  const number = nf({});\n  const plain = nf({ useGrouping: false, maximumFractionDigits: 20 });\n  const compact = nf({ notation: \"compact\", maximumFractionDigits: 1 });\n  const price = nf({ style: \"currency\", currency, minimumFractionDigits: 0, maximumFractionDigits: 0 });\n  // One decimal is exact for a 1,000 unit (\"$97.5k\"); a 10,000 unit such as 万 takes two (\"$9.75万\").\n  const unitDigits = nf({ notation: \"compact\", useGrouping: false }).formatToParts(10000).filter((p) => p.type === \"integer\").map((p) => p.value).join(\"\").length;\n  const priceShort = nf({ style: \"currency\", currency, notation: \"compact\", minimumFractionDigits: 0, maximumFractionDigits: Math.max(1, 3 - unitDigits) });\n  const distance = nf({ style: \"unit\", unit, maximumFractionDigits: 0 });\n  const percent = nf({ style: \"percent\", maximumFractionDigits: 2 });\n\n  const digits = plain.format(1234567890).replace(/^(.*)(.)$/, \"$2$1\");\n  const parts = number.formatToParts(12345.6);\n  const group = parts.find((p) => p.type === \"group\")?.value ?? \",\";\n  const decimal = parts.find((p) => p.type === \"decimal\")?.value ?? \".\";\n\n  const formats: Formats = {\n    locale: tag,\n    number: (value) => number.format(value),\n    plain: (value) => plain.format(value),\n    compact: (value) => smallK(compact.format(value)),\n    price: (value) => price.format(value),\n    priceShort: (value) => (Math.abs(value) >= 1000 ? smallK(priceShort.format(value)) : price.format(value)),\n    distance: (value) => distance.format(value),\n    percent: (value) => percent.format(value / 100),\n    day: (iso, o) => df(o).format(Date.UTC(Number(iso.slice(0, 4)), Number(iso.slice(5, 7)) - 1, Number(iso.slice(8, 10)))),\n    month: (index, style = \"long\") => df({ month: style }).format(Date.UTC(2021, index, 1)),\n    // 3 January 2021 was a Sunday.\n    weekday: (index, style = \"long\") => df({ weekday: style }).format(Date.UTC(2021, 0, 3 + index)),\n    firstDay: firstDayOf(tag),\n    digits,\n    readNumber: (text) => {\n      let t = text.replace(/[\\s  ‎‏؜]/g, \"\");\n      for (let i = 0; i < 10; i++) t = t.split(digits[i]).join(String(i));\n      if (!/\\s/.test(group)) t = t.split(group).join(\"\");\n      // Marks typed in place of the locale's own: a Latin or Arabic comma where both marks are Arabic, a curly apostrophe for a straight one.\n      if (!/[.,]/.test(group + decimal)) t = t.replace(/[,\\u060c]/g, \"\");\n      if (group === \"'\") t = t.split(\"\\u2019\").join(\"\");\n      if (decimal !== \".\") t = t.split(decimal).join(\".\");\n      const match = t.match(/(\\d*\\.?\\d+)([km](?![a-z]))?/i);\n      if (!match) return null;\n      const scale = match[2] ? (match[2].toLowerCase() === \"k\" ? 1e3 : 1e6) : 1;\n      return Number(match[1]) * scale;\n    },\n  };\n  cache.set(key, formats);\n  return formats;\n}\n\n/** \"1 result\", \"1,204 results\": the default words for a count, with the number in the locale. */\nexport const resultsLabel = (n: number, locale?: string) => `${formatsFor(locale).number(n)} ${n === 1 ? \"result\" : \"results\"}`;\n"
    },
    {
      "path": "registry/ui/count-pill.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/count-pill.tsx",
      "content": "\"use client\";\n\nimport type { HTMLAttributes } from \"react\";\nimport { cn } from \"../lib/cn\";\nimport { formatsFor } from \"../lib/format\";\nimport { ARRIVING, SKELETON_FILL, useLoading } from \"./skeleton\";\n\nexport type CountPillProps = Omit<HTMLAttributes<HTMLSpanElement>, \"children\"> & {\n  count: number;\n  /** \"default\": 20px high, 6px radius. \"square\": 18px high, 5px radius, 11px text. */\n  variant?: \"default\" | \"square\";\n  /** Selected look: accent fill, --fu-on-accent text. */\n  on?: boolean;\n  format?: (n: number) => string;\n  /** Formats the count when no format is given, e.g. \"de-DE\" prints 1.234. */\n  locale?: string;\n  /** A pulsing placeholder of the pill's own size. Default: the nearest StatusFrame's loading state. */\n  loading?: boolean;\n};\n\nexport function CountPill({ count, variant = \"default\", on = false, format, locale, loading: loadingProp, className, ...props }: CountPillProps) {\n  const state = useLoading();\n  const loading = loadingProp ?? state.loading;\n  const text = (format ?? formatsFor(locale).number)(count);\n  return (\n    <span\n      data-state={on ? \"on\" : \"off\"}\n      className={cn(\n        \"inline-flex shrink-0 items-center justify-center font-medium tabular-nums\",\n        \"transition-[background-color,color] duration-200 ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none\",\n        variant === \"square\"\n          ? \"h-[18px] min-w-5 rounded-[5px] px-[5px] text-[11px] leading-4\"\n          : \"h-5 min-w-[22px] rounded-[6px] px-1.5 text-[12px] leading-4\",\n        loading\n          ? SKELETON_FILL\n          : on\n            ? \"bg-[var(--fu-accent,#3B57E6)] text-[var(--fu-on-accent,#FFFFFF)]\"\n            : variant === \"square\"\n              ? \"bg-[var(--fu-pill-square,#333333)] text-[var(--fu-pill-text,#C8C8C8)]\"\n              : \"bg-[var(--fu-pill,rgb(255_255_255/0.1))] text-[var(--fu-pill-text,#C8C8C8)]\",\n        className,\n      )}\n      {...props}\n    >\n      {/* While loading, the number holds the pill's width unseen; when it arrives it fades in once. */}\n      {loading ? (\n        <span key=\"skeleton\" className=\"invisible\">\n          {text}\n        </span>\n      ) : state.arriving ? (\n        <span key=\"arrived\" className={ARRIVING}>\n          {text}\n        </span>\n      ) : (\n        text\n      )}\n    </span>\n  );\n}\n"
    },
    {
      "path": "registry/ui/skeleton.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/skeleton.tsx",
      "content": "\"use client\";\n\nimport { createContext, useContext, type HTMLAttributes, type ReactNode } from \"react\";\nimport { cn } from \"../lib/cn\";\n\n/** What StatusFrame tells the pieces under it: draw placeholders, or the data has just arrived and fades in once. */\nexport type LoadingState = { loading: boolean; arriving: boolean };\n\nexport const LoadingContext = createContext<LoadingState>({ loading: false, arriving: false });\n\n/** The loading state of the nearest StatusFrame. Outside one, nothing is loading. */\nexport const useLoading = () => useContext(LoadingContext);\n\n/**\n * The placeholder fill: --fu-skeleton, pulsing to half of it every 2s (Tailwind's animate-pulse). It holds still when\n * reduced motion is asked for, and turns to the system's grey text colour in forced colours, so it never vanishes.\n */\nexport const SKELETON_FILL =\n  \"animate-pulse bg-[var(--fu-skeleton,rgb(255_255_255/0.12))] in-data-[state=on]:bg-[var(--fu-skeleton-on,rgb(143_170_255/0.3))] motion-reduce:animate-none forced-colors:bg-[GrayText] forced-colors:[forced-color-adjust:none]\";\n\n/** Content that has just replaced a placeholder: it fades in once over 300ms as it is inserted, and never again. */\nexport const ARRIVING = \"transition-opacity duration-300 ease-out starting:opacity-0 motion-reduce:transition-none\";\n\nexport type SkeletonProps = HTMLAttributes<HTMLSpanElement>;\n\n/**\n * A pulsing placeholder block with no size of its own: give it the size and corners of what it stands for, from the\n * same classes, e.g. \"h-5 min-w-[22px] rounded-[6px]\" for a count pill. Hidden from screen readers; the StatusFrame\n * around it says \"Loading\" once.\n */\nexport function Skeleton({ className, ...props }: SkeletonProps) {\n  return <span aria-hidden=\"true\" data-skeleton=\"\" className={cn(\"block rounded-[6px]\", SKELETON_FILL, className)} {...props} />;\n}\n\nexport type SkeletonTextProps = {\n  children: ReactNode;\n  /** Draws the placeholder. Default: the nearest StatusFrame's loading state. */\n  loading?: boolean;\n  /** Classes for the placeholder's box while loading. */\n  className?: string;\n};\n\n/**\n * Words that draw as a rounded bar while loading. The words stay in the layout, unseen, so the bar is exactly as wide\n * and as many lines tall as they are, and nothing moves when they arrive; then they fade in once.\n */\nexport function SkeletonText({ children, loading, className }: SkeletonTextProps) {\n  const state = useLoading();\n  if (loading ?? state.loading) {\n    return (\n      <span key=\"skeleton\" className={cn(\"relative inline-block max-w-full align-top\", className)}>\n        <span className=\"invisible\">{children}</span>\n        <Skeleton className=\"absolute inset-x-0 inset-y-[0.22lh] rounded-[4px]\" />\n      </span>\n    );\n  }\n  if (state.arriving) {\n    return (\n      <span key=\"arrived\" className={ARRIVING}>\n        {children}\n      </span>\n    );\n  }\n  return <>{children}</>;\n}\n\n/**\n * Stand-in names for a list whose options have not come yet: a mix of lengths, so the placeholders do not read as a\n * grid. Never shown; only their widths are.\n */\nexport function placeholderLabels(count: number): string[] {\n  const words = [\"Placeholder\", \"Short\", \"A longer name\", \"Medium one\", \"Tiny\", \"Another name\", \"Middle\", \"Fairly long one\"];\n  return Array.from({ length: count }, (_, i) => words[i % words.length]);\n}\n"
    },
    {
      "path": "registry/ui/status-frame.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/status-frame.tsx",
      "content": "\"use client\";\n\nimport { createContext, useContext, useEffect, useLayoutEffect, useRef, useState, type HTMLAttributes, type ReactNode, type RefObject } from \"react\";\nimport { cn } from \"../lib/cn\";\nimport { SEARCH_ART } from \"./art-search\";\nimport { EmptyNote } from \"./empty-note\";\nimport { EmptyState } from \"./empty-state\";\nimport { ERROR_LINE, ERROR_TEXT, ErrorGlyph, RetryButton } from \"./inline-error\";\nimport { LoadingContext, useLoading } from \"./skeleton\";\n\n/** Where the data stands: shown, on its way, or failed. */\nexport type Status = \"ready\" | \"loading\" | \"error\";\n\n/**\n * The state props every item takes, with the same names and meanings everywhere, so a person who has learned one\n * filter knows them all. Spread them into an item's own props type.\n */\nexport type StateProps = {\n  /** \"loading\" draws placeholders the size of the content; \"error\" shows errorText with a Retry. Default \"ready\". */\n  status?: Status;\n  /** Called by the Retry button. Without it the error line has no button. */\n  onRetry?: () => void;\n  /** The error line. Default \"Couldn't load the options.\" */\n  errorText?: string;\n  /** The line shown in place of the options when there are none. Default \"No options to show\" */\n  emptyText?: string;\n  /** Dims the whole filter, blocks pointer and keyboard input and says so to screen readers. Default false. */\n  disabled?: boolean;\n};\n\nexport const DEFAULT_ERROR_TEXT = \"Couldn't load the options.\";\nexport const DEFAULT_EMPTY_TEXT = \"No options to show\";\nexport const DEFAULT_LOADING_TEXT = \"Loading\";\n\n/** How long arriving content keeps its fade-in class: a little more than the 300ms fade. */\nconst ARRIVAL_MS = 400;\n\ntype Mode = \"ready\" | \"loading\" | \"error\" | \"empty\";\n\n/** A frame around this one is loading and has said \"Loading\": this one then draws its placeholders without saying it again. */\nconst SaidLoading = createContext(false);\n\nexport type StatusFrameProps = Omit<HTMLAttributes<HTMLDivElement>, \"children\"> &\n  Omit<StateProps, \"emptyText\"> & {\n    /** There are no options: emptyText shows in place of the content. */\n    empty?: boolean;\n    emptyText?: ReactNode;\n    /** The picture above emptyText: an image address or a node. Default: the search picture. null draws the words alone as one quiet line, for a tight place. */\n    emptyArt?: string | ReactNode | null;\n    /** Words read once while loading. Default \"Loading\". */\n    loadingText?: string;\n    /** Reads loading and errors out. A block that holds several filters turns it off on each and says it once itself. Default true. */\n    announce?: boolean;\n    retryLabel?: string;\n    children: ReactNode;\n  };\n\n/**\n * Wraps an item's content and gives it the shared states.\n * - loading: the content stays drawn, inert and busy, and its Skeleton, SkeletonText and CountPill pieces draw as\n *   placeholders of their real size, so nothing moves when the data arrives; the data then fades in once.\n * - error: one calm line and a Retry in place of the content. Loading and errors are read out through one polite\n *   status region that stays on the page.\n * - empty: a picture and one line in place of the content (or the line alone, with emptyArt null).\n * - disabled: dimmed, no pointer or keyboard input (a disabled fieldset turns off every native control inside), and\n *   read as unavailable. Custom focusable parts, such as a grid's cells, also need tabIndex -1 and aria-disabled.\n * When a state change takes away the control that had focus, the frame takes focus, so it is never lost.\n * A frame inside a loading frame draws its placeholders too, and does not say \"Loading\" again when that frame has said\n * it. So a block can load every filter in it with one quiet frame per card (announce false) and say it once in its head\n * with StatusLine; and a filter whose error must leave its title in place can take loading and disabled on a quiet outer\n * frame and let an inner frame around the part that fails speak.\n */\nexport function StatusFrame({\n  status = \"ready\",\n  onRetry,\n  errorText = DEFAULT_ERROR_TEXT,\n  empty = false,\n  emptyText = DEFAULT_EMPTY_TEXT,\n  emptyArt,\n  disabled = false,\n  loadingText = DEFAULT_LOADING_TEXT,\n  announce = true,\n  retryLabel,\n  className,\n  children,\n  ...props\n}: StatusFrameProps) {\n  const frame = useRef<HTMLDivElement>(null);\n  const outer = useLoading();\n  const saidAbove = useContext(SaidLoading);\n  const mode: Mode = status === \"loading\" ? \"loading\" : status === \"error\" ? \"error\" : empty ? \"empty\" : \"ready\";\n\n  // The data arrives when loading turns to ready: its pieces fade in once, then go back to plain content.\n  const [lastStatus, setLastStatus] = useState(status);\n  const [arriving, setArriving] = useState(false);\n  if (status !== lastStatus) {\n    setLastStatus(status);\n    setArriving(lastStatus === \"loading\" && status === \"ready\");\n  }\n  useEffect(() => {\n    if (!arriving) return;\n    const timer = setTimeout(() => setArriving(false), ARRIVAL_MS);\n    return () => clearTimeout(timer);\n  }, [arriving]);\n\n  // Whether focus sat on a control inside, read just before a change of state is drawn.\n  const key = `${mode}|${disabled}`;\n  const drawnKey = useRef(key);\n  const focusWasInside = useRef(false);\n  if (key !== drawnKey.current && typeof document !== \"undefined\") {\n    const active = document.activeElement;\n    focusWasInside.current = !!frame.current && !!active && active !== frame.current && frame.current.contains(active);\n  }\n  useLayoutEffect(() => {\n    if (drawnKey.current === key) return;\n    drawnKey.current = key;\n    if (!focusWasInside.current) return;\n    focusWasInside.current = false;\n    const node = frame.current;\n    // The focused control was removed, made inert or disabled: the frame keeps focus instead of the page.\n    if (node && (mode !== \"ready\" || disabled || !node.contains(document.activeElement))) node.focus({ preventScroll: true });\n  });\n\n  return (\n    <div\n      ref={frame}\n      tabIndex={-1}\n      data-status-frame=\"\"\n      data-status={mode}\n      aria-busy={mode === \"loading\" || undefined}\n      className={cn(\n        \"min-w-0 rounded-[12px] outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-solid focus-visible:outline-[var(--fu-accent-soft,#8FAAFF)]\",\n        disabled && \"pointer-events-none opacity-50 select-none\",\n        className,\n      )}\n      {...props}\n    >\n      <SaidLoading.Provider value={saidAbove || (mode === \"loading\" && announce)}>\n        <LoadingContext.Provider value={{ loading: mode === \"loading\" || outer.loading, arriving: arriving || outer.arriving }}>\n          {mode === \"empty\" ? (\n            emptyArt === null ? (\n              <EmptyNote>{emptyText}</EmptyNote>\n            ) : (\n              <EmptyState art={emptyArt ?? SEARCH_ART} title={emptyText} className=\"py-5\" />\n            )\n          ) : mode === \"error\" ? null : (\n            // display: contents, so the fieldset adds no box; while disabled it turns off every native control inside.\n            <fieldset role=\"none\" disabled={disabled} inert={mode === \"loading\"} className=\"contents\">\n              {children}\n            </fieldset>\n          )}\n        </LoadingContext.Provider>\n      </SaidLoading.Provider>\n      <StatusLine\n        status={mode === \"loading\" || mode === \"error\" ? mode : \"ready\"}\n        onRetry={onRetry}\n        errorText={errorText}\n        loadingText={saidAbove ? \"\" : loadingText}\n        announce={announce}\n        retryLabel={retryLabel}\n      />\n    </div>\n  );\n}\n\nexport type StatusLineProps = {\n  status?: Status;\n  /** Called by Retry. Without it the error line has no button. */\n  onRetry?: () => void;\n  errorText?: string;\n  loadingText?: string;\n  /** Reads loading and errors out. Off, it leaves \"Loading\" out and still shows an error. Default true. */\n  announce?: boolean;\n  retryLabel?: string;\n  /** Classes for the line while it shows an error, e.g. its margins. */\n  className?: string;\n};\n\n/**\n * What a StatusFrame says, on its own: one polite region, on the page in every state so each change is read out.\n * Loading is read as \"Loading\" and not shown; an error shows as one calm line with Retry; ready says nothing and takes\n * no space. A block that keeps its cards in every state puts it in its head, to say the state once for all of them.\n * Retry hands focus to the nearest element marked data-status-frame (with tabIndex -1) around it.\n */\nexport function StatusLine({\n  status = \"ready\",\n  onRetry,\n  errorText = DEFAULT_ERROR_TEXT,\n  loadingText = DEFAULT_LOADING_TEXT,\n  announce = true,\n  retryLabel,\n  className,\n}: StatusLineProps) {\n  const error = status === \"error\";\n  const said = status === \"loading\" ? (announce ? loadingText : \"\") : error ? errorText : \"\";\n  return (\n    // The words take their own direction, so an English sentence keeps its full stop at its end on a right-to-left page.\n    <div className={error ? cn(ERROR_LINE, className) : \"contents\"}>\n      <p role={announce ? \"status\" : undefined} className={error ? ERROR_TEXT : \"sr-only\"}>\n        {error && <ErrorGlyph />}\n        {said && <span dir=\"auto\">{said}</span>}\n      </p>\n      {error && onRetry && <RetryButton onRetry={onRetry} label={retryLabel} />}\n    </div>\n  );\n}\n\n/**\n * For a block that leaves controls out by state, such as Clear all while it is disabled: when a change of `key` takes\n * away the control that had focus inside `scope`, `target` (default `scope`, with tabIndex -1) takes focus, so it is\n * never dropped to the page.\n */\nexport function useFocusKept(scope: RefObject<HTMLElement | null>, key: string, target: RefObject<HTMLElement | null> = scope) {\n  const drawn = useRef(key);\n  const had = useRef(false);\n  if (key !== drawn.current && typeof document !== \"undefined\") {\n    const active = document.activeElement;\n    had.current = !!scope.current && !!active && scope.current.contains(active);\n  }\n  useLayoutEffect(() => {\n    if (drawn.current === key) return;\n    drawn.current = key;\n    if (!had.current) return;\n    had.current = false;\n    const node = scope.current;\n    if (node && !node.contains(document.activeElement)) target.current?.focus({ preventScroll: true });\n  });\n}\n"
    },
    {
      "path": "registry/ui/art-search.ts",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/art-search.ts",
      "content": "/**\n * The picture for \"nothing matches\" and \"nothing here\": a glass magnifier on a clear background, drawn 56px.\n * It is a file, not code: the shadcn install saves it as public/filters-ui/search.svg. Copying by hand, save\n * https://filtersui.com/filters-ui/search.svg there, or point this at a picture of your own. With no file the empty\n * states show their words alone.\n */\nexport const SEARCH_ART = \"/filters-ui/search.svg\";\n"
    },
    {
      "path": "registry/ui/empty-note.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/empty-note.tsx",
      "content": "import type { HTMLAttributes, ReactNode } from \"react\";\nimport { cn } from \"../lib/cn\";\n\nexport type EmptyNoteProps = HTMLAttributes<HTMLDivElement> & {\n  /** A 16px glyph in currentColor before the words. */\n  icon?: ReactNode;\n  /** A button or link after the words, e.g. \"Clear search\". */\n  action?: ReactNode;\n};\n\n/**\n * A quiet one-line note in place of a list that has nothing in it: dim 14px words, an optional glyph and an optional\n * action. No illustration and no box, so it sits in the space the options would take.\n */\nexport function EmptyNote({ icon, action, className, children, ...props }: EmptyNoteProps) {\n  return (\n    <div className={cn(\"flex min-w-0 flex-wrap items-center justify-between gap-x-3 gap-y-2\", className)} {...props}>\n      <p className=\"flex min-w-0 items-start gap-2 text-[14px] leading-5 text-[var(--fu-dim,#929292)]\">\n        {icon && (\n          <span aria-hidden=\"true\" className=\"mt-0.5 shrink-0 [&_svg]:size-4\">\n            {icon}\n          </span>\n        )}\n        <span dir=\"auto\">{children}</span>\n      </p>\n      {action}\n    </div>\n  );\n}\n"
    },
    {
      "path": "registry/ui/empty-state.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/empty-state.tsx",
      "content": "import type { HTMLAttributes, ReactNode } from \"react\";\nimport { cn } from \"../lib/cn\";\n\nexport type EmptyStateProps = Omit<HTMLAttributes<HTMLDivElement>, \"title\"> & {\n  /** The picture above the words: an image address, drawn 56px square, or any node of that size. */\n  art?: string | ReactNode;\n  /** The one line that says what is missing. */\n  title: ReactNode;\n  /** A link or button under the words, such as \"Clear search\". */\n  action?: ReactNode;\n  /** A second, quieter line under the title. */\n  children?: ReactNode;\n};\n\n// Each part arrives once, a beat after the one above it: the picture comes into focus, the words rise into place.\nconst ENTER =\n  \"transition-[opacity,filter,translate,scale] duration-[480ms] ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none starting:opacity-0\";\n\n/**\n * What a list shows in the room its options would take when it has none: a picture, one line and an action, stacked\n * in the middle. For a single quiet line with no picture, use EmptyNote.\n */\nexport function EmptyState({ art, title, action, className, children, ...props }: EmptyStateProps) {\n  return (\n    <div className={cn(\"flex min-w-0 max-w-full flex-col items-center text-center\", className)} {...props}>\n      {art && (\n        <span aria-hidden=\"true\" className={cn(\"mb-3 block size-14 shrink-0\", ENTER, \"starting:scale-[0.82] starting:blur-[6px]\")}>\n          {typeof art === \"string\" ? (\n            // eslint-disable-next-line @next/next/no-img-element\n            <img src={art} alt=\"\" width={56} height={56} loading=\"lazy\" decoding=\"async\" draggable={false} className=\"size-full object-contain select-none\" />\n          ) : (\n            art\n          )}\n        </span>\n      )}\n      <p dir=\"auto\" className={cn(\"max-w-full text-[15px] leading-5 font-medium text-[var(--fu-text,#F8F5F1)]\", ENTER, \"delay-[60ms] starting:translate-y-1.5 starting:blur-[2px]\")}>\n        {title}\n      </p>\n      {children && (\n        <p dir=\"auto\" className={cn(\"mt-1 max-w-full text-[14px] leading-5 text-[var(--fu-mute,#BDBDBD)]\", ENTER, \"delay-[90ms] starting:translate-y-1.5 starting:blur-[2px]\")}>\n          {children}\n        </p>\n      )}\n      {action && <div className={cn(\"mt-2 max-w-full\", ENTER, \"delay-[120ms] starting:translate-y-1.5\")}>{action}</div>}\n    </div>\n  );\n}\n"
    },
    {
      "path": "registry/ui/inline-error.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/inline-error.tsx",
      "content": "\"use client\";\n\nimport type { HTMLAttributes } from \"react\";\nimport { cn } from \"../lib/cn\";\nimport { buttonClasses } from \"./button-classes\";\nimport { CircleAlertIcon } from \"./icons\";\n\nexport const DEFAULT_RETRY_LABEL = \"Retry\";\n\n/** The error line's layout: the words at the start, Retry at the end, wrapping under them when space runs out. */\nexport const ERROR_LINE = \"flex min-w-0 flex-wrap items-center justify-between gap-x-3 gap-y-2\";\n/** The words: 14px, muted, with a 16px dim alert glyph before them. */\nexport const ERROR_TEXT = \"flex min-w-0 items-start gap-2 text-[14px] leading-5 text-[var(--fu-mute,#BDBDBD)]\";\n\n/** The alert glyph that leads the words. Hidden from screen readers. */\nexport function ErrorGlyph() {\n  return <CircleAlertIcon size={16} className=\"mt-0.5 shrink-0 text-[var(--fu-dim,#929292)]\" />;\n}\n\nexport type RetryButtonProps = {\n  onRetry: () => void;\n  label?: string;\n  className?: string;\n};\n\n/**\n * A small grey button that is never shown disabled. Before it calls onRetry it hands focus to the StatusFrame around\n * it, which stays on the page while the content reloads, so focus is never lost with the button.\n */\nexport function RetryButton({ onRetry, label = DEFAULT_RETRY_LABEL, className }: RetryButtonProps) {\n  return (\n    <button\n      type=\"button\"\n      onClick={(event) => {\n        event.currentTarget.closest<HTMLElement>(\"[data-status-frame]\")?.focus({ preventScroll: true });\n        onRetry();\n      }}\n      className={buttonClasses({ variant: \"secondary\", size: \"sm\", className })}\n    >\n      {label}\n    </button>\n  );\n}\n\nexport type InlineErrorProps = Omit<HTMLAttributes<HTMLDivElement>, \"children\"> & {\n  /** One short line in plain words, e.g. \"Couldn't load the options.\" */\n  text: string;\n  /** Shows Retry. Without it the line stands alone. */\n  onRetry?: () => void;\n  retryLabel?: string;\n};\n\n/**\n * A calm error in the component's own area: one muted line and a Retry button. The line is a polite status region, so\n * it is read out when it appears. Inside a StatusFrame use the frame's status=\"error\" instead: it keeps one region on\n * the page for loading and errors alike.\n */\nexport function InlineError({ text, onRetry, retryLabel, className, ...props }: InlineErrorProps) {\n  return (\n    <div className={cn(ERROR_LINE, className)} {...props}>\n      <p role=\"status\" className={ERROR_TEXT}>\n        <ErrorGlyph />\n        <span dir=\"auto\">{text}</span>\n      </p>\n      {onRetry && <RetryButton onRetry={onRetry} label={retryLabel} />}\n    </div>\n  );\n}\n"
    },
    {
      "path": "registry/ui/button-classes.ts",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/button-classes.ts",
      "content": "import { cn } from \"../lib/cn\";\n\n// The button looks as class names. Kept apart from button.tsx, a client module, so server pages can call them too.\n\nexport type ButtonVariant = \"primary\" | \"secondary\" | \"ghost\" | \"quiet\" | \"quiet-accent\";\nexport type ButtonSize = \"sm\" | \"md\" | \"lg\";\n\nexport const BUTTON_BASE = cn(\n  \"relative inline-flex shrink-0 cursor-pointer items-center justify-center rounded-[10px] font-[inherit] font-medium whitespace-nowrap no-underline select-none\",\n  \"[-webkit-tap-highlight-color:transparent] transition-[background-color,color,scale] duration-200 ease-[cubic-bezier(0.22,1,0.36,1)]\",\n  \"active:scale-[0.97] active:duration-75 motion-reduce:transition-none motion-reduce:active:scale-100\",\n  \"outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-solid focus-visible:outline-[var(--fu-accent-soft,#8FAAFF)]\",\n  \"aria-busy:cursor-progress aria-busy:active:scale-100\",\n);\n\nconst VARIANTS: Record<ButtonVariant, string> = {\n  primary:\n    \"bg-[var(--fu-accent,#3B57E6)] text-[var(--fu-on-accent,#FFFFFF)] hover:bg-[var(--fu-accent-hover,#3450D4)] forced-colors:border forced-colors:border-[ButtonText]\",\n  secondary:\n    \"bg-[var(--fu-surface-3,#2A2A2A)] text-[var(--fu-text,#F8F5F1)] hover:bg-[var(--fu-hover,#333333)] forced-colors:border forced-colors:border-[ButtonText]\",\n  ghost: \"bg-transparent text-[var(--fu-text,#F8F5F1)] hover:bg-[var(--fu-hover-wash,rgb(255_255_255/0.14))]\",\n  quiet: \"bg-transparent text-[var(--fu-mute,#BDBDBD)] hover:text-[var(--fu-text,#F8F5F1)]\",\n  \"quiet-accent\":\n    \"bg-transparent text-[var(--fu-accent-soft,#8FAAFF)] decoration-1 underline-offset-[5px] hover:text-[var(--fu-accent-pale,#D1DDFF)] [@media(hover:hover)]:hover:underline\",\n};\n\n// Below 44px a touch screen gets a taller invisible target through ::after.\nconst TAP = \"pointer-coarse:after:absolute pointer-coarse:after:inset-x-0 pointer-coarse:after:content-['']\";\n\nconst SIZES: Record<ButtonSize, { box: string; before: string; after: string }> = {\n  sm: { box: cn(\"h-8 gap-1.5 px-3 text-[13px] leading-5 [&_svg]:size-4\", TAP, \"pointer-coarse:after:-inset-y-1.5\"), before: \"ps-2.5\", after: \"pe-2.5\" },\n  md: { box: cn(\"h-10 gap-2 px-3.5 text-[15px] leading-5 [&_svg]:size-4\", TAP, \"pointer-coarse:after:-inset-y-0.5\"), before: \"ps-3\", after: \"pe-3\" },\n  lg: { box: \"h-11 gap-2 px-4 text-[15px] leading-5 [&_svg]:size-[18px]\", before: \"ps-3.5\", after: \"pe-3.5\" },\n};\n\n/** The classes of a button, for a link or a router link that should look like one. */\nexport function buttonClasses({\n  variant = \"primary\",\n  size = \"md\",\n  before = false,\n  after = false,\n  className,\n}: { variant?: ButtonVariant; size?: ButtonSize; before?: boolean; after?: boolean; className?: string } = {}) {\n  return cn(BUTTON_BASE, VARIANTS[variant], SIZES[size].box, before && SIZES[size].before, after && SIZES[size].after, className);\n}\n"
    },
    {
      "path": "registry/ui/icons.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/icons.tsx",
      "content": "import type { ReactNode, SVGProps } from \"react\";\n\n/*\n * Icon paths from Lucide (https://lucide.dev), ISC License.\n * Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022 as part of Feather (MIT).\n * All other copyright (c) for Lucide are held by Lucide Contributors 2022.\n * Permission to use, copy, modify, and/or distribute this software for any purpose with or\n * without fee is hereby granted, provided that the above copyright notice and this permission\n * notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS\n * SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE\n * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n * PERFORMANCE OF THIS SOFTWARE.\n */\n\nexport type IconProps = Omit<SVGProps<SVGSVGElement>, \"children\"> & { size?: number };\n\nfunction Icon({ size = 20, strokeWidth = 2, children, ...props }: IconProps & { children: ReactNode }) {\n  return (\n    <svg\n      width={size}\n      height={size}\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      stroke=\"currentColor\"\n      strokeWidth={strokeWidth}\n      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n      aria-hidden=\"true\"\n      focusable=\"false\"\n      {...props}\n    >\n      {children}\n    </svg>\n  );\n}\n\nexport function ChevronDownIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"m6 9 6 6 6-6\" />\n    </Icon>\n  );\n}\n\nexport function XIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M18 6 6 18\" />\n      <path d=\"m6 6 12 12\" />\n    </Icon>\n  );\n}\n\nexport function CheckIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M20 6 9 17l-5-5\" />\n    </Icon>\n  );\n}\n\nexport function SearchIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <circle cx=\"11\" cy=\"11\" r=\"8\" />\n      <path d=\"m21 21-4.3-4.3\" />\n    </Icon>\n  );\n}\n\nexport function ArrowUpRightIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M7 7h10v10\" />\n      <path d=\"M7 17 17 7\" />\n    </Icon>\n  );\n}\n\nexport function PlusIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M5 12h14\" />\n      <path d=\"M12 5v14\" />\n    </Icon>\n  );\n}\n\nexport function CopyIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <rect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\" ry=\"2\" />\n      <path d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\" />\n    </Icon>\n  );\n}\n\nexport function SlidersIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M21 4h-7\" />\n      <path d=\"M10 4H3\" />\n      <path d=\"M21 12h-9\" />\n      <path d=\"M8 12H3\" />\n      <path d=\"M21 20h-5\" />\n      <path d=\"M12 20H3\" />\n      <path d=\"M14 2v4\" />\n      <path d=\"M8 10v4\" />\n      <path d=\"M16 18v4\" />\n    </Icon>\n  );\n}\n\nexport function ArrowRightIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M5 12h14\" />\n      <path d=\"m12 5 7 7-7 7\" />\n    </Icon>\n  );\n}\n\nexport function SearchXIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"m13.5 8.5-5 5\" />\n      <path d=\"m8.5 8.5 5 5\" />\n      <circle cx=\"11\" cy=\"11\" r=\"8\" />\n      <path d=\"m21 21-4.3-4.3\" />\n    </Icon>\n  );\n}\n\nexport function StarIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z\" />\n    </Icon>\n  );\n}\n\nexport function HistoryIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8\" />\n      <path d=\"M3 3v5h5\" />\n      <path d=\"M12 7v5l4 2\" />\n    </Icon>\n  );\n}\n\nexport function ListTreeIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M21 12h-8\" />\n      <path d=\"M21 6H8\" />\n      <path d=\"M21 18h-8\" />\n      <path d=\"M3 6v4c0 1.1.9 2 2 2h3\" />\n      <path d=\"M3 10v6c0 1.1.9 2 2 2h3\" />\n    </Icon>\n  );\n}\n\nexport function CircleAlertIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <circle cx=\"12\" cy=\"12\" r=\"10\" />\n      <path d=\"M12 8v4\" />\n      <path d=\"M12 16h.01\" />\n    </Icon>\n  );\n}\n"
    },
    {
      "path": "registry/ui/filter-card.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/filter-card.tsx",
      "content": "\"use client\";\n\nimport { useId, useRef, useState, type HTMLAttributes, type ReactNode } from \"react\";\nimport { cn } from \"../lib/cn\";\nimport { ChevronDownIcon } from \"./icons\";\n\nexport type FilterCardProps = Omit<HTMLAttributes<HTMLElement>, \"title\" | \"children\"> & {\n  title: string;\n  /** The value in words (\"Under $45k\"). Shown on the closed card; null or empty means the filter is unset. */\n  summary?: string | null;\n  /** Clears this one filter. When given, a Clear button takes the summary's place while open or hovered. */\n  onClear?: () => void;\n  /** Controlled open state. Leave undefined to let the card manage it. */\n  open?: boolean;\n  defaultOpen?: boolean;\n  onOpenChange?: (open: boolean) => void;\n  /** Looks like a closed card but cannot be opened or focused, e.g. a filter whose body is not ready. */\n  disabled?: boolean;\n  /** Accessible name of the Clear button. Default \"Clear {title}\". */\n  clearLabel?: string;\n  /** Heading level wrapping the head button. Default 3. */\n  headingLevel?: 2 | 3 | 4 | 5 | 6;\n  bodyClassName?: string;\n  children?: ReactNode;\n};\n\nconst SMOOTH = \"ease-[cubic-bezier(0.22,1,0.36,1)]\";\n\n// The summary and Clear share one slot and trade places over 150ms through a 2px blur and 4px shift.\nconst SUMMARY_HIDDEN = \"opacity-0 blur-[2px] -translate-y-1\";\nconst SUMMARY_HIDES_WHEN = [\n  \"group-data-[state=open]/card:opacity-0 group-data-[state=open]/card:blur-[2px] group-data-[state=open]/card:-translate-y-1\",\n  \"group-hover/slot:opacity-0 group-hover/slot:blur-[2px] group-hover/slot:-translate-y-1\",\n  \"group-focus-within/slot:opacity-0 group-focus-within/slot:blur-[2px] group-focus-within/slot:-translate-y-1\",\n].join(\" \");\n// Hovering anywhere on a closed card offers Clear in the summary's place.\nconst SUMMARY_HIDES_ON_CARD_HOVER = \"group-hover/card:opacity-0 group-hover/card:blur-[2px] group-hover/card:-translate-y-1\";\nconst CLEAR_SHOWS_ON_CARD_HOVER = \"group-hover/card:opacity-100 group-hover/card:blur-none group-hover/card:translate-y-0\";\n// A hidden Clear takes no taps: only a pointer that can hover reveals it before a click.\nconst CLEAR_HIDDEN = \"pointer-events-none opacity-0 blur-[2px] translate-y-1 [@media(hover:hover)]:pointer-events-auto\";\nconst CLEAR_SHOWS_WHEN = [\n  \"group-data-[state=open]/card:pointer-events-auto group-data-[state=open]/card:opacity-100 group-data-[state=open]/card:blur-none group-data-[state=open]/card:translate-y-0\",\n  \"group-hover/slot:opacity-100 group-hover/slot:blur-none group-hover/slot:translate-y-0\",\n  \"group-focus-within/slot:opacity-100 group-focus-within/slot:blur-none group-focus-within/slot:translate-y-0\",\n].join(\" \");\n\nconst FOCUS_RING =\n  \"outline-none focus-visible:outline-2 focus-visible:outline-solid focus-visible:outline-[var(--fu-accent-soft,#8FAAFF)]\";\n\n/**\n * One filter in a rounded card: a 52px head (title, value summary or Clear, chevron) that opens a body.\n * Opening animates the height over 480ms and reveals the content from a 6px blur, 6px lower.\n */\nexport function FilterCard({\n  title,\n  summary,\n  onClear,\n  open: openProp,\n  defaultOpen = false,\n  onOpenChange,\n  disabled = false,\n  clearLabel,\n  headingLevel = 3,\n  className,\n  bodyClassName,\n  children,\n  ...props\n}: FilterCardProps) {\n  const id = useId();\n  const headId = `${id}-head`;\n  const bodyId = `${id}-body`;\n  const head = useRef<HTMLButtonElement>(null);\n  const [innerOpen, setInnerOpen] = useState(defaultOpen);\n  const open = !disabled && (openProp ?? innerOpen);\n  const set = Boolean(summary);\n\n  // The last summary stays in place while it fades out after a clear.\n  const [lastSummary, setLastSummary] = useState(summary ?? \"\");\n  if (summary && summary !== lastSummary) setLastSummary(summary);\n\n  const setOpen = (next: boolean) => {\n    if (openProp === undefined) setInnerOpen(next);\n    onOpenChange?.(next);\n  };\n\n  const Heading = `h${headingLevel}` as const;\n  const swap = cn(\n    \"transition-[opacity,filter,translate] duration-150 ease-in-out motion-reduce:transition-none\",\n    \"group-data-[state=open]/card:duration-[480ms] group-data-[state=open]/card:ease-[cubic-bezier(0.22,1,0.36,1)]\",\n  );\n\n  return (\n    <section\n      data-state={open ? \"open\" : \"closed\"}\n      data-set={set ? \"true\" : \"false\"}\n      className={cn(\n        \"not-prose group/card relative overflow-hidden rounded-[24px] border border-[var(--fu-card-border,#2A2A2A)] bg-[var(--fu-card,#1F1F1F)] text-[var(--fu-text,#F8F5F1)]\",\n        \"transition-[background-color,border-color,opacity] duration-200 motion-reduce:transition-none\",\n        \"[@media(hover:hover)]:data-[state=closed]:has-[[data-filter-card-head]:enabled:hover,[data-filter-card-slot]:hover]:border-[var(--fu-line,#404040)] [@media(hover:hover)]:data-[state=closed]:has-[[data-filter-card-head]:enabled:hover,[data-filter-card-slot]:hover]:bg-[var(--fu-card-hover,#262626)]\",\n        // The head button sits flush in a clipped card, so its focus ring is drawn around the card.\n        \"has-[[data-filter-card-head]:focus-visible]:outline-2 has-[[data-filter-card-head]:focus-visible]:outline-offset-2 has-[[data-filter-card-head]:focus-visible]:outline-solid has-[[data-filter-card-head]:focus-visible]:outline-[var(--fu-accent-soft,#8FAAFF)]\",\n        className,\n      )}\n      {...props}\n    >\n      <Heading className=\"m-0 -mb-0.5 text-[15px] font-semibold leading-5 text-[var(--fu-text,#F8F5F1)]\">\n        <button\n          ref={head}\n          type=\"button\"\n          id={headId}\n          data-filter-card-head=\"\"\n          aria-expanded={open}\n          aria-controls={bodyId}\n          disabled={disabled}\n          onClick={() => setOpen(!open)}\n          className={cn(\n            \"flex h-[52px] w-full cursor-pointer items-center gap-3 rounded-[23px] px-4 text-start font-[inherit] text-inherit disabled:cursor-default\",\n            \"outline-none\",\n          )}\n        >\n          <span className=\"min-w-0 truncate\">{title}</span>\n          {set && <span className=\"sr-only\">, {summary}</span>}\n          {set && (\n            <span aria-hidden=\"true\" className=\"invisible min-w-0 max-w-[calc((100%+32px)*0.55)] shrink-0 truncate text-[14px] font-normal\">\n              {summary}\n            </span>\n          )}\n          <ChevronDownIcon\n            size={20}\n            className={cn(\n              \"ms-auto shrink-0 text-[var(--fu-mute,#BDBDBD)] group-has-[[data-filter-card-head]:disabled]/card:opacity-40 transition-[rotate] duration-[480ms] motion-reduce:transition-none\",\n              SMOOTH,\n              \"group-data-[state=open]/card:rotate-180\",\n            )}\n          />\n        </button>\n      </Heading>\n\n      {onClear && (\n        <div\n          inert={!set}\n          data-filter-card-slot=\"\"\n          className=\"group/slot pointer-events-none absolute inset-e-[46px] top-4 grid h-5 max-w-[55%] justify-items-end text-[14px] leading-5 text-[var(--fu-accent-soft,#8FAAFF)]\"\n        >\n          <span aria-hidden=\"true\" className={cn(\"pointer-events-none max-w-full truncate font-normal [grid-area:1/1]\", swap, set ? SUMMARY_HIDES_WHEN : SUMMARY_HIDDEN, set && !disabled && SUMMARY_HIDES_ON_CARD_HOVER)}>\n            {summary || lastSummary}\n          </span>\n          <button\n            type=\"button\"\n            tabIndex={set ? 0 : -1}\n            aria-label={clearLabel ?? `Clear ${title.toLowerCase()}`}\n            onClick={() => {\n              onClear();\n              head.current?.focus();\n            }}\n            className={cn(\n              \"relative -my-0.5 cursor-pointer rounded-[6px] py-0.5 font-medium [grid-area:1/1] before:absolute before:inset-x-0 before:-inset-y-2 before:content-['']\",\n              FOCUS_RING,\n              \"focus-visible:outline-offset-2\",\n              swap,\n              CLEAR_HIDDEN,\n              set && CLEAR_SHOWS_WHEN,\n              set && !disabled && CLEAR_SHOWS_ON_CARD_HOVER,\n            )}\n          >\n            Clear\n          </button>\n        </div>\n      )}\n      {!onClear && set && (\n        <span\n          aria-hidden=\"true\"\n          className={cn(\n            \"pointer-events-none absolute inset-e-[46px] top-4 max-w-[55%] truncate text-[14px] leading-5 text-[var(--fu-accent-soft,#8FAAFF)]\",\n            swap,\n            \"group-data-[state=open]/card:opacity-0\",\n          )}\n        >\n          {summary}\n        </span>\n      )}\n\n      <div\n        id={bodyId}\n        role=\"region\"\n        aria-labelledby={headId}\n        inert={!open}\n        className={cn(\n          \"grid grid-rows-[0fr] transition-[grid-template-rows] duration-[480ms] motion-reduce:transition-none\",\n          SMOOTH,\n          \"group-data-[state=open]/card:grid-rows-[1fr]\",\n        )}\n      >\n        <div className=\"min-h-0 overflow-hidden\">\n          <div\n            className={cn(\n              // pt-0.5 makes up the head's -2px margin, so content starts right under the 52px head.\n              \"px-4 pt-0.5 pb-4\",\n              \"translate-y-1.5 opacity-0 blur-[6px] transition-[opacity,filter,translate] duration-[480ms] motion-reduce:transition-none\",\n              SMOOTH,\n              \"group-data-[state=open]/card:translate-y-0 group-data-[state=open]/card:opacity-100 group-data-[state=open]/card:blur-none\",\n              \"group-data-[state=open]/card:delay-[120ms] group-data-[state=open]/card:duration-[460ms] group-data-[state=open]/card:ease-[cubic-bezier(0.16,1,0.3,1)]\",\n              bodyClassName,\n            )}\n          >\n            {children}\n          </div>\n        </div>\n      </div>\n    </section>\n  );\n}\n"
    },
    {
      "path": "public/filters-ui/search.svg",
      "type": "registry:file",
      "target": "~/public/filters-ui/search.svg",
      "content": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"128\" height=\"128\" viewBox=\"0 0 128 128\"><image width=\"128\" height=\"128\" href=\"data:image/webp;base64,UklGRgoOAABXRUJQVlA4WAoAAAAQAAAAfwAAfwAAQUxQSAwEAAARoMeA8zm5mk/d3l272ca2bdvGX322WRvPtu23ybNt65Kt3a3tfZdt9jJTd2d+8036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