{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Plans as a grid or a stack of cards.",
  "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/pricing-tiers.json\n    A section with a heading and one PricingCard per plan; an empty state when there are none. Axes: layout (grid, stack), columns, emphasis, billing (off: no toggle; monthly or annual: a toggle with that choice selected, and the prices of that period), density, tone.\n    Props (p): id, title, plans, labels, billingLabels, layout, cols, emphasis, billing, tone, density, landmarkLabel. *}\n{var $v_id = ($p['id'] ?? null)}\n{var $v_title = ($p['title'] ?? null)}\n{var $v_plans = ($p['plans'] ?? null)}\n{var $v_labels = ($p['labels'] ?? null)}\n{var $v_billingLabels = ($p['billingLabels'] ?? null)}\n{var $v_layout = ($p['layout'] ?? 'grid')}\n{var $v_cols = ($p['cols'] ?? '1-3')}\n{var $v_emphasis = ($p['emphasis'] ?? 'auto')}\n{var $v_billing = ($p['billing'] ?? 'off')}\n{var $v_tone = ($p['tone'] ?? 'default')}\n{var $v_density = ($p['density'] ?? 'default')}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{capture $c_7}\n  {if og_t(!(og_eq($v_billing, 'off')))}\n    {capture $c_5}\n      {capture $c_3}\n        {capture $c_1}\n          {=og_text(og_get($v_billingLabels, ['monthly']))}\n        {/capture}\n        {=og_include('blocks/switcher-item.latte', ['p' => ['active' => og_eq($v_billing, 'monthly')], 'children' => og_markup($c_1)])|noescape}\n        {capture $c_2}\n          {=og_text(og_get($v_billingLabels, ['annual']))}\n        {/capture}\n        {=og_include('blocks/switcher-item.latte', ['p' => ['active' => og_eq($v_billing, 'annual')], 'children' => og_markup($c_2)])|noescape}\n      {/capture}\n      {=og_include('blocks/switcher.latte', ['p' => ['label' => og_get($v_billingLabels, ['label'])], 'children' => og_markup($c_3)])|noescape}\n      {capture $c_4}\n        {=og_text(og_get($v_billingLabels, ['save']))}\n      {/capture}\n      {=og_include('compose/Badge.latte', ['variant' => 'default', 'size' => 'default', 'children' => (string) $c_4])|noescape}\n    {/capture}\n    {=og_include('compose/Group.latte', ['gap' => '4', 'align' => 'center', 'justify' => 'center', 'class' => 'flex-wrap', 'attrs' => og_attrs(['data-slot', 'billing']), 'children' => (string) $c_5])|noescape}\n  {/if}\n  {if og_t(og_eq(og_len($v_plans), 0))}\n    {=og_include('blocks/empty-state.latte', ['p' => ['icon' => 'layers', 'title' => og_get($v_labels, ['empty'])]])|noescape}\n  {else}\n    {capture $c_6}\n      {foreach og_l($v_plans) as $v_plan}\n        {=og_include('blocks/pricing-card.latte', ['p' => ['plan' => $v_plan, 'labels' => $v_labels, 'emphasis' => $v_emphasis, 'billing' => (og_t(og_eq($v_billing, 'annual')) ? 'annual' : 'monthly'), 'density' => (og_t(og_eq($v_density, 'compact')) ? 'compact' : 'default')]])|noescape}\n      {/foreach}\n    {/capture}\n    {=og_include('compose/Grid.latte', ['cols' => og_s((og_t(og_eq($v_layout, 'stack')) ? '1' : og_fit_cols($v_cols, og_len($v_plans)))), 'class' => 'gap-4', 'attrs' => og_attrs(['data-slot', 'tiers']), 'children' => (string) $c_6])|noescape}\n  {/if}\n{/capture}\n{=og_include('blocks/section-frame.latte', ['p' => ['id' => $v_id, 'title' => $v_title, 'tone' => $v_tone, 'density' => $v_density, 'measure' => (og_t(og_eq($v_layout, 'stack')) ? 'md' : 'default'), 'landmarkLabel' => $v_landmarkLabel], 'children' => og_markup($c_7)])|noescape}\n",
      "path": "blocks/pricing-tiers.latte",
      "target": "blocks/pricing-tiers.latte"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "pricing",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "pricing-tiers",
  "registryDependencies": [
    "badge",
    "empty-state",
    "grid",
    "group",
    "pricing-card",
    "section-frame",
    "switcher",
    "switcher-item",
    "utils"
  ],
  "runtime": "latte",
  "title": "Pricing Tiers",
  "type": "registry:block"
}
