@mastra/playground-ui 70.0.1-alpha.0 → 70.1.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/dist/{EmptyState-juw2jci2.js → EmptyState-DJaZF543.js} +43 -23
  2. package/dist/EmptyState-DJaZF543.js.map +1 -0
  3. package/dist/{EmptyState-C5O9fTEq.cjs → EmptyState-DnW6SNEx.cjs} +43 -23
  4. package/dist/EmptyState-DnW6SNEx.cjs.map +1 -0
  5. package/dist/EmptyStateArt.css +12028 -0
  6. package/dist/{MetricsLineChart-CFKyRZ0t.cjs → MetricsLineChart-DupSN9YT.cjs} +5 -2
  7. package/dist/MetricsLineChart-DupSN9YT.cjs.map +1 -0
  8. package/dist/{MetricsLineChart-CwQ7c3nK.js → MetricsLineChart-vgZTYICl.js} +5 -2
  9. package/dist/MetricsLineChart-vgZTYICl.js.map +1 -0
  10. package/dist/{MetricsStackedBarChart-e4_hVNX6.cjs → MetricsStackedBarChart-CYX6HW01.cjs} +2 -2
  11. package/dist/{MetricsStackedBarChart-e4_hVNX6.cjs.map → MetricsStackedBarChart-CYX6HW01.cjs.map} +1 -1
  12. package/dist/{MetricsStackedBarChart-BYnCiXfI.js → MetricsStackedBarChart-CqsIfBK7.js} +2 -2
  13. package/dist/{MetricsStackedBarChart-BYnCiXfI.js.map → MetricsStackedBarChart-CqsIfBK7.js.map} +1 -1
  14. package/dist/components/EmptyState.cjs.js +1 -1
  15. package/dist/components/EmptyState.es.js +1 -1
  16. package/dist/components/EmptyStateArt.cjs.js +9695 -0
  17. package/dist/components/EmptyStateArt.cjs.js.map +1 -0
  18. package/dist/components/EmptyStateArt.d.ts +1 -0
  19. package/dist/components/EmptyStateArt.es.js +9694 -0
  20. package/dist/components/EmptyStateArt.es.js.map +1 -0
  21. package/dist/components/FileDropBackdrop.cjs.js +1 -1
  22. package/dist/components/FileDropBackdrop.es.js +1 -1
  23. package/dist/components/FormLayout.cjs.js +11 -7
  24. package/dist/components/FormLayout.cjs.js.map +1 -1
  25. package/dist/components/FormLayout.es.js +11 -7
  26. package/dist/components/FormLayout.es.js.map +1 -1
  27. package/dist/components/HoverCard.cjs.js +3 -0
  28. package/dist/components/HoverCard.cjs.js.map +1 -1
  29. package/dist/components/HoverCard.es.js +3 -1
  30. package/dist/components/HoverCard.es.js.map +1 -1
  31. package/dist/components/MetricsLineChart.cjs.js +1 -1
  32. package/dist/components/MetricsLineChart.es.js +1 -1
  33. package/dist/components/MetricsStackedBarChart.cjs.js +1 -1
  34. package/dist/components/MetricsStackedBarChart.es.js +1 -1
  35. package/dist/domains/auth/components/permission-denied.cjs.js +1 -1
  36. package/dist/domains/auth/components/permission-denied.es.js +1 -1
  37. package/dist/domains/auth/components/session-expired.cjs.js +1 -1
  38. package/dist/domains/auth/components/session-expired.es.js +1 -1
  39. package/dist/domains/dashboards/kinds/scores/scores-widget.cjs.js +1 -1
  40. package/dist/domains/dashboards/kinds/scores/scores-widget.es.js +1 -1
  41. package/dist/domains/dashboards/kinds/timeseries/timeseries-widget.cjs.js +2 -2
  42. package/dist/domains/dashboards/kinds/timeseries/timeseries-widget.es.js +2 -2
  43. package/dist/domains/datasets/components/add-dataset-item-dialog/add-dataset-item-dialog.cjs.js +1 -1
  44. package/dist/domains/datasets/components/add-dataset-item-dialog/add-dataset-item-dialog.es.js +1 -1
  45. package/dist/domains/knowledge/components/KnowledgePageExplorer.cjs.js +1 -1
  46. package/dist/domains/knowledge/components/KnowledgePageExplorer.es.js +1 -1
  47. package/dist/domains/logs/components/logs-error-content.cjs.js +1 -1
  48. package/dist/domains/logs/components/logs-error-content.es.js +1 -1
  49. package/dist/domains/logs/components/no-logs-info.cjs.js +1 -1
  50. package/dist/domains/logs/components/no-logs-info.es.js +1 -1
  51. package/dist/domains/memory/components/observation-detail-view.cjs.js +1 -1
  52. package/dist/domains/memory/components/observation-detail-view.es.js +1 -1
  53. package/dist/domains/metrics/components/agent-runs-card.cjs.js +2 -2
  54. package/dist/domains/metrics/components/agent-runs-card.es.js +2 -2
  55. package/dist/domains/metrics/components/distinct-ids/distinct-ids-chart.cjs.js +1 -1
  56. package/dist/domains/metrics/components/distinct-ids/distinct-ids-chart.es.js +1 -1
  57. package/dist/domains/metrics/components/failure-rate-card.cjs.js +1 -1
  58. package/dist/domains/metrics/components/failure-rate-card.es.js +1 -1
  59. package/dist/domains/metrics/components/latency-card.cjs.js +1 -1
  60. package/dist/domains/metrics/components/latency-card.es.js +1 -1
  61. package/dist/domains/metrics/components/scores-card.cjs.js +1 -1
  62. package/dist/domains/metrics/components/scores-card.es.js +1 -1
  63. package/dist/domains/metrics/components/token-usage-card.cjs.js +2 -2
  64. package/dist/domains/metrics/components/token-usage-card.es.js +2 -2
  65. package/dist/domains/observability/components/observability-capability-gate.cjs.js +1 -1
  66. package/dist/domains/observability/components/observability-capability-gate.es.js +1 -1
  67. package/dist/domains/observability/components/observability-histogram.cjs.js +1 -1
  68. package/dist/domains/observability/components/observability-histogram.es.js +1 -1
  69. package/dist/domains/scores/components/trace-scores-tab.cjs.js +1 -1
  70. package/dist/domains/scores/components/trace-scores-tab.es.js +1 -1
  71. package/dist/domains/traces/components/no-traces-info.cjs.js +1 -1
  72. package/dist/domains/traces/components/no-traces-info.es.js +1 -1
  73. package/dist/domains/traces/components/traces-error-content.cjs.js +1 -1
  74. package/dist/domains/traces/components/traces-error-content.es.js +1 -1
  75. package/dist/domains/workflows/components/workflows-list/no-workflows-info.cjs.js +1 -1
  76. package/dist/domains/workflows/components/workflows-list/no-workflows-info.es.js +1 -1
  77. package/dist/domains/workspace/components/workspace-add-skill-dialog.cjs.js +1 -1
  78. package/dist/domains/workspace/components/workspace-add-skill-dialog.es.js +1 -1
  79. package/dist/domains/workspace/components/workspace-parts.cjs.js +1 -1
  80. package/dist/domains/workspace/components/workspace-parts.es.js +1 -1
  81. package/dist/domains/workspace/components/workspace-search.cjs.js +1 -1
  82. package/dist/domains/workspace/components/workspace-search.es.js +1 -1
  83. package/dist/ee/signals/components/trace-intelligence-entity-detail.cjs.js +1 -1
  84. package/dist/ee/signals/components/trace-intelligence-entity-detail.es.js +1 -1
  85. package/dist/ee/signals/components/trace-intelligence-entity-index.cjs.js +1 -1
  86. package/dist/ee/signals/components/trace-intelligence-entity-index.es.js +1 -1
  87. package/dist/new/settings.cjs.js +2 -3
  88. package/dist/new/settings.es.js +1 -2
  89. package/dist/{settings-CYKWxfrJ.cjs → settings-C85I1245.cjs} +43 -1
  90. package/dist/settings-C85I1245.cjs.map +1 -0
  91. package/dist/{settings-B7RMGKgf.js → settings-RVbY3OIo.js} +38 -2
  92. package/dist/settings-RVbY3OIo.js.map +1 -0
  93. package/dist/src/ds/components/EmptyState/EmptyState.d.ts +3 -1
  94. package/dist/src/ds/components/EmptyStateArt/art/alerts-scene.d.ts +2 -0
  95. package/dist/src/ds/components/EmptyStateArt/art/api-keys-scene.d.ts +2 -0
  96. package/dist/src/ds/components/EmptyStateArt/art/byok-scene.d.ts +2 -0
  97. package/dist/src/ds/components/EmptyStateArt/art/connect-scene.d.ts +2 -0
  98. package/dist/src/ds/components/EmptyStateArt/art/databases-scene.d.ts +2 -0
  99. package/dist/src/ds/components/EmptyStateArt/art/deploys-scene.d.ts +2 -0
  100. package/dist/src/ds/components/EmptyStateArt/art/destinations-scene.d.ts +2 -0
  101. package/dist/src/ds/components/EmptyStateArt/art/env-vars-scene.d.ts +2 -0
  102. package/dist/src/ds/components/EmptyStateArt/art/environments-scene.d.ts +2 -0
  103. package/dist/src/ds/components/EmptyStateArt/art/gateway-scene.d.ts +2 -0
  104. package/dist/src/ds/components/EmptyStateArt/art/gateway-threads-scene.d.ts +2 -0
  105. package/dist/src/ds/components/EmptyStateArt/art/importers-scene.d.ts +2 -0
  106. package/dist/src/ds/components/EmptyStateArt/art/knowledge-scene.d.ts +2 -0
  107. package/dist/src/ds/components/EmptyStateArt/art/license-scene.d.ts +2 -0
  108. package/dist/src/ds/components/EmptyStateArt/art/logs-scene.d.ts +2 -0
  109. package/dist/src/ds/components/EmptyStateArt/art/memory-scene.d.ts +2 -0
  110. package/dist/src/ds/components/EmptyStateArt/art/models-scene.d.ts +2 -0
  111. package/dist/src/ds/components/EmptyStateArt/art/projects-scene.d.ts +2 -0
  112. package/dist/src/ds/components/EmptyStateArt/art/scene-style.d.ts +17 -0
  113. package/dist/src/ds/components/EmptyStateArt/art/scenes.d.ts +3 -0
  114. package/dist/src/ds/components/EmptyStateArt/art/traces-scene.d.ts +2 -0
  115. package/dist/src/ds/components/EmptyStateArt/art/upgrade-scene.d.ts +2 -0
  116. package/dist/src/ds/components/EmptyStateArt/art/widgets-scene.d.ts +2 -0
  117. package/dist/src/ds/components/EmptyStateArt/art/workers-scene.d.ts +2 -0
  118. package/dist/src/ds/components/EmptyStateArt/art/workspaces-scene.d.ts +2 -0
  119. package/dist/src/ds/components/EmptyStateArt/art-motion.d.ts +1 -0
  120. package/dist/src/ds/components/EmptyStateArt/empty-state-art.d.ts +11 -0
  121. package/dist/src/ds/components/EmptyStateArt/index.d.ts +3 -0
  122. package/dist/src/ds/components/FormLayout/form-layout.d.ts +2 -2
  123. package/dist/src/ds/components/HoverCard/create-hover-card-handle.d.ts +2 -0
  124. package/dist/src/ds/components/HoverCard/index.d.ts +1 -0
  125. package/dist/style.css +33 -0
  126. package/package.json +7 -7
  127. package/dist/EmptyState-C5O9fTEq.cjs.map +0 -1
  128. package/dist/EmptyState-juw2jci2.js.map +0 -1
  129. package/dist/MetricsLineChart-CFKyRZ0t.cjs.map +0 -1
  130. package/dist/MetricsLineChart-CwQ7c3nK.js.map +0 -1
  131. package/dist/settings-B7RMGKgf.js.map +0 -1
  132. package/dist/settings-CYKWxfrJ.cjs.map +0 -1
  133. package/dist/settings-layout-BxtShpY6.cjs +0 -46
  134. package/dist/settings-layout-BxtShpY6.cjs.map +0 -1
  135. package/dist/settings-layout-UPnWI3FZ.js +0 -41
  136. package/dist/settings-layout-UPnWI3FZ.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"EmptyState-juw2jci2.js","names":["_Fragment","_Fragment","_Fragment","hoverStyle","_Fragment","hoverStyle","_Fragment","hoverStyle","hoverStyle","hoverStyle","_Fragment","_Fragment","_Fragment"],"sources":["../src/ds/components/EmptyState/EmptyState.tsx","../src/ds/components/EmptyState/illustrations/api-keys-art.tsx","../src/ds/components/EmptyState/illustrations/databases-art.tsx","../src/ds/components/EmptyState/illustrations/deploys-art.tsx","../src/ds/components/EmptyState/illustrations/disconnected-art.tsx","../src/ds/components/EmptyState/illustrations/environments-art.tsx","../src/ds/components/EmptyState/illustrations/locked-art.tsx","../src/ds/components/EmptyState/illustrations/logs-art.tsx","../src/ds/components/EmptyState/illustrations/no-alerts-art.tsx","../src/ds/components/EmptyState/illustrations/no-charges-art.tsx","../src/ds/components/EmptyState/illustrations/no-destinations-art.tsx","../src/ds/components/EmptyState/illustrations/not-a-member-art.tsx","../src/ds/components/EmptyState/illustrations/rate-limited-art.tsx","../src/ds/components/EmptyState/illustrations/requests-art.tsx","../src/ds/components/EmptyState/illustrations/server-error-art.tsx","../src/ds/components/EmptyState/illustrations/threads-art.tsx","../src/ds/components/EmptyState/illustrations/traces-art.tsx","../src/ds/components/EmptyState/empty-state-illustration.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Txt } from '@/ds/components/Txt';\nimport { IconCircleBanSign } from '@/ds/icons/central/IconCircleBanSign';\nimport { IconCircleX } from '@/ds/icons/central/IconCircleX';\nimport { cn } from '@/lib/utils';\n\ntype EmptyStateTone = 'default' | 'error';\n\nconst defaultIconByTone: Record<EmptyStateTone, React.ReactNode> = {\n default: <IconCircleBanSign />,\n error: <IconCircleX />,\n};\n\nconst iconColorByTone: Record<EmptyStateTone, string> = {\n default: 'text-muted-foreground',\n error: 'text-destructive-foreground',\n};\n\nexport type EmptyStateProps = {\n /** Defaults to the tone's icon. A bare icon renders at 20px; pass `<EmptyStateIllustration />` for artwork. Pass `null` to render no icon. */\n iconSlot?: React.ReactNode;\n titleSlot: React.ReactNode;\n descriptionSlot?: React.ReactNode;\n actionSlot?: React.ReactNode;\n className?: string;\n as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';\n /** Colors the icon or illustration; an icon with its own text color keeps it. */\n tone?: EmptyStateTone;\n /**\n * `inline` (default) renders the block in place.\n * `fill` centers it in the full height of its parent — the parent must have a definite height.\n */\n variant?: 'inline' | 'fill';\n};\n\nexport function EmptyState({\n tone = 'default',\n iconSlot = defaultIconByTone[tone],\n titleSlot,\n descriptionSlot,\n actionSlot,\n className,\n as: HeadingTag = 'h3',\n variant = 'inline',\n}: EmptyStateProps) {\n const content = (\n <div\n data-tone={tone}\n className={cn(\n 'group/empty-state flex max-w-full flex-col items-center justify-center px-4 py-6 text-center',\n 'transition-opacity duration-normal ease-out-custom',\n className,\n )}\n >\n {iconSlot && <div className={cn('mb-3 max-w-full [&>svg]:size-icon-lg', iconColorByTone[tone])}>{iconSlot}</div>}\n <HeadingTag className=\"text-subheading text-foreground\">{titleSlot}</HeadingTag>\n {descriptionSlot && (\n <Txt variant=\"caption\" tone=\"muted\" className=\"mt-1.5 max-w-md wrap-anywhere\">\n {descriptionSlot}\n </Txt>\n )}\n {actionSlot && <div className=\"mt-4 max-w-full\">{actionSlot}</div>}\n </div>\n );\n\n if (variant === 'fill') {\n return (\n <div data-slot=\"empty-state-fill\" className=\"flex h-full items-center-safe justify-center-safe\">\n {content}\n </div>\n );\n }\n\n return content;\n}\n","export function ApiKeysArt({ id }: { id: string }) {\n return (\n <>\n <rect\n opacity=\"0.5\"\n x=\"0.746\"\n width=\"207.574\"\n height=\"40.288\"\n rx=\"20.144\"\n transform=\"matrix(0.849 -0.528 0.849 0.528 11.612 77.745)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"0.878\"\n />\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1.5\">\n <rect\n x=\"0.746\"\n width=\"207.574\"\n height=\"40.288\"\n rx=\"20.144\"\n transform=\"matrix(0.849 -0.528 0.849 0.528 11.612 69.479)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"0.878\"\n />\n <mask id={`${id}-0`} fill=\"white\">\n <path d=\"M41.33 61a4.6 4.6 0 0 1 4.41 0l1.88 1.17.68-1.6c.45-1.03 2.16-1.64 3.82-1.37 1.67.28 2.65 1.34 2.2 2.38l-.68 1.6 2.57-.43c1.66-.28 3.37.33 3.81 1.37.45 1.03-.54 2.1-2.2 2.37l-2.56.43 1.87 1.17c1.22.75 1.22 1.98 0 2.74-1.22.75-3.19.75-4.4 0l-1.88-1.17-.7 1.6c-.44 1.03-2.15 1.64-3.81 1.37-1.66-.28-2.65-1.34-2.2-2.38l.68-1.6-2.56.43c-1.67.28-3.38-.33-3.82-1.37-.45-1.03.54-2.1 2.2-2.37l2.57-.43-1.88-1.17c-1.22-.75-1.22-1.98 0-2.74\" />\n </mask>\n <path\n d=\"m41.33 61-.74-.46zm4.41 0 .75-.46zm1.88 1.17-.75.46 1.3.8.47-1.1zm.68-1.6-1.02-.16zm3.82-1.37.28-.63zm2.2 2.38 1.03.17zm-.68 1.6L52.62 63l-.47 1.1 1.76-.3zm2.57-.43.27.63zm3.81 1.37 1.02-.17zm-2.2 2.37.27.64zm-2.56.43-.28-.64-1.76.3 1.29.8zm1.87 3.9.75.47zm-6.28-1.16.74-.46-1.3-.8-.46 1.1zm-.7 1.6 1.03.16zm-3.81 1.37-.27.63zm-2.2-2.38 1.01.17zm.68-1.6 1.02.18.47-1.1-1.76.3zm-2.56.43.27.64zm-3.82-1.37-1.02.17zm2.2-2.37.28.63zm2.57-.43.27.63 1.76-.29-1.29-.8zm-1.88-1.17-.74.47zm0-2.74.75.47c.8-.5 2.11-.5 2.92 0l.74-.47.75-.46a6.1 6.1 0 0 0-5.9 0zm4.41 0-.74.47 1.87 1.16.75-.46.74-.47-1.87-1.16zm1.88 1.17 1.02.17.68-1.6-1.02-.16-1.02-.17L46.6 62zm.68-1.6 1.02.18c.3-.69 1.43-1.1 2.53-.91l.27-.64.28-.63c-2.23-.37-4.52.45-5.12 1.84zm3.82-1.37-.27.64c1.1.18 1.75.89 1.46 1.57l1.02.17 1.02.17c.6-1.39-.73-2.8-2.95-3.18zm2.2 2.38-1.01-.17-.69 1.6 1.02.16 1.02.17.69-1.6zm-.68 1.6.27.63 2.57-.43-.27-.63-.28-.64-2.56.43zm2.57-.43.27.63c1.1-.18 2.23.22 2.53.9l1.01-.16 1.02-.17c-.6-1.39-2.88-2.2-5.1-1.84zm3.81 1.37-1.01.17c.3.68-.36 1.39-1.46 1.57l.27.63.27.64c2.23-.38 3.55-1.8 2.95-3.18zm-2.2 2.37-.27-.63-2.57.42.28.64.27.63 2.56-.42zm-2.56.43-.75.46 1.88 1.17.74-.46.75-.47L56 66.45zm1.87 1.17-.74.46c.8.5.8 1.31 0 1.81l.74.47.75.46c1.63-1.01 1.63-2.66 0-3.67zm0 2.74-.74-.47c-.8.5-2.12.5-2.92 0l-.75.47-.74.46a6.1 6.1 0 0 0 5.9 0zm-4.4 0 .74-.47-1.88-1.16-.74.46-.75.46 1.88 1.17zm-1.88-1.17-1.02-.17-.69 1.6 1.02.17 1.02.16.68-1.59zm-.7 1.6-1.01-.17c-.3.68-1.43 1.09-2.53.9l-.27.64-.27.63c2.22.37 4.51-.45 5.1-1.84zm-3.81 1.37.27-.64c-1.1-.18-1.75-.88-1.46-1.57l-1.02-.17-1.01-.17c-.6 1.39.72 2.8 2.95 3.18zm-2.2-2.38 1.01.17.69-1.6-1.02-.16-1.02-.17-.68 1.6zm.68-1.6-.27-.63-2.57.43.28.63.27.64 2.56-.43zm-2.56.43-.27-.63c-1.1.18-2.24-.22-2.53-.9l-1.02.16-1.02.17c.6 1.39 2.88 2.2 5.11 1.84zm-3.82-1.37 1.02-.17c-.3-.68.36-1.38 1.46-1.57l-.28-.63-.27-.64c-2.23.38-3.55 1.8-2.95 3.18zm2.2-2.37.28.63 2.56-.43-.27-.63-.28-.63-2.56.42zm2.57-.43.74-.46-1.87-1.17-.75.46-.74.47 1.87 1.16zm-1.88-1.17.75-.46c-.8-.5-.8-1.31 0-1.81l-.75-.47-.74-.46c-1.63 1.01-1.63 2.65 0 3.67z\"\n fill=\"currentColor\"\n mask={`url(#${id}-0)`}\n />\n <mask id={`${id}-1`} fill=\"white\">\n <path d=\"M60.83 48.88a4.6 4.6 0 0 1 4.4 0l1.88 1.17.7-1.6c.44-1.03 2.15-1.65 3.81-1.37s2.65 1.34 2.2 2.38l-.68 1.59 2.56-.43c1.67-.27 3.38.34 3.82 1.37.45 1.04-.54 2.1-2.2 2.38l-2.57.43 1.88 1.16c1.22.76 1.22 1.99 0 2.74s-3.2.76-4.41 0l-1.88-1.16-.68 1.6c-.45 1.03-2.16 1.64-3.82 1.36-1.67-.27-2.65-1.34-2.2-2.37l.68-1.6-2.56.43c-1.67.28-3.38-.34-3.82-1.37-.45-1.03.54-2.1 2.2-2.37l2.56-.43-1.87-1.17c-1.22-.76-1.22-1.98 0-2.74\" />\n </mask>\n <path\n d=\"m60.83 48.88-.75-.46zm4.4 0 .75-.46zm1.88 1.17-.74.46 1.29.8.47-1.1zm.7-1.6-1.03-.17zm3.81-1.37.27-.63zm2.2 2.38 1.02.17zm-.68 1.59-1.02-.17-.47 1.1 1.76-.3zm2.56-.43.28.64zM79.52 52l1.02-.17zm-2.2 2.38.27.63zm-2.57.43-.27-.64-1.77.3 1.3.8zm1.88 3.9.75.47zm-6.29-1.16.75-.47-1.3-.8-.47 1.1zm-.68 1.6 1.01.16zm-3.82 1.36-.28.64zm-2.2-2.37 1.01.17zm.68-1.6 1.02.17.47-1.1-1.77.3zm-2.56.43.27.64zm-3.82-1.37-1.02.17zm2.2-2.37.27.63zm2.56-.43.28.63 1.76-.3-1.29-.8zm-1.87-1.17-.75.47zm0-2.74.74.46c.81-.5 2.12-.5 2.92 0l.75-.46.74-.46a6.1 6.1 0 0 0-5.9 0zm4.4 0-.74.46 1.88 1.17.74-.46.75-.47-1.88-1.16zm1.88 1.17 1.02.17.69-1.6-1.02-.17-1.02-.17-.68 1.6zm.7-1.6 1.01.17c.3-.68 1.43-1.09 2.53-.9l.27-.64.27-.63c-2.22-.37-4.51.45-5.1 1.83zm3.81-1.37-.27.64c1.1.18 1.75.88 1.46 1.57l1.02.17 1.01.17c.6-1.39-.72-2.81-2.95-3.18zm2.2 2.38-1.01-.17-.69 1.59 1.02.17 1.02.17.68-1.6zm-.68 1.59.27.63 2.57-.42-.28-.64-.27-.63-2.56.43zm2.56-.43.28.64c1.1-.19 2.23.22 2.52.9l1.02-.17 1.02-.17c-.6-1.38-2.88-2.2-5.11-1.83zM79.52 52l-1.02.17c.3.69-.36 1.4-1.46 1.58l.28.63.27.63c2.23-.37 3.55-1.8 2.95-3.18zm-2.2 2.38-.28-.63-2.56.42.27.64.28.63 2.56-.43zm-2.57.43-.74.46 1.87 1.17.75-.47.75-.46-1.88-1.17zm1.88 1.16-.75.47c.81.5.81 1.31 0 1.81l.75.46.75.47c1.63-1.02 1.63-2.66 0-3.67zm0 2.74-.75-.46c-.8.5-2.1.5-2.91 0l-.75.46-.75.47a6.1 6.1 0 0 0 5.9 0zm-4.41 0 .75-.46-1.88-1.17-.75.47-.74.46 1.87 1.17zm-1.88-1.16-1.02-.17-.68 1.6 1.02.16 1.01.17.7-1.6zm-.68 1.6-1.02-.18c-.3.69-1.43 1.1-2.53.91l-.27.63-.28.64c2.23.37 4.52-.45 5.11-1.84zm-3.82 1.36.27-.63c-1.1-.18-1.75-.89-1.46-1.57l-1.02-.17-1.02-.17c-.6 1.38.73 2.8 2.95 3.18zm-2.2-2.37 1.01.17.69-1.6-1.02-.17-1.02-.16-.69 1.59zm.68-1.6-.28-.63-2.56.43.28.63.27.64 2.56-.43zm-2.56.43-.28-.63c-1.1.18-2.23-.22-2.53-.9l-1.01.16-1.02.17c.6 1.38 2.88 2.2 5.1 1.84zm-3.82-1.37 1.01-.17c-.29-.68.36-1.39 1.46-1.57l-.27-.63-.27-.64c-2.23.37-3.55 1.8-2.95 3.18zm2.2-2.37.27.63 2.57-.43-.28-.63-.27-.63-2.56.42zm2.56-.43.75-.47-1.88-1.16-.74.46-.75.47 1.88 1.16zm-1.87-1.17.74-.46c-.8-.5-.8-1.32 0-1.82l-.74-.46-.75-.46c-1.63 1-1.63 2.65 0 3.67z\"\n fill=\"currentColor\"\n mask={`url(#${id}-1)`}\n />\n <mask id={`${id}-2`} fill=\"white\">\n <path d=\"M80.33 36.76a4.6 4.6 0 0 1 4.4 0l1.88 1.16.69-1.6c.44-1.02 2.15-1.64 3.82-1.36 1.66.28 2.65 1.34 2.2 2.37l-.68 1.6 2.56-.43c1.66-.28 3.37.34 3.82 1.37.44 1.04-.54 2.1-2.2 2.38l-2.57.42 1.88 1.17c1.22.76 1.22 1.98 0 2.74s-3.2.76-4.41 0l-1.88-1.17-.69 1.6c-.44 1.03-2.15 1.65-3.82 1.37-1.66-.28-2.65-1.34-2.2-2.37l.68-1.6-2.56.43c-1.66.28-3.37-.34-3.82-1.37-.44-1.04.54-2.1 2.2-2.38l2.57-.43-1.87-1.16c-1.22-.76-1.22-1.99 0-2.74\" />\n </mask>\n <path\n d=\"m80.33 36.76-.75-.47zm4.4 0 .75-.47zm1.88 1.16-.74.47 1.29.8.47-1.1zm.69-1.6-1.02-.16zm3.82-1.36.27-.64zm2.2 2.37 1.02.17zm-.68 1.6-1.02-.17-.48 1.1 1.77-.3zm2.56-.43.27.63zm3.82 1.37 1.02-.17zm-2.2 2.38.27.63zm-2.57.42-.27-.63-1.77.3 1.3.8zm1.88 3.91.74.47zm-6.29-1.17.75-.46-1.3-.8-.47 1.1zm-.69 1.6 1.02.17zm-3.82 1.37-.27.63zm-2.2-2.37 1.02.16zm.68-1.6 1.02.17.47-1.1-1.76.3zm-2.56.43.28.63zm-3.82-1.37-1.02.17zm2.2-2.38.28.64zm2.57-.43.27.64 1.77-.3-1.3-.8zm-1.87-1.16-.75.46zm0-2.74.74.46c.8-.5 2.11-.5 2.92 0l.75-.46.74-.47a6.1 6.1 0 0 0-5.9 0zm4.4 0-.74.46 1.88 1.17.74-.47.75-.46-1.88-1.17zm1.88 1.16 1.02.17.69-1.6-1.02-.16-1.02-.17-.69 1.6zm.69-1.6 1.02.18c.3-.69 1.42-1.1 2.52-.9l.28-.64.27-.64c-2.23-.37-4.51.46-5.11 1.84zm3.82-1.36-.28.63c1.1.19 1.76.89 1.46 1.57l1.02.17 1.02.17c.6-1.38-.72-2.8-2.95-3.18zm2.2 2.37-1.02-.17-.68 1.6 1.02.17 1.01.17.7-1.6zm-.68 1.6.27.63 2.56-.43-.27-.63-.27-.63-2.57.42zm2.56-.43.27.63c1.1-.18 2.24.23 2.53.91l1.02-.17 1.02-.17c-.6-1.38-2.89-2.2-5.11-1.83zm3.82 1.37-1.02.17c.3.69-.36 1.39-1.46 1.57l.27.64.28.63c2.22-.37 3.54-1.8 2.95-3.18zm-2.2 2.38-.28-.64-2.56.43.27.63.27.64 2.57-.43zm-2.57.42-.75.47 1.88 1.16.75-.46.74-.46L95 42.2zm1.88 1.17-.75.46c.8.5.8 1.32 0 1.82l.75.46.74.47c1.63-1.02 1.63-2.66 0-3.67zm0 2.74-.75-.46c-.8.5-2.11.5-2.92 0l-.74.46-.75.47a6.1 6.1 0 0 0 5.9 0zm-4.41 0 .74-.46-1.87-1.17-.75.46-.75.47 1.88 1.17zm-1.88-1.17-1.02-.17-.69 1.6 1.02.17 1.02.17.69-1.6zm-.69 1.6-1.02-.17c-.29.68-1.42 1.09-2.52.9l-.28.64-.27.63c2.23.37 4.52-.45 5.11-1.83zm-3.82 1.37.28-.63c-1.1-.19-1.76-.9-1.46-1.58l-1.02-.16-1.02-.17c-.6 1.38.73 2.8 2.95 3.17zm-2.2-2.37 1.02.16.68-1.59-1.02-.17-1.02-.17-.68 1.6zm.68-1.6-.27-.63-2.56.43.27.63.28.63 2.56-.42zm-2.56.43-.27-.63c-1.1.18-2.23-.23-2.53-.91l-1.02.17-1.02.17c.6 1.38 2.89 2.2 5.12 1.83zm-3.82-1.37 1.02-.17c-.3-.69.36-1.4 1.46-1.57l-.27-.64-.28-.63c-2.22.37-3.54 1.8-2.95 3.18zm2.2-2.38.28.64 2.56-.43-.27-.64-.27-.63-2.57.43zm2.57-.43.75-.46-1.88-1.17-.74.47-.75.46 1.88 1.17zm-1.87-1.16.74-.47c-.8-.5-.8-1.3 0-1.81l-.74-.46-.75-.47c-1.63 1.02-1.63 2.66 0 3.67z\"\n fill=\"currentColor\"\n mask={`url(#${id}-2)`}\n />\n <mask id={`${id}-3`} fill=\"white\">\n <path d=\"M99.82 24.63a4.6 4.6 0 0 1 4.41 0l1.88 1.17.69-1.6c.44-1.03 2.15-1.64 3.81-1.36s2.66 1.34 2.21 2.37l-.69 1.6 2.57-.43c1.66-.28 3.37.33 3.82 1.37.44 1.03-.55 2.1-2.2 2.37l-2.57.43 1.87 1.17c1.22.75 1.22 1.98 0 2.74-1.21.76-3.19.76-4.4 0l-1.88-1.17-.69 1.6c-.45 1.03-2.16 1.64-3.82 1.37-1.66-.28-2.65-1.34-2.2-2.38l.68-1.6-2.56.44c-1.66.27-3.37-.34-3.82-1.38s.54-2.1 2.2-2.37l2.57-.43-1.88-1.16c-1.22-.76-1.22-1.99 0-2.75\" />\n </mask>\n <path\n d=\"m99.82 24.63-.74-.46zm4.41 0 .75-.46zm1.88 1.17-.75.46 1.3.8.47-1.1zm.69-1.6 1.01.18zm3.81-1.36.28-.64zm2.21 2.37 1.02.17zm-.69 1.6-1.02-.18-.47 1.1 1.77-.3zm2.57-.43.27.63zm3.82 1.37 1.02-.17zm-2.2 2.37.26.64zm-2.57.43-.28-.63-1.76.29 1.3.8zm1.87 3.9.75.47zm-6.28-1.16.74-.46-1.29-.8-.47 1.1zm-.69 1.6 1.02.17zm-3.82 1.37-.27.63zm-2.2-2.38 1.02.17zm.68-1.6 1.02.18.47-1.1-1.76.3zm-2.56.44.27.63zm-3.82-1.38-1.02.17zm2.2-2.37.28.63zm2.57-.43.27.64 1.77-.3-1.3-.8zm-1.88-1.16-.74.46zm0-2.75.75.47c.8-.5 2.11-.5 2.92 0l.74-.47.75-.46a6.1 6.1 0 0 0-5.9 0zm4.41 0-.74.47 1.87 1.16.75-.46.74-.46-1.87-1.17zm1.88 1.17 1.02.17.68-1.6-1.02-.16-1.01-.17-.69 1.59zm.69-1.6 1.01.18c.3-.69 1.43-1.1 2.53-.91l.27-.63.28-.64c-2.23-.37-4.52.45-5.11 1.84zm3.81-1.36-.27.63c1.1.18 1.76.89 1.46 1.57l1.02.17 1.02.17c.6-1.38-.73-2.8-2.95-3.18zm2.21 2.37-1.02-.17-.69 1.6 1.02.16 1.02.17.69-1.59zm-.69 1.6.28.63 2.56-.43-.27-.63-.28-.64-2.56.43zm2.57-.43.27.63c1.1-.18 2.23.22 2.53.9l1.02-.16 1.02-.17c-.6-1.39-2.89-2.2-5.12-1.84zm3.82 1.37-1.02.17c.3.68-.36 1.39-1.46 1.57l.27.63.27.64c2.23-.37 3.55-1.8 2.96-3.18zm-2.2 2.37-.28-.63-2.57.43.28.63.27.63 2.56-.42zm-2.57.43L113 31l1.88 1.17.74-.46.75-.47-1.88-1.16zm1.87 1.17-.74.46c.8.5.8 1.31 0 1.81l.74.47.75.46c1.63-1.01 1.63-2.65 0-3.67zm0 2.74-.74-.47c-.8.5-2.11.5-2.92 0l-.75.47-.74.46a6.1 6.1 0 0 0 5.9 0zm-4.4 0 .74-.47-1.88-1.16-.74.46-.75.47 1.88 1.16zm-1.88-1.17-1.02-.17-.69 1.6 1.02.17 1.02.17.69-1.6zm-.69 1.6-1.02-.17c-.3.68-1.42 1.09-2.53.9l-.27.64-.27.63c2.22.37 4.51-.45 5.1-1.83zm-3.82 1.37.27-.64c-1.1-.18-1.75-.88-1.45-1.57l-1.02-.17-1.02-.17c-.6 1.39.72 2.81 2.95 3.18zm-2.2-2.38 1.02.17.68-1.6-1.02-.16-1.02-.17-.68 1.6zm.68-1.6-.27-.62-2.56.42.27.64.27.63 2.56-.43zm-2.56.44-.27-.64c-1.1.19-2.24-.22-2.53-.9l-1.02.16-1.02.17c.6 1.39 2.89 2.21 5.11 1.84zm-3.82-1.38 1.02-.17c-.3-.68.36-1.38 1.46-1.57l-.28-.63-.27-.63c-2.22.37-3.54 1.79-2.95 3.17zm2.2-2.37.28.63 2.56-.42-.27-.64-.28-.63-2.56.43zm2.57-.43.74-.46-1.87-1.17-.75.47-.74.46 1.87 1.17zm-1.88-1.16.75-.47c-.8-.5-.8-1.31 0-1.81l-.75-.47-.74-.46c-1.63 1.01-1.63 2.66 0 3.67z\"\n fill=\"currentColor\"\n mask={`url(#${id}-3)`}\n />\n <mask id={`${id}-4`} fill=\"white\">\n <path d=\"M119.32 12.51a4.6 4.6 0 0 1 4.41 0l1.88 1.17.68-1.6c.45-1.03 2.16-1.64 3.82-1.37 1.67.28 2.65 1.34 2.2 2.38l-.68 1.6 2.56-.44c1.67-.27 3.38.34 3.82 1.37.45 1.04-.54 2.1-2.2 2.38l-2.56.43 1.87 1.16c1.22.76 1.22 1.99 0 2.75-1.22.75-3.2.75-4.4 0l-1.88-1.17-.7 1.6c-.44 1.03-2.15 1.64-3.81 1.36s-2.65-1.34-2.2-2.37l.68-1.6-2.56.43c-1.67.28-3.38-.33-3.82-1.37-.45-1.03.54-2.1 2.2-2.37l2.57-.43-1.88-1.17c-1.22-.75-1.22-1.98 0-2.74\" />\n </mask>\n <path\n d=\"m119.32 12.51-.75-.46zm4.41 0 .75-.46zm1.88 1.17-.75.46 1.3.8.47-1.1zm.68-1.6 1.02.17zm3.82-1.37.28-.63zm2.2 2.38 1.03.17zm-.68 1.6-1.02-.18-.47 1.1 1.76-.3zm2.56-.44.28.64zm3.82 1.37 1.02-.16zm-2.2 2.38.27.63zm-2.56.43-.28-.64-1.76.3 1.29.8zm1.87 3.9.75.47zm-6.28-1.16.74-.47-1.3-.8-.46 1.1zm-.7 1.6 1.03.16zm-3.81 1.36-.27.64zm-2.2-2.37 1.01.17zm.68-1.6 1.02.17.47-1.1-1.76.3zm-2.56.43.27.64zm-3.82-1.37-1.02.17zm2.2-2.37.28.63zm2.57-.43.27.63 1.76-.3-1.29-.8zm-1.88-1.17-.75.47zm0-2.74.75.46c.8-.5 2.1-.5 2.91 0l.75-.46.75-.46a6.1 6.1 0 0 0-5.9 0zm4.41 0-.75.46 1.88 1.17.75-.46.74-.47-1.87-1.16zm1.88 1.17 1.02.17.68-1.6-1.02-.17-1.02-.17-.68 1.6zm.68-1.6 1.02.17c.3-.68 1.43-1.09 2.53-.9l.27-.64.28-.63c-2.23-.37-4.52.45-5.12 1.83zm3.82-1.37-.27.64c1.1.18 1.75.88 1.46 1.57l1.02.17 1.02.17c.6-1.39-.73-2.81-2.95-3.18zm2.2 2.38-1.01-.17-.69 1.6 1.02.16 1.02.17.69-1.6zm-.68 1.6.27.62 2.57-.42-.28-.64-.27-.63-2.56.43zm2.56-.44.28.64c1.1-.19 2.23.22 2.53.9l1.01-.17 1.02-.16c-.6-1.39-2.88-2.21-5.1-1.84zm3.82 1.37-1.01.17c.3.69-.36 1.4-1.47 1.58l.28.63.27.63c2.23-.37 3.55-1.8 2.95-3.17zm-2.2 2.38-.27-.63-2.57.42.28.64.27.63 2.56-.43zm-2.56.43-.75.46 1.88 1.17.74-.47.75-.46-1.88-1.17zm1.87 1.16-.74.47c.8.5.8 1.31 0 1.81l.74.47.75.46c1.63-1.01 1.63-2.66 0-3.67zm0 2.75-.74-.47c-.81.5-2.12.5-2.92 0l-.75.47-.74.46a6.1 6.1 0 0 0 5.9 0zm-4.4 0 .74-.47-1.88-1.17-.75.47-.74.46 1.88 1.17zm-1.88-1.17-1.02-.17-.7 1.6 1.03.16 1.02.17.68-1.6zm-.7 1.6-1.01-.18c-.3.69-1.43 1.1-2.53.91l-.27.63-.27.64c2.22.37 4.51-.45 5.1-1.84zm-3.81 1.36.27-.63c-1.1-.18-1.75-.89-1.46-1.57l-1.02-.17-1.02-.17c-.6 1.38.73 2.8 2.96 3.18zm-2.2-2.37 1.01.17.69-1.6-1.02-.16-1.02-.17-.69 1.59zm.68-1.6-.27-.63-2.57.43.28.63.27.64 2.56-.43zm-2.56.43-.28-.63c-1.1.18-2.23-.22-2.52-.9l-1.02.16-1.02.17c.6 1.39 2.89 2.2 5.11 1.84zm-3.82-1.37 1.02-.17c-.3-.68.36-1.39 1.46-1.57l-.28-.63-.27-.64c-2.22.37-3.55 1.8-2.95 3.18zm2.2-2.37.28.63 2.56-.43-.27-.63-.28-.63-2.56.42zm2.57-.43.74-.46-1.87-1.17-.75.46-.75.47 1.88 1.16zm-1.88-1.17.75-.46c-.81-.5-.81-1.31 0-1.82l-.75-.46-.75-.46c-1.63 1.01-1.63 2.65 0 3.67z\"\n fill=\"currentColor\"\n mask={`url(#${id}-4)`}\n />\n </g>\n </>\n );\n}\n","export function DatabasesArt({ id }: { id: string }) {\n return (\n <>\n <rect\n width=\"48.964\"\n height=\"48.964\"\n rx=\"13.091\"\n transform=\"matrix(0.85 0.527 -0.85 0.527 59.888 76.317)\"\n className=\"fill-background\"\n />\n <rect\n x=\"0\"\n y=\"0.627\"\n width=\"47.773\"\n height=\"47.773\"\n rx=\"12.496\"\n transform=\"matrix(0.85 0.527 -0.85 0.527 60.421 76.614)\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.5\"\n strokeWidth=\"1.19\"\n />\n <rect\n x=\"0\"\n y=\"0.627\"\n width=\"47.773\"\n height=\"47.773\"\n rx=\"12.496\"\n transform=\"matrix(0.85 0.527 -0.85 0.527 60.421 70.969)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"1.19\"\n />\n <circle\n cx=\"4.866\"\n cy=\"4.866\"\n r=\"4.27\"\n transform=\"matrix(0.85 0.527 -0.85 0.527 60.084 103.266)\"\n stroke=\"currentColor\"\n strokeWidth=\"1.19\"\n />\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-0.5\">\n <rect\n width=\"48.964\"\n height=\"48.964\"\n rx=\"13.091\"\n transform=\"matrix(0.85 0.527 -0.85 0.527 59.888 59.189)\"\n className=\"fill-background\"\n />\n <rect\n x=\"0\"\n y=\"0.627\"\n width=\"47.773\"\n height=\"47.773\"\n rx=\"12.496\"\n transform=\"matrix(0.85 0.527 -0.85 0.527 60.421 59.486)\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.5\"\n strokeWidth=\"1.19\"\n />\n <rect\n x=\"0\"\n y=\"0.627\"\n width=\"47.773\"\n height=\"47.773\"\n rx=\"12.496\"\n transform=\"matrix(0.85 0.527 -0.85 0.527 60.421 53.84)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"1.19\"\n />\n <circle\n cx=\"4.866\"\n cy=\"4.866\"\n r=\"4.27\"\n transform=\"matrix(0.85 0.527 -0.85 0.527 60.084 86.137)\"\n stroke=\"currentColor\"\n strokeWidth=\"1.19\"\n />\n </g>\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1\">\n <rect\n width=\"48.964\"\n height=\"48.964\"\n rx=\"13.091\"\n transform=\"matrix(0.85 0.527 -0.85 0.527 59.888 43.424)\"\n className=\"fill-background\"\n />\n <rect\n x=\"0\"\n y=\"0.627\"\n width=\"47.773\"\n height=\"47.773\"\n rx=\"12.496\"\n transform=\"matrix(0.85 0.527 -0.85 0.527 60.421 43.721)\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.5\"\n strokeWidth=\"1.19\"\n />\n <rect\n x=\"0\"\n y=\"0.627\"\n width=\"47.773\"\n height=\"47.773\"\n rx=\"12.496\"\n transform=\"matrix(0.85 0.527 -0.85 0.527 60.421 38.075)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"1.19\"\n />\n <circle\n cx=\"4.866\"\n cy=\"4.866\"\n r=\"4.27\"\n transform=\"matrix(0.85 0.527 -0.85 0.527 60.084 70.372)\"\n stroke=\"currentColor\"\n strokeWidth=\"1.19\"\n />\n </g>\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1.5\">\n <rect\n width=\"48.964\"\n height=\"48.964\"\n rx=\"13.091\"\n transform=\"matrix(0.85 0.527 -0.85 0.527 59.888 28.191)\"\n className=\"fill-background\"\n />\n <rect\n x=\"0\"\n y=\"0.627\"\n width=\"47.773\"\n height=\"47.773\"\n rx=\"12.496\"\n transform=\"matrix(0.85 0.527 -0.85 0.527 60.421 28.488)\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.5\"\n strokeWidth=\"1.19\"\n />\n <rect\n x=\"0\"\n y=\"0.627\"\n width=\"47.773\"\n height=\"47.773\"\n rx=\"12.496\"\n transform=\"matrix(0.85 0.527 -0.85 0.527 60.421 22.843)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"1.19\"\n />\n <circle\n cx=\"4.866\"\n cy=\"4.866\"\n r=\"4.27\"\n transform=\"matrix(0.85 0.527 -0.85 0.527 60.084 55.14)\"\n stroke=\"currentColor\"\n strokeWidth=\"1.19\"\n />\n </g>\n <rect x=\"21.281\" y=\"65.614\" width=\"78.576\" height=\"61.442\" fill={`url(#${id}-0)`} />\n\n <defs>\n <linearGradient id={`${id}-0`} x1=\"60.569\" y1=\"65.614\" x2=\"60.569\" y2=\"127.055\" gradientUnits=\"userSpaceOnUse\">\n <stop style={{ stopColor: 'var(--color-background)' }} stopOpacity=\"0\" />\n <stop offset=\"1\" style={{ stopColor: 'var(--color-background)' }} />\n </linearGradient>\n </defs>\n </>\n );\n}\n","export function DeploysArt() {\n return (\n <>\n <path\n d=\"M89.01 73.87c-9.15 5.6-21.58 7.97-33.49 7.11-2.34-.17-4.01-1.47-3.74-2.9.28-1.43 2.4-2.46 4.74-2.3 9.43.69 19.23-1.19 26.45-5.61 5.26-3.22 8.31-7.29 9.16-11.49 1.16-5.8-1.89-11.85-9.16-16.3-12.52-7.68-32.83-7.68-45.35 0-7.23 4.42-10.29 10.43-9.18 16.2l.02.11c.17 1.4-1.47 2.63-3.75 2.8-2.35.17-4.47-.86-4.74-2.3a15 15 0 0 1-.27-3.53c.25-6.16 4.2-12.28 11.88-16.98 15.86-9.72 41.57-9.72 57.43 0 7.76 4.75 11.73 10.96 11.89 17.2.17 6.5-3.8 13.03-11.89 17.99\"\n className=\"fill-background\"\n />\n <path\n d=\"M92.13 58.68c-.85 4.2-3.9 8.27-9.16 11.49-7.22 4.42-17.02 6.3-26.45 5.62-2.34-.17-4.46.86-4.74 2.3-.27 1.42 1.4 2.72 3.74 2.9 11.91.85 24.34-1.52 33.49-7.12 8.1-4.96 12.06-11.5 11.89-18-.16-6.23-4.13-12.44-11.89-17.2-15.86-9.71-41.57-9.71-57.43 0-7.67 4.7-11.63 10.83-11.88 16.99q-.07 1.77.27 3.54c.27 1.43 2.4 2.46 4.74 2.29 2.28-.17 3.92-1.4 3.75-2.8q0-.05-.02-.1c-1.1-5.78 1.95-11.79 9.18-16.22 12.52-7.67 32.83-7.67 45.35 0 7.27 4.46 10.32 10.51 9.16 16.31m-40.35 19.4v4.83c-.27 1.43 1.4 2.73 3.74 2.9 11.91.86 24.34-1.51 33.49-7.12 7.75-4.75 11.72-10.94 11.89-17.17v-5.65M28.44 58.6v4.82c.28 1.44-1.4 2.74-3.73 2.9-2.35.17-4.47-.85-4.74-2.29l-.27-.98v-7.38m8.76 3.03c.84-4.2 3.9-8.26 9.16-11.49 12.52-7.67 32.83-7.67 45.35 0 5.26 3.22 8.31 7.29 9.16 11.48\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.5\"\n strokeWidth=\"0.756\"\n strokeLinecap=\"round\"\n />\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1.5\">\n <path\n d=\"M74.1 56.26c-6.01 3.68-14.9 4.55-22.26 2.59-1.74-.47-3.82-.36-5.16.47L1.74 86.85a6.3 6.3 0 0 1-6.04 0c-.8-.49-1.22-1.13-1.25-1.78-.03-.69.4-1.39 1.25-1.91l44.94-27.54c1.34-.82 1.52-2.1.77-3.17-3.2-4.5-1.8-9.95 4.23-13.64 7.86-4.82 20.6-4.82 28.47 0 3.75 2.3 5.71 5.29 5.88 8.3.18 3.3-1.78 6.63-5.88 9.15\"\n className=\"fill-background\"\n />\n <path\n d=\"M-5.55 85.07c.03.65.45 1.3 1.25 1.78a6.3 6.3 0 0 0 6.04 0l44.94-27.53c1.34-.83 3.42-.94 5.16-.47 7.36 1.96 16.25 1.1 22.27-2.6 4.1-2.51 6.06-5.84 5.88-9.14-.17-3.01-2.13-6-5.88-8.3-7.87-4.82-20.61-4.82-28.47 0-6.02 3.69-7.43 9.13-4.23 13.64.75 1.07.57 2.35-.77 3.17L-4.3 83.16c-.86.52-1.28 1.22-1.25 1.91M80 47.11l.23 14.27c-.07 3.1-2.03 6.2-5.9 8.57-6.02 3.69-14.9 4.55-22.26 2.59-1.74-.46-3.82-.35-5.16.47L1.96 100.55a6.3 6.3 0 0 1-6.04 0c-.78-.48-1.2-1.1-1.25-1.73l-.22-13.75\"\n stroke=\"currentColor\"\n strokeWidth=\"0.756\"\n strokeLinecap=\"round\"\n />\n </g>\n </>\n );\n}\n","import type { CSSProperties } from 'react';\n\nconst hoverStyle: CSSProperties & { '--hover-shift': string } = { '--hover-shift': '10.18px -5.09px' };\n\nexport function DisconnectedArt() {\n return (\n <g strokeWidth=\"0.9\">\n <path\n d=\"m55.24 41.9.64-1.6 1.83-1.37 11.87-5.94 2.73-.91 3.21-.32 3.22.32 2.72.91 16.97 8.49 1.83 1.36.63 1.61v15.59l-.63 1.6-1.83 1.37-11.88 5.94-2.72.91-3.21.32-3.22-.32-2.72-.91-16.97-8.49-1.83-1.36-.64-1.61Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"m98.97 44.45-.49 1.24-1.4 1.05-11.88 5.94-2.1.7-2.48.25-2.48-.25-2.11-.7-16.97-8.49-1.4-1.05-.5-1.24\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path\n d=\"m73.57 61.64-.02-.37-.07-.38-.11-.39-.15-.38-.19-.37-.23-.34-.25-.32-.27-.27-.28-.22-.29-.18-.3-.12-.28-.06-.27.01-.25.06-.22.12-.19.18-.16.23-.11.27-.07.32-.02.34.02.37.07.39.11.38.16.39.19.36.22.35.25.31.27.27.28.23.3.17.29.12.28.06h.27l.25-.06.23-.13.19-.17.15-.23.11-.28.07-.31zm-11.03-5.51-.02-.37-.07-.39-.11-.38-.15-.39-.2-.36-.22-.35-.25-.31-.27-.27-.28-.23-.3-.17-.29-.12-.28-.06h-.27l-.25.06-.23.13-.19.17-.15.23-.11.28-.07.31-.02.35.02.37.07.38.11.39.15.38.19.37.23.34.25.32.27.27.28.22.29.18.3.12.28.05h.27l.25-.06.22-.12.2-.18.15-.23.11-.27.07-.32z\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n />\n <g\n className=\"motion-safe:transition-[translate,transform] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:[translate:var(--hover-shift)]\"\n style={hoverStyle}\n >\n <path\n d=\"m50.81 68.69.14-.34.39-.29 9.33-4.67.59-.19.69-.07.69.07.58.19.39.29.14.35v3.12l-.14.34-.39.29-9.33 4.67-.59.19-.69.07-.68-.07-.59-.19-.39-.29-.14-.35Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n <path\n d=\"m63.15 64.03-.09.23-.26.19-9.34 4.67-.39.13-.46.04-.46-.04-.38-.13-.26-.2-.1-.23\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path\n d=\"m39.78 63.18.14-.35.39-.29 9.33-4.66.59-.2.69-.07.69.07.58.2.39.29.14.34v3.12l-.14.34-.39.3-9.33 4.66-.59.2-.69.07-.69-.07-.58-.2-.39-.29-.14-.34Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n <path\n d=\"m52.12 58.51-.09.23-.26.2-9.34 4.66-.39.13-.46.05-.46-.05-.39-.13-.26-.19-.09-.23\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path\n d=\"m19.11 65.2.55-1.38 1.56-1.17 10.18-5.09 2.34-.78 2.75-.28 2.76.28 2.33.78 11.88 5.94 1.56 1.17.55 1.37v13.51l-.55 1.38-1.56 1.17-10.18 5.09-2.34.78-2.75.27-2.76-.27-2.33-.78-11.88-5.94-1.56-1.17-.55-1.37Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"m53.89 66.04-.42 1.06-1.2.9-10.18 5.09-1.79.59-2.11.21-2.11-.21-1.79-.59-11.88-5.94-1.2-.9-.42-1.05\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path\n d=\"m-111.53 145.23.32-.8.91-.68L21.22 77.99l1.36-.46 1.61-.16 1.61.16 1.36.46.91.68.32.8v6.24l-.32.8-.91.68-131.52 65.76-1.37.46-1.6.16-1.61-.16-1.36-.46-.91-.68-.32-.8Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"m27.43 79.47-.25.62-.7.53-131.52 65.76-1.05.35-1.24.12-1.24-.12-1.05-.35-.71-.53-.24-.62\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n </g>\n </g>\n );\n}\n","export function EnvironmentsArt() {\n return (\n <>\n <rect\n opacity=\"0.5\"\n x=\"0.678\"\n width=\"31.838\"\n height=\"31.838\"\n rx=\"8.354\"\n transform=\"matrix(0.852 -0.523 0.852 0.523 27.797 59.49)\"\n stroke=\"currentColor\"\n strokeWidth=\"0.796\"\n />\n <rect\n opacity=\"0.5\"\n x=\"0.678\"\n width=\"31.838\"\n height=\"31.838\"\n rx=\"8.354\"\n transform=\"matrix(0.852 -0.523 0.852 0.523 58.569 78.359)\"\n stroke=\"currentColor\"\n strokeWidth=\"0.796\"\n />\n <rect\n opacity=\"0.5\"\n x=\"0.678\"\n width=\"31.838\"\n height=\"31.838\"\n rx=\"8.354\"\n transform=\"matrix(0.852 -0.523 0.852 0.523 89.16 59.6)\"\n stroke=\"currentColor\"\n strokeWidth=\"0.796\"\n />\n <rect\n opacity=\"0.5\"\n x=\"0.678\"\n width=\"90.654\"\n height=\"91.138\"\n rx=\"13.128\"\n transform=\"matrix(0.852 -0.523 0.852 0.523 8.195 59.148)\"\n stroke=\"currentColor\"\n strokeWidth=\"0.796\"\n strokeDasharray=\"1.59 1.59\"\n />\n <rect\n opacity=\"0.5\"\n x=\"0.678\"\n width=\"13.926\"\n height=\"13.926\"\n rx=\"5.967\"\n transform=\"matrix(0.852 -0.523 0.852 0.523 58.36 40.75)\"\n stroke=\"currentColor\"\n strokeWidth=\"0.796\"\n />\n <rect\n opacity=\"0.5\"\n x=\"0.678\"\n width=\"13.926\"\n height=\"13.926\"\n rx=\"5.967\"\n transform=\"matrix(0.852 -0.523 0.852 0.523 73.34 31.564)\"\n stroke=\"currentColor\"\n strokeWidth=\"0.796\"\n />\n <rect\n opacity=\"0.5\"\n x=\"0.678\"\n width=\"13.926\"\n height=\"13.926\"\n rx=\"5.967\"\n transform=\"matrix(0.852 -0.523 0.852 0.523 73.468 50.014)\"\n stroke=\"currentColor\"\n strokeWidth=\"0.796\"\n />\n <rect\n opacity=\"0.5\"\n x=\"0.678\"\n width=\"13.926\"\n height=\"13.926\"\n rx=\"5.967\"\n transform=\"matrix(0.852 -0.523 0.852 0.523 88.448 40.828)\"\n stroke=\"currentColor\"\n strokeWidth=\"0.796\"\n />\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1\">\n <rect\n x=\"0.678\"\n width=\"31.838\"\n height=\"31.838\"\n rx=\"8.354\"\n transform=\"matrix(0.852 -0.523 0.852 0.523 27.797 54.023)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"0.796\"\n />\n <rect\n x=\"0.678\"\n width=\"31.838\"\n height=\"31.838\"\n rx=\"8.354\"\n transform=\"matrix(0.852 -0.523 0.852 0.523 58.569 72.892)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"0.796\"\n />\n <rect\n x=\"0.678\"\n width=\"31.838\"\n height=\"31.838\"\n rx=\"8.354\"\n transform=\"matrix(0.852 -0.523 0.852 0.523 89.16 54.133)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"0.796\"\n />\n </g>\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:delay-75 motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-2\">\n <rect\n x=\"0.678\"\n width=\"13.926\"\n height=\"13.926\"\n rx=\"5.967\"\n transform=\"matrix(0.852 -0.523 0.852 0.523 58.359 35.283)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"0.796\"\n />\n <rect\n x=\"0.678\"\n width=\"13.926\"\n height=\"13.926\"\n rx=\"5.967\"\n transform=\"matrix(0.852 -0.523 0.852 0.523 73.34 26.097)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"0.796\"\n />\n <rect\n x=\"0.678\"\n width=\"13.926\"\n height=\"13.926\"\n rx=\"5.967\"\n transform=\"matrix(0.852 -0.523 0.852 0.523 73.468 44.547)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"0.796\"\n />\n <rect\n x=\"0.678\"\n width=\"13.926\"\n height=\"13.926\"\n rx=\"5.967\"\n transform=\"matrix(0.852 -0.523 0.852 0.523 88.448 35.361)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"0.796\"\n />\n </g>\n </>\n );\n}\n","import type { CSSProperties } from 'react';\n\nconst hoverStyle: CSSProperties & { '--hover-shift': string } = { '--hover-shift': '0px -10.61px' };\n\nexport function LockedArt({ id }: { id: string }) {\n return (\n <g strokeWidth=\"0.9\">\n <path\n d=\"m33.93 46.9.66-1.68 1.9-1.41 7.42-3.72 2.84-.95 3.35-.33 3.35.33 2.84.95L83.51 53.7l1.9 1.42.66 1.68v36.37l-.66 1.68-1.9 1.42-7.42 3.71-2.84.95-3.35.33-3.35-.33-2.84-.95-27.22-13.61-1.9-1.42-.66-1.68Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"m83.62 56.8-.48 1.2-1.36 1.03-7.43 3.71-2.04.68-2.41.24-2.41-.24-2.05-.68-27.22-13.61-1.36-1.03-.48-1.2\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path\n d=\"m51.96 47.83-.63.26-.7.22-.76.16-.8.09-.83.04-.82-.04-.8-.09-.76-.16-.7-.22-.63-.26-.53-.32-.43-.35-.32-.38-.19-.4-.07-.41.07-.41.19-.4.32-.38.43-.35.53-.32.63-.26.7-.22.76-.16.8-.09.82-.03.83.03.8.09.76.16.7.22.63.26.53.32.43.35.32.38.19.4.06.41-.06.41-.19.4-.32.38-.43.35zm23.51 11.75-.63.27-.7.22-.76.15-.8.1-.82.03-.83-.03-.8-.1-.76-.15-.7-.22-.63-.27-.53-.31-.43-.35-.32-.38-.19-.4-.06-.41.06-.41.19-.4.32-.39.43-.35.53-.31.63-.27.7-.21.76-.16.8-.1.83-.03.82.03.8.1.76.16.7.21.63.27.53.31.43.35.32.39.19.4.07.41-.07.41-.19.4-.32.38-.43.35z\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n strokeLinecap=\"round\"\n />\n <path\n d=\"m53.32 73.56-.04-.63-.12-.66-.19-.67-.27-.66-.32-.63-.39-.6-.43-.54-.47-.47-.49-.39-.5-.3-.5-.2-.49-.1h-.47l-.43.11-.38.21-.33.31-.27.39-.19.48-.12.54-.04.6.04.63.12.66.19.67.27.66.33.63.38.6.43.53.47.47.49.39.5.3.5.21.49.1h.47l.43-.11.39-.21.32-.31.27-.39.19-.48.12-.54zm-3.22 2.03v6.97\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n />\n <mask id={`${id}-shackle`} maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"120\" height=\"120\">\n <rect width=\"120\" height=\"120\" fill=\"white\" />\n <path d=\"M43.24 45.97h10v60h-10Z\" fill=\"black\" />\n <path d=\"M66.76 57.73h10v60h-10Z\" fill=\"black\" />\n </mask>\n <g mask={`url(#${id}-shackle)`}>\n <g\n className=\"motion-safe:transition-[translate,transform] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:[translate:var(--hover-shift)]\"\n style={hoverStyle}\n >\n <path\n d=\"M50.64 61.13v-30.3l.04-.97.09-.9.14-.83.2-.77.25-.7.29-.62.32-.55.35-.47.38-.39.4-.33.42-.27.44-.2.48-.16.52-.09.56-.04.6.03.65.1.69.18.72.25.75.34.76.42.78.5.78.59.78.65.77.73.74.8.73.86.69.91.66.97.62 1 .57 1.04.52 1.07.47 1.09.41 1.11.35 1.1.28 1.1.23 1.09.16 1.07.09 1.03.04 1.02v30.29h4.8V42.55l-.05-1.28-.12-1.31-.2-1.33-.27-1.34-.35-1.34-.43-1.34-.49-1.32-.56-1.3-.62-1.28-.68-1.25-.74-1.2-.79-1.16-.84-1.11-.89-1.05-.93-.99-.96-.92-1-.84-1.03-.77-1.06-.68-1.08-.59-1.09-.5-1.12-.39-1.12-.29-1.13-.17-1.13-.06-1.11.07-1.1.21-1.05.33-1 .47-.94.59-.86.71-.77.81-.67.9-.58.97-.48 1.05-.4 1.1-.3 1.16-.21 1.2-.12 1.23-.05 1.26v30.33Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"M47.4 61.13V30.81l.04-1.16.12-1.13.19-1.08.27-1.03.34-.97.42-.91.5-.84.57-.76.64-.67.7-.58.77-.49.83-.38.86-.28.91-.17.94-.06.95.05.98.15.98.25.98.35.99.44.97.54.97.62.95.71.92.78.9.86.87.92.84.99.79 1.05.75 1.1.7 1.14.65 1.18.58 1.21.53 1.23.47 1.25.4 1.26.33 1.26.26 1.26.18 1.25.12 1.22.04 1.19v30.32\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n </g>\n </g>\n </g>\n );\n}\n","export function LogsArt() {\n return (\n <>\n <g opacity=\"0.5\">\n <circle\n cx=\"6.187\"\n cy=\"6.187\"\n r=\"5.687\"\n transform=\"matrix(0.85 -0.528 0.85 0.528 17.024 60.568)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n <rect\n x=\"0.85\"\n width=\"164.731\"\n height=\"11.373\"\n rx=\"5.687\"\n transform=\"matrix(0.85 -0.528 0.85 0.528 31.419 52.158)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n <circle\n cx=\"6.187\"\n cy=\"6.187\"\n r=\"5.687\"\n transform=\"matrix(0.85 -0.528 0.85 0.528 33.543 70.825)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n <rect\n x=\"0.85\"\n width=\"164.731\"\n height=\"11.373\"\n rx=\"5.687\"\n transform=\"matrix(0.85 -0.528 0.85 0.528 47.938 62.415)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n <circle\n cx=\"6.187\"\n cy=\"6.187\"\n r=\"5.687\"\n transform=\"matrix(0.85 -0.528 0.85 0.528 50.063 81.083)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n <rect\n x=\"0.85\"\n width=\"164.731\"\n height=\"11.373\"\n rx=\"5.687\"\n transform=\"matrix(0.85 -0.528 0.85 0.528 64.458 72.673)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n <circle\n cx=\"6.187\"\n cy=\"6.187\"\n r=\"5.687\"\n transform=\"matrix(0.85 -0.528 0.85 0.528 66.582 91.34)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n <rect\n x=\"0.85\"\n width=\"164.731\"\n height=\"11.373\"\n rx=\"5.687\"\n transform=\"matrix(0.85 -0.528 0.85 0.528 80.977 82.93)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n </g>\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1\">\n <circle\n cx=\"6.187\"\n cy=\"6.187\"\n r=\"5.687\"\n transform=\"matrix(0.85 -0.528 0.85 0.528 17.368 55.615)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n <rect\n x=\"0.85\"\n width=\"164.731\"\n height=\"11.373\"\n rx=\"5.687\"\n transform=\"matrix(0.85 -0.528 0.85 0.528 31.764 47.205)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n </g>\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:delay-75 motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1\">\n <circle\n cx=\"6.187\"\n cy=\"6.187\"\n r=\"5.687\"\n transform=\"matrix(0.85 -0.528 0.85 0.528 33.888 65.873)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n <rect\n x=\"0.85\"\n width=\"164.731\"\n height=\"11.373\"\n rx=\"5.687\"\n transform=\"matrix(0.85 -0.528 0.85 0.528 48.283 57.462)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n </g>\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:delay-150 motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1\">\n <circle\n cx=\"6.187\"\n cy=\"6.187\"\n r=\"5.687\"\n transform=\"matrix(0.85 -0.528 0.85 0.528 50.407 76.13)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n <rect\n x=\"0.85\"\n width=\"164.731\"\n height=\"11.373\"\n rx=\"5.687\"\n transform=\"matrix(0.85 -0.528 0.85 0.528 64.802 67.72)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n </g>\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:delay-200 motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1\">\n <circle\n cx=\"6.187\"\n cy=\"6.187\"\n r=\"5.687\"\n transform=\"matrix(0.85 -0.528 0.85 0.528 66.926 86.388)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n <rect\n x=\"0.85\"\n width=\"164.731\"\n height=\"11.373\"\n rx=\"5.687\"\n transform=\"matrix(0.85 -0.528 0.85 0.528 81.322 77.977)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n </g>\n </>\n );\n}\n","export function NoAlertsArt() {\n return (\n <g strokeWidth=\"0.9\">\n <path\n d=\"m39.75 69.57.08-.88.23-.87.38-.87.53-.84.68-.81.81-.79.95-.74 1.08-.7 1.19-.65 1.3-.6 1.41-.54 1.48-.47 1.57-.41 1.63-.34 1.69-.27 1.72-.19 1.76-.11 1.76-.04 1.76.04 1.76.11 1.72.19 1.69.27 1.63.34 1.57.41 1.48.47 1.41.54 1.3.6 1.19.65 1.08.7.95.74.81.79.68.81.53.84.38.87.23.87.08.88v7.15l-.08.88-.23.88-.38.86-.53.84-.68.82-.81.78-.95.75-1.08.7-1.19.65-1.3.6-1.41.53-1.48.48-1.57.41-1.63.33-1.69.27-1.72.19-1.76.12-1.76.03-1.76-.03-1.76-.12-1.72-.19-1.69-.27-1.63-.33-1.56-.41-1.49-.48-1.41-.53-1.3-.6-1.19-.65-1.08-.7-.95-.75-.81-.78-.68-.82-.53-.84-.38-.86-.23-.88-.08-.88Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"m78 69.57-.07.79-.2.78-.34.76-.48.75-.6.73-.72.69-.85.67-.95.62-1.06.58-1.16.53-1.25.48-1.32.42-1.39.36-1.45.3-1.5.24-1.53.17-1.56.1-1.57.03-1.57-.03-1.56-.1-1.53-.17-1.5-.24-1.45-.3-1.39-.36-1.32-.42-1.25-.48-1.16-.53-1.06-.58-.95-.62-.85-.67-.72-.69-.6-.73-.48-.75-.34-.76-.2-.78-.07-.79\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path\n d=\"m52.52 62.64.5-.46.61-.42.71-.38.8-.33.87-.28.94-.22.99-.17 1.02-.09 1.04-.04 1.04.04 1.02.09.99.17.94.22.87.28.8.33.71.38.61.42.5.46v-11.7l-.5-.45-.61-.42-.71-.38-.8-.33-.87-.28-.94-.23-.99-.16-1.02-.09-1.04-.04-1.04.04-1.02.09-.99.16-.94.23-.87.28-.8.33-.71.38-.61.42-.5.45z\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path d=\"M60 69.57v-7.66\" stroke=\"currentColor\" strokeOpacity=\"0.7\" strokeLinecap=\"round\" />\n <path\n d=\"m63.9 58.53-.07.76-.23.74-.36.67-.48.59-.59.49-.68.36-.73.22-.76.07-.76-.07-.73-.22-.68-.36-.59-.49-.48-.59-.36-.67-.23-.74-.07-.76.07-.76.23-.73.36-.67.48-.59.59-.49.68-.36.73-.22.76-.08.76.08.73.22.68.36.59.49.48.59.36.67.23.73Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n <g className=\"opacity-0 motion-safe:transition-opacity motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:opacity-100\">\n <path d=\"M39 58.53h-6\" stroke=\"currentColor\" strokeLinecap=\"round\" />\n <path d=\"m42.8 46.49-4.92-3.44\" stroke=\"currentColor\" strokeLinecap=\"round\" />\n <path d=\"m52.82 38.8-2.05-5.64\" stroke=\"currentColor\" strokeLinecap=\"round\" />\n <path d=\"m67.18 38.8 2.05-5.64\" stroke=\"currentColor\" strokeLinecap=\"round\" />\n <path d=\"m77.2 46.49 4.92-3.44\" stroke=\"currentColor\" strokeLinecap=\"round\" />\n <path d=\"M81 58.53h6\" stroke=\"currentColor\" strokeLinecap=\"round\" />\n </g>\n <path\n d=\"m46.5 52.04.12-1.53.05-.58.34-1.49.15-.56.56-1.4.23-.53.76-1.27.3-.49.39-.47.89-1.06.43-.42 1.01-.86.45-.35.51-.33 1.01-.58.49-.26.53-.25.57-.21.6-.2.74-.21.52-.14.54-.11.56-.09.58-.06.58-.04.59-.01.59.01.58.04.58.06.56.09.54.11.53.14.73.21.6.2.57.21.53.25.49.26 1.01.58.51.33.45.35 1.01.86.43.42.89 1.06.39.47.3.49.76 1.27.23.53.56 1.4.15.56.34 1.49.05.58.12 1.53v17.53l-.05.59-.16.59-.25.57-.35.56-.45.55-.55.52-.63.5-.72.46-.79.44-.87.4-.94.35-.99.32-1.04.27-1.09.23-1.13.17-1.15.13-1.16.08-1.18.02-1.18-.02-1.16-.08-1.15-.13-1.13-.17-1.09-.23-1.04-.27-.99-.32-.94-.35-.87-.4-.79-.44-.72-.46-.63-.5-.55-.52-.45-.55-.35-.56-.25-.57-.16-.59-.05-.59Z\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n </g>\n );\n}\n","import type { CSSProperties } from 'react';\n\nconst hoverStyle: CSSProperties & { '--hover-shift': string } = { '--hover-shift': '0px -8.79px' };\n\nexport function NoChargesArt({ id }: { id: string }) {\n return (\n <g strokeWidth=\"0.9\">\n <path\n d=\"m27.72 60.18.66-1.66 1.89-1.41 14.35-7.18 2.82-.94 3.33-.34 3.33.34 2.82.94 32.81 16.4 1.89 1.41.66 1.67v17.58l-.66 1.66-1.89 1.42-14.35 7.17-2.82.95-3.33.33-3.33-.33-2.82-.95-32.81-16.4-1.89-1.41-.66-1.67Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"m89.96 69.41-.48 1.22-1.39 1.03-14.35 7.18-2.07.69-2.44.25-2.44-.25-2.07-.69-32.81-16.4-1.39-1.04-.48-1.22\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path\n d=\"m74.35 70.95-.65.22-.78.07-.78-.07-.66-.22-23.78-11.9-.44-.33-.16-.38.16-.39.44-.33.65-.22.78-.08.78.08.66.22 23.78 11.89.44.33.16.39-.16.39z\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path\n d=\"m62.46 90.66-.02-.29-.05-.29-.09-.3-.11-.29-.15-.29-.17-.26-.19-.24-.21-.21-.22-.18-.22-.13-.23-.09-.22-.05-.21.01-.19.04-.17.1-.15.13-.11.18-.09.21-.05.24-.02.27.02.28.05.3.09.3.11.29.15.28.17.27.19.24.21.21.22.17.23.14.22.09.22.04h.21l.19-.05.17-.09.15-.14.11-.17.09-.22.05-.24z\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n strokeLinecap=\"round\"\n />\n <mask id={`${id}-slip`} maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"120\" height=\"120\">\n <path d=\"m46.26-42.12 2.87-1.44 26.66 13.33V70.23l-2.87 1.43-26.66-13.32Z\" fill=\"white\" />\n </mask>\n <g mask={`url(#${id}-slip)`}>\n <g\n className=\"motion-safe:transition-[translate,transform] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:[translate:var(--hover-shift)]\"\n style={hoverStyle}\n >\n <path\n d=\"m50.77 70.46 20.51 10.25V31.74l-1.71 1.9-1.71-3.61-1.71 1.91-1.71-3.62-1.71 1.91-1.7-3.62-1.71 1.91-1.71-3.62-1.71 1.91-1.71-3.62-1.71 1.91-1.71-3.62Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeLinejoin=\"round\"\n />\n </g>\n </g>\n </g>\n );\n}\n","import type { CSSProperties } from 'react';\n\nconst hoverStyle: CSSProperties & { '--hover-shift': string } = { '--hover-shift': '0px 16.89px' };\n\nexport function NoDestinationsArt({ id }: { id: string }) {\n return (\n <g strokeWidth=\"0.9\">\n <path\n d=\"m29.79 49.69.68-1.72 1.95-1.46 12.73-6.37 2.92-.97 3.44-.35 3.45.35 2.92.97 29.7 14.85 1.95 1.46.68 1.72v23.39l-.68 1.72-1.95 1.46-12.73 6.36-2.92.98-3.44.34-3.45-.34-2.92-.98-29.7-14.85-1.95-1.46-.68-1.72Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"m87.81 58.17-.5 1.27-1.43 1.07-12.73 6.36-2.14.72-2.52.25-2.53-.25-2.14-.72-29.7-14.85-1.43-1.07-.5-1.26\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path\n d=\"m74.32 61.09-.68.23-.81.08-.8-.08-.68-.23-25.67-12.83-.45-.34-.16-.41.16-.4.45-.34.68-.23.81-.08.8.08.68.23 25.67 12.84.45.34.16.4-.16.4z\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <mask id={`${id}-letter`} maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"120\" height=\"120\">\n <path d=\"m44.2-56.41 2.97-1.48L75.8-43.57V60.35l-2.97 1.48L44.2 47.51Z\" fill=\"white\" />\n </mask>\n <g mask={`url(#${id}-letter)`}>\n <g\n className=\"motion-safe:transition-[translate,transform] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:[translate:var(--hover-shift)]\"\n style={hoverStyle}\n >\n <path\n d=\"m47.8 29.14.05-.38.12-.32.21-.22 1.06-.53.26-.11.31-.01.33.11 20.78 10.4.33.22.31.31.26.38.21.42.12.44.05.42v35.86l-.05.38-.12.31-.21.22-1.06.53-.26.12h-.31l-.33-.11-20.78-10.39-.33-.22-.31-.31-.26-.38-.21-.42-.12-.44-.05-.43Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"m70.18 40.59-.02-.18-.05-.18-.08-.18-.11-.16-.13-.13-.14-.09-20.36-10.18-.14-.05h-.13l-.11.05-.08.1-.05.13-.02.15v35.34l.02.18.05.18.08.18.11.15.13.13.14.09 20.36 10.19.14.04h.13l.11-.05.08-.09.05-.13.02-.16Z\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path d=\"M49.39 30.32 59.47 43.8l10.08-3.4\" stroke=\"currentColor\" strokeLinecap=\"round\" />\n </g>\n </g>\n </g>\n );\n}\n","export function NotAMemberArt() {\n return (\n <g strokeWidth=\"0.9\">\n <g\n className=\"motion-safe:group-hover/empty-state:animate-[empty-state-swing_1.6s_ease-in-out]\"\n style={{ transformBox: 'view-box', transformOrigin: '60.06px 12.63px' }}\n >\n <path\n d=\"m56.1 44.75 2.48-20.74 1.48-11.38m3.96 36.08L61.55 25.5l-1.49-12.87\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"m39.89 37.49.17-1.48.49-1.22.79-.86 3.09-1.54 1.03-.46h1.19l1.28.43 27.23 13.61 1.28.85 1.19 1.2 1.03 1.48.78 1.65.5 1.71.17 1.65v48.5l-.17 1.48-.5 1.22-.78.86-3.1 1.54-1.02.46h-1.19l-1.29-.43-27.22-13.61-1.28-.85-1.19-1.2L41.34 91l-.79-1.65-.49-1.71-.17-1.65Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"m75.28 55.19-.11-1.08-.32-1.11-.51-1.07-.67-.96-.77-.78-.84-.55-27.22-13.61-.83-.28h-.78l-.66.29-.52.57-.32.78-.11.97v48.5l.11 1.07.32 1.11.52 1.07.66.96.78.79.83.55 27.22 13.61.84.28.77-.01.67-.29.51-.56.32-.79.11-.96Z\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path\n d=\"m63.4 50.01-.09-.63-.27-.63-.4-.52-.48-.36-7.42-3.71-.47-.12-.4.13-.27.35-.1.54.1.62.27.63.4.53.47.35 7.42 3.71.48.13.4-.13.27-.36z\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"m60.93 60.89-.24-1.56-.67-1.57-1-1.32-1.19-.88-8.66-4.33-1.18-.31-1.01.32-.67.9-.23 1.33v10.61l.23 1.57.67 1.56 1.01 1.32 1.18.88 8.66 4.33 1.19.31 1-.32.67-.89.24-1.34Zm-4.7.68-.04-.53-.1-.56-.16-.57-.22-.56-.28-.53-.33-.5-.36-.46-.4-.4-.41-.33-.43-.25-.42-.17-.42-.09h-.39l-.37.1-.32.17-.28.26-.22.34-.17.4-.1.46-.03.5.03.54.1.56.17.56.22.56.28.54.32.5.37.46.39.39.42.33.42.26.43.17.41.08h.4l.36-.09.33-.18.28-.26.22-.33.16-.4.1-.46z\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n />\n <path\n d=\"m46.08 75.44 24.75 12.38m-24.75-6.31 17.32 8.66m-17.32-2.6 21.03 10.52\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n strokeLinecap=\"round\"\n />\n </g>\n <circle cx=\"60.06\" cy=\"12.63\" r=\"1.2\" className=\"fill-background\" stroke=\"currentColor\" />\n </g>\n );\n}\n","import type { CSSProperties } from 'react';\n\nconst hoverStyle: CSSProperties & { '--hover-transform': string } = {\n '--hover-transform': 'matrix(-0.766, -0.3214, 1.2856, -0.766, 0, 0)',\n transformOrigin: '60px 54.46px',\n transformBox: 'view-box',\n};\n\nexport function RateLimitedArt() {\n return (\n <g strokeWidth=\"0.9\">\n <path\n d=\"m18.4 54.46.2-2.04.6-2.02.99-1.98 1.38-1.92 1.74-1.85 2.1-1.75 2.43-1.64 2.74-1.51 3.03-1.37 3.28-1.21 3.5-1.05 3.69-.88 3.84-.68 3.96-.5 4.04-.3 4.08-.1 4.08.1 4.04.3 3.96.5 3.84.68 3.69.88 3.5 1.05 3.28 1.21 3.03 1.37 2.74 1.51 2.43 1.64 2.1 1.75 1.74 1.85 1.38 1.92.99 1.98.6 2.02.2 2.04v11.09l-.2 2.03-.6 2.02-.99 1.98-1.38 1.92-1.74 1.85-2.1 1.75-2.43 1.64-2.74 1.51-3.03 1.37-3.28 1.22-3.5 1.05-3.69.87-3.84.69-3.96.5-4.04.29-4.08.11-4.08-.11-4.04-.29-3.96-.5-3.84-.69-3.69-.87-3.5-1.05-3.28-1.22-3.03-1.37-2.74-1.51-2.43-1.64-2.1-1.75-1.74-1.85-1.38-1.92-.99-1.98-.6-2.02-.2-2.03Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"m99.2 54.46-.19 1.92-.56 1.9-.94 1.87-1.29 1.81-1.65 1.74-1.98 1.65-2.29 1.54-2.58 1.43-2.85 1.29-3.09 1.15-3.3.99-3.48.82-3.62.65-3.73.46-3.81.29-3.84.09-3.84-.09-3.81-.29-3.73-.46-3.62-.65-3.48-.82-3.3-.99-3.09-1.15-2.85-1.29-2.58-1.43-2.29-1.54-1.98-1.65-1.65-1.74-1.29-1.81-.94-1.87-.56-1.9-.19-1.92\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path\n d=\"M32 54.46h-5.6m8.65-6.36-4.99-1.27m13.48-3.7-3.29-2.26m15.37-.24-.88-2.76m13.91 3.28 1.73-2.67m9.42 6.08 3.96-1.98m2.87 7.55 5.33-.86m-4.3 7.38 5.53.44\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n strokeLinecap=\"round\"\n />\n <path\n d=\"m79.42 61.51 7.76 2.82m-16.28.82 4.35 4.28M60 66.46v4.8\"\n stroke=\"currentColor\"\n strokeWidth=\"1.4\"\n strokeLinecap=\"round\"\n />\n <g\n className=\"motion-safe:transition-[translate,transform] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:[transform:var(--hover-transform)]\"\n style={hoverStyle}\n >\n <path d=\"m60 54.46 8.76 12.03\" stroke=\"currentColor\" strokeLinecap=\"round\" />\n </g>\n <path\n d=\"m55.2 51 .16-.63.48-.57.77-.5.99-.38 1.16-.24L60 48.6l1.24.08 1.16.24.99.38.77.5.48.57.16.63v3.46l-.16.62-.48.58-.77.5-.99.38-1.16.24-1.24.08-1.24-.08-1.16-.24-.99-.38-.77-.5-.48-.58-.16-.62Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"m63.52 51-.12.45-.35.43-.56.36-.73.28-.85.18-.91.06-.91-.06-.85-.18-.73-.28-.56-.36-.35-.43-.12-.45\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n </g>\n );\n}\n","export function RequestsArt() {\n return (\n <>\n <circle\n opacity=\"0.5\"\n cx=\"64.739\"\n cy=\"64.739\"\n r=\"64.1\"\n transform=\"matrix(0.85 -0.527 0.85 0.527 -5.498 58.982)\"\n stroke=\"currentColor\"\n strokeWidth=\"1.279\"\n strokeDasharray=\"2.56 2.56\"\n />\n <path\n opacity=\"0.5\"\n d=\"m49.78 92.95.54.34 1.1-.68-.55-.34-.54-.34-1.1.68zm3.28-2.04.55.34 2.19-1.36-.55-.34-.54-.33-2.19 1.36zm4.38-2.71.55.33 2.19-1.36-.55-.33-.54-.34-2.2 1.36zm4.38-2.72.54.33 2.2-1.35-.55-.34-.54-.34-2.2 1.36zm4.38-2.72.54.34 2.2-1.36-.55-.34-.54-.34-2.2 1.36zm4.38-2.72.54.34 2.2-1.36-.55-.34-.54-.33-2.2 1.36zm4.38-2.71.54.33 2.2-1.36-.55-.33-.54-.34-2.2 1.36zm4.38-2.72.54.33 2.2-1.35-.55-.34-.54-.34-2.2 1.36zm4.38-2.72.54.34 2.2-1.36-.55-.34-.54-.34-2.2 1.36zm4.38-2.72.54.34 2.2-1.36-.55-.34-.54-.33-2.2 1.36zm4.38-2.71.54.33 2.2-1.36-.55-.33-.55-.34-2.19 1.36zm4.38-2.72.54.33 2.19-1.35-.54-.34-.55-.34-2.19 1.36zm4.38-2.72.54.34 2.19-1.36-.54-.34-.55-.34-2.19 1.36zm4.38-2.72.54.34 2.19-1.36-.54-.34-.55-.33-2.19 1.36zM110 55.6l.54.33 2.19-1.36-.54-.33-.55-.34-2.19 1.36zm4.38-2.72.54.33 2.19-1.35-.55-.34-.54-.34-2.19 1.36zm4.38-2.72.54.34 2.19-1.36-.55-.34-.54-.34-2.19 1.36zm4.37-2.72.55.34 2.19-1.36-.55-.34-.54-.33-2.19 1.36zm4.38-2.71.55.33 2.19-1.36-.55-.33-.54-.34-2.19 1.36zM131.9 42l.55.33 2.19-1.35-.55-.34-.54-.34-2.19 1.36zm4.38-2.72.55.34 2.19-1.36-.55-.34-.54-.34-2.19 1.36zm4.38-2.72.55.34 2.19-1.36-.55-.34-.54-.33-2.2 1.36zm4.38-2.71.54.33 2.2-1.36-.55-.33-.54-.34-2.2 1.36zm4.38-2.72.54.33 2.2-1.35-.55-.34-.54-.34-2.2 1.36zm4.38-2.72.54.34 2.2-1.36-.55-.34-.54-.34-2.2 1.36zm4.38-2.72.54.34 1.1-.68-.55-.34-.54-.33-1.1.68z\"\n fill=\"currentColor\"\n />\n <path\n opacity=\"0.5\"\n d=\"m29.82 70.36.54.34 1-.62-.55-.33-.54-.34-1 .62zm2.98-1.85.55.34 1.99-1.24-.55-.33-.54-.34-1.99 1.23zm3.98-2.47.55.34 1.98-1.24-.54-.33-.54-.34-2 1.24zm3.98-2.47.54.34 1-.62-.54-.33-.55-.34-1 .62zm19.8-12.28.55.33 1.1-.69-.54-.33-.54-.34-1.11.69zm3.34-2.07.54.33 2.23-1.38-.55-.34-.54-.33-2.22 1.38zm4.45-2.77.54.34 2.23-1.38-.55-.34-.54-.33-2.22 1.38zm4.45-2.76.54.34 2.23-1.38-.55-.34-.54-.33-2.22 1.38zm4.45-2.76.54.34 2.23-1.38-.55-.34-.54-.34-2.22 1.38zm4.45-2.76.54.34 2.23-1.38-.55-.34-.54-.34-2.22 1.38zm4.45-2.76.54.34 2.23-1.38-.55-.34-.54-.34-2.22 1.38zm4.45-2.76.54.34 2.23-1.39-.55-.33-.54-.34-2.22 1.38zm4.45-2.76.54.33 2.23-1.38-.54-.33-.55-.34-2.22 1.38zm4.45-2.76.54.33 2.23-1.38-.55-.34-.54-.33-2.22 1.38zm4.45-2.77.54.34 2.23-1.38-.55-.34-.54-.33-2.22 1.38zm4.45-2.76.54.34 2.23-1.38-.55-.34-.54-.33-2.22 1.38zm4.45-2.76.54.34 2.23-1.38-.55-.34-.54-.34-2.22 1.38zm4.45-2.76.54.34 2.23-1.38-.54-.34-.55-.34-2.22 1.38zm4.45-2.76.54.34 1.12-.7-.55-.33-.54-.34-1.11.7z\"\n fill=\"currentColor\"\n />\n <path\n opacity=\"0.5\"\n d=\"m86.18 105.34.54.33 1.11-.69-.54-.33-.55-.34-1.1.69zm3.32-2.07.55.34 2.21-1.37-.54-.34-.54-.34-2.22 1.38zm4.43-2.75.55.34 2.21-1.37-.54-.34-.54-.34-2.22 1.38zm4.43-2.74.55.33 2.21-1.37-.54-.34-.54-.34-2.22 1.38zm4.44-2.75.54.33 2.21-1.37-.54-.34-.54-.34-2.22 1.38zm4.43-2.75.54.33 2.22-1.37-.55-.34-.54-.34-2.22 1.38zm4.43-2.75.54.33 2.22-1.37-.55-.34-.54-.33-2.22 1.37zm4.43-2.75.54.34 2.22-1.38-.55-.34-.54-.33-2.22 1.37zm4.43-2.75.54.34 2.22-1.38-.55-.34-.54-.33-2.22 1.37zm4.43-2.75.54.34 2.22-1.38-.55-.33-.54-.34-2.21 1.37zm4.43-2.75.54.34 2.22-1.38-.54-.33-.55-.34-2.21 1.37zm4.43-2.75.54.34 2.22-1.38-.54-.33-.55-.34-2.21 1.37zm4.43-2.75.54.34 2.22-1.38-.54-.33-.55-.34-2.21 1.37zm4.43-2.75.55.34 2.21-1.37-.54-.34-.55-.34-2.21 1.38zm4.43-2.75.55.34 2.21-1.37-.54-.34-.55-.34-2.21 1.38zm4.43-2.75.55.34 2.21-1.37-.54-.34-.54-.34-2.22 1.38zm4.43-2.75.55.34 2.21-1.37-.54-.34-.55-.34-2.21 1.38zm4.43-2.74.55.33 2.21-1.37-.54-.34-.54-.34-2.22 1.38zm4.44-2.75.54.33 2.21-1.37-.54-.34-.54-.34-2.22 1.38zm4.42-2.75.55.33 2.21-1.37-.54-.34-.54-.33-2.22 1.37zm4.44-2.75.54.34 2.21-1.38-.54-.34-.54-.33-2.22 1.37zm4.43-2.75.54.34 1.1-.7-.54-.33-.54-.34-1.1.7z\"\n fill=\"currentColor\"\n />\n <path\n opacity=\"0.5\"\n d=\"m159.26 92.95.55-.34-1.1-.68-.54.34-.54.34 1.1.68zm-3.28-2.04.54-.33-2.19-1.36-.54.33-.54.34 2.19 1.36zm-4.38-2.71.54-.34-2.18-1.36-.55.34-.54.33 2.19 1.36zm-4.38-2.72.54-.34-2.19-1.36-.54.34-.54.34 2.19 1.35zm-4.38-2.72.54-.34-2.18-1.36-.55.34-.54.34 2.19 1.36zm-4.38-2.72.55-.33-2.2-1.36-.54.33-.54.34 2.19 1.36zm-4.38-2.71.55-.34-2.2-1.36-.54.34-.54.33 2.19 1.36zm-4.38-2.72.55-.34-2.2-1.36-.54.34-.54.34 2.19 1.35zm-4.38-2.72.55-.34-2.2-1.36-.54.34-.54.34 2.2 1.36zm-4.37-2.72.54-.33-2.2-1.36-.54.33-.54.34 2.2 1.36zm-4.39-2.71.55-.34-2.2-1.36-.53.34-.55.33 2.2 1.36zm-4.37-2.72.54-.34-2.2-1.36-.53.34-.55.34 2.2 1.35zm-4.38-2.72.54-.34-2.19-1.36-.54.34-.55.34 2.2 1.36zm-4.38-2.72.54-.33-2.19-1.36-.54.33-.55.34 2.2 1.36zm-4.38-2.71.54-.34-2.19-1.36-.54.34-.55.33 2.2 1.36zm-4.38-2.72.54-.34-2.19-1.36-.54.34-.55.34 2.2 1.35zm-4.38-2.72.54-.34-2.19-1.36-.54.34-.54.34 2.19 1.36zm-4.38-2.72.54-.33-2.19-1.36-.54.33-.54.34 2.19 1.36zm-4.38-2.71.54-.34-2.19-1.36-.54.34-.54.33 2.19 1.36zM77.15 42l.54-.34-2.19-1.36-.54.34-.54.34 2.19 1.35zm-4.38-2.72.54-.34-2.19-1.36-.54.34-.54.34 2.19 1.36zm-4.38-2.72.54-.33-2.19-1.36-.54.33-.54.34 2.19 1.36zm-4.38-2.71.54-.34-2.19-1.36-.54.34-.54.33 2.19 1.36zm-4.38-2.72.55-.34-2.2-1.36-.54.34-.54.34 2.19 1.35zm-4.38-2.72.55-.34-2.2-1.36-.54.34-.54.34 2.19 1.36zm-4.38-2.72.55-.33-1.1-.68-.54.33-.55.34 1.1.68z\"\n fill=\"currentColor\"\n />\n <path\n opacity=\"0.5\"\n d=\"m58.13 63.97-.62.28 1.04.86.61-.29.61-.29-1.03-.85zm3.14 2.54-.6.3 2.17 1.67.6-.3.58-.3-2.15-1.67zm4.37 3.3-.58.31 2.26 1.62.58-.31.57-.32-2.25-1.6zm4.56 3.2-.57.33L72 74.9l.56-.33.56-.33q-1.2-.78-2.34-1.56zm4.74 3.1-.55.34 1.22.76.54-.34.55-.33-1.21-.76zm1.21.76-.54.34 1.13.7.54-.35.53-.33-1.11-.7zm3.4 2.06-.54.34 2.3 1.34.53-.35.52-.35q-1.15-.65-2.29-1.33zm4.63 2.65-.52.36 2.38 1.3.5-.37.5-.36q-1.17-.63-2.35-1.29zm4.77 2.56-.5.37 2.45 1.24.49-.37.48-.37q-1.22-.6-2.43-1.24zm4.9 2.46-.46.37 2.51 1.2.46-.38.47-.39q-1.26-.58-2.5-1.18zm5.05 2.35-.45.38 2.58 1.14.44-.39.44-.4q-1.27-.55-2.56-1.12zm5.18 2.23-.43.4q1.32.56 2.65 1.08l.42-.4.41-.4-2.62-1.07zm5.3 2.12-.4.4q1.37.52 2.72 1.01l.4-.4.38-.42q-1.35-.48-2.69-1zm5.45 1.98-.37.41q1.39.49 2.78.94l.36-.42.36-.42q-1.37-.45-2.75-.93zm5.57 1.83-.34.42q1.43.45 2.85.86l.33-.43.33-.43-2.82-.85zm5.7 1.67-.3.43q1.46.4 2.92.78l.29-.44.3-.44q-1.45-.37-2.9-.77zm5.84 1.48-.27.45q1.5.36 2.99.67l.25-.45.25-.45q-1.47-.3-2.95-.66zm5.96 1.29-.23.45 1.52.29.22-.46.22-.46-1.5-.28zm-93.33-50.9.68-.22-.67-.8-.69.21-.68.22.68.81zm-1.98-2.44.7-.2-1.24-1.65-.7.2-.7.2q.6.82 1.25 1.66zm-2.42-3.32.7-.18q-.57-.84-1.1-1.68l-.72.18-.71.17q.54.85 1.12 1.7zM38 41.51l.72-.17-.97-1.7-.73.15-.72.15q.45.86.97 1.73zm-1.87-3.46.74-.14-.41-.86-.74.13-.74.13q.2.44.42.88zm21.99 25.92-.62.28 1.04.86.61-.29.61-.29-1.03-.85zm3.14 2.54-.6.3 2.17 1.67.6-.3.58-.3-2.15-1.67zm4.37 3.3-.58.31 2.26 1.62.58-.31.57-.32-2.25-1.6zm4.56 3.2-.57.33L72 74.9l.56-.33.56-.33q-1.2-.78-2.34-1.56zm4.74 3.1-.55.34 1.22.76.54-.34.55-.33-1.21-.76zm1.21.76-.54.34 1.13.7.54-.35.53-.33-1.11-.7zm3.4 2.06-.54.34 2.3 1.34.53-.35.52-.35q-1.15-.65-2.29-1.33zm4.63 2.65-.52.36 2.38 1.3.5-.37.5-.36q-1.17-.63-2.35-1.29zm4.77 2.56-.5.37 2.45 1.24.49-.37.48-.37q-1.22-.6-2.43-1.24zm4.9 2.46-.46.37 2.51 1.2.46-.38.47-.39q-1.26-.58-2.5-1.18zm5.05 2.35-.45.38 2.58 1.14.44-.39.44-.4q-1.27-.55-2.56-1.12zm5.18 2.23-.43.4q1.32.56 2.65 1.08l.42-.4.41-.4-2.62-1.07zm5.3 2.12-.4.4q1.37.52 2.72 1.01l.4-.4.38-.42q-1.35-.48-2.69-1zm5.45 1.98-.37.41q1.39.49 2.78.94l.36-.42.36-.42q-1.37-.45-2.75-.93zm5.57 1.83-.34.42q1.43.45 2.85.86l.33-.43.33-.43-2.82-.85zm5.7 1.67-.3.43q1.46.4 2.92.78l.29-.44.3-.44q-1.45-.37-2.9-.77zm5.84 1.48-.27.45q1.5.36 2.99.67l.25-.45.25-.45q-1.47-.3-2.95-.66zm5.96 1.29-.23.45 1.52.29.22-.46.22-.46-1.5-.28zm-93.33-50.9.68-.22-.67-.8-.69.21-.68.22.68.81zm-1.98-2.44.7-.2-1.24-1.65-.7.2-.7.2q.6.82 1.25 1.66zm-2.42-3.32.7-.18q-.57-.84-1.1-1.68l-.72.18-.71.17q.54.85 1.12 1.7zM38 41.51l.72-.17-.97-1.7-.73.15-.72.15q.45.86.97 1.73zm-1.87-3.46.74-.14-.41-.86-.74.13-.74.13q.2.44.42.88z\"\n fill=\"currentColor\"\n />\n <path\n opacity=\"0.5\"\n d=\"m175.08 79.7-.74.13-.45-.93.73-.14.73-.14.47.94zm-1.44-2.8-.73.16q-.51-.9-1.07-1.83l.72-.17.72-.17q.57.93 1.08 1.86zm-2.24-3.66-.71.18q-.6-.89-1.23-1.79l.7-.19.7-.2 1.25 1.82zm-2.55-3.58-.7.2q-.66-.87-1.37-1.74l.69-.22.69-.21q.71.9 1.38 1.77zm-2.83-3.5-.68.23q-.72-.85-1.5-1.71l.68-.23.67-.24 1.51 1.73zm-3.07-3.41-.66.24q-.8-.84-1.62-1.67l.66-.25.65-.25q.84.84 1.63 1.68zm-3.3-3.34-.65.26-1.72-1.63.64-.27.64-.26q.9.83 1.74 1.64zm-3.5-3.25-.64.27-1.81-1.59.62-.28.62-.28 1.83 1.6zm-3.7-3.17-.62.28-1.9-1.55.6-.29.6-.3 1.93 1.57zm-3.88-3.1-.6.3q-.97-.75-1.99-1.5l.59-.3.59-.31q1.02.75 2 1.52zm-4.04-3-.58.32q-1.03-.74-2.08-1.47l.58-.32.57-.31 2.09 1.47zm-4.2-2.92-.57.33q-1.05-.72-2.15-1.42l.56-.33.56-.33q1.1.7 2.16 1.43zm-4.36-2.83-.54.34-1.11-.7.54-.33.55-.34 1.11.7zm-1.1-.7-.55.34-1.13-.7.54-.33.54-.34 1.14.7zm-3.43-2.07-.53.35-2.31-1.35.52-.35.52-.35 2.33 1.36zm-4.68-2.67-.51.35-2.39-1.3.5-.36.5-.36 2.41 1.31zm-4.83-2.59-.49.37-2.45-1.25.48-.37.48-.37q1.24.61 2.48 1.26zm-4.96-2.47-.47.37-2.52-1.2.46-.37.46-.39 2.55 1.2zm-5.1-2.37-.45.38-2.59-1.13.44-.4.44-.39 2.61 1.15zM106.64 26l-.43.4-2.65-1.07.4-.4.42-.4q1.35.52 2.69 1.08zm-5.37-2.12-.4.4-2.72-1 .38-.41.39-.42 2.75 1.02zm-5.5-2-.38.43-2.79-.94.36-.42.36-.42q1.4.46 2.81.94zm-5.65-1.83-.34.43q-1.43-.45-2.85-.85l.32-.44.33-.43 2.88.86zm-5.77-1.67-.3.44q-1.47-.4-2.93-.76l.3-.45.28-.44q1.47.37 2.96.77zm-5.9-1.48-.27.45q-1.5-.36-2.98-.66l.24-.45.25-.46q1.5.32 3.02.67zm-6.04-1.27-.22.46q-.75-.15-1.51-.28l.2-.46.22-.46 1.54.28zM175.08 79.7l-.74.13-.45-.93.73-.14.73-.14.47.94zm-1.44-2.8-.73.16q-.51-.9-1.07-1.83l.72-.17.72-.17q.57.93 1.08 1.86zm-2.24-3.66-.71.18q-.6-.89-1.23-1.79l.7-.19.7-.2 1.25 1.82zm-2.55-3.58-.7.2q-.66-.87-1.37-1.74l.69-.22.69-.21q.71.9 1.38 1.77zm-2.83-3.5-.68.23q-.72-.85-1.5-1.71l.68-.23.67-.24 1.51 1.73zm-3.07-3.41-.66.24q-.8-.84-1.62-1.67l.66-.25.65-.25q.84.84 1.63 1.68zm-3.3-3.34-.65.26-1.72-1.63.64-.27.64-.26q.9.83 1.74 1.64zm-3.5-3.25-.64.27-1.81-1.59.62-.28.62-.28 1.83 1.6zm-3.7-3.17-.62.28-1.9-1.55.6-.29.6-.3 1.93 1.57zm-3.88-3.1-.6.3q-.97-.75-1.99-1.5l.59-.3.59-.31q1.02.75 2 1.52zm-4.04-3-.58.32q-1.03-.74-2.08-1.47l.58-.32.57-.31 2.09 1.47zm-4.2-2.92-.57.33q-1.05-.72-2.15-1.42l.56-.33.56-.33q1.1.7 2.16 1.43zm-4.36-2.83-.54.34-1.11-.7.54-.33.55-.34 1.11.7zm-1.1-.7-.55.34-1.13-.7.54-.33.54-.34 1.14.7zm-3.43-2.07-.53.35-2.31-1.35.52-.35.52-.35 2.33 1.36zm-4.68-2.67-.51.35-2.39-1.3.5-.36.5-.36 2.41 1.31zm-4.83-2.59-.49.37-2.45-1.25.48-.37.48-.37q1.24.61 2.48 1.26zm-4.96-2.47-.47.37-2.52-1.2.46-.37.46-.39 2.55 1.2zm-5.1-2.37-.45.38-2.59-1.13.44-.4.44-.39 2.61 1.15zM106.64 26l-.43.4-2.65-1.07.4-.4.42-.4q1.35.52 2.69 1.08zm-5.37-2.12-.4.4-2.72-1 .38-.41.39-.42 2.75 1.02zm-5.5-2-.38.43-2.79-.94.36-.42.36-.42q1.4.46 2.81.94zm-5.65-1.83-.34.43q-1.43-.45-2.85-.85l.32-.44.33-.43 2.88.86zm-5.77-1.67-.3.44q-1.47-.4-2.93-.76l.3-.45.28-.44q1.47.37 2.96.77zm-5.9-1.48-.27.45q-1.5-.36-2.98-.66l.24-.45.25-.46q1.5.32 3.02.67zm-6.04-1.27-.22.46q-.75-.15-1.51-.28l.2-.46.22-.46 1.54.28z\"\n fill=\"currentColor\"\n />\n <circle\n opacity=\"0.5\"\n cx=\"6.541\"\n cy=\"6.541\"\n r=\"5.902\"\n transform=\"matrix(0.85 -0.527 0.85 0.527 40.037 56.563)\"\n stroke=\"currentColor\"\n strokeWidth=\"1.279\"\n />\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1.5\">\n <circle\n cx=\"6.541\"\n cy=\"6.541\"\n r=\"6.541\"\n transform=\"matrix(0.85 -0.527 0.85 0.527 40.037 51.256)\"\n fill=\"currentColor\"\n />\n </g>\n <circle\n opacity=\"0.5\"\n cx=\"11.154\"\n cy=\"11.154\"\n r=\"11.154\"\n transform=\"matrix(0.85 -0.527 0.85 0.527 32.198 57.308)\"\n stroke=\"currentColor\"\n strokeWidth=\"1.279\"\n strokeDasharray=\"2.56 2.56\"\n />\n </>\n );\n}\n","import type { CSSProperties } from 'react';\n\nconst hoverStyle: CSSProperties & { '--hover-shift': string } = { '--hover-shift': '8.91px -4.45px' };\n\nexport function ServerErrorArt({ id }: { id: string }) {\n return (\n <g strokeWidth=\"0.9\">\n <path\n d=\"m36.08 33.55.45-1.15 1.3-.97 15.28-7.64 1.94-.65 2.3-.22 2.3.22 1.94.65 25.46 12.73 1.3.98.46 1.14v47.81l-.46 1.15-1.3.97-15.28 7.64-1.94.65-2.3.22-2.29-.22-1.95-.65-25.46-12.73-1.3-.97-.45-1.15Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"m87.13 38.64-.33.83-.94.7-15.27 7.64-1.4.47-1.66.16-1.65-.16-1.4-.47-25.46-12.73-.93-.7-.33-.83\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path\n d=\"m61.42 84.78-.09-.65-.28-.64-.41-.55-.49-.36-19.18-9.59-.48-.12-.42.13-.27.37-.1.55v4.36l.1.65.27.64.42.54.48.37 19.18 9.58.49.13.41-.13.28-.37.09-.55Zm0-9.36-.09-.64-.28-.65-.41-.54-.49-.36-19.18-9.59-.48-.12-.42.13-.27.36-.1.55v4.37l.1.64.27.65.42.54.48.36 19.18 9.59.49.13.41-.14.28-.36.09-.55Zm0-9.35-.09-.64-.28-.65-.41-.54-.49-.36-19.18-9.59-.48-.13-.42.13-.27.37-.1.55v4.36l.1.65.27.64.42.55.48.36 19.18 9.59.49.12.41-.13.28-.37.09-.54Zm0-9.35-.09-.65-.28-.64-.41-.55-.49-.36-19.18-9.59-.48-.12-.42.13-.27.37-.1.55v4.36l.1.65.27.64.42.54.48.37L60.15 62l.49.13.41-.13.28-.37.09-.55Z\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <mask id={`${id}-slot-0`} maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"120\" height=\"120\">\n <path d=\"M17.64 83.39 39.7 72.36l21.72 10.86v7.48l-22.06 11.03-21.72-10.86Z\" fill=\"white\" />\n </mask>\n <g mask={`url(#${id}-slot-0)`}>\n <path\n d=\"m40.1 73.96.18-.46.52-.39 8.06-4.03.78-.26.92-.09.92.09.78.26 16.97 8.48.52.39.18.46v6.24l-.18.46-.52.38-8.06 4.04-.78.26-.92.09-.92-.09-.78-.26-16.97-8.49-.52-.39-.18-.46Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"m68.97 78.41-.11.28-.31.23-8.06 4.03-.47.16-.55.05-.55-.05-.47-.16-16.97-8.48-.31-.24-.11-.27\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path d=\"m54.8 84.92 2.55 1.28\" stroke=\"currentColor\" strokeOpacity=\"0.7\" strokeLinecap=\"round\" />\n </g>\n <mask id={`${id}-slot-1`} maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"120\" height=\"120\">\n <path d=\"M17.64 74.03 39.7 63l21.72 10.86v7.49L39.36 92.38 17.64 81.52Z\" fill=\"white\" />\n </mask>\n <g mask={`url(#${id}-slot-1)`}>\n <path\n d=\"m40.1 64.6.18-.46.52-.39 8.06-4.03.78-.26.92-.09.92.09.78.26 16.97 8.49.52.39.18.46v6.23l-.18.46-.52.39-8.06 4.03-.78.26-.92.09-.92-.09-.78-.26-16.97-8.48-.52-.39-.18-.46Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"m68.97 69.06-.11.27-.31.24-8.06 4.03-.47.15-.55.06-.55-.06-.47-.15-16.97-8.49-.31-.23-.11-.28\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path d=\"m54.8 75.57 2.55 1.27\" stroke=\"currentColor\" strokeOpacity=\"0.7\" strokeLinecap=\"round\" />\n </g>\n <mask id={`${id}-slot-2`} maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"120\" height=\"120\">\n <path d=\"M17.64 64.68 39.7 53.65l21.72 10.86v7.48L39.36 83.02 17.64 72.16Z\" fill=\"white\" />\n </mask>\n <g mask={`url(#${id}-slot-2)`}>\n <g\n className=\"motion-safe:transition-[translate,transform] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:[translate:var(--hover-shift)]\"\n style={hoverStyle}\n >\n <path\n d=\"m31.19 59.7.18-.45.52-.39 16.97-8.49.78-.26.92-.09.92.09.78.26 16.97 8.49.52.39.18.45v6.24l-.18.46-.52.39-16.97 8.48-.78.26-.92.1-.92-.1-.78-.26-16.97-8.48-.52-.39-.18-.46Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n <path\n d=\"m68.97 59.7-.11.28-.31.23-16.97 8.49-.47.16-.55.05-.55-.05-.47-.16-16.97-8.49-.31-.23-.11-.28\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path d=\"m45.89 70.67 2.55 1.27\" stroke=\"currentColor\" strokeLinecap=\"round\" />\n </g>\n </g>\n <mask id={`${id}-slot-3`} maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"120\" height=\"120\">\n <path d=\"M17.64 55.33 39.7 44.3l21.72 10.86v7.48L39.36 73.67 17.64 62.81Z\" fill=\"white\" />\n </mask>\n <g mask={`url(#${id}-slot-3)`}>\n <path\n d=\"m40.1 45.9.18-.46.52-.39 8.06-4.03.78-.26.92-.09.92.09.78.26 16.97 8.48.52.39.18.46v6.24l-.18.46-.52.39-8.06 4.03-.78.26-.92.09-.92-.09-.78-.26-16.97-8.49-.52-.39-.18-.46Z\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.7\"\n />\n <path\n d=\"m68.97 50.35-.11.28-.31.23-8.06 4.03-.47.16-.55.05-.55-.05-.47-.16-16.97-8.48-.31-.24-.11-.27\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.35\"\n />\n <path d=\"m54.8 56.86 2.55 1.28\" stroke=\"currentColor\" strokeOpacity=\"0.7\" strokeLinecap=\"round\" />\n </g>\n </g>\n );\n}\n","export function ThreadsArt() {\n return (\n <>\n <rect\n opacity=\"0.5\"\n x=\"0.967\"\n width=\"57.956\"\n height=\"4.684\"\n rx=\"2.342\"\n transform=\"matrix(0.85 -0.526 0.85 0.526 37.495 79.553)\"\n stroke=\"currentColor\"\n strokeWidth=\"1.137\"\n />\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:delay-100 motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1\">\n <rect\n x=\"0.967\"\n width=\"57.956\"\n height=\"4.684\"\n rx=\"2.342\"\n transform=\"matrix(0.85 -0.526 0.85 0.526 37.495 76.562)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"1.137\"\n />\n </g>\n <rect\n opacity=\"0.5\"\n x=\"0.967\"\n width=\"57.956\"\n height=\"4.684\"\n rx=\"2.342\"\n transform=\"matrix(0.85 -0.526 0.85 0.526 31.396 41.34)\"\n stroke=\"currentColor\"\n strokeWidth=\"1.137\"\n />\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1\">\n <rect\n x=\"0.967\"\n width=\"57.956\"\n height=\"4.684\"\n rx=\"2.342\"\n transform=\"matrix(0.85 -0.526 0.85 0.526 31.396 38.348)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"1.137\"\n />\n </g>\n <rect\n opacity=\"0.5\"\n x=\"0.967\"\n width=\"61.708\"\n height=\"4.684\"\n rx=\"2.342\"\n transform=\"matrix(0.85 -0.526 0.85 0.526 45.751 84.663)\"\n stroke=\"currentColor\"\n strokeWidth=\"1.137\"\n />\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:delay-100 motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1\">\n <rect\n x=\"0.967\"\n width=\"61.708\"\n height=\"4.684\"\n rx=\"2.342\"\n transform=\"matrix(0.85 -0.526 0.85 0.526 45.751 81.671)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"1.137\"\n />\n </g>\n <rect\n opacity=\"0.5\"\n x=\"0.967\"\n width=\"45.001\"\n height=\"4.684\"\n rx=\"2.342\"\n transform=\"matrix(0.85 -0.526 0.85 0.526 39.651 46.449)\"\n stroke=\"currentColor\"\n strokeWidth=\"1.137\"\n />\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1\">\n <rect\n x=\"0.967\"\n width=\"45.001\"\n height=\"4.684\"\n rx=\"2.342\"\n transform=\"matrix(0.85 -0.526 0.85 0.526 39.651 43.458)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"1.137\"\n />\n </g>\n <rect\n opacity=\"0.5\"\n x=\"0.967\"\n width=\"42.675\"\n height=\"4.684\"\n rx=\"2.342\"\n transform=\"matrix(0.85 -0.526 0.85 0.526 54.006 89.772)\"\n stroke=\"currentColor\"\n strokeWidth=\"1.137\"\n />\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:delay-100 motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1\">\n <rect\n x=\"0.967\"\n width=\"42.675\"\n height=\"4.684\"\n rx=\"2.342\"\n transform=\"matrix(0.85 -0.526 0.85 0.526 54.006 86.78)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n strokeWidth=\"1.137\"\n />\n </g>\n <path\n opacity=\"0.5\"\n d=\"m33.8 74.6 53.7-33.24c3.75-2.32 9.83-2.32 13.58 0l18.15 11.23c3.75 2.32 3.75 6.08 0 8.4l-53.1 32.87-.02.16-.78 8.5L33.8 83c-3.75-2.32-3.75-6.08 0-8.4\"\n stroke=\"currentColor\"\n strokeWidth=\"1.137\"\n />\n <path\n opacity=\"0.5\"\n d=\"m81.03 4.1-53.7 33.23c-3.75 2.32-3.75 6.08 0 8.4l10.38 6.43c3.75 2.32 9.83 2.32 13.58 0l53.1-32.86.27-.01 13.72-.49L94.61 4.1c-3.75-2.33-9.83-2.33-13.58 0\"\n stroke=\"currentColor\"\n strokeWidth=\"1.137\"\n />\n </>\n );\n}\n","export function TracesArt() {\n return (\n <>\n <rect\n x=\"0.851\"\n width=\"162.776\"\n height=\"11.227\"\n rx=\"5.614\"\n transform=\"matrix(0.851 -0.526 0.851 0.526 22.605 54.892)\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.5\"\n />\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1\">\n <rect\n x=\"0.851\"\n width=\"162.776\"\n height=\"11.227\"\n rx=\"5.614\"\n transform=\"matrix(0.851 -0.526 0.851 0.526 22.605 49.849)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n </g>\n <rect\n x=\"0.851\"\n width=\"162.776\"\n height=\"11.227\"\n rx=\"5.614\"\n transform=\"matrix(0.851 -0.526 0.851 0.526 56.12 54.384)\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.5\"\n />\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:delay-75 motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1\">\n <rect\n x=\"0.851\"\n width=\"162.776\"\n height=\"11.227\"\n rx=\"5.614\"\n transform=\"matrix(0.851 -0.526 0.851 0.526 56.12 49.343)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n </g>\n <rect\n x=\"0.851\"\n width=\"162.776\"\n height=\"11.227\"\n rx=\"5.614\"\n transform=\"matrix(0.851 -0.526 0.851 0.526 72.466 64.482)\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.5\"\n />\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:delay-150 motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1\">\n <rect\n x=\"0.851\"\n width=\"162.776\"\n height=\"11.227\"\n rx=\"5.614\"\n transform=\"matrix(0.851 -0.526 0.851 0.526 72.466 59.44)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n </g>\n <rect\n x=\"0.851\"\n width=\"162.776\"\n height=\"11.227\"\n rx=\"5.614\"\n transform=\"matrix(0.851 -0.526 0.851 0.526 88.813 74.579)\"\n stroke=\"currentColor\"\n strokeOpacity=\"0.5\"\n />\n <g className=\"motion-safe:transition-[translate,rotate] motion-safe:delay-200 motion-safe:duration-slow motion-safe:ease-out-custom motion-safe:group-hover/empty-state:-translate-y-1\">\n <rect\n x=\"0.851\"\n width=\"162.776\"\n height=\"11.227\"\n rx=\"5.614\"\n transform=\"matrix(0.851 -0.526 0.851 0.526 88.813 69.538)\"\n className=\"fill-background\"\n stroke=\"currentColor\"\n />\n </g>\n <path\n opacity=\"0.75\"\n d=\"M18.56 60.66a4.5 4.5 0 0 1 4.35 0l11.24 6.94a6.2 6.2 0 0 0 5.95 0l12.17-7.52a4.5 4.5 0 0 1 4.35 0c1.2.74 1.2 1.95 0 2.69l-12.17 7.52c-1.64 1.01-1.64 2.66 0 3.67l5.57 3.44a6.2 6.2 0 0 0 5.96 0l12.17-7.51a4.5 4.5 0 0 1 4.35 0c1.2.74 1.2 1.94 0 2.68L60.33 80.1c-1.65 1.02-1.65 2.67 0 3.68l3.49 2.16c3.31 2.04 8.68 2.04 12 0l9.14-5.66a4.5 4.5 0 0 1 4.35 0c1.2.75 1.2 1.95 0 2.7l-9.15 5.64c-5.71 3.53-14.98 3.53-20.7 0l-40.9-25.26c-1.2-.75-1.2-1.95 0-2.7\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n />\n </>\n );\n}\n","import { useId } from 'react';\nimport './empty-state-illustration.css';\nimport type { ReactNode } from 'react';\nimport { ApiKeysArt } from './illustrations/api-keys-art';\nimport { DatabasesArt } from './illustrations/databases-art';\nimport { DeploysArt } from './illustrations/deploys-art';\nimport { DisconnectedArt } from './illustrations/disconnected-art';\nimport { EnvironmentsArt } from './illustrations/environments-art';\nimport { LockedArt } from './illustrations/locked-art';\nimport { LogsArt } from './illustrations/logs-art';\nimport { NoAlertsArt } from './illustrations/no-alerts-art';\nimport { NoChargesArt } from './illustrations/no-charges-art';\nimport { NoDestinationsArt } from './illustrations/no-destinations-art';\nimport { NotAMemberArt } from './illustrations/not-a-member-art';\nimport { RateLimitedArt } from './illustrations/rate-limited-art';\nimport { RequestsArt } from './illustrations/requests-art';\nimport { ServerErrorArt } from './illustrations/server-error-art';\nimport { ThreadsArt } from './illustrations/threads-art';\nimport { TracesArt } from './illustrations/traces-art';\n\nexport type EmptyStateIllustrationName =\n | 'traces'\n | 'logs'\n | 'api-keys'\n | 'environments'\n | 'requests'\n | 'databases'\n | 'threads'\n | 'deploys'\n | 'no-charges'\n | 'no-alerts'\n | 'no-destinations'\n | 'disconnected'\n | 'locked'\n | 'rate-limited'\n | 'server-error'\n | 'not-a-member';\n\nconst artByName: Record<EmptyStateIllustrationName, (props: { id: string }) => ReactNode> = {\n traces: TracesArt,\n logs: LogsArt,\n 'api-keys': ApiKeysArt,\n environments: EnvironmentsArt,\n requests: RequestsArt,\n databases: DatabasesArt,\n threads: ThreadsArt,\n deploys: DeploysArt,\n 'no-charges': NoChargesArt,\n 'no-alerts': NoAlertsArt,\n 'no-destinations': NoDestinationsArt,\n disconnected: DisconnectedArt,\n locked: LockedArt,\n 'rate-limited': RateLimitedArt,\n 'server-error': ServerErrorArt,\n 'not-a-member': NotAMemberArt,\n};\n\nexport function EmptyStateIllustration({ name }: { name: EmptyStateIllustrationName }) {\n const id = useId().replace(/[^\\w-]/g, '');\n const Art = artByName[name];\n\n return (\n <div className=\"mb-5 w-30 max-w-full text-foreground group-data-[tone=error]/empty-state:text-destructive-indicator\">\n <svg\n viewBox=\"0 0 120 120\"\n fill=\"none\"\n aria-hidden=\"true\"\n data-illustration={name}\n className=\"block aspect-square h-auto w-full\"\n >\n <mask id={`${id}-frame`} maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"120\" height=\"120\">\n <circle cx=\"60\" cy=\"60\" r=\"60\" fill=\"white\" />\n </mask>\n <g mask={`url(#${id}-frame)`}>\n <Art id={id} />\n </g>\n <circle cx=\"60\" cy=\"60\" r=\"60\" fill={`url(#${id}-glow)`} fillOpacity=\"0.09\" />\n <defs>\n <linearGradient id={`${id}-glow`} x1=\"60\" y1=\"0\" x2=\"60\" y2=\"120\" gradientUnits=\"userSpaceOnUse\">\n <stop stopColor=\"currentColor\" />\n <stop offset=\"1\" stopColor=\"currentColor\" stopOpacity=\"0.4\" />\n </linearGradient>\n </defs>\n </svg>\n </div>\n );\n}\n"],"mappings":";;;;;;;AAQA,IAAM,oBAA6D;CACjE,SAAS,oBAAC,mBAAD,CAAoB,CAAA;CAC7B,OAAO,oBAAC,aAAD,CAAc,CAAA;AACvB;AAEA,IAAM,kBAAkD;CACtD,SAAS;CACT,OAAO;AACT;AAmBA,SAAgB,WAAW,EACzB,OAAO,WACP,WAAW,kBAAkB,OAC7B,WACA,iBACA,YACA,WACA,IAAI,aAAa,MACjB,UAAU,YACQ;CAClB,MAAM,UACJ,qBAAC,OAAD;EACE,aAAW;EACX,WAAW,GACT,gGACA,sDACA,SACF;EANF,UAAA;GAQG,YAAY,oBAAC,OAAD;IAAK,WAAW,GAAG,wCAAwC,gBAAgB,KAAK;IAAI,UAAA;GAAc,CAAA;GAC/G,oBAAC,YAAD;IAAY,WAAU;IAAmC,UAAA;GAAsB,CAAA;GAC9E,mBACC,oBAAC,KAAD;IAAK,SAAQ;IAAU,MAAK;IAAQ,WAAU;IAC3C,UAAA;GACE,CAAA;GAEN,cAAc,oBAAC,OA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B,CAAA,GAChC,oBAAC,QAAD;MAAM,QAAO;MAAI,WAAU;MAAe,aAAY;KAAO,CAAA,CAC/C;IACZ,CAAA,EAAA,CAAA;GACH;;CACF,CAAA;AAET"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MetricsLineChart-CFKyRZ0t.cjs","names":["cn","Txt","ChartTooltip","Txt","CHART_CURSOR_PROPS","cn","ChartSkeleton","useChartDefsId","useChartSize","compactNumber","useContext","ChartHideYAxis","ChartPlot","ComposedChart","CHART_MARGIN","CartesianGrid","CHART_GRID_PROPS","timeXAxis","valueYAxis","dataMax","isWholeData","ReferenceLine","Tooltip","CHART_TOOLTIP_PROPS","ChartTooltipPosition","Line","Area"],"sources":["../src/ds/components/MetricsLineChart/metrics-line-chart-legend.tsx","../src/ds/components/MetricsLineChart/metrics-line-chart-tooltip.tsx","../src/ds/components/MetricsLineChart/metrics-line-chart.tsx"],"sourcesContent":["import type { MetricsLineChartSeries } from './metrics-line-chart';\nimport { Txt } from '@/ds/components/Txt';\nimport { cn } from '@/lib/utils';\n\n/** A marker and a label per series. Totals belong in the card's header, not here. */\nexport function MetricsLineChartLegend({\n series,\n className,\n}: {\n series: Pick<MetricsLineChartSeries, 'dataKey' | 'label' | 'color' | 'dashed'>[];\n className?: string;\n}) {\n return (\n <div data-slot=\"chart-legend\" className={cn('flex flex-wrap items-center gap-x-4 gap-y-1', className)}>\n {series.map(s => (\n <div key={s.dataKey} className=\"inline-flex items-center gap-1.5\">\n {s.dashed ? (\n <span className=\"h-0 w-3 shrink-0 border-t-2 border-dashed\" style={{ borderColor: s.color }} />\n ) : (\n <div className=\"size-2 shrink-0 rounded-[2px]\" style={{ backgroundColor: s.color }} />\n )}\n <Txt as=\"span\" variant=\"body-sm\" tone=\"muted\" className=\"max-w-48 truncate\">\n {s.label}\n </Txt>\n </div>\n ))}\n </div>\n );\n}\n","import { ChartTooltip } from '@/ds/components/ChartTooltip';\nimport { Txt } from '@/ds/components/Txt';\n\nexport function MetricsLineChartTooltip({\n active,\n payload,\n label,\n suffix,\n formatValue = value => value.toLocaleString('en-US'),\n showTotal = false,\n labelKey,\n formatByKey,\n}: {\n active?: boolean;\n payload?: Array<{\n name: string;\n value: number;\n color: string;\n dataKey?: string | number;\n payload?: Record<string, unknown>;\n }>;\n label?: string;\n suffix?: string;\n formatValue?: (value: number) => string;\n /** Adds a \"Total\" row under a hairline: the sum of every row, e.g. a stacked column's height. */\n showTotal?: boolean;\n /** Read the heading from this field of the hovered row instead of the x-axis label. */\n labelKey?: string;\n /** Per-series formatters, by data key, for charts that mix units (counts and durations). */\n formatByKey?: Record<string, (value: number) => string>;\n}) {\n if (!active || !payload?.length) return null;\n // A missing reading (NaN, Infinity) shows as a dash and stays out of the total.\n const finite = (value: unknown): value is number => typeof value === 'number' && Number.isFinite(value);\n const total = payload.reduce((sum, entry) => sum + (finite(entry.value) ? entry.value : 0), 0);\n // A bucket with no readings at all totals to a dash, not 0.\n const hasReading = payload.some(entry => finite(entry.value));\n const heading = labelKey ? String(payload[0]?.payload?.[labelKey] ?? label ?? '') : label;\n const format = (entry: { dataKey?: string | number }) => formatByKey?.[String(entry.dataKey)] ?? formatValue;\n // A number through its formatter; a missing or non-finite one as a dash; text as it is.\n const reading = (entry: (typeof payload)[number]) => {\n if (finite(entry.value)) return format(entry)(entry.value);\n if (typeof entry.value === 'number' || entry.value == null) return '—';\n return entry.value;\n };\n return (\n // A floor like shadcn's chart tooltip, so short readouts don't size it to their own label.\n <ChartTooltip className=\"min-w-32\">\n <Txt variant=\"column\" tone=\"ink\" className=\"mb-1\">\n {heading}\n </Txt>\n <div className=\"grid grid-cols-[auto_1fr_auto] items-center gap-x-2 gap-y-1\">\n {payload.map(entry => (\n <div key={entry.name} className=\"contents\">\n <span className=\"size-2 rounded-[2px]\" style={{ backgroundColor: entry.color }} />\n <Txt as=\"span\" variant=\"caption\" tone=\"muted\" className=\"max-w-40 truncate\">\n {entry.name}\n </Txt>\n <span className=\"text-right font-mono text-foreground tabular-nums\">\n {reading(entry)}\n {finite(entry.value) && suffix}\n </span>\n </div>\n ))}\n {showTotal && (\n <div className=\"col-span-3 grid grid-cols-subgrid items-center border-t border-border pt-1\">\n <Txt as=\"span\" variant=\"caption\" tone=\"muted\" className=\"col-span-2\">\n Total\n </Txt>\n <span className=\"text-right font-mono text-foreground tabular-nums\">\n {hasReading ? formatValue(total) : '—'}\n {hasReading && suffix}\n </span>\n </div>\n )}\n </div>\n </ChartTooltip>\n );\n}\n","import { useContext } from 'react';\nimport { Area, CartesianGrid, ComposedChart, Line, ReferenceLine, Tooltip } from 'recharts';\nimport { MetricsLineChartLegend } from './metrics-line-chart-legend';\nimport { MetricsLineChartTooltip } from './metrics-line-chart-tooltip';\nimport { ChartSkeleton } from '@/ds/components/ChartSkeleton';\nimport { CHART_CURSOR_PROPS, CHART_GRID_PROPS, CHART_TOOLTIP_PROPS, useChartSize } from '@/ds/primitives/chart-axes';\nimport type { ChartXLabels } from '@/ds/primitives/chart-axes';\nimport { Y_AXIS_WIDTH, compactNumber, dataMax, isWholeData, timeXAxis, valueYAxis } from '@/ds/primitives/chart-frame';\nimport type { ChartHeight } from '@/ds/primitives/chart-frame';\nimport { CHART_MARGIN, ChartHideYAxis } from '@/ds/primitives/chart-layout';\nimport { ChartPlot } from '@/ds/primitives/chart-plot';\nimport { ChartTooltipPosition } from '@/ds/primitives/chart-tooltip-position';\nimport { useChartDefsId } from '@/ds/primitives/use-chart-defs-id';\nimport { cn } from '@/lib/utils';\n\nexport type MetricsLineChartSeries = {\n dataKey: string;\n label: string;\n color: string;\n /** A secondary reading (e.g. an average next to counts): dashed, no fill under it. */\n dashed?: boolean;\n /** The series to read first (e.g. P95 among percentiles): a slightly heavier line. */\n emphasis?: boolean;\n};\n\n/** Line weight; an emphasised series adds half a pixel. */\nconst LINE_WIDTH = 1.75;\n/** Opacity at the top of the fill under a line (it fades to nothing at the base). */\nconst AREA_OPACITY = 0.12;\n\n/**\n * How the series draw.\n * - `default`: 1.75px lines over a fill.\n * - `thin`: 1.5px lines (emphasis included) over a fainter fill (40% of the default), for small\n * cards in a grid.\n */\nexport type MetricsLineChartLineStyle = 'default' | 'thin';\n\nconst LINE_STYLES: Record<MetricsLineChartLineStyle, { width: number; emphasis: number; areaOpacity: number }> = {\n default: { width: LINE_WIDTH, emphasis: LINE_WIDTH + 0.5, areaOpacity: AREA_OPACITY },\n thin: { width: 1.5, emphasis: 1.5, areaOpacity: AREA_OPACITY * 0.4 },\n};\n\n/**\n * Fills fade out sideways over their first and last 24px, so they don't end in a hard vertical\n * edge where the line starts and stops. A mask sized to each fill's own box.\n */\nconst THIN_FILL_FADE = '[&_.recharts-area-area]:mask-x-from-[calc(100%-24px)]';\n/** A lone point draws no line at all, so it gets a dot; lines already bridge gaps (`connectNulls`). */\nconst SPARSE_POINTS = 1;\n\n// Jumps straight to the hovered point, with the dots and the tooltip.\nfunction HoverLine({ points }: { points?: { x: number; y: number }[] }) {\n const [top, bottom] = points ?? [];\n if (!top || !bottom) return null;\n return (\n <line x1={top.x} x2={top.x} y1={top.y} y2={bottom.y} {...CHART_CURSOR_PROPS} className=\"pointer-events-none\" />\n );\n}\n\nexport type MetricsLineChartPointClickHandler = (point: Record<string, unknown>, seriesKey: string) => void;\n\nexport type MetricsLineChartProps = {\n data: Record<string, unknown>[];\n series: MetricsLineChartSeries[];\n /** Pixels, or `fill` to grow with the parent (a flex column, e.g. a card's content). */\n height?: ChartHeight;\n yDomain?: [number, number];\n /** Click on a series' active dot. */\n onPointClick?: MetricsLineChartPointClickHandler;\n /** Click anywhere on a bucket (e.g. to open its traces); the plot shows a pointer cursor. */\n onBucketClick?: (row: Record<string, unknown>, index: number) => void;\n /** Row field printed under the x-axis. */\n xKey?: string;\n /** Row field with the bucket's start time (ms), which places labels on round clock times. */\n timestampKey?: string;\n /** `auto` fits as many labels as the width allows; `edges` prints only the first and last. */\n xLabels?: ChartXLabels;\n /** Row field for the tooltip heading (e.g. a longer date); defaults to the x-axis label. */\n tooltipLabelKey?: string;\n /** Render a visible dot on every point. A series with a single point gets one anyway. */\n showDots?: boolean;\n /**\n * Point markers. `auto`: on a series' lone point (or every point with `showDots`). `hover`:\n * none at rest, only the hovered point's.\n */\n dots?: 'auto' | 'hover';\n /** Line weight and fill. `thin` suits small cards in a grid. */\n lineStyle?: MetricsLineChartLineStyle;\n /** Set to `false` to render `MetricsLineChartLegend` elsewhere, e.g. next to tabs. */\n showLegend?: boolean;\n /** Formats tooltip values (e.g. `ms`, `%`), and y-axis ticks unless `axisFormatter` is set. */\n valueFormatter?: (value: number) => string;\n /** Formats y-axis ticks, when they need a shorter form than the tooltip. */\n axisFormatter?: (value: number) => string;\n /**\n * Set to `false` to drop the y-axis labels and let the plot span the card. The gridlines stay\n * for relative scale; exact values come from the tooltip and the card's summary.\n */\n showYAxis?: boolean;\n /** Show a ghost of the chart while data loads, in the chart's own footprint. */\n isLoading?: boolean;\n /**\n * Vertical lines at buckets, e.g. where a billing period starts. `x` must be one of the data's\n * `xKey` values: the axis is categorical, so any other value draws nothing.\n */\n markers?: { x: string; label?: string }[];\n className?: string;\n};\n\nexport function MetricsLineChart(props: MetricsLineChartProps) {\n const { data, series, height = 210, showLegend = true, isLoading = false, className } = props;\n const root = cn(height === 'fill' && 'flex min-h-0 flex-1 flex-col', className);\n // The legend stays while loading: it comes from the series, not the data.\n return (\n <div className={root}>\n {showLegend && <MetricsLineChartLegend series={series} className=\"mb-4\" />}\n {isLoading ? <ChartSkeleton kind=\"line\" height={height} /> : <LinePlot {...props} />}\n </div>\n );\n}\n\n/** The plot itself, once the data is in. */\nfunction LinePlot({\n data,\n series,\n height = 210,\n yDomain,\n onPointClick,\n onBucketClick,\n xKey = 'time',\n timestampKey = 'tsMs',\n xLabels = 'auto',\n tooltipLabelKey,\n showDots = false,\n dots = 'auto',\n lineStyle = 'default',\n valueFormatter,\n axisFormatter,\n showYAxis = true,\n markers = [],\n}: MetricsLineChartProps) {\n const id = useChartDefsId();\n const { size, onResize, ref } = useChartSize();\n\n const format = valueFormatter ?? compactNumber.format;\n const isSparse = (key: string) => data.filter(row => typeof row[key] === 'number').length <= SPARSE_POINTS;\n const hideYAxis = useContext(ChartHideYAxis);\n const withYAxis = showYAxis && !hideYAxis;\n const plotWidth = size.width - (withYAxis ? Y_AXIS_WIDTH : 0);\n const line = LINE_STYLES[lineStyle];\n const restDot = (s: MetricsLineChartSeries) =>\n dots === 'auto' && (showDots || isSparse(s.dataKey)) ? { r: 3, fill: s.color, strokeWidth: 0 } : false;\n const activeDot = (s: MetricsLineChartSeries) => ({\n r: 3.5,\n fill: s.color,\n stroke: 'var(--background)',\n strokeWidth: 2,\n ...(onPointClick && {\n style: { cursor: 'pointer' },\n onClick: (_: unknown, payload: unknown) => {\n // Recharts passes the dot's props; the hovered row is under `payload`.\n if (isRecord(payload) && isRecord(payload.payload)) onPointClick(payload.payload, s.dataKey);\n },\n }),\n });\n\n return (\n <ChartPlot\n height={height}\n plotRef={ref}\n onResize={onResize}\n clickable={!!onBucketClick}\n className={cn(lineStyle === 'thin' && THIN_FILL_FADE)}\n >\n <ComposedChart\n data={data}\n margin={CHART_MARGIN}\n onClick={state => {\n const i = state?.activeTooltipIndex;\n const row = i === undefined || i === null ? undefined : data[Number(i)];\n if (onBucketClick && row) onBucketClick(row, Number(i));\n }}\n >\n <defs>\n {series.map((s, i) => (\n <linearGradient key={s.dataKey} id={`${id}-area-${i}`} x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\">\n <stop offset=\"0%\" stopColor={s.color} stopOpacity={line.areaOpacity} />\n <stop offset=\"95%\" stopColor={s.color} stopOpacity={0} />\n </linearGradient>\n ))}\n </defs>\n <CartesianGrid {...CHART_GRID_PROPS} />\n {timeXAxis({ data, xKey, timestampKey, xLabels, plotWidth })}\n {valueYAxis({\n show: withYAxis,\n size,\n formatter: axisFormatter ?? format,\n domain: yDomain,\n max: dataMax(\n data,\n series.map(s => s.dataKey),\n ),\n integer: isWholeData(\n data,\n series.map(s => s.dataKey),\n ),\n })}\n {markers.map(m => (\n <ReferenceLine\n key={m.x}\n x={m.x}\n stroke=\"var(--border-strong)\"\n strokeDasharray=\"3 3\"\n label={\n m.label\n ? { value: m.label, position: 'insideTopLeft', fill: 'var(--muted-foreground)', fontSize: 11 }\n : undefined\n }\n />\n ))}\n <Tooltip\n {...CHART_TOOLTIP_PROPS}\n content={\n <ChartTooltipPosition>\n <MetricsLineChartTooltip formatValue={format} labelKey={tooltipLabelKey} />\n </ChartTooltipPosition>\n }\n cursor={<HoverLine />}\n />\n {series.map((s, i) => {\n const common = {\n type: 'monotone' as const,\n dataKey: s.dataKey,\n name: s.label,\n stroke: s.color,\n strokeWidth: s.emphasis ? line.emphasis : line.width,\n strokeDasharray: s.dashed ? '4 3' : undefined,\n dot: restDot(s),\n activeDot: activeDot(s),\n isAnimationActive: false,\n connectNulls: true,\n };\n return s.dashed ? (\n <Line key={s.dataKey} {...common} />\n ) : (\n <Area key={s.dataKey} {...common} fill={`url(#${id}-area-${i})`} fillOpacity={1} />\n );\n })}\n </ComposedChart>\n </ChartPlot>\n );\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null;\n}\n"],"mappings":";;;;;;;;;;;;;;;AAKA,SAAgB,uBAAuB,EACrC,QACA,aAIC;CACD,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,aAAU;EAAe,WAAWA,cAAAA,GAAG,+CAA+C,SAAS;EACjG,UAAA,OAAO,KAAI,MACV,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;GAAqB,WAAU;GAA/B,UAAA,CACG,EAAE,SACD,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;IAAM,WAAU;IAA4C,OAAO,EAAE,aAAa,EAAE,MAAM;GAAI,CAAA,IAE9F,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;IAAK,WAAU;IAAgC,OAAO,EAAE,iBAAiB,EAAE,MAAM;GAAI,CAAA,GAEvF,iBAAA,GAAA,kBAAA,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GAAI;MAAQ,MAAM,QAAQ,GAAG,QAAQ,EAAE;MAAI,aAAa;KAAI,GAAvE,EAAE,OAAqE;IAEtF,CAAC;GACY;;CACN,CAAA;AAEf;AAEA,SAAS,SAAS,OAAkD;CAClE,OAAO,OAAO,UAAU,YAAY,UAAU;AAChD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MetricsLineChart-CwQ7c3nK.js","names":[],"sources":["../src/ds/components/MetricsLineChart/metrics-line-chart-legend.tsx","../src/ds/components/MetricsLineChart/metrics-line-chart-tooltip.tsx","../src/ds/components/MetricsLineChart/metrics-line-chart.tsx"],"sourcesContent":["import type { MetricsLineChartSeries } from './metrics-line-chart';\nimport { Txt } from '@/ds/components/Txt';\nimport { cn } from '@/lib/utils';\n\n/** A marker and a label per series. Totals belong in the card's header, not here. */\nexport function MetricsLineChartLegend({\n series,\n className,\n}: {\n series: Pick<MetricsLineChartSeries, 'dataKey' | 'label' | 'color' | 'dashed'>[];\n className?: string;\n}) {\n return (\n <div data-slot=\"chart-legend\" className={cn('flex flex-wrap items-center gap-x-4 gap-y-1', className)}>\n {series.map(s => (\n <div key={s.dataKey} className=\"inline-flex items-center gap-1.5\">\n {s.dashed ? (\n <span className=\"h-0 w-3 shrink-0 border-t-2 border-dashed\" style={{ borderColor: s.color }} />\n ) : (\n <div className=\"size-2 shrink-0 rounded-[2px]\" style={{ backgroundColor: s.color }} />\n )}\n <Txt as=\"span\" variant=\"body-sm\" tone=\"muted\" className=\"max-w-48 truncate\">\n {s.label}\n </Txt>\n </div>\n ))}\n </div>\n );\n}\n","import { ChartTooltip } from '@/ds/components/ChartTooltip';\nimport { Txt } from '@/ds/components/Txt';\n\nexport function MetricsLineChartTooltip({\n active,\n payload,\n label,\n suffix,\n formatValue = value => value.toLocaleString('en-US'),\n showTotal = false,\n labelKey,\n formatByKey,\n}: {\n active?: boolean;\n payload?: Array<{\n name: string;\n value: number;\n color: string;\n dataKey?: string | number;\n payload?: Record<string, unknown>;\n }>;\n label?: string;\n suffix?: string;\n formatValue?: (value: number) => string;\n /** Adds a \"Total\" row under a hairline: the sum of every row, e.g. a stacked column's height. */\n showTotal?: boolean;\n /** Read the heading from this field of the hovered row instead of the x-axis label. */\n labelKey?: string;\n /** Per-series formatters, by data key, for charts that mix units (counts and durations). */\n formatByKey?: Record<string, (value: number) => string>;\n}) {\n if (!active || !payload?.length) return null;\n // A missing reading (NaN, Infinity) shows as a dash and stays out of the total.\n const finite = (value: unknown): value is number => typeof value === 'number' && Number.isFinite(value);\n const total = payload.reduce((sum, entry) => sum + (finite(entry.value) ? entry.value : 0), 0);\n // A bucket with no readings at all totals to a dash, not 0.\n const hasReading = payload.some(entry => finite(entry.value));\n const heading = labelKey ? String(payload[0]?.payload?.[labelKey] ?? label ?? '') : label;\n const format = (entry: { dataKey?: string | number }) => formatByKey?.[String(entry.dataKey)] ?? formatValue;\n // A number through its formatter; a missing or non-finite one as a dash; text as it is.\n const reading = (entry: (typeof payload)[number]) => {\n if (finite(entry.value)) return format(entry)(entry.value);\n if (typeof entry.value === 'number' || entry.value == null) return '—';\n return entry.value;\n };\n return (\n // A floor like shadcn's chart tooltip, so short readouts don't size it to their own label.\n <ChartTooltip className=\"min-w-32\">\n <Txt variant=\"column\" tone=\"ink\" className=\"mb-1\">\n {heading}\n </Txt>\n <div className=\"grid grid-cols-[auto_1fr_auto] items-center gap-x-2 gap-y-1\">\n {payload.map(entry => (\n <div key={entry.name} className=\"contents\">\n <span className=\"size-2 rounded-[2px]\" style={{ backgroundColor: entry.color }} />\n <Txt as=\"span\" variant=\"caption\" tone=\"muted\" className=\"max-w-40 truncate\">\n {entry.name}\n </Txt>\n <span className=\"text-right font-mono text-foreground tabular-nums\">\n {reading(entry)}\n {finite(entry.value) && suffix}\n </span>\n </div>\n ))}\n {showTotal && (\n <div className=\"col-span-3 grid grid-cols-subgrid items-center border-t border-border pt-1\">\n <Txt as=\"span\" variant=\"caption\" tone=\"muted\" className=\"col-span-2\">\n Total\n </Txt>\n <span className=\"text-right font-mono text-foreground tabular-nums\">\n {hasReading ? formatValue(total) : '—'}\n {hasReading && suffix}\n </span>\n </div>\n )}\n </div>\n </ChartTooltip>\n );\n}\n","import { useContext } from 'react';\nimport { Area, CartesianGrid, ComposedChart, Line, ReferenceLine, Tooltip } from 'recharts';\nimport { MetricsLineChartLegend } from './metrics-line-chart-legend';\nimport { MetricsLineChartTooltip } from './metrics-line-chart-tooltip';\nimport { ChartSkeleton } from '@/ds/components/ChartSkeleton';\nimport { CHART_CURSOR_PROPS, CHART_GRID_PROPS, CHART_TOOLTIP_PROPS, useChartSize } from '@/ds/primitives/chart-axes';\nimport type { ChartXLabels } from '@/ds/primitives/chart-axes';\nimport { Y_AXIS_WIDTH, compactNumber, dataMax, isWholeData, timeXAxis, valueYAxis } from '@/ds/primitives/chart-frame';\nimport type { ChartHeight } from '@/ds/primitives/chart-frame';\nimport { CHART_MARGIN, ChartHideYAxis } from '@/ds/primitives/chart-layout';\nimport { ChartPlot } from '@/ds/primitives/chart-plot';\nimport { ChartTooltipPosition } from '@/ds/primitives/chart-tooltip-position';\nimport { useChartDefsId } from '@/ds/primitives/use-chart-defs-id';\nimport { cn } from '@/lib/utils';\n\nexport type MetricsLineChartSeries = {\n dataKey: string;\n label: string;\n color: string;\n /** A secondary reading (e.g. an average next to counts): dashed, no fill under it. */\n dashed?: boolean;\n /** The series to read first (e.g. P95 among percentiles): a slightly heavier line. */\n emphasis?: boolean;\n};\n\n/** Line weight; an emphasised series adds half a pixel. */\nconst LINE_WIDTH = 1.75;\n/** Opacity at the top of the fill under a line (it fades to nothing at the base). */\nconst AREA_OPACITY = 0.12;\n\n/**\n * How the series draw.\n * - `default`: 1.75px lines over a fill.\n * - `thin`: 1.5px lines (emphasis included) over a fainter fill (40% of the default), for small\n * cards in a grid.\n */\nexport type MetricsLineChartLineStyle = 'default' | 'thin';\n\nconst LINE_STYLES: Record<MetricsLineChartLineStyle, { width: number; emphasis: number; areaOpacity: number }> = {\n default: { width: LINE_WIDTH, emphasis: LINE_WIDTH + 0.5, areaOpacity: AREA_OPACITY },\n thin: { width: 1.5, emphasis: 1.5, areaOpacity: AREA_OPACITY * 0.4 },\n};\n\n/**\n * Fills fade out sideways over their first and last 24px, so they don't end in a hard vertical\n * edge where the line starts and stops. A mask sized to each fill's own box.\n */\nconst THIN_FILL_FADE = '[&_.recharts-area-area]:mask-x-from-[calc(100%-24px)]';\n/** A lone point draws no line at all, so it gets a dot; lines already bridge gaps (`connectNulls`). */\nconst SPARSE_POINTS = 1;\n\n// Jumps straight to the hovered point, with the dots and the tooltip.\nfunction HoverLine({ points }: { points?: { x: number; y: number }[] }) {\n const [top, bottom] = points ?? [];\n if (!top || !bottom) return null;\n return (\n <line x1={top.x} x2={top.x} y1={top.y} y2={bottom.y} {...CHART_CURSOR_PROPS} className=\"pointer-events-none\" />\n );\n}\n\nexport type MetricsLineChartPointClickHandler = (point: Record<string, unknown>, seriesKey: string) => void;\n\nexport type MetricsLineChartProps = {\n data: Record<string, unknown>[];\n series: MetricsLineChartSeries[];\n /** Pixels, or `fill` to grow with the parent (a flex column, e.g. a card's content). */\n height?: ChartHeight;\n yDomain?: [number, number];\n /** Click on a series' active dot. */\n onPointClick?: MetricsLineChartPointClickHandler;\n /** Click anywhere on a bucket (e.g. to open its traces); the plot shows a pointer cursor. */\n onBucketClick?: (row: Record<string, unknown>, index: number) => void;\n /** Row field printed under the x-axis. */\n xKey?: string;\n /** Row field with the bucket's start time (ms), which places labels on round clock times. */\n timestampKey?: string;\n /** `auto` fits as many labels as the width allows; `edges` prints only the first and last. */\n xLabels?: ChartXLabels;\n /** Row field for the tooltip heading (e.g. a longer date); defaults to the x-axis label. */\n tooltipLabelKey?: string;\n /** Render a visible dot on every point. A series with a single point gets one anyway. */\n showDots?: boolean;\n /**\n * Point markers. `auto`: on a series' lone point (or every point with `showDots`). `hover`:\n * none at rest, only the hovered point's.\n */\n dots?: 'auto' | 'hover';\n /** Line weight and fill. `thin` suits small cards in a grid. */\n lineStyle?: MetricsLineChartLineStyle;\n /** Set to `false` to render `MetricsLineChartLegend` elsewhere, e.g. next to tabs. */\n showLegend?: boolean;\n /** Formats tooltip values (e.g. `ms`, `%`), and y-axis ticks unless `axisFormatter` is set. */\n valueFormatter?: (value: number) => string;\n /** Formats y-axis ticks, when they need a shorter form than the tooltip. */\n axisFormatter?: (value: number) => string;\n /**\n * Set to `false` to drop the y-axis labels and let the plot span the card. The gridlines stay\n * for relative scale; exact values come from the tooltip and the card's summary.\n */\n showYAxis?: boolean;\n /** Show a ghost of the chart while data loads, in the chart's own footprint. */\n isLoading?: boolean;\n /**\n * Vertical lines at buckets, e.g. where a billing period starts. `x` must be one of the data's\n * `xKey` values: the axis is categorical, so any other value draws nothing.\n */\n markers?: { x: string; label?: string }[];\n className?: string;\n};\n\nexport function MetricsLineChart(props: MetricsLineChartProps) {\n const { data, series, height = 210, showLegend = true, isLoading = false, className } = props;\n const root = cn(height === 'fill' && 'flex min-h-0 flex-1 flex-col', className);\n // The legend stays while loading: it comes from the series, not the data.\n return (\n <div className={root}>\n {showLegend && <MetricsLineChartLegend series={series} className=\"mb-4\" />}\n {isLoading ? <ChartSkeleton kind=\"line\" height={height} /> : <LinePlot {...props} />}\n </div>\n );\n}\n\n/** The plot itself, once the data is in. */\nfunction LinePlot({\n data,\n series,\n height = 210,\n yDomain,\n onPointClick,\n onBucketClick,\n xKey = 'time',\n timestampKey = 'tsMs',\n xLabels = 'auto',\n tooltipLabelKey,\n showDots = false,\n dots = 'auto',\n lineStyle = 'default',\n valueFormatter,\n axisFormatter,\n showYAxis = true,\n markers = [],\n}: MetricsLineChartProps) {\n const id = useChartDefsId();\n const { size, onResize, ref } = useChartSize();\n\n const format = valueFormatter ?? compactNumber.format;\n const isSparse = (key: string) => data.filter(row => typeof row[key] === 'number').length <= SPARSE_POINTS;\n const hideYAxis = useContext(ChartHideYAxis);\n const withYAxis = showYAxis && !hideYAxis;\n const plotWidth = size.width - (withYAxis ? Y_AXIS_WIDTH : 0);\n const line = LINE_STYLES[lineStyle];\n const restDot = (s: MetricsLineChartSeries) =>\n dots === 'auto' && (showDots || isSparse(s.dataKey)) ? { r: 3, fill: s.color, strokeWidth: 0 } : false;\n const activeDot = (s: MetricsLineChartSeries) => ({\n r: 3.5,\n fill: s.color,\n stroke: 'var(--background)',\n strokeWidth: 2,\n ...(onPointClick && {\n style: { cursor: 'pointer' },\n onClick: (_: unknown, payload: unknown) => {\n // Recharts passes the dot's props; the hovered row is under `payload`.\n if (isRecord(payload) && isRecord(payload.payload)) onPointClick(payload.payload, s.dataKey);\n },\n }),\n });\n\n return (\n <ChartPlot\n height={height}\n plotRef={ref}\n onResize={onResize}\n clickable={!!onBucketClick}\n className={cn(lineStyle === 'thin' && THIN_FILL_FADE)}\n >\n <ComposedChart\n data={data}\n margin={CHART_MARGIN}\n onClick={state => {\n const i = state?.activeTooltipIndex;\n const row = i === undefined || i === null ? undefined : data[Number(i)];\n if (onBucketClick && row) onBucketClick(row, Number(i));\n }}\n >\n <defs>\n {series.map((s, i) => (\n <linearGradient key={s.dataKey} id={`${id}-area-${i}`} x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\">\n <stop offset=\"0%\" stopColor={s.color} stopOpacity={line.areaOpacity} />\n <stop offset=\"95%\" stopColor={s.color} stopOpacity={0} />\n </linearGradient>\n ))}\n </defs>\n <CartesianGrid {...CHART_GRID_PROPS} />\n {timeXAxis({ data, xKey, timestampKey, xLabels, plotWidth })}\n {valueYAxis({\n show: withYAxis,\n size,\n formatter: axisFormatter ?? format,\n domain: yDomain,\n max: dataMax(\n data,\n series.map(s => s.dataKey),\n ),\n integer: isWholeData(\n data,\n series.map(s => s.dataKey),\n ),\n })}\n {markers.map(m => (\n <ReferenceLine\n key={m.x}\n x={m.x}\n stroke=\"var(--border-strong)\"\n strokeDasharray=\"3 3\"\n label={\n m.label\n ? { value: m.label, position: 'insideTopLeft', fill: 'var(--muted-foreground)', fontSize: 11 }\n : undefined\n }\n />\n ))}\n <Tooltip\n {...CHART_TOOLTIP_PROPS}\n content={\n <ChartTooltipPosition>\n <MetricsLineChartTooltip formatValue={format} labelKey={tooltipLabelKey} />\n </ChartTooltipPosition>\n }\n cursor={<HoverLine />}\n />\n {series.map((s, i) => {\n const common = {\n type: 'monotone' as const,\n dataKey: s.dataKey,\n name: s.label,\n stroke: s.color,\n strokeWidth: s.emphasis ? line.emphasis : line.width,\n strokeDasharray: s.dashed ? '4 3' : undefined,\n dot: restDot(s),\n activeDot: activeDot(s),\n isAnimationActive: false,\n connectNulls: true,\n };\n return s.dashed ? (\n <Line key={s.dataKey} {...common} />\n ) : (\n <Area key={s.dataKey} {...common} fill={`url(#${id}-area-${i})`} fillOpacity={1} />\n );\n })}\n </ComposedChart>\n </ChartPlot>\n );\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null;\n}\n"],"mappings":";;;;;;;;;;;;;;;AAKA,SAAgB,uBAAuB,EACrC,QACA,aAIC;CACD,OACE,oBAAC,OAAD;EAAK,aAAU;EAAe,WAAW,GAAG,+CAA+C,SAAS;EACjG,UAAA,OAAO,KAAI,MACV,qBAAC,OAAD;GAAqB,WAAU;GAA/B,UAAA,CACG,EAAE,SACD,oBAAC,QAAD;IAAM,WAAU;IAA4C,OAAO,EAAE,aAAa,EAAE,MAAM;GAAI,CAAA,IAE9F,oBAAC,OAAD;IAAK,WAAU;IAAgC,OAAO,EAAE,iBAAiB,EAAE,MAAM;GAAI,CAAA,GAEvF,oBAAC,KAAD;IAAK,IAAG;IAAO,SAAQ;IAAU,MAAK;IAAQ,WAAU;IACrD,UAAA,EAAE;GACA,CAAA,CACF;EATK,GAAA,EAAE,OASP,CACN;CACE,CAAA;AAET;;ACzBA,SAAgB,wBAAwB,EACtC,QACA,SACA,OACA,QACA,eAAc,UAAS,MAAM,eAAe,OAAO,GACnD,YAAY,OACZ,UACA,eAmBC;CACD,IAAI,CAAC,UAAU,CAAC,SAAS,QAAQ,OAAO;CAExC,MAAM,UA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E,OAAqE;IAEtF,CAAC;GACY;;CACN,CAAA;AAEf;AAEA,SAAS,SAAS,OAAkD;CAClE,OAAO,OAAO,UAAU,YAAY,UAAU;AAChD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"settings-B7RMGKgf.js","names":[],"sources":["../src/ds/new/settings/settings-container.tsx","../src/ds/new/settings/settings-header.tsx","../src/ds/new/settings/settings-list.tsx","../src/ds/new/settings/settings-skeleton.tsx"],"sourcesContent":["import type { ComponentProps } from 'react';\nimport { fieldsOnSurface } from '@/ds/primitives/raised-surface';\nimport { cn } from '@/lib/utils';\n\n/**\n * A settings card: the card fill with no rim, 14px from its edge to the content, and hairlines between rows that\n * stop at that inset. The card owns its rows' spacing: each direct child gets 13px above and below, and the card\n * adds the last 1px at its edges. Children with nothing in them (an empty `SettingsNoticeRow`) take no space and\n * draw no hairline, so a list can always render its notice row.\n */\nconst settingsCardStyle = cn(\n // `!`: the card owns row spacing, so a row's own reset (`Fieldset`'s `p-0`) can't remove it.\n 'flex min-w-0 flex-col rounded-xl bg-card px-3.5 py-px *:py-3.25! *:empty:hidden',\n '[&>:not(:empty)~:not(:empty)]:border-t [&>:not(:empty)~:not(:empty)]:border-border',\n fieldsOnSurface,\n);\n\nexport type SettingsContainerProps = ComponentProps<'div'>;\n\n/** One settings card. Holds `SettingsRow`s, `SettingsItem`s, a `SettingsListHeader` or a `SettingsEmptyRow`. */\nexport function SettingsContainer({ className, ...props }: SettingsContainerProps) {\n return <div data-slot=\"settings-container\" className={cn(settingsCardStyle, className)} {...props} />;\n}\n","import { createContext, useContext, useId } from 'react';\nimport type { ComponentProps, ReactNode } from 'react';\nimport { Tooltip, TooltipContent, TooltipTrigger } from '@/ds/components/Tooltip';\nimport { Txt } from '@/ds/components/Txt';\nimport { cn } from '@/lib/utils';\n\n// On a settings page (`SettingsLayout`), section titles and descriptions sit 10px inside the card's edge, in line with\n// the inset page title. Anywhere else (forms, other pages) they line up with the page's left edge and field labels.\n// The inset is a custom property, so a caller's `ps-*` class still wins. Written out in full so Tailwind finds it.\nconst settingsInset =\n '[--settings-inset:0px] in-data-[slot=settings-layout]:[--settings-inset:--spacing(2.5)] ps-(--settings-inset)';\n\nconst SettingsTitleIdContext = createContext<string | undefined>(undefined);\n\n/** One section of a settings page: a `SettingsTitle` (or `SettingsHeader`) above its `SettingsContainer`. */\nexport function SettingsGroup({ className, ...props }: ComponentProps<'section'>) {\n const titleId = useId();\n\n return (\n <SettingsTitleIdContext.Provider value={titleId}>\n <section\n aria-labelledby={titleId}\n className={cn('flex min-w-0 scroll-mt-4 flex-col gap-2', className)}\n {...props}\n />\n </SettingsTitleIdContext.Provider>\n );\n}\n\n/** A section title with something beside it. A list's actions go in its card (`SettingsListHeader`), not here. */\nexport function SettingsHeader({\n action,\n children,\n className,\n ...props\n}: ComponentProps<'header'> & { action?: ReactNode }) {\n return (\n <header\n className={cn('flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4', className)}\n {...props}\n >\n <div className=\"flex min-w-0 flex-col gap-1\">{children}</div>\n {action != null && <div className=\"shrink-0\">{action}</div>}\n </header>\n );\n}\n\nexport function SettingsTitle({\n accessory,\n info,\n className,\n children,\n ...props\n}: Omit<ComponentProps<'h2'>, 'id'> & {\n accessory?: ReactNode;\n /** What the section is for, shown in a tooltip on the title. For sections whose name isn't self-explanatory. */\n info?: ReactNode;\n}) {\n const titleId = useContext(SettingsTitleIdContext);\n\n return (\n <div className={cn('flex min-w-0 flex-wrap items-center gap-2', settingsInset)}>\n <Txt as=\"h2\" id={titleId} variant=\"subheading\" tone=\"ink\" className={className} {...props}>\n {info == null ? children : <SettingsTitleInfo info={info}>{children}</SettingsTitleInfo>}\n </Txt>\n {accessory}\n </div>\n );\n}\n\n/** The title's text as a tooltip trigger, described by `info`. */\nfunction SettingsTitleInfo({ info, children }: { info: ReactNode; children: ReactNode }) {\n const infoId = useId();\n\n return (\n <Tooltip>\n <TooltipTrigger\n render={\n <span\n tabIndex={0}\n aria-describedby={infoId}\n className=\"cursor-help underline decoration-transparent decoration-dotted underline-offset-4 hover:decoration-current focus-visible:decoration-current focus-visible:outline-none\"\n />\n }\n >\n {children}\n </TooltipTrigger>\n <TooltipContent id={infoId} keepMounted className=\"max-w-64\">\n {info}\n </TooltipContent>\n </Tooltip>\n );\n}\n\nexport function SettingsDescription({ className, ...props }: ComponentProps<'p'>) {\n return <Txt as=\"p\" variant=\"caption\" tone=\"muted\" className={cn(settingsInset, className)} {...props} />;\n}\n","import type { ComponentProps, ReactNode } from 'react';\nimport { cn } from '@/lib/utils';\n\n/**\n * A list's first row: its count, caption or empty text on the left and its one action (\"Add account\", \"Invite\n * member\") on the right. A full list and an empty one share this exact look, so the card reads the same either way.\n */\nfunction SettingsListBar({ action, className, children, ...props }: ComponentProps<'div'> & { action?: ReactNode }) {\n return (\n <div\n className={cn(\n // As tall as a `SettingsRow` (label + one-line description) plus the 13px the card puts above and below each\n // row, since this row's own box includes that padding. Keeps a list's first row level with the settings above it.\n 'flex min-h-8 items-center justify-between gap-3 sm:min-h-[calc(var(--text-label)*1.5+1px+var(--text-caption)*1.5+--spacing(6.5))]',\n className,\n )}\n {...props}\n >\n <div className=\"min-w-0 truncate text-label text-foreground\">{children}</div>\n {action != null && <div className=\"flex shrink-0 items-center gap-2\">{action}</div>}\n </div>\n );\n}\n\nexport type SettingsListHeaderProps = ComponentProps<'div'> & {\n /** The list's action, on the right. Refresh and other list controls can sit beside it. */\n action?: ReactNode;\n};\n\n/** The first row of a list's `SettingsContainer`: a count (\"2 accounts\") and the list's action. */\nexport function SettingsListHeader(props: SettingsListHeaderProps) {\n return <SettingsListBar data-slot=\"settings-list-header\" {...props} />;\n}\n\nexport type SettingsEmptyRowProps = ComponentProps<'div'> & {\n /** The same action the list's header would hold, so an empty list still offers it. */\n action?: ReactNode;\n};\n\n/**\n * An empty list's only row: what's missing on the left (\"No join links\"), the list's action on the right. Looks\n * exactly like `SettingsListHeader`, so empty and full lists match; use it for every empty list in a card.\n */\nexport function SettingsEmptyRow(props: SettingsEmptyRowProps) {\n return <SettingsListBar data-slot=\"settings-empty-row\" {...props} />;\n}\n\n/** A list's notices and errors, as a row of its `SettingsContainer`. Takes no space while it has nothing in it. */\nexport function SettingsNoticeRow({ className, ...props }: ComponentProps<'div'>) {\n return <div data-slot=\"settings-notice-row\" className={cn('flex flex-col gap-2', className)} {...props} />;\n}\n\n/** The square on the left of a `SettingsItem` holding an icon or logo. Avatars use `Avatar size=\"md\"`, the\n * same size, so every list's text starts at the same place. */\nexport function SettingsItemIcon({ className, ...props }: ComponentProps<'span'>) {\n return (\n <span\n data-slot=\"settings-item-icon\"\n aria-hidden\n className={cn(\n 'flex size-avatar-md shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground [&>svg]:size-icon-md',\n className,\n )}\n {...props}\n />\n );\n}\n\nexport type SettingsItemProps = Omit<ComponentProps<'div'>, 'title'> & {\n /** A `SettingsItemIcon` or an `Avatar size=\"md\"`. */\n media?: ReactNode;\n title: ReactNode;\n /** One line under the title: \"GitHub · Connected 3 weeks ago\". */\n description?: ReactNode;\n /** The item's status or actions, on the right. */\n children?: ReactNode;\n};\n\n/**\n * One thing in a settings list (an account, a member, a session, a source, a package version). Its right side holds\n * the item's status or its own actions (Remove, Revoke, Copy), not a control that changes a setting. Goes in a\n * `SettingsContainer`, usually under a `SettingsListHeader`.\n *\n * For a setting the person changes (an input, select or switch with a label), use `SettingsRow` instead.\n *\n * @example\n * <SettingsItem media={<Avatar size=\"md\" … />} title=\"Ada Lovelace\" description=\"ada@example.com\">\n * <Button size=\"sm\" variant=\"ghost\">Remove</Button>\n * </SettingsItem>\n */\nexport function SettingsItem({ media, title, description, children, className, ...props }: SettingsItemProps) {\n return (\n <div\n data-slot=\"settings-item\"\n // Below `sm` the item's value or actions wrap onto their own full-width line under the title, as a\n // `SettingsRow`'s control does, so a long value (an email, a type) never squeezes the title out.\n className={cn('flex min-w-0 flex-wrap items-center gap-x-3 gap-y-2 sm:flex-nowrap', className)}\n {...props}\n >\n {media}\n <div className=\"flex min-w-0 flex-1 flex-col gap-px\">\n {/* A string title truncates, so it also goes in the hover title to stay readable in full. */}\n <div className=\"truncate text-label text-foreground\" title={typeof title === 'string' ? title : undefined}>\n {title}\n </div>\n {description != null && <div className=\"truncate text-caption text-muted-foreground\">{description}</div>}\n </div>\n {children != null && (\n <div className=\"flex min-w-0 basis-full items-center gap-2 sm:shrink-0 sm:basis-auto\">{children}</div>\n )}\n </div>\n );\n}\n","import { SettingsItem } from './settings-list';\nimport { SettingsRow } from './settings-row';\nimport { Skeleton } from '@/ds/components/Skeleton/skeleton';\nimport { SkeletonText } from '@/ds/components/Skeleton/skeleton-text';\nimport { cn } from '@/lib/utils';\n\nconst bar = 'motion-reduce:before:animate-none';\n\nexport type SettingsSkeletonProps = {\n /** Announced while loading, e.g. \"Loading members\". */\n label: string;\n /** Placeholder rows, matching how many the loaded list usually has. */\n rows?: number;\n /** `row` stands in for `SettingsRow`s (label left, control right); `item` for `SettingsItem`s (icon, title, description). */\n variant?: 'row' | 'item';\n className?: string;\n};\n\n/**\n * The loading state for anything inside a `SettingsContainer`. Placeholders are built from the real `SettingsRow` and\n * `SettingsItem`, so they sit exactly where the loaded rows will.\n *\n * ```tsx\n * <SettingsContainer>\n * {isLoading ? <SettingsSkeleton label=\"Loading members\" variant=\"item\" rows={3} /> : members.map(...)}\n * </SettingsContainer>\n * ```\n */\nexport function SettingsSkeleton({ label, rows = 2, variant = 'row', className }: SettingsSkeletonProps) {\n const Placeholder = variant === 'item' ? ItemPlaceholder : RowPlaceholder;\n\n return (\n // One child of the card, so it takes the card's row padding; inside, rows repeat that rhythm with hairlines.\n <div\n role=\"status\"\n aria-label={label}\n data-slot=\"settings-skeleton\"\n className={cn('grid divide-y divide-border *:py-3.25 *:first:pt-0 *:last:pb-0', className)}\n >\n {Array.from({ length: rows }, (_, index) => (\n <Placeholder key={index} />\n ))}\n </div>\n );\n}\n\nfunction ItemPlaceholder() {\n return (\n <SettingsItem\n aria-hidden\n media={<Skeleton className={cn('size-avatar-md shrink-0 rounded-lg', bar)} />}\n title={<SkeletonText line=\"text-label\" className={cn('w-32', bar)} />}\n description={<SkeletonText line=\"text-caption\" className={cn('w-48 max-w-full', bar)} />}\n />\n );\n}\n\nfunction RowPlaceholder() {\n return (\n <SettingsRow\n aria-hidden\n label={<SkeletonText line=\"text-label\" className={cn('w-28', bar)} />}\n description={<SkeletonText line=\"text-caption\" className={cn('w-48 max-w-full', bar)} />}\n >\n <Skeleton className={cn('h-control-sm w-28 max-w-full rounded-full', bar)} />\n </SettingsRow>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;AAUA,IAAM,oBAAoB,GAExB,mFACA,sFACA,eACF;;AAKA,SAAgB,kBAAkB,EAAE,WAAW,GAAG,SAAiC;CACjF,OAAO,oBAAC,OAAD;EAAK,aAAU;EAAqB,WAAW,GAAG,mBAAmB,SAAS;EAAG,GAAI;CAAQ,CAAA;AACtG;;ACbA,IAAM,gBACJ;AAEF,IAAM,yBAAyB,cAAkC,KAAA,CAAS;;AAG1E,SAAgB,cAAc,EAAE,WAAW,GAAG,SAAoC;CAChF,MAAM,UAAU,MAAM;CAEtB,OACE,oBAAC,uBAAuB,UAAxB;EAAiC,OAAO;EACtC,UAAA,oBAAC,WAAD;GACE,mBAAiB;GACjB,WAAW,GAAG,2CAA2C,SAAS;GAClE,GAAI;EACL,CAAA;CAC8B,CAAA;AAErC;;AAGA,SAAgB,eAAe,EAC7B,QACA,UACA,WACA,GAAG,SACiD;CACpD,OACE,qBAAC,UAAD;EACE,WAAW,GAAG,+EAA+E,SAAS;EACtG,GAAI;EAFN,UAAA,CAIE,oBAAC,OAAD;GAAK,WAAU;GAA+B;EAAc,CAAA,GAC3D,UAAU,QAAQ,oBAAC,OAAD;GAAK,WAAU;GAAY,UAAA;EAAY,CAAA,CACpD;;AAEZ;AAEA,SAAgB,cAAc,EAC5B,WACA,MACA,WACA,UACA,GAAG,SAKF;CACD,MAAM,UAAU,WAAW,sBA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GAAG,EAAI,CAAA;EAC5E,OAAO,oBAAC,cAAD;GAAc,MAAK;GAAa,WAAW,GAAG,QAAQ,GAAG;EAAI,CAAA;EACpE,aAAa,oBAAC,cAAD;GAAc,MAAK;GAAe,WAAW,GAAG,mBAAmB,GAAG;EAAI,CAAA;CACxF,CAAA;AAEL;AAEA,SAAS,iBAAiB;CACxB,OACE,oBAAC,aAAD;EACE,eAAA;EACA,OAAO,oBAAC,cAAD;GAAc,MAAK;GAAa,WAAW,GAAG,QAAQ,GAAG;EAAI,CAAA;EACpE,aAAa,oBAAC,cAAD;GAAc,MAAK;GAAe,WAAW,GAAG,mBAAmB,GAAG;EAAI,CAAA;EAEvF,UAAA,oBAAC,UAAD,EAAU,WAAW,GAAG,6CAA6C,GAAG,EAAI,CAAA;CACjE,CAAA;AAEjB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"settings-CYKWxfrJ.cjs","names":["cn","fieldsOnSurface","createContext","useId","cn","useContext","Txt","Tooltip","TooltipTrigger","TooltipContent","cn","cn","Skeleton","SkeletonText","SettingsRow"],"sources":["../src/ds/new/settings/settings-container.tsx","../src/ds/new/settings/settings-header.tsx","../src/ds/new/settings/settings-list.tsx","../src/ds/new/settings/settings-skeleton.tsx"],"sourcesContent":["import type { ComponentProps } from 'react';\nimport { fieldsOnSurface } from '@/ds/primitives/raised-surface';\nimport { cn } from '@/lib/utils';\n\n/**\n * A settings card: the card fill with no rim, 14px from its edge to the content, and hairlines between rows that\n * stop at that inset. The card owns its rows' spacing: each direct child gets 13px above and below, and the card\n * adds the last 1px at its edges. Children with nothing in them (an empty `SettingsNoticeRow`) take no space and\n * draw no hairline, so a list can always render its notice row.\n */\nconst settingsCardStyle = cn(\n // `!`: the card owns row spacing, so a row's own reset (`Fieldset`'s `p-0`) can't remove it.\n 'flex min-w-0 flex-col rounded-xl bg-card px-3.5 py-px *:py-3.25! *:empty:hidden',\n '[&>:not(:empty)~:not(:empty)]:border-t [&>:not(:empty)~:not(:empty)]:border-border',\n fieldsOnSurface,\n);\n\nexport type SettingsContainerProps = ComponentProps<'div'>;\n\n/** One settings card. Holds `SettingsRow`s, `SettingsItem`s, a `SettingsListHeader` or a `SettingsEmptyRow`. */\nexport function SettingsContainer({ className, ...props }: SettingsContainerProps) {\n return <div data-slot=\"settings-container\" className={cn(settingsCardStyle, className)} {...props} />;\n}\n","import { createContext, useContext, useId } from 'react';\nimport type { ComponentProps, ReactNode } from 'react';\nimport { Tooltip, TooltipContent, TooltipTrigger } from '@/ds/components/Tooltip';\nimport { Txt } from '@/ds/components/Txt';\nimport { cn } from '@/lib/utils';\n\n// On a settings page (`SettingsLayout`), section titles and descriptions sit 10px inside the card's edge, in line with\n// the inset page title. Anywhere else (forms, other pages) they line up with the page's left edge and field labels.\n// The inset is a custom property, so a caller's `ps-*` class still wins. Written out in full so Tailwind finds it.\nconst settingsInset =\n '[--settings-inset:0px] in-data-[slot=settings-layout]:[--settings-inset:--spacing(2.5)] ps-(--settings-inset)';\n\nconst SettingsTitleIdContext = createContext<string | undefined>(undefined);\n\n/** One section of a settings page: a `SettingsTitle` (or `SettingsHeader`) above its `SettingsContainer`. */\nexport function SettingsGroup({ className, ...props }: ComponentProps<'section'>) {\n const titleId = useId();\n\n return (\n <SettingsTitleIdContext.Provider value={titleId}>\n <section\n aria-labelledby={titleId}\n className={cn('flex min-w-0 scroll-mt-4 flex-col gap-2', className)}\n {...props}\n />\n </SettingsTitleIdContext.Provider>\n );\n}\n\n/** A section title with something beside it. A list's actions go in its card (`SettingsListHeader`), not here. */\nexport function SettingsHeader({\n action,\n children,\n className,\n ...props\n}: ComponentProps<'header'> & { action?: ReactNode }) {\n return (\n <header\n className={cn('flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4', className)}\n {...props}\n >\n <div className=\"flex min-w-0 flex-col gap-1\">{children}</div>\n {action != null && <div className=\"shrink-0\">{action}</div>}\n </header>\n );\n}\n\nexport function SettingsTitle({\n accessory,\n info,\n className,\n children,\n ...props\n}: Omit<ComponentProps<'h2'>, 'id'> & {\n accessory?: ReactNode;\n /** What the section is for, shown in a tooltip on the title. For sections whose name isn't self-explanatory. */\n info?: ReactNode;\n}) {\n const titleId = useContext(SettingsTitleIdContext);\n\n return (\n <div className={cn('flex min-w-0 flex-wrap items-center gap-2', settingsInset)}>\n <Txt as=\"h2\" id={titleId} variant=\"subheading\" tone=\"ink\" className={className} {...props}>\n {info == null ? children : <SettingsTitleInfo info={info}>{children}</SettingsTitleInfo>}\n </Txt>\n {accessory}\n </div>\n );\n}\n\n/** The title's text as a tooltip trigger, described by `info`. */\nfunction SettingsTitleInfo({ info, children }: { info: ReactNode; children: ReactNode }) {\n const infoId = useId();\n\n return (\n <Tooltip>\n <TooltipTrigger\n render={\n <span\n tabIndex={0}\n aria-describedby={infoId}\n className=\"cursor-help underline decoration-transparent decoration-dotted underline-offset-4 hover:decoration-current focus-visible:decoration-current focus-visible:outline-none\"\n />\n }\n >\n {children}\n </TooltipTrigger>\n <TooltipContent id={infoId} keepMounted className=\"max-w-64\">\n {info}\n </TooltipContent>\n </Tooltip>\n );\n}\n\nexport function SettingsDescription({ className, ...props }: ComponentProps<'p'>) {\n return <Txt as=\"p\" variant=\"caption\" tone=\"muted\" className={cn(settingsInset, className)} {...props} />;\n}\n","import type { ComponentProps, ReactNode } from 'react';\nimport { cn } from '@/lib/utils';\n\n/**\n * A list's first row: its count, caption or empty text on the left and its one action (\"Add account\", \"Invite\n * member\") on the right. A full list and an empty one share this exact look, so the card reads the same either way.\n */\nfunction SettingsListBar({ action, className, children, ...props }: ComponentProps<'div'> & { action?: ReactNode }) {\n return (\n <div\n className={cn(\n // As tall as a `SettingsRow` (label + one-line description) plus the 13px the card puts above and below each\n // row, since this row's own box includes that padding. Keeps a list's first row level with the settings above it.\n 'flex min-h-8 items-center justify-between gap-3 sm:min-h-[calc(var(--text-label)*1.5+1px+var(--text-caption)*1.5+--spacing(6.5))]',\n className,\n )}\n {...props}\n >\n <div className=\"min-w-0 truncate text-label text-foreground\">{children}</div>\n {action != null && <div className=\"flex shrink-0 items-center gap-2\">{action}</div>}\n </div>\n );\n}\n\nexport type SettingsListHeaderProps = ComponentProps<'div'> & {\n /** The list's action, on the right. Refresh and other list controls can sit beside it. */\n action?: ReactNode;\n};\n\n/** The first row of a list's `SettingsContainer`: a count (\"2 accounts\") and the list's action. */\nexport function SettingsListHeader(props: SettingsListHeaderProps) {\n return <SettingsListBar data-slot=\"settings-list-header\" {...props} />;\n}\n\nexport type SettingsEmptyRowProps = ComponentProps<'div'> & {\n /** The same action the list's header would hold, so an empty list still offers it. */\n action?: ReactNode;\n};\n\n/**\n * An empty list's only row: what's missing on the left (\"No join links\"), the list's action on the right. Looks\n * exactly like `SettingsListHeader`, so empty and full lists match; use it for every empty list in a card.\n */\nexport function SettingsEmptyRow(props: SettingsEmptyRowProps) {\n return <SettingsListBar data-slot=\"settings-empty-row\" {...props} />;\n}\n\n/** A list's notices and errors, as a row of its `SettingsContainer`. Takes no space while it has nothing in it. */\nexport function SettingsNoticeRow({ className, ...props }: ComponentProps<'div'>) {\n return <div data-slot=\"settings-notice-row\" className={cn('flex flex-col gap-2', className)} {...props} />;\n}\n\n/** The square on the left of a `SettingsItem` holding an icon or logo. Avatars use `Avatar size=\"md\"`, the\n * same size, so every list's text starts at the same place. */\nexport function SettingsItemIcon({ className, ...props }: ComponentProps<'span'>) {\n return (\n <span\n data-slot=\"settings-item-icon\"\n aria-hidden\n className={cn(\n 'flex size-avatar-md shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground [&>svg]:size-icon-md',\n className,\n )}\n {...props}\n />\n );\n}\n\nexport type SettingsItemProps = Omit<ComponentProps<'div'>, 'title'> & {\n /** A `SettingsItemIcon` or an `Avatar size=\"md\"`. */\n media?: ReactNode;\n title: ReactNode;\n /** One line under the title: \"GitHub · Connected 3 weeks ago\". */\n description?: ReactNode;\n /** The item's status or actions, on the right. */\n children?: ReactNode;\n};\n\n/**\n * One thing in a settings list (an account, a member, a session, a source, a package version). Its right side holds\n * the item's status or its own actions (Remove, Revoke, Copy), not a control that changes a setting. Goes in a\n * `SettingsContainer`, usually under a `SettingsListHeader`.\n *\n * For a setting the person changes (an input, select or switch with a label), use `SettingsRow` instead.\n *\n * @example\n * <SettingsItem media={<Avatar size=\"md\" … />} title=\"Ada Lovelace\" description=\"ada@example.com\">\n * <Button size=\"sm\" variant=\"ghost\">Remove</Button>\n * </SettingsItem>\n */\nexport function SettingsItem({ media, title, description, children, className, ...props }: SettingsItemProps) {\n return (\n <div\n data-slot=\"settings-item\"\n // Below `sm` the item's value or actions wrap onto their own full-width line under the title, as a\n // `SettingsRow`'s control does, so a long value (an email, a type) never squeezes the title out.\n className={cn('flex min-w-0 flex-wrap items-center gap-x-3 gap-y-2 sm:flex-nowrap', className)}\n {...props}\n >\n {media}\n <div className=\"flex min-w-0 flex-1 flex-col gap-px\">\n {/* A string title truncates, so it also goes in the hover title to stay readable in full. */}\n <div className=\"truncate text-label text-foreground\" title={typeof title === 'string' ? title : undefined}>\n {title}\n </div>\n {description != null && <div className=\"truncate text-caption text-muted-foreground\">{description}</div>}\n </div>\n {children != null && (\n <div className=\"flex min-w-0 basis-full items-center gap-2 sm:shrink-0 sm:basis-auto\">{children}</div>\n )}\n </div>\n );\n}\n","import { SettingsItem } from './settings-list';\nimport { SettingsRow } from './settings-row';\nimport { Skeleton } from '@/ds/components/Skeleton/skeleton';\nimport { SkeletonText } from '@/ds/components/Skeleton/skeleton-text';\nimport { cn } from '@/lib/utils';\n\nconst bar = 'motion-reduce:before:animate-none';\n\nexport type SettingsSkeletonProps = {\n /** Announced while loading, e.g. \"Loading members\". */\n label: string;\n /** Placeholder rows, matching how many the loaded list usually has. */\n rows?: number;\n /** `row` stands in for `SettingsRow`s (label left, control right); `item` for `SettingsItem`s (icon, title, description). */\n variant?: 'row' | 'item';\n className?: string;\n};\n\n/**\n * The loading state for anything inside a `SettingsContainer`. Placeholders are built from the real `SettingsRow` and\n * `SettingsItem`, so they sit exactly where the loaded rows will.\n *\n * ```tsx\n * <SettingsContainer>\n * {isLoading ? <SettingsSkeleton label=\"Loading members\" variant=\"item\" rows={3} /> : members.map(...)}\n * </SettingsContainer>\n * ```\n */\nexport function SettingsSkeleton({ label, rows = 2, variant = 'row', className }: SettingsSkeletonProps) {\n const Placeholder = variant === 'item' ? ItemPlaceholder : RowPlaceholder;\n\n return (\n // One child of the card, so it takes the card's row padding; inside, rows repeat that rhythm with hairlines.\n <div\n role=\"status\"\n aria-label={label}\n data-slot=\"settings-skeleton\"\n className={cn('grid divide-y divide-border *:py-3.25 *:first:pt-0 *:last:pb-0', className)}\n >\n {Array.from({ length: rows }, (_, index) => (\n <Placeholder key={index} />\n ))}\n </div>\n );\n}\n\nfunction ItemPlaceholder() {\n return (\n <SettingsItem\n aria-hidden\n media={<Skeleton className={cn('size-avatar-md shrink-0 rounded-lg', bar)} />}\n title={<SkeletonText line=\"text-label\" className={cn('w-32', bar)} />}\n description={<SkeletonText line=\"text-caption\" className={cn('w-48 max-w-full', bar)} />}\n />\n );\n}\n\nfunction RowPlaceholder() {\n return (\n <SettingsRow\n aria-hidden\n label={<SkeletonText line=\"text-label\" className={cn('w-28', bar)} />}\n description={<SkeletonText line=\"text-caption\" className={cn('w-48 max-w-full', bar)} />}\n >\n <Skeleton className={cn('h-control-sm w-28 max-w-full rounded-full', bar)} />\n </SettingsRow>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;AAUA,IAAM,oBAAoBA,cAAAA,GAExB,mFACA,sFACAC,kCAAAA,eACF;;AAKA,SAAgB,kBAAkB,EAAE,WAAW,GAAG,SAAiC;CACjF,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,aAAU;EAAqB,WAAWD,cAAAA,GAAG,mBAAmB,SAAS;EAAG,GAAI;CAAQ,CAAA;AACtG;;ACbA,IAAM,gBACJ;AAEF,IAAM,0BAAA,GAAyBE,MAAAA,cAAAA,CAAkC,KAAA,CAAS;;AAG1E,SAAgB,cAA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,UAChC,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAD,CAA0B,GAAR,KAAQ,CAC3B;CACE,CAAA;AAET;AAEA,SAAS,kBAAkB;CACzB,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,cAAD;EACE,eAAA;EACA,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAACC,sBAAAA,UAAD,EAAU,WAAWD,cAAAA,GAAG,sCAAsC,GAAG,EAAI,CAAA;EAC5E,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAACE,sBAAAA,cAAD;GAAc,MAAK;GAAa,WAAWF,cAAAA,GAAG,QAAQ,GAAG;EAAI,CAAA;EACpE,aAAa,iBAAA,GAAA,kBAAA,IAAA,CAACE,sBAAAA,cAAD;GAAc,MAAK;GAAe,WAAWF,cAAAA,GAAG,mBAAmB,GAAG;EAAI,CAAA;CACxF,CAAA;AAEL;AAEA,SAAS,iBAAiB;CACxB,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACG,qBAAAA,aAAD;EACE,eAAA;EACA,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAACD,sBAAAA,cAAD;GAAc,MAAK;GAAa,WAAWF,cAAAA,GAAG,QAAQ,GAAG;EAAI,CAAA;EACpE,aAAa,iBAAA,GAAA,kBAAA,IAAA,CAACE,sBAAAA,cAAD;GAAc,MAAK;GAAe,WAAWF,cAAAA,GAAG,mBAAmB,GAAG;EAAI,CAAA;EAEvF,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACC,sBAAAA,UAAD,EAAU,WAAWD,cAAAA,GAAG,6CAA6C,GAAG,EAAI,CAAA;CACjE,CAAA;AAEjB"}
@@ -1,46 +0,0 @@
1
- const require_page_header = require("./page-header-pZCts_WC.cjs");
2
- const require_utils = require("./utils-uDc1ofX1.cjs");
3
- let react_jsx_runtime = require("react/jsx-runtime");
4
- // src/ds/new/settings/settings-layout.tsx
5
- /**
6
- * A settings page: a centered 640px column with the title, inset like the section titles, above its sections.
7
- * The app's page around it gives the side gutter (`PageLayout`, Factory's settings panel, Platform's page).
8
- */
9
- function SettingsLayout({ title, titleAccessory, action, header, children }) {
10
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
11
- "data-slot": "settings-layout",
12
- className: require_utils.cn("mx-auto grid min-h-full w-full max-w-160 min-w-0 gap-8 py-6", header != null || title != null ? "grid-rows-[auto_1fr]" : "grid-rows-[1fr]"),
13
- children: [
14
- header != null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
15
- "data-slot": "settings-page-header",
16
- className: "ps-2.5",
17
- children: header
18
- }),
19
- header == null && title != null && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_page_header.PageHeader, {
20
- "data-slot": "settings-page-header",
21
- className: "ps-2.5",
22
- children: [
23
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_page_header.PageHeader.Title, { children: title }),
24
- titleAccessory != null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_page_header.PageHeader.Meta, {
25
- beside: true,
26
- children: titleAccessory
27
- }),
28
- action != null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_page_header.PageHeader.Action, { children: action })
29
- ]
30
- }),
31
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
32
- "data-slot": "settings-layout-content",
33
- className: "grid min-w-0 content-start gap-7 has-[>[data-slot=empty-state-fill]:only-child]:content-stretch",
34
- children
35
- })
36
- ]
37
- });
38
- }
39
- Object.defineProperty(exports, "SettingsLayout", {
40
- enumerable: true,
41
- get: function() {
42
- return SettingsLayout;
43
- }
44
- });
45
-
46
- //# sourceMappingURL=settings-layout-BxtShpY6.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"settings-layout-BxtShpY6.cjs","names":["cn","PageHeader"],"sources":["../src/ds/new/settings/settings-layout.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport { PageHeader } from '@/ds/new/layout/page-header';\nimport { cn } from '@/lib/utils';\n\nexport interface SettingsLayoutProps {\n /** The page title. Leave it out when the app's own header already names the page. */\n title?: ReactNode;\n titleAccessory?: ReactNode;\n action?: ReactNode;\n /** A header of the app's own in place of `title` (a `PageHeader` whose title takes focus), with the same inset. */\n header?: ReactNode;\n /** `SettingsGroup`s, 28px apart. */\n children: ReactNode;\n}\n\n/**\n * A settings page: a centered 640px column with the title, inset like the section titles, above its sections.\n * The app's page around it gives the side gutter (`PageLayout`, Factory's settings panel, Platform's page).\n */\nexport function SettingsLayout({ title, titleAccessory, action, header, children }: SettingsLayoutProps) {\n return (\n // The content row takes the rest of the page's height, so a lone `EmptyState variant=\"fill\"` centers in it.\n <div\n data-slot=\"settings-layout\"\n className={cn(\n 'mx-auto grid min-h-full w-full max-w-160 min-w-0 gap-8 py-6',\n header != null || title != null ? 'grid-rows-[auto_1fr]' : 'grid-rows-[1fr]',\n )}\n >\n {header != null && (\n <div data-slot=\"settings-page-header\" className=\"ps-2.5\">\n {header}\n </div>\n )}\n {header == null && title != null && (\n <PageHeader data-slot=\"settings-page-header\" className=\"ps-2.5\">\n <PageHeader.Title>{title}</PageHeader.Title>\n {titleAccessory != null && <PageHeader.Meta beside>{titleAccessory}</PageHeader.Meta>}\n {action != null && <PageHeader.Action>{action}</PageHeader.Action>}\n </PageHeader>\n )}\n <div\n data-slot=\"settings-layout-content\"\n className=\"grid min-w-0 content-start gap-7 has-[>[data-slot=empty-state-fill]:only-child]:content-stretch\"\n >\n {children}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;AAmBA,SAAgB,eAAe,EAAE,OAAO,gBAAgB,QAAQ,QAAQ,YAAiC;CACvG,OAEE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;EACE,aAAU;EACV,WAAWA,cAAAA,GACT,+DACA,UAAU,QAAQ,SAAS,OAAO,yBAAyB,iBAC7D;EALF,UAAA;GAOG,UAAU,QACT,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;IAAK,aAAU;IAAuB,WAAU;IAC7C,UAAA;GACE,CAAA;GAEN,UAAU,QAAQ,SAAS,QAC1B,iBAAA,GAAA,kBAAA,KAAA,CAACC,oBAAAA,YAAD;IAAY,aAAU;IAAuB,WAAU;IAAvD,UAAA;KACE,iBAAA,GAAA,kBAAA,IAAA,CAACA,oBAAAA,WAAW,OAAZ,EAAA,UAAmB,MAAwB,CAAA;KAC1C,kBAAkB,QAAQ,iBAAA,GAAA,kBAAA,IAAA,CAACA,oBAAAA,WAAW,MAAZ;MAAiB,QAAA;MAAQ,UAAA;KAAgC,CAAA;KACnF,UAAU,QAAQ,iBAAA,GAAA,kBAAA,IAAA,CAACA,oBAAAA,WAAW,QAAZ,EAAA,UAAoB,OAA0B,CAAA;IACvD;;GAEd,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;IACE,aAAU;IACV,WAAU;IAET;GACE,CAAA;EACF;;AAET"}
@@ -1,41 +0,0 @@
1
- import { t as PageHeader } from "./page-header-Maytcmgh.js";
2
- import { t as cn } from "./utils-DQx8TpNT.js";
3
- import { jsx, jsxs } from "react/jsx-runtime";
4
- // src/ds/new/settings/settings-layout.tsx
5
- /**
6
- * A settings page: a centered 640px column with the title, inset like the section titles, above its sections.
7
- * The app's page around it gives the side gutter (`PageLayout`, Factory's settings panel, Platform's page).
8
- */
9
- function SettingsLayout({ title, titleAccessory, action, header, children }) {
10
- return /* @__PURE__ */ jsxs("div", {
11
- "data-slot": "settings-layout",
12
- className: cn("mx-auto grid min-h-full w-full max-w-160 min-w-0 gap-8 py-6", header != null || title != null ? "grid-rows-[auto_1fr]" : "grid-rows-[1fr]"),
13
- children: [
14
- header != null && /* @__PURE__ */ jsx("div", {
15
- "data-slot": "settings-page-header",
16
- className: "ps-2.5",
17
- children: header
18
- }),
19
- header == null && title != null && /* @__PURE__ */ jsxs(PageHeader, {
20
- "data-slot": "settings-page-header",
21
- className: "ps-2.5",
22
- children: [
23
- /* @__PURE__ */ jsx(PageHeader.Title, { children: title }),
24
- titleAccessory != null && /* @__PURE__ */ jsx(PageHeader.Meta, {
25
- beside: true,
26
- children: titleAccessory
27
- }),
28
- action != null && /* @__PURE__ */ jsx(PageHeader.Action, { children: action })
29
- ]
30
- }),
31
- /* @__PURE__ */ jsx("div", {
32
- "data-slot": "settings-layout-content",
33
- className: "grid min-w-0 content-start gap-7 has-[>[data-slot=empty-state-fill]:only-child]:content-stretch",
34
- children
35
- })
36
- ]
37
- });
38
- }
39
- export { SettingsLayout as t };
40
-
41
- //# sourceMappingURL=settings-layout-UPnWI3FZ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"settings-layout-UPnWI3FZ.js","names":[],"sources":["../src/ds/new/settings/settings-layout.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport { PageHeader } from '@/ds/new/layout/page-header';\nimport { cn } from '@/lib/utils';\n\nexport interface SettingsLayoutProps {\n /** The page title. Leave it out when the app's own header already names the page. */\n title?: ReactNode;\n titleAccessory?: ReactNode;\n action?: ReactNode;\n /** A header of the app's own in place of `title` (a `PageHeader` whose title takes focus), with the same inset. */\n header?: ReactNode;\n /** `SettingsGroup`s, 28px apart. */\n children: ReactNode;\n}\n\n/**\n * A settings page: a centered 640px column with the title, inset like the section titles, above its sections.\n * The app's page around it gives the side gutter (`PageLayout`, Factory's settings panel, Platform's page).\n */\nexport function SettingsLayout({ title, titleAccessory, action, header, children }: SettingsLayoutProps) {\n return (\n // The content row takes the rest of the page's height, so a lone `EmptyState variant=\"fill\"` centers in it.\n <div\n data-slot=\"settings-layout\"\n className={cn(\n 'mx-auto grid min-h-full w-full max-w-160 min-w-0 gap-8 py-6',\n header != null || title != null ? 'grid-rows-[auto_1fr]' : 'grid-rows-[1fr]',\n )}\n >\n {header != null && (\n <div data-slot=\"settings-page-header\" className=\"ps-2.5\">\n {header}\n </div>\n )}\n {header == null && title != null && (\n <PageHeader data-slot=\"settings-page-header\" className=\"ps-2.5\">\n <PageHeader.Title>{title}</PageHeader.Title>\n {titleAccessory != null && <PageHeader.Meta beside>{titleAccessory}</PageHeader.Meta>}\n {action != null && <PageHeader.Action>{action}</PageHeader.Action>}\n </PageHeader>\n )}\n <div\n data-slot=\"settings-layout-content\"\n className=\"grid min-w-0 content-start gap-7 has-[>[data-slot=empty-state-fill]:only-child]:content-stretch\"\n >\n {children}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;AAmBA,SAAgB,eAAe,EAAE,OAAO,gBAAgB,QAAQ,QAAQ,YAAiC;CACvG,OAEE,qBAAC,OAAD;EACE,aAAU;EACV,WAAW,GACT,+DACA,UAAU,QAAQ,SAAS,OAAO,yBAAyB,iBAC7D;EALF,UAAA;GAOG,UAAU,QACT,oBAAC,OAAD;IAAK,aAAU;IAAuB,WAAU;IAC7C,UAAA;GACE,CAAA;GAEN,UAAU,QAAQ,SAAS,QAC1B,qBAAC,YAAD;IAAY,aAAU;IAAuB,WAAU;IAAvD,UAAA;KACE,oBAAC,WAAW,OAAZ,EAAA,UAAmB,MAAwB,CAAA;KAC1C,kBAAkB,QAAQ,oBAAC,WAAW,MAAZ;MAAiB,QAAA;MAAQ,UAAA;KAAgC,CAAA;KACnF,UAAU,QAAQ,oBAAC,WAAW,QAAZ,EAAA,UAAoB,OAA0B,CAAA;IACvD;;GAEd,oBAAC,OAAD;IACE,aAAU;IACV,WAAU;IAET;GACE,CAAA;EACF;;AAET"}