Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

how to use metabase (#79024)

Timur Mashara661e8992231a
diff --git a/e2e/test/scenarios/onboarding/onboarding-checklist.cy.spec.ts b/e2e/test/scenarios/onboarding/onboarding-checklist.cy.spec.ts
index 959c6ef0908..a0eaed7063d 100644
--- a/e2e/test/scenarios/onboarding/onboarding-checklist.cy.spec.ts
+++ b/e2e/test/scenarios/onboarding/onboarding-checklist.cy.spec.ts
@@ -1,5 +1,5 @@
const { H } = cy;
-import type { ChecklistItemValue } from "metabase/home/components/Onboarding/types";
+import type { ChecklistItemValue } from "metabase/redux/store";
describe("Onboarding checklist page", () => {
beforeEach(() => {
@@ -10,20 +10,20 @@ describe("Onboarding checklist page", () => {
it("should let non-admins access this page", () => {
cy.get("[data-accordion=true]").within(() => {
- cy.findByRole("heading", { name: "Start visualizing your data" }).should(
+ cy.findByRole("heading", { name: "Explore your data" }).should(
+ "be.visible",
+ );
+ cy.contains("to create a question in natural language").should(
"be.visible",
);
- cy.contains(
- "Hover over a table and click the yellow lightning bolt",
- ).should("be.visible");
- cy.findByText("Make an interactive chart with the query builder").click();
+ cy.findByTestId("dashboard-item").click();
cy.contains(
- "Filter and summarize data, add custom columns, join data from other tables, and more",
+ "You can present questions, text, and links on a dashboard",
).should("be.visible");
- cy.contains(
- "Hover over a table and click the yellow lightning bolt",
- ).should("not.be.visible");
+ cy.contains("to create a question in natural language").should(
+ "not.be.visible",
+ );
});
});
});
@@ -79,6 +79,8 @@ describe("Onboarding checklist events", () => {
H.restore();
cy.signInAsAdmin();
+ H.updateSetting("ai-features-enabled?", true);
+
H.resetSnowplow();
H.enableTracking();
});
@@ -103,12 +105,12 @@ describe("Onboarding checklist events", () => {
const items: ChecklistItemValue[] = [
"invite",
"database",
- "x-ray",
- "notebook",
- "sql",
+ "ai",
+ "query",
"dashboard",
- "subscription",
"alert",
+ "data-studio",
+ "permissions",
];
cy.visit("/getting-started");
@@ -131,7 +133,9 @@ describe("Onboarding checklist events", () => {
})
.should("have.attr", "aria-selected", "true");
- cy.findByTestId("database-cta").button("Add Database").click();
+ cy.findByTestId("database-cta")
+ .findByRole("link", { name: "Add database" })
+ .click();
H.expectUnstructuredSnowplowEvent({
event: "onboarding_checklist_cta_clicked",
triggered_from: "database",
@@ -141,7 +145,9 @@ describe("Onboarding checklist events", () => {
cy.go("back");
cy.findByTestId("invite-item").click();
- cy.findByTestId("invite-cta").button("Invite people").click();
+ cy.findByTestId("invite-cta")
+ .findByRole("link", { name: "Invite people" })
+ .click();
H.expectUnstructuredSnowplowEvent({
event: "onboarding_checklist_cta_clicked",
triggered_from: "invite",
@@ -150,12 +156,76 @@ describe("Onboarding checklist events", () => {
cy.go("back");
- cy.findByTestId("invite-cta").button("Set up Single Sign-on").click();
+ cy.findByTestId("invite-cta")
+ .findByRole("link", { name: "Set up single sign-on" })
+ .click();
H.expectUnstructuredSnowplowEvent({
event: "onboarding_checklist_cta_clicked",
triggered_from: "invite",
event_detail: "secondary",
});
+
+ cy.go("back");
+
+ cy.findByTestId("ai-item").click();
+ cy.findByTestId("ai-cta").button("Connect to an AI provider").click();
+ H.expectUnstructuredSnowplowEvent({
+ event: "onboarding_checklist_cta_clicked",
+ triggered_from: "ai",
+ event_detail: "primary",
+ });
+
+ // This CTA opens a modal instead of navigating, so dismiss it in place.
+ // Wait for it to unmount before clicking on: while it fades out, its
+ // overlay still covers the CTA underneath.
+ cy.findByTestId("ai-provider-configuration-modal")
+ .findByLabelText("Close")
+ .click();
+ cy.findByTestId("ai-provider-configuration-modal").should("not.exist");
+
+ cy.findByTestId("ai-cta")
+ .findByRole("link", { name: "Set up MCP" })
+ .click();
+ H.expectUnstructuredSnowplowEvent({
+ event: "onboarding_checklist_cta_clicked",
+ triggered_from: "ai",
+ event_detail: "secondary",
+ });
+
+ cy.go("back");
+
+ cy.findByTestId("dashboard-item").click();
+ cy.findByTestId("dashboard-cta").button("Create a dashboard").click();
+ H.expectUnstructuredSnowplowEvent({
+ event: "onboarding_checklist_cta_clicked",
+ triggered_from: "dashboard",
+ event_detail: "primary",
+ });
+
+ cy.findByTestId("new-dashboard-modal").findByLabelText("Close").click();
+ cy.findByTestId("new-dashboard-modal").should("not.exist");
+
+ cy.findByTestId("data-studio-item").click();
+ cy.findByTestId("data-studio-cta")
+ .findByRole("link", { name: "Go to Data studio" })
+ .click();
+ H.expectUnstructuredSnowplowEvent({
+ event: "onboarding_checklist_cta_clicked",
+ triggered_from: "data-studio",
+ event_detail: "primary",
+ });
+
+ cy.go("back");
+
+ cy.findByTestId("permissions-item").click();
+ cy.findByTestId("permissions-cta")
+ .findByRole("link", { name: "Go to permissions" })
+ .click();
+ H.expectUnstructuredSnowplowEvent({
+ event: "onboarding_checklist_cta_clicked",
+ triggered_from: "permissions",
+ event_detail: "primary",
+ });
});
});
});
diff --git a/frontend/src/metabase/common/components/OnboardingIllustration/Onboarding.module.css b/frontend/src/metabase/common/components/OnboardingIllustration/Onboarding.module.css
deleted file mode 100644
index b39d333cb0c..00000000000
--- a/frontend/src/metabase/common/components/OnboardingIllustration/Onboarding.module.css
+++ /dev/null
@@ -1,22 +0,0 @@
-.Container {
- overflow: hidden;
- position: absolute;
- bottom: 0;
- left: 0;
- pointer-events: none;
- container-type: inline-size;
-
- @media screen and (--breakpoint-max-lg) {
- display: none;
- }
-}
-
-.Colors {
- --illustration-primary: var(--mb-color-core-brand);
-}
-
-.Image {
- position: absolute;
- bottom: 0;
- right: 0;
-}
diff --git a/frontend/src/metabase/common/components/OnboardingIllustration/OnboardingIllustration.tsx b/frontend/src/metabase/common/components/OnboardingIllustration/OnboardingIllustration.tsx
deleted file mode 100644
index 24409e95846..00000000000
--- a/frontend/src/metabase/common/components/OnboardingIllustration/OnboardingIllustration.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-import cx from "classnames";
-
-import OnboardingSVG from "assets/img/onboarding_bg.svg?component";
-import { Box } from "metabase/ui";
-
-import Styles from "./Onboarding.module.css";
-
-export const OnboardingIllustration = () => {
- return (
- <Box className={Styles.Container} w="100%" h="100%">
- <OnboardingSVG className={cx(Styles.Image, Styles.Colors)} />
- </Box>
- );
-};
diff --git a/frontend/src/metabase/common/components/OnboardingIllustration/index.ts b/frontend/src/metabase/common/components/OnboardingIllustration/index.ts
deleted file mode 100644
index 1eabbfe4e1c..00000000000
--- a/frontend/src/metabase/common/components/OnboardingIllustration/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from "./OnboardingIllustration";
diff --git a/frontend/src/metabase/common/hooks/use-temp-storage/use-temp-storage.unit.spec.tsx b/frontend/src/metabase/common/hooks/use-temp-storage/use-temp-storage.unit.spec.tsx
index 2dcf03198cb..f8eda22bac5 100644
--- a/frontend/src/metabase/common/hooks/use-temp-storage/use-temp-storage.unit.spec.tsx
+++ b/frontend/src/metabase/common/hooks/use-temp-storage/use-temp-storage.unit.spec.tsx
@@ -61,7 +61,7 @@ describe("useTempStorage hook", () => {
it("should read and set the value", async () => {
const tempStorage = {
- "last-opened-onboarding-checklist-item": "sql" as const,
+ "last-opened-onboarding-checklist-item": "query" as const,
};
setup({
@@ -70,7 +70,7 @@ describe("useTempStorage hook", () => {
newValue: "dashboard",
});
- expect(screen.getByTestId("result")).toHaveTextContent("Value is: sql");
+ expect(screen.getByTestId("result")).toHaveTextContent("Value is: query");
await userEvent.click(screen.getByRole("button"));
expect(screen.getByTestId("result")).toHaveTextContent(
diff --git a/frontend/src/metabase/home/components/Onboarding/AiProviderModal.tsx b/frontend/src/metabase/home/components/Onboarding/AiProviderModal.tsx
new file mode 100644
index 00000000000..09480bdb456
--- /dev/null
+++ b/frontend/src/metabase/home/components/Onboarding/AiProviderModal.tsx
@@ -0,0 +1,28 @@
+import { useDisclosure } from "@mantine/hooks";
+import { type ReactNode, createContext, useContext } from "react";
+
+import { AIProviderConfigurationModal } from "metabase/metabot/components/AIProviderConfigurationModal";
+
+const AiProviderModalContext = createContext<() => void>(() => undefined);
+
+/** Opens the "Connect to an AI provider" modal from within a checklist item. */
+export const useAiProviderModal = () => useContext(AiProviderModalContext);
+
+/**
+ * Owns the AI provider modal, so that it mounts next to the checklist rather
+ * than inside the `Accordion` as a stray sibling of one of its items.
+ */
+export const AiProviderModalProvider = ({
+ children,
+}: {
+ children: ReactNode;
+}) => {
+ const [opened, { open, close }] = useDisclosure();
+
+ return (
+ <AiProviderModalContext.Provider value={open}>
+ {children}
+ <AIProviderConfigurationModal opened={opened} onClose={close} />
+ </AiProviderModalContext.Provider>
+ );
+};
diff --git a/frontend/src/metabase/home/components/Onboarding/ChecklistItem.tsx b/frontend/src/metabase/home/components/Onboarding/ChecklistItem.tsx
new file mode 100644
index 00000000000..3998026ece7
--- /dev/null
+++ b/frontend/src/metabase/home/components/Onboarding/ChecklistItem.tsx
@@ -0,0 +1,101 @@
+import type { CSSProperties, ReactNode, Ref } from "react";
+
+import type { ChecklistItemValue } from "metabase/redux/store";
+import { Accordion, Icon, Stack } from "metabase/ui";
+import type { IconName } from "metabase-types/api";
+
+import type { ChecklistAction } from "./ChecklistItemActions";
+import { ChecklistItemActions } from "./ChecklistItemActions";
+import S from "./Onboarding.module.css";
+
+interface ChecklistItemProps {
+ value: ChecklistItemValue;
+ icon: IconName;
+ label: string;
+ itemRef?: Ref<HTMLDivElement>;
+ /** Rendered below `children`. Omit for items that have no call to action. */
+ actions?: ChecklistAction[];
+ children: ReactNode;
+}
+
+export const ChecklistItem = ({
+ value,
+ icon,
+ label,
+ itemRef,
+ actions = [],
+ children,
+}: ChecklistItemProps) => (
+ <Accordion.Item value={value} data-testid={`${value}-item`} ref={itemRef}>
+ <Accordion.Control icon={<Icon name={icon} />}>{label}</Accordion.Control>
+ <Accordion.Panel>
+ <Stack gap="lg">
+ {children}
+ {actions.length > 0 && (
+ <ChecklistItemActions value={value} actions={actions} />
+ )}
+ </Stack>
+ </Accordion.Panel>
+ </Accordion.Item>
+);
+
+/**
+ * Places an item's artwork within the frame `ChecklistMedia` draws. The numbers
+ * are design pixels straight off the Figma inspector, against its 560x316
+ * frame; `Onboarding.module.css` scales them to the rendered width.
+ */
+export type ChecklistImageStyles = CSSProperties & {
+ /** Offset from the frame's top-left. */
+ "--leaf-x"?: number;
+ "--leaf-y"?: number;
+ /** Size. Defaults fill the frame. */
+ "--leaf-w"?: number;
+ "--leaf-h"?: number;
+ /** Block anchoring, for a leaf that hangs off the bottom rather than the top. */
+ "--leaf-block-start"?: string;
+ "--leaf-block-end"?: string;
+ /** Shorthands, for a leaf drawn with a border, rounding, or elevation. */
+ "--leaf-border"?: string;
+ "--leaf-radius"?: string;
+ "--leaf-shadow"?: string;
+};
+
+/**
+ * The tinted frame every checklist illustration sits in. It supplies the
+ * backdrop the artwork used to carry itself, which is what lets the page follow
+ * the color scheme. Use it directly for inlined SVG art; raster screenshots go
+ * through `ChecklistImage`.
+ *
+ * `style` places the artwork; omit it for art that fills the frame exactly.
+ */
+export const ChecklistMedia = ({
+ style,
+ children,
+}: {
+ style?: ChecklistImageStyles;
+ children: ReactNode;
+}) => (
+ <div className={S.media} style={style}>
+ {children}
+ </div>
+);
+
+/**
+ * A raster illustration from `resources/frontend_client/app/assets/img`, framed
+ * by `ChecklistMedia`.
+ */
+export const ChecklistImage = ({
+ alt,
+ src,
+ srcSet,
+ style,
+}: {
+ alt: string;
+ src: string;
+ srcSet?: string;
+ style?: ChecklistImageStyles;
+}) => (
+ <ChecklistMedia style={style}>
+ <img alt={alt} src={src} srcSet={srcSet} />
+ </ChecklistMedia>
+);
diff --git a/frontend/src/metabase/home/components/Onboarding/ChecklistItemActions.tsx b/frontend/src/metabase/home/components/Onboarding/ChecklistItemActions.tsx
new file mode 100644
index 00000000000..d6c1c896a41
--- /dev/null
+++ b/frontend/src/metabase/home/components/Onboarding/ChecklistItemActions.tsx
@@ -0,0 +1,59 @@
+import { Link } from "metabase/common/components/Link";
+import type { ChecklistItemValue } from "metabase/redux/store";
+import { Button, Group } from "metabase/ui";
+
+import { trackChecklistItemCTAClicked } from "./analytics";
+import type { ChecklistItemCTA } from "./types";
+
+interface ChecklistActionBase {
+ label: string;
+ /** Drives both the button styling and the analytics `event_detail`. */
+ cta: ChecklistItemCTA;
+}
+
+/** An action either navigates somewhere or runs a callback, never both. */
+export type ChecklistAction =
+ | (ChecklistActionBase & { to: string; onClick?: never })
+ | (ChecklistActionBase & { onClick: () => void; to?: never });
+
+interface ChecklistItemActionsProps {
+ value: ChecklistItemValue;
+ actions: ChecklistAction[];
+}
+
+export const ChecklistItemActions = ({
+ value,
+ actions,
+}: ChecklistItemActionsProps) => (
+ <Group gap={0} data-testid={`${value}-cta`}>
+ {actions.map((action) => (
+ <ChecklistItemAction key={action.label} value={value} action={action} />
+ ))}
+ </Group>
+);
+
+const ChecklistItemAction = ({
+ value,
+ action: { cta, label, to, onClick },
+}: {
+ value: ChecklistItemValue;
+ action: ChecklistAction;
+}) => {
+ const variant = cta === "primary" ? "outline" : "subtle";
+ const handleClick = () => {
+ trackChecklistItemCTAClicked(value, cta);
+ onClick?.();
+ };
+
+ // A navigating action renders as the anchor itself rather than wrapping one
+ // around a button, which would nest two interactive elements.
+ return to === undefined ? (
+ <Button variant={variant} onClick={handleClick}>
+ {label}
+ </Button>
+ ) : (
+ <Button component={Link} to={to} variant={variant} onClick={handleClick}>
+ {label}
+ </Button>
+ );
+};
diff --git a/frontend/src/metabase/home/components/Onboarding/Onboarding.module.css b/frontend/src/metabase/home/components/Onboarding/Onboarding.module.css
index 63ce5ff4223..0d1358a3f46 100644
--- a/frontend/src/metabase/home/components/Onboarding/Onboarding.module.css
+++ b/frontend/src/metabase/home/components/Onboarding/Onboarding.module.css
@@ -3,107 +3,91 @@
position: relative;
}
-.item:not([data-css-specificity-hack="🪗"]) {
- &,
- & + &,
- &[data-active="true"] {
- border: 0;
- margin-top: 0;
- }
+/*
+ * Every slot override below is prefixed with `.accordion` to out-specify the
+ * single-class theme rules in metabase/ui's Accordion.module.css. The compound
+ * selectors are written flat on purpose: nesting them would make postcss-nesting
+ * wrap them in `:is()` and change the specificity math.
+ */
+
+.accordion .item,
+.accordion .item + .item,
+.accordion .item[data-active="true"] {
+ border: 0;
+ margin-top: 0;
+ /* Keeps an item scrolled to via `block: "nearest"` clear of the app bar, and
+ leaves its header near the top so the panel below it stays visible. */
+ scroll-margin-top: 6rem;
+}
- &:not(:last-child) {
- margin-bottom: 0.25rem;
- }
+.accordion .item:not(:last-child) {
+ margin-bottom: 0.5rem;
}
-.label:not([data-css-specificity-hack="🪗"]) {
+.accordion .label {
color: var(--mb-color-text-primary);
font-weight: normal;
}
-.control:not([data-css-specificity-hack="🪗"]) {
- background: linear-gradient(
- to right,
- var(--mb-color-background_surface-hover) 3rem,
- transparent 3rem
- );
+.accordion .control {
border: 1px solid var(--mb-color-border-neutral);
- border-radius: 0.5rem;
+ border-radius: var(--mantine-radius-md);
color: var(--mb-color-text-primary);
- padding-left: 0;
height: 3rem;
-
- &:hover {
- background-color: var(--mb-color-background_surface-hover);
- color: var(--mb-color-core-brand);
-
- .label,
- .chevron {
- color: var(--mb-color-core-brand);
- }
- }
-
- [data-active="true"] & {
- background: linear-gradient(
- to right,
- var(--mb-color-core-brand) 3rem,
- transparent 3rem
- );
-
- &:hover {
- background: linear-gradient(
- to right,
- var(--mb-color-core-brand) 3rem,
- var(--mb-color-background_surface-hover) 3rem
- );
-
- .label,
- .chevron svg {
- color: var(--mb-color-core-brand);
- }
- }
- }
+ padding-inline-start: 0;
}
-.chevron:not([data-css-specificity-hack="🪗"]) {
- border: 0;
+.accordion .control:hover {
+ background-color: var(--mb-color-background_surface-hover);
+ color: var(--mb-color-core-brand);
}
-.content:not([data-css-specificity-hack="🪗"]) {
- border: 0;
- color: var(--mb-color-text-secondary);
- padding-inline: 1rem;
- padding-top: 1.5rem;
- padding-bottom: 3rem;
+.accordion .control:hover .label,
+.accordion .control:hover .chevron {
+ color: var(--mb-color-core-brand);
}
-.icon:not([data-css-specificity-hack="🪗"]) {
+/*
+ * The icon slot is the tinted tile itself — Mantine already renders it as a
+ * flex-centered span. 2.875rem is the control's 3rem height minus its 1px
+ * borders, so the tile sits flush inside the rounded control.
+ */
+.accordion .icon {
+ background-color: var(--mb-color-background_surface-brand-subtle);
+ border-top-left-radius: 0.4375rem;
+ border-bottom-left-radius: 0.4375rem;
color: var(--mb-color-core-brand);
- height: 3rem;
- margin-right: 1rem;
+ flex: 0 0 auto;
+ height: 2.875rem;
+ margin-inline-end: 1rem;
width: 3rem;
+}
- [data-active="true"] & {
- color: var(--mb-color-text-primary-inverse);
- }
+.accordion .control:hover .icon {
+ background-color: var(--mb-color-background_surface-brand-subtle-hover);
}
-.list {
- list-style-type: circle;
+.accordion .control[data-active] .icon {
+ background-color: var(--mb-color-core-brand);
+ color: var(--mb-color-text-primary-inverse);
+}
- li {
- margin-left: 2rem;
- }
+.accordion .chevron {
+ border: 0;
}
-.inlineIcon {
- vertical-align: middle;
+.accordion .content {
+ border: 0;
+ color: var(--mb-color-text-secondary);
+ padding-inline: 1rem;
+ padding-top: 1.5rem;
+ padding-bottom: 3rem;
}
.support {
align-items: center;
background-color: var(--mb-color-background_surface-hover);
- border-radius: 0.5rem;
+ border-radius: var(--mantine-radius-md);
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
@@ -116,11 +100,65 @@
.video {
aspect-ratio: 16 / 9;
border: 1px solid var(--mb-color-border-neutral);
- border-radius: 0.5rem;
+ border-radius: var(--mantine-radius-md);
width: 100%;
}
-.image {
+/*
+ * Every checklist illustration sits in this frame. The artwork ships as
+ * a bare leaf with no backdrop of its own, so the tint comes from a theme token
+ * here and follows the color scheme; the screenshots inside stay light-mode.
+ *
+ * `container-type: inline-size` makes `--media-unit` one design pixel of
+ * Figma's 560x316 frame. Each item then places its artwork by passing the
+ * `--leaf-*` numbers straight off the Figma inspector, as the inline
+ * `ChecklistImageStyles` object documented in `ChecklistItem.tsx`.
+ *
+ * Those properties are read below through a `var()` fallback rather than being
+ * declared here, so that an item supplying none of them still gets sensible
+ * geometry.
+ */
+.media {
+ --media-unit: calc(100cqw / 560);
+
+ /*
+ * Tints for inlined SVG artwork. Line art ships with no colors of its own and
+ * is authored against these names, so it follows the color scheme and a
+ * whitelabeled brand color. Declaring them here means a new illustration
+ * needs no CSS module of its own.
+ */
+ --illustration-brand: var(--mb-color-core-brand);
+ --illustration-brand-subtle: var(--mb-color-illustration-tertiary-brand);
+ --illustration-ink: var(--mb-color-text-primary);
+ --illustration-surface: var(--mb-color-background_page-primary);
+
+ /* Shared by the leaves that sit proud of the frame. */
+ --media-leaf-elevation: 0 calc(6 * var(--media-unit))
+ calc(24 * var(--media-unit)) var(--mb-color-shadow);
+
+ aspect-ratio: 560 / 316;
+ background-color: var(--mb-color-illustration-secondary-brand);
border: 1px solid var(--mb-color-border-neutral);
- border-radius: 0.5rem;
+ border-radius: var(--mantine-radius-md);
+ container-type: inline-size;
+ overflow: hidden;
+ position: relative;
+ width: 100%;
+}
+
+.media img,
+.media svg {
+ border: var(--leaf-border, 0 none);
+ border-radius: var(--leaf-radius, 0);
+ box-shadow: var(--leaf-shadow, none);
+ height: calc(var(--leaf-h, 316) * var(--media-unit));
+ inset-block-end: var(--leaf-block-end, auto);
+ inset-block-start: var(
+ --leaf-block-start,
+ calc(var(--leaf-y, 0) * var(--media-unit))
+ );
+ inset-inline-start: calc(var(--leaf-x, 0) * var(--media-unit));
+ max-width: none;
+ position: absolute;
+ width: calc(var(--leaf-w, 560) * var(--media-unit));
}
diff --git a/frontend/src/metabase/home/components/Onboarding/Onboarding.tsx b/frontend/src/metabase/home/components/Onboarding/Onboarding.tsx
index 1dfd568e2b4..5a875f9a260 100644
--- a/frontend/src/metabase/home/components/Onboarding/Onboarding.tsx
+++ b/frontend/src/metabase/home/components/Onboarding/Onboarding.tsx
@@ -1,664 +1,108 @@
-import {
- type Ref,
- createRef,
- forwardRef,
- useCallback,
- useEffect,
- useMemo,
- useState,
-} from "react";
+import { useMemo, useRef } from "react";
import { jt, t } from "ttag";
import { ExternalLink } from "metabase/common/components/ExternalLink";
-import { Link } from "metabase/common/components/Link";
-import { OnboardingIllustration } from "metabase/common/components/OnboardingIllustration";
-import { useTempStorage } from "metabase/common/hooks";
-import CS from "metabase/css/core/index.css";
+import { useDocsUrl, useLearnUrl, useTempStorage } from "metabase/common/hooks";
import { useHelpLink } from "metabase/nav/components/AppSwitcher/useHelpLink";
import { useSelector } from "metabase/redux";
import type { ChecklistItemValue } from "metabase/redux/store";
-import { getDocsUrl, getIsPaidPlan } from "metabase/selectors/settings";
-import { getUserIsAdmin } from "metabase/selectors/user";
-import {
- getApplicationName,
- getShowMetabaseLinks,
-} from "metabase/selectors/whitelabel";
-import { getSetting, useSetting } from "metabase/settings";
-import {
- Accordion,
- Box,
- Button,
- Group,
- Icon,
- Stack,
- Text,
- Title,
- rem,
-} from "metabase/ui";
-import * as Urls from "metabase/urls";
+import { getIsPaidPlan } from "metabase/selectors/settings";
+import { getApplicationName } from "metabase/selectors/whitelabel";
+import { Accordion, Box, Button, Stack, Text, Title, rem } from "metabase/ui";
+import { AiProviderModalProvider } from "./AiProviderModal";
import S from "./Onboarding.module.css";
+import { trackChecklistItemExpanded } from "./analytics";
+import { useChecklistItems } from "./use-checklist-items";
import {
- trackChecklistItemCTAClicked,
- trackChecklistItemExpanded,
-} from "./analytics";
+ ACCORDION_TRANSITION_DURATION,
+ useScrollIntoItemView,
+} from "./use-scroll-into-item-view";
+import { createItemsRefs } from "./utils";
export const Onboarding = () => {
const applicationName = useSelector(getApplicationName);
- const showMetabaseLinks = useSelector(getShowMetabaseLinks);
const isPaidPlan = useSelector(getIsPaidPlan);
- const isAdmin = useSelector(getUserIsAdmin);
-
- const isHosted = useSetting("is-hosted?");
- const shouldConfigureCommunicationChannels = isAdmin && !isHosted;
-
- const isXrayEnabled = useSetting("enable-xrays");
-
- const exampleDashboardId = useSetting("example-dashboard-id");
-
- const itemRefs = useMemo(() => {
- return {
- database: createRef<HTMLDivElement>(),
- invite: createRef<HTMLDivElement>(),
- "x-ray": createRef<HTMLDivElement>(),
- notebook: createRef<HTMLDivElement>(),
- sql: createRef<HTMLDivElement>(),
- dashboard: createRef<HTMLDivElement>(),
- subscription: createRef<HTMLDivElement>(),
- alert: createRef<HTMLDivElement>(),
- };
- }, []);
-
- type ItemKey = keyof typeof itemRefs;
-
- const isValidItemKey = useCallback(
- (key?: ChecklistItemValue | null): key is ItemKey => {
- return key != null && key in itemRefs;
- },
- [itemRefs],
- );
-
- const [itemValue, setItemValue] = useState<ChecklistItemValue | null>(null);
-
- const DEFAULT_ITEM = isAdmin ? "database" : "x-ray";
-
- const newQuestionUrl = Urls.newQuestion({
- mode: "notebook",
- creationType: "custom_question",
- collectionId: "root",
- cardType: "question",
- });
-
- const lastUsedDatabaseId = useSelector((state) =>
- getSetting(state, "last-used-native-database-id"),
- );
-
- const newNativeQuestionUrl = Urls.newQuestion({
- DEPRECATED_RAW_MBQL_type: "native",
- creationType: "native_question",
- collectionId: "root",
- cardType: "question",
- DEPRECATED_RAW_MBQL_databaseId: lastUsedDatabaseId || undefined,
- });
-
+ const itemsGroups = useChecklistItems();
+ const itemsRefs = useMemo(() => createItemsRefs(itemsGroups), [itemsGroups]);
+ const checklistRef = useRef<HTMLDivElement>(null);
const [lastItemOpened, setLastItemOpened] = useTempStorage(
"last-opened-onboarding-checklist-item",
);
+ const defaultItem =
+ lastItemOpened && lastItemOpened in itemsRefs
+ ? lastItemOpened
+ : itemsGroups[0].items[0].value;
- const scrollElementIntoView = (element?: HTMLDivElement | null) => {
- if (!element) {
- return;
- }
- element.scrollIntoView({
- behavior: "smooth",
- block: "center",
- });
- };
-
- // Scroll the last opened item into view when the user navigates back to this page
- useEffect(() => {
- if (isValidItemKey(lastItemOpened)) {
- const item = itemRefs[lastItemOpened].current;
- scrollElementIntoView(item);
- }
- }, [itemRefs, lastItemOpened, isValidItemKey]);
+ useScrollIntoItemView(itemsRefs, lastItemOpened);
const handleValueChange = (newValue: ChecklistItemValue | null) => {
- if (isValidItemKey(itemValue)) {
- const currentItem = itemRefs[itemValue].current;
- const iframe = currentItem?.querySelector("iframe");
+ // Only one item is open at a time, so stopping every embed is enough to
+ // silence the video in the item that is being collapsed.
+ checklistRef.current?.querySelectorAll("iframe").forEach(stopVideo);
- // If the current accordion item contains an iframe, stop the video before expanding a new item
- stopVideo(iframe);
- }
-
- if (newValue !== null) {
+ if (newValue) {
setLastItemOpened(newValue);
trackChecklistItemExpanded(newValue);
-
- // Make sure that the new item always expands inside the viewport
- const newItem = itemRefs[newValue].current;
- scrollElementIntoView(newItem);
}
-
- setItemValue(newValue);
};
- const utmTags = {
- utm_source: "product",
- utm_medium: "docs",
- utm_campaign: "help",
- utm_content: "getting-started",
- };
-
- const docsLink = useSelector((state) =>
- getDocsUrl(state, {
- utm: utmTags,
- }),
- );
-
- const sqlParamsDocsLink = useSelector((state) =>
- getDocsUrl(state, {
- page: "questions/native-editor/sql-parameters",
- utm: utmTags,
- }),
- );
- const dashboardTabsDocsLink = useSelector((state) =>
- getDocsUrl(state, {
- page: "dashboards/introduction",
- anchor: "dashboard-tabs",
- utm: utmTags,
- }),
- );
- const goalLineAlertDocsLink = useSelector((state) =>
- getDocsUrl(state, {
- page: "questions/sharing/alerts",
- anchor: "goal-line-alerts",
- utm: utmTags,
- }),
- );
- const progressBarAlertDocsLink = useSelector((state) =>
- getDocsUrl(state, {
- page: "questions/sharing/alerts",
- anchor: "progress-bar-alerts",
- utm: utmTags,
- }),
- );
- const resultAlertDocsLink = useSelector((state) =>
- getDocsUrl(state, {
- page: "questions/sharing/alerts",
- anchor: "results-alerts",
- utm: utmTags,
- }),
- );
+ const { url: docsLink, showMetabaseLinks } = useDocsUrl("", {
+ utm: {
+ utm_source: "product",
+ utm_campaign: "help",
+ utm_content: "getting-started",
+ },
+ });
+ const { url: learnLink } = useLearnUrl("");
const helpLink = useHelpLink();
- const disabledXrayCopy = (isAdmin: boolean) =>
- isAdmin
- ? t`You need to enable this feature first.`
- : t`An admin needs to enable this feature first.`;
-
return (
<Box
mih="100%"
className={S.page}
px={{ base: "md", md: "lg", lg: rem(48) }}
- pt="xl"
+ pt={30}
pb={212}
>
- <OnboardingIllustration />
- <Box maw={592} m="0 auto">
- <Accordion
- defaultValue={lastItemOpened || DEFAULT_ITEM}
- classNames={{
- chevron: S.chevron,
- content: S.content,
- control: S.control,
- icon: S.icon,
- item: S.item,
- label: S.label,
- }}
- onChange={(value: string | null) =>
- // Unjustified type cast. FIXME
- handleValueChange(value as ChecklistItemValue | null)
- }
- >
- {isAdmin && (
- <Box mb={64}>
- <Title
- order={3}
- mb="lg"
- >{t`Set up your ${applicationName}`}</Title>
- <Accordion.Item
- value="database"
- data-testid="database-item"
- ref={itemRefs["database"]}
- >
- <Accordion.Control icon={<Icon name="add_data" />}>
- {t`Connect to your database`}
- </Accordion.Control>
- <Accordion.Panel>
- <Stack gap="lg">
- <img
- alt={`${applicationName} ${t`data stack`}`}
- className={S.image}
- loading="lazy"
- src="app/assets/img/onboarding_data_diagram.png"
- srcSet="app/assets/img/[email protected] 2x"
- width="100%"
- />
-
- <Text>
- {t`You can connect multiple databases, and query them directly with the query builder or the Native/SQL editor. ${applicationName} connects to more than 15 popular databases.`}
- </Text>
- <Box data-testid="database-cta">
- <Link
- to="/admin/databases/create"
- onClick={() => trackChecklistItemCTAClicked("database")}
- >
- <Button variant="outline">{t`Add Database`}</Button>
- </Link>
- </Box>
- </Stack>
- </Accordion.Panel>
- </Accordion.Item>
- <Accordion.Item
- value="invite"
- data-testid="invite-item"
- ref={itemRefs["invite"]}
- >
- <Accordion.Control icon={<Icon name="group" />}>
- {t`Invite people`}
- </Accordion.Control>
- <Accordion.Panel>
- <Stack gap="lg">
- <img
- alt={t`Admin panel with the "Invite someone" button`}
- className={S.image}
- loading="lazy"
- src="app/assets/img/onboarding_invite.png"
- srcSet="app/assets/img/[email protected] 2x"
- width="100%"
- />
- {!isPaidPlan ? (
- // eslint-disable-next-line metabase/no-literal-metabase-strings -- OSS doesn't have whitelabeling option
- <Text>{t`Don't be shy with invites. Metabase makes self-service analytics easy.`}</Text>
- ) : (
- // eslint-disable-next-line metabase/no-literal-metabase-strings -- This string only shows for admins
- <Text>{t`Don't be shy with invites. Metabase Starter plan includes 5 users, and Pro includes 10 users without the need to pay additionally.`}</Text>
- )}
-
- <Group gap={0} data-testid="invite-cta">
- <Link
- to="/admin/people"
- onClick={() =>
- trackChecklistItemCTAClicked("invite", "primary")
- }
- >
- <Button variant="outline">{t`Invite people`}</Button>
- </Link>
- <Link
- to="/admin/settings/authentication"
- onClick={() =>
- trackChecklistItemCTAClicked("invite", "secondary")
- }
- >
- <Button variant="subtle">{t`Set up Single Sign-on`}</Button>
- </Link>
- </Group>
- </Stack>
- </Accordion.Panel>
- </Accordion.Item>
- </Box>
- )}
-
- <Box mb={64}>
- <Title order={3} mb="lg">{t`Start visualizing your data`}</Title>
- <Accordion.Item
- value="x-ray"
- data-testid="x-ray-item"
- ref={itemRefs["x-ray"]}
- >
- <Accordion.Control icon={<Icon name="bolt" />}>
- {t`Create automatic dashboards`}
- </Accordion.Control>
- <Accordion.Panel>
- <Stack gap="lg">
- <VideoTutorial
- id="FOAXF4p1AL0"
- si="COmu2w0SqGagUoVp"
- title="How to find and use X-rays?"
- />
- {isXrayEnabled ? (
- <>
- <Text>
- {jt`Hover over a table and click the yellow lightning bolt ${(
- <Icon
- c="feedback-warning"
- className={S.inlineIcon}
- key="bolt_icon"
- name="bolt_filled"
- size={14}
- />
- )}. ${applicationName} will create a bunch of charts based on that data and arrange them on a dashboard.`}
- </Text>
- {isAdmin && (
- <Box data-testid="x-ray-cta">
- <Link
- to="/browse/databases"
- onClick={() =>
- trackChecklistItemCTAClicked("x-ray")
- }
- >
- <Button variant="outline">{t`Browse data`}</Button>
- </Link>
- </Box>
- )}
- </>
- ) : (
- <Text>{disabledXrayCopy(isAdmin)}</Text>
- )}
- </Stack>
- </Accordion.Panel>
- </Accordion.Item>
- <Accordion.Item
- value="notebook"
- data-testid="notebook-item"
- ref={itemRefs["notebook"]}
- >
- <Accordion.Control icon={<Icon name="notebook" />}>
- {t`Make an interactive chart with the query builder`}
- </Accordion.Control>
- <Accordion.Panel>
- <Stack gap="lg">
- <VideoTutorial
- id="N9pR8KyaWzY"
- si="EQbwmOGt733oWkXF"
- title="How to use the Notebook editor?"
- />
- <Text>
- {jt`Filter and summarize data, add custom columns, join data from other tables, and more - ${(
- <b key="no-sql">{t`all without SQL`}</b>
- )}. And when you build a chart with the query builder, people will be able to ${(
- <b key="drill-through">{t`drill-through the chart`}</b>
- )} to explore the data further.`}
- </Text>
- {isAdmin && (
- <Box data-testid="notebook-cta">
- <Link
- to={newQuestionUrl}
- onClick={() => trackChecklistItemCTAClicked("notebook")}
- >
- <Button variant="outline">{t`New question`}</Button>
- </Link>
- </Box>
- )}
- </Stack>
- </Accordion.Panel>
- </Accordion.Item>
-
- <Accordion.Item
- value="sql"
- data-testid="sql-item"
- ref={itemRefs["sql"]}
- >
- <Accordion.Control icon={<Icon name="sql" />}>
- {t`Query with SQL`}
- </Accordion.Control>
- <Accordion.Panel>
- <Stack gap="lg">
- <VideoTutorial
- id="_iiG_MoxdAE"
- si="QInRPzkHpFamjsHw"
- title="How to use the SQL/Native query editor?"
+ <Box maw={592} m="0 auto" ref={checklistRef}>
+ <AiProviderModalProvider>
+ <Accordion
+ className={S.accordion}
+ defaultValue={defaultItem}
+ transitionDuration={ACCORDION_TRANSITION_DURATION}
+ classNames={{
+ chevron: S.chevron,
+ content: S.content,
+ control: S.control,
+ icon: S.icon,
+ item: S.item,
+ label: S.label,
+ }}
+ onChange={
+ // `Accordion` is not generic, so it widens the value to `string`.
+ // Everything it can emit is the `value` of an `Accordion.Item`
+ // rendered below, all of which are `ChecklistItemValue`.
+ (value) => handleValueChange(value as ChecklistItemValue | null)
+ }
+ >
+ {itemsGroups.map((group) => (
+ <Box key={group.title} mb={60}>
+ <Title order={3} mb="lg">
+ {group.title}
+ </Title>
+ {group.items.map(({ Component, value }) => (
+ <Component
+ key={value}
+ value={value}
+ itemRef={itemsRefs[value]}
/>
- <Text>
- {jt`Use the ${(
- <b key="native">{t`native query editor`}</b>
- )} to query data with SQL or the query language native to your database. You can insert variables in your code to create ${
- showMetabaseLinks ? (
- <ExternalLink
- href={sqlParamsDocsLink}
- key="sql-templates"
- >
- {t`SQL templates`}
- </ExternalLink>
- ) : (
- t`SQL templates`
- )
- }, and reference the results of models or other saved question in your code.`}
- </Text>
- {isAdmin && (
- <Box data-testid="sql-cta">
- <Link
- to={newNativeQuestionUrl}
- onClick={() => trackChecklistItemCTAClicked("sql")}
- >
- <Button variant="outline">{t`New native query`}</Button>
- </Link>
- </Box>
- )}
- </Stack>
- </Accordion.Panel>
- </Accordion.Item>
- <Accordion.Item
- value="dashboard"
- data-testid="dashboard-item"
- ref={itemRefs["dashboard"]}
- >
- <Accordion.Control icon={<Icon name="dashboard" />}>
- {t`Create and filter a dashboard`}
- </Accordion.Control>
- <Accordion.Panel>
- <Stack gap="lg">
- <VideoTutorial
- id="FAst1nabBck"
- si="yVMfXeh0tkr1Yt8_"
- title="How to use dashboards?"
- />
- <Text>
- {t`You can:`}
- <ul className={S.list}>
- <li>{jt`Organize questions into a ${
- showMetabaseLinks ? (
- <ExternalLink href={dashboardTabsDocsLink} key="tabs">
- {t`dashboard with tabs`}
- </ExternalLink>
- ) : (
- t`dashboard with tabs`
- )
- } and add text, link, and iframe cards.`}</li>
- <li>{jt`Add ${<b key="filters">{t`filters`}</b>} to dashboards and connect them to fields on questions to narrow the results.`}</li>
- <li>{t`Drill-through charts on your dashboard to see different groupings or individual records.`}</li>
- </ul>
- </Text>
-
- {isAdmin && exampleDashboardId && (
- <Box data-testid="dashboard-cta">
- <Link
- to={`/dashboard/${exampleDashboardId}`}
- onClick={() =>
- trackChecklistItemCTAClicked("dashboard")
- }
- >
- <Button variant="outline">{t`See a sample dashboard`}</Button>
- </Link>
- </Box>
- )}
- </Stack>
- </Accordion.Panel>
- </Accordion.Item>
- </Box>
- <Box mb={64}>
- <Title order={3} mb="lg">{t`Get email updates and alerts`}</Title>
- <Accordion.Item
- value="subscription"
- data-testid="subscription-item"
- ref={itemRefs["subscription"]}
- >
- <Accordion.Control icon={<Icon name="subscription" />}>
- {t`Subscribe to a dashboard by email or Slack`}
- </Accordion.Control>
- <Accordion.Panel>
- <Stack gap="lg">
- <VideoTutorial
- id="IustSQH6bfQ"
- si="GYTUdFsXfpc2QL8S"
- title="How to create a dashboard email subscription?"
- />
- {shouldConfigureCommunicationChannels && (
- <Text data-testid="subscription-communication-setup">
- {jt`${(
- <Link
- className={CS.link}
- key="subscription-email"
- to="/admin/settings/email"
- >{t`Set up email`}</Link>
- )} or ${(
- <Link
- className={CS.link}
- key="subscription-slack"
- to="/admin/settings/slack"
- >{t`Slack`}</Link>
- )}.`}
- </Text>
- )}
- <Text>
- {jt`To set up a subscription to a dashboard, click on the ${(
- <Icon
- key="sharing-icon"
- name="share"
- className={S.inlineIcon}
- />
- )} ${(
- <b key="sharing">{t`Share`}</b>
- )} icon on the top bar, then click on ${(
- <Icon
- key="subscription-icon"
- name="subscription"
- className={S.inlineIcon}
- />
- )} ${<b key="subscriptions">{t`Subscriptions`}</b>}.`}
- </Text>
- {isAdmin && exampleDashboardId && (
- <Box data-testid="subscription-cta">
- <Link
- to="/dashboard/1"
- onClick={() =>
- trackChecklistItemCTAClicked("subscription")
- }
- >
- <Button variant="outline">{t`Set up subscriptions for a sample dashboard`}</Button>
- </Link>
- </Box>
- )}
- </Stack>
- </Accordion.Panel>
- </Accordion.Item>
- <Accordion.Item
- value="alert"
- data-testid="alert-item"
- ref={itemRefs["alert"]}
- >
- <Accordion.Control icon={<Icon name="alert" />}>
- {t`Get alerts when metrics behave unexpectedly`}
- </Accordion.Control>
- <Accordion.Panel>
- <Stack gap="lg">
- <VideoTutorial
- id="MPw5__mVg58"
- si="jaUgne1VDg6VXprJ"
- title="How to create an alert?"
- />
- {shouldConfigureCommunicationChannels && (
- <Text data-testid="alert-communication-setup">
- {jt`${(
- <Link
- className={CS.link}
- key="alert-email"
- to="/admin/settings/email"
- >{t`Set up email`}</Link>
- )} or ${(
- <Link
- className={CS.link}
- key="alert-slack"
- to="/admin/settings/slack"
- >{t`Slack`}</Link>
- )}.`}
- </Text>
- )}
- <Text>
- {jt`Go to a question and click on the ${(
- <Icon
- key="more-icon"
- name="ellipsis"
- className={S.inlineIcon}
- />
- )} icon on the top bar, then ${(
- <Icon
- className={S.inlineIcon}
- key="alert-icon"
- name="alert"
- />
- )} ${<b key="create-alert">{t`Create an alert`}</b>}.`}
- </Text>
- <Text>
- {t`There are three kinds of things you can get alerted about in ${applicationName}:`}
- <ul className={S.list}>
- <li>{jt`${
- showMetabaseLinks ? (
- <ExternalLink
- href={goalLineAlertDocsLink}
- key="goal"
- >{t`Goal line alerts`}</ExternalLink>
- ) : (
- t`Goal line alerts`
- )
- }: when a time series crosses a goal line.`}</li>
- <li>{jt`${
- showMetabaseLinks ? (
- <ExternalLink
- href={progressBarAlertDocsLink}
- key="progress"
- >
- {t`Progress bar alerts`}
- </ExternalLink>
- ) : (
- t`Progress bar alerts`
- )
- }: when a progress bar reaches or goes below its goal.`}</li>
- <li>{jt`${
- showMetabaseLinks ? (
- <ExternalLink
- href={resultAlertDocsLink}
- key="results"
- >{t`Results alerts`}</ExternalLink>
- ) : (
- t`Results alerts`
- )
- }: when a question returns any result.`}</li>
- </ul>
- </Text>
- {/* If the example dashboard is not available, there's a high chance that this question isn't either */}
- {isAdmin && exampleDashboardId && (
- <Box data-testid="alert-cta">
- <Link
- // The product decision was to hard code this question id, since we don't have the
- // mechanism to obtain it programmatically. In the worst case scenario,
- // a user will land on a page that doesn't exist.
- to="/question/12"
- onClick={() => trackChecklistItemCTAClicked("alert")}
- >
- <Button variant="outline">{t`Set up alert for a sample question`}</Button>
- </Link>
- </Box>
- )}
- </Stack>
- </Accordion.Panel>
- </Accordion.Item>
- </Box>
- </Accordion>
+ ))}
+ </Box>
+ ))}
+ </Accordion>
+ </AiProviderModalProvider>
{(showMetabaseLinks || isPaidPlan) && (
<Box component="footer">
{showMetabaseLinks && (
@@ -668,11 +112,17 @@ export const Onboarding = () => {
mb={12}
>{t`Get the most out of ${applicationName}`}</Title>
<Text>
- {t`${applicationName} can do a lot. To learn more—about ${applicationName}, data visualization, modeling, and other data topics—check out our `}
- <ExternalLink href={docsLink}>{t`Docs`}</ExternalLink>
- {t` and `}
- <ExternalLink href="https://www.metabase.com/learn">{t`Learn`}</ExternalLink>
- {t` sites.`}
+ {jt`${applicationName} can do a lot. To learn more—about ${applicationName}, data visualization, modeling, and other data topics—check out our ${(
+ <ExternalLink
+ href={docsLink}
+ key="docs"
+ >{t`Docs`}</ExternalLink>
+ )} and ${(
+ <ExternalLink
+ href={learnLink}
+ key="learn"
+ >{t`Learn`}</ExternalLink>
+ )} sites.`}
</Text>
</Box>
)}
@@ -682,9 +132,11 @@ export const Onboarding = () => {
<Title order={4}>{t`Need to talk with someone?`}</Title>
<Text>{t`Reach out to engineers who can help with technical troubleshooting. Not your typical support agents.`}</Text>
</Stack>
- <ExternalLink href={helpLink.href} key="help">
- <Button variant="filled">{t`Get Help`}</Button>
- </ExternalLink>
+ <Button
+ component={ExternalLink}
+ href={helpLink.href}
+ variant="filled"
+ >{t`Get Help`}</Button>
</Box>
)}
</Box>
@@ -694,33 +146,12 @@ export const Onboarding = () => {
);
};
-const VideoTutorial = forwardRef(function VideoTutorial(
- { id, si, title }: { id: string; si?: string; title: string },
- ref: Ref<HTMLIFrameElement>,
-) {
- return (
- <iframe
- allowFullScreen
- className={S.video}
- loading="lazy"
- ref={ref}
- src={`https://www.youtube.com/embed/${id}?si=${si}&rel=0&enablejsapi=1`}
- title={title}
- />
- );
+const STOP_VIDEO_COMMAND = JSON.stringify({
+ event: "command",
+ func: "stopVideo",
+ args: [],
});
-const stopVideo = (iframe?: HTMLIFrameElement | null) => {
- if (!iframe) {
- return;
- }
-
- iframe.contentWindow?.postMessage(
- JSON.stringify({
- event: "command",
- func: "stopVideo",
- args: [],
- }),
- "*",
- );
+const stopVideo = (iframe: HTMLIFrameElement) => {
+ iframe.contentWindow?.postMessage(STOP_VIDEO_COMMAND, "*");
};
diff --git a/frontend/src/metabase/home/components/Onboarding/VideoTutorial.tsx b/frontend/src/metabase/home/components/Onboarding/VideoTutorial.tsx
new file mode 100644
index 00000000000..21ff12fa213
--- /dev/null
+++ b/frontend/src/metabase/home/components/Onboarding/VideoTutorial.tsx
@@ -0,0 +1,17 @@
+import S from "./Onboarding.module.css";
+
+interface VideoTutorialProps {
+ id: string;
+ si: string;
+ title: string;
+}
+
+export const VideoTutorial = ({ id, si, title }: VideoTutorialProps) => (
+ <iframe
+ allowFullScreen
+ className={S.video}
+ loading="lazy"
+ src={`https://www.youtube.com/embed/${id}?si=${si}&rel=0&enablejsapi=1`}
+ title={title}
+ />
+);
diff --git a/frontend/src/metabase/home/components/Onboarding/items/AiItem.tsx b/frontend/src/metabase/home/components/Onboarding/items/AiItem.tsx
new file mode 100644
index 00000000000..d255cb6500c
--- /dev/null
+++ b/frontend/src/metabase/home/components/Onboarding/items/AiItem.tsx
@@ -0,0 +1,49 @@
+import { t } from "ttag";
+
+import { useSelector } from "metabase/redux";
+import { getApplicationName } from "metabase/selectors/whitelabel";
+import { Text } from "metabase/ui";
+
+import { useAiProviderModal } from "../AiProviderModal";
+import type { ChecklistImageStyles } from "../ChecklistItem";
+import { ChecklistImage, ChecklistItem } from "../ChecklistItem";
+import type { OnboardingItemProps } from "../types";
+
+const ILLUSTRATION_STYLE: ChecklistImageStyles = {
+ "--leaf-x": -1,
+ "--leaf-y": 10,
+ "--leaf-h": 293,
+};
+
+export const AiItem = ({ value, itemRef }: OnboardingItemProps) => {
+ const applicationName = useSelector(getApplicationName);
+ const openProviderModal = useAiProviderModal();
+
+ return (
+ <ChecklistItem
+ value={value}
+ itemRef={itemRef}
+ icon="metabot"
+ label={t`Set up AI (optional)`}
+ actions={[
+ {
+ label: t`Connect to an AI provider`,
+ onClick: openProviderModal,
+ cta: "primary",
+ },
+ { label: t`Set up MCP`, to: "/admin/metabot/mcp", cta: "secondary" },
+ ]}
+ >
+ <ChecklistImage
+ alt={t`Connecting an AI provider in the admin settings`}
+ src="app/assets/img/onboarding_ai.png"
+ srcSet="app/assets/img/[email protected] 2x"
+ style={ILLUSTRATION_STYLE}
+ />
+ <Text>
+ {/* eslint-disable-next-line metabase/no-literal-metabase-strings -- "Metabase CLI" is a product name, not the instance name */}
+ {t`You can use AI to explore your data in ${applicationName} three ways: ask Metabot directly in the ${applicationName} app, connect external AI tools via the MCP server, or drive development workflows with AI using the Metabase CLI.`}
+ </Text>
+ </ChecklistItem>
+ );
+};
diff --git a/frontend/src/metabase/home/components/Onboarding/items/AlertItem.tsx b/frontend/src/metabase/home/components/Onboarding/items/AlertItem.tsx
new file mode 100644
index 00000000000..7e94baf9f51
--- /dev/null
+++ b/frontend/src/metabase/home/components/Onboarding/items/AlertItem.tsx
@@ -0,0 +1,40 @@
+import { jt, t } from "ttag";
+
+import { useSelector } from "metabase/redux";
+import { getApplicationName } from "metabase/selectors/whitelabel";
+import { Text } from "metabase/ui";
+
+import { ChecklistItem } from "../ChecklistItem";
+import { VideoTutorial } from "../VideoTutorial";
+import type { OnboardingItemProps } from "../types";
+
+export const AlertItem = ({ value, itemRef }: OnboardingItemProps) => {
+ const applicationName = useSelector(getApplicationName);
+
+ return (
+ <ChecklistItem
+ value={value}
+ itemRef={itemRef}
+ icon="alert"
+ label={t`Get notified when data changes`}
+ >
+ <VideoTutorial
+ id="MPw5__mVg58"
+ si="jaUgne1VDg6VXprJ"
+ title="How to create an alert?"
+ />
+ <Text>
+ {jt`Schedule ${(
+ <b key="alerts">{t`Alerts`}</b>
+ )} via email, Slack, or to a webhook when results meet a certain condition. You can also schedule ${(
+ <b key="subscriptions">{t`Dashboard subscriptions`}</b>
+ )} to send results to people, including to people that don't have accounts in your ${applicationName}.`}
+ </Text>
+ <VideoTutorial
+ id="IustSQH6bfQ"
+ si="GYTUdFsXfpc2QL8S"
+ title="How to create a dashboard email subscription?"
+ />
+ </ChecklistItem>
+ );
+};
diff --git a/frontend/src/metabase/home/components/Onboarding/items/DashboardItem.tsx b/frontend/src/metabase/home/components/Onboarding/items/DashboardItem.tsx
new file mode 100644
index 00000000000..7b99caa1aff
--- /dev/null
+++ b/frontend/src/metabase/home/components/Onboarding/items/DashboardItem.tsx
@@ -0,0 +1,44 @@
+import { t } from "ttag";
+
+import { useDispatch, useSelector } from "metabase/redux";
+import { setOpenModal } from "metabase/redux/ui";
+import { getUserCanWriteToCollections } from "metabase/selectors/user";
+import { Text } from "metabase/ui";
+
+import { ChecklistItem } from "../ChecklistItem";
+import { VideoTutorial } from "../VideoTutorial";
+import type { OnboardingItemProps } from "../types";
+
+export const DashboardItem = ({ value, itemRef }: OnboardingItemProps) => {
+ const dispatch = useDispatch();
+ const canWriteToCollections = useSelector(getUserCanWriteToCollections);
+
+ return (
+ <ChecklistItem
+ value={value}
+ itemRef={itemRef}
+ icon="dashboard"
+ label={t`Create a dashboard`}
+ actions={
+ canWriteToCollections
+ ? [
+ {
+ label: t`Create a dashboard`,
+ onClick: () => dispatch(setOpenModal("dashboard")),
+ cta: "primary",
+ },
+ ]
+ : []
+ }
+ >
+ <VideoTutorial
+ id="FAst1nabBck"
+ si="yVMfXeh0tkr1Yt8_"
+ title="How to use dashboards?"
+ />
+ <Text>
+ {t`You can present questions, text, and links on a dashboard, organized into tabs. Add filters and interactive click behavior so people can explore the data and update visualizations in place.`}
+ </Text>
+ </ChecklistItem>
+ );
+};
diff --git a/frontend/src/metabase/home/components/Onboarding/items/DataStudioItem.tsx b/frontend/src/metabase/home/components/Onboarding/items/DataStudioItem.tsx
new file mode 100644
index 00000000000..aac18afd987
--- /dev/null
+++ b/frontend/src/metabase/home/components/Onboarding/items/DataStudioItem.tsx
@@ -0,0 +1,62 @@
+import { jt, t } from "ttag";
+
+import { canAccessDataStudio } from "metabase/common/data-studio/selectors";
+import { useSelector } from "metabase/redux";
+import { Text } from "metabase/ui";
+import * as Urls from "metabase/urls";
+
+import type { ChecklistImageStyles } from "../ChecklistItem";
+import { ChecklistImage, ChecklistItem } from "../ChecklistItem";
+import type { OnboardingItemProps } from "../types";
+
+const ILLUSTRATION_STYLE: ChecklistImageStyles = {
+ "--leaf-x": 47,
+ "--leaf-y": 44,
+ "--leaf-w": 767,
+ "--leaf-h": 427,
+ "--leaf-border": "1px solid var(--mb-color-border-neutral)",
+ "--leaf-radius": "calc(8 * var(--media-unit))",
+ "--leaf-shadow": "var(--media-leaf-elevation)",
+};
+
+export const DataStudioItem = ({ value, itemRef }: OnboardingItemProps) => {
+ const canAccess = useSelector(canAccessDataStudio);
+
+ return (
+ <ChecklistItem
+ value={value}
+ itemRef={itemRef}
+ icon="repository"
+ label={t`Build your semantic layer in Data Studio`}
+ actions={
+ canAccess
+ ? [
+ {
+ label: t`Go to Data studio`,
+ to: Urls.dataStudio(),
+ cta: "primary",
+ },
+ ]
+ : []
+ }
+ >
+ <ChecklistImage
+ alt={t`A table in the Data Studio library`}
+ src="app/assets/img/onboarding_data_studio.png"
+ srcSet="app/assets/img/[email protected] 2x"
+ style={ILLUSTRATION_STYLE}
+ />
+ <Text>
+ {jt`${(
+ <b key="data-studio">{t`Data Studio`}</b>
+ )} has all the tools you'll need to get your data organized. ${(
+ <b key="transform">{t`Transform`}</b>
+ )} your raw data into tables that are easy to query, define key ${(
+ <b key="metrics">{t`Metrics`}</b>
+ )}, see how data flows through the ${(
+ <b key="dependency-graph">{t`Dependency graph`}</b>
+ )}, and more.`}
+ </Text>
+ </ChecklistItem>
+ );
+};
diff --git a/frontend/src/metabase/home/components/Onboarding/items/DatabaseItem.tsx b/frontend/src/metabase/home/components/Onboarding/items/DatabaseItem.tsx
new file mode 100644
index 00000000000..d12907480c4
--- /dev/null
+++ b/frontend/src/metabase/home/components/Onboarding/items/DatabaseItem.tsx
@@ -0,0 +1,37 @@
+import { t } from "ttag";
+
+import { useSelector } from "metabase/redux";
+import { getApplicationName } from "metabase/selectors/whitelabel";
+import { Text } from "metabase/ui";
+
+import { ChecklistImage, ChecklistItem } from "../ChecklistItem";
+import type { OnboardingItemProps } from "../types";
+
+export const DatabaseItem = ({ value, itemRef }: OnboardingItemProps) => {
+ const applicationName = useSelector(getApplicationName);
+
+ return (
+ <ChecklistItem
+ value={value}
+ itemRef={itemRef}
+ icon="add_data"
+ label={t`Connect ${applicationName} to your data`}
+ actions={[
+ {
+ label: t`Add database`,
+ to: "/admin/databases/create",
+ cta: "primary",
+ },
+ ]}
+ >
+ <ChecklistImage
+ alt={`${applicationName} ${t`data stack`}`}
+ src="app/assets/img/onboarding_data_diagram.png"
+ srcSet="app/assets/img/[email protected] 2x"
+ />
+ <Text>
+ {t`Connect one or more databases. You can query these databases directly, either with the query builder or the native SQL editor.`}
+ </Text>
+ </ChecklistItem>
+ );
+};
diff --git a/frontend/src/metabase/home/components/Onboarding/items/InviteItem.tsx b/frontend/src/metabase/home/components/Onboarding/items/InviteItem.tsx
new file mode 100644
index 00000000000..cf48716a614
--- /dev/null
+++ b/frontend/src/metabase/home/components/Onboarding/items/InviteItem.tsx
@@ -0,0 +1,52 @@
+import { t } from "ttag";
+
+import { useSelector } from "metabase/redux";
+import { getApplicationName } from "metabase/selectors/whitelabel";
+import { Text } from "metabase/ui";
+
+import type { ChecklistImageStyles } from "../ChecklistItem";
+import { ChecklistImage, ChecklistItem } from "../ChecklistItem";
+import type { OnboardingItemProps } from "../types";
+
+/* Hangs off the bottom of the frame rather than the top, so it anchors to the
+ block end and only rounds the corner that stays inside. */
+const ILLUSTRATION_STYLE: ChecklistImageStyles = {
+ "--leaf-x": -1,
+ "--leaf-w": 511,
+ "--leaf-h": 267,
+ "--leaf-block-start": "auto",
+ "--leaf-block-end": "calc(-1 * var(--media-unit))",
+ "--leaf-radius": "0 calc(7 * var(--media-unit)) 0 0",
+ "--leaf-shadow": "var(--media-leaf-elevation)",
+};
+
+export const InviteItem = ({ value, itemRef }: OnboardingItemProps) => {
+ const applicationName = useSelector(getApplicationName);
+
+ return (
+ <ChecklistItem
+ value={value}
+ itemRef={itemRef}
+ icon="group"
+ label={t`Invite people to your ${applicationName}`}
+ actions={[
+ { label: t`Invite people`, to: "/admin/people", cta: "primary" },
+ {
+ label: t`Set up single sign-on`,
+ to: "/admin/settings/authentication",
+ cta: "secondary",
+ },
+ ]}
+ >
+ <ChecklistImage
+ alt={t`Admin panel with the "Invite someone" button`}
+ src="app/assets/img/onboarding_invite.png"
+ srcSet="app/assets/img/[email protected] 2x"
+ style={ILLUSTRATION_STYLE}
+ />
+ <Text>
+ {t`You can invite people via email right away, even if you'll go on to set up single sign-on with your identity provider later on.`}
+ </Text>
+ </ChecklistItem>
+ );
+};
diff --git a/frontend/src/metabase/home/components/Onboarding/items/PermissionsItem.tsx b/frontend/src/metabase/home/components/Onboarding/items/PermissionsItem.tsx
new file mode 100644
index 00000000000..7bc1094c1a0
--- /dev/null
+++ b/frontend/src/metabase/home/components/Onboarding/items/PermissionsItem.tsx
@@ -0,0 +1,53 @@
+import { t } from "ttag";
+
+import PermissionsIllustration from "assets/img/onboarding_permissions.svg?component";
+import { useSelector } from "metabase/redux";
+import { getUserIsAdmin } from "metabase/selectors/user";
+import { getApplicationName } from "metabase/selectors/whitelabel";
+import { Text } from "metabase/ui";
+
+import type { ChecklistImageStyles } from "../ChecklistItem";
+import { ChecklistItem, ChecklistMedia } from "../ChecklistItem";
+import type { OnboardingItemProps } from "../types";
+
+const ILLUSTRATION_STYLE: ChecklistImageStyles = {
+ "--leaf-x": 118,
+ "--leaf-y": 31,
+ "--leaf-w": 325,
+ "--leaf-h": 254,
+};
+
+export const PermissionsItem = ({ value, itemRef }: OnboardingItemProps) => {
+ const applicationName = useSelector(getApplicationName);
+ const isAdmin = useSelector(getUserIsAdmin);
+
+ return (
+ <ChecklistItem
+ value={value}
+ itemRef={itemRef}
+ icon="eye"
+ label={t`Set up permissions`}
+ actions={
+ isAdmin
+ ? [
+ {
+ label: t`Go to permissions`,
+ to: "/admin/permissions",
+ cta: "primary",
+ },
+ ]
+ : []
+ }
+ >
+ <ChecklistMedia style={ILLUSTRATION_STYLE}>
+ <PermissionsIllustration
+ aria-label={t`A key unlocking a keyhole`}
+ role="img"
+ />
+ </ChecklistMedia>
+ <Text>
+ {t`Create groups, set permissions on the groups, then add people to those groups. You can set permission on the data itself—down to individual rows and columns if you need to—as well as on collections of ${applicationName} charts and dashboards, and map groups via SSO.`}
+ </Text>
+ </ChecklistItem>
+ );
+};
diff --git a/frontend/src/metabase/home/components/Onboarding/items/QueryItem.tsx b/frontend/src/metabase/home/components/Onboarding/items/QueryItem.tsx
new file mode 100644
index 00000000000..a47bb36ce01
--- /dev/null
+++ b/frontend/src/metabase/home/components/Onboarding/items/QueryItem.tsx
@@ -0,0 +1,35 @@
+import { jt, t } from "ttag";
+
+import QueryMethodsIllustration from "assets/img/onboarding_query_methods.svg?component";
+import { Text } from "metabase/ui";
+
+import { ChecklistItem, ChecklistMedia } from "../ChecklistItem";
+import type { OnboardingItemProps } from "../types";
+
+export const QueryItem = ({ value, itemRef }: OnboardingItemProps) => (
+ <ChecklistItem
+ value={value}
+ itemRef={itemRef}
+ icon="insight"
+ label={t`Query your data`}
+ >
+ {/* The art fills the frame exactly, so it needs no `--leaf-*` geometry. */}
+ <ChecklistMedia>
+ <QueryMethodsIllustration
+ aria-label={t`The three ways to query your data, each producing a chart`}
+ role="img"
+ />
+ </ChecklistMedia>
+ <Text>
+ {jt`Hit the ${(
+ <b key="new">{t`+ New`}</b>
+ )} button to query your data and create a chart. Pick ${(
+ <b key="ai-exploration">{t`AI exploration`}</b>
+ )} to create a question in natural language. Pick ${(
+ <b key="question">{t`Question`}</b>
+ )} to use the query builder and generate a chart people can drill through. Or pick ${(
+ <b key="native-query">{t`Native query`}</b>
+ )} to create a question with SQL.`}
+ </Text>
+ </ChecklistItem>
+);
diff --git a/frontend/src/metabase/home/components/Onboarding/tests/common.unit.spec.tsx b/frontend/src/metabase/home/components/Onboarding/tests/common.unit.spec.tsx
index d7a1ab9d7b2..14f5e75d7c0 100644
--- a/frontend/src/metabase/home/components/Onboarding/tests/common.unit.spec.tsx
+++ b/frontend/src/metabase/home/components/Onboarding/tests/common.unit.spec.tsx
@@ -1,6 +1,6 @@
import userEvent from "@testing-library/user-event";
-import { getScrollIntoViewMock, screen, within } from "__support__/ui";
+import { getScrollIntoViewMock, screen, waitFor, within } from "__support__/ui";
import type { ChecklistItemValue } from "metabase/redux/store";
import { setup } from "./setup";
@@ -10,11 +10,22 @@ const getItem = (checklistItem: ChecklistItemValue) => {
};
const getItemControl = (label: string) => {
- const labelRegex = new RegExp(label, "i");
+ // A substring match — the control's accessible name also picks up its icon.
+ // A matcher function rather than a regex, so labels containing regex
+ // metacharacters (e.g. "Set up AI (optional)") need no escaping.
+ // Only accordion controls carry `aria-expanded`, which is what tells them
+ // apart from a CTA button repeating the label (e.g. "Create a dashboard").
+ const controls = screen
+ .getAllByRole("button", { name: (name) => name.includes(label) })
+ .filter((button) => button.hasAttribute("aria-expanded"));
+
+ if (controls.length !== 1) {
+ throw new Error(
+ `Expected one checklist control matching "${label}", found ${controls.length}`,
+ );
+ }
- return screen.getByRole("button", {
- name: labelRegex,
- });
+ return controls[0];
};
describe("Onboarding", () => {
@@ -24,13 +35,12 @@ describe("Onboarding", () => {
jest.clearAllMocks();
});
- it("should have four sections by default for admins", () => {
+ it("should have three sections by default for admins", () => {
setup();
[
- "Set up your Metabase",
- "Start visualizing your data",
- "Get email updates and alerts",
+ "Set things up",
+ "Explore your data",
"Get the most out of Metabase",
].forEach((section) => {
expect(
@@ -39,33 +49,32 @@ describe("Onboarding", () => {
});
});
- it("should not render the 'Set up' section for non-admins", () => {
+ it("should not render the 'Set things up' section for non-admins", () => {
setup({ isAdmin: false });
- [
- "Start visualizing your data",
- "Get email updates and alerts",
- "Get the most out of Metabase",
- ].forEach((section) => {
+ ["Explore your data", "Get the most out of Metabase"].forEach((section) => {
expect(
screen.getByRole("heading", { name: section }),
).toBeInTheDocument();
});
expect(
- screen.queryByRole("heading", { name: "Set up your Metabase" }),
+ screen.queryByRole("heading", { name: "Set things up" }),
).not.toBeInTheDocument();
expect(screen.queryByTestId("database-item")).not.toBeInTheDocument();
expect(screen.queryByTestId("invite-item")).not.toBeInTheDocument();
+ expect(screen.queryByTestId("ai-item")).not.toBeInTheDocument();
});
it("'database' accordion item should be open by default for admins", () => {
setup();
const databaseItem = getItem("database");
- const databaseItemControl = getItemControl("Connect to your database");
- const cta = within(databaseItem).getByRole("link");
+ const databaseItemControl = getItemControl("Connect Metabase to your data");
+ const cta = within(databaseItem).getByRole("link", {
+ name: "Add database",
+ });
expect(databaseItem).toHaveAttribute("data-active", "true");
expect(databaseItemControl).toHaveAttribute("data-active", "true");
@@ -73,113 +82,104 @@ describe("Onboarding", () => {
expect(
within(databaseItem).getByText(
- "You can connect multiple databases, and query them directly with the query builder or the Native/SQL editor. Metabase connects to more than 15 popular databases.",
+ "Connect one or more databases. You can query these databases directly, either with the query builder or the native SQL editor.",
),
).toBeInTheDocument();
expect(cta).toHaveAttribute("href", "/admin/databases/create");
- expect(
- within(cta).getByRole("button", { name: "Add Database" }),
- ).toBeInTheDocument();
expect(scrollIntoViewMock).not.toHaveBeenCalled();
});
- it("'x-ray' accordion item should be open by default for non-admins", () => {
+ it("'query' accordion item should be open by default for non-admins", () => {
setup({ isAdmin: false });
- const xRayItem = getItem("x-ray");
- const xRayItemControl = getItemControl("Create automatic dashboards");
+ const queryItem = getItem("query");
+ const queryItemControl = getItemControl("Query your data");
- expect(xRayItem).toHaveAttribute("data-active", "true");
- expect(xRayItemControl).toHaveAttribute("data-active", "true");
- expect(xRayItemControl).toHaveAttribute("aria-expanded", "true");
+ expect(queryItem).toHaveAttribute("data-active", "true");
+ expect(queryItemControl).toHaveAttribute("data-active", "true");
+ expect(queryItemControl).toHaveAttribute("aria-expanded", "true");
expect(scrollIntoViewMock).not.toHaveBeenCalled();
});
+ it("should fall back to the default item when the remembered item is hidden", () => {
+ setup({ openItem: "ai", aiFeaturesEnabled: false });
+
+ expect(screen.queryByTestId("ai-item")).not.toBeInTheDocument();
+ expect(getItem("database")).toHaveAttribute("data-active", "true");
+ expect(scrollIntoViewMock).not.toHaveBeenCalled();
+ });
+
it("should be possible to open a different item", async () => {
setup();
expect(scrollIntoViewMock).not.toHaveBeenCalled();
expect(getItem("database")).toHaveAttribute("data-active", "true");
- await userEvent.click(getItemControl("Query with SQL"));
- expect(scrollIntoViewMock).toHaveBeenCalled();
+ await userEvent.click(getItemControl("Query your data"));
+ // The scroll is deferred until the expand animation finishes
+ await waitFor(() => expect(scrollIntoViewMock).toHaveBeenCalled());
expect(getItem("database")).not.toHaveAttribute("data-active");
- expect(getItem("sql")).toHaveAttribute("data-active", "true");
+ expect(getItem("query")).toHaveAttribute("data-active", "true");
});
it("should scroll the last remembered item into view on page load", async () => {
- setup({ openItem: "sql" });
+ setup({ openItem: "query" });
- expect(scrollIntoViewMock).toHaveBeenCalledTimes(1);
+ await waitFor(() => expect(scrollIntoViewMock).toHaveBeenCalledTimes(1));
// closing the item should not trigger `scrollIntoView` again
- await userEvent.click(getItemControl("Query with SQL"));
+ await userEvent.click(getItemControl("Query your data"));
expect(scrollIntoViewMock).toHaveBeenCalledTimes(1);
});
it("only one item can be expanded at a time", async () => {
setup();
- const databaseItemControl = getItemControl("Connect to your database");
- const sqlItemControl = getItemControl("Query with SQL");
+ const databaseItemControl = getItemControl("Connect Metabase to your data");
+ const queryItemControl = getItemControl("Query your data");
expect(databaseItemControl).toHaveAttribute("aria-expanded", "true");
- await userEvent.click(sqlItemControl);
+ await userEvent.click(queryItemControl);
expect(databaseItemControl).toHaveAttribute("aria-expanded", "false");
- expect(sqlItemControl).toHaveAttribute("aria-expanded", "true");
- });
-
- it.each<ChecklistItemValue>([
- "x-ray",
- "notebook",
- "sql",
- "dashboard",
- "subscription",
- "alert",
- ])("%s CTA should not be visible to non-admins", (item) => {
- setup({ isAdmin: false, openItem: item });
-
- expect(screen.getByTestId(`${item}-item`)).toHaveAttribute(
- "data-active",
- "true",
- );
- expect(screen.queryByTestId(`${item}-cta`)).not.toBeInTheDocument();
+ expect(queryItemControl).toHaveAttribute("aria-expanded", "true");
});
- describe("'Set up your Metabase' section", () => {
- it("'add database' item should render properly", () => {
+ describe("'Set things up' section", () => {
+ it("'database' item should render properly", () => {
setup();
- expect(getItemControl("Connect to your database")).toBeInTheDocument();
+ expect(
+ getItemControl("Connect Metabase to your data"),
+ ).toBeInTheDocument();
const databaseItem = getItem("database");
- const cta = within(databaseItem).getByRole("link");
+ const cta = within(databaseItem).getByRole("link", {
+ name: "Add database",
+ });
expect(cta).toHaveAttribute("href", "/admin/databases/create");
- expect(
- within(cta).getByRole("button", { name: "Add Database" }),
- ).toBeInTheDocument();
});
- it("'invite people' item should render properly", async () => {
+ it("'invite' item should render properly", () => {
setup({ openItem: "invite" });
const inviteItem = getItem("invite");
- // There are two buttons with the same text
- const [controlLabel] = within(inviteItem).getAllByRole("button", {
+ const controlLabel = getItemControl("Invite people to your Metabase");
+ const primaryCTA = within(inviteItem).getByRole("link", {
name: "Invite people",
});
- const [primaryCTA, secondaryCTA] =
- within(inviteItem).getAllByRole("link");
+ const secondaryCTA = within(inviteItem).getByRole("link", {
+ name: "Set up single sign-on",
+ });
expect(controlLabel).not.toHaveAttribute("href");
expect(
within(inviteItem).getByText(
- "Don't be shy with invites. Metabase makes self-service analytics easy.",
+ "You can invite people via email right away, even if you'll go on to set up single sign-on with your identity provider later on.",
),
).toBeInTheDocument();
@@ -188,255 +188,235 @@ describe("Onboarding", () => {
"href",
"/admin/settings/authentication",
);
-
- expect(
- within(primaryCTA).getByRole("button", {
- name: "Invite people",
- }),
- ).toBeInTheDocument();
- expect(
- within(secondaryCTA).getByRole("button", {
- name: "Set up Single Sign-on",
- }),
- ).toBeInTheDocument();
});
- });
-
- describe("'Start visualizing your data' section", () => {
- it("'x-ray' item should render properly", () => {
- setup({ openItem: "x-ray" });
- expect(getItemControl("Create automatic dashboards")).toBeInTheDocument();
- expect(
- within(getItem("x-ray")).getByText(
- /Hover over a table and click the yellow lightning bolt/,
- ),
- ).toBeInTheDocument();
+ it("'ai' item should render properly", () => {
+ setup({ openItem: "ai" });
- const cta = within(getItem("x-ray")).getByRole("link");
+ expect(getItemControl("Set up AI (optional)")).toBeInTheDocument();
- expect(cta).toHaveAttribute("href", "/browse/databases");
+ const aiItem = getItem("ai");
expect(
- within(cta).getByRole("button", { name: "Browse data" }),
+ within(aiItem).getByText(/ask Metabot directly in the Metabase app/),
).toBeInTheDocument();
- });
- it("'x-ray' CTA should not render if x-rays are disabled", () => {
- setup({ openItem: "x-ray", enableXrays: false });
- expect(
- within(getItem("x-ray")).queryByText(
- /Hover over a table and click the yellow lightning bolt/,
- ),
- ).not.toBeInTheDocument();
+ const cta = within(screen.getByTestId("ai-cta"));
+
expect(
- within(getItem("x-ray")).getByText(
- /You need to enable this feature first./,
- ),
+ cta.getByRole("button", { name: "Connect to an AI provider" }),
).toBeInTheDocument();
- expect(
- within(getItem("x-ray")).queryByTestId("x-ray-cta"),
- ).not.toBeInTheDocument();
+ const mcpLink = cta.getByRole("link", { name: "Set up MCP" });
+ expect(mcpLink).toHaveAttribute("href", "/admin/metabot/mcp");
});
- it("copy for disabled x-rays should be slightly different for non-admins", () => {
- setup({ openItem: "x-ray", enableXrays: false, isAdmin: false });
+ it("'ai' item CTA should open the AI provider modal", async () => {
+ setup({ openItem: "ai" });
+
expect(
- within(getItem("x-ray")).queryByText(
- /Hover over a table and click the yellow lightning bolt/,
- ),
+ screen.queryByTestId("ai-provider-configuration-modal"),
).not.toBeInTheDocument();
- expect(
- within(getItem("x-ray")).getByText(
- /An admin needs to enable this feature first./,
- ),
- ).toBeInTheDocument();
- });
- it("'notebook' item should render properly", () => {
- setup({ openItem: "notebook" });
+ await userEvent.click(
+ within(screen.getByTestId("ai-cta")).getByRole("button", {
+ name: "Connect to an AI provider",
+ }),
+ );
expect(
- getItemControl("Make an interactive chart with the query builder"),
+ await screen.findByTestId("ai-provider-configuration-modal"),
).toBeInTheDocument();
+ });
- const cta = within(getItem("notebook")).getByRole("link");
+ it("should not render the 'ai' item when AI features are disabled", () => {
+ setup({ aiFeaturesEnabled: false });
- expect(cta).toHaveAttribute(
- "href",
- expect.stringMatching(/^\/question\/notebook#[a-zA-Z0-9]{20}/),
- );
- expect(
- within(cta).getByRole("button", { name: "New question" }),
- ).toBeInTheDocument();
+ expect(screen.queryByTestId("ai-item")).not.toBeInTheDocument();
+ expect(screen.getByTestId("database-item")).toBeInTheDocument();
+ expect(screen.getByTestId("invite-item")).toBeInTheDocument();
});
+ });
- it("'sql' item should render properly", () => {
- setup({ openItem: "sql" });
+ describe("'Explore your data' section", () => {
+ it("'query' item should render properly", () => {
+ setup({ openItem: "query" });
- expect(getItemControl("Query with SQL")).toBeInTheDocument();
+ expect(getItemControl("Query your data")).toBeInTheDocument();
- const docsLink = within(getItem("sql")).getByText("SQL templates");
+ const queryItem = getItem("query");
- expect(docsLink).toHaveAttribute(
- "href",
- "https://www.metabase.com/docs/latest/questions/native-editor/sql-parameters.html?utm_source=product&utm_medium=docs&utm_campaign=help&utm_content=getting-started&source_plan=oss",
+ ["+ New", "AI exploration", "Question", "Native query"].forEach(
+ (highlight) => {
+ expect(within(queryItem).getByText(highlight)).toBeInTheDocument();
+ },
);
- const cta = within(screen.getByTestId("sql-cta")).getByRole("link");
-
- expect(cta).toHaveAttribute(
- "href",
- expect.stringMatching(/^\/question#[a-zA-Z0-9]{20}/),
- );
- expect(
- within(cta).getByRole("button", { name: "New native query" }),
- ).toBeInTheDocument();
+ expect(screen.queryByTestId("query-cta")).not.toBeInTheDocument();
});
it("'dashboard' item should render properly", () => {
setup({ openItem: "dashboard" });
+ expect(getItemControl("Create a dashboard")).toBeInTheDocument();
+
+ const dashboardItem = getItem("dashboard");
+
expect(
- getItemControl("Create and filter a dashboard"),
+ within(dashboardItem).getByText(
+ /You can present questions, text, and links on a dashboard/,
+ ),
).toBeInTheDocument();
+ expect(
+ within(dashboardItem).getByTitle("How to use dashboards?"),
+ ).toHaveAttribute("src", expect.stringContaining("FAst1nabBck"));
- const docsLink = within(getItem("dashboard")).getByText(
- "dashboard with tabs",
- );
+ expect(
+ within(screen.getByTestId("dashboard-cta")).getByRole("button", {
+ name: "Create a dashboard",
+ }),
+ ).toBeInTheDocument();
+ });
- expect(docsLink).toHaveAttribute(
- "href",
- "https://www.metabase.com/docs/latest/dashboards/introduction.html?utm_source=product&utm_medium=docs&utm_campaign=help&utm_content=getting-started&source_plan=oss#dashboard-tabs",
- );
+ // The modal itself is rendered by the app-level host, outside this page.
+ it("'dashboard' item CTA should request the new dashboard modal", async () => {
+ const { store } = setup({ openItem: "dashboard" });
- const cta = within(screen.getByTestId("dashboard-cta")).getByRole("link");
+ expect(store.getState().modal.id).toBeNull();
- expect(cta).toHaveAttribute("href", "/dashboard/1");
- expect(
- within(cta).getByRole("button", { name: "See a sample dashboard" }),
- ).toBeInTheDocument();
+ await userEvent.click(
+ within(screen.getByTestId("dashboard-cta")).getByRole("button", {
+ name: "Create a dashboard",
+ }),
+ );
+
+ expect(store.getState().modal.id).toBe("dashboard");
});
- it("should not render CTA for the example dashboard if example dashboard doesn't exist", () => {
- setup({ openItem: "dashboard", hasExampleDashboard: false });
+ it("'dashboard' CTA should not render without collection write access", () => {
+ setup({ isAdmin: false, canWriteToCollections: false });
- expect(
- screen.queryByRole("button", { name: "Edit a sample dashboard" }),
- ).not.toBeInTheDocument();
+ expect(screen.queryByTestId("dashboard-cta")).not.toBeInTheDocument();
});
- });
- describe("'Get email updates and alerts' section", () => {
- it("'subscription' item should render properly", () => {
- setup({ openItem: "subscription" });
+ it("'alert' item should render properly", () => {
+ setup({ openItem: "alert" });
expect(
- getItemControl("Subscribe to a dashboard by email or Slack"),
+ getItemControl("Get notified when data changes"),
).toBeInTheDocument();
- const commsSetup = screen.getByTestId("subscription-communication-setup");
+ const alertItem = getItem("alert");
+ expect(within(alertItem).getByText("Alerts")).toBeInTheDocument();
expect(
- within(commsSetup).getByRole("link", { name: "Set up email" }),
- ).toHaveAttribute("href", "/admin/settings/email");
+ within(alertItem).getByText("Dashboard subscriptions"),
+ ).toBeInTheDocument();
expect(
- within(commsSetup).getByRole("link", { name: "Slack" }),
- ).toHaveAttribute("href", "/admin/settings/slack");
-
- const cta = screen.getByTestId("subscription-cta");
- expect(within(cta).getByRole("link")).toHaveAttribute(
- "href",
- "/dashboard/1",
- );
+ within(alertItem).getByTitle("How to create an alert?"),
+ ).toHaveAttribute("src", expect.stringContaining("MPw5__mVg58"));
expect(
- within(cta).getByRole("button", {
- name: "Set up subscriptions for a sample dashboard",
- }),
- ).toBeInTheDocument();
- });
-
- it("should not render CTA for the example dashboard if example dashboard doesn't exist", () => {
- setup({ openItem: "subscription", hasExampleDashboard: false });
+ within(alertItem).getByTitle(
+ "How to create a dashboard email subscription?",
+ ),
+ ).toHaveAttribute("src", expect.stringContaining("IustSQH6bfQ"));
- expect(screen.queryByTestId("subscription-cta")).not.toBeInTheDocument();
+ expect(screen.queryByTestId("alert-cta")).not.toBeInTheDocument();
});
- it.each<ChecklistItemValue>(["subscription", "alert"])(
- "should not render %s email and slack setup links for hosted instances",
- (item) => {
- setup({ openItem: item, isHosted: true });
- expect(
- screen.queryByTestId(`${item}-communication-setup`),
- ).not.toBeInTheDocument();
- },
- );
-
- it("'alert' item should render properly", () => {
- setup({ openItem: "alert" });
+ it("'data-studio' item should render properly", () => {
+ setup({ openItem: "data-studio" });
expect(
- getItemControl("Get alerts when metrics behave unexpectedly"),
+ getItemControl("Build your semantic layer in Data Studio"),
).toBeInTheDocument();
- const commsSetup = screen.getByTestId("alert-communication-setup");
+ const dataStudioItem = getItem("data-studio");
expect(
- within(commsSetup).getByRole("link", { name: "Set up email" }),
- ).toHaveAttribute("href", "/admin/settings/email");
- expect(
- within(commsSetup).getByRole("link", { name: "Slack" }),
- ).toHaveAttribute("href", "/admin/settings/slack");
+ within(dataStudioItem).getByText(
+ /has all the tools you'll need to get your data organized/,
+ ),
+ ).toBeInTheDocument();
- const cta = screen.getByTestId("alert-cta");
- expect(within(cta).getByRole("link")).toHaveAttribute(
- "href",
- "/question/12",
+ const cta = within(screen.getByTestId("data-studio-cta")).getByRole(
+ "link",
+ { name: "Go to Data studio" },
);
+
+ expect(cta).toHaveAttribute("href", "/data-studio");
+ });
+
+ it("'data-studio' copy is visible to viewers, but the CTA is not", () => {
+ setup({ isAdmin: false, openItem: "data-studio" });
+
expect(
- within(cta).getByRole("button", {
- name: "Set up alert for a sample question",
- }),
+ within(getItem("data-studio")).getByText(
+ /has all the tools you'll need to get your data organized/,
+ ),
).toBeInTheDocument();
+ expect(screen.queryByTestId("data-studio-cta")).not.toBeInTheDocument();
});
- it("'alert' item docs links", () => {
- setup({ openItem: "alert" });
+ it("'data-studio' CTA should be visible to non-admin analysts", () => {
+ setup({ isAdmin: false, isAnalyst: true, openItem: "data-studio" });
- const goalDoc = within(getItem("alert")).getByText("Goal line alerts");
- const progressDoc = within(getItem("alert")).getByText(
- "Progress bar alerts",
+ const cta = within(screen.getByTestId("data-studio-cta")).getByRole(
+ "link",
);
- const resultDoc = within(getItem("alert")).getByText("Results alerts");
- expect(goalDoc).toHaveAttribute(
- "href",
- "https://www.metabase.com/docs/latest/questions/sharing/alerts.html?utm_source=product&utm_medium=docs&utm_campaign=help&utm_content=getting-started&source_plan=oss#goal-line-alerts",
- );
- expect(progressDoc).toHaveAttribute(
- "href",
- "https://www.metabase.com/docs/latest/questions/sharing/alerts.html?utm_source=product&utm_medium=docs&utm_campaign=help&utm_content=getting-started&source_plan=oss#progress-bar-alerts",
- );
- expect(resultDoc).toHaveAttribute(
- "href",
- "https://www.metabase.com/docs/latest/questions/sharing/alerts.html?utm_source=product&utm_medium=docs&utm_campaign=help&utm_content=getting-started&source_plan=oss#results-alerts",
+ expect(cta).toHaveAttribute("href", "/data-studio");
+ });
+
+ it("'permissions' item should render properly", () => {
+ setup({ openItem: "permissions" });
+
+ expect(getItemControl("Set up permissions")).toBeInTheDocument();
+
+ const permissionsItem = getItem("permissions");
+
+ expect(
+ within(permissionsItem).getByText(
+ /Create groups, set permissions on the groups/,
+ ),
+ ).toBeInTheDocument();
+
+ const cta = within(screen.getByTestId("permissions-cta")).getByRole(
+ "link",
+ { name: "Go to permissions" },
);
+
+ expect(cta).toHaveAttribute("href", "/admin/permissions");
});
- it.each<ChecklistItemValue>(["subscription", "alert"])(
- "should not render %s email and Slack setup links for hosted instances",
- (i) => {
- setup({ openItem: i, isHosted: true });
- expect(
- screen.queryByTestId(`${i}-communication-setup`),
- ).not.toBeInTheDocument();
- },
- );
+ it("'permissions' copy is visible to non-admins, but the CTA is not", () => {
+ setup({ isAdmin: false, openItem: "permissions" });
+
+ expect(
+ within(getItem("permissions")).getByText(
+ /Create groups, set permissions on the groups/,
+ ),
+ ).toBeInTheDocument();
+ expect(screen.queryByTestId("permissions-cta")).not.toBeInTheDocument();
+ });
+ });
- it("should not render CTA for the example question if example dashboard doesn't exist", () => {
- setup({ openItem: "subscription", hasExampleDashboard: false });
+ describe("illustrations", () => {
+ // Some illustrations are <img>, others are inlined SVG so they can be
+ // tinted per color scheme. Both expose the `img` role, so this stays
+ // honest if one is ever converted to the other.
+ it.each<[ChecklistItemValue, string]>([
+ ["database", "Metabase data stack"],
+ ["invite", 'Admin panel with the "Invite someone" button'],
+ ["ai", "Connecting an AI provider in the admin settings"],
+ ["query", "The three ways to query your data, each producing a chart"],
+ ["data-studio", "A table in the Data Studio library"],
+ ["permissions", "A key unlocking a keyhole"],
+ ])("'%s' item should render its illustration", (item, name) => {
+ setup({ openItem: item });
- expect(screen.queryByTestId("alert-cta")).not.toBeInTheDocument();
+ expect(
+ within(getItem(item)).getByRole("img", { name }),
+ ).toBeInTheDocument();
});
});
@@ -465,6 +445,9 @@ describe("Onboarding", () => {
"href",
"https://www.metabase.com/docs/latest/?utm_source=product&utm_medium=docs&utm_campaign=help&utm_content=getting-started&source_plan=oss",
);
+ expect(
+ within(learning).getByRole("link", { name: "Learn" }),
+ ).toHaveAttribute("href", "https://www.metabase.com/learn/");
});
it("should not render the premium 'help' section", () => {
diff --git a/frontend/src/metabase/home/components/Onboarding/tests/enterprise.unit.spec.tsx b/frontend/src/metabase/home/components/Onboarding/tests/enterprise.unit.spec.tsx
index ba53592c41c..dd2a15b794a 100644
--- a/frontend/src/metabase/home/components/Onboarding/tests/enterprise.unit.spec.tsx
+++ b/frontend/src/metabase/home/components/Onboarding/tests/enterprise.unit.spec.tsx
@@ -13,25 +13,6 @@ describe("Onboarding (EE without token)", () => {
jest.clearAllMocks();
});
- describe("'Set up your Metabase' section", () => {
- it("'invite people' should show the default copy without the activated token", () => {
- setup({ openItem: "invite" });
-
- const inviteItem = screen.getByTestId("invite-item");
-
- expect(
- within(inviteItem).getByText(
- "Don't be shy with invites. Metabase makes self-service analytics easy.",
- ),
- ).toBeInTheDocument();
- expect(
- within(inviteItem).queryByText(
- "Don't be shy with invites. Metabase Starter plan includes 5 users, and Pro includes 10 users without the need to pay additionally.",
- ),
- ).not.toBeInTheDocument();
- });
- });
-
describe("footer", () => {
it("should render the 'learning' section", () => {
setup();
diff --git a/frontend/src/metabase/home/components/Onboarding/tests/premium.unit.spec.tsx b/frontend/src/metabase/home/components/Onboarding/tests/premium.unit.spec.tsx
index 0aa16d6597f..e54ff338bc4 100644
--- a/frontend/src/metabase/home/components/Onboarding/tests/premium.unit.spec.tsx
+++ b/frontend/src/metabase/home/components/Onboarding/tests/premium.unit.spec.tsx
@@ -15,60 +15,6 @@ describe("Onboarding (EE with token)", () => {
jest.clearAllMocks();
});
- describe("'Set up your Metabase' section", () => {
- it("'invite people' should have a tailored copy for the starter and pro plans", () => {
- setup({ openItem: "invite" });
-
- const inviteItem = screen.getByTestId("invite-item");
-
- expect(
- within(inviteItem).queryByText(
- "Don't be shy with invites. Metabase makes self-service analytics easy.",
- ),
- ).not.toBeInTheDocument();
-
- expect(
- within(inviteItem).getByText(
- "Don't be shy with invites. Metabase Starter plan includes 5 users, and Pro includes 10 users without the need to pay additionally.",
- ),
- ).toBeInTheDocument();
- });
- });
-
- describe("documentation links", () => {
- it("should not render for 'sql' item", () => {
- setup({ openItem: "sql", showMetabaseLinks: false });
-
- const alertItem = screen.getByTestId("sql-item");
- const sqlCopy = within(alertItem).getByText(/SQL templates/);
-
- expect(sqlCopy).not.toHaveAttribute("href");
- });
-
- it("should not render for 'dashboard' item", () => {
- setup({ openItem: "dashboard", showMetabaseLinks: false });
-
- const alertItem = screen.getByTestId("dashboard-item");
- const dashboardCopy = within(alertItem).getByText(/dashboard with tabs/);
-
- expect(dashboardCopy).not.toHaveAttribute("href");
- });
-
- it("should not render for 'alert' item", () => {
- setup({ openItem: "alert", showMetabaseLinks: false });
-
- const alertItem = screen.getByTestId("alert-item");
-
- const goalCopy = within(alertItem).getByText(/Goal line alerts/);
- const progressCopy = within(alertItem).getByText(/Progress bar alerts/);
- const resultCopy = within(alertItem).getByText(/Results alerts/);
-
- [goalCopy, progressCopy, resultCopy].forEach((copy) => {
- expect(copy).not.toHaveAttribute("href");
- });
- });
- });
-
describe("footer", () => {
it("should not render the 'learning' section is `showMetabaseLinks` has been turned off in whitelabeling", () => {
setup({ showMetabaseLinks: false });
@@ -85,13 +31,12 @@ describe("Onboarding (EE with token)", () => {
const helpSection = within(footer).getByTestId("help-section");
expect(helpSection).toBeInTheDocument();
- expect(within(helpSection).getByRole("link")).toHaveAttribute(
+ expect(
+ within(helpSection).getByRole("link", { name: "Get Help" }),
+ ).toHaveAttribute(
"href",
"https://www.metabase.com/help-premium?utm_source=in-product&utm_medium=menu&utm_campaign=help&instance_version=v1",
);
- expect(
- within(helpSection).getByRole("button", { name: "Get Help" }),
- ).toBeInTheDocument();
});
it("should not render the premium 'help' section for non-admins even if the instance is on a paid plan", () => {
@@ -101,13 +46,12 @@ describe("Onboarding (EE with token)", () => {
const helpSection = within(footer).getByTestId("help-section");
expect(helpSection).toBeInTheDocument();
- expect(within(helpSection).getByRole("link")).toHaveAttribute(
+ expect(
+ within(helpSection).getByRole("link", { name: "Get Help" }),
+ ).toHaveAttribute(
"href",
"https://www.metabase.com/help?utm_source=in-product&utm_medium=menu&utm_campaign=help&instance_version=v1",
);
- expect(
- within(helpSection).getByRole("button", { name: "Get Help" }),
- ).toBeInTheDocument();
});
});
});
diff --git a/frontend/src/metabase/home/components/Onboarding/tests/setup.tsx b/frontend/src/metabase/home/components/Onboarding/tests/setup.tsx
index c618514e7fc..d3b63d918a3 100644
--- a/frontend/src/metabase/home/components/Onboarding/tests/setup.tsx
+++ b/frontend/src/metabase/home/components/Onboarding/tests/setup.tsx
@@ -2,6 +2,7 @@ import { setupEnterpriseOnlyPlugin } from "__support__/enterprise";
import {
setupBugReportingDetailsEndpoint,
setupPropertiesEndpoints,
+ setupSettingsEndpoints,
} from "__support__/server-mocks";
import { mockSettings } from "__support__/settings";
import { renderWithProviders } from "__support__/ui";
@@ -23,10 +24,9 @@ import { Onboarding } from "../Onboarding";
export type SetupProps = {
isAdmin?: boolean;
- applicationName?: string;
- enableXrays?: boolean;
- hasExampleDashboard?: boolean;
- isHosted?: boolean;
+ isAnalyst?: boolean;
+ canWriteToCollections?: boolean;
+ aiFeaturesEnabled?: boolean;
openItem?: ChecklistItemValue;
showMetabaseLinks?: boolean;
tokenFeatures?: Partial<TokenFeatures>;
@@ -35,10 +35,9 @@ export type SetupProps = {
export const setup = ({
isAdmin = true,
- applicationName,
- enableXrays = true,
- hasExampleDashboard = true,
- isHosted = false,
+ isAnalyst = false,
+ canWriteToCollections = true,
+ aiFeaturesEnabled = true,
openItem,
showMetabaseLinks = true,
tokenFeatures = {},
@@ -47,18 +46,21 @@ export const setup = ({
const hasTokenFeatures = Object.entries(tokenFeatures).length > 0;
setupPropertiesEndpoints(createMockSettings());
setupBugReportingDetailsEndpoint();
+ // The AI item's "Connect to an AI provider" modal reads admin settings.
+ setupSettingsEndpoints([]);
const state = createMockState({
app: createMockAppState({
tempStorage: {
"last-opened-onboarding-checklist-item": openItem,
},
}),
- currentUser: createMockUser({ is_superuser: isAdmin }),
+ currentUser: createMockUser({
+ is_superuser: isAdmin,
+ is_data_analyst: isAnalyst,
+ can_write_any_collection: canWriteToCollections,
+ }),
settings: mockSettings({
- "application-name": applicationName,
- "enable-xrays": enableXrays,
- "example-dashboard-id": hasExampleDashboard ? 1 : null,
- "is-hosted?": isHosted,
+ "ai-features-enabled?": aiFeaturesEnabled,
"show-metabase-links": showMetabaseLinks,
"token-features": createMockTokenFeatures(tokenFeatures),
"token-status": hasTokenFeatures
@@ -71,7 +73,9 @@ export const setup = ({
setupEnterpriseOnlyPlugin(plugin);
});
- renderWithProviders(
+ // `store` lets a test assert on actions whose effect is rendered by the
+ // app-level modal host, which lives outside this page's tree.
+ const { store } = renderWithProviders(
<Route path="/getting-started" element={<Onboarding />} />,
{
initialRoute: "/getting-started",
@@ -79,4 +83,6 @@ export const setup = ({
withRouter: true,
},
);
+
+ return { store };
};
diff --git a/frontend/src/metabase/home/components/Onboarding/types.ts b/frontend/src/metabase/home/components/Onboarding/types.ts
index aca071d2ee6..79153bab334 100644
--- a/frontend/src/metabase/home/components/Onboarding/types.ts
+++ b/frontend/src/metabase/home/components/Onboarding/types.ts
@@ -1 +1,22 @@
+import type { ComponentType, Ref } from "react";
+
+import type { ChecklistItemValue } from "metabase/redux/store";
+
export type ChecklistItemCTA = "primary" | "secondary";
+
+export interface OnboardingItemProps {
+ value: ChecklistItemValue;
+ /**
+ * Optional because `createItemsRefs` only makes a ref for the items that are
+ * on the page: an item hidden by permissions or by a setting has none.
+ */
+ itemRef?: Ref<HTMLDivElement>;
+}
+
+export interface ChecklistItemGroup {
+ title: string;
+ items: {
+ value: ChecklistItemValue;
+ Component: ComponentType<OnboardingItemProps>;
+ }[];
+}
diff --git a/frontend/src/metabase/home/components/Onboarding/use-checklist-items.ts b/frontend/src/metabase/home/components/Onboarding/use-checklist-items.ts
new file mode 100644
index 00000000000..480d01955c3
--- /dev/null
+++ b/frontend/src/metabase/home/components/Onboarding/use-checklist-items.ts
@@ -0,0 +1,52 @@
+import { useMemo } from "react";
+import { t } from "ttag";
+
+import { AiItem } from "metabase/home/components/Onboarding/items/AiItem";
+import { AlertItem } from "metabase/home/components/Onboarding/items/AlertItem";
+import { DashboardItem } from "metabase/home/components/Onboarding/items/DashboardItem";
+import { DataStudioItem } from "metabase/home/components/Onboarding/items/DataStudioItem";
+import { DatabaseItem } from "metabase/home/components/Onboarding/items/DatabaseItem";
+import { InviteItem } from "metabase/home/components/Onboarding/items/InviteItem";
+import { PermissionsItem } from "metabase/home/components/Onboarding/items/PermissionsItem";
+import { QueryItem } from "metabase/home/components/Onboarding/items/QueryItem";
+import type { ChecklistItemGroup } from "metabase/home/components/Onboarding/types";
+import { useSelector } from "metabase/redux";
+import { getUserIsAdmin } from "metabase/selectors/user";
+import { useSetting } from "metabase/settings";
+
+export const useChecklistItems = () => {
+ const isAdmin = useSelector(getUserIsAdmin);
+ const areAiFeaturesEnabled = useSetting("ai-features-enabled?") !== false;
+
+ return useMemo<ChecklistItemGroup[]>(() => {
+ const groups: ChecklistItemGroup[] = [];
+
+ if (isAdmin) {
+ const setupGroup: ChecklistItemGroup = {
+ title: t`Set things up`,
+ items: [
+ { value: "database", Component: DatabaseItem },
+ { value: "invite", Component: InviteItem },
+ ...(areAiFeaturesEnabled
+ ? [{ value: "ai" as const, Component: AiItem }]
+ : []),
+ ],
+ };
+
+ groups.push(setupGroup);
+ }
+
+ const exploreGroup: ChecklistItemGroup = {
+ title: t`Explore your data`,
+ items: [
+ { value: "query", Component: QueryItem },
+ { value: "dashboard", Component: DashboardItem },
+ { value: "alert", Component: AlertItem },
+ { value: "data-studio", Component: DataStudioItem },
+ { value: "permissions", Component: PermissionsItem },
+ ],
+ };
+
+ return groups.concat(exploreGroup);
+ }, [isAdmin, areAiFeaturesEnabled]);
+};
diff --git a/frontend/src/metabase/home/components/Onboarding/use-scroll-into-item-view.ts b/frontend/src/metabase/home/components/Onboarding/use-scroll-into-item-view.ts
new file mode 100644
index 00000000000..5d68345813b
--- /dev/null
+++ b/frontend/src/metabase/home/components/Onboarding/use-scroll-into-item-view.ts
@@ -0,0 +1,33 @@
+import { useEffect } from "react";
+
+import type { ChecklistItemValue } from "metabase/redux/store";
+
+import type { createItemsRefs } from "./utils";
+
+/**
+ * Also handed to the `Accordion`, so the wait below and the expand animation it
+ * is waiting on cannot drift apart.
+ */
+export const ACCORDION_TRANSITION_DURATION = 200;
+
+export const useScrollIntoItemView = (
+ itemsRefs: ReturnType<typeof createItemsRefs>,
+ lastItemOpened: ChecklistItemValue | undefined,
+) => {
+ useEffect(() => {
+ // The remembered item may have no ref: it can be hidden by permissions or
+ // by a setting, in which case there is nothing on the page to scroll to.
+ if (!lastItemOpened || !(lastItemOpened in itemsRefs)) {
+ return;
+ }
+
+ const timeout = setTimeout(() => {
+ itemsRefs[lastItemOpened].current?.scrollIntoView({
+ behavior: "smooth",
+ block: "nearest",
+ });
+ }, ACCORDION_TRANSITION_DURATION);
+
+ return () => clearTimeout(timeout);
+ }, [itemsRefs, lastItemOpened]);
+};
diff --git a/frontend/src/metabase/home/components/Onboarding/utils.ts b/frontend/src/metabase/home/components/Onboarding/utils.ts
new file mode 100644
index 00000000000..b2e76616f34
--- /dev/null
+++ b/frontend/src/metabase/home/components/Onboarding/utils.ts
@@ -0,0 +1,10 @@
+import { createRef } from "react";
+
+import type { ChecklistItemGroup } from "./types";
+
+export const createItemsRefs = (itemsGroups: ChecklistItemGroup[]) =>
+ Object.fromEntries(
+ itemsGroups.flatMap((group) =>
+ group.items.map((item) => [item.value, createRef<HTMLDivElement>()]),
+ ),
+ );
diff --git a/frontend/src/metabase/redux/store/app.ts b/frontend/src/metabase/redux/store/app.ts
index 702da5e3240..328155d2f52 100644
--- a/frontend/src/metabase/redux/store/app.ts
+++ b/frontend/src/metabase/redux/store/app.ts
@@ -4,12 +4,12 @@ import type { CollectionId } from "metabase-types/api/collection";
export type ChecklistItemValue =
| "database"
| "invite"
- | "x-ray"
- | "notebook"
- | "sql"
+ | "ai"
+ | "query"
| "dashboard"
- | "subscription"
- | "alert";
+ | "alert"
+ | "data-studio"
+ | "permissions";
export interface AppErrorDescriptor {
status: number;
diff --git a/resources/frontend_client/app/assets/img/onboarding_ai.png b/resources/frontend_client/app/assets/img/onboarding_ai.png
new file mode 100644
index 00000000000..837540eb49f
Binary files /dev/null and b/resources/frontend_client/app/assets/img/onboarding_ai.png differ
diff --git a/resources/frontend_client/app/assets/img/[email protected] b/resources/frontend_client/app/assets/img/[email protected]
new file mode 100644
index 00000000000..08ea6116bf7
Binary files /dev/null and b/resources/frontend_client/app/assets/img/[email protected] differ
diff --git a/resources/frontend_client/app/assets/img/onboarding_bg.svg b/resources/frontend_client/app/assets/img/onboarding_bg.svg
deleted file mode 100644
index 45c79b3f3bd..00000000000
--- a/resources/frontend_client/app/assets/img/onboarding_bg.svg
+++ /dev/null
@@ -1,67 +0,0 @@
-<svg width="840" height="400" viewBox="0 0 840 400" fill="none" xmlns="http://www.w3.org/2000/svg">
-<g clip-path="url(#clip0_2220_3838)">
-<path d="M797.5 218C806.372 218 814.094 222.916 818.094 230.173H931.095L977.514 277.229H286.939L323.939 252.552C327.416 250.233 331.502 248.995 335.681 248.995H459.761C462.14 245.956 465.841 244 470 244C474.159 244 477.86 245.956 480.239 248.995H524.938C529.744 248.995 534.407 247.358 538.16 244.354L550.081 234.812C553.834 231.809 558.498 230.173 563.305 230.173H776.906C780.906 222.916 788.628 218 797.5 218Z" fill="var(--illustration-primary)" fill-opacity="0.21"/>
-<mask id="mask0_2220_3838" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="840" height="400">
-<path d="M0 0H840V400H0V0Z" fill="white"/>
-</mask>
-<g mask="url(#mask0_2220_3838)">
-<mask id="mask1_2220_3838" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="-7" y="-3" width="1009" height="404">
-<path d="M1001.54 -2.58301H-6.34961V400.75H1001.54V-2.58301Z" fill="white"/>
-</mask>
-<g mask="url(#mask1_2220_3838)">
-<path d="M699.545 109.297L801.64 176.519L768.342 177.18L760 171L699.545 109.297Z" fill="var(--illustration-primary)" fill-opacity="0.21"/>
-<path d="M805.324 175.556C809.578 175.556 813.786 176.431 817.688 178.124C821.59 179.816 825.103 182.292 828.009 185.398L850.254 209.167H898.56C902.675 209.168 906.75 209.985 910.547 211.574C914.344 213.162 917.788 215.49 920.678 218.42L978.562 277.097C978.64 277.176 978.701 277.269 978.742 277.371C978.784 277.473 978.805 277.583 978.805 277.693C978.804 277.803 978.781 277.913 978.738 278.014C978.695 278.116 978.633 278.208 978.555 278.286C978.476 278.363 978.382 278.424 978.28 278.465C978.178 278.507 978.069 278.528 977.959 278.527C977.849 278.526 977.739 278.504 977.638 278.461C977.536 278.419 977.444 278.355 977.366 278.277L919.482 219.599C916.748 216.827 913.49 214.627 909.898 213.125C906.307 211.622 902.453 210.848 898.56 210.848H849.89C849.775 210.848 849.66 210.825 849.555 210.779C849.449 210.733 849.355 210.666 849.276 210.582L826.783 186.546C824.034 183.608 820.711 181.266 817.02 179.665C813.328 178.063 809.348 177.237 805.324 177.237H768V175.556H805.324ZM763 177.237H501.632C494.369 177.237 487.364 179.927 481.967 184.787L425 236.08V234H424.798L480.843 183.538C486.548 178.4 493.954 175.557 501.632 175.556H763V177.237Z" fill="var(--illustration-primary)"/>
-<path d="M183.462 79.7628C179.473 79.7571 175.572 80.9412 172.259 83.1638C166.456 73.0978 155.595 66.3188 143.146 66.3188C130.697 66.3188 119.837 73.0988 114.033 83.1638C110.72 80.9416 106.82 79.7578 102.831 79.7638C94.0542 79.7638 86.5912 85.3768 83.8242 93.2078H202.468C199.701 85.3768 192.238 79.7628 183.462 79.7628Z" fill="var(--illustration-primary)" fill-opacity="0.21"/>
-<path d="M826.835 36.0698C815.981 36.0698 806.637 42.5098 802.394 51.7748C799.317 48.3328 794.858 46.1528 789.879 46.1528C782.992 46.1528 777.081 50.3028 774.488 56.2358H852.865C849.881 44.6388 839.359 36.0698 826.835 36.0698Z" fill="var(--illustration-primary)" fill-opacity="0.21"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M449.718 73.0399C449.718 92.0549 434.288 107.492 415.281 107.492C396.275 107.492 380.845 92.0549 380.845 73.0399C380.845 54.0259 396.275 38.5889 415.281 38.5889C434.288 38.5889 449.718 54.0259 449.718 73.0399ZM448.038 73.0399C448.038 54.9529 433.361 40.2699 415.281 40.2699C397.202 40.2699 382.525 54.9529 382.525 73.0399C382.525 91.1269 397.202 105.811 415.281 105.811C433.361 105.811 448.038 91.1259 448.038 73.0399Z" fill="var(--illustration-primary)" fill-opacity="0.21"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M326.662 228.494C326.662 230.053 326.042 231.548 324.94 232.651C323.838 233.754 322.343 234.374 320.783 234.376C319.224 234.375 317.729 233.755 316.626 232.652C315.523 231.549 314.904 230.053 314.903 228.494C314.904 226.934 315.523 225.439 316.626 224.336C317.729 223.233 319.224 222.613 320.783 222.612C322.343 222.613 323.838 223.233 324.94 224.336C326.042 225.439 326.662 226.934 326.662 228.494ZM324.982 228.494C324.982 227.38 324.54 226.312 323.753 225.524C322.965 224.736 321.897 224.293 320.783 224.293C319.68 224.31 318.628 224.76 317.854 225.546C317.08 226.332 316.646 227.391 316.646 228.494C316.646 229.598 317.08 230.656 317.854 231.443C318.628 232.229 319.68 232.679 320.783 232.696C321.897 232.695 322.965 232.252 323.753 231.464C324.54 230.676 324.982 229.608 324.982 228.494ZM360.265 233.533C360.273 233.315 360.365 233.109 360.521 232.958C360.678 232.806 360.887 232.722 361.105 232.722C361.323 232.722 361.532 232.806 361.688 232.958C361.845 233.109 361.937 233.315 361.944 233.533V236.895C361.937 237.112 361.845 237.319 361.688 237.47C361.532 237.621 361.323 237.706 361.105 237.706C360.887 237.706 360.678 237.621 360.521 237.47C360.365 237.319 360.273 237.112 360.265 236.895V233.533Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M366.979 228.492C366.979 230.051 366.359 231.547 365.256 232.65C364.154 233.753 362.659 234.373 361.099 234.374C359.54 234.373 358.045 233.752 356.942 232.649C355.84 231.547 355.221 230.051 355.22 228.492C355.221 226.933 355.84 225.437 356.942 224.334C358.045 223.231 359.54 222.611 361.099 222.61C362.659 222.611 364.154 223.231 365.256 224.334C366.359 225.437 366.979 226.932 366.979 228.492ZM365.299 228.492C365.299 227.378 364.856 226.31 364.069 225.522C363.281 224.734 362.213 224.291 361.099 224.291C359.985 224.291 358.916 224.733 358.129 225.521C357.341 226.309 356.898 227.378 356.898 228.492C356.898 229.606 357.341 230.675 358.129 231.462C358.916 232.25 359.985 232.693 361.099 232.693C363.417 232.693 365.299 230.811 365.299 228.492ZM628.114 333.695C628.293 333.562 628.517 333.505 628.738 333.538C628.958 333.57 629.157 333.689 629.29 333.867C629.423 334.046 629.479 334.27 629.447 334.491C629.414 334.711 629.296 334.91 629.117 335.043C629.117 335.043 624.38 338.57 618.536 338.57C613.819 338.57 609.822 336.271 608.457 335.385C607.093 336.271 603.095 338.57 598.378 338.57C593.662 338.57 589.664 336.271 588.3 335.385C586.935 336.271 582.938 338.57 578.221 338.57C572.377 338.57 567.64 335.043 567.64 335.043C567.461 334.91 567.343 334.711 567.31 334.491C567.278 334.27 567.335 334.046 567.468 333.867C567.601 333.689 567.799 333.57 568.02 333.538C568.24 333.505 568.464 333.562 568.643 333.695C568.643 333.695 572.932 336.889 578.221 336.889C583.51 336.889 587.798 333.695 587.798 333.695C587.943 333.587 588.119 333.528 588.3 333.528C588.48 333.528 588.656 333.587 588.801 333.695C588.801 333.695 593.09 336.889 598.378 336.889C603.667 336.889 607.956 333.695 607.956 333.695C608.101 333.587 608.277 333.528 608.458 333.528C608.638 333.528 608.814 333.587 608.959 333.695C608.959 333.695 613.247 336.889 618.536 336.889C623.825 336.889 628.114 333.695 628.114 333.695ZM138.444 343.777C138.623 343.644 138.847 343.587 139.068 343.62C139.288 343.652 139.487 343.771 139.62 343.949C139.753 344.128 139.809 344.352 139.777 344.573C139.744 344.793 139.626 344.992 139.447 345.125C139.447 345.125 134.71 348.653 128.866 348.653C124.15 348.653 120.152 346.354 118.788 345.467C117.423 346.354 113.426 348.653 108.709 348.653C103.992 348.653 99.9941 346.354 98.6291 345.467C97.2651 346.354 93.2681 348.653 88.5511 348.653C82.7071 348.653 77.9711 345.125 77.9711 345.125C77.7976 344.99 77.6839 344.793 77.6542 344.575C77.6245 344.357 77.6813 344.137 77.8123 343.96C77.9434 343.784 78.1383 343.666 78.3552 343.632C78.5722 343.598 78.794 343.65 78.9731 343.777C78.9731 343.777 83.2621 346.972 88.5511 346.972C93.8401 346.972 98.1281 343.777 98.1281 343.777C98.2729 343.669 98.4488 343.61 98.6296 343.61C98.8103 343.61 98.9862 343.669 99.1311 343.777C99.1311 343.777 103.42 346.972 108.709 346.972C113.997 346.972 118.286 343.777 118.286 343.777C118.431 343.669 118.607 343.61 118.788 343.61C118.968 343.61 119.144 343.669 119.289 343.777C119.289 343.777 123.578 346.972 128.866 346.972C134.155 346.972 138.444 343.777 138.444 343.777ZM296.351 320.249C296.53 320.116 296.754 320.059 296.975 320.092C297.195 320.124 297.394 320.243 297.527 320.421C297.66 320.6 297.716 320.824 297.684 321.045C297.651 321.265 297.533 321.464 297.354 321.597C297.354 321.597 292.617 325.125 286.774 325.125C282.057 325.125 278.06 322.826 276.695 321.939C275.33 322.826 271.333 325.125 266.616 325.125C261.899 325.125 257.902 322.826 256.537 321.939C255.172 322.826 251.175 325.125 246.458 325.125C240.615 325.125 235.878 321.597 235.878 321.597C235.79 321.531 235.715 321.448 235.658 321.354C235.602 321.259 235.564 321.154 235.548 321.045C235.532 320.936 235.538 320.825 235.565 320.718C235.592 320.611 235.639 320.51 235.705 320.422C235.771 320.333 235.853 320.259 235.948 320.202C236.043 320.145 236.148 320.108 236.257 320.092C236.366 320.076 236.477 320.082 236.584 320.108C236.691 320.135 236.792 320.183 236.88 320.249C236.88 320.249 241.169 323.444 246.458 323.444C251.747 323.444 256.035 320.249 256.035 320.249C256.18 320.141 256.356 320.083 256.537 320.083C256.717 320.083 256.893 320.141 257.038 320.249C257.038 320.249 261.327 323.444 266.616 323.444C271.905 323.444 276.193 320.249 276.193 320.249C276.338 320.141 276.514 320.083 276.695 320.083C276.875 320.083 277.051 320.141 277.196 320.249C277.196 320.249 281.485 323.444 286.774 323.444C292.063 323.444 296.351 320.249 296.351 320.249ZM819.615 315.209C819.704 315.143 819.804 315.095 819.911 315.068C820.018 315.041 820.129 315.036 820.239 315.052C820.348 315.068 820.453 315.105 820.547 315.162C820.642 315.218 820.725 315.293 820.791 315.381C820.856 315.47 820.904 315.57 820.931 315.677C820.958 315.784 820.964 315.896 820.948 316.005C820.932 316.114 820.894 316.219 820.838 316.314C820.781 316.408 820.707 316.491 820.618 316.557C820.618 316.557 815.881 320.084 810.037 320.084C805.32 320.084 801.323 317.785 799.958 316.9C798.594 317.785 794.596 320.084 789.879 320.084C785.163 320.084 781.165 317.785 779.801 316.899C778.436 317.785 774.439 320.084 769.722 320.084C763.878 320.084 759.141 316.557 759.141 316.557C758.962 316.424 758.844 316.225 758.811 316.005C758.779 315.784 758.836 315.56 758.969 315.381C759.102 315.203 759.3 315.084 759.521 315.052C759.741 315.019 759.965 315.076 760.144 315.209C760.144 315.209 764.433 318.404 769.722 318.404C775.011 318.404 779.299 315.209 779.299 315.209C779.444 315.101 779.62 315.042 779.801 315.042C779.981 315.042 780.157 315.101 780.302 315.209C780.302 315.209 784.591 318.404 789.879 318.404C795.168 318.404 799.457 315.209 799.457 315.209C799.602 315.101 799.778 315.042 799.959 315.042C800.139 315.042 800.315 315.101 800.46 315.209C800.46 315.209 804.748 318.404 810.037 318.404C815.326 318.404 819.615 315.209 819.615 315.209Z" fill="var(--illustration-primary)"/>
-<path d="M627.772 270.507H631.131L624.412 243.618L627.772 270.507Z" fill="var(--illustration-primary)" fill-opacity="0.21"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M616.885 270.302L623.604 243.413C623.65 243.232 623.755 243.071 623.903 242.956C624.05 242.841 624.232 242.778 624.419 242.778C624.606 242.778 624.788 242.841 624.935 242.956C625.083 243.071 625.188 243.232 625.233 243.413L631.953 270.302C631.985 270.426 631.987 270.555 631.961 270.68C631.934 270.805 631.88 270.923 631.801 271.024C631.723 271.124 631.622 271.206 631.507 271.262C631.392 271.318 631.266 271.347 631.138 271.347H617.699C617.572 271.347 617.446 271.317 617.331 271.261C617.217 271.205 617.116 271.123 617.038 271.023C616.959 270.922 616.905 270.805 616.879 270.68C616.852 270.555 616.855 270.426 616.885 270.302ZM618.776 269.666H630.062L624.419 247.082L618.776 269.666Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M623.577 263.785C623.577 263.562 623.666 263.348 623.823 263.191C623.981 263.033 624.194 262.945 624.417 262.945C624.64 262.945 624.854 263.033 625.011 263.191C625.169 263.348 625.257 263.562 625.257 263.785V277.229C625.257 277.452 625.169 277.665 625.011 277.823C624.854 277.98 624.64 278.069 624.417 278.069C624.194 278.069 623.981 277.98 623.823 277.823C623.666 277.665 623.577 277.452 623.577 277.229V263.785Z" fill="var(--illustration-primary)"/>
-<path d="M594.179 270.507H597.539L590.819 243.618L594.179 270.507Z" fill="var(--illustration-primary)" fill-opacity="0.21"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M583.284 270.302L590.003 243.413C590.05 243.233 590.155 243.073 590.303 242.959C590.45 242.845 590.632 242.783 590.818 242.783C591.005 242.783 591.186 242.845 591.333 242.959C591.481 243.073 591.586 243.233 591.633 243.413L598.352 270.302C598.383 270.426 598.386 270.556 598.36 270.681C598.333 270.806 598.279 270.923 598.2 271.024C598.121 271.125 598.021 271.206 597.906 271.262C597.791 271.318 597.665 271.347 597.537 271.347H584.099C583.971 271.347 583.845 271.318 583.73 271.262C583.616 271.206 583.515 271.125 583.436 271.024C583.358 270.923 583.303 270.806 583.277 270.681C583.25 270.556 583.253 270.426 583.284 270.302ZM585.175 269.666H596.461L590.818 247.082L585.175 269.666Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M589.982 263.785C589.982 263.562 590.071 263.348 590.228 263.191C590.386 263.033 590.6 262.945 590.822 262.945C591.045 262.945 591.259 263.033 591.416 263.191C591.574 263.348 591.662 263.562 591.662 263.785V277.229C591.662 277.339 591.641 277.448 591.599 277.55C591.556 277.652 591.494 277.745 591.416 277.823C591.338 277.901 591.246 277.963 591.144 278.005C591.042 278.047 590.933 278.069 590.822 278.069C590.712 278.069 590.603 278.047 590.501 278.005C590.399 277.963 590.306 277.901 590.228 277.823C590.15 277.745 590.089 277.652 590.046 277.55C590.004 277.448 589.982 277.339 589.982 277.229V263.785Z" fill="var(--illustration-primary)"/>
-<path d="M560.584 270.507H563.944L557.225 243.618L560.584 270.507Z" fill="var(--illustration-primary)" fill-opacity="0.21"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M549.688 270.302L556.409 243.413C556.454 243.232 556.559 243.071 556.707 242.956C556.854 242.841 557.036 242.778 557.223 242.778C557.41 242.778 557.592 242.841 557.739 242.956C557.887 243.071 557.992 243.232 558.037 243.413L564.756 270.302C564.788 270.426 564.79 270.555 564.764 270.68C564.737 270.805 564.682 270.922 564.604 271.023C564.525 271.124 564.425 271.205 564.311 271.261C564.196 271.318 564.07 271.347 563.943 271.347H550.503C550.376 271.347 550.25 271.318 550.135 271.262C550.02 271.206 549.919 271.124 549.841 271.024C549.762 270.923 549.708 270.805 549.681 270.68C549.655 270.555 549.657 270.426 549.688 270.302ZM551.579 269.666H562.867L557.222 247.082L551.579 269.666Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M556.385 263.785C556.385 263.562 556.473 263.348 556.631 263.191C556.788 263.033 557.002 262.945 557.225 262.945C557.448 262.945 557.661 263.033 557.819 263.191C557.976 263.348 558.065 263.562 558.065 263.785V277.229C558.065 277.452 557.976 277.665 557.819 277.823C557.661 277.98 557.448 278.069 557.225 278.069C557.002 278.069 556.788 277.98 556.631 277.823C556.473 277.665 556.385 277.452 556.385 277.229V263.785Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M469.031 263.785C469.031 263.562 469.12 263.348 469.277 263.191C469.435 263.033 469.648 262.945 469.871 262.945C470.094 262.945 470.308 263.033 470.465 263.191C470.623 263.348 470.711 263.562 470.711 263.785V277.229C470.711 277.452 470.623 277.665 470.465 277.823C470.308 277.98 470.094 278.069 469.871 278.069C469.648 278.069 469.435 277.98 469.277 277.823C469.12 277.665 469.031 277.452 469.031 277.229V263.785Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M455.594 257.062C455.594 249.178 461.991 242.777 469.872 242.777C477.753 242.777 484.151 249.178 484.151 257.062C484.151 264.946 477.753 271.347 469.872 271.347C461.991 271.347 455.594 264.946 455.594 257.062ZM457.274 257.062C457.274 264.019 462.919 269.666 469.872 269.666C476.826 269.666 482.471 264.019 482.471 257.062C482.471 250.105 476.826 244.458 469.872 244.458C462.919 244.458 457.274 250.105 457.274 257.062Z" fill="var(--illustration-primary)"/>
-<path d="M645.789 176.519H625.632L605.474 136.186L645.789 176.519Z" fill="var(--illustration-primary)" fill-opacity="0.21"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M645.792 177.36H625.634C625.478 177.36 625.325 177.316 625.193 177.234C625.06 177.152 624.953 177.035 624.883 176.895L604.725 136.562C604.634 136.383 604.61 136.178 604.657 135.984C604.704 135.789 604.82 135.617 604.982 135.5C605.145 135.383 605.344 135.328 605.543 135.345C605.743 135.362 605.93 135.449 606.07 135.592L646.385 175.926C646.503 176.043 646.583 176.193 646.615 176.356C646.648 176.519 646.631 176.687 646.568 176.841C646.504 176.994 646.397 177.125 646.259 177.218C646.121 177.31 645.958 177.36 645.792 177.36ZM643.764 175.679L608.541 140.442L626.153 175.679H643.764Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M606.224 135.811L626.382 176.144C626.512 176.404 626.499 176.714 626.346 176.962C626.271 177.084 626.166 177.184 626.04 177.254C625.915 177.324 625.775 177.36 625.631 177.36H565.157C564.991 177.361 564.828 177.312 564.689 177.22C564.551 177.128 564.443 176.996 564.379 176.842C564.315 176.689 564.299 176.519 564.332 176.356C564.365 176.193 564.446 176.043 564.564 175.926L604.879 135.592C604.973 135.498 605.088 135.427 605.215 135.386C605.342 135.345 605.477 135.335 605.608 135.356C605.74 135.378 605.864 135.43 605.971 135.509C606.078 135.588 606.165 135.692 606.224 135.811ZM605.243 137.605L567.185 175.679H624.272L605.243 137.605Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M591.22 172.953L594.579 159.508C594.624 159.325 594.729 159.163 594.876 159.047C595.024 158.931 595.207 158.868 595.394 158.868C595.582 158.868 595.765 158.931 595.913 159.047C596.06 159.163 596.165 159.325 596.209 159.508L599.568 172.953C599.6 173.077 599.603 173.206 599.577 173.331C599.551 173.456 599.496 173.574 599.418 173.675C599.339 173.775 599.238 173.857 599.123 173.913C599.008 173.969 598.882 173.997 598.755 173.997H592.034C591.907 173.997 591.781 173.968 591.666 173.912C591.552 173.855 591.451 173.774 591.373 173.673C591.294 173.573 591.24 173.456 591.214 173.331C591.187 173.206 591.189 173.077 591.22 172.953ZM593.11 172.317H597.678L595.394 163.177L593.11 172.317Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M594.555 173.157C594.555 172.934 594.643 172.72 594.801 172.563C594.958 172.405 595.172 172.317 595.395 172.317C595.617 172.317 595.831 172.405 595.989 172.563C596.146 172.72 596.235 172.934 596.235 173.157V176.519C596.224 176.735 596.131 176.938 595.975 177.087C595.818 177.236 595.611 177.319 595.395 177.319C595.179 177.319 594.971 177.236 594.815 177.087C594.658 176.938 594.565 176.735 594.555 176.519V173.157Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M545.863 172.953L549.223 159.508C549.268 159.326 549.373 159.164 549.521 159.049C549.668 158.933 549.85 158.87 550.038 158.87C550.225 158.87 550.407 158.933 550.555 159.049C550.703 159.164 550.807 159.326 550.852 159.508L554.212 172.953C554.244 173.077 554.247 173.206 554.221 173.331C554.194 173.457 554.14 173.574 554.061 173.675C553.982 173.776 553.882 173.857 553.767 173.913C553.652 173.969 553.525 173.997 553.397 173.997H546.678C546.551 173.997 546.424 173.968 546.31 173.912C546.195 173.856 546.094 173.775 546.016 173.674C545.937 173.573 545.882 173.456 545.856 173.331C545.83 173.206 545.832 173.077 545.863 172.953ZM547.754 172.317H552.321L550.038 163.177L547.754 172.317Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M549.197 173.159C549.197 172.936 549.286 172.722 549.443 172.565C549.601 172.407 549.814 172.319 550.037 172.319C550.26 172.319 550.474 172.407 550.631 172.565C550.789 172.722 550.877 172.936 550.877 173.159V176.52C550.877 176.743 550.789 176.956 550.631 177.114C550.474 177.271 550.26 177.36 550.037 177.36C549.814 177.36 549.601 177.271 549.443 177.114C549.286 176.956 549.197 176.743 549.197 176.52V173.159Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M521.51 172.955L524.869 159.511C524.915 159.329 525.02 159.168 525.167 159.053C525.315 158.937 525.497 158.875 525.684 158.875C525.872 158.875 526.054 158.937 526.202 159.053C526.349 159.168 526.454 159.329 526.5 159.511L529.858 172.955C529.89 173.079 529.892 173.208 529.866 173.333C529.839 173.458 529.784 173.576 529.705 173.676C529.627 173.777 529.527 173.858 529.412 173.915C529.298 173.971 529.172 174 529.044 174H522.324C522.197 174 522.071 173.97 521.956 173.914C521.842 173.858 521.741 173.777 521.663 173.676C521.584 173.575 521.53 173.458 521.504 173.333C521.477 173.208 521.48 173.079 521.51 172.955ZM523.401 172.319H527.968L525.684 163.179L523.401 172.319Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M524.842 173.157C524.842 172.934 524.93 172.721 525.088 172.563C525.245 172.406 525.459 172.317 525.682 172.317C525.905 172.317 526.118 172.406 526.276 172.563C526.433 172.721 526.522 172.934 526.522 173.157V176.519C526.511 176.735 526.418 176.938 526.262 177.087C526.105 177.236 525.898 177.319 525.682 177.319C525.466 177.319 525.258 177.236 525.102 177.087C524.945 176.938 524.852 176.735 524.842 176.519V173.157ZM710.71 121.08C710.788 121.002 710.881 120.94 710.983 120.898C711.085 120.856 711.194 120.834 711.304 120.834C711.415 120.834 711.524 120.856 711.626 120.898C711.728 120.941 711.82 121.003 711.898 121.081C711.976 121.159 712.038 121.251 712.08 121.353C712.123 121.455 712.144 121.565 712.144 121.675C712.144 121.785 712.122 121.895 712.08 121.997C712.038 122.099 711.976 122.191 711.898 122.269L706.858 127.311C706.78 127.389 706.687 127.451 706.585 127.493C706.483 127.536 706.374 127.557 706.264 127.557C706.153 127.557 706.044 127.536 705.942 127.493C705.84 127.451 705.748 127.389 705.67 127.311L699.545 121.183L693.42 127.311C693.342 127.389 693.249 127.451 693.147 127.493C693.045 127.536 692.936 127.557 692.826 127.557C692.715 127.557 692.606 127.536 692.504 127.493C692.402 127.451 692.31 127.389 692.232 127.311L687.192 122.269C687.044 122.11 686.963 121.899 686.967 121.682C686.971 121.464 687.06 121.257 687.213 121.103C687.367 120.949 687.575 120.861 687.792 120.856C688.01 120.852 688.22 120.932 688.38 121.08L692.826 125.528L698.951 119.401C699.029 119.323 699.121 119.261 699.223 119.218C699.325 119.176 699.434 119.154 699.545 119.154C699.655 119.154 699.765 119.176 699.866 119.218C699.968 119.261 700.061 119.323 700.139 119.401L706.264 125.528L710.71 121.08Z" fill="var(--illustration-primary)"/>
-<path d="M421.628 295.851L394.75 349.629H381.312L421.628 295.851Z" fill="var(--illustration-primary)" fill-opacity="0.21"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M420.788 295.852C420.788 295.629 420.877 295.416 421.034 295.258C421.192 295.101 421.405 295.012 421.628 295.012C421.851 295.012 422.065 295.101 422.222 295.258C422.38 295.416 422.468 295.629 422.468 295.852V356.352C422.468 356.575 422.38 356.789 422.222 356.946C422.065 357.104 421.851 357.192 421.628 357.192C421.405 357.192 421.192 357.104 421.034 356.946C420.877 356.789 420.788 356.575 420.788 356.352V295.852Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M422.41 295.556L442.567 349.334C442.615 349.461 442.631 349.598 442.614 349.733C442.598 349.867 442.548 349.996 442.471 350.107C442.394 350.219 442.291 350.31 442.171 350.373C442.05 350.436 441.917 350.469 441.781 350.469H381.308C381.152 350.469 380.999 350.426 380.866 350.344C380.734 350.262 380.627 350.144 380.557 350.004C380.487 349.865 380.457 349.709 380.471 349.553C380.485 349.398 380.542 349.25 380.636 349.125L420.951 295.347C421.041 295.227 421.163 295.132 421.302 295.075C421.441 295.017 421.593 294.998 421.743 295.019C421.892 295.041 422.033 295.102 422.15 295.196C422.267 295.291 422.357 295.415 422.41 295.556ZM421.376 297.582L382.987 348.788H440.569L421.376 297.582ZM481.597 359.038C481.686 358.972 481.786 358.925 481.893 358.898C482 358.871 482.111 358.865 482.221 358.881C482.33 358.897 482.435 358.934 482.529 358.991C482.624 359.048 482.707 359.122 482.773 359.211C482.838 359.299 482.886 359.4 482.913 359.507C482.94 359.614 482.946 359.725 482.93 359.834C482.914 359.943 482.876 360.048 482.82 360.143C482.763 360.238 482.689 360.32 482.6 360.386C482.6 360.386 477.864 363.914 472.02 363.914C467.303 363.914 463.306 361.615 461.941 360.729C460.576 361.615 456.58 363.914 451.862 363.914C447.145 363.914 443.148 361.615 441.783 360.729C440.418 361.615 436.422 363.914 431.704 363.914C426.987 363.914 422.99 361.615 421.625 360.729C420.26 361.615 416.264 363.914 411.546 363.914C406.829 363.914 402.832 361.615 401.467 360.729C400.102 361.615 396.106 363.914 391.388 363.914C386.671 363.914 382.674 361.615 381.309 360.729C379.944 361.615 375.948 363.914 371.23 363.914C365.387 363.914 360.65 360.386 360.65 360.386C360.471 360.253 360.353 360.055 360.32 359.834C360.288 359.614 360.345 359.389 360.478 359.211C360.611 359.032 360.809 358.913 361.03 358.881C361.25 358.849 361.474 358.905 361.653 359.038C361.653 359.038 365.941 362.233 371.23 362.233C376.52 362.233 380.808 359.038 380.808 359.038C380.953 358.93 381.129 358.872 381.31 358.872C381.49 358.872 381.666 358.93 381.811 359.038C381.811 359.038 386.099 362.233 391.388 362.233C396.678 362.233 400.966 359.038 400.966 359.038C401.111 358.93 401.287 358.872 401.468 358.872C401.648 358.872 401.824 358.93 401.969 359.038C401.969 359.038 406.257 362.233 411.546 362.233C416.836 362.233 421.124 359.038 421.124 359.038C421.269 358.93 421.445 358.872 421.626 358.872C421.806 358.872 421.982 358.93 422.127 359.038C422.127 359.038 426.415 362.233 431.704 362.233C436.994 362.233 441.282 359.038 441.282 359.038C441.427 358.93 441.603 358.872 441.783 358.872C441.964 358.872 442.139 358.93 442.284 359.038C442.284 359.038 446.573 362.233 451.862 362.233C457.152 362.233 461.439 359.038 461.439 359.038C461.584 358.93 461.76 358.872 461.941 358.872C462.121 358.872 462.297 358.93 462.442 359.038C462.442 359.038 466.731 362.233 472.02 362.233C477.31 362.233 481.597 359.038 481.597 359.038Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M401.467 360.729C400.426 361.406 397.853 362.907 394.596 363.577C394.459 363.604 394.318 363.598 394.185 363.558C394.052 363.518 393.931 363.445 393.833 363.347L387.434 356.945C387.316 356.827 387.236 356.678 387.204 356.515C387.171 356.352 387.188 356.183 387.251 356.029C387.315 355.876 387.423 355.745 387.561 355.652C387.699 355.56 387.861 355.511 388.028 355.511H438.422C438.565 355.511 438.706 355.547 438.831 355.617C438.956 355.687 439.061 355.788 439.136 355.909C439.211 356.031 439.254 356.17 439.261 356.313C439.267 356.456 439.237 356.599 439.173 356.727L436.037 363.003C435.982 363.112 435.904 363.208 435.808 363.284C435.713 363.361 435.601 363.415 435.483 363.444C434.306 363.727 433.036 363.914 431.703 363.914C426.986 363.914 422.989 361.615 421.624 360.729C420.259 361.615 416.263 363.914 411.545 363.914C406.828 363.914 402.832 361.615 401.467 360.729ZM401.968 359.038C401.968 359.038 406.256 362.233 411.545 362.233C416.835 362.233 421.123 359.038 421.123 359.038C421.267 358.93 421.443 358.871 421.624 358.871C421.804 358.871 421.98 358.93 422.125 359.038C422.125 359.038 426.414 362.233 431.703 362.233C432.756 362.233 433.766 362.101 434.712 361.896L437.063 357.191H390.055L394.696 361.834C398.355 360.975 400.965 359.038 400.965 359.038C401.109 358.93 401.285 358.871 401.466 358.871C401.647 358.871 401.823 358.93 401.968 359.038Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M441.786 355.511C442.008 355.511 442.222 355.599 442.38 355.757C442.538 355.915 442.626 356.128 442.626 356.351C442.626 356.574 442.538 356.788 442.38 356.946C442.222 357.103 442.008 357.192 441.786 357.192H384.672C384.449 357.192 384.235 357.103 384.077 356.946C383.92 356.788 383.831 356.574 383.831 356.351C383.831 356.128 383.92 355.915 384.077 355.757C384.235 355.599 384.449 355.511 384.672 355.511H441.786Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M217.898 276.389C217.898 276.83 217.811 277.267 217.642 277.675C217.474 278.082 217.226 278.453 216.914 278.765C216.602 279.077 216.232 279.325 215.824 279.494C215.417 279.663 214.98 279.75 214.539 279.75C213.647 279.75 212.792 279.396 212.162 278.765C211.532 278.135 211.178 277.28 211.178 276.389C211.178 275.497 211.532 274.643 212.162 274.012C212.792 273.382 213.647 273.028 214.539 273.028C215.43 273.029 216.284 273.383 216.914 274.013C217.544 274.643 217.897 275.498 217.898 276.389ZM216.219 276.389C216.219 276.168 216.175 275.95 216.09 275.746C216.006 275.542 215.882 275.356 215.726 275.2C215.569 275.044 215.384 274.921 215.18 274.836C214.976 274.752 214.757 274.709 214.537 274.709C214.316 274.709 214.097 274.753 213.894 274.837C213.69 274.922 213.504 275.046 213.348 275.202C213.192 275.358 213.069 275.543 212.984 275.747C212.9 275.951 212.857 276.17 212.857 276.391C212.857 276.837 213.034 277.264 213.35 277.579C213.665 277.894 214.093 278.071 214.539 278.071C214.985 278.071 215.412 277.893 215.727 277.578C216.042 277.262 216.219 276.835 216.219 276.389Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M426.199 236.054C426.2 236.495 426.113 236.932 425.944 237.34C425.775 237.747 425.528 238.118 425.216 238.43C424.904 238.742 424.534 238.99 424.126 239.159C423.719 239.328 423.282 239.415 422.84 239.415C421.949 239.415 421.094 239.061 420.464 238.43C419.834 237.8 419.479 236.945 419.479 236.054C419.479 235.162 419.834 234.308 420.464 233.677C421.094 233.047 421.949 232.693 422.84 232.693C423.731 232.694 424.586 233.048 425.215 233.678C425.845 234.308 426.199 235.163 426.199 236.054ZM424.52 236.054C424.52 235.608 424.342 235.181 424.027 234.866C423.712 234.551 423.285 234.374 422.839 234.374C422.394 234.374 421.967 234.551 421.652 234.866C421.336 235.181 421.159 235.608 421.159 236.054C421.159 236.499 421.336 236.927 421.652 237.242C421.967 237.557 422.394 237.734 422.839 237.734C423.285 237.734 423.712 237.557 424.027 237.242C424.342 236.927 424.52 236.499 424.52 236.054Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M773.08 241.097C773.08 227.647 783.994 216.729 797.438 216.729C810.881 216.729 821.795 227.647 821.795 241.097C821.795 254.546 810.881 265.465 797.438 265.465C783.994 265.465 773.08 254.546 773.08 241.097ZM774.76 241.097C774.76 253.619 784.921 263.784 797.438 263.784C809.954 263.784 820.115 253.619 820.115 241.097C820.115 228.575 809.954 218.409 797.438 218.409C784.921 218.409 774.76 228.575 774.76 241.097Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M796.599 231.014C796.595 230.901 796.614 230.789 796.654 230.684C796.695 230.579 796.756 230.482 796.834 230.401C796.913 230.32 797.007 230.256 797.11 230.212C797.214 230.168 797.326 230.145 797.439 230.145C797.551 230.145 797.663 230.168 797.767 230.212C797.871 230.256 797.964 230.32 798.043 230.401C798.121 230.482 798.182 230.579 798.223 230.684C798.263 230.789 798.282 230.901 798.278 231.014V278.069C798.282 278.182 798.263 278.294 798.223 278.399C798.182 278.504 798.121 278.601 798.043 278.682C797.964 278.763 797.871 278.827 797.767 278.871C797.663 278.915 797.551 278.938 797.439 278.938C797.326 278.938 797.214 278.915 797.11 278.871C797.007 278.827 796.913 278.763 796.834 278.682C796.756 278.601 796.695 278.504 796.654 278.399C796.614 278.294 796.595 278.182 796.599 278.069V231.014Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M798.029 250.587C798.187 250.745 798.275 250.958 798.275 251.181C798.275 251.404 798.187 251.618 798.029 251.775C797.872 251.933 797.658 252.021 797.435 252.021C797.213 252.021 796.999 251.933 796.841 251.775L783.402 238.33C783.245 238.173 783.156 237.959 783.156 237.736C783.156 237.513 783.245 237.3 783.402 237.142C783.56 236.985 783.773 236.896 783.996 236.896C784.219 236.896 784.433 236.985 784.59 237.142L798.029 250.587Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M726.045 264.625C726.045 264.402 726.133 264.189 726.291 264.031C726.448 263.874 726.662 263.785 726.885 263.785C727.108 263.785 727.321 263.874 727.479 264.031C727.636 264.189 727.725 264.402 727.725 264.625V278.07C727.725 278.293 727.636 278.507 727.479 278.664C727.321 278.822 727.108 278.91 726.885 278.91C726.662 278.91 726.448 278.822 726.291 278.664C726.133 278.507 726.045 278.293 726.045 278.07V264.625Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M712.603 257.903C712.603 250.019 719 243.618 726.881 243.618C734.762 243.618 741.16 250.019 741.16 257.903C741.16 265.787 734.762 272.188 726.881 272.188C719 272.188 712.603 265.787 712.603 257.903ZM714.282 257.903C714.282 264.86 719.927 270.507 726.881 270.507C733.835 270.507 739.48 264.86 739.48 257.903C739.48 250.946 733.835 245.299 726.881 245.299C719.927 245.299 714.282 250.946 714.282 257.903Z" fill="var(--illustration-primary)"/>
-</g>
-</g>
-<path d="M212 278.07H-6.35938C-6.58229 278.07 -6.79648 277.981 -6.9541 277.823C-7.11153 277.666 -7.20015 277.452 -7.2002 277.229C-7.2002 277.007 -7.11173 276.792 -6.9541 276.635C-6.79648 276.477 -6.58226 276.389 -6.35938 276.389H212V278.07ZM1001.53 276.389C1002 276.389 1002.37 276.766 1002.37 277.229C1002.37 277.693 1002 278.07 1001.53 278.07H217V276.389H1001.53ZM320.784 232.695C321.007 232.695 321.22 232.783 321.378 232.94C321.535 233.098 321.624 233.312 321.624 233.535V236.896C321.624 237.118 321.535 237.333 321.378 237.49C321.22 237.648 321.007 237.735 320.784 237.735C320.562 237.735 320.348 237.648 320.19 237.49C320.033 237.333 319.944 237.118 319.944 236.896V233.535C319.944 233.312 320.033 233.098 320.19 232.94C320.348 232.783 320.562 232.695 320.784 232.695Z" fill="var(--illustration-primary)"/>
-<path d="M420 237.737H284.172C278.368 237.738 272.694 239.456 267.865 242.677L217 276.602V274.581L266.933 241.278C272.038 237.874 278.036 236.057 284.172 236.057H420V237.737ZM890.672 209.168C890.895 209.168 891.108 209.257 891.266 209.414C891.423 209.572 891.512 209.786 891.512 210.009C891.512 210.232 891.423 210.445 891.266 210.603C891.108 210.76 890.895 210.849 890.672 210.849H540.956C534.28 210.848 527.803 213.121 522.592 217.293L505.561 230.924C500.051 235.334 493.204 237.737 486.146 237.737H425V236.057H486.146C492.822 236.057 499.299 233.784 504.511 229.612L521.543 215.981C527.052 211.571 533.899 209.168 540.956 209.168H890.672Z" fill="var(--illustration-primary)"/>
-<path d="M477.079 257.493C477.079 251.231 472.793 245.984 467 244.489C468.097 244.201 469.225 244.054 470.359 244.049C477.782 244.049 483.798 250.068 483.798 257.493C483.798 264.919 477.782 270.938 470.359 270.938C469.225 270.934 468.097 270.786 467 270.498C472.793 269.003 477.079 263.756 477.079 257.493Z" fill="var(--illustration-primary)" fill-opacity="0.21"/>
-<path d="M811.365 241.528C811.365 230.266 803.453 220.855 792.887 218.547C794.542 218.185 796.232 218.001 797.927 218C810.915 218 821.444 228.534 821.444 241.528C821.444 254.522 810.915 265.056 797.927 265.056C796.196 265.056 794.512 264.863 792.887 264.509C803.453 262.2 811.365 252.79 811.365 241.528Z" fill="var(--illustration-primary)" fill-opacity="0.21"/>
-<path d="M734.091 258.334C734.091 252.071 729.805 246.825 724.012 245.33C725.109 245.042 726.238 244.894 727.372 244.889C734.794 244.889 740.811 250.908 740.811 258.334C740.811 265.759 734.794 271.778 727.372 271.778C726.21 271.778 725.088 271.615 724.012 271.338C729.805 269.843 734.091 264.597 734.091 258.334Z" fill="var(--illustration-primary)" fill-opacity="0.21"/>
-<path d="M763 175.681V177.362H632.354C632.187 177.362 632.025 177.312 631.887 177.22C631.799 177.161 631.726 177.086 631.666 177H646L644.754 175.681H763ZM699.546 108.458C699.656 108.458 699.766 108.48 699.868 108.522C699.97 108.565 700.063 108.627 700.141 108.705L766.405 175H764.03L699.546 110.487L639.714 170.344L638.56 169.122L698.952 108.705C699.03 108.627 699.123 108.565 699.225 108.522C699.326 108.48 699.436 108.458 699.546 108.458Z" fill="var(--illustration-primary)"/>
-<path d="M699.415 108.466C699.619 108.436 699.828 108.482 700.001 108.595L802.096 175.817C802.246 175.915 802.361 176.06 802.423 176.228C802.485 176.396 802.491 176.58 802.441 176.752C802.392 176.925 802.289 177.077 802.146 177.186C802.004 177.295 801.83 177.355 801.65 177.359L767.999 178.025V176.345L798.912 175.732L705.497 114.224L764.518 175H763.499V176.362L698.937 109.882C698.793 109.734 698.708 109.537 698.7 109.331C698.692 109.124 698.761 108.922 698.893 108.762C699.024 108.603 699.211 108.497 699.415 108.466Z" fill="var(--illustration-primary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M768.64 176.861C768.64 177.752 768.286 178.607 767.656 179.237C767.026 179.867 766.171 180.221 765.28 180.222C764.403 180.201 763.569 179.837 762.956 179.209C762.343 178.581 762 177.738 762 176.861C762 175.984 762.343 175.141 762.956 174.513C763.569 173.885 764.403 173.521 765.28 173.5C766.171 173.501 767.026 173.855 767.656 174.485C768.286 175.115 768.64 175.97 768.64 176.861ZM766.96 176.861C766.96 176.415 766.783 175.988 766.468 175.673C766.153 175.358 765.726 175.181 765.28 175.181C764.834 175.181 764.407 175.358 764.092 175.673C763.777 175.988 763.6 176.415 763.6 176.861C763.6 177.307 763.777 177.734 764.092 178.049C764.407 178.364 764.834 178.541 765.28 178.541C765.726 178.541 766.153 178.364 766.468 178.049C766.783 177.734 766.96 177.307 766.96 176.861Z" fill="var(--illustration-primary)"/>
-</g>
-<defs>
-<clipPath id="clip0_2220_3838">
-<rect width="840" height="400" fill="white"/>
-</clipPath>
-</defs>
-</svg>
diff --git a/resources/frontend_client/app/assets/img/onboarding_data_diagram.png b/resources/frontend_client/app/assets/img/onboarding_data_diagram.png
index 6d25bbf0bdf..8e365091245 100644
Binary files a/resources/frontend_client/app/assets/img/onboarding_data_diagram.png and b/resources/frontend_client/app/assets/img/onboarding_data_diagram.png differ
diff --git a/resources/frontend_client/app/assets/img/[email protected] b/resources/frontend_client/app/assets/img/[email protected]
index 5cee16681f3..7255827b937 100644
Binary files a/resources/frontend_client/app/assets/img/[email protected] and b/resources/frontend_client/app/assets/img/[email protected] differ
diff --git a/resources/frontend_client/app/assets/img/onboarding_data_studio.png b/resources/frontend_client/app/assets/img/onboarding_data_studio.png
new file mode 100644
index 00000000000..cebb47c4798
Binary files /dev/null and b/resources/frontend_client/app/assets/img/onboarding_data_studio.png differ
diff --git a/resources/frontend_client/app/assets/img/[email protected] b/resources/frontend_client/app/assets/img/[email protected]
new file mode 100644
index 00000000000..a87b33e74c4
Binary files /dev/null and b/resources/frontend_client/app/assets/img/[email protected] differ
diff --git a/resources/frontend_client/app/assets/img/onboarding_invite.png b/resources/frontend_client/app/assets/img/onboarding_invite.png
index fd51ade3ed8..e100fd22040 100644
Binary files a/resources/frontend_client/app/assets/img/onboarding_invite.png and b/resources/frontend_client/app/assets/img/onboarding_invite.png differ
diff --git a/resources/frontend_client/app/assets/img/[email protected] b/resources/frontend_client/app/assets/img/[email protected]
index 5c87f2ba72a..efcc4272ad4 100644
Binary files a/resources/frontend_client/app/assets/img/[email protected] and b/resources/frontend_client/app/assets/img/[email protected] differ
diff --git a/resources/frontend_client/app/assets/img/onboarding_permissions.svg b/resources/frontend_client/app/assets/img/onboarding_permissions.svg
new file mode 100644
index 00000000000..4a32153908d
--- /dev/null
+++ b/resources/frontend_client/app/assets/img/onboarding_permissions.svg
@@ -0,0 +1,52 @@
+<svg width="325" height="254" viewBox="0 0 325 254" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="Illustration">
+<path id="Vector 22" d="M85.8654 136.054C82.9629 136.054 80.2217 135.248 79.2139 134.845C83.0435 132.829 90.7028 125.532 90.7028 112.471C90.7028 99.4101 83.0435 92.1136 79.2139 90.098C80.4232 89.6949 83.5676 88.8887 86.4701 88.8887C90.0982 88.8887 104.611 92.5168 104.611 112.471C104.611 132.426 89.4935 136.054 85.8654 136.054Z" fill="var(--illustration-brand)" fill-opacity="0.07"/>
+<path id="Vector 19" d="M255.781 236.431H246.106V19.3503C246.106 12.5779 242.075 11.2879 240.06 11.4894C241.47 11.2879 245.26 10.8848 249.13 10.8848C253.967 10.8848 255.781 13.9082 255.781 16.9316V236.431Z" fill="var(--illustration-brand)" fill-opacity="0.07"/>
+<path id="Vector 18" d="M173.544 158.426L180.196 123.959C176.81 122.508 175.56 120.532 175.358 119.726H185.638C189.266 119.726 192.289 116.098 192.289 111.865C192.289 107.632 189.266 104.004 185.638 104.004H172.335C174.27 96.2643 183.219 93.9262 187.452 93.7246C194.708 93.7246 202.569 99.7714 202.569 109.446C202.569 117.186 196.925 122.346 194.104 123.959L200.15 158.426H173.544Z" fill="var(--illustration-brand)" fill-opacity="0.21"/>
+<path id="Ellipse 410" d="M121.074 188.522C112.026 179.474 105.273 168.999 100.817 157.821" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<path id="Ellipse 410_2" d="M142.704 43.3482C134.929 47.4928 127.627 52.8419 121.073 59.3956C114.444 66.0243 109.048 73.4187 104.884 81.294" stroke="var(--illustration-brand)" stroke-opacity="0.21" stroke-width="1.20937"/>
+<path id="Ellipse 410_3" d="M185.638 32.6523C207.256 32.6524 228.873 40.2819 246.106 55.5409" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<path id="Ellipse 410_4" d="M263.843 76.79C283.674 109.612 280.993 152.224 255.801 182.399" stroke="var(--illustration-brand)" stroke-opacity="0.21" stroke-width="1.20937"/>
+<path id="Ellipse 410_5" d="M246.274 55.6666C253.26 61.8598 259.144 69.0039 263.832 76.7926" stroke="var(--illustration-brand)" stroke-opacity="0.21" stroke-width="1.20937"/>
+<path id="Ellipse 410_6" d="M241.087 196.516C224.772 209.017 205.204 215.266 185.638 215.266" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<path id="Ellipse 410_7" d="M185.638 193.498C151.996 193.498 123.933 169.608 117.49 137.867" stroke="var(--illustration-brand)" stroke-opacity="0.21" stroke-width="1.20937"/>
+<path id="Ellipse 410_8" d="M136.463 74.7938C149.047 62.2071 166.434 54.4219 185.639 54.4219" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<path id="Ellipse 410_9" d="M203.629 56.7895C220.821 61.3945 236.257 72.5591 245.859 89.191" stroke="var(--illustration-brand)" stroke-opacity="0.21" stroke-width="1.20937"/>
+<path id="Ellipse 410_10" d="M128.743 180.799C119.291 171.338 112.184 159.533 108.368 146.332" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<path id="Ellipse 410_11" d="M242.477 67.0631C227.926 52.5255 207.831 43.5352 185.637 43.5352C153.794 43.5352 126.273 62.0419 113.244 88.8864" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<path id="Ellipse 410_12" d="M255.849 85.2598C261.977 96.6115 265.455 109.604 265.455 123.409C265.455 137.266 261.951 150.304 255.78 161.686" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<path id="Ellipse 410_13" d="M255.853 161.69C253.129 166.711 249.9 171.376 246.248 175.631" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<path id="Ellipse 410_14" d="M242.477 180.855C227.926 195.393 207.831 204.383 185.637 204.383C166.374 204.383 148.692 197.611 134.844 186.317" stroke="var(--illustration-brand)" stroke-opacity="0.21" stroke-width="1.20937"/>
+<path id="Vector 15" d="M74.9805 152.379L53.2119 113.075L74.9805 73.166H100.377L122.75 113.075L99.7725 152.379H74.9805Z" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<path id="Ellipse 413" d="M85.8643 88.8877C96.098 88.8877 104.609 99.3135 104.609 112.471C104.609 125.628 96.0979 136.053 85.8643 136.053C75.6307 136.053 67.1192 125.628 67.1191 112.471C67.1191 99.3136 75.6306 88.8879 85.8643 88.8877Z" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<path id="Ellipse 413_2" d="M79.2139 134.577C85.9832 130.811 90.7028 122.329 90.7028 112.469C90.7028 102.61 85.9832 94.1278 79.2139 90.3613" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<path id="Vector 15_2" d="M75.5852 152.379H59.2588L37.4902 113.075L59.2588 73.166H74.9806" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<line id="Line 153" x1="134.844" y1="120.936" x2="134.844" y2="237.035" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<line id="Line 154" x1="134.239" y1="236.43" x2="256.385" y2="236.43" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<path id="Vector 13" d="M255.78 236.431V17.1771C255.78 13.7432 252.924 10.9984 249.493 11.135L140.046 15.4911C136.802 15.6202 134.239 18.2872 134.239 21.5332V103.401" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<path id="Vector 14" d="M246.106 236.43V17.74C246.106 14.3215 243.275 11.5827 239.858 11.6966L209.825 12.6976" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<path id="Ellipse 408" d="M117.913 104.004H185.033C189.04 104.004 192.289 107.523 192.289 111.865C192.289 116.206 189.04 119.726 185.033 119.726H119.122" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<path id="Subtract" d="M186.847 93.1211C195.863 93.1211 203.174 100.431 203.174 109.447C203.174 115.692 199.666 121.118 194.515 123.863L200.755 159.031H172.939L179.695 124.127C177.544 123.077 175.659 121.566 174.165 119.726H175.765C177.028 121.087 178.538 122.216 180.226 123.04L181.059 123.446L180.883 124.356L174.405 157.822H199.312L193.324 124.074L193.17 123.209L193.946 122.796C198.719 120.252 201.965 115.228 201.965 109.447C201.965 101.099 195.196 94.3301 186.847 94.3301C180.417 94.3304 174.925 98.345 172.74 104.004H171.452C173.694 97.664 179.739 93.1214 186.847 93.1211Z" fill="var(--illustration-brand)"/>
+<path id="Subtract_2" d="M186.847 87.0742C199.203 87.0742 209.221 97.0909 209.221 109.447C209.221 117.162 205.315 123.965 199.374 127.987L206.802 163.264H166.893L174.986 128.42C171.598 126.297 168.82 123.291 166.972 119.726H168.345C170.087 122.855 172.599 125.498 175.628 127.396L176.359 127.854L176.164 128.693L168.415 162.055H205.312L198.19 128.236L198.023 127.441L198.696 126.986C204.319 123.179 208.012 116.744 208.012 109.447C208.012 97.7589 198.535 88.2832 186.847 88.2832C177.041 88.2835 168.793 94.9536 166.391 104.004H165.143C167.574 94.2787 176.368 87.0746 186.847 87.0742Z" fill="var(--illustration-brand)"/>
+<line id="Line 156" x1="255.177" y1="123.96" x2="276.945" y2="123.96" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<line id="Line 156_2" x1="234.48" y1="75.1193" x2="242.945" y2="66.6537" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<line id="Line 156_3" x1="136.796" y1="75.1151" x2="121.074" y2="59.3933" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<line id="Line 156_4" x1="185.638" y1="54.4219" x2="185.638" y2="32.6533" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<line id="Line 156_5" x1="136.796" y1="172.801" x2="121.074" y2="188.522" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<line id="Line 156_6" x1="185.638" y1="193.498" x2="185.638" y2="215.267" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<line id="Line 156_7" x1="220.407" y1="184.182" x2="231.292" y2="203.034" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<line id="Line 157" x1="37.4902" y1="113.075" x2="53.212" y2="113.075" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<circle id="Ellipse 411" cx="185.638" cy="192.895" r="2.41873" fill="var(--illustration-brand-subtle)" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<circle id="Ellipse 411_2" cx="185.638" cy="214.662" r="2.41873" fill="var(--illustration-brand-subtle)" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<circle id="Ellipse 411_3" cx="231.594" cy="203.777" r="2.41873" fill="var(--illustration-brand-subtle)" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<circle id="Ellipse 411_4" cx="277.55" cy="123.959" r="2.41873" fill="var(--illustration-brand-subtle)" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<circle id="Ellipse 411_5" cx="235.222" cy="74.3769" r="2.41873" fill="var(--illustration-brand-subtle)" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<circle id="Ellipse 411_6" cx="185.638" cy="55.0254" r="2.41873" fill="var(--illustration-brand-subtle)" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<circle id="Ellipse 411_7" cx="120.332" cy="58.6523" r="2.41873" fill="var(--illustration-brand-subtle)" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<circle id="Ellipse 411_8" cx="136.054" cy="74.3769" r="2.41873" fill="var(--illustration-brand-subtle)" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<circle id="Ellipse 411_9" cx="136.054" cy="173.543" r="2.41873" fill="var(--illustration-brand-subtle)" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<circle id="Ellipse 411_10" cx="120.332" cy="188.055" r="2.41873" fill="var(--illustration-brand-subtle)" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<circle id="Ellipse 411_11" cx="185.638" cy="33.2578" r="2.41873" fill="var(--illustration-brand-subtle)" stroke="var(--illustration-brand)" stroke-width="1.20937"/>
+<path id="Subtract_3" d="M185.638 65.3027C218.031 65.3028 244.292 91.5634 244.292 123.957C244.292 156.351 218.031 182.611 185.638 182.611C153.244 182.611 126.983 156.351 126.983 123.957C126.983 122.534 127.035 121.122 127.135 119.725H185.032C189.265 119.725 192.289 116.097 192.289 111.864C192.289 107.631 188.66 104.003 185.032 104.003H130.466C138.631 81.4327 160.25 65.3027 185.638 65.3027Z" fill="var(--illustration-brand)" fill-opacity="0.07"/>
+</g>
+</svg>
diff --git a/resources/frontend_client/app/assets/img/onboarding_query_methods.svg b/resources/frontend_client/app/assets/img/onboarding_query_methods.svg
new file mode 100644
index 00000000000..91449cde737
--- /dev/null
+++ b/resources/frontend_client/app/assets/img/onboarding_query_methods.svg
@@ -0,0 +1,88 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="560" height="316" fill="none">
+ <path fill="var(--illustration-ink)" fill-opacity=".62"
+ d="m46.31 98.1-1.06-2.78a6 6 0 0 1-.23-.72 7 7 0 0 1-.23.73l-1.06 2.77zm2.1 2.68h-.81a.4.4 0 0 1-.36-.25l-.64-1.67h-3.16l-.64 1.67a.4.4 0 0 1-.13.17.4.4 0 0 1-.23.08h-.82l2.86-7.18h1.08zm1.97 0h-1.07V93.6h1.07zm7.47-3.1q0-.3-.09-.54t-.24-.43a1 1 0 0 0-.39-.28q-.23-.1-.53-.1-.6 0-.97.36-.35.35-.44.98zm.8 2.37a2 2 0 0 1-.91.61 3 3 0 0 1-1.1.19q-.54 0-.98-.18a2.2 2.2 0 0 1-1.29-1.37 3.5 3.5 0 0 1-.01-2.15q.16-.45.47-.8.3-.34.75-.54a2.5 2.5 0 0 1 1.86-.04 2 2 0 0 1 1.12 1.16q.17.42.17.97 0 .23-.05.3-.05.08-.19.08h-3.33q.02.45.13.8.12.33.32.55t.48.34.63.1q.32 0 .56-.07a3 3 0 0 0 .7-.32.4.4 0 0 1 .2-.08q.13 0 .2.1zm5.32.73h-.94a.3.3 0 0 1-.19-.06l-.1-.14-1.23-1.93-.11.27-1.13 1.66-.11.14a.2.2 0 0 1-.17.06h-.87l1.77-2.62-1.7-2.46h.94q.11 0 .16.03l.1.1 1.2 1.86.14-.3 1.03-1.53q.09-.15.24-.16h.9l-1.7 2.42zm1.75-1.25q.24.31.52.44.28.12.62.12.68 0 1.04-.48.37-.48.37-1.4 0-.49-.09-.83a2 2 0 0 0-.24-.56 1 1 0 0 0-.38-.32q-.24-.1-.52-.1-.43 0-.74.18-.31.2-.58.54zm-.05-3.07q.16-.19.34-.35a2 2 0 0 1 1.35-.5q.44 0 .79.16.35.18.6.5.26.34.39.82a4 4 0 0 1-.02 2.16q-.15.48-.43.84a2 2 0 0 1-1.6.76q-.46 0-.79-.15-.31-.15-.58-.42v2.2h-.97V95.7h.58q.2 0 .26.2zm5.7-3.06v7.38h-.98V93.4zm3.56 2.22q.56 0 1.01.18t.77.53.49.82.17 1.08-.17 1.09-.49.82-.77.53q-.45.18-1.01.18t-1.02-.18a2.2 2.2 0 0 1-1.27-1.35 3 3 0 0 1-.17-1.09q0-.6.17-1.08t.5-.82.77-.53 1.02-.18m0 4.47q.72 0 1.07-.49.36-.48.36-1.36T76 96.87t-1.07-.49q-.73 0-1.09.5-.36.48-.36 1.36t.36 1.36q.36.5 1.09.49m4.45-3.42q.24-.5.59-.78.34-.3.83-.29a1 1 0 0 1 .57.15l-.07.74q-.03.13-.16.13l-.21-.02a1.4 1.4 0 0 0-.72.04 1 1 0 0 0-.32.2q-.15.14-.25.32-.12.2-.2.44v3.18h-.98V95.7h.56q.16 0 .21.06.06.06.09.2zm5.4 1.85q-.6.03-1.02.1-.41.06-.67.19a1 1 0 0 0-.38.28.6.6 0 0 0-.11.36q0 .2.06.33.06.15.17.23t.25.12.32.04a2 2 0 0 0 .76-.17q.17-.08.32-.2t.3-.28zm-2.87-2.11q.44-.4.92-.6.5-.2 1.1-.2.43 0 .77.14a1.6 1.6 0 0 1 .9 1q.13.36.13.79v3.24h-.44a.4.4 0 0 1-.22-.05.3.3 0 0 1-.12-.18l-.1-.44q-.2.18-.39.32t-.4.23a2.5 2.5 0 0 1-1.52.11 1.2 1.2 0 0 1-.77-.68 2 2 0 0 1-.1-.59q0-.3.15-.57.17-.28.53-.5.38-.23.96-.36.6-.15 1.46-.16v-.37q0-.57-.24-.86-.25-.3-.72-.29a1.6 1.6 0 0 0-.92.26l-.27.18a.4.4 0 0 1-.24.08.3.3 0 0 1-.18-.06l-.11-.13zm9.87 4.37h-.98v-4.3h-2.55v2.98q0 .3.14.45t.38.15q.14 0 .23-.04a1 1 0 0 0 .3-.15l.08-.04q.05 0 .08.03l.06.07.29.47q-.24.22-.57.34t-.69.12q-.6 0-.95-.35-.33-.34-.33-.98v-3.04h-.59a.2.2 0 0 1-.14-.05q-.06-.06-.06-.16v-.4l.83-.11.22-1.52q.02-.08.07-.13a.2.2 0 0 1 .15-.05h.5v1.7h3.53zM92 94.1q0 .14-.06.26a.7.7 0 0 1-.36.36.7.7 0 0 1-.52 0l-.21-.15-.15-.21a.7.7 0 0 1 .15-.74l.21-.15a.6.6 0 0 1 .52 0l.21.15a.7.7 0 0 1 .2.48m3.36 1.52q.55 0 1 .18.46.18.78.53.32.34.49.82t.17 1.08-.17 1.09-.5.82q-.3.34-.76.53-.45.18-1.01.18t-1.02-.18a2.2 2.2 0 0 1-1.27-1.35 3 3 0 0 1-.17-1.09q0-.6.17-1.08t.5-.82.77-.53 1.02-.18m0 4.47q.72 0 1.07-.49.36-.48.36-1.36t-.36-1.37-1.07-.49q-.73 0-1.1.5-.35.48-.35 1.36t.36 1.36q.36.5 1.09.49m4.44-3.69.35-.32a2.1 2.1 0 0 1 2.05-.32q.32.14.53.4.22.24.33.6.1.36.1.78v3.24h-.97v-3.24q0-.54-.25-.84t-.77-.3q-.37 0-.7.17a2 2 0 0 0-.6.48v3.73h-.98V95.7h.58q.2 0 .26.2zM43.76 185q0 .66.17 1.16.18.51.5.86.33.36.78.55.45.18 1.03.18.56 0 1.02-.18.45-.2.78-.55.32-.35.5-.86.17-.5.17-1.15t-.17-1.15a2.4 2.4 0 0 0-.5-.87 2 2 0 0 0-.78-.54q-.46-.2-1.02-.2t-1.03.2q-.45.18-.78.54-.32.36-.5.87-.17.5-.17 1.15m6.39 5.06h-.88q-.2 0-.35-.06a1 1 0 0 1-.28-.19l-1.2-1.32q-.55.18-1.2.18a4 4 0 0 1-1.46-.27 3.3 3.3 0 0 1-1.85-1.91 4 4 0 0 1-.26-1.48q0-.8.26-1.48t.73-1.16 1.12-.76 1.46-.27 1.45.27a3.3 3.3 0 0 1 1.85 1.92 4 4 0 0 1 .16 2.43 4 4 0 0 1-.76 1.55q-.28.33-.63.56zm4.93-6.54v5.08h-.58q-.2 0-.26-.2l-.07-.5-.35.31q-.18.15-.38.25a2 2 0 0 1-.93.22q-.42 0-.74-.14a1.5 1.5 0 0 1-.86-1q-.1-.36-.1-.79v-3.23h.97v3.23q0 .55.25.85t.77.3q.37 0 .7-.17t.6-.5v-3.71zm4.73 1.97q0-.3-.09-.53-.08-.25-.24-.43a1 1 0 0 0-.39-.28q-.23-.1-.53-.1-.6 0-.97.36-.35.35-.44.98zm.8 2.38a2 2 0 0 1-.91.61 3 3 0 0 1-1.1.19q-.54 0-.98-.18a2.3 2.3 0 0 1-1.29-1.37 3.5 3.5 0 0 1-.01-2.15q.15-.46.47-.8.3-.34.75-.54a2.5 2.5 0 0 1 1.86-.04 2 2 0 0 1 1.12 1.16q.17.42.17.97 0 .23-.05.3-.06.08-.19.08h-3.33q.02.45.13.8.12.33.32.55t.48.34.63.1q.32 0 .56-.07a3 3 0 0 0 .7-.32.4.4 0 0 1 .2-.08q.13 0 .2.1zm2.04-3.38q.25-.5.6-.78.34-.3.82-.29a1 1 0 0 1 .57.15l-.06.74q-.03.13-.17.13l-.2-.02a1.4 1.4 0 0 0-.72.04 1 1 0 0 0-.33.2q-.13.13-.25.32-.1.19-.2.44v3.18h-.98v-5.08h.56q.16 0 .22.06t.08.2zm7.19-.97-2.82 6.55a.4.4 0 0 1-.12.17q-.08.06-.22.06h-.73l.93-2.02-2.08-4.76h.85q.12 0 .2.06l.1.13 1.28 3.05.14.47.16-.47 1.25-3.05q.03-.08.1-.14.08-.05.18-.05zm4 3.83q.25.3.52.44.29.12.61.12.68 0 1.05-.48.36-.49.37-1.47 0-.9-.33-1.32a1.1 1.1 0 0 0-.92-.43q-.42 0-.73.2-.3.18-.57.53zm0-3.13q.31-.35.72-.57t.9-.21q.45 0 .8.17.37.18.62.5.25.31.38.78.14.45.14 1.04t-.16 1.12q-.15.5-.43.86a2 2 0 0 1-2.05.7 1.6 1.6 0 0 1-.97-.64l-.04.42q-.04.2-.25.2h-.63v-7.37h.97zm8.87-.7v5.08h-.59q-.2 0-.26-.2l-.07-.5q-.16.16-.34.31t-.39.25a2 2 0 0 1-.93.22q-.41 0-.74-.14a1.5 1.5 0 0 1-.85-1q-.11-.36-.11-.79v-3.23h.98v3.23q0 .55.25.85.24.3.76.3.38 0 .7-.17.33-.18.61-.5v-3.71zm2.38 0v5.08h-.98v-5.08zm.18-1.57q0 .13-.05.26a.7.7 0 0 1-.36.36.7.7 0 0 1-.52 0l-.22-.15-.14-.21a.7.7 0 0 1 0-.52.7.7 0 0 1 .36-.36.6.6 0 0 1 .52 0q.12.05.2.14a.7.7 0 0 1 .21.48m2.23-.73v7.38h-.98v-7.38zm4.67 3.53a1.4 1.4 0 0 0-.52-.44 2 2 0 0 0-.62-.13q-.68 0-1.04.49a2.3 2.3 0 0 0-.37 1.4q0 .49.08.83.09.35.24.56a1 1 0 0 0 .4.32q.22.1.51.1.43 0 .74-.19.3-.18.58-.53zm.98-3.53v7.38h-.6q-.2 0-.25-.2l-.08-.58q-.33.38-.74.62-.42.23-.95.23-.45 0-.8-.17a2 2 0 0 1-.6-.5 2 2 0 0 1-.38-.81 4 4 0 0 1 .02-2.17q.15-.48.43-.84a2 2 0 0 1 1.6-.76q.46 0 .79.15.31.15.58.43v-2.78zm4.72 4.27q0-.3-.08-.53-.09-.25-.24-.43a1 1 0 0 0-.4-.28q-.22-.1-.52-.1-.62 0-.97.36-.35.35-.45.98zm.8 2.38a2 2 0 0 1-.9.61 3 3 0 0 1-1.11.19q-.53 0-.98-.18a2.3 2.3 0 0 1-1.28-1.37 3.5 3.5 0 0 1-.02-2.15q.17-.46.47-.8.31-.34.76-.54a2.5 2.5 0 0 1 1.85-.04 2 2 0 0 1 1.13 1.16q.16.42.16.97 0 .23-.05.3-.05.08-.18.08h-3.33q0 .45.13.8.11.33.31.55t.49.34.62.1q.33 0 .56-.07a3 3 0 0 0 .7-.32.4.4 0 0 1 .21-.08q.12 0 .19.1zm2.05-3.38q.25-.5.6-.78a1.3 1.3 0 0 1 1.13-.25q.15.04.26.11l-.06.74q-.04.13-.17.13l-.2-.02a1.4 1.4 0 0 0-.72.04 1 1 0 0 0-.33.2q-.14.13-.25.32t-.2.44v3.18h-.98v-5.08h.56q.16 0 .22.06t.08.2z"/>
+ <path stroke="var(--illustration-brand)" stroke-opacity=".3"
+ d="M362 147h-23.47a.1.1 0 0 0-.07.06q0 .06-.06.07H126.6a12.4 12.4 0 0 1-12.4-12.38l-.06-52.35a12.4 12.4 0 0 0-12.4-12.4H90.12m.29 87.82H362M90.7 245.63h11.13a12.4 12.4 0 0 0 12.4-12.4V181.1a12.4 12.4 0 0 1 12.4-12.4h211.68q.16 0 .2.15.06.14.21.15H362"/>
+ <g filter="url(#a)">
+ <rect width="36.03" height="36.03" x="54.39" y="52" fill="var(--illustration-surface)" rx="9.3"/>
+ <rect width="35.33" height="35.33" x="54.74" y="52.35" stroke="var(--illustration-ink)"
+ stroke-opacity=".14" stroke-width=".7" rx="8.95"/>
+ </g>
+ <g filter="url(#b)" opacity=".5">
+ <rect width="36.03" height="36.03" x="54.39" y="139.81" fill="var(--illustration-surface)" rx="9.3"/>
+ <rect width="35.33" height="35.33" x="54.74" y="140.16" stroke="var(--illustration-ink)"
+ stroke-opacity=".14" stroke-width=".7" rx="8.95"/>
+ </g>
+ <g filter="url(#c)" opacity=".5">
+ <rect width="36.03" height="36.03" x="54.39" y="227.62" fill="var(--illustration-surface)" rx="9.3"/>
+ <rect width="35.33" height="35.33" x="54.74" y="227.97" stroke="var(--illustration-ink)"
+ stroke-opacity=".14" stroke-width=".7" rx="8.95"/>
+ </g>
+ <path fill="var(--illustration-ink)" fill-opacity=".62"
+ d="m54 270.4-.1.12a.2.2 0 0 1-.14.04.4.4 0 0 1-.2-.08 3 3 0 0 0-.7-.37 2 2 0 0 0-.58-.08q-.31 0-.55.08t-.4.23a1 1 0 0 0-.32.75q0 .28.14.48.15.18.4.32a3 3 0 0 0 .54.24l.62.2.63.25q.3.14.54.36.25.2.39.52.15.3.15.75 0 .47-.17.89a2 2 0 0 1-1.23 1.21q-.45.18-1.03.18a3 3 0 0 1-1.28-.26q-.3-.12-.55-.3a3 3 0 0 1-.45-.38l.3-.51.11-.1q.08-.04.15-.04.1 0 .24.1.14.12.34.25t.48.24q.29.1.7.11.32 0 .58-.08.27-.1.44-.25.18-.17.27-.4t.1-.5a1 1 0 0 0-.15-.52q-.15-.2-.38-.34a3 3 0 0 0-.55-.23l-.62-.2-.63-.23q-.3-.14-.54-.35a2 2 0 0 1-.39-.55q-.15-.33-.14-.8a1.9 1.9 0 0 1 1.3-1.83q.42-.18.95-.17.6 0 1.11.2.51.18.89.54zm2.38 2.42q0 .64.18 1.15t.5.86.78.55q.46.18 1.02.18t1.02-.18q.47-.2.78-.55.33-.35.5-.86.18-.5.18-1.15t-.18-1.15a2.4 2.4 0 0 0-.5-.87 2 2 0 0 0-.78-.54q-.45-.2-1.02-.2-.55 0-1.02.2a2.2 2.2 0 0 0-1.28 1.4q-.18.52-.18 1.16m6.4 5.05h-.89a1 1 0 0 1-.34-.06 1 1 0 0 1-.28-.19l-1.21-1.32q-.56.18-1.2.18a4 4 0 0 1-1.45-.27 3.3 3.3 0 0 1-1.85-1.91 4 4 0 0 1-.26-1.48q0-.8.26-1.48t.72-1.16q.48-.48 1.13-.76.66-.27 1.45-.27.8 0 1.46.27a3.3 3.3 0 0 1 1.85 1.92 4 4 0 0 1 .15 2.43 4 4 0 0 1-.76 1.55q-.27.32-.62.56zm5.1-2.36v.9h-4.12v-7.18h1.07v6.28zm6.33-2.95a1.3 1.3 0 0 0-1.14-.57q-.68 0-1.04.49a2.3 2.3 0 0 0-.37 1.4q0 .48.08.83t.24.56a1 1 0 0 0 .4.32q.22.1.51.1.43 0 .74-.19.3-.18.58-.53zm.98-1.23v6.78h-.98v-2.43q-.31.36-.72.58t-.92.22a1.7 1.7 0 0 1-1.39-.67 2 2 0 0 1-.39-.81 4 4 0 0 1 .02-2.17q.15-.48.43-.84a2.04 2.04 0 0 1 2.44-.58q.18.08.32.2.16.12.28.28l.06-.37q.06-.2.26-.2zm5.58 0v5.08h-.58q-.2 0-.26-.2l-.07-.5a3 3 0 0 1-.73.56 2 2 0 0 1-.93.22q-.42 0-.74-.14t-.53-.4a2 2 0 0 1-.33-.6q-.1-.36-.1-.79v-3.23h.97v3.23q0 .55.25.85.26.3.77.3.37 0 .7-.17t.6-.5v-3.71zm4.73 1.97q0-.3-.08-.53-.09-.25-.24-.43a1 1 0 0 0-.4-.28q-.22-.1-.52-.1-.62 0-.97.36-.36.35-.45.98zm.8 2.38a2 2 0 0 1-.91.61 3 3 0 0 1-1.1.19q-.53 0-.98-.18a2.2 2.2 0 0 1-1.28-1.37 3.5 3.5 0 0 1-.02-2.15q.17-.47.47-.8t.76-.54a2.5 2.5 0 0 1 1.85-.04 2 2 0 0 1 1.13 1.16q.15.42.16.97 0 .22-.05.3t-.18.08h-3.33q0 .44.13.8.11.33.31.55t.49.34q.27.1.62.1.33 0 .56-.07a3 3 0 0 0 .7-.32.4.4 0 0 1 .21-.08q.12 0 .19.1zm2.05-3.38q.24-.5.59-.78.34-.3.83-.29a1 1 0 0 1 .57.15l-.07.74q-.03.13-.16.13l-.21-.02a1.4 1.4 0 0 0-.72.04 1 1 0 0 0-.32.2q-.15.13-.25.32t-.2.44v3.18h-.98v-5.08h.56q.16 0 .21.06.06.05.09.2zm7.18-.97-2.82 6.55a.4.4 0 0 1-.12.17q-.07.06-.22.06h-.72l.93-2.02-2.09-4.76h.85q.12 0 .2.06.06.06.1.13l1.29 3.05.14.47.16-.47 1.24-3.05q.03-.09.11-.14t.17-.05z"/>
+ <g filter="url(#d)">
+ <path fill="var(--illustration-surface)"
+ d="M182 77.22a4.2 4.2 0 0 1 4.22-4.22h335.2c2.34 0 4.22 1.9 4.22 4.22v160.52a4.2 4.2 0 0 1-4.21 4.22H186.22a4.2 4.2 0 0 1-4.22-4.22z"/>
+ <mask id="e" width="344" height="169" x="182" y="73" maskUnits="userSpaceOnUse" style="mask-type:luminance">
+ <path fill="var(--illustration-surface)"
+ d="M182 77.22a4.2 4.2 0 0 1 4.22-4.22h335.2c2.34 0 4.22 1.9 4.22 4.22v160.52a4.2 4.2 0 0 1-4.21 4.22H186.22a4.2 4.2 0 0 1-4.22-4.22z"/>
+ </mask>
+ <g mask="url(#e)">
+ <path fill="var(--illustration-ink)" fill-opacity=".14"
+ d="M186.22 73v.53h335.2v-1.06h-335.2zm339.42 4.22h-.52v160.52h1.05V77.22zm-4.21 164.74v-.53H186.22v1.06h335.2zM182 237.74h.53V77.22h-1.06v160.52zm4.22 4.22v-.53a3.7 3.7 0 0 1-3.7-3.7h-1.05a4.75 4.75 0 0 0 4.75 4.76zm339.42-4.22h-.52a3.7 3.7 0 0 1-3.7 3.7v1.05a4.75 4.75 0 0 0 4.75-4.75zM521.43 73v.53a3.7 3.7 0 0 1 3.69 3.7h1.05a4.75 4.75 0 0 0-4.74-4.76zm-335.21 0v-.53a4.75 4.75 0 0 0-4.75 4.75h1.06a3.7 3.7 0 0 1 3.69-3.7z"/>
+ </g>
+ <path fill="var(--illustration-ink)" fill-opacity=".84"
+ d="M198.9 91.28q.08 0 .15.06l.4.42q-.34.4-.8.62-.48.22-1.15.22-.6 0-1.06-.2a2.4 2.4 0 0 1-1.33-1.44 3.3 3.3 0 0 1 .01-2.2q.2-.5.54-.86.36-.36.84-.56t1.07-.2a2.6 2.6 0 0 1 1.8.69l-.33.46-.08.08-.12.03-.12-.03-.29-.18-.21-.1-.29-.08a2 2 0 0 0-1.02.1q-.3.12-.51.37a2 2 0 0 0-.33.59q-.12.35-.12.8t.12.8.35.59a1.5 1.5 0 0 0 1.15.5 3 3 0 0 0 .67-.1 1.4 1.4 0 0 0 .5-.3l.08-.06zm2.67-2.6q.42 0 .77.14a1.7 1.7 0 0 1 .97 1q.13.38.13.81 0 .45-.13.82-.14.36-.38.61-.25.25-.6.4-.33.13-.76.13-.42 0-.77-.13a1.7 1.7 0 0 1-.97-1.01 2 2 0 0 1-.13-.82q0-.45.13-.8.14-.37.38-.62t.6-.39q.33-.13.76-.13m0 3.21q.48 0 .7-.32.23-.3.23-.93 0-.6-.23-.93-.22-.33-.7-.33t-.7.33a1.6 1.6 0 0 0-.24.93q0 .6.23.93.24.32.71.32m3.42-2.68a2 2 0 0 1 .5-.38 1.4 1.4 0 0 1 .67-.14q.3 0 .55.1.24.1.4.3.15.19.24.45.09.27.08.58v2.42h-.9v-2.42a.8.8 0 0 0-.17-.53q-.15-.2-.48-.2-.24 0-.44.11t-.4.3v2.74h-.9v-3.8h.55q.18 0 .24.17zm6.64-.46-1.5 3.79h-.83l-1.5-3.8h.75q.1 0 .17.05t.1.13l.72 2.02a6 6 0 0 1 .18.69l.2-.69.74-2.02a.3.3 0 0 1 .09-.13q.06-.04.16-.04zm2.8 1.45q0-.17-.05-.33a1 1 0 0 0-.14-.27 1 1 0 0 0-.26-.19 1 1 0 0 0-.35-.07 1 1 0 0 0-.62.23q-.23.22-.3.64zm-1.73.56q.02.3.1.5t.22.35.3.21q.2.07.42.07t.38-.06l.28-.11.2-.11a.4.4 0 0 1 .18-.06q.12 0 .17.09l.27.33q-.16.18-.34.3a2 2 0 0 1-.82.3l-.4.02q-.4 0-.74-.13a1.7 1.7 0 0 1-.98-1.02 2.5 2.5 0 0 1-.02-1.6q.12-.36.35-.6.24-.25.58-.4t.76-.15q.36 0 .66.11a1.4 1.4 0 0 1 .86.88q.13.3.13.72 0 .21-.05.29t-.17.07zm4.1-1.36q.18-.33.42-.53a1 1 0 0 1 .57-.2.7.7 0 0 1 .43.12l-.06.68-.06.1-.1.03-.16-.02-.2-.02q-.16 0-.28.04l-.21.13-.17.2-.13.27v2.34h-.91v-3.8h.53q.14 0 .2.06t.07.17zm4.19.08-.08.09-.1.02-.15-.04-.4-.16a1 1 0 0 0-.3-.04.7.7 0 0 0-.42.12.4.4 0 0 0-.15.3q0 .12.07.2.09.08.21.15l.3.11a6 6 0 0 1 .68.24q.15.08.3.2a1 1 0 0 1 .28.67q0 .27-.1.5a1 1 0 0 1-.28.4q-.2.17-.48.26a2 2 0 0 1-1.03.06 2 2 0 0 1-.68-.24q-.15-.09-.25-.19l.2-.35.1-.1.14-.03q.09 0 .16.05l.41.2q.14.06.35.06.16 0 .27-.04l.2-.1a.4.4 0 0 0 .1-.15l.04-.17a.3.3 0 0 0-.08-.22l-.21-.15-.3-.1-.69-.26a1 1 0 0 1-.3-.2 1 1 0 0 1-.2-.3 1 1 0 0 1-.08-.43 1.1 1.1 0 0 1 .8-1.06q.28-.1.63-.1.4 0 .7.14.33.12.54.34zm2.93 1.44q-.39.01-.66.07-.27.05-.44.12a1 1 0 0 0-.23.19.4.4 0 0 0-.07.22q0 .25.14.34t.37.1q.29 0 .49-.1.2-.09.4-.3zm-2.09-1.65q.66-.6 1.57-.6.33 0 .6.12a1.2 1.2 0 0 1 .71.76q.1.27.1.6v2.39h-.41a.4.4 0 0 1-.2-.04q-.08-.04-.11-.16l-.09-.27-.28.23a2 2 0 0 1-.6.26 2 2 0 0 1-.8-.03 1 1 0 0 1-.36-.2 1 1 0 0 1-.23-.31 1 1 0 0 1-.08-.45 1 1 0 0 1 .2-.56q.12-.14.29-.24.17-.12.42-.2t.6-.14.76-.07v-.22q0-.38-.16-.56-.17-.18-.47-.18a1 1 0 0 0-.62.17l-.2.11a.4.4 0 0 1-.2.05.3.3 0 0 1-.17-.05l-.1-.11zm5.05 3.33q-.5 0-.76-.28a1 1 0 0 1-.26-.77v-2.12h-.4a.2.2 0 0 1-.12-.05q-.05-.05-.05-.14v-.37l.61-.1.2-1.03a.2.2 0 0 1 .06-.11.2.2 0 0 1 .13-.05h.48v1.2h1v.65h-1v2.05q0 .18.08.28t.24.1l.24-.06.08-.04.07-.02.06.02q.03 0 .06.06l.27.44q-.2.17-.46.25a2 2 0 0 1-.53.09m2.43-3.85v3.79h-.92v-3.8zm.12-1.11q0 .12-.05.22l-.12.18a.6.6 0 0 1-.94-.18.6.6 0 0 1 0-.45l.12-.18q.07-.09.18-.13a.5.5 0 0 1 .45 0q.1.04.19.13a.6.6 0 0 1 .17.41m2.48 1.05q.42 0 .76.13a1.7 1.7 0 0 1 .98 1q.13.38.13.81 0 .45-.13.82-.14.36-.39.61-.23.25-.59.4-.33.13-.76.13-.42 0-.77-.13a1.7 1.7 0 0 1-.97-1.01 2 2 0 0 1-.14-.82q0-.45.14-.8.13-.37.38-.62.24-.25.59-.39.35-.13.77-.13m0 3.2q.47 0 .7-.32.23-.3.23-.93 0-.6-.23-.93t-.7-.33-.71.33a1.6 1.6 0 0 0-.23.93q0 .6.23.93.24.32.71.32m3.41-2.68a2 2 0 0 1 .51-.38 1.4 1.4 0 0 1 .66-.14q.32 0 .55.1.25.1.4.3.17.19.25.45.08.27.08.58v2.42h-.91v-2.42a.8.8 0 0 0-.16-.53q-.16-.2-.48-.2-.24 0-.44.11a2 2 0 0 0-.4.3v2.74h-.9v-3.8h.55q.18 0 .23.17zm5.63.27-.08.09-.1.02-.15-.04-.4-.16a1 1 0 0 0-.3-.04.7.7 0 0 0-.42.12.4.4 0 0 0-.15.3q0 .12.07.2.09.08.21.15l.3.11.68.24q.15.08.3.2a.8.8 0 0 1 .28.67q0 .27-.1.5a1 1 0 0 1-.28.4q-.2.17-.48.26a2 2 0 0 1-1.03.06 2 2 0 0 1-.68-.24q-.15-.09-.25-.19l.2-.35.1-.1.15-.03q.07 0 .15.05l.41.2q.14.06.35.06.16 0 .27-.04l.2-.1a.4.4 0 0 0 .1-.15l.04-.17a.3.3 0 0 0-.08-.22l-.2-.15-.3-.1-.7-.26a1 1 0 0 1-.3-.2 1 1 0 0 1-.2-.3 1 1 0 0 1-.08-.43q0-.23.1-.44.08-.2.26-.37.18-.15.45-.25.26-.1.62-.1.4 0 .7.14.33.12.54.34zm3.64 2.07a.9.9 0 0 0 .72.35q.2 0 .38-.08a1 1 0 0 0 .28-.23q.12-.17.18-.41.07-.26.07-.6 0-.63-.21-.9a.7.7 0 0 0-.6-.28 1 1 0 0 0-.45.12q-.2.12-.37.33zm0-2.34q.23-.24.5-.38.28-.14.64-.14.33 0 .59.13.27.12.45.37.19.24.29.58t.1.78q0 .45-.12.83-.1.39-.32.65a1.5 1.5 0 0 1-1.5.53 1 1 0 0 1-.68-.46l-.04.26q-.02.1-.08.14a.2.2 0 0 1-.14.04h-.6v-5.5h.9zm6.6-.46-2.06 4.83a.3.3 0 0 1-.1.14q-.08.06-.2.06h-.68l.7-1.53-1.53-3.5h.8q.12 0 .17.05.06.04.1.12l.8 1.96q.05.1.06.2l.06.2.14-.4.76-1.96a.3.3 0 0 1 .25-.17zm4.37.73-.08.09-.1.02-.14-.04-.4-.16a1 1 0 0 0-.3-.04.7.7 0 0 0-.43.12.4.4 0 0 0-.15.3q0 .12.08.2t.2.15l.3.11a6 6 0 0 1 .68.24q.17.08.3.2a1 1 0 0 1 .29.67q0 .27-.1.5a1 1 0 0 1-.29.4q-.2.17-.47.26a2 2 0 0 1-1.04.06 2 2 0 0 1-.67-.24l-.26-.19.21-.35.1-.1.14-.03q.08 0 .16.05l.4.2q.15.06.35.06.15 0 .28-.04l.19-.1a.4.4 0 0 0 .1-.15l.05-.17a.3.3 0 0 0-.09-.22l-.2-.15-.3-.1-.7-.26a1 1 0 0 1-.29-.2 1 1 0 0 1-.21-.3 1 1 0 0 1-.08-.43 1.1 1.1 0 0 1 .81-1.06q.27-.1.62-.1.4 0 .71.14.33.12.54.34zm2.6-.8q.43 0 .77.14a1.7 1.7 0 0 1 .97 1q.14.38.14.81 0 .45-.14.82-.13.36-.38.61-.24.25-.59.4-.34.13-.76.13t-.77-.13a1.7 1.7 0 0 1-.98-1.01 2 2 0 0 1-.13-.82q0-.45.13-.8.15-.37.38-.62.25-.25.6-.39.35-.13.77-.13m0 3.21q.49 0 .7-.32.24-.3.24-.93 0-.6-.23-.93t-.7-.33q-.48 0-.71.33a1.6 1.6 0 0 0-.23.93q0 .6.23.93.23.32.7.32m5.83-3.14v3.79h-.56q-.19 0-.22-.17l-.07-.3q-.23.23-.5.38-.3.15-.67.15-.3 0-.55-.1a1 1 0 0 1-.4-.3q-.16-.2-.25-.46a2 2 0 0 1-.08-.59v-2.4h.92v2.4q0 .36.15.54.16.2.49.2.23 0 .44-.11t.4-.3v-2.73zm1.77.65q.16-.33.42-.53.24-.2.57-.2a.7.7 0 0 1 .42.12l-.06.68-.05.1-.1.03-.16-.02-.21-.02q-.16 0-.27.04l-.21.13-.17.2q-.08.12-.13.27v2.34h-.91v-3.8h.53q.15 0 .2.06t.07.17zm4.5.15-.09.08q-.03.03-.11.03l-.14-.04a2 2 0 0 0-.38-.2 1 1 0 0 0-.31-.04q-.24 0-.42.09a1 1 0 0 0-.3.25q-.12.16-.18.4-.06.23-.06.51 0 .3.06.54.07.24.2.4.1.16.29.25a1 1 0 0 0 .39.08q.21 0 .35-.05a1 1 0 0 0 .39-.24q.07-.06.15-.06.1 0 .17.09l.26.33a1.7 1.7 0 0 1-1.09.6l-.4.02a1.6 1.6 0 0 1-1.2-.51 2 2 0 0 1-.37-.61 2 2 0 0 1-.13-.84q0-.4.12-.77.12-.35.35-.62.23-.25.57-.4.35-.15.8-.15.42 0 .74.13.31.14.57.4zm3.21.66q0-.18-.05-.34a1 1 0 0 0-.15-.27 1 1 0 0 0-.25-.19 1 1 0 0 0-.35-.07 1 1 0 0 0-.63.23q-.22.22-.29.64zm-1.73.55q.02.3.1.5t.21.35.32.21.4.07.38-.06.28-.11l.21-.11a.4.4 0 0 1 .18-.06q.12 0 .17.09l.26.33q-.15.18-.34.3a2 2 0 0 1-.8.3l-.42.02q-.39 0-.73-.13a1.7 1.7 0 0 1-.99-1.02 2.5 2.5 0 0 1-.02-1.6q.13-.36.36-.6a1.7 1.7 0 0 1 1.34-.55q.36 0 .66.11a1.4 1.4 0 0 1 .86.88q.12.3.12.72 0 .21-.04.29-.05.07-.17.07z"/>
+ <path stroke="var(--illustration-ink)" stroke-opacity=".14" stroke-width=".41"
+ d="M213.05 215.03h293.04M213.05 178.6h293.04m-293.04-36.43h293.04m-293.04-35.9h293.04"/>
+ <path fill="var(--illustration-ink)" fill-opacity=".62"
+ d="M209.16 215.84q0 .6-.13 1.03t-.35.72a1.4 1.4 0 0 1-.52.43q-.3.14-.65.14t-.65-.14q-.3-.15-.52-.43-.21-.29-.34-.72t-.13-1.03.13-1.03.34-.72a1.4 1.4 0 0 1 1.17-.57q.35 0 .65.14t.52.43.35.72.13 1.03m-.59 0q0-.51-.08-.87a2 2 0 0 0-.24-.57.9.9 0 0 0-.74-.4.9.9 0 0 0-.74.4q-.15.21-.23.57t-.09.87q0 .53.09.87.09.36.23.57.15.22.34.31a1 1 0 0 0 .8 0 1 1 0 0 0 .34-.31q.15-.21.24-.57.08-.34.08-.87m-8.17-34.37q.21 0 .4-.08a1 1 0 0 0 .52-.5 1 1 0 0 0 0-.79.8.8 0 0 0-.5-.5 1.1 1.1 0 0 0-1.11.22 1 1 0 0 0-.26.67q0 .2.06.4.06.17.18.3.13.14.3.2.18.08.4.08m-.34-2.42-.22.28a1.3 1.3 0 0 1 .78-.23q.27 0 .52.1.24.08.42.26t.29.42.1.58a1.5 1.5 0 0 1-.42 1.05q-.2.2-.5.31-.29.12-.62.12a2 2 0 0 1-.62-.11 1.4 1.4 0 0 1-.48-.31q-.2-.2-.3-.49t-.1-.64q0-.3.13-.64.12-.33.42-.72l1.15-1.55.12-.1a.4.4 0 0 1 .18-.03h.5zm5.65.57q0 .6-.13 1.03-.12.43-.34.72a1.4 1.4 0 0 1-.53.42q-.3.14-.65.14-.34 0-.64-.14-.3-.13-.52-.42a2 2 0 0 1-.35-.72q-.13-.45-.13-1.03 0-.6.13-1.04.12-.44.35-.72a1.4 1.4 0 0 1 1.16-.57q.35 0 .65.14t.53.43q.21.3.34.72.13.44.13 1.04m-.58 0q0-.52-.1-.87a2 2 0 0 0-.22-.57.9.9 0 0 0-.75-.4.9.9 0 0 0-.74.4q-.14.21-.23.57-.09.34-.09.87 0 .51.1.87.08.35.22.56t.34.32a1 1 0 0 0 .8 0 1 1 0 0 0 .34-.31q.15-.23.24-.57.09-.36.09-.87m1.78-2.4v2.75h.15l.1-.02.1-.07 1-1.09.1-.08.13-.03h.51l-1.18 1.25-.18.17.1.09.09.11 1.25 1.58h-.5q-.08 0-.13-.02l-.09-.09-1.05-1.31-.1-.09-.13-.02h-.17v1.53h-.56v-4.66zm-9.02-31.99v.43h-2.43v-.43h.97v-3.1l.01-.28-.8.7-.09.04h-.07l-.07-.03-.04-.04-.18-.24 1.35-1.17h.46v4.12zm3.57-.1q.09 0 .15.05t.05.14v.34h-3.02v-.2l.02-.12.08-.12 1.45-1.46.33-.35q.16-.17.25-.34.12-.17.17-.34t.05-.38a1 1 0 0 0-.06-.35.7.7 0 0 0-.43-.4 1 1 0 0 0-.32-.05 1 1 0 0 0-.32.05 1 1 0 0 0-.44.36 1 1 0 0 0-.11.27q-.04.11-.1.15a.3.3 0 0 1-.19.02l-.3-.05q.06-.31.18-.55a1.3 1.3 0 0 1 .77-.65q.24-.08.54-.08t.54.08.43.25.29.4.1.53q0 .26-.07.47-.08.22-.2.42l-.31.38-.36.38-1.2 1.22a2 2 0 0 1 .51-.08zm4.03-1.74q0 .6-.13 1.03t-.35.72a1.4 1.4 0 0 1-.53.43q-.3.14-.64.14t-.65-.14q-.3-.15-.52-.43a2 2 0 0 1-.34-.72q-.13-.43-.13-1.03t.13-1.03q.13-.45.34-.73a1.4 1.4 0 0 1 1.17-.56q.34 0 .64.14t.53.42q.22.3.35.73t.13 1.03m-.59 0q0-.52-.09-.87a2 2 0 0 0-.23-.57.9.9 0 0 0-.74-.4.9.9 0 0 0-.74.4q-.15.21-.23.57-.09.34-.09.87 0 .52.09.87.08.36.23.57.15.22.34.3a1 1 0 0 0 .8 0 1 1 0 0 0 .34-.3q.15-.22.23-.57.1-.34.1-.87m1.79-2.4v2.75h.15q.06 0 .1-.02l.1-.07 1-1.09.1-.08.13-.03h.5l-1.17 1.26-.19.16q.06.04.1.1l.1.1 1.25 1.59h-.5q-.09 0-.13-.02a.2.2 0 0 1-.1-.1l-1.05-1.3a.2.2 0 0 0-.09-.1l-.14-.01h-.16v1.53h-.57v-4.67zM197.88 109v.43h-2.43V109h.97v-3.1l.01-.28-.8.7-.09.04h-.07l-.07-.02-.04-.04-.18-.25 1.35-1.17h.46V109zm2.28.03q.22 0 .4-.06t.3-.17a1 1 0 0 0 .18-.27 1 1 0 0 0 .07-.35 1 1 0 0 0-.08-.4 1 1 0 0 0-.2-.27 1 1 0 0 0-.3-.15 1.2 1.2 0 0 0-.72 0 .8.8 0 0 0-.51.42 1 1 0 0 0-.08.4q0 .19.06.35t.19.27a1 1 0 0 0 .3.17q.17.06.4.06m0-3.75a1 1 0 0 0-.35.06q-.15.06-.26.16a1 1 0 0 0-.15.25q-.06.14-.05.3t.04.3q.05.14.14.26.1.1.25.18.17.06.38.06.23 0 .38-.06.16-.08.26-.18a1 1 0 0 0 .14-.26q.04-.15.04-.3 0-.16-.05-.3a.7.7 0 0 0-.41-.4 1 1 0 0 0-.36-.07m.65 1.79q.42.12.65.4t.23.72q0 .3-.11.54t-.32.4-.48.26-.62.1q-.33 0-.62-.1a2 2 0 0 1-.48-.26 1.2 1.2 0 0 1-.42-.94q0-.44.23-.72.22-.28.65-.4a1 1 0 0 1-.54-.4 1 1 0 0 1-.19-.63 1.14 1.14 0 0 1 .81-1.1q.26-.1.56-.1t.56.1.44.25a1.1 1.1 0 0 1 .37.85q0 .36-.18.63-.18.25-.54.4m4.67.1q0 .59-.13 1.03t-.35.72a1.4 1.4 0 0 1-.53.42q-.3.14-.64.14t-.65-.14-.52-.42a2 2 0 0 1-.34-.72q-.13-.44-.13-1.04t.13-1.03.34-.72a1.4 1.4 0 0 1 1.17-.57q.34 0 .64.14t.53.43.35.72q.13.45.13 1.03m-.59 0q0-.52-.09-.88a2 2 0 0 0-.23-.57.9.9 0 0 0-.74-.4.9.9 0 0 0-.74.4q-.15.23-.23.57-.09.36-.09.87 0 .52.09.88.08.35.23.56t.34.31a1 1 0 0 0 .8 0 1 1 0 0 0 .34-.3q.15-.22.23-.58.1-.34.1-.87m1.79-2.4v2.74h.15l.1-.01.1-.08 1-1.08.1-.09.13-.03h.5l-1.17 1.26-.19.17.1.09.1.1 1.25 1.6h-.5q-.09 0-.13-.03a.2.2 0 0 1-.1-.09l-1.05-1.31-.09-.09-.14-.02h-.16v1.53h-.57v-4.66zm28.58 118.41v4.54h-.54v-3.33l.02-.3-1.56 2.84q-.07.14-.22.14h-.09q-.15 0-.22-.14l-1.59-2.85.02.3v3.34h-.53v-4.54h.45q.08 0 .12.02.05.01.09.09l1.56 2.8.15.32.14-.33 1.54-2.8q.03-.06.08-.08l.13-.02zm3.07 2.59q0-.2-.06-.36a.75.75 0 0 0-.76-.53 1 1 0 0 0-.64.24 1 1 0 0 0-.3.65zm.46 1.5q-.11.13-.25.22a2 2 0 0 1-.66.25l-.35.03q-.34 0-.61-.11a1.4 1.4 0 0 1-.8-.87 2.2 2.2 0 0 1-.01-1.36q.09-.3.3-.5.18-.22.46-.34a1.5 1.5 0 0 1 1.16-.03q.24.1.42.28.19.18.29.45t.1.6q0 .15-.03.19-.04.04-.1.04h-2.15q0 .3.08.53t.21.38.32.22.4.07a1 1 0 0 0 .64-.15l.18-.1q.08-.06.13-.06.07 0 .1.06zm1.7.5q-.38 0-.59-.2-.2-.22-.2-.62v-1.96h-.39q-.05 0-.08-.03-.04-.03-.04-.1v-.22l.53-.07.13-.99q0-.05.04-.08l.09-.03h.28v1.1h.93v.42h-.93v1.92q0 .21.1.3.1.1.25.1a.5.5 0 0 0 .27-.07l.08-.06.06-.02q.05 0 .08.05l.16.27q-.15.14-.35.22a1 1 0 0 1-.42.07m3.02-1.5q-.39.03-.67.07-.27.05-.44.13a1 1 0 0 0-.25.19.4.4 0 0 0-.08.24q0 .12.04.22l.11.15q.07.05.17.08l.2.03q.15 0 .28-.03.12-.03.23-.09t.21-.14.2-.18zm-1.82-1.3q.27-.25.57-.39.3-.12.68-.12.27 0 .48.09a1 1 0 0 1 .56.63q.08.22.08.5v2.04h-.25q-.09 0-.13-.02t-.07-.11l-.06-.3-.25.2q-.12.1-.25.16-.14.06-.29.09a1.4 1.4 0 0 1-.68-.02.8.8 0 0 1-.48-.42 1 1 0 0 1-.07-.38 1 1 0 0 1 .1-.36 1 1 0 0 1 .34-.32q.24-.13.61-.22.38-.1.93-.1v-.25q0-.38-.16-.56-.16-.2-.48-.2a1 1 0 0 0-.59.18l-.18.11-.14.05-.1-.03-.07-.07zm3.8 1.98q.14.21.33.3t.4.08q.45 0 .7-.32t.24-.95q0-.6-.22-.87a.7.7 0 0 0-.6-.28 1 1 0 0 0-.48.13q-.2.12-.38.36zm0-1.97q.2-.24.45-.38t.58-.14q.3 0 .51.11t.39.31q.15.2.24.5t.08.65q0 .4-.1.72-.09.31-.27.54a1.3 1.3 0 0 1-1 .48q-.33 0-.54-.12a1 1 0 0 1-.38-.34l-.03.3q-.02.1-.14.11h-.37v-4.66h.57zm4.31-.52q.36 0 .64.12a1.4 1.4 0 0 1 .78.86q.1.3.1.68t-.1.68-.3.52-.48.33q-.29.12-.64.12a2 2 0 0 1-.63-.12 1.4 1.4 0 0 1-.8-.85 2 2 0 0 1-.1-.68q0-.38.1-.68.12-.3.31-.53.2-.21.49-.33t.63-.12m0 2.87q.48 0 .71-.32.24-.31.24-.89 0-.57-.24-.9-.23-.3-.7-.31a1 1 0 0 0-.43.08 1 1 0 0 0-.3.24q-.1.15-.17.38-.06.22-.06.51 0 .57.24.9.24.3.71.3m3.17.44q-.38 0-.59-.2-.2-.22-.2-.62v-1.96h-.38q-.05 0-.09-.03t-.03-.1v-.22l.52-.07.13-.99q0-.05.04-.08a.1.1 0 0 1 .1-.03h.28v1.1h.92v.42h-.92v1.92q0 .21.1.3.09.1.25.1l.26-.07.08-.06.06-.02q.05 0 .08.05l.16.27q-.14.14-.35.22a1 1 0 0 1-.42.07m5.13-2.69-.05.06-.07.02-.1-.04a1 1 0 0 0-.35-.17 1 1 0 0 0-.3-.05q-.24 0-.42.09a1 1 0 0 0-.3.24q-.12.15-.18.38a2 2 0 0 0 0 1.03q.07.22.19.38.12.15.3.23t.38.08.34-.05l.22-.1.15-.12.11-.05q.07 0 .11.06l.16.2q-.1.13-.24.22a1.5 1.5 0 0 1-.95.28q-.3 0-.56-.11a1 1 0 0 1-.44-.32 2 2 0 0 1-.3-.52q-.1-.3-.1-.7 0-.36.09-.66.1-.3.3-.53.18-.22.46-.34t.65-.13a1.5 1.5 0 0 1 1.05.42zm1.36-.14q.2-.21.45-.35.25-.12.58-.13.26 0 .46.1.2.07.34.24.13.15.2.38t.07.5v2.04h-.56v-2.04a1 1 0 0 0-.17-.56q-.17-.2-.5-.2a1 1 0 0 0-.47.11q-.22.13-.4.33v2.36h-.57v-4.66h.57zm4.7 1.34q-.4 0-.67.06t-.44.13a1 1 0 0 0-.25.19.4.4 0 0 0-.08.24q0 .12.04.22.04.08.11.15.07.05.17.08t.2.03q.16 0 .28-.03t.23-.09l.2-.14q.11-.07.2-.18zm-1.82-1.31q.25-.25.57-.39.3-.12.68-.12.27 0 .48.09a1 1 0 0 1 .56.63q.08.22.08.5v2.04h-.25q-.09 0-.13-.02t-.07-.11l-.06-.3-.25.2-.25.16q-.14.06-.29.09a1.4 1.4 0 0 1-.68-.02.8.8 0 0 1-.48-.42 1 1 0 0 1-.07-.38 1 1 0 0 1 .1-.36 1 1 0 0 1 .34-.32q.24-.13.61-.22.38-.1.93-.1v-.25q0-.38-.17-.56-.15-.2-.47-.2a1 1 0 0 0-.6.18l-.17.11-.14.05-.1-.03-.07-.07zm4.16 2.8q-.37 0-.58-.2-.2-.22-.2-.62v-1.96h-.4l-.08-.03q-.03-.03-.03-.1v-.22l.52-.07.13-.99q.01-.05.05-.08l.08-.03h.29v1.1h.93v.42h-.93v1.92q0 .21.1.3.1.1.25.1a.5.5 0 0 0 .27-.07l.07-.06.06-.02q.05 0 .08.05l.17.27q-.15.14-.35.22a1 1 0 0 1-.43.07m75.56-3.87-.07.08-.08.02q-.04 0-.12-.06a2 2 0 0 0-.45-.23q-.15-.06-.37-.06-.2 0-.36.06a1 1 0 0 0-.26.15l-.16.22a1 1 0 0 0-.06.28q0 .19.1.32.09.12.24.2.15.1.35.16l.8.3q.19.08.35.21a1 1 0 0 1 .34.8q0 .3-.1.57-.1.25-.3.45t-.48.3q-.28.12-.64.11-.44 0-.8-.16a2 2 0 0 1-.62-.43l.18-.29.06-.06.08-.02q.04 0 .09.03l.12.09.34.22.25.08a1.4 1.4 0 0 0 .7-.03q.18-.06.3-.17a1 1 0 0 0 .18-.26q.06-.15.06-.34a.6.6 0 0 0-.1-.33 1 1 0 0 0-.24-.22q-.15-.09-.35-.15l-.4-.13-.4-.15a1 1 0 0 1-.34-.22q-.15-.14-.25-.34-.09-.2-.09-.5a1.2 1.2 0 0 1 .37-.87q.18-.18.44-.28.25-.1.6-.1.38 0 .69.11t.55.35zm1.46 1.56q0 .42.11.75t.33.57q.2.22.5.35t.67.12.66-.12a1.4 1.4 0 0 0 .83-.91q.1-.34.11-.75 0-.42-.11-.76-.12-.32-.32-.56a1.4 1.4 0 0 0-.5-.35q-.3-.12-.67-.12t-.66.12a1.4 1.4 0 0 0-.84.91 2 2 0 0 0-.11.75m4.05 3.21h-.5l-.2-.03a.4.4 0 0 1-.17-.11l-.8-.87q-.35.12-.77.12-.5 0-.91-.17a2 2 0 0 1-1.17-1.2q-.16-.44-.16-.94 0-.51.16-.94t.46-.74.7-.48.92-.17.9.17a2 2 0 0 1 1.17 1.22 2.6 2.6 0 0 1 .1 1.54 2.3 2.3 0 0 1-.5 1q-.16.2-.39.34zm3.24-1.45v.51h-2.57v-4.54h.6v4.03zm3.09-1.06q.17 0 .3-.04l.21-.14q.09-.08.14-.2l.04-.26q0-.3-.18-.47-.18-.18-.51-.18-.34 0-.53.18a.6.6 0 0 0-.17.47q0 .15.04.26a.6.6 0 0 0 .36.34q.12.04.3.04m1.01 1.75a.3.3 0 0 0-.06-.2.4.4 0 0 0-.19-.1l-.25-.06q-.15-.03-.32-.03l-.34-.02q-.17 0-.32-.03a1 1 0 0 0-.3.2.4.4 0 0 0-.05.5q.06.09.17.16.11.06.28.1t.41.05.4-.04a1 1 0 0 0 .31-.12l.2-.18a.4.4 0 0 0 .06-.23m.57-3.26v.2q0 .12-.13.14l-.36.05q.1.22.1.46a1 1 0 0 1-.33.76q-.15.14-.38.2-.22.08-.48.08-.23 0-.43-.05l-.15.13a.2.2 0 0 0-.06.14q0 .12.1.18l.24.08q.15.03.35.03a8 8 0 0 1 .8.07q.2.04.34.12t.25.21.09.37q0 .2-.1.4-.1.19-.3.34t-.47.24-.63.09-.62-.07-.43-.19a1 1 0 0 1-.26-.27 1 1 0 0 1-.09-.32q0-.25.15-.4.15-.17.4-.27l-.22-.16a.5.5 0 0 1-.08-.3l.02-.13q.02-.07.08-.15a1 1 0 0 1 .3-.26 1 1 0 0 1-.37-.35 1 1 0 0 1-.13-.52 1 1 0 0 1 .34-.75q.16-.14.39-.2a1.6 1.6 0 0 1 1.2.1zm2.68 1.13q0-.2-.06-.36a.8.8 0 0 0-.41-.46 1 1 0 0 0-.35-.07 1 1 0 0 0-.64.24 1 1 0 0 0-.3.65zm.46 1.5q-.11.13-.25.22-.15.1-.32.16a2 2 0 0 1-.69.12q-.34 0-.61-.11a1.4 1.4 0 0 1-.8-.87 2.2 2.2 0 0 1-.02-1.36q.1-.3.3-.5.2-.22.47-.34a1.5 1.5 0 0 1 1.16-.03q.25.1.42.28.19.18.28.45t.1.6q0 .15-.02.19t-.1.04h-2.15q0 .3.08.53t.21.38.32.22.4.07a1 1 0 0 0 .64-.15l.18-.1q.08-.06.13-.06.07 0 .1.06zm1.27-2.3a2 2 0 0 1 .47-.36q.13-.08.28-.1a1.3 1.3 0 0 1 .78.04q.2.09.33.25.15.15.2.38.08.23.08.5v2.04h-.57v-2.04a1 1 0 0 0-.17-.56q-.15-.2-.5-.2a1 1 0 0 0-.47.11q-.2.13-.4.33v2.36h-.56v-3.2h.34q.12 0 .14.11zm5.14.8q0-.2-.06-.36a.75.75 0 0 0-.76-.53 1 1 0 0 0-.64.24 1 1 0 0 0-.3.65zm.45 1.5q-.1.13-.25.22a2 2 0 0 1-.65.25l-.35.03q-.34 0-.61-.11a1.4 1.4 0 0 1-.8-.87 2.2 2.2 0 0 1-.02-1.36q.1-.3.3-.5.2-.22.47-.34a1.5 1.5 0 0 1 1.16-.03q.24.1.42.28.19.18.28.45t.1.6q0 .15-.02.19t-.11.04h-2.14q0 .3.08.53t.2.38q.15.15.32.22.19.07.42.07a1 1 0 0 0 .63-.15l.18-.1q.08-.06.13-.06.07 0 .1.06zm1.28-2.11q.16-.33.37-.52a.8.8 0 0 1 .55-.18l.19.02q.1.02.17.07l-.05.42q0 .08-.09.08l-.13-.02a1 1 0 0 0-.47.03l-.2.13-.17.21q-.08.14-.14.3v2.02h-.56v-3.2h.32q.09 0 .13.03.03.03.04.12zm3.46 1.12q-.39 0-.67.06-.27.05-.44.13a1 1 0 0 0-.25.19.4.4 0 0 0-.08.24q0 .12.04.22l.11.15q.07.05.17.08l.2.03q.16 0 .28-.03t.23-.09.21-.14.2-.18zm-1.82-1.31q.27-.25.57-.39.3-.12.68-.12.27 0 .48.09a1 1 0 0 1 .56.63q.08.22.08.49v2.05h-.25q-.09 0-.13-.02t-.07-.11l-.06-.3-.25.2-.25.16q-.13.06-.29.09a2 2 0 0 1-.68-.02.8.8 0 0 1-.48-.42 1 1 0 0 1-.07-.38 1 1 0 0 1 .1-.36 1 1 0 0 1 .34-.32q.24-.13.61-.22.37-.1.93-.1v-.25q0-.38-.16-.56-.17-.2-.47-.2a1 1 0 0 0-.36.06l-.24.11-.18.12-.14.05-.1-.03-.07-.07zm6.15 2.75h-.56v-2.73h-1.65v1.92q0 .21.1.3.1.1.25.1a.5.5 0 0 0 .27-.07l.08-.06.06-.02q.04 0 .07.05l.17.27q-.14.14-.35.22t-.43.07q-.37 0-.58-.2-.2-.22-.2-.62v-1.96h-.39l-.08-.03q-.04-.03-.04-.1v-.22l.53-.07.13-1 .04-.07.09-.03h.28v1.1h2.21zm.14-4.24q0 .09-.03.16l-.09.12a.4.4 0 0 1-.28.12l-.16-.03a.4.4 0 0 1-.2-.21.4.4 0 0 1 0-.31l.08-.13.12-.09q.07-.03.16-.03t.15.03q.08.03.13.09t.09.13zm2.14.98q.35 0 .63.12a1.4 1.4 0 0 1 .79.86q.1.3.1.68t-.1.68-.3.52-.49.33-.63.12a2 2 0 0 1-.64-.12 1.4 1.4 0 0 1-.79-.85q-.1-.3-.1-.68t.1-.68.31-.53q.2-.21.48-.33t.64-.12m0 2.87q.47 0 .7-.32.24-.32.24-.89t-.23-.9q-.24-.3-.71-.31a1 1 0 0 0-.42.08 1 1 0 0 0-.3.24q-.12.15-.18.38-.05.22-.05.51 0 .57.23.89t.72.32m2.77-2.35a2 2 0 0 1 .47-.37q.13-.08.28-.1a1.3 1.3 0 0 1 .78.04q.2.09.33.25.14.15.2.38.08.23.08.5v2.04h-.57v-2.04a1 1 0 0 0-.17-.56q-.15-.2-.5-.2a1 1 0 0 0-.47.11q-.2.13-.4.33v2.36h-.56v-3.2h.34q.12 0 .14.11zm-86.54.48q0 .51-.16.92t-.46.72-.7.46-.91.16h-1.7v-4.54h1.7q.5 0 .9.17a2 2 0 0 1 1.17 1.18q.16.42.16.93m-.63 0q0-.42-.11-.75-.12-.32-.32-.56-.21-.23-.51-.35t-.66-.12h-1.08v3.55h1.08q.36 0 .66-.12a1.4 1.4 0 0 0 .83-.9q.11-.34.11-.75m2.69-1q.35 0 .63.12a1.4 1.4 0 0 1 .79.86q.1.3.1.68t-.1.68-.3.52-.49.33-.63.12a2 2 0 0 1-.64-.12 1.4 1.4 0 0 1-.48-.33 2 2 0 0 1-.3-.52q-.12-.3-.11-.68t.1-.68q.12-.3.31-.53.2-.21.48-.33.29-.12.64-.12m0 2.87q.48 0 .7-.32.25-.31.24-.89 0-.57-.23-.9-.24-.3-.71-.31a1 1 0 0 0-.42.08 1 1 0 0 0-.3.24q-.11.15-.18.38-.05.22-.05.51 0 .57.23.9.24.3.72.3m4.47-2.25-.05.06-.07.02-.1-.04a1 1 0 0 0-.35-.17 1 1 0 0 0-.3-.05q-.24 0-.42.09a1 1 0 0 0-.3.24q-.12.15-.19.38-.06.23-.06.5 0 .3.07.53.06.22.19.38.12.15.3.23.16.09.38.08a1 1 0 0 0 .34-.05l.22-.1.14-.12a.2.2 0 0 1 .12-.05q.07 0 .1.06l.17.2q-.1.14-.24.23a2 2 0 0 1-.61.24q-.16.03-.34.03-.3 0-.56-.11a1 1 0 0 1-.45-.32 2 2 0 0 1-.3-.52 2 2 0 0 1-.1-.7q0-.36.1-.66t.29-.53.47-.34.64-.13a1.5 1.5 0 0 1 1.06.42zm3.42-.56v3.2h-.33q-.12 0-.15-.11l-.05-.35q-.21.24-.47.38-.25.13-.6.13-.25 0-.46-.08a1 1 0 0 1-.33-.25q-.15-.15-.2-.38a2 2 0 0 1-.07-.5v-2.04h.56v2.04q0 .36.16.56.18.2.51.2.25 0 .47-.11.21-.13.4-.33v-2.37zm.9 3.2v-3.2h.33q.12 0 .15.11l.04.33q.18-.21.4-.36t.51-.14q.33 0 .53.19a1 1 0 0 1 .29.48q.06-.17.17-.3a1 1 0 0 1 .85-.37q.25 0 .45.09t.34.23.2.38.08.52v2.04h-.57v-2.04q0-.37-.16-.57t-.48-.2q-.14 0-.26.05a.6.6 0 0 0-.37.39q-.06.14-.05.33v2.04h-.57v-2.04q0-.39-.16-.58-.15-.19-.45-.19a1 1 0 0 0-.38.12q-.18.1-.33.3v2.4zm7.34-1.95q0-.2-.06-.36a.7.7 0 0 0-.41-.46 1 1 0 0 0-.35-.07 1 1 0 0 0-.64.24 1 1 0 0 0-.3.65zm.46 1.5q-.11.13-.25.23a2 2 0 0 1-.66.24 2 2 0 0 1-.96-.08 1.4 1.4 0 0 1-.8-.87 2.2 2.2 0 0 1-.02-1.36q.1-.3.3-.5.2-.22.47-.34a1.5 1.5 0 0 1 1.16-.03q.24.1.42.28t.29.45.1.6q0 .15-.03.19t-.11.04h-2.14q0 .3.08.53t.21.38.32.22q.19.08.4.08a1 1 0 0 0 .64-.16l.18-.1q.08-.06.13-.06.07 0 .1.06zm1.27-2.29a2 2 0 0 1 .47-.37q.13-.08.27-.1a1.3 1.3 0 0 1 .79.04q.2.09.33.25.15.15.2.38.08.23.08.5v2.04h-.57v-2.04a1 1 0 0 0-.17-.56q-.15-.2-.5-.2a1 1 0 0 0-.47.11q-.2.13-.4.33v2.36h-.56v-3.2h.34q.12 0 .14.11zm3.94 2.8q-.38 0-.59-.22-.2-.21-.2-.6v-1.97h-.39l-.08-.03q-.04-.03-.04-.1v-.22l.53-.07.13-.99q0-.05.04-.08l.09-.03h.28v1.1h.93v.42h-.93v1.92q0 .21.1.3.1.1.25.1a.5.5 0 0 0 .27-.07l.08-.06.06-.02q.03 0 .07.05l.17.27q-.14.15-.35.22a1 1 0 0 1-.43.07m3.14-2.74a.1.1 0 0 1-.11.07l-.11-.03-.36-.16a1 1 0 0 0-.54 0l-.2.1-.12.15a.4.4 0 0 0-.04.18q0 .12.07.2t.2.15q.1.06.26.1l.6.22q.16.06.27.16t.2.23q.06.14.06.33 0 .23-.07.41a1 1 0 0 1-.24.33q-.15.14-.38.22-.22.07-.52.07-.33 0-.6-.1a2 2 0 0 1-.47-.28l.14-.22.06-.06.08-.03q.06 0 .13.05l.15.1.22.1q.14.03.32.04.16 0 .29-.04l.2-.12q.09-.07.13-.17l.04-.2a.3.3 0 0 0-.08-.22l-.18-.15-.27-.1-.3-.1-.32-.12q-.15-.06-.26-.16a1 1 0 0 1-.2-.24 1 1 0 0 1-.06-.35 1 1 0 0 1 .3-.65q.14-.14.35-.21.2-.08.49-.08.31 0 .56.1t.44.28zm92.24-1.13-.06.08-.08.02q-.05 0-.12-.06a2 2 0 0 0-.45-.23 1 1 0 0 0-.37-.06q-.21 0-.36.06-.16.06-.27.15l-.16.22a1 1 0 0 0-.05.28q0 .19.1.32.09.12.24.2l.35.16.8.3q.2.08.34.21.15.14.25.33.1.2.1.47 0 .3-.1.57a1.3 1.3 0 0 1-.78.75q-.28.12-.64.11-.45 0-.8-.15-.37-.17-.62-.44l.17-.29.06-.06.08-.02.1.03.12.09.34.22.25.08a1.4 1.4 0 0 0 .7-.03q.17-.06.3-.16a1 1 0 0 0 .18-.27q.06-.15.06-.34a.6.6 0 0 0-.1-.33 1 1 0 0 0-.24-.22q-.15-.09-.35-.15l-.4-.13-.4-.15a1 1 0 0 1-.34-.22 1 1 0 0 1-.34-.85 1.2 1.2 0 0 1 .8-1.14q.27-.1.6-.1.39 0 .7.11t.54.35zm1.51-.83v4.66h-.56v-4.66zm2.65 3.22q-.39 0-.66.06t-.45.13a1 1 0 0 0-.25.19.4.4 0 0 0-.07.24q0 .12.04.22l.1.15q.08.05.18.08t.2.03q.16 0 .28-.03t.23-.09l.2-.14q.1-.07.2-.18zm-1.82-1.31q.27-.25.58-.39.3-.12.68-.12.26 0 .47.09a1 1 0 0 1 .57.63q.07.22.07.5v2.04h-.25q-.08 0-.12-.02-.05-.03-.07-.11l-.07-.3-.24.2q-.12.1-.26.16-.12.06-.28.09a1.4 1.4 0 0 1-.68-.02.8.8 0 0 1-.48-.42 1 1 0 0 1-.07-.38 1 1 0 0 1 .1-.36 1 1 0 0 1 .34-.32q.24-.13.61-.22.38-.1.92-.1v-.25q0-.38-.16-.56-.15-.2-.47-.2a1 1 0 0 0-.6.18l-.17.11a.3.3 0 0 1-.15.05l-.1-.03-.06-.07zm5.46.12-.05.05-.07.02-.1-.04a1 1 0 0 0-.35-.17 1 1 0 0 0-.3-.05q-.24 0-.42.09a1 1 0 0 0-.3.24q-.12.15-.18.38t-.06.5q0 .3.06.53.07.22.19.38.12.15.3.23.16.08.38.08a1 1 0 0 0 .34-.05l.22-.1.14-.12a.2.2 0 0 1 .12-.05q.07 0 .1.06l.17.2a1 1 0 0 1-.24.22 2 2 0 0 1-.6.25q-.17.03-.35.03-.3 0-.56-.11a1 1 0 0 1-.44-.32 2 2 0 0 1-.3-.52q-.1-.3-.11-.7 0-.36.1-.66t.29-.53.47-.34.64-.13q.35 0 .6.12.26.1.46.3zm1.36-2.03v2.74h.14l.1-.01.1-.08 1.01-1.08.1-.08.13-.04h.5l-1.18 1.26-.18.17.1.09.1.11 1.24 1.58h-.5q-.07 0-.13-.02l-.08-.09-1.06-1.31a.2.2 0 0 0-.1-.09l-.13-.02h-.16v1.53h-.57v-4.66zm49.55.12v4.54h-.54v-3.33l.02-.3-1.56 2.84q-.07.14-.22.14h-.09q-.15 0-.22-.14l-1.59-2.85.02.3v3.34h-.54v-4.54h.46q.08 0 .12.02.04.01.09.09l1.56 2.8.15.32.14-.33 1.54-2.8q.03-.06.08-.08l.13-.02zm4.34 3.6q.04 0 .09.05l.24.26q-.26.32-.68.5a2 2 0 0 1-.95.18q-.49 0-.89-.16a2 2 0 0 1-1.12-1.21q-.15-.43-.15-.94 0-.52.16-.94.16-.44.45-.74t.7-.48.9-.17.86.16.65.42l-.2.28-.05.06-.08.01q-.06 0-.14-.06l-.21-.13a1.6 1.6 0 0 0-.83-.2q-.34 0-.64.12t-.5.35q-.21.24-.33.56-.1.34-.11.75 0 .43.12.76t.33.57q.2.23.5.34.29.13.62.13.2 0 .36-.03a2 2 0 0 0 .56-.2l.23-.19.11-.04m2.38-1.24q.27 0 .46-.07a1 1 0 0 0 .34-.2q.14-.12.21-.3t.07-.38a1 1 0 0 0-.27-.68q-.27-.24-.8-.24H477v1.87zm0-2.36q.44 0 .75.1.32.1.52.29.22.18.31.44.1.26.11.58t-.11.58q-.1.27-.33.45a2 2 0 0 1-.53.3q-.3.1-.72.1h-.73v1.7h-.6v-4.54z"/>
+ <path fill="var(--illustration-brand)"
+ d="M269.5 215.03v-97.68h-41.12v97.68zm56 0v-64.41h-41.12v64.41zm56 0v-33.26h-41.12v33.26zm56 0v-86.06h-41.12v86.06zm56 0v-47h-41.12v47z"/>
+ </g>
+ <path fill="var(--illustration-brand)"
+ d="M77.19 65.76a.5.5 0 0 0-.15-.34.5.5 0 0 0-.27-.14h-9.44a.5.5 0 0 0-.37.14q-.15.14-.15.34v8.64l.88-.85.13-.11q.5-.4 1.16-.4h7.7q.2 0 .36-.15t.15-.35zm1.31 6.78a1.8 1.8 0 0 1-1.83 1.77h-7.7a.5.5 0 0 0-.35.14l-1.29 1.25a1.1 1.1 0 0 1-1.17.22q-.3-.12-.48-.38a1 1 0 0 1-.17-.42l-.01-.16v-9.2c0-.46.2-.91.53-1.24a2 2 0 0 1 1.3-.52h9.53q.63.08 1.1.52c.35.33.54.78.54 1.24zM72 151.25c.41 0 .75.34.75.75v4.15h.03l2.19-2.18a.75.75 0 1 1 1.06 1.06l-2.19 2.19.01.03H78a.75.75 0 0 1 0 1.5h-4.15v.03l2.18 2.19a.75.75 0 1 1-1.06 1.06l-2.19-2.19-.03.01V164a.75.75 0 0 1-1.5 0v-4.15h-.03l-2.19 2.18a.75.75 0 1 1-1.06-1.06l2.19-2.19-.01-.03H66a.75.75 0 0 1 0-1.5h4.15v-.03l-2.18-2.19a.75.75 0 1 1 1.06-1.06l2.19 2.19.03-.01V152c0-.41.34-.75.75-.75m-3.47 89.72a.75.75 0 1 0-1.06 1.06l2.97 2.97-2.97 2.97a.75.75 0 1 0 1.06 1.06l3.5-3.5c.3-.3.3-.77 0-1.06zm9.47 9.28a.75.75 0 0 1 0 1.5h-6a.75.75 0 0 1 0-1.5z"/>
+ <path stroke="var(--illustration-brand)" d="M78 250.25a.75.75 0 0 1 0 1.5h-6a.75.75 0 0 1 0-1.5z"/>
+ <defs>
+ <filter id="a" width="73.23" height="73.23" x="35.79" y="38.05" color-interpolation-filters="sRGB"
+ filterUnits="userSpaceOnUse">
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
+ <feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
+ <feOffset dy="4.65"/>
+ <feGaussianBlur stdDeviation="9.3"/>
+ <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
+ <feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1_285"/>
+ <feBlend in="SourceGraphic" in2="effect1_dropShadow_1_285" result="shape"/>
+ </filter>
+ <filter id="b" width="73.23" height="73.23" x="35.79" y="125.86" color-interpolation-filters="sRGB"
+ filterUnits="userSpaceOnUse">
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
+ <feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
+ <feOffset dy="4.65"/>
+ <feGaussianBlur stdDeviation="9.3"/>
+ <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
+ <feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1_285"/>
+ <feBlend in="SourceGraphic" in2="effect1_dropShadow_1_285" result="shape"/>
+ </filter>
+ <filter id="c" width="73.23" height="73.23" x="35.79" y="213.67" color-interpolation-filters="sRGB"
+ filterUnits="userSpaceOnUse">
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
+ <feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
+ <feOffset dy="4.65"/>
+ <feGaussianBlur stdDeviation="9.3"/>
+ <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
+ <feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1_285"/>
+ <feBlend in="SourceGraphic" in2="effect1_dropShadow_1_285" result="shape"/>
+ </filter>
+ <filter id="d" width="391.64" height="216.96" x="158" y="55" color-interpolation-filters="sRGB"
+ filterUnits="userSpaceOnUse">
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
+ <feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
+ <feOffset dy="6"/>
+ <feGaussianBlur stdDeviation="12"/>
+ <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
+ <feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1_285"/>
+ <feBlend in="SourceGraphic" in2="effect1_dropShadow_1_285" result="shape"/>
+ </filter>
+ </defs>
+</svg>