{
  "$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 = og_def(p['content'], none) -%}\n{%- set v_extra = og_def(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          {{ og_include('compose/text.html.j2', {'p': {'Size': '2xl', 'Weight': 'semibold'}, 'children': c_1}) }}\n          {%- set c_2 -%}\n            {{ og_text(og_get(v_s, ['label'])) }}\n          {%- endset -%}\n          {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Class': 'text-muted-foreground'}, 'children': c_2}) }}\n        {%- endset -%}\n        {{ og_include('compose/stack.html.j2', {'p': {'Gap': '0', 'Class': 'rounded bg-card inset-ring inset-ring-border p-4', 'Attrs': og_attrs(['data-slot', 'hero-stat'])}, 'children': c_3}) }}\n      {%- endif %}\n    {%- endfor %}\n  {%- endset -%}\n  {{ og_include('compose/box.html.j2', {'p': {'Class': 'grid grid-cols-3 gap-4', 'Attrs': og_attrs(['data-slot', 'hero-stats'])}, 'children': c_4}) }}\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          {{ og_include('blocks/media-frame.html.j2', {'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'])}}) }}\n        {%- endif %}\n      {%- endfor %}\n    {%- endset -%}\n    {{ og_include('compose/group.html.j2', {'p': {'Gap': '2', 'Align': 'center'}, 'children': c_5}) }}\n    {%- set c_6 -%}\n      {{ og_text(og_get(v_content, ['proof'])) }}\n    {%- endset -%}\n    {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_6}) }}\n  {%- endset -%}\n  {{ og_include('compose/group.html.j2', {'p': {'Gap': '4', 'Align': 'center', 'Class': 'flex-wrap', 'Attrs': og_attrs(['data-slot', 'hero-proof'])}, 'children': c_7}) }}\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            {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': og_s(og_get(v_f, ['icon'])), 'Size': 20}}) }}\n          {%- endset -%}\n          {{ og_include('compose/box.html.j2', {'p': {'Class': 'flex size-10 shrink-0 items-center justify-center rounded bg-muted'}, 'children': c_8}) }}\n          {%- set c_11 -%}\n            {%- set c_9 -%}\n              {{ og_text(og_get(v_f, ['title'])) }}\n            {%- endset -%}\n            {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Weight': 'semibold'}, 'children': c_9}) }}\n            {%- set c_10 -%}\n              {{ og_text(og_get(v_f, ['text'])) }}\n            {%- endset -%}\n            {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Class': 'text-muted-foreground'}, 'children': c_10}) }}\n          {%- endset -%}\n          {{ og_include('compose/stack.html.j2', {'p': {'Gap': '0'}, 'children': c_11}) }}\n        {%- endset -%}\n        {{ og_include('compose/group.html.j2', {'p': {'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}) }}\n      {%- endif %}\n    {%- endfor %}\n  {%- endset -%}\n  {{ og_include('compose/box.html.j2', {'p': {'Class': 'grid grid-cols-1 gap-4 sm:grid-cols-2', 'Attrs': og_attrs(['data-slot', 'hero-minis'])}, 'children': c_13}) }}\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          {{ og_include('compose/text.html.j2', {'p': {'Tag': 'blockquote', 'Class': 'text-lg font-medium'}, 'children': c_14}) }}\n          {%- set c_18 -%}\n            {{ og_include('blocks/media-frame.html.j2', {'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'])}}) }}\n            {%- set c_17 -%}\n              {%- set c_15 -%}\n                {{ og_text(og_get(v_p, ['author'])) }}\n              {%- endset -%}\n              {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Weight': 'semibold'}, 'children': c_15}) }}\n              {%- set c_16 -%}\n                {{ og_text(og_get(v_p, ['role'])) }}\n              {%- endset -%}\n              {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Class': 'text-muted-foreground'}, 'children': c_16}) }}\n            {%- endset -%}\n            {{ og_include('compose/stack.html.j2', {'p': {'Gap': '0'}, 'children': c_17}) }}\n          {%- endset -%}\n          {{ og_include('compose/group.html.j2', {'p': {'Gap': '4', 'Align': 'center'}, 'children': c_18}) }}\n        {%- endset -%}\n        {{ og_include('blocks/figure-block.html.j2', {'p': {'className': og_cnv(['flex flex-col gap-4']), 'testid': 'hero-quote'}, 'children': og_markup(c_19)}) }}\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            {{ og_include('compose/text.html.j2', {'p': {'Size': '2xl', 'Weight': 'semibold'}, 'children': c_20}) }}\n            {%- set c_21 -%}\n              {{ og_text(og_get(v_s, ['label'])) }}\n            {%- endset -%}\n            {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Class': 'text-muted-foreground'}, 'children': c_21}) }}\n          {%- endset -%}\n          {{ og_include('compose/stack.html.j2', {'p': {'Gap': '0', 'Class': 'rounded bg-card inset-ring inset-ring-border p-4', 'Attrs': og_attrs(['data-slot', 'hero-stat'])}, 'children': c_22}) }}\n        {%- endif %}\n      {%- endfor %}\n    {%- endset -%}\n    {{ og_include('compose/box.html.j2', {'p': {'Class': 'grid grid-cols-3 gap-4', 'Attrs': og_attrs(['data-slot', 'hero-stats'])}, 'children': c_23}) }}\n  {%- endset -%}\n  {{ og_include('compose/stack.html.j2', {'p': {'Gap': '6', 'Align': 'stretch', 'Attrs': og_attrs(['data-slot', 'hero-split-extras'])}, 'children': c_24}) }}\n{%- endif %}\n",
      "path": "blocks/hero-split-extras.html.j2",
      "target": "blocks/hero-split-extras.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "hero-split-extras",
  "registryDependencies": [
    "box",
    "figure-block",
    "group",
    "lucide-icon",
    "media-frame",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Hero Split Extras",
  "type": "registry:component"
}
