{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "post-card-fixtures",
  "title": "Post Card — fixtures",
  "author": "ilinxa",
  "description": "Post Card plus the dummy-data fixtures used by the docs-site demo.",
  "registryDependencies": [
    "@ilinxa/post-card"
  ],
  "files": [
    {
      "path": "src/registry/components/data/post-card/dummy-data.ts",
      "content": "import type { Post, PostCardProps, PostLikeUser, PostReactions } from \"./types\";\n\n// Every type this fixtures file needs is derived from post-card's own `./types`. The fixtures\n// item ships only this file, and the shadcn CLI rewrites imports of other components' types inside\n// it to those components' main files, which do not export them (consumer tsc failed, 0.6.0).\ntype Comment = NonNullable<PostCardProps[\"commentThread\"]>[number];\ntype CommentThreadCurrentUser = NonNullable<PostCardProps[\"currentUser\"]>;\ntype CommentPage = Awaited<\n  ReturnType<NonNullable<NonNullable<PostCardProps[\"commentThreadProps\"]>[\"onLoadMoreCursor\"]>>\n>;\ntype EngagementReactionKind = PostReactions[\"kinds\"][number];\ntype EngagementSubscribe = NonNullable<PostCardProps[\"engagementSubscribe\"]>;\ntype CommentSubscribe = NonNullable<PostCardProps[\"commentSubscribe\"]>;\n\nexport const DUMMY_LIKERS: PostLikeUser[] = [\n  { id: \"l-ayse\", name: \"Ayşe Demir\", username: \"ayse_demir\", avatar: \"https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=200&h=200&fit=crop&crop=faces&q=80\" },\n  { id: \"l-ali\", name: \"Ali Öztürk\", username: \"ali_ozturk\", avatar: \"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&h=200&fit=crop&crop=faces&q=80\" },\n  { id: \"l-fatma\", name: \"Fatma Kara\", username: \"fatma_kara\", avatar: \"https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=200&h=200&fit=crop&crop=faces&q=80\" },\n  { id: \"l-mehmet\", name: \"Mehmet Şahin\", username: \"mehmet_s\", avatar: \"https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=200&h=200&fit=crop&crop=faces&q=80\" },\n  { id: \"l-zeynep\", name: \"Zeynep Yıldız\", username: \"zeynep_y\", avatar: \"https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=200&h=200&fit=crop&crop=faces&q=80\" },\n];\n\nconst MORE_LIKERS_AVATARS = [\n  \"https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=200&h=200&fit=crop&crop=faces&q=80\",\n  \"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&h=200&fit=crop&crop=faces&q=80\",\n  \"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=200&h=200&fit=crop&crop=faces&q=80\",\n  \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=200&h=200&fit=crop&crop=faces&q=80\",\n  \"https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=200&h=200&fit=crop&crop=faces&q=80\",\n  \"https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=200&h=200&fit=crop&crop=faces&q=80\",\n  \"https://images.unsplash.com/photo-1502685104226-ee32379fefbe?w=200&h=200&fit=crop&crop=faces&q=80\",\n  \"https://images.unsplash.com/photo-1531123897727-8f129e1688ce?w=200&h=200&fit=crop&crop=faces&q=80\",\n];\n\nexport function generateMoreLikers(page: number): PostLikeUser[] {\n  return Array.from({ length: 6 }, (_, i) => {\n    const idx = (page - 1) * 6 + i;\n    return {\n      id: `l-extra-${idx}`,\n      name: `Liker ${idx + 1}`,\n      username: `liker_${idx + 1}`,\n      avatar: MORE_LIKERS_AVATARS[idx % MORE_LIKERS_AVATARS.length],\n    };\n  });\n}\n\nexport const DUMMY_VIEWER: CommentThreadCurrentUser = {\n  id: \"viewer-1\",\n  name: \"Sina Aytaç\",\n  avatar: \"https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?w=200&h=200&fit=crop&crop=faces&q=80\",\n};\n\n/**\n * The fixtures' \"now\". A fixed instant, not the clock: a module-scope `new Date()` differs between\n * the server render and the client, and every fixture date would mismatch on hydration. Pass it as\n * the card's `now` so the relative times (and each poll's closing time) stay consistent.\n */\nexport const DUMMY_NOW = new Date(\"2026-10-26T12:00:00Z\");\nconst NOW = DUMMY_NOW;\nconst minutesAgo = (n: number) => new Date(NOW.getTime() - n * 60 * 1000);\nconst hoursAgo = (n: number) => new Date(NOW.getTime() - n * 60 * 60 * 1000);\nconst daysAgo = (n: number) =>\n  new Date(NOW.getTime() - n * 24 * 60 * 60 * 1000);\n\nconst PEXELS_IMG_1 =\n  \"https://images.pexels.com/photos/1264210/pexels-photo-1264210.jpeg?auto=compress&cs=tinysrgb&w=800\";\nconst PEXELS_IMG_2 =\n  \"https://images.pexels.com/photos/1287145/pexels-photo-1287145.jpeg?auto=compress&cs=tinysrgb&w=800\";\nconst PEXELS_IMG_3 =\n  \"https://images.pexels.com/photos/2832382/pexels-photo-2832382.jpeg?auto=compress&cs=tinysrgb&w=800\";\n// Same demo videos kasder uses — the w3schools canonical Big Buck Bunny clip.\nconst TEST_VIDEO_1 = \"https://www.w3schools.com/html/mov_bbb.mp4\";\nconst TEST_VIDEO_2 = \"https://www.w3schools.com/html/movie.mp4\";\nconst TEST_VIDEO_POSTER =\n  \"https://images.unsplash.com/photo-1552664730-d307ca884978?w=600\";\n\nexport const DUMMY_TEXT_ONLY_POST: Post = {\n  id: \"post-text-only\",\n  author: {\n    id: \"u-mira\",\n    name: \"Mira Solano\",\n    username: \"mira\",\n    avatar: \"https://images.unsplash.com/photo-1531123897727-8f129e1688ce?w=200&h=200&fit=crop&crop=faces&q=80\",\n    isVerified: true,\n  },\n  content:\n    \"Quick thought before standup: the team's been shipping at a remarkable cadence — five components in three days — but the value of any single component shrinks when the surface area grows past a hundred. We're at 60. Time to think about deprecation flows.\",\n  createdAt: minutesAgo(8),\n  likes: 47,\n  isLiked: false,\n  comments: 12,\n  shares: 3,\n};\n\nexport const DUMMY_SINGLE_IMAGE_POST: Post = {\n  id: \"post-single-image\",\n  author: {\n    id: \"u-theo\",\n    name: \"Theo Zarrin\",\n    username: \"theoz\",\n    avatar: \"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=200&h=200&fit=crop&crop=faces&q=80\",\n  },\n  content: \"Sunset over the bay yesterday. Worth the climb.\",\n  media: [\n    {\n      id: \"media-1\",\n      type: \"image\",\n      url: PEXELS_IMG_1,\n      alt: \"Sunset over a bay with mountains\",\n    },\n  ],\n  createdAt: hoursAgo(4),\n  likes: 142,\n  isLiked: true,\n  comments: 23,\n  shares: 8,\n  isBookmarked: false,\n};\n\nexport const DUMMY_MULTI_IMAGE_POST: Post = {\n  id: \"post-multi-image\",\n  author: {\n    id: \"u-ines\",\n    name: \"Ines Park\",\n    username: \"ines\",\n    avatar: \"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=200&h=200&fit=crop&crop=faces&q=80\",\n    isVerified: true,\n  },\n  content:\n    \"Studio process this week — three iterations on the same composition. Trying to figure out which one carries the message clearest.\",\n  media: [\n    { id: \"media-2-a\", type: \"image\", url: PEXELS_IMG_1, alt: \"Iteration A\" },\n    { id: \"media-2-b\", type: \"image\", url: PEXELS_IMG_2, alt: \"Iteration B\" },\n    { id: \"media-2-c\", type: \"image\", url: PEXELS_IMG_3, alt: \"Iteration C\" },\n  ],\n  createdAt: hoursAgo(12),\n  likes: 384,\n  isLiked: false,\n  comments: 56,\n  shares: 21,\n};\n\nexport const DUMMY_VIDEO_POST: Post = {\n  id: \"post-video\",\n  author: {\n    id: \"u-renee\",\n    name: \"Renee Bishop\",\n    username: \"renee\",\n    avatar: \"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=200&h=200&fit=crop&crop=faces&q=80\",\n  },\n  content: \"Drone footage from the morning flight. Sound on.\",\n  media: [\n    {\n      id: \"media-3\",\n      type: \"video\",\n      url: TEST_VIDEO_1,\n      poster: TEST_VIDEO_POSTER,\n      alt: \"Aerial drone footage\",\n    },\n  ],\n  createdAt: daysAgo(1),\n  likes: 1234,\n  isLiked: false,\n  comments: 87,\n  shares: 45,\n  viewCount: 12_345,\n};\n\nexport const DUMMY_MIXED_MEDIA_POST: Post = {\n  id: \"post-mixed\",\n  author: {\n    id: \"u-lev\",\n    name: \"Lev Ortega\",\n    username: \"lev\",\n    avatar: \"https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=200&h=200&fit=crop&crop=faces&q=80\",\n  },\n  content: \"Field notes from the trip — a mix of stills and one short clip.\",\n  media: [\n    { id: \"media-4-a\", type: \"image\", url: PEXELS_IMG_2, alt: \"Field shot 1\" },\n    {\n      id: \"media-4-b\",\n      type: \"video\",\n      url: TEST_VIDEO_2,\n      poster: TEST_VIDEO_POSTER,\n      alt: \"Short clip\",\n    },\n    { id: \"media-4-c\", type: \"image\", url: PEXELS_IMG_3, alt: \"Field shot 2\" },\n  ],\n  createdAt: daysAgo(2),\n  likes: 56,\n  comments: 11,\n  shares: 4,\n};\n\nexport const DUMMY_FEATURED_POST: Post = {\n  id: \"post-featured\",\n  author: {\n    id: \"u-hana\",\n    name: \"Hana Sato\",\n    username: \"hana\",\n    avatar: \"https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=200&h=200&fit=crop&crop=faces&q=80\",\n    isVerified: true,\n  },\n  content:\n    \"Big announcement — the kasder homepage redesign goes live next week. Three months of cross-team work, the smallest team I've shipped with, the biggest impact metric we've targeted. Couldn't have done it without the team. Watch this space.\",\n  media: [\n    { id: \"media-5-a\", type: \"image\", url: PEXELS_IMG_3, alt: \"Hero shot\" },\n  ],\n  createdAt: hoursAgo(2),\n  likes: 8742,\n  isLiked: true,\n  comments: 312,\n  shares: 187,\n  viewCount: 142_000,\n  isBookmarked: true,\n};\n\nexport const DUMMY_LONG_TEXT_POST: Post = {\n  id: \"post-long-text\",\n  author: {\n    id: \"u-sina\",\n    name: \"Sina Aytaç\",\n    username: \"sina\",\n    avatar: \"https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?w=200&h=200&fit=crop&crop=faces&q=80\",\n  },\n  content:\n    \"On the design-vs-implementation gap: I've been working through this for years and the closest answer I have is that design IS implementation, just at a different scale. The choices a designer makes about whitespace, hierarchy, motion all become engineering work downstream — and the engineering choices about state machines, error boundaries, retries propagate back into the product's emotional shape. The further out the team is from that loop, the more friction shows up at the seams. So if you're hiring designers and want to know if they'll work — ask them which engineering constraint they spent the most time fighting against last quarter, and what they did with the answer.\",\n  createdAt: hoursAgo(7),\n  likes: 234,\n  isLiked: false,\n  comments: 19,\n  shares: 11,\n};\n\n// ─── v0.2.0 schema-expansion fixtures ─────────────────────────────────────\n//\n// These don't replace any v0.1 dummies — they're new fixtures showcasing the\n// 12 new optional Post fields (visibility, isPinned, isSensitive, poll,\n// repostOf, linkPreview, replyTo, mentions, tags, location, editedAt, language).\n// The v0.1 dummies above remain untouched to preserve zero visual regression\n// for v0.1 demo tabs.\n\n/** Pinned + public visibility + edited — owner-side header polish. */\nexport const DUMMY_PINNED_POST: Post = {\n  id: \"post-pinned\",\n  author: {\n    id: \"u-yusuf\",\n    name: \"Yusuf Kaya\",\n    username: \"yusuf\",\n    avatar: \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=200&h=200&fit=crop&crop=faces&q=80\",\n    isVerified: true,\n  },\n  content:\n    \"Pinned: the v0.2 ship locks the schema for the post-editor sibling — if you've been waiting on this to start your form work, the green light is here. Editor description doc lands next week.\",\n  createdAt: daysAgo(3),\n  editedAt: hoursAgo(2),\n  isPinned: true,\n  visibility: \"public\",\n  likes: 521,\n  isLiked: false,\n  comments: 38,\n  shares: 14,\n};\n\n/** Sensitive media gate — viewer sees the overlay until they tap \"Show\". */\nexport const DUMMY_SENSITIVE_POST: Post = {\n  id: \"post-sensitive\",\n  author: {\n    id: \"u-noor\",\n    name: \"Noor Halabi\",\n    username: \"noor\",\n    avatar: \"https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=200&h=200&fit=crop&crop=faces&q=80\",\n  },\n  content:\n    \"Studio test print from this morning's run. Apologies for the warning gate — the print includes content the platform flags by default; here's the explanation.\",\n  media: [\n    { id: \"media-sensitive-1\", type: \"image\", url: PEXELS_IMG_2, alt: \"Test print\" },\n  ],\n  createdAt: hoursAgo(6),\n  isSensitive: true,\n  sensitiveReason: \"Contains depictions that may be flagged by automated review.\",\n  visibility: \"followers\",\n  likes: 89,\n  isLiked: false,\n  comments: 17,\n  shares: 2,\n};\n\n/** Active poll — viewer can vote; bar fills optimistically. */\nexport const DUMMY_POLL_POST: Post = {\n  id: \"post-poll\",\n  author: {\n    id: \"u-priya\",\n    name: \"Priya Menon\",\n    username: \"priya\",\n    avatar: \"https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=200&h=200&fit=crop&crop=faces&q=80\",\n  },\n  content: \"Quick poll for the team — which onboarding flow feels right for the v2 ship?\",\n  createdAt: hoursAgo(3),\n  visibility: \"followers\",\n  likes: 24,\n  comments: 7,\n  shares: 1,\n  poll: {\n    options: [\n      { id: \"opt-a\", label: \"Single-step (just email)\", voteCount: 18 },\n      { id: \"opt-b\", label: \"Two-step (email + workspace)\", voteCount: 47 },\n      { id: \"opt-c\", label: \"Three-step with role pick\", voteCount: 12 },\n    ],\n    closesAt: hoursAgo(-48), // 2 days from now\n    totalVotes: 77,\n  },\n};\n\n/** Poll viewer has already voted — results view with viewer's choice highlighted. */\nexport const DUMMY_POLL_VOTED_POST: Post = {\n  id: \"post-poll-voted\",\n  author: DUMMY_POLL_POST.author,\n  content: \"Server-resolved vote state — viewer chose option B; results view renders.\",\n  createdAt: hoursAgo(3),\n  likes: 24,\n  comments: 7,\n  shares: 1,\n  poll: {\n    options: [\n      { id: \"opt-a\", label: \"Single-step (just email)\", voteCount: 18 },\n      { id: \"opt-b\", label: \"Two-step (email + workspace)\", voteCount: 48 },\n      { id: \"opt-c\", label: \"Three-step with role pick\", voteCount: 12 },\n    ],\n    closesAt: hoursAgo(-48),\n    totalVotes: 78,\n    hasVoted: true,\n    viewerVoteOptionId: \"opt-b\",\n  },\n};\n\n/** Closed poll — vote buttons hidden; results visible to everyone. */\nexport const DUMMY_POLL_CLOSED_POST: Post = {\n  id: \"post-poll-closed\",\n  author: DUMMY_POLL_POST.author,\n  content: \"Last week's poll — closed. The team picked option B by a wide margin.\",\n  createdAt: daysAgo(8),\n  likes: 56,\n  comments: 14,\n  shares: 3,\n  poll: {\n    options: [\n      { id: \"opt-a\", label: \"Single-step (just email)\", voteCount: 22 },\n      { id: \"opt-b\", label: \"Two-step (email + workspace)\", voteCount: 91 },\n      { id: \"opt-c\", label: \"Three-step with role pick\", voteCount: 18 },\n    ],\n    closesAt: daysAgo(1), // closed 1 day ago\n    totalVotes: 131,\n  },\n};\n\n/** Repost — nested compact mini-card pointing at DUMMY_FEATURED_POST. */\nexport const DUMMY_REPOST_POST: Post = {\n  id: \"post-repost\",\n  author: {\n    id: \"u-elena\",\n    name: \"Elena Marchetti\",\n    username: \"elena\",\n    avatar: \"https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=200&h=200&fit=crop&crop=faces&q=80\",\n  },\n  content:\n    \"Reposting Hana's announcement — three months of cross-team work shipping next week. If you're on the launch list, watch this space for the rollout cadence.\",\n  createdAt: minutesAgo(35),\n  visibility: \"public\",\n  likes: 73,\n  comments: 9,\n  shares: 5,\n  repostOf: DUMMY_FEATURED_POST,\n};\n\n/** Link preview — OG card renders below content + above any media. */\nexport const DUMMY_LINK_PREVIEW_POST: Post = {\n  id: \"post-linkpreview\",\n  author: {\n    id: \"u-akira\",\n    name: \"Akira Tanaka\",\n    username: \"akira\",\n    avatar: \"https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?w=200&h=200&fit=crop&crop=faces&q=80\",\n  },\n  content:\n    \"Worth a read if you're working on shadcn-registry distribution — the namespace pattern alone unlocks a lot.\",\n  createdAt: hoursAgo(11),\n  likes: 142,\n  comments: 22,\n  shares: 18,\n  linkPreview: {\n    url: \"https://ui.shadcn.com/docs/registry\",\n    title: \"shadcn/ui — Registry\",\n    description:\n      \"Build your own component distribution platform with the same primitives the shadcn CLI ships against.\",\n    siteName: \"ui.shadcn.com\",\n    image: PEXELS_IMG_1,\n  },\n};\n\n/** Reply — \"Replying to @username\" sub-line above the header (feed/detail only). */\nexport const DUMMY_REPLY_POST: Post = {\n  id: \"post-reply\",\n  author: {\n    id: \"u-sina\",\n    name: \"Sina Aytaç\",\n    username: \"sina\",\n    avatar: \"https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?w=200&h=200&fit=crop&crop=faces&q=80\",\n  },\n  content:\n    \"@mira agree on the deprecation thread — the migration tooling at component count > 60 is where the real cost is, not the surface area itself.\",\n  createdAt: minutesAgo(20),\n  likes: 8,\n  comments: 1,\n  shares: 0,\n  replyTo: {\n    id: DUMMY_TEXT_ONLY_POST.id,\n    author: DUMMY_TEXT_ONLY_POST.author,\n  },\n  mentions: [\n    {\n      id: \"u-mira\",\n      name: \"Mira Solano\",\n      username: \"mira\",\n      range: [0, 5], // \"@mira\"\n    },\n  ],\n};\n\n/** Rich post — combines tags + location + visibility + editedAt + mentions\n *  to showcase header sub-row density. */\nexport const DUMMY_RICH_POST: Post = {\n  id: \"post-rich\",\n  author: {\n    id: \"u-camille\",\n    name: \"Camille Dubois\",\n    username: \"camille\",\n    avatar: \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=200&h=200&fit=crop&crop=faces&q=80\",\n    isVerified: true,\n  },\n  content:\n    \"Field report from the field test — @theo nailed the prototype handoff, location pin attached. Tags below for retrieval.\",\n  createdAt: hoursAgo(5),\n  editedAt: hoursAgo(4),\n  visibility: \"circle\",\n  likes: 67,\n  comments: 11,\n  shares: 4,\n  location: {\n    name: \"Marseille, FR\",\n    lat: 43.296482,\n    lng: 5.36978,\n  },\n  tags: [\"fieldtest\", \"prototype\", \"v0.2\"],\n  mentions: [\n    { id: \"u-theo\", name: \"Theo Zarrin\", username: \"theoz\", range: [35, 40] }, // \"@theo\"\n  ],\n  language: \"en\",\n};\n\nexport const DUMMY_POSTS: Post[] = [\n  DUMMY_TEXT_ONLY_POST,\n  DUMMY_SINGLE_IMAGE_POST,\n  DUMMY_MULTI_IMAGE_POST,\n  DUMMY_VIDEO_POST,\n  DUMMY_MIXED_MEDIA_POST,\n  DUMMY_FEATURED_POST,\n  DUMMY_LONG_TEXT_POST,\n  // v0.2.0 additions:\n  DUMMY_PINNED_POST,\n  DUMMY_SENSITIVE_POST,\n  DUMMY_POLL_POST,\n  DUMMY_POLL_VOTED_POST,\n  DUMMY_POLL_CLOSED_POST,\n  DUMMY_REPOST_POST,\n  DUMMY_LINK_PREVIEW_POST,\n  DUMMY_REPLY_POST,\n  DUMMY_RICH_POST,\n];\n\nexport const DUMMY_DETAIL_THREAD: Comment[] = [\n  {\n    id: \"c-1\",\n    author: {\n      id: \"u-mira\",\n      name: \"Mira Solano\",\n      username: \"mira\",\n      avatar: \"https://images.unsplash.com/photo-1531123897727-8f129e1688ce?w=200&h=200&fit=crop&crop=faces&q=80\",\n    },\n    content:\n      \"Saving this for later — exactly what I've been trying to articulate to my team.\",\n    createdAt: minutesAgo(15),\n    likes: 8,\n    isLiked: false,\n  },\n  {\n    id: \"c-2\",\n    author: {\n      id: \"u-theo\",\n      name: \"Theo Zarrin\",\n      username: \"theoz\",\n      avatar: \"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=200&h=200&fit=crop&crop=faces&q=80\",\n    },\n    content: \"Where can I read more on this?\",\n    createdAt: minutesAgo(45),\n    likes: 2,\n    replies: [\n      {\n        id: \"c-2-r-1\",\n        author: {\n          id: \"u-sina\",\n          name: \"Sina Aytaç\",\n          username: \"sina\",\n          avatar: \"https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?w=200&h=200&fit=crop&crop=faces&q=80\",\n        },\n        content: \"I'll DM you a reading list.\",\n        createdAt: minutesAgo(40),\n        likes: 1,\n      },\n    ],\n  },\n];\n\nexport function createDummyEngagementSubscribe(): EngagementSubscribe {\n  return (handler) => {\n    let tick = 0;\n    const id = setInterval(() => {\n      tick++;\n      const variant = tick % 3;\n      if (variant === 0) {\n        handler({ kind: \"like-changed\", count: 142 + tick * 2 });\n      } else if (variant === 1) {\n        handler({ kind: \"comment-count-changed\", count: 23 + tick });\n      } else {\n        handler({ kind: \"view-count-changed\", count: 12_345 + tick * 137 });\n      }\n    }, 5000);\n    return () => clearInterval(id);\n  };\n}\n\nconst LIVE_COMMENT_AVATARS = [\n  \"https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=200&h=200&fit=crop&crop=faces&q=80\",\n  \"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&h=200&fit=crop&crop=faces&q=80\",\n  \"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=200&h=200&fit=crop&crop=faces&q=80\",\n  \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=200&h=200&fit=crop&crop=faces&q=80\",\n  \"https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=200&h=200&fit=crop&crop=faces&q=80\",\n  \"https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=200&h=200&fit=crop&crop=faces&q=80\",\n  \"https://images.unsplash.com/photo-1502685104226-ee32379fefbe?w=200&h=200&fit=crop&crop=faces&q=80\",\n  \"https://images.unsplash.com/photo-1531123897727-8f129e1688ce?w=200&h=200&fit=crop&crop=faces&q=80\",\n];\n\nexport function createDummyCommentSubscribe(): CommentSubscribe {\n  return (handler) => {\n    let tick = 0;\n    const id = setInterval(() => {\n      tick++;\n      handler({\n        kind: \"added\",\n        comment: {\n          id: `live-c-${Date.now()}`,\n          author: {\n            id: `u-live-${tick}`,\n            name: `Live User ${tick}`,\n            username: `live${tick}`,\n            avatar: LIVE_COMMENT_AVATARS[tick % LIVE_COMMENT_AVATARS.length],\n          },\n          content: `Live comment #${tick} arriving via subscribe.`,\n          createdAt: new Date(),\n          likes: 0,\n        },\n      });\n    }, 7000);\n    return () => clearInterval(id);\n  };\n}\n\n// ─── 0.6.0 fixtures ─────────────────────────────────────────────────────────\n\n/** Reaction catalog for `reactions.kinds`. Icons are host-supplied; emoji keep the fixture dependency-free. */\nexport const DUMMY_REACTION_KINDS: EngagementReactionKind[] = [\n  { key: \"like\", icon: \"👍\", label: \"Like\", count: 212 },\n  { key: \"love\", icon: \"❤️\", label: \"Love\", count: 131 },\n  { key: \"laugh\", icon: \"😂\", label: \"Laugh\", count: 29 },\n  { key: \"wow\", icon: \"😮\", label: \"Wow\", count: 12 },\n];\n\n/** Arabic (right-to-left) sample for the RTL demo. */\nexport const DUMMY_RTL_POST: Post = {\n  id: \"post-rtl\",\n  author: {\n    id: \"u-layla\",\n    name: \"ليلى المنصوري\",\n    username: \"layla_m\",\n    avatar: \"https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=200&h=200&fit=crop&crop=faces&q=80\",\n    isVerified: true,\n  },\n  content:\n    \"قضينا نهاية الأسبوع في الجبال، والمناظر كانت أجمل مما توقعنا. شكراً لكل من شاركنا الرحلة، وسنعود قريباً بإذن الله.\",\n  createdAt: hoursAgo(5),\n  editedAt: hoursAgo(4),\n  visibility: \"followers\",\n  location: { name: \"الدار البيضاء\" },\n  tags: [\"رحلات\", \"جبال\"],\n  likes: 1240,\n  isLiked: false,\n  comments: 3,\n  shares: 18,\n  poll: {\n    options: [\n      { id: \"opt-a\", label: \"الجبال\", voteCount: 64 },\n      { id: \"opt-b\", label: \"البحر\", voteCount: 41 },\n    ],\n    closesAt: hoursAgo(-24),\n    totalVotes: 105,\n  },\n};\n\nexport const DUMMY_RTL_THREAD: Comment[] = [\n  {\n    id: \"c-ar-1\",\n    author: { id: \"u-omar\", name: \"عمر الحداد\", username: \"omar_h\" },\n    content: \"صور رائعة! أين التقطت الصورة الثانية؟\",\n    createdAt: minutesAgo(35),\n    likes: 4,\n    isLiked: false,\n    replies: [\n      {\n        id: \"c-ar-1-r-1\",\n        author: { id: \"u-layla\", name: \"ليلى المنصوري\", username: \"layla_m\" },\n        content: \"عند القمة، قبل الغروب بقليل.\",\n        createdAt: minutesAgo(20),\n        likes: 1,\n      },\n    ],\n  },\n  {\n    id: \"c-ar-2\",\n    author: { id: \"u-sara\", name: \"سارة بن علي\", username: \"sara_b\" },\n    content: \"أتمنى لو كنت معكم!\",\n    createdAt: minutesAgo(10),\n    likes: 0,\n  },\n];\n\nconst CURSOR_PAGE_SIZE = 3;\n\n/** Top-level comments for the cursor-paging demo (newest first). */\nexport const DUMMY_CURSOR_COMMENTS: Comment[] = Array.from({ length: 11 }, (_, i) => ({\n  id: `c-cur-${i + 1}`,\n  author: {\n    id: `u-cur-${i % 4}`,\n    name: [\"Mira Solano\", \"Theo Zarrin\", \"Ayşe Demir\", \"Ali Öztürk\"][i % 4]!,\n    username: [\"mira\", \"theoz\", \"ayse_demir\", \"ali_ozturk\"][i % 4]!,\n  },\n  content: `Comment ${i + 1} of 11 — loaded through the cursor loader.`,\n  createdAt: minutesAgo(10 + i * 7),\n  likes: i % 5,\n  isLiked: false,\n}));\n\n/**\n * A cursor-paged loader over {@link DUMMY_CURSOR_COMMENTS}: `null` starts at the first page after\n * the one the thread was seeded with; the cursor is the next start index as a string.\n */\nexport async function loadDummyCommentPage(cursor: string | null): Promise<CommentPage> {\n  await new Promise((resolve) => setTimeout(resolve, 400));\n  const start = cursor === null ? CURSOR_PAGE_SIZE : Number(cursor);\n  const end = start + CURSOR_PAGE_SIZE;\n  return {\n    items: DUMMY_CURSOR_COMMENTS.slice(start, end),\n    nextCursor: end < DUMMY_CURSOR_COMMENTS.length ? String(end) : null,\n  };\n}\n\n// @ilinxa/post-card-fixtures 0.8.0\n",
      "type": "registry:component",
      "target": "components/post-card/dummy-data.ts"
    }
  ],
  "meta": {
    "version": "0.8.0",
    "status": "alpha"
  },
  "categories": [
    "data",
    "fixtures"
  ],
  "type": "registry:block"
}