{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "What HeroSplit shows under the lead: three figures in cards, a row of faces with a proof line, two small feature cards, or a quote with its author over three figures.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{#- Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n    Source: packages/compose-gen/specs/organisms/hero-split-extras.json\n    What HeroSplit shows under the lead: three figures in cards, a row of faces with a proof line, two small feature cards, or a quote with its author over three figures.\n    Props (p): content, extra. -#}\n{%- set v_content = (p.content ?? null) -%}\n{%- set v_extra = (p.extra ?? 'none') -%}\n{%- if og_t(og_and([og_eq(v_extra, 'stats'), og_gt(og_len(og_get(v_content, ['stats'])), 0)])) %}\n  {%- set c_4 -%}\n    {%- for v_s in og_l(og_get(v_content, ['stats'])) %}\n      {%- set v_i = loop.index0 -%}\n      {%- if og_t(og_lt(v_i, 3)) %}\n        {%- set c_3 -%}\n          {%- set c_1 -%}\n            {{ og_text(og_get(v_s, ['value'])) }}\n          {%- endset -%}\n          {{ include('compose/Text.html.twig', {'size': '2xl', 'weight': 'semibold', 'children': c_1}, with_context = false) }}\n          {%- set c_2 -%}\n            {{ og_text(og_get(v_s, ['label'])) }}\n          {%- endset -%}\n          {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_2}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Stack.html.twig', {'gap': '0', 'class': 'rounded bg-card inset-ring inset-ring-border p-4', 'attrs': og_attrs(['data-slot', 'hero-stat']), 'children': c_3}, with_context = false) }}\n      {%- endif %}\n    {%- endfor %}\n  {%- endset -%}\n  {{ include('compose/Box.html.twig', {'class': 'grid grid-cols-3 gap-4', 'attrs': og_attrs(['data-slot', 'hero-stats']), 'children': c_4}, with_context = false) }}\n{%- endif %}\n{%- if og_t(og_and([og_eq(v_extra, 'avatars'), og_gt(og_len(og_get(v_content, ['people'])), 0)])) %}\n  {%- set c_7 -%}\n    {%- set c_5 -%}\n      {%- for v_p in og_l(og_get(v_content, ['people'])) %}\n        {%- set v_i = loop.index0 -%}\n        {%- if og_t(og_lt(v_i, 4)) %}\n          {{ include('blocks/media-frame.html.twig', {'p': {'alt': og_get(v_p, ['author']), 'src': og_get(v_p, ['image']), 'ratio': '1/1', 'className': og_cnv(['size-10 shrink-0 rounded-full'])}}, with_context = false) }}\n        {%- endif %}\n      {%- endfor %}\n    {%- endset -%}\n    {{ include('compose/Group.html.twig', {'gap': '2', 'align': 'center', 'children': c_5}, with_context = false) }}\n    {%- set c_6 -%}\n      {{ og_text(og_get(v_content, ['proof'])) }}\n    {%- endset -%}\n    {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_6}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Group.html.twig', {'gap': '4', 'align': 'center', 'class': 'flex-wrap', 'attrs': og_attrs(['data-slot', 'hero-proof']), 'children': c_7}, with_context = false) }}\n{%- endif %}\n{%- if og_t(og_and([og_eq(v_extra, 'minis'), og_gt(og_len(og_get(v_content, ['features'])), 0)])) %}\n  {%- set c_13 -%}\n    {%- for v_f in og_l(og_get(v_content, ['features'])) %}\n      {%- set v_i = loop.index0 -%}\n      {%- if og_t(og_lt(v_i, 2)) %}\n        {%- set c_12 -%}\n          {%- set c_8 -%}\n            {{ include('icons/LucideIcon.html.twig', {'name': og_s(og_get(v_f, ['icon'])), 'size': 20}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Box.html.twig', {'class': 'flex size-10 shrink-0 items-center justify-center rounded bg-muted', 'children': c_8}, with_context = false) }}\n          {%- set c_11 -%}\n            {%- set c_9 -%}\n              {{ og_text(og_get(v_f, ['title'])) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'size': 'sm', 'weight': 'semibold', 'children': c_9}, with_context = false) }}\n            {%- set c_10 -%}\n              {{ og_text(og_get(v_f, ['text'])) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_10}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Stack.html.twig', {'gap': '0', 'children': c_11}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Group.html.twig', {'gap': '4', 'align': 'start', 'class': 'rounded bg-card inset-ring inset-ring-border p-4', 'attrs': og_attrs(['data-slot', 'hero-mini']), 'children': c_12}, with_context = false) }}\n      {%- endif %}\n    {%- endfor %}\n  {%- endset -%}\n  {{ include('compose/Box.html.twig', {'class': 'grid grid-cols-1 gap-4 sm:grid-cols-2', 'attrs': og_attrs(['data-slot', 'hero-minis']), 'children': c_13}, with_context = false) }}\n{%- endif %}\n{%- if og_t(og_and([og_eq(v_extra, 'quote'), og_gt(og_len(og_get(v_content, ['people'])), 0)])) %}\n  {%- set c_24 -%}\n    {%- for v_p in og_l(og_get(v_content, ['people'])) %}\n      {%- set v_i = loop.index0 -%}\n      {%- if og_t(og_lt(v_i, 1)) %}\n        {%- set c_19 -%}\n          {%- set c_14 -%}\n            {{ og_text(og_get(v_p, ['quote'])) }}\n          {%- endset -%}\n          {{ include('compose/Text.html.twig', {'tag': 'blockquote', 'class': 'text-lg font-medium', 'children': c_14}, with_context = false) }}\n          {%- set c_18 -%}\n            {{ include('blocks/media-frame.html.twig', {'p': {'alt': og_get(v_p, ['author']), 'src': og_get(v_p, ['image']), 'ratio': '1/1', 'className': og_cnv(['size-10 shrink-0 rounded-full'])}}, with_context = false) }}\n            {%- set c_17 -%}\n              {%- set c_15 -%}\n                {{ og_text(og_get(v_p, ['author'])) }}\n              {%- endset -%}\n              {{ include('compose/Text.html.twig', {'size': 'sm', 'weight': 'semibold', 'children': c_15}, with_context = false) }}\n              {%- set c_16 -%}\n                {{ og_text(og_get(v_p, ['role'])) }}\n              {%- endset -%}\n              {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_16}, with_context = false) }}\n            {%- endset -%}\n            {{ include('compose/Stack.html.twig', {'gap': '0', 'children': c_17}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Group.html.twig', {'gap': '4', 'align': 'center', 'children': c_18}, with_context = false) }}\n        {%- endset -%}\n        {{ include('blocks/figure-block.html.twig', {'p': {'className': og_cnv(['flex flex-col gap-4']), 'testid': 'hero-quote'}, 'children': og_markup(c_19)}, with_context = false) }}\n      {%- endif %}\n    {%- endfor %}\n    {%- set c_23 -%}\n      {%- for v_s in og_l(og_get(v_content, ['stats'])) %}\n        {%- set v_i = loop.index0 -%}\n        {%- if og_t(og_lt(v_i, 3)) %}\n          {%- set c_22 -%}\n            {%- set c_20 -%}\n              {{ og_text(og_get(v_s, ['value'])) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'size': '2xl', 'weight': 'semibold', 'children': c_20}, with_context = false) }}\n            {%- set c_21 -%}\n              {{ og_text(og_get(v_s, ['label'])) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_21}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Stack.html.twig', {'gap': '0', 'class': 'rounded bg-card inset-ring inset-ring-border p-4', 'attrs': og_attrs(['data-slot', 'hero-stat']), 'children': c_22}, with_context = false) }}\n        {%- endif %}\n      {%- endfor %}\n    {%- endset -%}\n    {{ include('compose/Box.html.twig', {'class': 'grid grid-cols-3 gap-4', 'attrs': og_attrs(['data-slot', 'hero-stats']), 'children': c_23}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Stack.html.twig', {'gap': '6', 'align': 'stretch', 'attrs': og_attrs(['data-slot', 'hero-split-extras']), 'children': c_24}, with_context = false) }}\n{%- endif %}\n",
      "path": "blocks/hero-split-extras.html.twig",
      "target": "blocks/hero-split-extras.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "hero-split-extras",
  "registryDependencies": [
    "box",
    "figure-block",
    "group",
    "lucide-icon",
    "media-frame",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "twig",
  "title": "Hero Split Extras",
  "type": "registry:component"
}
