@datalayer/design 1.0.0 → 1.0.1

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 (42) hide show
  1. package/README.md +1 -1
  2. package/lib/App.js +4 -5
  3. package/lib/pages/HomePage.js +223 -45
  4. package/lib/pages/IconsPage.js +12 -4
  5. package/lib/pages/SvgPage.js +386 -106
  6. package/lib/svg/SvgAI.d.ts +11 -0
  7. package/lib/svg/SvgAI.js +15 -0
  8. package/lib/svg/SvgAI2.d.ts +11 -0
  9. package/lib/svg/SvgAI2.js +17 -0
  10. package/lib/svg/SvgAI3.d.ts +12 -0
  11. package/lib/svg/SvgAI3.js +60 -0
  12. package/lib/svg/SvgAssignmentArtifact.d.ts +8 -0
  13. package/lib/svg/SvgAssignmentArtifact.js +15 -0
  14. package/lib/svg/SvgCellOutputshotPlaceholder.d.ts +28 -0
  15. package/lib/svg/SvgCellOutputshotPlaceholder.js +70 -0
  16. package/lib/svg/SvgEarthHero.d.ts +2 -2
  17. package/lib/svg/SvgEarthHero.js +41 -8
  18. package/lib/svg/SvgEvalsHero.d.ts +15 -0
  19. package/lib/svg/SvgEvalsHero.js +23 -0
  20. package/lib/svg/SvgExerciseArtifact.d.ts +8 -0
  21. package/lib/svg/SvgExerciseArtifact.js +15 -0
  22. package/lib/svg/SvgLessonArtifact.d.ts +8 -0
  23. package/lib/svg/SvgLessonArtifact.js +15 -0
  24. package/lib/svg/SvgNotebookMock.d.ts +10 -0
  25. package/lib/svg/SvgNotebookMock.js +70 -0
  26. package/lib/svg/SvgOSAContributions.d.ts +11 -0
  27. package/lib/svg/SvgOSAContributions.js +25 -0
  28. package/lib/svg/SvgPartnersHero.d.ts +16 -0
  29. package/lib/svg/SvgPartnersHero.js +94 -0
  30. package/lib/svg/SvgPixel1.js +29 -2
  31. package/lib/svg/SvgPixel2.js +37 -8
  32. package/lib/svg/SvgSkubble.d.ts +11 -0
  33. package/lib/svg/SvgSkubble.js +23 -0
  34. package/lib/svg/gallery.d.ts +1 -1
  35. package/lib/svg/gallery.js +16 -1
  36. package/lib/svg/images/eric-charles-2.svg +1249 -0
  37. package/lib/svg/images/eric-charles.svg +1131 -0
  38. package/lib/svg/index.d.ts +17 -0
  39. package/lib/svg/index.js +12 -0
  40. package/package.json +11 -4
  41. package/lib/DatalayerIcons.d.ts +0 -2
  42. package/lib/DatalayerIcons.js +0 -169
@@ -0,0 +1,11 @@
1
+ import { type SVGProps } from "react";
2
+ import { type ThemeVariant } from "@datalayer/primer-addons";
3
+ export interface SvgAIProps extends Omit<SVGProps<SVGSVGElement>, "ref"> {
4
+ size?: number;
5
+ variant?: ThemeVariant;
6
+ colorMode?: "light" | "dark" | "auto";
7
+ primaryColor?: string;
8
+ secondaryColor?: string;
9
+ }
10
+ export declare const SvgAI: import("react").ForwardRefExoticComponent<SvgAIProps & import("react").RefAttributes<SVGSVGElement>>;
11
+ export default SvgAI;
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright (c) 2023-2026 Datalayer, Inc.
4
+ *
5
+ * Datalayer License
6
+ */
7
+ import { forwardRef } from "react";
8
+ import { getLogoColors } from "@datalayer/primer-addons";
9
+ export const SvgAI = forwardRef(function SvgAI({ size = 24, variant = "datalayer", colorMode = "light", primaryColor, secondaryColor, ...svgProps }, ref) {
10
+ const themed = getLogoColors(variant, colorMode);
11
+ const resolvedPrimary = primaryColor ?? themed.primary;
12
+ const resolvedSecondary = secondaryColor ?? themed.textColor;
13
+ return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: size, height: size, role: "img", "aria-label": "AI", ref: ref, ...svgProps, children: [_jsx("path", { d: "m13.788825 3.932 6.43325 16.136075h3.5279L17.316725 3.932H13.788825Z", fill: resolvedPrimary, strokeWidth: 0.25 }), _jsx("path", { d: "m6.325375 13.682775 2.20125 -5.67065 2.201275 5.67065H6.325375ZM6.68225 3.932 0.25 20.068075h3.596525l1.3155 -3.3886h6.729425l1.315275 3.3886h3.59655L10.371 3.932H6.68225Z", fill: resolvedSecondary, fillRule: "evenodd", clipRule: "evenodd", strokeWidth: 0.25 })] }));
14
+ });
15
+ export default SvgAI;
@@ -0,0 +1,11 @@
1
+ import { type SVGProps } from "react";
2
+ import { type ThemeVariant } from "@datalayer/primer-addons";
3
+ export interface SvgAI2Props extends Omit<SVGProps<SVGSVGElement>, "ref"> {
4
+ size?: number;
5
+ variant?: ThemeVariant;
6
+ colorMode?: "light" | "dark" | "auto";
7
+ primaryColor?: string;
8
+ secondaryColor?: string;
9
+ }
10
+ export declare const SvgAI2: import("react").ForwardRefExoticComponent<SvgAI2Props & import("react").RefAttributes<SVGSVGElement>>;
11
+ export default SvgAI2;
@@ -0,0 +1,17 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright (c) 2023-2026 Datalayer, Inc.
4
+ *
5
+ * Datalayer License
6
+ */
7
+ import { forwardRef } from "react";
8
+ import { getLogoColors } from "@datalayer/primer-addons";
9
+ export const SvgAI2 = forwardRef(function SvgAI2({ size = 24, variant = "datalayer", colorMode = "light", primaryColor, secondaryColor, ...svgProps }, ref) {
10
+ const themed = getLogoColors(variant, colorMode);
11
+ const resolvedPrimary = primaryColor ?? themed.primary;
12
+ const resolvedSecondary = secondaryColor ?? themed.textColor;
13
+ const barWidth = 3.1;
14
+ const leftBarBottomInnerX = -2.2 + barWidth;
15
+ return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "-2.2 0 26.2 24", width: size, height: size, role: "img", "aria-label": "AI2", ref: ref, ...svgProps, children: [_jsx("path", { d: `M15.35 3.5h${barWidth}V20h-${barWidth}z`, fill: resolvedPrimary }), _jsx("path", { d: `M-2.2 20 9.8 3.5h${barWidth}L${leftBarBottomInnerX} 20H-2.2z`, fill: resolvedSecondary }), _jsx("path", { d: `M10.35 3.5h${barWidth}V20h-${barWidth}z`, fill: resolvedSecondary }), _jsx("path", { d: "M3.5 12.95h9.6v2.75H3.5z", fill: resolvedSecondary })] }));
16
+ });
17
+ export default SvgAI2;
@@ -0,0 +1,12 @@
1
+ import { type SVGProps } from "react";
2
+ import { type ThemeVariant } from "@datalayer/primer-addons";
3
+ export interface SvgAI3Props extends Omit<SVGProps<SVGSVGElement>, "ref"> {
4
+ size?: number;
5
+ variant?: ThemeVariant;
6
+ colorMode?: "light" | "dark" | "auto";
7
+ primaryColor?: string;
8
+ secondaryColor?: string;
9
+ }
10
+ /** AI mark constructed from a shared stroke width, slope, and gap system. */
11
+ export declare const SvgAI3: import("react").ForwardRefExoticComponent<SvgAI3Props & import("react").RefAttributes<SVGSVGElement>>;
12
+ export default SvgAI3;
@@ -0,0 +1,60 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright (c) 2023-2026 Datalayer, Inc.
4
+ *
5
+ * Datalayer License
6
+ */
7
+ import { forwardRef } from "react";
8
+ import { getLogoColors } from "@datalayer/primer-addons";
9
+ const ARTBOARD_WIDTH = 83;
10
+ const ARTBOARD_HEIGHT = 48;
11
+ const TOP = 2;
12
+ const BOTTOM = 46;
13
+ const APEX_X = 32;
14
+ const APEX_GAP = 2;
15
+ const I_HALF_WIDTH = 4.5;
16
+ const A_WEIGHT_RATIO = 0.9;
17
+ const A_HALF_WIDTH = I_HALF_WIDTH * A_WEIGHT_RATIO;
18
+ const I_GAP = I_HALF_WIDTH * 2;
19
+ const BASELINE_WIDTH = 24;
20
+ const FOOT_GAP = 1.5;
21
+ const points = (values) => values.map(([x, y]) => `${x},${y}`).join(" ");
22
+ const leftApexX = APEX_X - APEX_GAP / 2;
23
+ const rightApexX = APEX_X + APEX_GAP / 2;
24
+ const baselineX = APEX_X - BASELINE_WIDTH / 2;
25
+ const leftBaseCenter = baselineX - FOOT_GAP - A_HALF_WIDTH;
26
+ const legRun = leftApexX + A_HALF_WIDTH - leftBaseCenter;
27
+ const legSlope = legRun / (BOTTOM - TOP);
28
+ const apexShoulderY = TOP + (A_HALF_WIDTH * 2) / legSlope;
29
+ const baselineHeight = (A_HALF_WIDTH * 2) / Math.sqrt(1 + legSlope * legSlope);
30
+ const baselineTop = BOTTOM - baselineHeight;
31
+ const baselineEndInset = legSlope * baselineHeight;
32
+ const leftLegPoints = [
33
+ [leftBaseCenter - A_HALF_WIDTH, BOTTOM],
34
+ [leftApexX, TOP],
35
+ [leftApexX, apexShoulderY],
36
+ [leftBaseCenter + A_HALF_WIDTH, BOTTOM],
37
+ ];
38
+ const leftLeg = points(leftLegPoints);
39
+ const rightLeg = points(leftLegPoints.map(([x, y]) => [APEX_X * 2 - x, y]));
40
+ const iTopLeft = rightApexX + I_GAP;
41
+ const iStroke = points([
42
+ [iTopLeft, TOP],
43
+ [iTopLeft + I_HALF_WIDTH * 2, TOP],
44
+ [iTopLeft + I_HALF_WIDTH * 2 + legRun, BOTTOM],
45
+ [iTopLeft + legRun, BOTTOM],
46
+ ]);
47
+ const baseline = points([
48
+ [baselineX + baselineEndInset, baselineTop],
49
+ [baselineX + BASELINE_WIDTH - baselineEndInset, baselineTop],
50
+ [baselineX + BASELINE_WIDTH, BOTTOM],
51
+ [baselineX, BOTTOM],
52
+ ]);
53
+ /** AI mark constructed from a shared stroke width, slope, and gap system. */
54
+ export const SvgAI3 = forwardRef(function SvgAI3({ size = 24, variant = "datalayer", colorMode = "light", primaryColor, secondaryColor, ...svgProps }, ref) {
55
+ const themed = getLogoColors(variant, colorMode);
56
+ const resolvedPrimary = primaryColor ?? themed.primary;
57
+ const resolvedSecondary = secondaryColor ?? themed.textColor;
58
+ return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: `0 0 ${ARTBOARD_WIDTH} ${ARTBOARD_HEIGHT}`, width: size * (ARTBOARD_WIDTH / ARTBOARD_HEIGHT), height: size, role: "img", "aria-label": "AI3", ref: ref, ...svgProps, children: [_jsx("polygon", { points: leftLeg, fill: resolvedSecondary }), _jsx("polygon", { points: rightLeg, fill: resolvedSecondary }), _jsx("polygon", { points: iStroke, fill: resolvedPrimary }), _jsx("polygon", { points: baseline, fill: resolvedSecondary })] }));
59
+ });
60
+ export default SvgAI3;
@@ -0,0 +1,8 @@
1
+ import { type ColorPalette } from '@datalayer/primer-addons';
2
+ type SvgAssignmentArtifactProps = {
3
+ palette?: ColorPalette;
4
+ width?: number | string;
5
+ height?: number | string;
6
+ };
7
+ export declare function SvgAssignmentArtifact({ palette: paletteProp, width, height, }?: SvgAssignmentArtifactProps): import("react/jsx-runtime").JSX.Element;
8
+ export default SvgAssignmentArtifact;
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright (c) 2022-2026 Datalayer, Inc.
4
+ *
5
+ * Datalayer License
6
+ */
7
+ import { useId } from 'react';
8
+ import { useColorPalette } from '@datalayer/primer-addons';
9
+ export function SvgAssignmentArtifact({ palette: paletteProp, width = '100%', height = 'auto', } = {}) {
10
+ const auto = useColorPalette();
11
+ const p = paletteProp ?? auto;
12
+ const id = useId().replace(/:/g, '');
13
+ return (_jsxs("svg", { viewBox: "0 0 400 400", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { width, height, maxWidth: '100%', maxHeight: '500px', display: 'block' }, children: [_jsx("defs", { children: _jsxs("radialGradient", { id: `assignment-bg-${id}`, cx: "50%", cy: "50%", r: "50%", children: [_jsx("stop", { offset: "0%", stopColor: p.glow, stopOpacity: "0.12" }), _jsx("stop", { offset: "100%", stopColor: p.glow, stopOpacity: "0" })] }) }), _jsx("circle", { cx: "200", cy: "200", r: "180", fill: `url(#assignment-bg-${id})` }), _jsx("rect", { x: "80", y: "65", width: "240", height: "270", rx: "18", fill: p.surge, opacity: "0.1" }), _jsx("rect", { x: "100", y: "88", width: "200", height: "34", rx: "10", fill: p.pop, opacity: "0.3" }), _jsx("rect", { x: "112", y: "101", width: "120", height: "8", rx: "4", fill: p.glow, opacity: "0.52" }), _jsx("rect", { x: "100", y: "140", width: "200", height: "52", rx: "10", fill: p.spark, opacity: "0.14" }), _jsx("rect", { x: "114", y: "154", width: "100", height: "8", rx: "4", fill: p.gold, opacity: "0.44" }), _jsx("rect", { x: "114", y: "170", width: "76", height: "8", rx: "4", fill: p.surge, opacity: "0.34" }), _jsx("rect", { x: "100", y: "206", width: "200", height: "52", rx: "10", fill: p.glow, opacity: "0.12" }), _jsx("rect", { x: "114", y: "220", width: "110", height: "8", rx: "4", fill: p.flame, opacity: "0.44" }), _jsx("rect", { x: "114", y: "236", width: "88", height: "8", rx: "4", fill: p.pop, opacity: "0.34" }), _jsx("rect", { x: "100", y: "272", width: "200", height: "42", rx: "10", fill: p.surge, opacity: "0.16" }), _jsx("rect", { x: "114", y: "286", width: "96", height: "8", rx: "4", fill: p.spark, opacity: "0.44" })] }));
14
+ }
15
+ export default SvgAssignmentArtifact;
@@ -0,0 +1,28 @@
1
+ import { type ColorPalette } from '@datalayer/primer-addons';
2
+ /**
3
+ * Builds the Jupyter cell outputshot placeholder SVG markup from a
4
+ * {@link ColorPalette}. Because every color is derived from the palette,
5
+ * the result automatically reflects the active theme and color mode.
6
+ */
7
+ export declare function buildCellOutputshotPlaceholderSvg(p: ColorPalette): string;
8
+ /**
9
+ * Returns the themed placeholder SVG encoded as a `data:` URI for the active
10
+ * color palette. Suitable for `<img src>` or `Card.Image`.
11
+ */
12
+ export declare function cellOutputshotPlaceholderDataUri(p: ColorPalette): string;
13
+ /**
14
+ * Hook variant of {@link cellOutputshotPlaceholderDataUri} that reads the
15
+ * active palette so callers re-render when the theme or color mode changes.
16
+ */
17
+ export declare function useCellOutputshotPlaceholderDataUri(): string;
18
+ export type SvgCellOutputshotPlaceholderProps = {
19
+ style?: React.CSSProperties;
20
+ className?: string;
21
+ alt?: string;
22
+ };
23
+ /**
24
+ * Themed, color-moded Jupyter cell outputshot placeholder. Renders the
25
+ * palette-driven SVG so it responds to the user's theme and color mode.
26
+ */
27
+ export declare function SvgCellOutputshotPlaceholder({ style, className, alt, }: SvgCellOutputshotPlaceholderProps): JSX.Element;
28
+ export default SvgCellOutputshotPlaceholder;
@@ -0,0 +1,70 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright (c) 2022-2026 Datalayer, Inc.
4
+ *
5
+ * Datalayer License
6
+ */
7
+ import { useColorPalette } from '@datalayer/primer-addons';
8
+ /**
9
+ * Jupyter brand orange, kept constant across themes so the logo stays
10
+ * recognizable regardless of the active color mode.
11
+ */
12
+ const JUPYTER_ORANGE = '#f37726';
13
+ /**
14
+ * Builds the Jupyter cell outputshot placeholder SVG markup from a
15
+ * {@link ColorPalette}. Because every color is derived from the palette,
16
+ * the result automatically reflects the active theme and color mode.
17
+ */
18
+ export function buildCellOutputshotPlaceholderSvg(p) {
19
+ const backdrop = p.bg;
20
+ const surface = p.bgPanel;
21
+ const border = p.isLight ? 'rgba(27,31,36,0.15)' : 'rgba(240,246,252,0.16)';
22
+ const codeBg = p.isLight ? '#11161d' : '#0b0f14';
23
+ const outputBg = p.bgAlt;
24
+ const text = p.textMuted;
25
+ return `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 480" role="img" aria-label="Jupyter cell placeholder">
26
+ <rect id="dla-cell-placeholder" width="800" height="480" fill="${backdrop}"/>
27
+ <rect x="80" y="56" width="640" height="368" rx="28" fill="${surface}" stroke="${border}" stroke-width="2"/>
28
+ <text x="112" y="96" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" fill="${text}">In [ ]:</text>
29
+ <rect x="112" y="108" width="576" height="120" rx="14" fill="${codeBg}"/>
30
+ <rect x="140" y="134" width="300" height="12" rx="6" fill="${p.glow}" opacity="0.95"/>
31
+ <rect x="140" y="160" width="360" height="12" rx="6" fill="${p.accent}" opacity="0.9"/>
32
+ <rect x="140" y="186" width="240" height="12" rx="6" fill="${p.primary}" opacity="0.85"/>
33
+ <rect x="112" y="248" width="576" height="140" rx="14" fill="${outputBg}" stroke="${border}" stroke-width="2"/>
34
+ <rect x="160" y="330" width="70" height="40" rx="8" fill="${p.surge}" opacity="0.9"/>
35
+ <rect x="250" y="300" width="70" height="70" rx="8" fill="${p.flame}" opacity="0.9"/>
36
+ <rect x="340" y="315" width="70" height="55" rx="8" fill="${p.spark}" opacity="0.9"/>
37
+ <rect x="430" y="284" width="70" height="86" rx="8" fill="${p.primary}" opacity="0.9"/>
38
+ <rect x="520" y="320" width="70" height="50" rx="8" fill="${p.accent}" opacity="0.9"/>
39
+ <circle cx="648" cy="104" r="16" fill="${JUPYTER_ORANGE}"/>
40
+ <circle cx="680" cy="86" r="7" fill="${JUPYTER_ORANGE}" opacity="0.6"/>
41
+ <circle cx="683" cy="122" r="6" fill="${JUPYTER_ORANGE}" opacity="0.6"/>
42
+ <circle cx="618" cy="86" r="6" fill="${JUPYTER_ORANGE}" opacity="0.6"/>
43
+ <circle cx="616" cy="122" r="7" fill="${JUPYTER_ORANGE}" opacity="0.6"/>
44
+ <text x="112" y="416" font-family="ui-sans-serif, system-ui, -apple-system, sans-serif" font-size="15" fill="${text}">Jupyter Cell Preview</text>
45
+ </svg>`;
46
+ }
47
+ /**
48
+ * Returns the themed placeholder SVG encoded as a `data:` URI for the active
49
+ * color palette. Suitable for `<img src>` or `Card.Image`.
50
+ */
51
+ export function cellOutputshotPlaceholderDataUri(p) {
52
+ return `data:image/svg+xml;utf8,${encodeURIComponent(buildCellOutputshotPlaceholderSvg(p))}`;
53
+ }
54
+ /**
55
+ * Hook variant of {@link cellOutputshotPlaceholderDataUri} that reads the
56
+ * active palette so callers re-render when the theme or color mode changes.
57
+ */
58
+ export function useCellOutputshotPlaceholderDataUri() {
59
+ const palette = useColorPalette();
60
+ return cellOutputshotPlaceholderDataUri(palette);
61
+ }
62
+ /**
63
+ * Themed, color-moded Jupyter cell outputshot placeholder. Renders the
64
+ * palette-driven SVG so it responds to the user's theme and color mode.
65
+ */
66
+ export function SvgCellOutputshotPlaceholder({ style, className, alt = 'Jupyter cell placeholder', }) {
67
+ const src = useCellOutputshotPlaceholderDataUri();
68
+ return _jsx("img", { src: src, alt: alt, className: className, style: style });
69
+ }
70
+ export default SvgCellOutputshotPlaceholder;
@@ -2,7 +2,7 @@
2
2
  * Earth hero: abstract architectural painting — planet, sea, arboreal forms and birds
3
3
  * arranged as a flat, geometric composition in the spirit of constructivist art.
4
4
  */
5
- import { type ColorPalette } from '@datalayer/primer-addons';
6
- export declare function SvgEarthHero({ palette: paletteProp }?: {
5
+ import { type ColorPalette } from "@datalayer/primer-addons";
6
+ export declare function SvgEarthHero({ palette: paletteProp, }?: {
7
7
  palette?: ColorPalette;
8
8
  }): import("react/jsx-runtime").JSX.Element;
@@ -8,16 +8,49 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
8
  * Earth hero: abstract architectural painting — planet, sea, arboreal forms and birds
9
9
  * arranged as a flat, geometric composition in the spirit of constructivist art.
10
10
  */
11
- import { useColorPalette, LightBoostFilter } from '@datalayer/primer-addons';
12
- export function SvgEarthHero({ palette: paletteProp } = {}) {
11
+ import { useColorPalette, LightBoostFilter, } from "@datalayer/primer-addons";
12
+ export function SvgEarthHero({ palette: paletteProp, } = {}) {
13
13
  const auto = useColorPalette();
14
14
  const p = paletteProp ?? auto;
15
15
  const lo = p.isLight;
16
- const planetOpacity = lo ? 0.82 : 0.68;
17
- const seaFillOpacity = lo ? 0.90 : 0.78;
16
+ // The disc carries the picture, so it is drawn nearer to full strength than
17
+ // the scenery around it. Below this it reads as a haze rather than a planet.
18
+ const planetOpacity = lo ? 1 : 0.95;
19
+ const seaFillOpacity = lo ? 0.9 : 0.78;
18
20
  const leafOpacity = lo ? 0.88 : 0.72;
19
- const gridOpacity = lo ? 0.10 : 0.07;
20
- const glowOpacity = lo ? 0.28 : 0.16;
21
- const strokeMid = lo ? 0.34 : 0.20;
22
- return (_jsxs("svg", { viewBox: "0 0 1400 420", xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid slice", style: { width: '100%', height: '100%', display: 'block', position: 'absolute', inset: 0 }, children: [_jsxs("defs", { children: [_jsx(LightBoostFilter, {}), _jsxs("linearGradient", { id: "eaBg", x1: "0", y1: "0", x2: "1", y2: "1", children: [_jsx("stop", { offset: "0%", stopColor: p.bg }), _jsx("stop", { offset: "60%", stopColor: p.bgAlt }), _jsx("stop", { offset: "100%", stopColor: p.bgPanel })] }), _jsxs("radialGradient", { id: "eaPlanet", cx: "50%", cy: "44%", r: "50%", children: [_jsx("stop", { offset: "0%", stopColor: p.glow, stopOpacity: "0.95" }), _jsx("stop", { offset: "38%", stopColor: p.primary, stopOpacity: "0.88" }), _jsx("stop", { offset: "72%", stopColor: p.surge, stopOpacity: "0.80" }), _jsx("stop", { offset: "100%", stopColor: p.bg, stopOpacity: "0.10" })] }), _jsxs("radialGradient", { id: "eaLand", cx: "42%", cy: "38%", r: "58%", children: [_jsx("stop", { offset: "0%", stopColor: p.pop, stopOpacity: "0.70" }), _jsx("stop", { offset: "50%", stopColor: p.spark, stopOpacity: "0.50" }), _jsx("stop", { offset: "100%", stopColor: p.pop, stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "eaSea", x1: "0", y1: "0", x2: "0", y2: "1", children: [_jsx("stop", { offset: "0%", stopColor: p.glow }), _jsx("stop", { offset: "55%", stopColor: p.surge }), _jsx("stop", { offset: "100%", stopColor: p.primary })] }), _jsxs("linearGradient", { id: "eaSeaShimmer", x1: "0", y1: "0", x2: "1", y2: "0", children: [_jsx("stop", { offset: "0%", stopColor: p.accent, stopOpacity: "0" }), _jsx("stop", { offset: "40%", stopColor: p.accent, stopOpacity: lo ? 0.38 : 0.22 }), _jsx("stop", { offset: "70%", stopColor: p.gold, stopOpacity: lo ? 0.28 : 0.16 }), _jsx("stop", { offset: "100%", stopColor: p.accent, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "eaHalo", cx: "50%", cy: "50%", r: "50%", children: [_jsx("stop", { offset: "0%", stopColor: p.gold, stopOpacity: lo ? 0.50 : 0.30 }), _jsx("stop", { offset: "100%", stopColor: p.gold, stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "eaSand", x1: "0", y1: "0", x2: "1", y2: "0", children: [_jsx("stop", { offset: "0%", stopColor: p.gold, stopOpacity: "0" }), _jsx("stop", { offset: "18%", stopColor: p.gold, stopOpacity: lo ? 0.72 : 0.52 }), _jsx("stop", { offset: "70%", stopColor: p.gold, stopOpacity: lo ? 0.60 : 0.40 }), _jsx("stop", { offset: "100%", stopColor: p.gold, stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "eaLeftPanel", x1: "0", y1: "0", x2: "1", y2: "1", children: [_jsx("stop", { offset: "0%", stopColor: p.spark }), _jsx("stop", { offset: "100%", stopColor: p.pop })] }), _jsxs("linearGradient", { id: "eaRightPanel", x1: "1", y1: "0", x2: "0", y2: "1", children: [_jsx("stop", { offset: "0%", stopColor: p.flame }), _jsx("stop", { offset: "100%", stopColor: p.blaze })] }), _jsx("pattern", { id: "eaGrid", width: "40", height: "40", patternUnits: "userSpaceOnUse", children: _jsx("path", { d: "M40 0 L0 0 L0 40", fill: "none", stroke: p.accent, strokeWidth: "0.5", opacity: gridOpacity }) }), _jsx("pattern", { id: "eaDots", width: "28", height: "28", patternUnits: "userSpaceOnUse", children: _jsx("circle", { cx: "2", cy: "2", r: "1", fill: p.accent, opacity: lo ? 0.14 : 0.08 }) }), _jsx("pattern", { id: "eaWaves", width: "80", height: "18", patternUnits: "userSpaceOnUse", children: _jsx("path", { d: "M0 9 C14 3, 30 3, 40 9 C50 15, 66 15, 80 9", fill: "none", stroke: p.accent, strokeOpacity: lo ? 0.28 : 0.14, strokeWidth: "1.2" }) }), _jsxs("filter", { id: "eaGlow", x: "-30%", y: "-30%", width: "160%", height: "160%", children: [_jsx("feGaussianBlur", { stdDeviation: "14", result: "blur" }), _jsxs("feMerge", { children: [_jsx("feMergeNode", { in: "blur" }), _jsx("feMergeNode", { in: "SourceGraphic" })] })] }), _jsx("filter", { id: "eaSoftBlur", x: "-20%", y: "-20%", width: "140%", height: "140%", children: _jsx("feGaussianBlur", { stdDeviation: "9" }) }), _jsx("filter", { id: "eaMedBlur", x: "-15%", y: "-15%", width: "130%", height: "130%", children: _jsx("feGaussianBlur", { stdDeviation: "5" }) }), _jsx("clipPath", { id: "eaPlanetClip", children: _jsx("circle", { cx: "700", cy: "210", r: "196" }) }), _jsx("clipPath", { id: "eaSeaClip", children: _jsx("path", { d: "M 0 390 L 0 325 C 30 312,60 338,100 321 C 135 305,175 337,220 325 C 260 313,295 335,340 323 C 375 311,415 337,458 317 C 480 307,500 325,516 325 L 516 390 Z" }) }), _jsxs("symbol", { id: "eaTreeArch", viewBox: "0 0 48 96", children: [_jsx("rect", { x: "21", y: "66", width: "6", height: "28", rx: "1", fill: p.flame, opacity: "0.55" }), _jsx("polygon", { points: "24,8 38,28 30,28 42,46 6,46 18,28 10,28", fill: p.pop, opacity: "0.92" }), _jsx("polygon", { points: "24,16 35,32 13,32", fill: p.spark, opacity: "0.64" }), _jsx("polygon", { points: "24,36 36,50 12,50", fill: p.secondary, opacity: "0.48" })] }), _jsxs("symbol", { id: "eaPineArch", viewBox: "0 0 40 90", children: [_jsx("rect", { x: "18", y: "66", width: "4", height: "22", rx: "1", fill: p.flame, opacity: "0.52" }), _jsx("polygon", { points: "20,4 36,68 4,68", fill: p.pop, opacity: "0.88" }), _jsx("polygon", { points: "20,18 34,60 6,60", fill: p.spark, opacity: "0.48" }), _jsx("polygon", { points: "20,32 30,54 10,54", fill: p.glow, opacity: "0.34" })] }), _jsxs("symbol", { id: "eaTreeRound", viewBox: "0 0 64 80", children: [_jsx("rect", { x: "29", y: "54", width: "6", height: "24", rx: "1", fill: p.flame, opacity: "0.48" }), _jsx("ellipse", { cx: "32", cy: "34", rx: "26", ry: "22", fill: p.pop, opacity: "0.84" }), _jsx("ellipse", { cx: "20", cy: "38", rx: "16", ry: "13", fill: p.spark, opacity: "0.56" }), _jsx("ellipse", { cx: "44", cy: "37", rx: "15", ry: "12", fill: p.secondary, opacity: "0.52" }), _jsx("ellipse", { cx: "32", cy: "24", rx: "12", ry: "10", fill: p.glow, opacity: "0.40" })] }), _jsxs("symbol", { id: "eaShrubArch", viewBox: "0 0 50 28", children: [_jsx("ellipse", { cx: "12", cy: "18", rx: "11", ry: "9", fill: p.spark, opacity: "0.78" }), _jsx("ellipse", { cx: "26", cy: "13", rx: "14", ry: "11", fill: p.pop, opacity: "0.84" }), _jsx("ellipse", { cx: "40", cy: "18", rx: "10", ry: "8", fill: p.secondary, opacity: "0.60" })] }), _jsx("symbol", { id: "eaBirdArch", viewBox: "0 0 52 22", children: _jsx("path", { d: "M2 16 C12 4, 22 4, 26 12 C30 4, 40 4, 50 16", fill: "none", stroke: p.accent, strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), _jsxs("symbol", { id: "eaEagle", viewBox: "0 0 80 32", children: [_jsx("path", { d: "M0 22 C16 8, 30 6, 40 16 C50 6, 64 8, 80 22", fill: "none", stroke: p.secondary, strokeWidth: "3", strokeLinecap: "round" }), _jsx("ellipse", { cx: "40", cy: "13", rx: "4", ry: "3", fill: p.secondary, opacity: "0.7" }), _jsx("path", { d: "M36 18 L32 28 M44 18 L48 28", fill: "none", stroke: p.secondary, strokeWidth: "2", strokeLinecap: "round" })] })] }), _jsx("rect", { width: "1400", height: "420", fill: "url(#eaBg)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#eaGrid)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#eaDots)" }), _jsxs("g", { filter: lo ? 'url(#svgLightBoost)' : undefined, children: [_jsx("rect", { x: "0", y: "0", width: "1400", height: "140", fill: p.bg, opacity: lo ? 0.18 : 0.10 }), _jsx("rect", { x: "0", y: "140", width: "1400", height: "2", fill: p.accent, opacity: lo ? 0.22 : 0.12 }), _jsx("rect", { x: "0", y: "310", width: "1400", height: "2", fill: p.accent, opacity: lo ? 0.22 : 0.12 }), _jsx("circle", { cx: "700", cy: "210", r: "232", fill: "url(#eaHalo)", filter: "url(#eaSoftBlur)", opacity: glowOpacity * 2.2 }), _jsx("circle", { cx: "700", cy: "210", r: "196", fill: "url(#eaPlanet)", opacity: planetOpacity }), _jsxs("g", { clipPath: "url(#eaPlanetClip)", children: [_jsx("ellipse", { cx: "606", cy: "188", rx: "88", ry: "70", fill: "url(#eaLand)", opacity: lo ? 0.58 : 0.44 }), _jsx("ellipse", { cx: "638", cy: "172", rx: "54", ry: "38", fill: p.pop, opacity: lo ? 0.38 : 0.28 }), _jsx("ellipse", { cx: "792", cy: "222", rx: "62", ry: "52", fill: p.spark, opacity: lo ? 0.38 : 0.28 }), _jsx("ellipse", { cx: "810", cy: "208", rx: "36", ry: "26", fill: p.pop, opacity: lo ? 0.28 : 0.18 }), _jsx("ellipse", { cx: "682", cy: "278", rx: "28", ry: "16", fill: p.spark, opacity: lo ? 0.30 : 0.20 }), _jsx("ellipse", { cx: "726", cy: "286", rx: "18", ry: "10", fill: p.pop, opacity: lo ? 0.24 : 0.14 }), _jsx("ellipse", { cx: "700", cy: "26", rx: "68", ry: "30", fill: p.accent, opacity: lo ? 0.28 : 0.16 }), _jsx("path", { d: "M516 210 C580 196, 700 220, 820 206 C864 200, 884 210, 896 210", fill: "none", stroke: p.glow, strokeOpacity: lo ? 0.52 : 0.34, strokeWidth: "6", filter: "url(#eaMedBlur)" }), _jsx("ellipse", { cx: "700", cy: "210", rx: "194", ry: "56", fill: "none", stroke: p.accent, strokeOpacity: lo ? 0.14 : 0.08, strokeWidth: "1" }), _jsx("ellipse", { cx: "700", cy: "210", rx: "194", ry: "110", fill: "none", stroke: p.accent, strokeOpacity: lo ? 0.10 : 0.06, strokeWidth: "1" }), _jsx("ellipse", { cx: "700", cy: "210", rx: "72", ry: "194", fill: "none", stroke: p.accent, strokeOpacity: lo ? 0.12 : 0.07, strokeWidth: "1" }), _jsx("ellipse", { cx: "700", cy: "210", rx: "148", ry: "194", fill: "none", stroke: p.accent, strokeOpacity: lo ? 0.08 : 0.05, strokeWidth: "1" })] }), _jsx("circle", { cx: "700", cy: "210", r: "196", fill: "none", stroke: p.accent, strokeWidth: "1.5", strokeOpacity: lo ? 0.28 : 0.16 }), _jsx("path", { d: "M 0 390 L 0 325 C 30 312,60 338,100 321 C 135 305,175 337,220 325 C 260 313,295 335,340 323 C 375 311,415 337,458 317 C 480 307,500 325,516 325 L 516 390 Z", fill: "url(#eaSea)", opacity: seaFillOpacity }), _jsxs("g", { clipPath: "url(#eaSeaClip)", children: [_jsx("rect", { x: "0", y: "272", width: "530", height: "155", fill: "url(#eaWaves)" }), _jsx("rect", { x: "0", y: "272", width: "530", height: "155", fill: "url(#eaSeaShimmer)" }), _jsx("path", { d: "M 0 355 C 90 343, 230 363, 380 349 C 430 343, 475 353, 516 347", fill: "none", stroke: p.accent, strokeOpacity: lo ? 0.36 : 0.20, strokeWidth: "1.5" }), _jsx("path", { d: "M 0 375 C 110 363, 260 381, 420 367 C 462 361, 494 369, 516 365", fill: "none", stroke: p.glow, strokeOpacity: lo ? 0.24 : 0.13, strokeWidth: "1" }), _jsx("path", { d: "M 0 325 C 30 312,60 338,100 321 C 135 305,175 337,220 325 C 260 313,295 335,340 323 C 375 311,415 337,458 317 C 480 307,500 325,516 325", fill: "none", stroke: p.accent, strokeOpacity: lo ? 0.55 : 0.32, strokeWidth: "2", strokeLinecap: "round" })] }), _jsx("path", { d: "M 0 390 L 0 325 C 30 312,60 338,100 321 C 135 305,175 337,220 325 C 260 313,295 335,340 323 C 375 311,415 337,458 317 C 480 307,500 325,516 325 L 516 390 Z", fill: "none", stroke: p.accent, strokeWidth: "1", strokeOpacity: lo ? 0.22 : 0.13 }), _jsx("path", { d: "M 460 390 L 460 318 C 510 308,560 328,620 314 C 680 300,740 320,800 312 C 855 304,895 318,950 310 L 950 390 Z", fill: "url(#eaSand)", opacity: lo ? 0.82 : 0.62 }), _jsx("path", { d: "M 500 390 L 500 326 C 550 316,610 330,680 318 C 750 306,820 322,900 314 L 900 390 Z", fill: p.gold, opacity: lo ? 0.18 : 0.10 }), _jsx("path", { d: "M 460 318 C 510 308,560 328,620 314 C 680 300,740 320,800 312 C 855 304,895 318,950 310", fill: "none", stroke: p.gold, strokeOpacity: lo ? 0.70 : 0.45, strokeWidth: "1.5", strokeLinecap: "round" }), _jsx("rect", { x: "920", y: "310", width: "408", height: "110", rx: "3", fill: p.spark, opacity: lo ? 0.12 : 0.08 }), _jsx("rect", { x: "920", y: "406", width: "408", height: "4", rx: "1", fill: p.pop, opacity: lo ? 0.32 : 0.20 }), _jsxs("g", { opacity: lo ? 0.44 : 0.32, children: [_jsx("use", { href: "#eaPineArch", x: "938", y: "252", width: "30", height: "72" }), _jsx("use", { href: "#eaTreeArch", x: "974", y: "258", width: "34", height: "70" }), _jsx("use", { href: "#eaPineArch", x: "1012", y: "248", width: "28", height: "76" }), _jsx("use", { href: "#eaTreeArch", x: "1050", y: "256", width: "32", height: "70" }), _jsx("use", { href: "#eaPineArch", x: "1090", y: "250", width: "30", height: "74" }), _jsx("use", { href: "#eaTreeRound", x: "1128", y: "254", width: "38", height: "72" }), _jsx("use", { href: "#eaPineArch", x: "1170", y: "248", width: "28", height: "76" }), _jsx("use", { href: "#eaTreeArch", x: "1210", y: "256", width: "32", height: "70" }), _jsx("use", { href: "#eaPineArch", x: "1248", y: "250", width: "30", height: "74" }), _jsx("use", { href: "#eaTreeRound", x: "1284", y: "254", width: "36", height: "70" })] }), _jsxs("g", { opacity: leafOpacity * 0.80, children: [_jsx("use", { href: "#eaTreeRound", x: "924", y: "238", width: "52", height: "84" }), _jsx("use", { href: "#eaPineArch", x: "972", y: "228", width: "44", height: "94" }), _jsx("use", { href: "#eaTreeArch", x: "1016", y: "236", width: "48", height: "88" }), _jsx("use", { href: "#eaTreeRound", x: "1066", y: "240", width: "54", height: "82" }), _jsx("use", { href: "#eaPineArch", x: "1118", y: "226", width: "42", height: "96" }), _jsx("use", { href: "#eaTreeArch", x: "1162", y: "234", width: "50", height: "90" }), _jsx("use", { href: "#eaTreeRound", x: "1212", y: "240", width: "52", height: "82" }), _jsx("use", { href: "#eaPineArch", x: "1264", y: "228", width: "44", height: "94" }), _jsx("use", { href: "#eaTreeArch", x: "1306", y: "238", width: "48", height: "86" })] }), _jsxs("g", { opacity: leafOpacity, children: [_jsx("use", { href: "#eaPineArch", x: "930", y: "218", width: "56", height: "104" }), _jsx("use", { href: "#eaTreeRound", x: "984", y: "214", width: "64", height: "108" }), _jsx("use", { href: "#eaPineArch", x: "1046", y: "210", width: "58", height: "112" }), _jsx("use", { href: "#eaTreeArch", x: "1100", y: "216", width: "60", height: "106" }), _jsx("use", { href: "#eaTreeRound", x: "1158", y: "212", width: "64", height: "110" }), _jsx("use", { href: "#eaPineArch", x: "1220", y: "208", width: "56", height: "114" }), _jsx("use", { href: "#eaTreeArch", x: "1274", y: "218", width: "58", height: "104" }), _jsx("use", { href: "#eaTreeRound", x: "1328", y: "214", width: "60", height: "106" })] }), _jsxs("g", { opacity: lo ? 0.72 : 0.56, children: [_jsx("use", { href: "#eaShrubArch", x: "930", y: "356", width: "58", height: "34" }), _jsx("use", { href: "#eaShrubArch", x: "1016", y: "360", width: "52", height: "30" }), _jsx("use", { href: "#eaShrubArch", x: "1108", y: "354", width: "60", height: "36" }), _jsx("use", { href: "#eaShrubArch", x: "1202", y: "358", width: "54", height: "32" }), _jsx("use", { href: "#eaShrubArch", x: "1300", y: "356", width: "58", height: "34" })] }), _jsx("rect", { x: "0", y: "0", width: "18", height: "420", fill: "url(#eaLeftPanel)", opacity: lo ? 0.50 : 0.36 }), _jsx("rect", { x: "18", y: "0", width: "6", height: "420", fill: p.gold, opacity: lo ? 0.24 : 0.14 }), _jsx("rect", { x: "1376", y: "0", width: "18", height: "420", fill: "url(#eaRightPanel)", opacity: lo ? 0.44 : 0.30 }), _jsx("rect", { x: "1370", y: "0", width: "6", height: "420", fill: p.flame, opacity: lo ? 0.20 : 0.12 }), _jsxs("g", { opacity: lo ? 0.68 : 0.48, children: [_jsx("use", { href: "#eaEagle", x: "148", y: "76", width: "92", height: "36" }), _jsx("use", { href: "#eaBirdArch", x: "98", y: "112", width: "70", height: "28" }), _jsx("use", { href: "#eaBirdArch", x: "198", y: "58", width: "56", height: "22" }), _jsx("use", { href: "#eaBirdArch", x: "262", y: "96", width: "40", height: "16" }), _jsx("use", { href: "#eaBirdArch", x: "302", y: "82", width: "30", height: "12" }), _jsx("use", { href: "#eaBirdArch", x: "346", y: "118", width: "24", height: "10" }), _jsx("use", { href: "#eaBirdArch", x: "378", y: "104", width: "18", height: "8" })] }), _jsxs("g", { opacity: lo ? 0.56 : 0.38, children: [_jsx("use", { href: "#eaBirdArch", x: "820", y: "52", width: "52", height: "20" }), _jsx("use", { href: "#eaBirdArch", x: "876", y: "66", width: "38", height: "15" }), _jsx("use", { href: "#eaBirdArch", x: "922", y: "48", width: "28", height: "12" }), _jsx("use", { href: "#eaBirdArch", x: "956", y: "74", width: "22", height: "10" }), _jsx("use", { href: "#eaBirdArch", x: "990", y: "56", width: "16", height: "8" })] }), _jsx("use", { href: "#eaEagle", x: "820", y: "148", width: "76", height: "28", opacity: lo ? 0.52 : 0.36 }), _jsx("line", { x1: "72", y1: "210", x2: "504", y2: "210", stroke: p.accent, strokeWidth: "0.75", strokeOpacity: strokeMid, strokeDasharray: "4 10" }), _jsx("line", { x1: "920", y1: "210", x2: "1392", y2: "210", stroke: p.accent, strokeWidth: "0.75", strokeOpacity: strokeMid, strokeDasharray: "4 10" }), _jsx("line", { x1: "504", y1: "210", x2: "898", y2: "210", stroke: p.accent, strokeWidth: "0.5", strokeOpacity: lo ? 0.16 : 0.09 }), _jsx("line", { x1: "700", y1: "18", x2: "700", y2: "402", stroke: p.accent, strokeWidth: "0.5", strokeOpacity: lo ? 0.16 : 0.09 }), _jsx("circle", { cx: "112", cy: "48", r: "2.5", fill: p.gold, opacity: lo ? 0.58 : 0.34 }), _jsx("circle", { cx: "324", cy: "32", r: "1.8", fill: p.accent, opacity: lo ? 0.46 : 0.28 }), _jsx("circle", { cx: "538", cy: "56", r: "1.5", fill: p.spark, opacity: lo ? 0.44 : 0.26 }), _jsx("circle", { cx: "488", cy: "22", r: "2", fill: p.flame, opacity: lo ? 0.38 : 0.22 }), _jsx("circle", { cx: "862", cy: "38", r: "2.5", fill: p.gold, opacity: lo ? 0.50 : 0.30 }), _jsx("circle", { cx: "908", cy: "22", r: "1.5", fill: p.accent, opacity: lo ? 0.42 : 0.24 }), _jsx("circle", { cx: "1068", cy: "44", r: "2", fill: p.spark, opacity: lo ? 0.40 : 0.22 }), _jsx("circle", { cx: "1284", cy: "28", r: "2.5", fill: p.secondary, opacity: lo ? 0.44 : 0.26 }), _jsx("circle", { cx: "1352", cy: "56", r: "1.8", fill: p.gold, opacity: lo ? 0.38 : 0.20 })] })] }));
21
+ const gridOpacity = lo ? 0.1 : 0.07;
22
+ const glowOpacity = lo ? 0.36 : 0.24;
23
+ const strokeMid = lo ? 0.34 : 0.2;
24
+ /**
25
+ * The water, as one shape used by the fill, the clip and the outline.
26
+ *
27
+ * It ended at a vertical edge on x=516, which put a straight seam between
28
+ * the sea and the sand starting at x=460 — two flat panels butted together
29
+ * rather than a coast. It now carries on to the right and drops away
30
+ * beneath the beach, so the sand (which fades in from its own left edge)
31
+ * overlaps open water and the two read as one shoreline.
32
+ *
33
+ * One constant rather than three copies: the clip and the outline have to
34
+ * trace the fill exactly, and three literals is three chances for them not
35
+ * to.
36
+ */
37
+ /** The waterline alone, for the foam drawn along it. Traces `SEA_PATH`. */
38
+ const SEA_COAST = "M 0 325 C 30 312,60 338,100 321 C 135 305,175 337,220 325 " +
39
+ "C 260 313,295 335,340 323 C 375 311,415 334,462 330 " +
40
+ "C 510 326,548 344,588 370";
41
+ /** The shore surface: beach and forest floor as one continuous line. */
42
+ const SHORE_TOP = "M 432 332 C 500 328,562 324,625 318 C 690 311,758 305,826 300 " +
43
+ "C 890 298,950 300,1010 304 C 1140 308,1270 307,1400 306";
44
+ const SEA_PATH = "M 0 420 L 0 325 C 30 312,60 338,100 321 C 135 305,175 337,220 325 " +
45
+ "C 260 313,295 335,340 323 C 375 311,415 334,462 330 " +
46
+ "C 510 326,548 344,588 370 " +
47
+ "C 608 378,608 393,590 401 " +
48
+ "C 546 417,466 423,392 419 C 262 414,130 419,0 420 Z";
49
+ return (_jsxs("svg", { viewBox: "0 0 1400 420", xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid slice", style: {
50
+ width: "100%",
51
+ height: "100%",
52
+ display: "block",
53
+ position: "absolute",
54
+ inset: 0,
55
+ }, children: [_jsxs("defs", { children: [_jsx(LightBoostFilter, {}), _jsxs("linearGradient", { id: "eaBg", x1: "0", y1: "0", x2: "1", y2: "1", children: [_jsx("stop", { offset: "0%", stopColor: p.bg }), _jsx("stop", { offset: "60%", stopColor: p.bgAlt }), _jsx("stop", { offset: "100%", stopColor: p.bgPanel })] }), _jsxs("radialGradient", { id: "eaPlanet", cx: "50%", cy: "44%", r: "50%", children: [_jsx("stop", { offset: "0%", stopColor: p.gold, stopOpacity: "1" }), _jsx("stop", { offset: "18%", stopColor: p.spark, stopOpacity: "0.98" }), _jsx("stop", { offset: "40%", stopColor: p.glow, stopOpacity: "0.95" }), _jsx("stop", { offset: "62%", stopColor: p.primary, stopOpacity: "0.92" }), _jsx("stop", { offset: "84%", stopColor: p.surge, stopOpacity: "0.85" }), _jsx("stop", { offset: "100%", stopColor: p.bg, stopOpacity: "0.12" })] }), _jsxs("radialGradient", { id: "eaLand", cx: "42%", cy: "38%", r: "58%", children: [_jsx("stop", { offset: "0%", stopColor: p.pop, stopOpacity: "0.70" }), _jsx("stop", { offset: "50%", stopColor: p.spark, stopOpacity: "0.50" }), _jsx("stop", { offset: "100%", stopColor: p.pop, stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "eaSea", x1: "0", y1: "0", x2: "0", y2: "1", children: [_jsx("stop", { offset: "0%", stopColor: p.glow }), _jsx("stop", { offset: "55%", stopColor: p.surge }), _jsx("stop", { offset: "100%", stopColor: p.primary })] }), _jsxs("linearGradient", { id: "eaSeaShimmer", x1: "0", y1: "0", x2: "1", y2: "0", children: [_jsx("stop", { offset: "0%", stopColor: p.accent, stopOpacity: "0" }), _jsx("stop", { offset: "40%", stopColor: p.accent, stopOpacity: lo ? 0.38 : 0.22 }), _jsx("stop", { offset: "70%", stopColor: p.gold, stopOpacity: lo ? 0.28 : 0.16 }), _jsx("stop", { offset: "100%", stopColor: p.accent, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "eaHalo", cx: "50%", cy: "50%", r: "50%", children: [_jsx("stop", { offset: "0%", stopColor: p.gold, stopOpacity: lo ? 0.5 : 0.3 }), _jsx("stop", { offset: "100%", stopColor: p.gold, stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "eaSand", x1: "0", y1: "0", x2: "1", y2: "0", children: [_jsx("stop", { offset: "0%", stopColor: p.gold, stopOpacity: "0" }), _jsx("stop", { offset: "18%", stopColor: p.gold, stopOpacity: lo ? 0.72 : 0.52 }), _jsx("stop", { offset: "70%", stopColor: p.gold, stopOpacity: lo ? 0.6 : 0.4 }), _jsx("stop", { offset: "100%", stopColor: p.gold, stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "eaShore", x1: "0", y1: "0", x2: "1", y2: "0", children: [_jsx("stop", { offset: "0%", stopColor: p.gold, stopOpacity: "0" }), _jsx("stop", { offset: "9%", stopColor: p.gold, stopOpacity: lo ? 0.9 : 0.7 }), _jsx("stop", { offset: "34%", stopColor: p.gold, stopOpacity: lo ? 0.76 : 0.58 }), _jsx("stop", { offset: "62%", stopColor: p.surge, stopOpacity: lo ? 0.6 : 0.46 }), _jsx("stop", { offset: "100%", stopColor: p.surge, stopOpacity: lo ? 0.72 : 0.54 })] }), _jsx("pattern", { id: "eaGrid", width: "40", height: "40", patternUnits: "userSpaceOnUse", children: _jsx("path", { d: "M40 0 L0 0 L0 40", fill: "none", stroke: p.accent, strokeWidth: "0.5", opacity: gridOpacity }) }), _jsx("pattern", { id: "eaDots", width: "28", height: "28", patternUnits: "userSpaceOnUse", children: _jsx("circle", { cx: "2", cy: "2", r: "1", fill: p.accent, opacity: lo ? 0.14 : 0.08 }) }), _jsx("pattern", { id: "eaWaves", width: "80", height: "18", patternUnits: "userSpaceOnUse", children: _jsx("path", { d: "M0 9 C14 3, 30 3, 40 9 C50 15, 66 15, 80 9", fill: "none", stroke: p.accent, strokeOpacity: lo ? 0.28 : 0.14, strokeWidth: "1.2" }) }), _jsxs("filter", { id: "eaGlow", x: "-30%", y: "-30%", width: "160%", height: "160%", children: [_jsx("feGaussianBlur", { stdDeviation: "14", result: "blur" }), _jsxs("feMerge", { children: [_jsx("feMergeNode", { in: "blur" }), _jsx("feMergeNode", { in: "SourceGraphic" })] })] }), _jsx("filter", { id: "eaSoftBlur", x: "-20%", y: "-20%", width: "140%", height: "140%", children: _jsx("feGaussianBlur", { stdDeviation: "9" }) }), _jsx("filter", { id: "eaMedBlur", x: "-15%", y: "-15%", width: "130%", height: "130%", children: _jsx("feGaussianBlur", { stdDeviation: "5" }) }), _jsx("clipPath", { id: "eaPlanetClip", children: _jsx("circle", { cx: "700", cy: "210", r: "196" }) }), _jsx("clipPath", { id: "eaSeaClip", children: _jsx("path", { d: SEA_PATH }) }), _jsxs("symbol", { id: "eaTreeArch", viewBox: "0 0 48 96", children: [_jsx("rect", { x: "21", y: "46", width: "6", height: "48", rx: "1", fill: p.flame, opacity: "0.55" }), _jsx("polygon", { points: "24,8 38,28 30,28 42,46 6,46 18,28 10,28", fill: p.pop, opacity: "0.92" }), _jsx("polygon", { points: "24,16 35,32 13,32", fill: p.spark, opacity: "0.64" }), _jsx("polygon", { points: "24,36 36,50 12,50", fill: p.secondary, opacity: "0.48" })] }), _jsxs("symbol", { id: "eaPineArch", viewBox: "0 0 40 90", children: [_jsx("rect", { x: "18", y: "66", width: "4", height: "22", rx: "1", fill: p.flame, opacity: "0.52" }), _jsx("polygon", { points: "20,4 36,68 4,68", fill: p.pop, opacity: "0.88" }), _jsx("polygon", { points: "20,18 34,60 6,60", fill: p.spark, opacity: "0.48" }), _jsx("polygon", { points: "20,32 30,54 10,54", fill: p.glow, opacity: "0.34" })] }), _jsxs("symbol", { id: "eaTreeRound", viewBox: "0 0 64 80", children: [_jsx("rect", { x: "29", y: "54", width: "6", height: "24", rx: "1", fill: p.flame, opacity: "0.48" }), _jsx("ellipse", { cx: "32", cy: "34", rx: "26", ry: "22", fill: p.pop, opacity: "0.84" }), _jsx("ellipse", { cx: "20", cy: "38", rx: "16", ry: "13", fill: p.spark, opacity: "0.56" }), _jsx("ellipse", { cx: "44", cy: "37", rx: "15", ry: "12", fill: p.secondary, opacity: "0.52" }), _jsx("ellipse", { cx: "32", cy: "24", rx: "12", ry: "10", fill: p.glow, opacity: "0.40" })] }), _jsxs("symbol", { id: "eaShrubArch", viewBox: "0 0 50 28", children: [_jsx("ellipse", { cx: "12", cy: "18", rx: "11", ry: "9", fill: p.spark, opacity: "0.78" }), _jsx("ellipse", { cx: "26", cy: "13", rx: "14", ry: "11", fill: p.pop, opacity: "0.84" }), _jsx("ellipse", { cx: "40", cy: "18", rx: "10", ry: "8", fill: p.secondary, opacity: "0.60" })] }), _jsx("symbol", { id: "eaBirdArch", viewBox: "0 0 52 22", children: _jsx("path", { d: "M2 16 C12 4, 22 4, 26 12 C30 4, 40 4, 50 16", fill: "none", stroke: p.accent, strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), _jsxs("symbol", { id: "eaEagle", viewBox: "0 0 80 32", children: [_jsx("path", { d: "M0 22 C16 8, 30 6, 40 16 C50 6, 64 8, 80 22", fill: "none", stroke: p.secondary, strokeWidth: "3", strokeLinecap: "round" }), _jsx("ellipse", { cx: "40", cy: "13", rx: "4", ry: "3", fill: p.secondary, opacity: "0.7" }), _jsx("path", { d: "M36 18 L32 28 M44 18 L48 28", fill: "none", stroke: p.secondary, strokeWidth: "2", strokeLinecap: "round" })] }), _jsxs("symbol", { id: "eaDolphin", viewBox: "0 0 132 88", children: [_jsx("path", { d: "M126 26\n C110 13, 84 9, 60 19\n C38 28, 21 48, 12 72\n C24 60, 36 50, 52 43\n C76 33, 104 30, 126 26 Z", fill: p.accent, opacity: "0.96" }), _jsx("path", { d: "M46 30 C37 21, 26 16, 15 15 C28 21, 37 28, 41 37 Z", fill: p.accent, opacity: "0.94" }), _jsx("path", { d: "M74 34 C71 45, 64 55, 54 62 C65 53, 71 44, 72 33 Z", fill: p.accent, opacity: "0.8" }), _jsx("path", { d: "M14 70 L1 63 L9 72 L0 85 Z", fill: p.accent, opacity: "0.92" }), _jsx("circle", { cx: "106", cy: "24", r: "2.4", fill: p.bg, opacity: "0.66" }), _jsx("path", { d: "M125 27 C118 27.6, 111 28.4, 105 29", fill: "none", stroke: p.bg, strokeOpacity: "0.45", strokeWidth: "1.5", strokeLinecap: "round" })] }), _jsxs("symbol", { id: "eaWhale", viewBox: "0 0 104 56", children: [_jsx("path", { d: "M8 50 C22 36, 40 24, 62 21 C80 19, 93 31, 99 50 Z", fill: p.secondary, opacity: "0.88" }), _jsx("path", { d: "M12 50 C7 42, 4 35, 2 28 C9 32, 16 39, 19 46 Z", fill: p.secondary, opacity: "0.7" }), _jsx("ellipse", { cx: "78", cy: "33", rx: "3", ry: "2.4", fill: p.bg, opacity: "0.45" }), _jsx("path", { d: "M60 20 C57 13, 54 8, 50 3", fill: "none", stroke: p.glow, strokeWidth: "3.4", strokeLinecap: "round", opacity: "0.78" }), _jsx("path", { d: "M62 20 C62 12, 62 7, 62 2", fill: "none", stroke: p.glow, strokeWidth: "3.4", strokeLinecap: "round", opacity: "0.85" }), _jsx("path", { d: "M64 20 C67 13, 70 8, 74 3", fill: "none", stroke: p.glow, strokeWidth: "3.4", strokeLinecap: "round", opacity: "0.78" }), _jsx("circle", { cx: "48", cy: "1", r: "2.4", fill: p.glow, opacity: "0.5" }), _jsx("circle", { cx: "62", cy: "0", r: "2.2", fill: p.glow, opacity: "0.45" }), _jsx("circle", { cx: "76", cy: "1", r: "2.4", fill: p.glow, opacity: "0.5" })] }), _jsxs("symbol", { id: "eaCloud", viewBox: "0 0 96 36", children: [_jsx("ellipse", { cx: "27", cy: "24", rx: "21", ry: "12" }), _jsx("ellipse", { cx: "52", cy: "17", rx: "25", ry: "15" }), _jsx("ellipse", { cx: "74", cy: "24", rx: "18", ry: "11" }), _jsx("rect", { x: "8", y: "21", width: "80", height: "13", rx: "6.5" })] }), _jsxs("symbol", { id: "eaParasol", viewBox: "0 0 60 74", children: [_jsx("rect", { x: "28", y: "24", width: "3.5", height: "50", rx: "1.5", fill: p.flame, opacity: "0.72" }), _jsx("path", { d: "M2 26 C4 10, 16 1, 30 1 C44 1, 56 10, 58 26 Z", fill: p.blaze, opacity: "0.94" }), _jsx("path", { d: "M30 1 C22 1, 14 6, 9 14 L2 26 L17 26 C19 16, 24 7, 30 1 Z", fill: p.gold, opacity: "0.8" }), _jsx("path", { d: "M30 1 C35 7, 38 16, 40 26 L48 26 C46 15, 40 6, 34 2 Z", fill: p.gold, opacity: "0.8" }), _jsx("path", { d: "M2 26 L58 26", stroke: p.flame, strokeOpacity: "0.38", strokeWidth: "1.6" }), _jsx("circle", { cx: "30", cy: "1.5", r: "2.2", fill: p.flame, opacity: "0.75" })] }), _jsxs("symbol", { id: "eaBear", viewBox: "0 0 76 50", children: [_jsx("ellipse", { cx: "33", cy: "27", rx: "27", ry: "16", fill: p.flame, opacity: "0.9" }), _jsx("circle", { cx: "63", cy: "19", r: "10.5", fill: p.flame, opacity: "0.92" }), _jsx("circle", { cx: "57", cy: "10", r: "3.8", fill: p.flame, opacity: "0.8" }), _jsx("circle", { cx: "69", cy: "10", r: "3.8", fill: p.flame, opacity: "0.8" }), _jsx("ellipse", { cx: "72", cy: "22", rx: "4.5", ry: "3.2", fill: p.pop, opacity: "0.62" }), _jsx("rect", { x: "12", y: "38", width: "8", height: "12", rx: "2.5", fill: p.flame, opacity: "0.86" }), _jsx("rect", { x: "27", y: "40", width: "8", height: "10", rx: "2.5", fill: p.flame, opacity: "0.78" }), _jsx("rect", { x: "43", y: "38", width: "8", height: "12", rx: "2.5", fill: p.flame, opacity: "0.86" }), _jsx("rect", { x: "54", y: "40", width: "7", height: "10", rx: "2.5", fill: p.flame, opacity: "0.78" })] }), _jsxs("symbol", { id: "eaWolf", viewBox: "0 0 80 46", children: [_jsx("path", { d: "M11 23 C20 15, 41 13, 53 17 L60 21 L55 33 L17 33 Z", fill: p.secondary, opacity: "0.88" }), _jsx("path", { d: "M53 17 L66 12 L75 21 L61 25 Z", fill: p.secondary, opacity: "0.92" }), _jsx("path", { d: "M57 13 L59 4 L64 12 Z", fill: p.secondary, opacity: "0.78" }), _jsx("path", { d: "M64 12 L69 4 L71 14 Z", fill: p.secondary, opacity: "0.78" }), _jsx("path", { d: "M75 21 L80 23 L73 26 Z", fill: p.pop, opacity: "0.6" }), _jsx("path", { d: "M11 23 C2 18, 0 27, 7 32 Z", fill: p.secondary, opacity: "0.74" }), _jsx("rect", { x: "19", y: "33", width: "5", height: "13", rx: "1.6", fill: p.secondary, opacity: "0.86" }), _jsx("rect", { x: "29", y: "33", width: "5", height: "13", rx: "1.6", fill: p.secondary, opacity: "0.76" }), _jsx("rect", { x: "43", y: "33", width: "5", height: "13", rx: "1.6", fill: p.secondary, opacity: "0.86" }), _jsx("rect", { x: "51", y: "33", width: "5", height: "13", rx: "1.6", fill: p.secondary, opacity: "0.76" })] }), _jsxs("symbol", { id: "eaSatellite", viewBox: "0 0 64 28", children: [_jsx("rect", { x: "0", y: "9", width: "20", height: "10", rx: "1", fill: p.glow, opacity: "0.72" }), _jsx("rect", { x: "44", y: "9", width: "20", height: "10", rx: "1", fill: p.glow, opacity: "0.72" }), _jsx("path", { d: "M7 9 V19 M14 9 V19 M51 9 V19 M58 9 V19", stroke: p.bg, strokeOpacity: "0.45", strokeWidth: "1" }), _jsx("rect", { x: "20", y: "13", width: "24", height: "2", fill: p.accent, opacity: "0.6" }), _jsx("rect", { x: "26", y: "6", width: "12", height: "16", rx: "2", fill: p.accent, opacity: "0.9" }), _jsx("polygon", { points: "30,22 34,22 32,27", fill: p.gold, opacity: "0.9" })] }), _jsxs("linearGradient", { id: "eaSwath", x1: "0", y1: "0", x2: "0", y2: "1", children: [_jsx("stop", { offset: "0%", stopColor: p.gold, stopOpacity: lo ? 0.34 : 0.24 }), _jsx("stop", { offset: "100%", stopColor: p.gold, stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "eaAurora", x1: "0", y1: "0", x2: "1", y2: "0", children: [_jsx("stop", { offset: "0%", stopColor: p.spark, stopOpacity: "0" }), _jsx("stop", { offset: "35%", stopColor: p.spark, stopOpacity: lo ? 0.4 : 0.26 }), _jsx("stop", { offset: "65%", stopColor: p.glow, stopOpacity: lo ? 0.34 : 0.22 }), _jsx("stop", { offset: "100%", stopColor: p.glow, stopOpacity: "0" })] })] }), _jsx("rect", { width: "1400", height: "420", fill: "url(#eaBg)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#eaGrid)" }), _jsx("rect", { width: "1400", height: "420", fill: "url(#eaDots)" }), _jsxs("g", { filter: lo ? "url(#svgLightBoost)" : undefined, children: [_jsx("rect", { x: "920", y: "310", width: "480", height: "2", fill: p.accent, opacity: lo ? 0.22 : 0.12 }), _jsx("circle", { cx: "700", cy: "210", r: "232", fill: "url(#eaHalo)", filter: "url(#eaSoftBlur)", opacity: glowOpacity * 2.2 }), _jsx("circle", { cx: "700", cy: "210", r: "196", fill: "url(#eaPlanet)", opacity: planetOpacity }), _jsx("circle", { cx: "678", cy: "186", r: "88", fill: p.gold, opacity: lo ? 0.5 : 0.34, filter: "url(#eaSoftBlur)" }), _jsxs("g", { clipPath: "url(#eaPlanetClip)", children: [_jsx("ellipse", { cx: "606", cy: "188", rx: "88", ry: "70", fill: "url(#eaLand)", opacity: lo ? 0.72 : 0.58 }), _jsx("ellipse", { cx: "638", cy: "172", rx: "54", ry: "38", fill: p.pop, opacity: lo ? 0.5 : 0.4 }), _jsx("ellipse", { cx: "792", cy: "222", rx: "62", ry: "52", fill: p.spark, opacity: lo ? 0.5 : 0.4 }), _jsx("ellipse", { cx: "810", cy: "208", rx: "36", ry: "26", fill: p.pop, opacity: lo ? 0.28 : 0.18 }), _jsx("ellipse", { cx: "682", cy: "278", rx: "28", ry: "16", fill: p.spark, opacity: lo ? 0.42 : 0.3 }), _jsx("ellipse", { cx: "726", cy: "286", rx: "18", ry: "10", fill: p.pop, opacity: lo ? 0.34 : 0.22 }), _jsx("ellipse", { cx: "700", cy: "26", rx: "68", ry: "30", fill: p.accent, opacity: lo ? 0.28 : 0.16 }), _jsx("path", { d: "M516 210 C580 196, 700 220, 820 206 C864 200, 884 210, 896 210", fill: "none", stroke: p.glow, strokeOpacity: lo ? 0.52 : 0.34, strokeWidth: "6", filter: "url(#eaMedBlur)" }), _jsx("ellipse", { cx: "700", cy: "210", rx: "194", ry: "56", fill: "none", stroke: p.accent, strokeOpacity: lo ? 0.14 : 0.08, strokeWidth: "1" }), _jsx("ellipse", { cx: "700", cy: "210", rx: "194", ry: "110", fill: "none", stroke: p.accent, strokeOpacity: lo ? 0.1 : 0.06, strokeWidth: "1" }), _jsx("ellipse", { cx: "700", cy: "210", rx: "72", ry: "194", fill: "none", stroke: p.accent, strokeOpacity: lo ? 0.12 : 0.07, strokeWidth: "1" }), _jsx("ellipse", { cx: "700", cy: "210", rx: "148", ry: "194", fill: "none", stroke: p.accent, strokeOpacity: lo ? 0.08 : 0.05, strokeWidth: "1" })] }), _jsxs("g", { clipPath: "url(#eaPlanetClip)", children: [_jsx("path", { d: "M556 76 C620 44, 790 44, 850 78", fill: "none", stroke: "url(#eaAurora)", strokeWidth: "16", filter: "url(#eaSoftBlur)", strokeLinecap: "round" }), _jsx("path", { d: "M572 96 C632 68, 782 68, 836 98", fill: "none", stroke: "url(#eaAurora)", strokeWidth: "8", filter: "url(#eaMedBlur)", strokeLinecap: "round" })] }), _jsx("circle", { cx: "700", cy: "210", r: "196", fill: "none", stroke: p.accent, strokeWidth: "1.5", strokeOpacity: lo ? 0.28 : 0.16 }), _jsx("circle", { cx: "700", cy: "210", r: "203", fill: "none", stroke: p.glow, strokeWidth: "7", strokeOpacity: lo ? 0.3 : 0.18, filter: "url(#eaMedBlur)" }), _jsxs("g", { opacity: lo ? 0.42 : 0.3, children: [_jsx("ellipse", { cx: "700", cy: "210", rx: "286", ry: "96", transform: "rotate(-18 700 210)", fill: "none", stroke: p.accent, strokeWidth: "1.25" }), _jsx("ellipse", { cx: "700", cy: "210", rx: "248", ry: "130", transform: "rotate(26 700 210)", fill: "none", stroke: p.secondary, strokeWidth: "1.1", strokeDasharray: "7 9" })] }), _jsx("polygon", { points: "898,150 918,150 986,300 830,300", transform: "rotate(-18 700 210)", fill: "url(#eaSwath)", opacity: lo ? 0.9 : 0.75 }), _jsxs("g", { opacity: lo ? 0.92 : 0.78, children: [_jsx("use", { href: "#eaSatellite", x: "866", y: "132", width: "76", height: "34", transform: "rotate(-18 700 210)" }), _jsx("use", { href: "#eaSatellite", x: "560", y: "88", width: "46", height: "20", transform: "rotate(26 700 210)", opacity: "0.6" })] }), _jsxs("g", { opacity: lo ? 0.44 : 0.3, children: [_jsx("path", { d: "M 414 210 A 286 96 0 0 0 986 210", transform: "rotate(-18 700 210)", fill: "none", stroke: p.accent, strokeWidth: "1.5" }), _jsx("path", { d: "M 452 210 A 248 130 0 0 0 948 210", transform: "rotate(26 700 210)", fill: "none", stroke: p.secondary, strokeWidth: "1.2", strokeDasharray: "7 9" })] }), _jsx("use", { href: "#eaCloud", x: "1104", y: "62", width: "118", height: "44", fill: lo ? p.bgPanel : p.glow, opacity: lo ? 0.9 : 0.34 }), _jsx("use", { href: "#eaCloud", x: "1236", y: "96", width: "86", height: "30", fill: lo ? p.bgPanel : p.glow, opacity: lo ? 0.72 : 0.24 }), _jsx("use", { href: "#eaDolphin", x: "351", y: "292", width: "66", height: "44", transform: "rotate(-8 384 314)", opacity: lo ? 0.95 : 0.82 }), _jsx("use", { href: "#eaWhale", x: "213", y: "290", width: "96", height: "52", opacity: lo ? 0.82 : 0.68 }), _jsx("path", { d: SEA_PATH, fill: "url(#eaSea)", opacity: seaFillOpacity }), _jsxs("g", { clipPath: "url(#eaSeaClip)", children: [_jsx("rect", { x: "0", y: "272", width: "820", height: "155", fill: "url(#eaWaves)" }), _jsx("rect", { x: "0", y: "272", width: "820", height: "155", fill: "url(#eaSeaShimmer)" }), _jsx("path", { d: "M 0 355 C 90 343, 230 363, 380 349 C 430 343, 475 353, 516 347", fill: "none", stroke: p.accent, strokeOpacity: lo ? 0.36 : 0.2, strokeWidth: "1.5" }), _jsx("path", { d: "M 0 375 C 110 363, 260 381, 420 367 C 462 361, 494 369, 516 365", fill: "none", stroke: p.glow, strokeOpacity: lo ? 0.24 : 0.13, strokeWidth: "1" }), _jsx("path", { d: SEA_COAST, fill: "none", stroke: p.accent, strokeOpacity: lo ? 0.55 : 0.32, strokeWidth: "2", strokeLinecap: "round" })] }), _jsx("path", { d: SEA_PATH, fill: "none", stroke: p.accent, strokeWidth: "1", strokeOpacity: lo ? 0.22 : 0.13 }), _jsx("path", { d: `${SHORE_TOP} L 1400 420 L 440 420 Z`, fill: "url(#eaShore)" }), _jsx("path", { d: SHORE_TOP, fill: "none", stroke: p.gold, strokeOpacity: lo ? 0.6 : 0.4, strokeWidth: "1.5", strokeLinecap: "round" }), _jsx("use", { href: "#eaParasol", x: "536", y: "322", width: "54", height: "62", opacity: lo ? 1 : 0.88 }), _jsx("use", { href: "#eaParasol", x: "630", y: "330", width: "46", height: "52", opacity: lo ? 0.92 : 0.8 }), _jsxs("g", { opacity: lo ? 0.44 : 0.32, children: [_jsx("use", { href: "#eaPineArch", x: "938", y: "230", width: "30", height: "72" }), _jsx("use", { href: "#eaTreeArch", x: "974", y: "232", width: "34", height: "70" }), _jsx("use", { href: "#eaPineArch", x: "1012", y: "226", width: "28", height: "76" }), _jsx("use", { href: "#eaTreeArch", x: "1050", y: "232", width: "32", height: "70" }), _jsx("use", { href: "#eaPineArch", x: "1090", y: "228", width: "30", height: "74" }), _jsx("use", { href: "#eaTreeRound", x: "1128", y: "230", width: "38", height: "72" }), _jsx("use", { href: "#eaPineArch", x: "1170", y: "226", width: "28", height: "76" }), _jsx("use", { href: "#eaTreeArch", x: "1210", y: "232", width: "32", height: "70" }), _jsx("use", { href: "#eaPineArch", x: "1248", y: "228", width: "30", height: "74" }), _jsx("use", { href: "#eaTreeRound", x: "1284", y: "232", width: "36", height: "70" })] }), _jsxs("g", { opacity: leafOpacity * 0.8, children: [_jsx("use", { href: "#eaTreeRound", x: "924", y: "222", width: "52", height: "84" }), _jsx("use", { href: "#eaPineArch", x: "972", y: "212", width: "44", height: "94" }), _jsx("use", { href: "#eaTreeArch", x: "1016", y: "218", width: "48", height: "88" }), _jsx("use", { href: "#eaTreeRound", x: "1066", y: "224", width: "54", height: "82" }), _jsx("use", { href: "#eaPineArch", x: "1118", y: "210", width: "42", height: "96" }), _jsx("use", { href: "#eaTreeArch", x: "1162", y: "216", width: "50", height: "90" }), _jsx("use", { href: "#eaTreeRound", x: "1212", y: "224", width: "52", height: "82" }), _jsx("use", { href: "#eaPineArch", x: "1264", y: "212", width: "44", height: "94" }), _jsx("use", { href: "#eaTreeArch", x: "1306", y: "220", width: "48", height: "86" })] }), _jsxs("g", { opacity: leafOpacity, children: [_jsx("use", { href: "#eaPineArch", x: "930", y: "206", width: "56", height: "104" }), _jsx("use", { href: "#eaTreeRound", x: "984", y: "202", width: "64", height: "108" }), _jsx("use", { href: "#eaPineArch", x: "1046", y: "198", width: "58", height: "112" }), _jsx("use", { href: "#eaTreeArch", x: "1100", y: "204", width: "60", height: "106" }), _jsx("use", { href: "#eaTreeRound", x: "1158", y: "200", width: "64", height: "110" }), _jsx("use", { href: "#eaPineArch", x: "1220", y: "196", width: "56", height: "114" }), _jsx("use", { href: "#eaTreeArch", x: "1274", y: "206", width: "58", height: "104" }), _jsx("use", { href: "#eaTreeRound", x: "1328", y: "204", width: "60", height: "106" })] }), _jsxs("g", { opacity: lo ? 0.72 : 0.56, children: [_jsx("use", { href: "#eaShrubArch", x: "930", y: "356", width: "58", height: "34" }), _jsx("use", { href: "#eaShrubArch", x: "1016", y: "360", width: "52", height: "30" }), _jsx("use", { href: "#eaShrubArch", x: "1108", y: "354", width: "60", height: "36" }), _jsx("use", { href: "#eaShrubArch", x: "1202", y: "358", width: "54", height: "32" }), _jsx("use", { href: "#eaShrubArch", x: "1300", y: "356", width: "58", height: "34" })] }), _jsx("use", { href: "#eaBear", x: "978", y: "322", width: "84", height: "55", opacity: lo ? 0.9 : 0.76 }), _jsx("use", { href: "#eaWolf", x: "1128", y: "330", width: "78", height: "45", opacity: lo ? 0.86 : 0.72 }), _jsxs("g", { opacity: lo ? 0.68 : 0.48, children: [_jsx("use", { href: "#eaEagle", x: "148", y: "76", width: "92", height: "36" }), _jsx("use", { href: "#eaBirdArch", x: "98", y: "112", width: "70", height: "28" }), _jsx("use", { href: "#eaBirdArch", x: "198", y: "58", width: "56", height: "22" }), _jsx("use", { href: "#eaBirdArch", x: "262", y: "96", width: "40", height: "16" }), _jsx("use", { href: "#eaBirdArch", x: "302", y: "82", width: "30", height: "12" }), _jsx("use", { href: "#eaBirdArch", x: "346", y: "118", width: "24", height: "10" }), _jsx("use", { href: "#eaBirdArch", x: "378", y: "104", width: "18", height: "8" })] }), _jsxs("g", { opacity: lo ? 0.56 : 0.38, children: [_jsx("use", { href: "#eaBirdArch", x: "820", y: "52", width: "52", height: "20" }), _jsx("use", { href: "#eaBirdArch", x: "876", y: "66", width: "38", height: "15" }), _jsx("use", { href: "#eaBirdArch", x: "922", y: "48", width: "28", height: "12" }), _jsx("use", { href: "#eaBirdArch", x: "956", y: "74", width: "22", height: "10" }), _jsx("use", { href: "#eaBirdArch", x: "990", y: "56", width: "16", height: "8" })] }), _jsx("use", { href: "#eaEagle", x: "820", y: "148", width: "76", height: "28", opacity: lo ? 0.52 : 0.36 }), _jsx("line", { x1: "504", y1: "210", x2: "898", y2: "210", stroke: p.accent, strokeWidth: "0.5", strokeOpacity: lo ? 0.16 : 0.09 }), _jsx("line", { x1: "700", y1: "18", x2: "700", y2: "402", stroke: p.accent, strokeWidth: "0.5", strokeOpacity: lo ? 0.16 : 0.09 }), _jsx("circle", { cx: "112", cy: "48", r: "2.5", fill: p.gold, opacity: lo ? 0.58 : 0.34 }), _jsx("circle", { cx: "324", cy: "32", r: "1.8", fill: p.accent, opacity: lo ? 0.46 : 0.28 }), _jsx("circle", { cx: "538", cy: "56", r: "1.5", fill: p.spark, opacity: lo ? 0.44 : 0.26 }), _jsx("circle", { cx: "488", cy: "22", r: "2", fill: p.flame, opacity: lo ? 0.38 : 0.22 }), _jsx("circle", { cx: "862", cy: "38", r: "2.5", fill: p.gold, opacity: lo ? 0.5 : 0.3 }), _jsx("circle", { cx: "908", cy: "22", r: "1.5", fill: p.accent, opacity: lo ? 0.42 : 0.24 }), _jsx("circle", { cx: "1068", cy: "44", r: "2", fill: p.spark, opacity: lo ? 0.4 : 0.22 }), _jsx("circle", { cx: "1284", cy: "28", r: "2.5", fill: p.secondary, opacity: lo ? 0.44 : 0.26 }), _jsx("circle", { cx: "1352", cy: "56", r: "1.8", fill: p.gold, opacity: lo ? 0.38 : 0.2 })] })] }));
23
56
  }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Wide SVG hero background for evaluation-heavy research pages.
3
+ *
4
+ * Visual motif: experiment pipelines, benchmark sweeps, and judge-score
5
+ * calibration. Left pane shows experiment setup and run queue, center pane
6
+ * renders metric trajectories and confidence bars, right pane highlights
7
+ * leaderboard and pass/fail gates with animated signals.
8
+ *
9
+ * Uses a 1400 × 380 viewBox to match hero containers.
10
+ */
11
+ import { type ColorPalette } from '@datalayer/primer-addons';
12
+ export declare function SvgEvalsHero({ palette: paletteProp }?: {
13
+ palette?: ColorPalette;
14
+ }): import("react/jsx-runtime").JSX.Element;
15
+ export default SvgEvalsHero;
@@ -0,0 +1,23 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright (c) 2022-2026 Datalayer, Inc.
4
+ *
5
+ * Datalayer License
6
+ */
7
+ /**
8
+ * Wide SVG hero background for evaluation-heavy research pages.
9
+ *
10
+ * Visual motif: experiment pipelines, benchmark sweeps, and judge-score
11
+ * calibration. Left pane shows experiment setup and run queue, center pane
12
+ * renders metric trajectories and confidence bars, right pane highlights
13
+ * leaderboard and pass/fail gates with animated signals.
14
+ *
15
+ * Uses a 1400 × 380 viewBox to match hero containers.
16
+ */
17
+ import { useColorPalette, LightBoostFilter } from '@datalayer/primer-addons';
18
+ export function SvgEvalsHero({ palette: paletteProp } = {}) {
19
+ const auto = useColorPalette();
20
+ const p = paletteProp ?? auto;
21
+ return (_jsxs("svg", { viewBox: "0 0 1400 380", xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid slice", style: { width: '100%', height: '100%', display: 'block', position: 'absolute', inset: 0 }, children: [_jsxs("defs", { children: [_jsx(LightBoostFilter, {}), _jsxs("linearGradient", { id: "eh_aurora1", x1: "0", y1: "0", x2: "1", y2: "1", children: [_jsx("stop", { offset: "0%", stopColor: p.glow, stopOpacity: "0.24" }), _jsx("stop", { offset: "50%", stopColor: p.surge, stopOpacity: "0.13" }), _jsx("stop", { offset: "100%", stopColor: p.spark, stopOpacity: "0.2" })] }), _jsxs("linearGradient", { id: "eh_aurora2", x1: "1", y1: "0", x2: "0", y2: "1", children: [_jsx("stop", { offset: "0%", stopColor: p.spark, stopOpacity: "0.18" }), _jsx("stop", { offset: "50%", stopColor: p.flame, stopOpacity: "0.08" }), _jsx("stop", { offset: "100%", stopColor: p.glow, stopOpacity: "0.14" })] }), _jsxs("radialGradient", { id: "eh_orb1", cx: "15%", cy: "35%", r: "36%", children: [_jsx("stop", { offset: "0%", stopColor: p.glow, stopOpacity: "0.4" }), _jsx("stop", { offset: "60%", stopColor: p.glow, stopOpacity: "0.08" }), _jsx("stop", { offset: "100%", stopColor: p.glow, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "eh_orb2", cx: "55%", cy: "32%", r: "32%", children: [_jsx("stop", { offset: "0%", stopColor: p.surge, stopOpacity: "0.34" }), _jsx("stop", { offset: "60%", stopColor: p.surge, stopOpacity: "0.06" }), _jsx("stop", { offset: "100%", stopColor: p.surge, stopOpacity: "0" })] }), _jsxs("radialGradient", { id: "eh_orb3", cx: "85%", cy: "60%", r: "34%", children: [_jsx("stop", { offset: "0%", stopColor: p.spark, stopOpacity: "0.3" }), _jsx("stop", { offset: "60%", stopColor: p.spark, stopOpacity: "0.05" }), _jsx("stop", { offset: "100%", stopColor: p.spark, stopOpacity: "0" })] }), _jsx("pattern", { id: "eh_grid", width: "26", height: "26", patternUnits: "userSpaceOnUse", children: _jsx("path", { d: "M26 0H0V26", fill: "none", stroke: p.primary, strokeOpacity: "0.06", strokeWidth: "0.5" }) }), _jsxs("linearGradient", { id: "eh_shimmer", x1: "0", y1: "0", x2: "1", y2: "0", children: [_jsx("stop", { offset: "0%", stopColor: p.glow, stopOpacity: "0" }), _jsx("stop", { offset: "50%", stopColor: p.surge, stopOpacity: "0.18", children: _jsx("animate", { attributeName: "stopOpacity", values: "0.1;0.24;0.1", dur: "6s", repeatCount: "indefinite" }) }), _jsx("stop", { offset: "100%", stopColor: p.glow, stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "eh_flow", x1: "0", y1: "0", x2: "1", y2: "0", children: [_jsx("stop", { offset: "0%", stopColor: p.glow, stopOpacity: "0" }), _jsx("stop", { offset: "45%", stopColor: p.glow, stopOpacity: "0.56" }), _jsx("stop", { offset: "100%", stopColor: p.surge, stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "eh_liquidA", x1: "0", y1: "0", x2: "0", y2: "1", children: [_jsx("stop", { offset: "0%", stopColor: p.surge, stopOpacity: "0.9" }), _jsx("stop", { offset: "100%", stopColor: p.spark, stopOpacity: "0.7" })] }), _jsxs("linearGradient", { id: "eh_liquidB", x1: "0", y1: "0", x2: "0", y2: "1", children: [_jsx("stop", { offset: "0%", stopColor: p.glow, stopOpacity: "0.85" }), _jsx("stop", { offset: "100%", stopColor: p.flame, stopOpacity: "0.68" })] }), _jsx("filter", { id: "eh_softGlow", children: _jsx("feGaussianBlur", { stdDeviation: "10" }) }), _jsxs("filter", { id: "eh_bubbleGlow", children: [_jsx("feGaussianBlur", { stdDeviation: "2.8", result: "blur" }), _jsx("feComposite", { in: "SourceGraphic", in2: "blur", operator: "over" })] })] }), _jsx("rect", { width: "1400", height: "380", fill: p.bg }), _jsxs("g", { filter: p.isLight ? 'url(#svgLightBoost)' : undefined, children: [_jsx("rect", { width: "1400", height: "380", fill: "url(#eh_grid)" }), _jsx("rect", { width: "1400", height: "380", fill: "url(#eh_aurora1)", opacity: "0.72" }), _jsx("rect", { width: "1400", height: "380", fill: "url(#eh_aurora2)", opacity: "0.52" }), _jsx("rect", { y: "96", width: "1400", height: "188", fill: "url(#eh_shimmer)" }), _jsx("rect", { width: "1400", height: "380", fill: "url(#eh_orb1)" }), _jsx("rect", { width: "1400", height: "380", fill: "url(#eh_orb2)" }), _jsx("rect", { width: "1400", height: "380", fill: "url(#eh_orb3)" }), _jsxs("g", { opacity: "0.78", transform: "translate(70, 238)", children: [_jsx("rect", { x: "0", y: "82", width: "560", height: "8", rx: "4", fill: p.primary, opacity: "0.2" }), _jsx("rect", { x: "72", y: "12", width: "6", height: "78", rx: "2", fill: p.primary, opacity: "0.34" }), _jsx("rect", { x: "72", y: "12", width: "110", height: "4", rx: "2", fill: p.primary, opacity: "0.28" }), _jsx("rect", { x: "248", y: "4", width: "6", height: "86", rx: "2", fill: p.primary, opacity: "0.34" }), _jsx("rect", { x: "248", y: "4", width: "96", height: "4", rx: "2", fill: p.primary, opacity: "0.28" }), _jsx("path", { d: "M92 20 L136 20 L130 44 L162 84 L66 84 L98 44 Z", fill: p.bgPanel, stroke: p.primary, strokeWidth: "1", strokeOpacity: "0.45" }), _jsx("path", { d: "M74 74 C94 60, 134 58, 154 74 L154 84 L74 84 Z", fill: "url(#eh_liquidA)", opacity: "0.86" }), _jsx("path", { d: "M74 74 C95 67, 132 64, 154 74", fill: "none", stroke: p.glow, strokeWidth: "1", strokeOpacity: "0.5" }), _jsx("rect", { x: "188", y: "66", width: "138", height: "8", rx: "3", fill: p.primary, opacity: "0.24" }), [0, 1, 2, 3].map((i) => (_jsxs("g", { transform: `translate(${198 + i * 30}, 32)`, children: [_jsx("rect", { width: "16", height: "40", rx: "6", fill: p.bgPanel, stroke: p.primary, strokeWidth: "0.9", strokeOpacity: "0.45" }), _jsx("rect", { x: "2", y: 18 + (i % 2) * 6, width: "12", height: 20 - (i % 2) * 6, rx: "4", fill: i % 2 === 0 ? 'url(#eh_liquidA)' : 'url(#eh_liquidB)', opacity: "0.82" })] }, i))), _jsx("path", { d: "M360 20 L382 20 L378 42 C396 50, 404 64, 404 78 C404 93, 392 104, 371 104 C350 104, 338 93, 338 78 C338 64, 346 50, 364 42 Z", fill: p.bgPanel, stroke: p.primary, strokeWidth: "1", strokeOpacity: "0.45" }), _jsx("path", { d: "M344 82 C352 74, 390 72, 398 82 C396 95, 384 101, 371 101 C358 101, 346 95, 344 82 Z", fill: "url(#eh_liquidB)", opacity: "0.9" }), _jsx("path", { d: "M430 34 L486 34 L486 92 C486 98, 482 102, 476 102 L440 102 C434 102, 430 98, 430 92 Z", fill: p.bgPanel, stroke: p.primary, strokeWidth: "1", strokeOpacity: "0.45" }), _jsx("path", { d: "M434 82 L482 82 L482 94 C482 97, 480 99, 477 99 L439 99 C436 99, 434 97, 434 94 Z", fill: "url(#eh_liquidA)", opacity: "0.84" }), [0, 1, 2, 3].map((i) => (_jsx("rect", { x: "436", y: 46 + i * 9, width: 10 + i * 7, height: "1.6", rx: "0.8", fill: p.textMuted, opacity: "0.34" }, i))), [0, 1, 2, 3, 4, 5].map((i) => (_jsxs("circle", { cx: 90 + i * 58, cy: 80, r: 1.8 + (i % 3) * 0.6, fill: i % 2 === 0 ? p.glow : p.surge, opacity: "0.75", filter: "url(#eh_bubbleGlow)", children: [_jsx("animate", { attributeName: "cy", values: "80;22", dur: `${2.8 + i * 0.4}s`, repeatCount: "indefinite" }), _jsx("animate", { attributeName: "opacity", values: "0;0.78;0", dur: `${2.8 + i * 0.4}s`, repeatCount: "indefinite" })] }, i)))] }), _jsx("g", { opacity: "0.78", transform: "translate(1142, 124.5)", children: _jsxs("g", { transform: "scale(0.5)", children: [_jsx("rect", { x: "4", y: "4", width: "456", height: "262", rx: "14", fill: p.surge, opacity: "0.08", filter: "url(#eh_softGlow)" }), _jsx("rect", { width: "456", height: "262", rx: "14", fill: p.bgPanel, stroke: p.primary, strokeWidth: "0.8", strokeOpacity: "0.24" }), _jsx("rect", { x: "18", y: "20", width: "132", height: "8", rx: "3", fill: p.glow, opacity: "0.34" }), _jsx("rect", { x: "160", y: "20", width: "90", height: "8", rx: "3", fill: p.textMuted, opacity: "0.14" }), _jsxs("g", { transform: "translate(24, 52)", children: [_jsx("rect", { width: "408", height: "132", rx: "8", fill: p.bgAlt, opacity: "0.5" }), _jsx("path", { d: "M10 108 C70 95, 120 70, 168 62 C218 54, 272 36, 320 40 C350 42, 374 34, 398 22", fill: "none", stroke: p.surge, strokeWidth: "2.2", strokeOpacity: "0.85" }), _jsx("path", { d: "M10 116 C64 100, 118 84, 168 80 C220 76, 274 62, 324 64 C354 66, 378 58, 398 52", fill: "none", stroke: p.glow, strokeWidth: "1.8", strokeOpacity: "0.55" }), _jsx("path", { d: "M10 120 C66 108, 120 98, 170 98 C220 98, 276 90, 324 92 C356 94, 382 90, 398 88", fill: "none", stroke: p.textMuted, strokeWidth: "1.1", strokeOpacity: "0.28" }), [70, 120, 170, 220, 270, 320].map((x, i) => (_jsx("circle", { cx: x, cy: i % 2 === 0 ? 66 : 58, r: "2.4", fill: p.spark, opacity: "0.82", children: _jsx("animate", { attributeName: "opacity", values: "0.3;0.9;0.3", dur: `${2.8 + i * 0.35}s`, repeatCount: "indefinite" }) }, x)))] }), _jsx("g", { transform: "translate(24, 196)", children: [0, 1, 2].map((i) => (_jsxs("g", { transform: `translate(0, ${i * 18})`, children: [_jsx("rect", { width: "300", height: "10", rx: "3", fill: p.textMuted, opacity: "0.12" }), _jsx("rect", { width: 220 + i * 26, height: "10", rx: "3", fill: i === 0 ? p.surge : i === 1 ? p.glow : p.spark, opacity: "0.5" })] }, i))) })] }) }), _jsxs("g", { opacity: "0.58", transform: "translate(540, 236)", children: [_jsx("rect", { x: "0", y: "70", width: "120", height: "8", rx: "4", fill: p.primary, opacity: "0.24" }), _jsx("path", { d: "M26 66 C26 40, 44 26, 66 26 L82 26", fill: "none", stroke: p.primary, strokeWidth: "7", strokeOpacity: "0.28", strokeLinecap: "round" }), _jsx("rect", { x: "68", y: "10", width: "38", height: "8", rx: "4", fill: p.primary, opacity: "0.3", transform: "rotate(-18 68 10)" }), _jsx("rect", { x: "56", y: "34", width: "36", height: "6", rx: "3", fill: p.primary, opacity: "0.26" }), _jsx("circle", { cx: "42", cy: "52", r: "6", fill: p.glow, opacity: "0.32" }), _jsx("circle", { cx: "94", cy: "52", r: "5", fill: p.surge, opacity: "0.28" })] }), _jsx("path", { d: "M640 182 C740 178, 808 178, 860 182", fill: "none", stroke: "url(#eh_flow)", strokeWidth: "2", strokeOpacity: "0.75" }), _jsxs("circle", { r: "2.6", fill: p.glow, opacity: "0.82", children: [_jsx("animateMotion", { path: "M640,182 C740,178 808,178 860,182", dur: "3.2s", repeatCount: "indefinite" }), _jsx("animate", { attributeName: "opacity", values: "0.2;0.9;0.2", dur: "3.2s", repeatCount: "indefinite" })] }), _jsxs("circle", { r: "2.4", fill: p.surge, opacity: "0.82", children: [_jsx("animateMotion", { path: "M640,182 C740,178 808,178 860,182", dur: "3.6s", repeatCount: "indefinite" }), _jsx("animate", { attributeName: "opacity", values: "0.2;0.9;0.2", dur: "3.6s", repeatCount: "indefinite" })] }), _jsx("path", { d: "M0 358 Q120 350, 240 354 T480 350 T720 356 T960 348 T1200 354 T1400 350", fill: "none", stroke: p.glow, strokeWidth: "0.9", strokeOpacity: "0.12" }), _jsx("path", { d: "M0 364 Q130 358, 260 362 T520 358 T780 364 T1040 356 T1300 362 T1400 360", fill: "none", stroke: p.surge, strokeWidth: "0.7", strokeOpacity: "0.08" })] })] }));
22
+ }
23
+ export default SvgEvalsHero;
@@ -0,0 +1,8 @@
1
+ import { type ColorPalette } from '@datalayer/primer-addons';
2
+ type SvgExerciseArtifactProps = {
3
+ palette?: ColorPalette;
4
+ width?: number | string;
5
+ height?: number | string;
6
+ };
7
+ export declare function SvgExerciseArtifact({ palette: paletteProp, width, height, }?: SvgExerciseArtifactProps): import("react/jsx-runtime").JSX.Element;
8
+ export default SvgExerciseArtifact;
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright (c) 2022-2026 Datalayer, Inc.
4
+ *
5
+ * Datalayer License
6
+ */
7
+ import { useId } from 'react';
8
+ import { useColorPalette } from '@datalayer/primer-addons';
9
+ export function SvgExerciseArtifact({ palette: paletteProp, width = '100%', height = 'auto', } = {}) {
10
+ const auto = useColorPalette();
11
+ const p = paletteProp ?? auto;
12
+ const id = useId().replace(/:/g, '');
13
+ return (_jsxs("svg", { viewBox: "0 0 400 400", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { width, height, maxWidth: '100%', maxHeight: '500px', display: 'block' }, children: [_jsx("defs", { children: _jsxs("radialGradient", { id: `exercise-bg-${id}`, cx: "50%", cy: "50%", r: "50%", children: [_jsx("stop", { offset: "0%", stopColor: p.glow, stopOpacity: "0.12" }), _jsx("stop", { offset: "100%", stopColor: p.glow, stopOpacity: "0" })] }) }), _jsx("circle", { cx: "200", cy: "200", r: "180", fill: `url(#exercise-bg-${id})` }), _jsx("rect", { x: "85", y: "70", width: "230", height: "260", rx: "16", fill: p.pop, opacity: "0.1" }), _jsx("rect", { x: "105", y: "95", width: "190", height: "40", rx: "10", fill: p.surge, opacity: "0.28" }), _jsx("rect", { x: "120", y: "110", width: "90", height: "10", rx: "5", fill: p.glow, opacity: "0.52" }), _jsx("rect", { x: "105", y: "150", width: "190", height: "75", rx: "12", fill: p.spark, opacity: "0.14" }), _jsx("circle", { cx: "135", cy: "187", r: "16", fill: p.surge, opacity: "0.4" }), _jsx("rect", { x: "160", y: "175", width: "115", height: "10", rx: "5", fill: p.gold, opacity: "0.46" }), _jsx("rect", { x: "160", y: "193", width: "95", height: "10", rx: "5", fill: p.pop, opacity: "0.36" }), _jsx("rect", { x: "105", y: "240", width: "190", height: "70", rx: "12", fill: p.glow, opacity: "0.12" }), _jsx("rect", { x: "120", y: "255", width: "70", height: "40", rx: "8", fill: p.flame, opacity: "0.34" }), _jsx("rect", { x: "200", y: "255", width: "80", height: "10", rx: "5", fill: p.surge, opacity: "0.46" }), _jsx("rect", { x: "200", y: "273", width: "55", height: "10", rx: "5", fill: p.spark, opacity: "0.36" })] }));
14
+ }
15
+ export default SvgExerciseArtifact;
@@ -0,0 +1,8 @@
1
+ import { type ColorPalette } from '@datalayer/primer-addons';
2
+ type SvgLessonArtifactProps = {
3
+ palette?: ColorPalette;
4
+ width?: number | string;
5
+ height?: number | string;
6
+ };
7
+ export declare function SvgLessonArtifact({ palette: paletteProp, width, height, }?: SvgLessonArtifactProps): import("react/jsx-runtime").JSX.Element;
8
+ export default SvgLessonArtifact;
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright (c) 2022-2026 Datalayer, Inc.
4
+ *
5
+ * Datalayer License
6
+ */
7
+ import { useId } from 'react';
8
+ import { useColorPalette } from '@datalayer/primer-addons';
9
+ export function SvgLessonArtifact({ palette: paletteProp, width = '100%', height = 'auto', } = {}) {
10
+ const auto = useColorPalette();
11
+ const p = paletteProp ?? auto;
12
+ const id = useId().replace(/:/g, '');
13
+ return (_jsxs("svg", { viewBox: "0 0 400 400", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { width, height, maxWidth: '100%', maxHeight: '500px', display: 'block' }, children: [_jsx("defs", { children: _jsxs("radialGradient", { id: `lesson-bg-${id}`, cx: "50%", cy: "50%", r: "50%", children: [_jsx("stop", { offset: "0%", stopColor: p.glow, stopOpacity: "0.12" }), _jsx("stop", { offset: "100%", stopColor: p.glow, stopOpacity: "0" })] }) }), _jsx("circle", { cx: "200", cy: "200", r: "180", fill: `url(#lesson-bg-${id})` }), _jsx("rect", { x: "90", y: "70", width: "220", height: "260", rx: "16", fill: p.glow, opacity: "0.12" }), _jsx("rect", { x: "110", y: "95", width: "180", height: "26", rx: "8", fill: p.pop, opacity: "0.32" }), _jsx("rect", { x: "110", y: "135", width: "150", height: "10", rx: "5", fill: p.surge, opacity: "0.5" }), _jsx("rect", { x: "110", y: "153", width: "130", height: "10", rx: "5", fill: p.spark, opacity: "0.38" }), _jsx("rect", { x: "110", y: "180", width: "180", height: "60", rx: "10", fill: p.pop, opacity: "0.14" }), _jsx("rect", { x: "120", y: "192", width: "120", height: "8", rx: "4", fill: p.glow, opacity: "0.48" }), _jsx("rect", { x: "120", y: "208", width: "90", height: "8", rx: "4", fill: p.spark, opacity: "0.36" }), _jsx("rect", { x: "120", y: "242", width: "180", height: "60", rx: "10", fill: p.surge, opacity: "0.14" }), _jsx("rect", { x: "132", y: "255", width: "100", height: "8", rx: "4", fill: p.surge, opacity: "0.48" }), _jsx("rect", { x: "132", y: "271", width: "75", height: "8", rx: "4", fill: p.gold, opacity: "0.36" })] }));
14
+ }
15
+ export default SvgLessonArtifact;