{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Questions beside the heading, a help card, a picture or a finder, or as cards in three or four columns.",
  "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/faq-split.json\n    Questions in a split or as cards. Axes: layout (head: the heading and an action beside the disclosures, aside: the disclosures beside a help card, media: the disclosures and an action beside a picture, search: a finder beside a picture, cards: the questions as cards), cards (grid3, grid4, icons), mediaSide, tone.\n    Props (p): id, title, lead, badge, items, channels, topics, labels, layout, cards, mediaSide, tone, image, imageAlt, landmarkLabel. *}\n{var $v_id = ($p['id'] ?? null)}\n{var $v_title = ($p['title'] ?? null)}\n{var $v_lead = ($p['lead'] ?? '')}\n{var $v_badge = ($p['badge'] ?? '')}\n{var $v_items = ($p['items'] ?? null)}\n{var $v_channels = ($p['channels'] ?? null)}\n{var $v_topics = ($p['topics'] ?? null)}\n{var $v_labels = ($p['labels'] ?? null)}\n{var $v_layout = ($p['layout'] ?? 'head')}\n{var $v_cards = ($p['cards'] ?? 'grid3')}\n{var $v_mediaSide = ($p['mediaSide'] ?? 'end')}\n{var $v_tone = ($p['tone'] ?? 'default')}\n{var $v_image = ($p['image'] ?? null)}\n{var $v_imageAlt = ($p['imageAlt'] ?? null)}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{if og_t(og_gt(og_len($v_items), 0))}\n  {if og_t(og_eq($v_layout, 'cards'))}\n    {capture $c_1}\n      {=og_include('blocks/faq-cards.latte', ['p' => ['items' => $v_items, 'labels' => $v_labels, 'cards' => $v_cards]])|noescape}\n    {/capture}\n    {=og_include('blocks/section-frame.latte', ['p' => ['id' => $v_id, 'title' => $v_title, 'lead' => $v_lead, 'heading' => ['badge' => $v_badge], 'tone' => $v_tone, 'landmarkLabel' => $v_landmarkLabel], 'children' => og_markup($c_1)])|noescape}\n  {/if}\n  {if og_t(og_eq($v_layout, 'head'))}\n    {capture $f_4}\n      {=og_include('blocks/faq-disclosures.latte', ['p' => ['items' => $v_items, 'name' => og_tpl('{0}-faq', [$v_id])]])|noescape}\n    {/capture}\n    {capture $c_5}\n      {capture $c_3}\n        {capture $c_2}\n          {=og_text(og_get($v_labels, ['cta']))}\n        {/capture}\n        {=og_include('compose/Button.latte', ['variant' => 'default', 'size' => 'default', 'children' => (string) $c_2])|noescape}\n      {/capture}\n      {=og_include('compose/Box.latte', ['children' => (string) $c_3])|noescape}\n    {/capture}\n    {=og_include('blocks/section-frame.latte', ['p' => ['id' => $v_id, 'title' => $v_title, 'lead' => $v_lead, 'heading' => ['badge' => $v_badge], 'tone' => $v_tone, 'layout' => 'split', 'media' => ['show' => true, 'side' => 'end', 'align' => 'start'], 'landmarkLabel' => $v_landmarkLabel, 'aside' => og_markup($f_4)], 'children' => og_markup($c_5)])|noescape}\n  {/if}\n  {if og_t(og_eq($v_layout, 'aside'))}\n    {capture $f_6}\n      {=og_include('blocks/faq-help.latte', ['p' => ['labels' => $v_labels, 'channels' => $v_channels, 'landmarkLabel' => $v_landmarkLabel]])|noescape}\n    {/capture}\n    {capture $c_7}\n      {=og_include('blocks/faq-disclosures.latte', ['p' => ['items' => $v_items, 'name' => og_tpl('{0}-faq', [$v_id])]])|noescape}\n    {/capture}\n    {=og_include('blocks/section-frame.latte', ['p' => ['id' => $v_id, 'title' => $v_title, 'lead' => $v_lead, 'heading' => ['badge' => $v_badge], 'tone' => $v_tone, 'layout' => 'split', 'media' => ['show' => true, 'side' => 'end', 'align' => 'start'], 'landmarkLabel' => $v_landmarkLabel, 'aside' => og_markup($f_6)], 'children' => og_markup($c_7)])|noescape}\n  {/if}\n  {if og_t(og_eq($v_layout, 'media'))}\n    {capture $f_10}\n      {=og_include('blocks/media-frame.latte', ['p' => ['alt' => (og_t($v_imageAlt) ? $v_imageAlt : $v_title), 'src' => $v_image, 'ratio' => '4/3']])|noescape}\n    {/capture}\n    {capture $c_11}\n      {=og_include('blocks/faq-disclosures.latte', ['p' => ['items' => $v_items, 'name' => og_tpl('{0}-faq', [$v_id])]])|noescape}\n      {capture $c_9}\n        {capture $c_8}\n          {=og_text(og_get($v_labels, ['cta']))}\n        {/capture}\n        {=og_include('compose/Button.latte', ['variant' => 'default', 'size' => 'default', 'children' => (string) $c_8])|noescape}\n      {/capture}\n      {=og_include('compose/Box.latte', ['children' => (string) $c_9])|noescape}\n    {/capture}\n    {=og_include('blocks/section-frame.latte', ['p' => ['id' => $v_id, 'title' => $v_title, 'lead' => $v_lead, 'heading' => ['badge' => $v_badge], 'tone' => $v_tone, 'layout' => 'split', 'media' => ['show' => true, 'side' => $v_mediaSide, 'align' => 'start'], 'landmarkLabel' => $v_landmarkLabel, 'aside' => og_markup($f_10)], 'children' => og_markup($c_11)])|noescape}\n  {/if}\n  {if og_t(og_eq($v_layout, 'search'))}\n    {capture $f_12}\n      {=og_include('blocks/media-frame.latte', ['p' => ['alt' => (og_t($v_imageAlt) ? $v_imageAlt : $v_title), 'src' => $v_image, 'ratio' => '4/3']])|noescape}\n    {/capture}\n    {capture $c_13}\n      {=og_include('blocks/faq-finder.latte', ['p' => ['items' => $v_items, 'labels' => $v_labels, 'topics' => $v_topics]])|noescape}\n    {/capture}\n    {=og_include('blocks/section-frame.latte', ['p' => ['id' => $v_id, 'title' => $v_title, 'lead' => $v_lead, 'heading' => ['badge' => $v_badge], 'tone' => $v_tone, 'layout' => 'split', 'media' => ['show' => true, 'side' => $v_mediaSide], 'landmarkLabel' => $v_landmarkLabel, 'aside' => og_markup($f_12)], 'children' => og_markup($c_13)])|noescape}\n  {/if}\n{/if}\n",
      "path": "blocks/faq-split.latte",
      "target": "blocks/faq-split.latte"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "faq",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "faq-split",
  "registryDependencies": [
    "box",
    "button",
    "faq-cards",
    "faq-disclosures",
    "faq-finder",
    "faq-help",
    "media-frame",
    "section-frame",
    "utils"
  ],
  "runtime": "latte",
  "title": "Faq Split",
  "type": "registry:block"
}
