{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "dashboards-04",
  "title": "Retention cohorts",
  "description": "Weekly sign-up cohorts as a grid shaded by how many still subscribe, weeks to come as empty slots, a selection ring that travels with the arrow keys and a panel whose figure rolls to the picked week.",
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "https://ui.ndekocode.dev/r/chip.json",
    "https://ui.ndekocode.dev/r/motion-number.json",
    "https://ui.ndekocode.dev/r/tabs.json",
    "https://ui.ndekocode.dev/r/theme.json",
    "https://ui.ndekocode.dev/r/use-prefers-reduced-motion.json",
    "https://ui.ndekocode.dev/r/utils.json"
  ],
  "files": [
    {
      "path": "registry/ndeko/blocks/dashboards/dashboards-04/index.tsx",
      "content": "'use client';\n\nimport { useState } from 'react';\n\nimport { cn } from '@/registry/ndeko/lib/utils';\nimport { Tabs, TabsList, TabsTab } from '@/registry/ndeko/ui/tabs';\n\nimport { CohortPanel } from './cohort-panel';\nimport { shadeOf, type Selection } from './cohort-model';\nimport { CohortTable } from './cohort-table';\nimport {\n  COHORTS,\n  DISPLAY_MODES,\n  INITIAL_SELECTION,\n  REPORT,\n  type DisplayMode,\n} from './data';\n\nconst REPORT_SURFACE =\n  'bg-card hairline-ring ring-border rounded-xl shadow-[0_1px_2px_rgb(0_0_0/0.04)] dark:bg-foreground/[0.03]';\n\nconst LEGEND_STOPS = [0, 0.25, 0.5, 0.75, 1];\n\nfunction isDisplayMode(value: unknown): value is DisplayMode {\n  return DISPLAY_MODES.some((mode) => mode.id === value);\n}\n\nfunction cohortCountLabelOf(count: number) {\n  if (count === 1) {\n    return '1 weekly cohort';\n  }\n  return `${count} weekly cohorts`;\n}\n\nfunction ShadeLegend() {\n  return (\n    <div className='text-muted-foreground flex items-center gap-2 text-xs'>\n      <span>0%</span>\n      <span aria-hidden='true' className='flex gap-0.5'>\n        {LEGEND_STOPS.map((stop) => (\n          <span\n            key={stop}\n            style={{ backgroundColor: shadeOf(stop) }}\n            className='hairline-ring ring-foreground/5 size-3 rounded-[3px]'\n          />\n        ))}\n      </span>\n      <span>100% still subscribed</span>\n    </div>\n  );\n}\n\nexport default function Dashboards04() {\n  const [mode, setMode] = useState<DisplayMode>('percent');\n  const [selection, setSelection] = useState<Selection>(INITIAL_SELECTION);\n  const cohortCount = cohortCountLabelOf(COHORTS.length);\n\n  function pickMode(value: unknown) {\n    if (isDisplayMode(value)) {\n      setMode(value);\n    }\n  }\n\n  return (\n    <div className='bg-background text-foreground min-h-dvh w-full'>\n      <div className='hairline-b border-border flex flex-wrap items-center gap-x-3 gap-y-2 px-4 py-3 md:px-6'>\n        <div className='flex min-w-0 flex-wrap items-baseline gap-x-2 gap-y-0.5'>\n          <h1 className='truncate text-lg font-semibold'>{REPORT.title}</h1>\n          <span className='text-muted-foreground text-xs'>\n            {REPORT.workspace} · {cohortCount}\n          </span>\n        </div>\n        <div className='ms-auto'>\n          <Tabs value={mode} onValueChange={pickMode}>\n            <TabsList variant='segmented' aria-label='Show cells as'>\n              {DISPLAY_MODES.map((option) => (\n                <TabsTab key={option.id} value={option.id}>\n                  {option.label}\n                </TabsTab>\n              ))}\n            </TabsList>\n          </Tabs>\n        </div>\n      </div>\n      <div className='mx-auto grid w-full max-w-6xl gap-4 px-4 py-5 md:px-6 lg:grid-cols-[minmax(0,1fr)_17rem]'>\n        <section\n          aria-labelledby='dashboards-04-grid-title'\n          className={cn(\n            REPORT_SURFACE,\n            'flex min-w-0 flex-col gap-3 p-3 sm:p-4'\n          )}\n        >\n          <div className='flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1 px-1'>\n            <h2 id='dashboards-04-grid-title' className='text-sm font-medium'>\n              Still subscribed, by sign-up week\n            </h2>\n            <span className='text-muted-foreground text-xs'>\n              Illustrative figures\n            </span>\n          </div>\n          <CohortTable\n            mode={mode}\n            selection={selection}\n            onSelect={setSelection}\n          />\n          <div className='px-1'>\n            <ShadeLegend />\n          </div>\n        </section>\n        <section\n          aria-label='Selected cohort'\n          className={cn(REPORT_SURFACE, 'p-4')}\n        >\n          <CohortPanel selection={selection} />\n        </section>\n      </div>\n    </div>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/blocks/dashboards-04/index.tsx"
    },
    {
      "path": "registry/ndeko/blocks/dashboards/dashboards-04/cohort-table.tsx",
      "content": "'use client';\n\nimport { LayoutGroup, motion, type Transition } from 'motion/react';\nimport { useId, useRef } from 'react';\n\nimport { usePrefersReducedMotion } from '@/registry/ndeko/hooks/use-prefers-reduced-motion';\nimport { cn } from '@/registry/ndeko/lib/utils';\n\nimport {\n  COHORT_ROWS,\n  WEEK_AVERAGES,\n  WEEKS,\n  cellKeyOf,\n  cellTextOf,\n  formatCount,\n  movedSelection,\n  percentOf,\n  sameSelection,\n  shadeOf,\n  weekLabelOf,\n  type Cohort,\n  type CohortCell,\n  type Selection,\n} from './cohort-model';\nimport type { DisplayMode } from './data';\n\nconst RING_TRAVEL: Transition = { type: 'spring', bounce: 0, duration: 0.3 };\n\nconst INSTANT: Transition = { duration: 0 };\n\nconst STICKY_HEADER =\n  'bg-card dark:bg-[color-mix(in_oklab,var(--foreground)_3%,var(--background))] sticky start-0 z-10';\n\nfunction ringTransitionOf(shouldReduceMotion: boolean | null) {\n  if (shouldReduceMotion) {\n    return INSTANT;\n  }\n  return RING_TRAVEL;\n}\n\nfunction tabIndexOf(isSelected: boolean) {\n  if (isSelected) {\n    return 0;\n  }\n  return -1;\n}\n\nfunction cellLabelOf(cohort: Cohort, cell: CohortCell) {\n  const week = weekLabelOf(cell.week);\n  const percent = percentOf(cell.rate);\n  const customers = formatCount(cell.retained);\n  return `${cohort.label} cohort, ${week}: ${percent}% still subscribed, ${customers} customers`;\n}\n\ntype CohortTableProps = {\n  mode: DisplayMode;\n  selection: Selection;\n  onSelect: (selection: Selection) => void;\n};\n\nexport function CohortTable({ mode, selection, onSelect }: CohortTableProps) {\n  const layoutGroupId = useId();\n  const tableRef = useRef<HTMLTableElement>(null);\n  const shouldReduceMotion = usePrefersReducedMotion();\n  const ringTransition = ringTransitionOf(shouldReduceMotion);\n\n  function focusCell(next: Selection) {\n    const key = cellKeyOf(next);\n    const table = tableRef.current;\n    const button = table?.querySelector<HTMLButtonElement>(\n      `[data-cell=\"${key}\"]`\n    );\n    button?.focus();\n  }\n\n  function handleKeyDown(event: React.KeyboardEvent<HTMLButtonElement>) {\n    const next = movedSelection(selection, event.key);\n    if (!next) {\n      return;\n    }\n    event.preventDefault();\n    if (sameSelection(next, selection)) {\n      return;\n    }\n    onSelect(next);\n    window.requestAnimationFrame(() => focusCell(next));\n  }\n\n  return (\n    <motion.div layoutScroll className='-mx-1 overflow-x-auto px-1 pb-1'>\n      <LayoutGroup id={layoutGroupId}>\n        <table\n          ref={tableRef}\n          className='w-full min-w-[640px] border-separate border-spacing-1 text-xs tabular-nums'\n        >\n          <caption className='sr-only'>\n            Share of each weekly sign-up cohort still subscribed, week by week.\n            Use the arrow keys to move between weeks and cohorts.\n          </caption>\n          <thead>\n            <tr className='text-muted-foreground'>\n              <th\n                scope='col'\n                className={cn(STICKY_HEADER, 'h-8 pe-2 text-start font-normal')}\n              >\n                Cohort\n              </th>\n              <th scope='col' className='h-8 pe-2 text-end font-normal'>\n                Customers\n              </th>\n              {WEEKS.map((week) => (\n                <th key={week} scope='col' className='h-8 font-normal'>\n                  {`W${week}`}\n                  <span className='sr-only'>, {weekLabelOf(week)}</span>\n                </th>\n              ))}\n            </tr>\n          </thead>\n          <tbody>\n            {COHORT_ROWS.map((cohort, cohortIndex) => (\n              <tr key={cohort.id}>\n                <th\n                  scope='row'\n                  className={cn(STICKY_HEADER, 'pe-2 text-start font-medium')}\n                >\n                  {cohort.label}\n                </th>\n                <td className='text-muted-foreground pe-2 text-end'>\n                  {formatCount(cohort.size)}\n                </td>\n                {WEEKS.map((week) => {\n                  const cell = cohort.cells[week];\n                  if (!cell) {\n                    return (\n                      <td key={week}>\n                        <span\n                          aria-hidden='true'\n                          className='hairline-border border-foreground/15 block h-9 rounded-md border-dashed'\n                        />\n                        <span className='sr-only'>Not yet</span>\n                      </td>\n                    );\n                  }\n                  const here: Selection = { cohortIndex, week };\n                  const isSelected = sameSelection(here, selection);\n                  const shade = shadeOf(cell.rate);\n\n                  return (\n                    <td key={week}>\n                      <button\n                        type='button'\n                        data-cell={cellKeyOf(here)}\n                        tabIndex={tabIndexOf(isSelected)}\n                        aria-pressed={isSelected}\n                        aria-label={cellLabelOf(cohort, cell)}\n                        onClick={() => onSelect(here)}\n                        onKeyDown={handleKeyDown}\n                        style={{ backgroundColor: shade }}\n                        className='focus-visible:ring-ring/30 relative flex h-9 w-full min-w-12 cursor-pointer items-center justify-center rounded-md font-medium outline-none focus-visible:ring-[3px]'\n                      >\n                        {isSelected && (\n                          <motion.span\n                            layoutId='cohort-selection'\n                            transition={ringTransition}\n                            aria-hidden='true'\n                            className='ring-foreground ring-offset-card pointer-events-none absolute inset-0 rounded-md ring-2 ring-offset-1'\n                          />\n                        )}\n                        <span className='relative'>\n                          {cellTextOf(mode, cell.rate, cell.retained)}\n                        </span>\n                      </button>\n                    </td>\n                  );\n                })}\n              </tr>\n            ))}\n          </tbody>\n          <tfoot>\n            <tr className='text-muted-foreground'>\n              <th\n                scope='row'\n                className={cn(STICKY_HEADER, 'h-9 pe-2 text-start font-normal')}\n              >\n                Average\n              </th>\n              <td />\n              {WEEK_AVERAGES.map((average) => (\n                <td key={average.week} className='h-9 text-center'>\n                  {cellTextOf(mode, average.rate, average.customers)}\n                </td>\n              ))}\n            </tr>\n          </tfoot>\n        </table>\n      </LayoutGroup>\n    </motion.div>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/blocks/dashboards-04/cohort-table.tsx"
    },
    {
      "path": "registry/ndeko/blocks/dashboards/dashboards-04/cohort-panel.tsx",
      "content": "'use client';\n\nimport { AnimatePresence, motion, type Transition } from 'motion/react';\n\nimport { MotionNumber } from '@/components/core/motion-number';\nimport { cn } from '@/registry/ndeko/lib/utils';\nimport { Chip } from '@/registry/ndeko/ui/chip';\n\nimport {\n  WEEK_AVERAGES,\n  WEEKS,\n  cellOf,\n  formatCount,\n  percentOf,\n  weekLabelOf,\n  type Cohort,\n  type Selection,\n} from './cohort-model';\n\nconst FADE_IN: Transition = { duration: 0.2, ease: [0.23, 1, 0.32, 1] };\n\nconst FADE_OUT: Transition = { duration: 0.12, ease: [0.23, 1, 0.32, 1] };\n\ntype Comparison = { label: string; color: string };\n\nfunction comparisonOf(deltaPoints: number, week: number): Comparison {\n  if (week === 0) {\n    return {\n      label: 'Every cohort starts at 100%',\n      color: 'var(--muted-foreground)',\n    };\n  }\n  const averageName = `the week ${week} average`;\n  if (deltaPoints > 0) {\n    return {\n      label: `${deltaPoints} pts above ${averageName}`,\n      color: 'var(--success)',\n    };\n  }\n  if (deltaPoints < 0) {\n    const gap = Math.abs(deltaPoints);\n    return {\n      label: `${gap} pts below ${averageName}`,\n      color: 'var(--warning)',\n    };\n  }\n  return {\n    label: `Level with ${averageName}`,\n    color: 'var(--muted-foreground)',\n  };\n}\n\nfunction barToneOf(isSelected: boolean) {\n  if (isSelected) {\n    return 'bg-primary';\n  }\n  return 'bg-foreground/12';\n}\n\nfunction heightOf(rate: number) {\n  const percent = rate * 100;\n  return `${percent}%`;\n}\n\ntype CohortCurveProps = {\n  cohort: Cohort;\n  selectedWeek: number;\n};\n\n/** The selected cohort week by week, each bar against the average of every cohort that reached that week. */\nfunction CohortCurve({ cohort, selectedWeek }: CohortCurveProps) {\n  return (\n    <div className='flex flex-col gap-1.5'>\n      <div aria-hidden='true' className='flex h-24 items-end gap-1.5'>\n        {WEEKS.map((week) => {\n          const cell = cohort.cells[week];\n          const average = WEEK_AVERAGES[week];\n          if (!cell) {\n            return (\n              <span\n                key={week}\n                className='hairline-border border-foreground/15 h-2 flex-1 rounded-[3px] border-dashed'\n              />\n            );\n          }\n          const isSelected = week === selectedWeek;\n\n          return (\n            <span key={week} className='relative h-full flex-1'>\n              <span\n                style={{ height: heightOf(cell.rate) }}\n                className={cn(\n                  'absolute inset-x-0 bottom-0 rounded-[3px] transition-colors duration-150',\n                  barToneOf(isSelected)\n                )}\n              />\n              <span\n                style={{ bottom: heightOf(average.rate) }}\n                className='bg-foreground/60 absolute -inset-x-0.5 h-0.5 rounded-full'\n              />\n            </span>\n          );\n        })}\n      </div>\n      <div\n        aria-hidden='true'\n        className='text-muted-foreground flex gap-1.5 text-[11px] tabular-nums'\n      >\n        {WEEKS.map((week) => (\n          <span key={week} className='flex-1 text-center'>\n            {`W${week}`}\n          </span>\n        ))}\n      </div>\n    </div>\n  );\n}\n\nexport function CohortPanel({ selection }: { selection: Selection }) {\n  const { cohort, cell } = cellOf(selection);\n  const average = WEEK_AVERAGES[selection.week];\n  const percent = percentOf(cell.rate);\n  const averagePercent = percentOf(average.rate);\n  const deltaPoints = percent - averagePercent;\n  const comparison = comparisonOf(deltaPoints, selection.week);\n  const weekLabel = weekLabelOf(selection.week);\n  const retained = formatCount(cell.retained);\n  const size = formatCount(cohort.size);\n  const curveKey = cohort.id;\n\n  return (\n    <div className='flex flex-col gap-5'>\n      <div className='flex flex-col gap-1'>\n        <p className='text-muted-foreground text-xs'>\n          {cohort.label} cohort · {weekLabel}\n        </p>\n        <MotionNumber\n          value={percent}\n          suffix='%'\n          className='text-3xl leading-9 font-semibold'\n        />\n        <p className='text-muted-foreground text-[13px] text-pretty'>\n          {retained} of {size} customers still subscribed\n        </p>\n      </div>\n      <Chip color={comparison.color} className='h-6 px-2 text-xs'>\n        {comparison.label}\n      </Chip>\n      <div className='flex flex-col gap-2'>\n        <p className='text-xs font-medium'>{cohort.label} week by week</p>\n        <div className='relative'>\n          <AnimatePresence mode='popLayout' initial={false}>\n            <motion.div\n              key={curveKey}\n              initial={{ opacity: 0 }}\n              animate={{ opacity: 1, transition: FADE_IN }}\n              exit={{ opacity: 0, transition: FADE_OUT }}\n            >\n              <CohortCurve cohort={cohort} selectedWeek={selection.week} />\n            </motion.div>\n          </AnimatePresence>\n        </div>\n        <p className='text-muted-foreground text-xs text-pretty'>\n          Bars are this cohort, the line on each is the average of every cohort\n        </p>\n      </div>\n    </div>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/blocks/dashboards-04/cohort-panel.tsx"
    },
    {
      "path": "registry/ndeko/blocks/dashboards/dashboards-04/cohort-model.ts",
      "content": "import {\n  BASE_CURVE,\n  COHORTS,\n  WEEK_COUNT,\n  type CohortSeed,\n  type DisplayMode,\n} from './data';\n\nexport type CohortCell = {\n  week: number;\n  retained: number;\n  rate: number;\n};\n\nexport type Cohort = CohortSeed & { cells: CohortCell[] };\n\nexport type WeekAverage = {\n  week: number;\n  rate: number;\n  customers: number;\n};\n\nexport type Selection = {\n  cohortIndex: number;\n  week: number;\n};\n\nconst COUNT_FORMAT = new Intl.NumberFormat('en-US');\n\nconst SHADE_FLOOR = 6;\n\nconst SHADE_RANGE = 64;\n\nexport const WEEKS = Array.from({ length: WEEK_COUNT }, (_, week) => week);\n\n/** Later cohorts keep a little more, and each week wobbles a point or two, so the grid reads like real data. */\nfunction driftOf(cohortIndex: number, week: number) {\n  const lift = cohortIndex * 0.012;\n  const seed = (cohortIndex * 7 + week * 13) % 9;\n  const wobble = (seed - 4) / 250;\n  return lift + wobble;\n}\n\nfunction clampRate(rate: number) {\n  const atMost = Math.min(rate, 1);\n  return Math.max(atMost, 0);\n}\n\nfunction rateOf(cohortIndex: number, week: number) {\n  if (week === 0) {\n    return 1;\n  }\n  const drift = driftOf(cohortIndex, week);\n  const drifted = BASE_CURVE[week] + drift;\n  return clampRate(drifted);\n}\n\nexport function weeksAvailableOf(cohortIndex: number) {\n  return WEEK_COUNT - cohortIndex;\n}\n\nfunction cellsOf(seed: CohortSeed, cohortIndex: number) {\n  const available = weeksAvailableOf(cohortIndex);\n  const weeks = WEEKS.slice(0, available);\n  return weeks.map((week) => {\n    const rate = rateOf(cohortIndex, week);\n    const retained = Math.round(seed.size * rate);\n    const cell: CohortCell = { week, retained, rate: retained / seed.size };\n    return cell;\n  });\n}\n\nexport const COHORT_ROWS: Cohort[] = COHORTS.map((seed, cohortIndex) => ({\n  ...seed,\n  cells: cellsOf(seed, cohortIndex),\n}));\n\nfunction averageOf(week: number): WeekAverage {\n  let retained = 0;\n  let size = 0;\n  let cohortCount = 0;\n  for (const cohort of COHORT_ROWS) {\n    const cell = cohort.cells[week];\n    if (cell) {\n      retained += cell.retained;\n      size += cohort.size;\n      cohortCount += 1;\n    }\n  }\n  return {\n    week,\n    rate: retained / size,\n    customers: Math.round(retained / cohortCount),\n  };\n}\n\nexport const WEEK_AVERAGES: WeekAverage[] = WEEKS.map(averageOf);\n\nexport function formatCount(value: number) {\n  return COUNT_FORMAT.format(value);\n}\n\nexport function percentOf(rate: number) {\n  return Math.round(rate * 100);\n}\n\nexport function cellTextOf(mode: DisplayMode, rate: number, customers: number) {\n  if (mode === 'customers') {\n    return formatCount(customers);\n  }\n  return `${percentOf(rate)}%`;\n}\n\n/** One hue, deeper as more of the cohort stays. Capped so the label keeps its contrast in both themes. */\nexport function shadeOf(rate: number) {\n  const mix = SHADE_FLOOR + rate * SHADE_RANGE;\n  const rounded = Math.round(mix);\n  return `color-mix(in oklab, var(--primary) ${rounded}%, transparent)`;\n}\n\nexport function weekLabelOf(week: number) {\n  if (week === 0) {\n    return 'Sign-up week';\n  }\n  return `Week ${week}`;\n}\n\nexport function cellOf(selection: Selection) {\n  const cohort = COHORT_ROWS[selection.cohortIndex];\n  const cell = cohort.cells[selection.week];\n  return { cohort, cell };\n}\n\nfunction clampWeek(cohortIndex: number, week: number) {\n  const lastWeek = weeksAvailableOf(cohortIndex) - 1;\n  const atMost = Math.min(week, lastWeek);\n  return Math.max(atMost, 0);\n}\n\nfunction clampCohort(cohortIndex: number) {\n  const lastCohort = COHORT_ROWS.length - 1;\n  const atMost = Math.min(cohortIndex, lastCohort);\n  return Math.max(atMost, 0);\n}\n\nfunction rawTargetOf(selection: Selection, key: string): Selection | null {\n  const { cohortIndex, week } = selection;\n  if (key === 'ArrowRight') {\n    return { cohortIndex, week: week + 1 };\n  }\n  if (key === 'ArrowLeft') {\n    return { cohortIndex, week: week - 1 };\n  }\n  if (key === 'Home') {\n    return { cohortIndex, week: 0 };\n  }\n  if (key === 'End') {\n    return { cohortIndex, week: WEEK_COUNT };\n  }\n  if (key === 'ArrowDown') {\n    return { cohortIndex: cohortIndex + 1, week };\n  }\n  if (key === 'ArrowUp') {\n    return { cohortIndex: cohortIndex - 1, week };\n  }\n  return null;\n}\n\n/** Moves the selection the way the key points, staying on weeks that already happened. */\nexport function movedSelection(selection: Selection, key: string) {\n  const target = rawTargetOf(selection, key);\n  if (!target) {\n    return null;\n  }\n  const cohortIndex = clampCohort(target.cohortIndex);\n  const week = clampWeek(cohortIndex, target.week);\n  const moved: Selection = { cohortIndex, week };\n  return moved;\n}\n\nexport function sameSelection(first: Selection, second: Selection) {\n  const sameCohort = first.cohortIndex === second.cohortIndex;\n  const sameWeek = first.week === second.week;\n  return sameCohort && sameWeek;\n}\n\nexport function cellKeyOf(selection: Selection) {\n  return `${selection.cohortIndex}-${selection.week}`;\n}\n",
      "type": "registry:component",
      "target": "components/blocks/dashboards-04/cohort-model.ts"
    },
    {
      "path": "registry/ndeko/blocks/dashboards/dashboards-04/data.ts",
      "content": "export type DisplayMode = 'percent' | 'customers';\n\nexport type CohortSeed = {\n  id: string;\n  /** The Monday the cohort signed up. */\n  label: string;\n  size: number;\n};\n\nexport const REPORT = {\n  title: 'Retention',\n  workspace: 'Tidepool Coffee subscriptions',\n};\n\nexport const WEEK_COUNT = 8;\n\nexport const DISPLAY_MODES: { id: DisplayMode; label: string }[] = [\n  { id: 'percent', label: 'Percent' },\n  { id: 'customers', label: 'Customers' },\n];\n\n/** Share of a cohort still subscribed after each week, before each cohort's own drift. */\nexport const BASE_CURVE = [1, 0.64, 0.53, 0.47, 0.43, 0.4, 0.38, 0.37];\n\nexport const COHORTS: CohortSeed[] = [\n  { id: 'sep-01', label: 'Sep 1', size: 1180 },\n  { id: 'sep-08', label: 'Sep 8', size: 1242 },\n  { id: 'sep-15', label: 'Sep 15', size: 1096 },\n  { id: 'sep-22', label: 'Sep 22', size: 1320 },\n  { id: 'sep-29', label: 'Sep 29', size: 1275 },\n  { id: 'oct-06', label: 'Oct 6', size: 1408 },\n  { id: 'oct-13', label: 'Oct 13', size: 1361 },\n  { id: 'oct-20', label: 'Oct 20', size: 1452 },\n];\n\nexport const INITIAL_SELECTION = { cohortIndex: 2, week: 3 };\n",
      "type": "registry:component",
      "target": "components/blocks/dashboards-04/data.ts"
    }
  ],
  "categories": [
    "blocks",
    "dashboards"
  ],
  "type": "registry:block"
}