Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(insights): experiment with visual new insight menu variants (#72608)

Thomas Obermüller083d5e1523f6
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index 3774f62e78bc..f624ac88dc3d 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -6926,6 +6926,14 @@ snapshots:
hash: v1.k794b7964.e9ffaf5a9af0f5e766cba20128491f842dce8849c041b3d3f4e6432e94306998.dHNQ6L9tFR-OVJ-o_zgDyElo7v8pXfSoXl8ZEBl20eE
scenes-app-saved-insights--search-results--light:
hash: v1.k794b7964.a7e1c5334e9e3c3ea3c616dbf31ab9d8e0cc428db4376f10152b022959500d5e.CNZ66Ebm_c7BNBYLPPBwS9iiz2O3P-mkE46XuBkGKos
+ scenes-app-saved-insights-new-insight-menu--chips-overlay--dark:
+ hash: v1.k794b7964.fcabcc79cc98ec8be499627e122f1d8e85c04cef4904ed35937c58402487bd88.pdnqrw_LEDnkyYxZPkmenVsjYaWYuHl2GOpAqMIA9Fg
+ scenes-app-saved-insights-new-insight-menu--chips-overlay--light:
+ hash: v1.k794b7964.734bf73c0aacf34fa60365106192d1a705ce2470faccd609b493bc6013427bff.DlKlVXWYBikhZE9lb-F8QKKTFPHVLET5XZdYeS0GRH4
+ scenes-app-saved-insights-new-insight-menu--grouped-overlay--dark:
+ hash: v1.k794b7964.0308bca93f90618e10d9c366f0e18c7ec79cdb295320d278de5b584d2394c42c.4ik9p5vbMBj6F6CSkRUKx7ZpeBDanxMa0xSC4VC3QxI
+ scenes-app-saved-insights-new-insight-menu--grouped-overlay--light:
+ hash: v1.k794b7964.1ed49ef01f24d1bf519ec7a184b4ae9a809705421510221f60fe5d22ab5052f7.FTV3mfkHio4riI82tiGFRA4e-rcdasqh62XJtba9AXU
scenes-app-sessionattributionexplorer--session-attribution-explorer--dark:
hash: v1.k794b7964.f155136ab341d343517047052786c945b29e035f5c6688c170ddb34644977402.YdTYmTEtPQ8DA5jLsTAJuOZMdr956Jug7d1kOO4BvDM
scenes-app-sessionattributionexplorer--session-attribution-explorer--light:
diff --git a/frontend/src/lib/constants.tsx b/frontend/src/lib/constants.tsx
index 850cb86fa308..017d31e48b48 100644
--- a/frontend/src/lib/constants.tsx
+++ b/frontend/src/lib/constants.tsx
@@ -176,6 +176,7 @@ export const FEATURE_FLAGS = {
// UX flags, used to control the UX of the app
CREATE_BUTTON_NAV_EXPERIMENT: 'create-button-nav-experiment', // owner: #team-platform-ux multivariate=control,test — adds a Create dropdown to the top of the Browse tab in the left nav
MORE_MENU_ICON_EXPERIMENT: 'more-menu-icon-experiment', // owner: #team-platform-ux multivariate=control,test — A/B test of the "More" nav button icon: control = 3-line hamburger menu icon, test = filled burger glyph
+ NEW_INSIGHT_MENU_EXPERIMENT: 'new-insight-menu-experiment', // owner: @thmsobrmlr #team-product-analytics multivariate=control,chips,grouped — experiment on the saved insights "New" menu: control = text list, chips = visual card grid with sub-insight chips, grouped = two-column card grid grouped by question
STARRED_REORDER: 'starred-reorder', // owner: #team-platform-ux, drag-and-drop reorder of starred shortcuts in the side panel
UX_HIDE_PROJECT_NOTICE: 'ux-hide-project-notice', // owner: #team-platform-ux, hides the project notice banner across all scenes
diff --git a/frontend/src/lib/utils/eventUsageLogic.ts b/frontend/src/lib/utils/eventUsageLogic.ts
index 00273a1b6fdc..afb9cda04566 100644
--- a/frontend/src/lib/utils/eventUsageLogic.ts
+++ b/frontend/src/lib/utils/eventUsageLogic.ts
@@ -1672,8 +1672,12 @@ export interface eventUsageLogicActions {
reportSavedInsightFilterUsed: (filterKeys: string[]) => {
filterKeys: string[]
}
- reportSavedInsightNewInsightClicked: (insightType: string) => {
+ reportSavedInsightNewInsightClicked: (
+ insightType: string,
+ presetKey?: string
+ ) => {
insightType: string
+ presetKey: string | undefined
}
reportSavedInsightTabChanged: (tab: string) => {
tab: string
@@ -2256,7 +2260,10 @@ export const eventUsageLogic = kea<eventUsageLogicType>([
) => ({ fromDashboardId, toDashboardId, tileType }),
reportSavedInsightTabChanged: (tab: string) => ({ tab }),
reportSavedInsightFilterUsed: (filterKeys: string[]) => ({ filterKeys }),
- reportSavedInsightNewInsightClicked: (insightType: string) => ({ insightType }),
+ reportSavedInsightNewInsightClicked: (insightType: string, presetKey?: string) => ({
+ insightType,
+ presetKey,
+ }),
reportPersonSplit: (merge_count: number) => ({ merge_count }),
reportHelpButtonViewed: true,
reportHelpButtonUsed: (help_type: HelpType) => ({ help_type }),
@@ -3300,8 +3307,11 @@ export const eventUsageLogic = kea<eventUsageLogicType>([
reportSavedInsightTabChanged: ({ tab }) => {
posthog.capture('saved insights list page tab changed', { tab })
},
- reportSavedInsightNewInsightClicked: ({ insightType }) => {
- posthog.capture('saved insights new insight clicked', { insight_type: insightType })
+ reportSavedInsightNewInsightClicked: ({ insightType, presetKey }) => {
+ posthog.capture('saved insights new insight clicked', {
+ insight_type: insightType,
+ ...(presetKey ? { preset_key: presetKey } : {}),
+ })
},
reportPersonSplit: (props) => {
posthog.capture('split person started', props)
diff --git a/frontend/src/scenes/saved-insights/InsightTypeSketch.tsx b/frontend/src/scenes/saved-insights/InsightTypeSketch.tsx
new file mode 100644
index 000000000000..00ff6e1c8331
--- /dev/null
+++ b/frontend/src/scenes/saved-insights/InsightTypeSketch.tsx
@@ -0,0 +1,348 @@
+import { InsightType } from '~/types'
+
+import { WORLD_MAP_BASE_D, WORLD_MAP_HIGHLIGHTS } from './worldMapSketchData'
+
+// Hand-drawn-style previews for the new insight picker. Colors come from theme
+// CSS variables so the sketches adapt to light/dark mode automatically.
+const AXIS = 'var(--color-border-primary)'
+const TEXT = 'var(--color-text-primary)'
+const TEXT_MUTED = 'var(--color-text-secondary)'
+const INK = 'var(--data-color-1)'
+const INK_ALT = 'var(--data-color-14)'
+const INK_UP = 'var(--data-color-7)'
+const INK_DOWN = 'var(--data-color-5)'
+const INK_AI = 'var(--color-ai)'
+
+function SketchSvg({ children }: { children: React.ReactNode }): JSX.Element {
+ return (
+ <svg viewBox="0 0 160 88" className="w-full h-auto" fill="none" aria-hidden="true">
+ {children}
+ </svg>
+ )
+}
+
+function Star({ cx, cy, r, fill }: { cx: number; cy: number; r: number; fill: string }): JSX.Element {
+ const inner = r * 0.32
+ return (
+ <path
+ d={`M${cx} ${cy - r} L${cx + inner} ${cy - inner} L${cx + r} ${cy} L${cx + inner} ${cy + inner} L${cx} ${cy + r} L${cx - inner} ${cy + inner} L${cx - r} ${cy} L${cx - inner} ${cy - inner} Z`}
+ fill={fill}
+ />
+ )
+}
+
+export function TrendsSketch(): JSX.Element {
+ return (
+ <SketchSvg>
+ <path d="M12 10 V74 H148" stroke={AXIS} strokeWidth="1.5" strokeDasharray="3 4" strokeLinecap="round" />
+ <path
+ d="M14 68 C 30 66, 40 62, 54 61 C 68 60, 78 54, 92 52 C 106 50, 118 46, 130 42 C 138 39.5, 143 38, 147 36"
+ stroke={INK_ALT}
+ strokeWidth="2.5"
+ strokeLinecap="round"
+ opacity="0.6"
+ />
+ <path
+ d="M14 60 C 24 59, 32 50, 42 51 C 52 52, 58 40, 70 38 C 82 36, 88 44, 100 36 C 112 28, 120 30, 132 20 C 138 15, 143 14, 147 11"
+ stroke={INK}
+ strokeWidth="2.5"
+ strokeLinecap="round"
+ />
+ {[
+ [42, 51],
+ [70, 38],
+ [100, 36],
+ [132, 20],
+ ].map(([cx, cy]) => (
+ <circle key={cx} cx={cx} cy={cy} r="3" fill={INK} />
+ ))}
+ </SketchSvg>
+ )
+}
+
+export function FunnelSketch(): JSX.Element {
+ const bars: [number, number][] = [
+ [14, 56],
+ [50, 36],
+ [86, 22],
+ [122, 12],
+ ]
+ return (
+ <SketchSvg>
+ <path d="M12 74 H148" stroke={AXIS} strokeWidth="1.5" strokeDasharray="3 4" strokeLinecap="round" />
+ {bars.map(([x, height], index) => (
+ <rect
+ key={x}
+ x={x}
+ y={74 - height}
+ width="28"
+ height={height}
+ rx="3"
+ fill={INK}
+ opacity={1 - index * 0.24}
+ />
+ ))}
+ {bars.slice(0, -1).map(([x, height], index) => {
+ const [nextX, nextHeight] = bars[index + 1]
+ return (
+ <path
+ key={x}
+ d={`M${x + 28} ${74 - height} L${nextX} ${74 - nextHeight} V74 H${x + 28} Z`}
+ fill={INK}
+ opacity="0.1"
+ />
+ )
+ })}
+ </SketchSvg>
+ )
+}
+
+export function RetentionSketch(): JSX.Element {
+ return (
+ <SketchSvg>
+ {[7, 6, 5, 4].map((cells, row) => (
+ <g key={row}>
+ {Array.from({ length: cells }, (_, col) => (
+ <rect
+ key={col}
+ x={14 + col * 19}
+ y={14 + row * 15}
+ width="16"
+ height="11"
+ rx="2"
+ fill={INK}
+ opacity={Math.max(0.2, 0.95 - col * 0.13)}
+ />
+ ))}
+ </g>
+ ))}
+ </SketchSvg>
+ )
+}
+
+export function PathsSketch(): JSX.Element {
+ return (
+ <SketchSvg>
+ <path d="M21 34 C 60 34, 85 20, 138 20" stroke={INK} strokeWidth="11" strokeLinecap="round" opacity="0.3" />
+ <path d="M21 45 C 60 45, 85 47, 138 48" stroke={INK} strokeWidth="8" strokeLinecap="round" opacity="0.22" />
+ <path
+ d="M21 55 C 55 56, 85 70, 138 70"
+ stroke={INK}
+ strokeWidth="5.5"
+ strokeLinecap="round"
+ opacity="0.15"
+ />
+ <rect x="12" y="28" width="9" height="32" rx="2.5" fill={INK} opacity="0.9" />
+ <rect x="138" y="13" width="9" height="15" rx="2.5" fill={INK} opacity="0.75" />
+ <rect x="138" y="41" width="9" height="13" rx="2.5" fill={INK} opacity="0.55" />
+ <rect x="138" y="64" width="9" height="11" rx="2.5" fill={INK} opacity="0.4" />
+ </SketchSvg>
+ )
+}
+
+export function StickinessSketch(): JSX.Element {
+ const heights = [54, 38, 27, 19, 13, 9, 6]
+ return (
+ <SketchSvg>
+ <path d="M12 74 H148" stroke={AXIS} strokeWidth="1.5" strokeDasharray="3 4" strokeLinecap="round" />
+ {heights.map((height, index) => (
+ <rect
+ key={index}
+ x={14 + index * 19}
+ y={74 - height}
+ width="14"
+ height={height}
+ rx="2"
+ fill={INK}
+ opacity={Math.max(0.35, 1 - index * 0.11)}
+ />
+ ))}
+ </SketchSvg>
+ )
+}
+
+export function LifecycleSketch(): JSX.Element {
+ const up = [16, 22, 13, 26, 18, 24]
+ const down = [9, 13, 18, 7, 15, 11]
+ return (
+ <SketchSvg>
+ {up.map((height, index) => (
+ <rect
+ key={index}
+ x={16 + index * 22}
+ y={45 - 2 - height}
+ width="15"
+ height={height}
+ rx="2"
+ fill={INK_UP}
+ opacity="0.85"
+ />
+ ))}
+ {down.map((height, index) => (
+ <rect
+ key={index}
+ x={16 + index * 22}
+ y={47}
+ width="15"
+ height={height}
+ rx="2"
+ fill={INK_DOWN}
+ opacity="0.7"
+ />
+ ))}
+ <path d="M12 45 H148" stroke={AXIS} strokeWidth="1.5" strokeDasharray="3 4" strokeLinecap="round" />
+ </SketchSvg>
+ )
+}
+
+export function SqlSketch(): JSX.Element {
+ return (
+ <SketchSvg>
+ <rect x="14" y="14" width="26" height="6" rx="3" fill={INK} />
+ <rect x="44" y="14" width="40" height="6" rx="3" fill={AXIS} />
+ <rect x="14" y="26" width="18" height="6" rx="3" fill={INK_ALT} />
+ <rect x="36" y="26" width="52" height="6" rx="3" fill={AXIS} />
+ <rect x="14" y="38" width="30" height="6" rx="3" fill={INK} />
+ <rect x="48" y="38" width="24" height="6" rx="3" fill={AXIS} />
+ <rect x="76" y="38" width="20" height="6" rx="3" fill="var(--data-color-4)" />
+ <rect x="14" y="54" width="118" height="24" rx="3" stroke={AXIS} strokeWidth="1.5" />
+ <path d="M14 66 H132 M55 54 V78 M96 54 V78" stroke={AXIS} strokeWidth="1.5" />
+ </SketchSvg>
+ )
+}
+
+export function AiSketch(): JSX.Element {
+ return (
+ <SketchSvg>
+ <rect x="14" y="12" width="132" height="16" rx="8" stroke={AXIS} strokeWidth="1.5" />
+ <rect x="22" y="18" width="46" height="4" rx="2" fill={AXIS} />
+ <Star cx={134} cy={20} r={6} fill={INK_AI} />
+ <path
+ d="M14 72 C 28 71, 38 62, 52 61 C 66 60, 74 50, 90 46 C 106 42, 116 34, 130 28 C 137 25, 142 24, 146 22"
+ stroke={INK_AI}
+ strokeWidth="2.5"
+ strokeLinecap="round"
+ />
+ {[
+ [52, 61],
+ [90, 46],
+ [130, 28],
+ ].map(([cx, cy]) => (
+ <circle key={cx} cx={cx} cy={cy} r="2.5" fill={INK_AI} />
+ ))}
+ <Star cx={112} cy={56} r={4} fill={INK_AI} />
+ </SketchSvg>
+ )
+}
+
+export function WorldMapSketch(): JSX.Element {
+ return (
+ <SketchSvg>
+ {/* Mirrors the insight: countries without data in border color, countries with data shaded by value */}
+ <path d={WORLD_MAP_BASE_D} fill={AXIS} fillRule="evenodd" />
+ {/* Hairline stroke keeps thin necks (e.g. New England) visible at sketch scale */}
+ {WORLD_MAP_HIGHLIGHTS.map(({ opacity, d }, index) => (
+ <path
+ key={index}
+ d={d}
+ fill={INK}
+ fillRule="evenodd"
+ stroke={INK}
+ strokeWidth="0.6"
+ strokeLinejoin="round"
+ opacity={opacity}
+ />
+ ))}
+ </SketchSvg>
+ )
+}
+
+export function TableSketch(): JSX.Element {
+ const values = [64, 44, 30, 18]
+ return (
+ <SketchSvg>
+ <rect x="14" y="12" width="132" height="64" rx="3" stroke={AXIS} strokeWidth="1.5" />
+ <path d="M14 26 H146 M14 40 H146 M14 54 H146 M14 68 H146" stroke={AXIS} strokeWidth="1" opacity="0.6" />
+ <path d="M62 12 V76" stroke={AXIS} strokeWidth="1" opacity="0.6" />
+ <rect x="20" y="16" width="28" height="5" rx="2.5" fill={INK_ALT} />
+ <rect x="68" y="16" width="20" height="5" rx="2.5" fill={INK_ALT} />
+ {values.map((value, index) => (
+ <g key={index}>
+ <rect x="20" y={30 + index * 14} width={34 - index * 5} height="5" rx="2.5" fill={AXIS} />
+ <rect
+ x="68"
+ y={30 + index * 14}
+ width={value}
+ height="5"
+ rx="2.5"
+ fill={INK}
+ opacity={1 - index * 0.18}
+ />
+ </g>
+ ))}
+ </SketchSvg>
+ )
+}
+
+export function NumberSketch(): JSX.Element {
+ return (
+ <SketchSvg>
+ {/* Mirrors BoldNumber: one huge centered value, comparison row below */}
+ <text x="80" y="50" textAnchor="middle" fill={TEXT} fontSize="38" fontWeight="700" letterSpacing="-0.95">
+ 1,024
+ </text>
+ {/* "Up 12% from previous period" — trending icon + text bars, link in accent */}
+ <path
+ d="M41 68 L46 63 L49.5 66 L55 60.5 M51.5 60.5 H55 V64"
+ stroke={TEXT_MUTED}
+ strokeWidth="2"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ />
+ <rect x="60" y="62" width="34" height="5" rx="2.5" fill={TEXT_MUTED} opacity="0.45" />
+ <rect x="97" y="62" width="22" height="5" rx="2.5" fill={INK} opacity="0.8" />
+ </SketchSvg>
+ )
+}
+
+export function PieSketch(): JSX.Element {
+ return (
+ <SketchSvg>
+ <path d="M80 44 L80 16 A28 28 0 0 1 80 72 Z" fill={INK} opacity="0.9" />
+ <path d="M80 44 L80 72 A28 28 0 0 1 53.4 35.3 Z" fill={INK} opacity="0.5" />
+ <path d="M80 44 L53.4 35.3 A28 28 0 0 1 80 16 Z" fill={INK} opacity="0.25" />
+ </SketchSvg>
+ )
+}
+
+/** Fallback for insight types without a dedicated sketch. */
+export function GenericInsightSketch(): JSX.Element {
+ const heights = [22, 38, 30, 48, 40, 56]
+ return (
+ <SketchSvg>
+ <path d="M12 74 H148" stroke={AXIS} strokeWidth="1.5" strokeDasharray="3 4" strokeLinecap="round" />
+ {heights.map((height, index) => (
+ <rect
+ key={index}
+ x={16 + index * 22}
+ y={74 - height}
+ width="15"
+ height={height}
+ rx="2"
+ fill={INK}
+ opacity="0.7"
+ />
+ ))}
+ </SketchSvg>
+ )
+}
+
+export const INSIGHT_TYPE_SKETCHES: Partial<Record<InsightType, () => JSX.Element>> = {
+ [InsightType.TRENDS]: TrendsSketch,
+ [InsightType.FUNNELS]: FunnelSketch,
+ [InsightType.RETENTION]: RetentionSketch,
+ [InsightType.PATHS]: PathsSketch,
+ [InsightType.STICKINESS]: StickinessSketch,
+ [InsightType.LIFECYCLE]: LifecycleSketch,
+ [InsightType.SQL]: SqlSketch,
+}
diff --git a/frontend/src/scenes/saved-insights/NewInsightMenu.stories.tsx b/frontend/src/scenes/saved-insights/NewInsightMenu.stories.tsx
new file mode 100644
index 000000000000..3cfa38e02396
--- /dev/null
+++ b/frontend/src/scenes/saved-insights/NewInsightMenu.stories.tsx
@@ -0,0 +1,26 @@
+import { Meta, StoryObj } from '@storybook/react'
+
+import { NewInsightMenuChipsOverlay, NewInsightMenuGroupedOverlay } from './NewInsightMenu'
+
+const meta: Meta = {
+ title: 'Scenes-App/Saved Insights/New Insight Menu',
+}
+export default meta
+
+type Story = StoryObj
+
+export const ChipsOverlay: Story = {
+ render: () => (
+ <div className="border border-primary rounded bg-surface-primary w-fit p-1">
+ <NewInsightMenuChipsOverlay />
+ </div>
+ ),
+}
+
+export const GroupedOverlay: Story = {
+ render: () => (
+ <div className="border border-primary rounded bg-surface-primary w-fit p-1">
+ <NewInsightMenuGroupedOverlay />
+ </div>
+ ),
+}
diff --git a/frontend/src/scenes/saved-insights/NewInsightMenu.tsx b/frontend/src/scenes/saved-insights/NewInsightMenu.tsx
new file mode 100644
index 000000000000..30e5476da514
--- /dev/null
+++ b/frontend/src/scenes/saved-insights/NewInsightMenu.tsx
@@ -0,0 +1,560 @@
+import { useValues } from 'kea'
+
+import { IconGlobe, IconPieChart, IconPlusSmall, IconSparkles } from '@posthog/icons'
+
+import { AccessControlAction } from 'lib/components/AccessControlAction'
+import { Shortcut } from 'lib/components/Shortcuts/Shortcut'
+import { keyBinds } from 'lib/components/Shortcuts/shortcuts'
+import { FEATURE_FLAGS } from 'lib/constants'
+import { Icon123, IconTableChart } from 'lib/lemon-ui/icons'
+import { LemonButton } from 'lib/lemon-ui/LemonButton'
+import { LemonDivider } from 'lib/lemon-ui/LemonDivider'
+import { LemonDropdown } from 'lib/lemon-ui/LemonDropdown'
+import { LemonMenu, LemonMenuItems } from 'lib/lemon-ui/LemonMenu'
+import { Link } from 'lib/lemon-ui/Link'
+import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
+import { cn } from 'lib/utils/css-classes'
+import { eventUsageLogic } from 'lib/utils/eventUsageLogic'
+import { INSIGHT_TYPE_URLS } from 'scenes/insights/utils'
+import { INSIGHT_TYPES_METADATA } from 'scenes/saved-insights/insightTypesMetadata'
+import { Scene } from 'scenes/sceneTypes'
+import { urls } from 'scenes/urls'
+
+import { FunnelsQuery, InsightVizNode, NodeKind, TrendsQuery } from '~/queries/schema/schema-general'
+import {
+ AccessControlLevel,
+ AccessControlResourceType,
+ BaseMathType,
+ ChartDisplayType,
+ FunnelVizType,
+ InsightType,
+} from '~/types'
+
+import {
+ AiSketch,
+ GenericInsightSketch,
+ INSIGHT_TYPE_SKETCHES,
+ NumberSketch,
+ PieSketch,
+ TableSketch,
+ WorldMapSketch,
+} from './InsightTypeSketch'
+
+interface NewInsightCardSpec {
+ key: string
+ name: string
+ description: string
+ icon: React.ComponentType<{ className?: string }>
+ iconClassName?: string
+ sketch: () => JSX.Element
+ to: string
+ dataAttr: string
+ onClick?: () => void
+}
+
+// -- Preset queries: trends sub-insights seeded with opinionated defaults --
+
+function trendsPresetUrl(overrides: Partial<TrendsQuery>): string {
+ const query: InsightVizNode<TrendsQuery> = {
+ kind: NodeKind.InsightVizNode,
+ source: {
+ kind: NodeKind.TrendsQuery,
+ series: [
+ {
+ kind: NodeKind.EventsNode,
+ event: '$pageview',
+ name: '$pageview',
+ math: BaseMathType.TotalCount,
+ },
+ ],
+ trendsFilter: {},
+ ...overrides,
+ },
+ }
+ return urls.insightNew({ query })
+}
+
+function funnelsPresetUrl(vizType: FunnelVizType): string {
+ const query: InsightVizNode<FunnelsQuery> = {
+ kind: NodeKind.InsightVizNode,
+ source: {
+ kind: NodeKind.FunnelsQuery,
+ series: [
+ {
+ kind: NodeKind.EventsNode,
+ event: '$pageview',
+ name: '$pageview',
+ },
+ ],
+ funnelsFilter: { funnelVizType: vizType },
+ },
+ }
+ return urls.insightNew({ query })
+}
+
+const uniqueUsersSeries = [
+ {
+ kind: NodeKind.EventsNode as const,
+ event: '$pageview',
+ name: '$pageview',
+ math: BaseMathType.UniqueUsers,
+ },
+]
+
+const TRENDS_PRESET_URLS = {
+ worldMap: trendsPresetUrl({
+ series: uniqueUsersSeries,
+ trendsFilter: { display: ChartDisplayType.WorldMap },
+ breakdownFilter: { breakdown: '$geoip_country_code', breakdown_type: 'event' },
+ }),
+ table: trendsPresetUrl({
+ trendsFilter: { display: ChartDisplayType.ActionsTable },
+ breakdownFilter: { breakdown: '$pathname', breakdown_type: 'event' },
+ }),
+ number: trendsPresetUrl({
+ series: uniqueUsersSeries,
+ trendsFilter: { display: ChartDisplayType.BoldNumber },
+ }),
+ pie: trendsPresetUrl({
+ series: uniqueUsersSeries,
+ trendsFilter: { display: ChartDisplayType.ActionsPie },
+ breakdownFilter: { breakdown: '$device_type', breakdown_type: 'event' },
+ }),
+}
+
+function reportNewInsightClicked(insightType: InsightType, presetKey?: string): void {
+ eventUsageLogic.actions.reportSavedInsightNewInsightClicked(insightType, presetKey)
+}
+
+const SUB_INSIGHT_CARDS: Record<'worldMap' | 'table' | 'number' | 'pie', NewInsightCardSpec> = {
+ worldMap: {
+ key: 'preset-world-map',
+ name: 'World map',
+ description: 'Unique users per country.',
+ icon: IconGlobe,
+ sketch: WorldMapSketch,
+ to: TRENDS_PRESET_URLS.worldMap,
+ dataAttr: 'new-insight-menu-preset-world-map',
+ onClick: () => reportNewInsightClicked(InsightType.TRENDS, 'world-map'),
+ },
+ table: {
+ key: 'preset-table',
+ name: 'Table',
+ description: 'Totals ranked in a sortable table.',
+ icon: IconTableChart,
+ sketch: TableSketch,
+ to: TRENDS_PRESET_URLS.table,
+ dataAttr: 'new-insight-menu-preset-table',
+ onClick: () => reportNewInsightClicked(InsightType.TRENDS, 'table'),
+ },
+ number: {
+ key: 'preset-number',
+ name: 'Number',
+ description: 'One big number for a single metric.',
+ icon: Icon123,
+ sketch: NumberSketch,
+ to: TRENDS_PRESET_URLS.number,
+ dataAttr: 'new-insight-menu-preset-number',
+ onClick: () => reportNewInsightClicked(InsightType.TRENDS, 'number'),
+ },
+ pie: {
+ key: 'preset-pie',
+ name: 'Pie chart',
+ description: 'Share of a total, split by a breakdown.',
+ icon: IconPieChart,
+ sketch: PieSketch,
+ to: TRENDS_PRESET_URLS.pie,
+ dataAttr: 'new-insight-menu-preset-pie',
+ onClick: () => reportNewInsightClicked(InsightType.TRENDS, 'pie'),
+ },
+}
+
+const AI_CARD: NewInsightCardSpec = {
+ key: 'ai',
+ name: 'AI',
+ description: 'Ask PostHog AI to create insights using natural language.',
+ icon: IconSparkles,
+ iconClassName: 'text-ai',
+ sketch: AiSketch,
+ to: urls.ai(),
+ dataAttr: 'new-insight-menu-ai',
+}
+
+function useNewInsightCards(): {
+ ai: NewInsightCardSpec
+ ordered: NewInsightCardSpec[]
+ byType: Partial<Record<InsightType, NewInsightCardSpec>>
+} {
+ const { featureFlags } = useValues(featureFlagLogic)
+
+ const byType: Partial<Record<InsightType, NewInsightCardSpec>> = {}
+ const ordered: NewInsightCardSpec[] = []
+ for (const [insightType, metadata] of Object.entries(INSIGHT_TYPES_METADATA)) {
+ if (
+ !metadata.inMenu ||
+ insightType === InsightType.JSON ||
+ (!featureFlags[FEATURE_FLAGS.HOG] && insightType === InsightType.HOG)
+ ) {
+ continue
+ }
+ const spec: NewInsightCardSpec = {
+ key: insightType,
+ name: metadata.name,
+ description: metadata.description ?? '',
+ icon: metadata.icon,
+ sketch: INSIGHT_TYPE_SKETCHES[insightType as InsightType] ?? GenericInsightSketch,
+ to: INSIGHT_TYPE_URLS[insightType as InsightType],
+ dataAttr: `new-insight-menu-${insightType.toLowerCase()}`,
+ onClick: () => reportNewInsightClicked(insightType as InsightType),
+ }
+ byType[insightType as InsightType] = spec
+ ordered.push(spec)
+ }
+ return { ai: AI_CARD, ordered, byType }
+}
+
+function NewInsightCard({
+ spec,
+ uniformHeight = false,
+}: {
+ spec: NewInsightCardSpec
+ /** Reserve exactly two description lines so cards line up across sections. */
+ uniformHeight?: boolean
+}): JSX.Element {
+ const Icon = spec.icon
+ return (
+ <Link
+ to={spec.to}
+ data-attr={spec.dataAttr}
+ onClick={spec.onClick}
+ className={cn(
+ 'flex flex-col overflow-hidden rounded border border-primary bg-surface-primary',
+ 'transition-all duration-100 hover:-translate-y-0.5 hover:border-accent hover:shadow-md',
+ 'focus-visible:border-accent'
+ )}
+ >
+ <div className="shrink-0 border-b border-primary bg-fill-secondary">
+ <spec.sketch />
+ </div>
+ <div className="flex flex-1 flex-col gap-0.5 p-2">
+ <div className="flex items-center gap-1.5">
+ <Icon className={cn('text-base shrink-0', spec.iconClassName ?? 'text-secondary')} />
+ <span className="whitespace-nowrap text-sm font-semibold text-default">{spec.name}</span>
+ </div>
+ <span
+ className={cn('text-xs leading-snug text-secondary', uniformHeight && 'line-clamp-2 min-h-[33px]')}
+ >
+ {spec.description}
+ </span>
+ </div>
+ </Link>
+ )
+}
+
+// -- Chips variant: flat card grid, Trends and Funnel cards carry sub-insight chips --
+
+interface NewInsightCardChip {
+ label: string
+ to: string
+ dataAttr: string
+ onClick: () => void
+}
+
+const CARD_CHIPS: Partial<Record<InsightType, NewInsightCardChip[]>> = {
+ [InsightType.TRENDS]: [
+ {
+ label: 'Table',
+ to: TRENDS_PRESET_URLS.table,
+ dataAttr: 'new-insight-menu-chip-table',
+ onClick: () => reportNewInsightClicked(InsightType.TRENDS, 'table'),
+ },
+ {
+ label: 'Map',
+ to: TRENDS_PRESET_URLS.worldMap,
+ dataAttr: 'new-insight-menu-chip-map',
+ onClick: () => reportNewInsightClicked(InsightType.TRENDS, 'world-map'),
+ },
+ {
+ label: 'Number',
+ to: TRENDS_PRESET_URLS.number,
+ dataAttr: 'new-insight-menu-chip-number',
+ onClick: () => reportNewInsightClicked(InsightType.TRENDS, 'number'),
+ },
+ {
+ label: 'Pie',
+ to: TRENDS_PRESET_URLS.pie,
+ dataAttr: 'new-insight-menu-chip-pie',
+ onClick: () => reportNewInsightClicked(InsightType.TRENDS, 'pie'),
+ },
+ ],
+ [InsightType.FUNNELS]: [
+ {
+ label: 'Time to convert',
+ to: funnelsPresetUrl(FunnelVizType.TimeToConvert),
+ dataAttr: 'new-insight-menu-chip-time-to-convert',
+ onClick: () => reportNewInsightClicked(InsightType.FUNNELS, 'time-to-convert'),
+ },
+ {
+ label: 'Conversion trend',
+ to: funnelsPresetUrl(FunnelVizType.Trends),
+ dataAttr: 'new-insight-menu-chip-conversion-trend',
+ onClick: () => reportNewInsightClicked(InsightType.FUNNELS, 'conversion-trend'),
+ },
+ ],
+}
+
+function NewInsightCardWithChips({
+ spec,
+ chips,
+}: {
+ spec: NewInsightCardSpec
+ chips: NewInsightCardChip[]
+}): JSX.Element {
+ const Icon = spec.icon
+ return (
+ <div
+ className={cn(
+ 'flex flex-col overflow-hidden rounded border border-primary bg-surface-primary',
+ 'transition-all duration-100 hover:-translate-y-0.5 hover:border-accent hover:shadow-md'
+ )}
+ >
+ <Link to={spec.to} data-attr={spec.dataAttr} onClick={spec.onClick} className="flex flex-col">
+ <div className="shrink-0 border-b border-primary bg-fill-secondary">
+ <spec.sketch />
+ </div>
+ <div className="flex flex-col gap-0.5 p-2 pb-1">
+ <div className="flex items-center gap-1.5">
+ <Icon className={cn('text-base shrink-0', spec.iconClassName ?? 'text-secondary')} />
+ <span className="whitespace-nowrap text-sm font-semibold text-default">{spec.name}</span>
+ </div>
+ <span className="text-xs leading-snug text-secondary">{spec.description}</span>
+ </div>
+ </Link>
+ <div className="flex flex-wrap gap-1 px-2 pb-2 pt-1">
+ {chips.map((chip) => (
+ <Link
+ key={chip.label}
+ to={chip.to}
+ data-attr={chip.dataAttr}
+ onClick={chip.onClick}
+ className="rounded-full border border-primary px-1.5 py-0.5 text-[11px] leading-none text-secondary hover:border-accent hover:text-accent"
+ >
+ {chip.label}
+ </Link>
+ ))}
+ </div>
+ </div>
+ )
+}
+
+export function NewInsightMenuChipsOverlay(): JSX.Element {
+ const { ai, ordered } = useNewInsightCards()
+ return (
+ <div className="w-[42rem] max-w-[calc(100vw-1rem)] p-1" data-attr="new-insight-menu-chips">
+ <div className="grid grid-cols-2 gap-2 md:grid-cols-4">
+ {[ai, ...ordered].map((spec) => {
+ const chips = CARD_CHIPS[spec.key as InsightType]
+ return chips ? (
+ <NewInsightCardWithChips key={spec.key} spec={spec} chips={chips} />
+ ) : (
+ <NewInsightCard key={spec.key} spec={spec} />
+ )
+ })}
+ </div>
+ </div>
+ )
+}
+
+// -- Grouped variant: two columns of question-framed sections with a divider --
+
+// Terse copy so every description fits the two-line slot at the grouped variant's card width
+const SHORT_CARD_DESCRIPTIONS: Record<string, string> = {
+ [InsightType.TRENDS]: 'How metrics change over time.',
+ [InsightType.STICKINESS]: 'How often users repeat actions.',
+ [InsightType.LIFECYCLE]: 'New, returning, and dormant users.',
+ [InsightType.FUNNELS]: 'Conversion through a sequence of steps.',
+ [InsightType.RETENTION]: 'How many users come back later.',
+ [InsightType.PATHS]: 'The routes users take through your product.',
+ [InsightType.SQL]: 'Query your data with SQL.',
+ [InsightType.HOG]: 'Query your data with Hog.',
+ ai: 'Describe an insight and let AI build it.',
+}
+
+interface QuestionSection {
+ title: string
+ description: string
+ cards: NewInsightCardSpec[]
+}
+
+function useQuestionSections(): QuestionSection[] {
+ const { ai, byType } = useNewInsightCards()
+ const sections: { title: string; description: string; cards: (NewInsightCardSpec | undefined)[] }[] = [
+ {
+ title: 'How does it change over time?',
+ description: 'Follow a metric over time to spot trends and dips.',
+ cards: [byType[InsightType.TRENDS], byType[InsightType.STICKINESS], byType[InsightType.LIFECYCLE]],
+ },
+ {
+ title: 'What are the totals?',
+ description: 'Add up a metric and see what it is made of.',
+ cards: [
+ SUB_INSIGHT_CARDS.number,
+ SUB_INSIGHT_CARDS.table,
+ SUB_INSIGHT_CARDS.pie,
+ SUB_INSIGHT_CARDS.worldMap,
+ ],
+ },
+ {
+ title: 'How do users behave?',
+ description: 'Funnels, retention, and journeys through your product.',
+ cards: [byType[InsightType.FUNNELS], byType[InsightType.RETENTION], byType[InsightType.PATHS]],
+ },
+ {
+ title: 'Build your own',
+ description: 'Write SQL against your data, or let AI build it.',
+ cards: [byType[InsightType.SQL], byType[InsightType.HOG], ai],
+ },
+ ]
+ return sections.map((section) => ({
+ ...section,
+ cards: section.cards.filter((spec): spec is NewInsightCardSpec => !!spec),
+ }))
+}
+
+function QuestionSectionBlock({ section }: { section: QuestionSection }): JSX.Element {
+ return (
+ <div className="flex flex-col gap-2.5">
+ {/* single-line title + description keep header heights equal, so card rows align across columns */}
+ <div className="flex flex-col gap-0.5">
+ <span className="truncate text-sm font-semibold text-default">{section.title}</span>
+ <span className="truncate text-xs text-secondary">{section.description}</span>
+ </div>
+ <div className="grid grid-cols-3 gap-2">
+ {section.cards.map((spec) => (
+ <NewInsightCard
+ key={spec.key}
+ spec={{ ...spec, description: SHORT_CARD_DESCRIPTIONS[spec.key] ?? spec.description }}
+ uniformHeight
+ />
+ ))}
+ </div>
+ </div>
+ )
+}
+
+export function NewInsightMenuGroupedOverlay(): JSX.Element {
+ const sections = useQuestionSections()
+ const columns = [sections.slice(0, 2), sections.slice(2)]
+ return (
+ <div
+ className="flex w-[58rem] max-w-[calc(100vw-1rem)] gap-4 overflow-y-auto p-4 max-h-[calc(100vh-10rem)]"
+ data-attr="new-insight-menu-grouped"
+ >
+ <div className="flex flex-1 flex-col gap-6">
+ {columns[0].map((section) => (
+ <QuestionSectionBlock key={section.title} section={section} />
+ ))}
+ </div>
+ <LemonDivider vertical className="self-stretch" />
+ <div className="flex flex-1 flex-col gap-6">
+ {columns[1].map((section) => (
+ <QuestionSectionBlock key={section.title} section={section} />
+ ))}
+ </div>
+ </div>
+ )
+}
+
+// -- Button with the experiment switch --
+
+function useControlMenuItems(): LemonMenuItems {
+ const { featureFlags } = useValues(featureFlagLogic)
+
+ const insightEntries = Object.entries(INSIGHT_TYPES_METADATA).filter(
+ ([insightType]) =>
+ insightType !== InsightType.JSON && (featureFlags[FEATURE_FLAGS.HOG] || insightType !== InsightType.HOG)
+ )
+ return [
+ {
+ icon: <IconSparkles className="text-ai" />,
+ label: (
+ <div className="flex flex-col text-sm py-1">
+ <strong>AI</strong>
+ <span className="text-xs font-normal">
+ Ask PostHog AI to create insights using natural language and query any of your data
+ </span>
+ </div>
+ ),
+ to: urls.ai(),
+ 'data-attr': 'new-insight-menu-ai',
+ },
+ {
+ title: 'Insight types',
+ items: insightEntries
+ .filter(([, metadata]) => metadata.inMenu)
+ .map(([insightType, metadata]) => ({
+ icon: metadata.icon ? <metadata.icon /> : undefined,
+ label: (
+ <div className="flex flex-col text-sm py-1">
+ <strong>{metadata.name}</strong>
+ <span className="text-xs font-normal">{metadata.description}</span>
+ </div>
+ ),
+ to: INSIGHT_TYPE_URLS[insightType as InsightType],
+ 'data-attr': `new-insight-menu-${insightType.toLowerCase()}`,
+ onClick: () => {
+ reportNewInsightClicked(insightType as InsightType)
+ },
+ })),
+ },
+ ]
+}
+
+export function NewInsightButton(): JSX.Element {
+ const { featureFlags } = useValues(featureFlagLogic)
+ const controlMenuItems = useControlMenuItems()
+ const menuVariant = featureFlags[FEATURE_FLAGS.NEW_INSIGHT_MENU_EXPERIMENT]
+
+ const button = (
+ <LemonButton
+ type="primary"
+ data-attr="saved-insights-new-insight-button"
+ size="small"
+ icon={<IconPlusSmall />}
+ tooltip="New insight"
+ >
+ New
+ </LemonButton>
+ )
+
+ return (
+ <AccessControlAction
+ resourceType={AccessControlResourceType.Insight}
+ minAccessLevel={AccessControlLevel.Editor}
+ >
+ <Shortcut
+ name="NewInsight"
+ keybind={[keyBinds.new]}
+ intent="New insight"
+ interaction="click"
+ scope={Scene.SavedInsights}
+ priority={100}
+ >
+ {menuVariant === 'chips' || menuVariant === 'grouped' ? (
+ <LemonDropdown
+ overlay={
+ menuVariant === 'chips' ? <NewInsightMenuChipsOverlay /> : <NewInsightMenuGroupedOverlay />
+ }
+ placement="bottom-end"
+ >
+ {button}
+ </LemonDropdown>
+ ) : (
+ <LemonMenu items={controlMenuItems} placement="bottom-end">
+ {button}
+ </LemonMenu>
+ )}
+ </Shortcut>
+ </AccessControlAction>
+ )
+}
diff --git a/frontend/src/scenes/saved-insights/SavedInsights.tsx b/frontend/src/scenes/saved-insights/SavedInsights.tsx
index 364288ba4335..510adfb5d4f2 100644
--- a/frontend/src/scenes/saved-insights/SavedInsights.tsx
+++ b/frontend/src/scenes/saved-insights/SavedInsights.tsx
@@ -4,67 +4,30 @@ import { useActions, useValues } from 'kea'
import { router } from 'kea-router'
import { ComponentType } from 'react'
-import {
- IconAI,
- IconBrackets,
- IconCorrelationAnalysis,
- IconCursor,
- IconFlask,
- IconFunnels,
- IconGraph,
- IconHogQL,
- IconLifecycle,
- IconLineGraph,
- IconLive,
- IconLlmAnalytics,
- IconPerson,
- IconPieChart,
- IconPiggyBank,
- IconPlusSmall,
- IconRetention,
- IconSparkles,
- IconRetentionHeatmap,
- IconHeart,
- IconHeartFilled,
- IconStickiness,
- IconTrash,
- IconTrends,
- IconUserPaths,
- IconVideoCamera,
- IconWarning,
-} from '@posthog/icons'
-import { LemonSelectOptions } from '@posthog/lemon-ui'
+import { IconHeart, IconHeartFilled, IconTrash } from '@posthog/icons'
import { AccessControlAction } from 'lib/components/AccessControlAction'
import { ActivityLog } from 'lib/components/ActivityLog/ActivityLog'
import { BulkUpdateTagsButton } from 'lib/components/BulkActions/BulkUpdateTagsButton'
import { ObjectTags } from 'lib/components/ObjectTags/ObjectTags'
-import { Shortcut } from 'lib/components/Shortcuts/Shortcut'
-import { keyBinds } from 'lib/components/Shortcuts/shortcuts'
import { TZLabel } from 'lib/components/TZLabel'
-import { FEATURE_FLAGS } from 'lib/constants'
import { dayjs } from 'lib/dayjs'
-import { IconAction, IconTableChart } from 'lib/lemon-ui/icons'
import { LemonButton } from 'lib/lemon-ui/LemonButton'
import { More } from 'lib/lemon-ui/LemonButton/More'
import { LemonDialog } from 'lib/lemon-ui/LemonDialog'
import { LemonDivider } from 'lib/lemon-ui/LemonDivider'
-import { LemonMenu, LemonMenuItems } from 'lib/lemon-ui/LemonMenu'
import { LemonTable, LemonTableColumns } from 'lib/lemon-ui/LemonTable'
import { LemonTableLink } from 'lib/lemon-ui/LemonTable/LemonTableLink'
import { LemonTabs } from 'lib/lemon-ui/LemonTabs'
import { LemonTag } from 'lib/lemon-ui/LemonTag'
import { ProfilePicture } from 'lib/lemon-ui/ProfilePicture'
import { Tooltip } from 'lib/lemon-ui/Tooltip'
-import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
import { accessLevelSatisfied } from 'lib/utils/accessControlUtils'
import { cn } from 'lib/utils/css-classes'
import { deleteInsightWithUndo } from 'lib/utils/deleteWithUndo'
-import { eventUsageLogic } from 'lib/utils/eventUsageLogic'
import { isNonEmptyObject } from 'lib/utils/guards'
import { SavedInsightsEmptyState } from 'scenes/insights/EmptyStates'
import { useSummarizeInsight } from 'scenes/insights/summarizeInsight'
-import { INSIGHT_TYPE_URLS } from 'scenes/insights/utils'
import { projectLogic } from 'scenes/projectLogic'
import { NewInsightShortcuts } from 'scenes/saved-insights/newInsightsMenu'
import { SavedInsightsFilters } from 'scenes/saved-insights/SavedInsightsFilters'
@@ -74,690 +37,23 @@ import { urls } from 'scenes/urls'
import { SceneContent } from '~/layout/scenes/components/SceneContent'
import { SceneTitleSection } from '~/layout/scenes/components/SceneTitleSection'
-import { NodeKind, ProductKey } from '~/queries/schema/schema-general'
+import { ProductKey } from '~/queries/schema/schema-general'
import { isNodeWithSource } from '~/queries/utils'
import {
AccessControlLevel,
AccessControlResourceType,
ActivityScope,
- InsightType,
QueryBasedInsightModel,
SavedInsightsTabs,
} from '~/types'
+export * from './insightTypesMetadata'
+
+import { QUERY_TYPES_METADATA } from './insightTypesMetadata'
+import { NewInsightButton } from './NewInsightMenu'
import { ReloadInsight } from './ReloadInsight'
import { SavedInsightListItem, savedInsightsLogic } from './savedInsightsLogic'
-export interface InsightTypeMetadata {
- name: string
- description?: string
- /** Override the description on the insight page tab, for additional info. */
- tooltipDescription?: string
- icon: React.ComponentType<any>
- inMenu: boolean
- tooltipDocLink?: string
-}
-
-export const QUERY_TYPES_METADATA: Record<NodeKind, InsightTypeMetadata> = {
- [NodeKind.CalendarHeatmapQuery]: {
- name: 'Calendar heatmap (BETA)',
- description: 'Visualize total or unique users broken down by day and hour.',
- icon: IconRetentionHeatmap,
- inMenu: true,
- // tooltipDescription TODO: Add tooltip description
- },
- [NodeKind.TrendsQuery]: {
- name: 'Trends',
- description: 'Visualize and break down how actions or events vary over time.',
- icon: IconTrends,
- inMenu: true,
- tooltipDocLink: 'https://posthog.com/docs/product-analytics/trends/overview',
- },
- [NodeKind.FunnelsQuery]: {
- name: 'Funnel',
- description: 'Discover how many users complete or drop out of a sequence of actions.',
- icon: IconFunnels,
- inMenu: true,
- tooltipDocLink: 'https://posthog.com/docs/product-analytics/funnels',
- },
- [NodeKind.RetentionQuery]: {
- name: 'Retention',
- description: 'See how many users return on subsequent days after an initial action.',
- icon: IconRetention,
- inMenu: true,
- tooltipDocLink: 'https://posthog.com/docs/product-analytics/retention',
- },
- [NodeKind.PathsQuery]: {
- name: 'Paths',
- description: 'Trace the journeys users take within your product and where they drop off.',
- icon: IconUserPaths,
- inMenu: true,
- tooltipDocLink: 'https://posthog.com/docs/product-analytics/paths',
- },
- [NodeKind.StickinessQuery]: {
- name: 'Stickiness',
- description: 'See what keeps users coming back by viewing the interval between repeated actions.',
- icon: IconStickiness,
- inMenu: true,
- tooltipDocLink: 'https://posthog.com/docs/product-analytics/stickiness',
- },
- [NodeKind.LifecycleQuery]: {
- name: 'Lifecycle',
- description: 'Understand growth by breaking down new, resurrected, returning and dormant users.',
- tooltipDescription: 'Understand growth by breaking down new, resurrected, returning and dormant users.',
- icon: IconLifecycle,
- inMenu: true,
- tooltipDocLink: 'https://posthog.com/docs/product-analytics/lifecycle',
- },
- [NodeKind.FunnelCorrelationQuery]: {
- name: 'Funnel Correlation',
- description: 'See which events or properties correlate to a funnel result.',
- icon: IconCorrelationAnalysis,
- inMenu: false,
- },
- [NodeKind.EventsNode]: {
- name: 'Events',
- description: 'List and explore events.',
- icon: IconCursor,
- inMenu: true,
- },
- [NodeKind.ActionsNode]: {
- name: 'Actions',
- description: 'List and explore actions.',
- icon: IconAction,
- inMenu: true,
- },
- [NodeKind.DataWarehouseNode]: {
- name: 'Data Warehouse',
- description: 'List and explore data warehouse tables.',
- icon: IconTableChart,
- inMenu: true,
- },
- [NodeKind.FunnelsDataWarehouseNode]: {
- name: 'Funnels Data Warehouse',
- description: 'List and explore funnels data warehouse tables.',
- icon: IconTableChart,
- inMenu: true,
- },
- [NodeKind.LifecycleDataWarehouseNode]: {
- name: 'Lifecycle Data Warehouse',
- description: 'List and explore lifecycle data warehouse tables.',
- icon: IconTableChart,
- inMenu: true,
- },
- [NodeKind.GroupNode]: {
- name: 'Groups',
- description: 'List and explore grouped events.',
- icon: IconCursor,
- inMenu: false,
- },
- [NodeKind.EventsQuery]: {
- name: 'Events Query',
- description: 'List and explore events.',
- icon: IconCursor,
- inMenu: true,
- },
- [NodeKind.SessionBatchEventsQuery]: {
- name: 'Session Batch Events',
- description: 'Batch query for events from multiple sessions.',
- icon: IconCursor,
- inMenu: false,
- },
- [NodeKind.PersonsNode]: {
- name: 'Persons',
- description: 'List and explore your persons.',
- icon: IconPerson,
- inMenu: true,
- },
- [NodeKind.ActorsQuery]: {
- name: 'Persons',
- description: 'List of persons matching specified conditions.',
- icon: IconPerson,
- inMenu: false,
- },
- [NodeKind.InsightActorsQuery]: {
- name: 'Persons',
- description: 'List of persons matching specified conditions, derived from an insight.',
- icon: IconPerson,
- inMenu: false,
- },
- [NodeKind.ExperimentActorsQuery]: {
- name: 'Persons',
- description: 'List of persons matching specified conditions, derived from an experiment.',
- icon: IconPerson,
- inMenu: false,
- },
- [NodeKind.InsightActorsQueryOptions]: {
- name: 'Persons',
- description: 'Options for InsightActorsQuery.',
- icon: IconPerson,
- inMenu: false,
- },
- [NodeKind.StickinessActorsQuery]: {
- name: 'Persons',
- description: 'List of persons matching specified conditions, derived from an insight.',
- icon: IconPerson,
- inMenu: false,
- },
- [NodeKind.FunnelsActorsQuery]: {
- name: 'Persons',
- description: 'List of persons matching specified conditions, derived from an insight.',
- icon: IconPerson,
- inMenu: false,
- },
- [NodeKind.FunnelCorrelationActorsQuery]: {
- name: 'Persons',
- description: 'List of persons matching specified conditions, derived from an insight.',
- icon: IconPerson,
- inMenu: false,
- },
- [NodeKind.GroupsQuery]: {
- name: 'Groups',
- description: 'List and explore groups.',
- icon: IconPerson,
- inMenu: false,
- },
- [NodeKind.DataTableNode]: {
- name: 'Data table',
- description: 'Slice and dice your data in a table.',
- icon: IconTableChart,
- inMenu: true,
- },
- [NodeKind.DataVisualizationNode]: {
- name: 'SQL',
- description: 'Slice and dice your data in a table or chart.',
- icon: IconBrackets,
- inMenu: false,
- },
- [NodeKind.SavedInsightNode]: {
- name: 'Insight visualization by short id',
- description: 'View your insights.',
- icon: IconGraph,
- inMenu: true,
- },
- [NodeKind.InsightVizNode]: {
- name: 'Insight visualization',
- description: 'View your insights.',
- icon: IconGraph,
- inMenu: true,
- },
- [NodeKind.SessionsTimelineQuery]: {
- name: 'Sessions',
- description: 'Sessions timeline query.',
- icon: IconTrends,
- inMenu: true,
- },
- [NodeKind.HogQLQuery]: {
- name: 'SQL',
- description: 'Direct SQL query.',
- icon: IconBrackets,
- inMenu: true,
- },
- [NodeKind.HogQLMetadata]: {
- name: 'SQL Metadata',
- description: 'Metadata for a SQL query.',
- icon: IconBrackets,
- inMenu: true,
- },
- [NodeKind.HogQLAutocomplete]: {
- name: 'SQL Autocomplete',
- description: 'Autocomplete for the SQL query editor.',
- icon: IconBrackets,
- inMenu: false,
- },
- [NodeKind.DatabaseSchemaQuery]: {
- name: 'Database Schema',
- description: 'Introspect the PostHog database schema.',
- icon: IconBrackets,
- inMenu: true,
- },
- [NodeKind.RevenueAnalyticsMetricsQuery]: {
- name: 'Revenue Analytics Metrics',
- description: 'View revenue analytics customer, subscription count, ARPU, and LTV.',
- icon: IconPiggyBank,
- inMenu: true,
- },
- [NodeKind.RevenueAnalyticsOverviewQuery]: {
- name: 'Revenue Analytics Overview',
- description: 'View revenue analytics overview.',
- icon: IconPiggyBank,
- inMenu: true,
- },
- [NodeKind.RevenueAnalyticsGrossRevenueQuery]: {
- name: 'Revenue Analytics Gross Revenue',
- description: 'View gross revenue analytics.',
- icon: IconPiggyBank,
- inMenu: true,
- },
- [NodeKind.RevenueAnalyticsMRRQuery]: {
- name: 'Revenue Analytics MRR',
- description: 'View MRR revenue analytics.',
- icon: IconPiggyBank,
- inMenu: true,
- },
- [NodeKind.RevenueAnalyticsTopCustomersQuery]: {
- name: 'Revenue Analytics Top Customers',
- description: 'View revenue analytics top customers.',
- icon: IconPiggyBank,
- inMenu: true,
- },
- [NodeKind.WebOverviewQuery]: {
- name: 'Overview Stats',
- description: 'View overview stats for a website.',
- icon: IconPieChart,
- inMenu: true,
- },
- [NodeKind.WebStatsTableQuery]: {
- name: 'Web Table',
- description: 'A table of results from web analytics, with a breakdown.',
- icon: IconPieChart,
- inMenu: true,
- },
- [NodeKind.WebGoalsQuery]: {
- name: 'Goals',
- description: 'View goal conversions.',
- icon: IconPieChart,
- inMenu: true,
- },
- [NodeKind.WebExternalClicksTableQuery]: {
- name: 'External click urls',
- description: 'View clicks on external links.',
- icon: IconPieChart,
- inMenu: true,
- },
- [NodeKind.WebVitalsQuery]: {
- name: 'Web vitals',
- description: 'View web vitals.',
- icon: IconPieChart,
- inMenu: true,
- },
- [NodeKind.WebVitalsPathBreakdownQuery]: {
- name: 'Web vitals path breakdown',
- description: 'View web vitals broken down by path.',
- icon: IconPieChart,
- inMenu: true,
- },
- [NodeKind.WebPageURLSearchQuery]: {
- name: 'Web Page URL Search',
- description: 'Search and analyze web page URLs.',
- icon: IconPieChart,
- inMenu: true,
- },
- [NodeKind.HogQuery]: {
- name: 'Hog',
- description: 'Hog query.',
- icon: IconHogQL,
- inMenu: true,
- },
- [NodeKind.SessionAttributionExplorerQuery]: {
- name: 'Session Attribution',
- description: 'Session Attribution Explorer.',
- icon: IconPieChart,
- inMenu: true,
- },
- [NodeKind.SessionsQuery]: {
- name: 'Sessions',
- description: 'List and explore sessions.',
- icon: IconTableChart,
- inMenu: false,
- },
- [NodeKind.RevenueExampleEventsQuery]: {
- name: 'Revenue Example Events',
- description: 'Revenue Example Events Query.',
- icon: IconTableChart,
- inMenu: true,
- },
- [NodeKind.RevenueExampleDataWarehouseTablesQuery]: {
- name: 'Revenue Example Data Warehouse Tables',
- description: 'Revenue Example Data Warehouse Tables Query.',
- icon: IconTableChart,
- inMenu: true,
- },
- [NodeKind.ErrorTrackingQuery]: {
- name: 'Error Tracking',
- description: 'List and explore exception groups.',
- icon: IconWarning,
- inMenu: false,
- },
- [NodeKind.ErrorTrackingIssueCorrelationQuery]: {
- name: 'Error Tracking Correlation',
- description: 'Explore issues affecting other events.',
- icon: IconCorrelationAnalysis,
- inMenu: false,
- },
- [NodeKind.ErrorTrackingSimilarIssuesQuery]: {
- name: 'Error Tracking Similar Issues',
- description: 'Explore issues similar to the selected one.',
- icon: IconWarning,
- inMenu: false,
- },
- [NodeKind.ErrorTrackingBreakdownsQuery]: {
- name: 'Error Tracking Breakdowns',
- description: 'Break down error tracking issues by properties.',
- icon: IconWarning,
- inMenu: false,
- },
- [NodeKind.RecordingsQuery]: {
- name: 'Session Recordings',
- description: 'View available recordings.',
- icon: IconVideoCamera,
- inMenu: false,
- },
- [NodeKind.ExperimentQuery]: {
- name: 'Experiment Result',
- description: 'View experiment result.',
- icon: IconFlask,
- inMenu: false,
- },
- [NodeKind.ExperimentExposureQuery]: {
- name: 'Experiment Exposure',
- description: 'View experiment exposure.',
- icon: IconFlask,
- inMenu: false,
- },
- [NodeKind.ExperimentTrendsQuery]: {
- name: 'Experiment Trends Result',
- description: 'View experiment trend result.',
- icon: IconFlask,
- inMenu: false,
- },
- [NodeKind.ExperimentFunnelsQuery]: {
- name: 'Experiment Funnels Result',
- description: 'View experiment funnel result.',
- icon: IconFlask,
- inMenu: false,
- },
- [NodeKind.ExperimentEventExposureConfig]: {
- name: 'Experiment Event Exposure Config',
- description: 'Experiment event exposure configuration.',
- icon: IconFlask,
- inMenu: false,
- },
- [NodeKind.ExperimentMetric]: {
- name: 'Experiment Metric',
- description: 'Experiment metric configuration.',
- icon: IconFlask,
- inMenu: false,
- },
- [NodeKind.ExperimentDataWarehouseNode]: {
- name: 'Experiment Data Warehouse',
- description: 'Experiment data warehouse source configuration.',
- icon: IconFlask,
- inMenu: false,
- },
- [NodeKind.TeamTaxonomyQuery]: {
- name: 'Team Taxonomy',
- icon: IconHogQL,
- inMenu: false,
- },
- [NodeKind.EventTaxonomyQuery]: {
- name: 'Event Taxonomy',
- icon: IconHogQL,
- inMenu: false,
- },
- [NodeKind.SuggestedQuestionsQuery]: {
- name: 'AI Suggested Questions',
- icon: IconHogQL,
- inMenu: false,
- },
- [NodeKind.ActorsPropertyTaxonomyQuery]: {
- name: 'Actor Property Taxonomy',
- description: "View the taxonomy of the actor's property.",
- icon: IconHogQL,
- inMenu: false,
- },
- [NodeKind.TracesQuery]: {
- name: 'AI observability traces',
- icon: IconLlmAnalytics,
- inMenu: false,
- },
- [NodeKind.SessionQuery]: {
- name: 'AI observability session',
- icon: IconLlmAnalytics,
- inMenu: false,
- },
- [NodeKind.TraceNeighborsQuery]: {
- name: 'AI observability trace neighbors',
- icon: IconLlmAnalytics,
- inMenu: false,
- },
- [NodeKind.TraceQuery]: {
- name: 'AI observability trace',
- icon: IconLlmAnalytics,
- inMenu: false,
- },
- [NodeKind.DocumentSimilarityQuery]: {
- name: 'Document Similarity',
- description: 'Find documents similar to a given query.',
- icon: IconAI,
- inMenu: false,
- },
- [NodeKind.VectorSearchQuery]: {
- name: 'Vector Search',
- icon: IconHogQL,
- inMenu: false,
- },
- [NodeKind.LogsQuery]: {
- name: 'Logs',
- icon: IconLive,
- inMenu: false,
- },
- [NodeKind.LogAttributesQuery]: {
- name: 'LogAttributes',
- icon: IconLive,
- inMenu: false,
- },
- [NodeKind.LogValuesQuery]: {
- name: 'LogValues',
- icon: IconLive,
- inMenu: false,
- },
- [NodeKind.MetricsQuery]: {
- name: 'Metrics',
- description: 'Chart a service metric over time',
- icon: IconLive,
- inMenu: false,
- },
- [NodeKind.TraceSpansQuery]: {
- name: 'Trace Spans',
- icon: IconLive,
- inMenu: false,
- },
- [NodeKind.TraceSpansAggregationQuery]: {
- name: 'Trace Spans Aggregation',
- icon: IconLive,
- inMenu: false,
- },
- [NodeKind.TraceSpansTreeQuery]: {
- name: 'Trace Spans Tree',
- icon: IconLive,
- inMenu: false,
- },
- [NodeKind.TraceSpansAttributeBreakdownQuery]: {
- name: 'Trace Spans Attribute Breakdown',
- icon: IconLive,
- inMenu: false,
- },
- [NodeKind.TraceSpansSymbolStatsQuery]: {
- name: 'Trace Spans Symbol Stats',
- icon: IconLive,
- inMenu: false,
- },
- [NodeKind.WebAnalyticsExternalSummaryQuery]: {
- name: 'Web Analytics External Summary',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.MarketingAnalyticsTableQuery]: {
- name: 'Marketing Analytics Table',
- icon: IconHogQL,
- inMenu: false,
- },
- [NodeKind.MarketingAnalyticsAggregatedQuery]: {
- name: 'Marketing Analytics Aggregated',
- icon: IconHogQL,
- inMenu: false,
- },
- [NodeKind.NonIntegratedConversionsTableQuery]: {
- name: 'Non-Integrated Conversions Table',
- icon: IconHogQL,
- inMenu: false,
- },
- [NodeKind.UsageMetricsQuery]: {
- name: 'Usage Metrics',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.AccountsQuery]: {
- name: 'Accounts',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.EndpointsUsageOverviewQuery]: {
- name: 'Endpoints usage overview',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.EndpointsUsageTableQuery]: {
- name: 'Endpoints usage table',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.EndpointsUsageTrendsQuery]: {
- name: 'Endpoints usage trends',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.PropertyValuesQuery]: {
- name: 'Property values',
- icon: IconHogQL,
- inMenu: false,
- },
- [NodeKind.WebNotableChangesQuery]: {
- name: 'Notable changes',
- description: 'View notable changes in web analytics metrics.',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.MCPHarnessBreakdownQuery]: {
- name: 'MCP harness breakdown',
- description: 'MCP tool-call activity grouped by client harness.',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.MCPToolSampleIntentsQuery]: {
- name: 'MCP tool sample intents',
- description: 'Recent sampled intents for a single MCP tool.',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.MCPToolNeighborsQuery]: {
- name: 'MCP tool neighbors',
- description: 'Tools called adjacent to a single MCP tool within a conversation.',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.MCPToolStatsQuery]: {
- name: 'MCP tool stats',
- description: 'Summary stats for a single MCP tool.',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.MCPToolDailyStatsQuery]: {
- name: 'MCP tool daily stats',
- description: 'Per-day activity for a single MCP tool.',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.MCPToolDescriptionsQuery]: {
- name: 'MCP tool descriptions',
- description: 'Reported descriptions for a single MCP tool.',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.MCPToolTopUsersQuery]: {
- name: 'MCP tool top users',
- description: 'Top users of a single MCP tool.',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.MCPToolFailuresQuery]: {
- name: 'MCP tool failures',
- description: 'Recurring exception messages for a single MCP tool.',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.MCPToolQualityRowsQuery]: {
- name: 'MCP tool quality rows',
- description: 'Per-tool quality metrics for the Tool quality tab.',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.MCPToolQualityDailyStatsQuery]: {
- name: 'MCP tool quality daily stats',
- description: 'Interval-bucketed activity series for the Tool quality tab.',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.MCPToolCategoryCountsQuery]: {
- name: 'MCP tool category counts',
- description: 'Per-category call counts for the Tool quality tab.',
- icon: IconPieChart,
- inMenu: false,
- },
- [NodeKind.MCPToolCategoriesQuery]: {
- name: 'MCP tool categories',
- description: 'Distinct tool categories for the Tool quality scope selector.',
- icon: IconPieChart,
- inMenu: false,
- },
-}
-
-export const INSIGHT_TYPES_METADATA: Record<InsightType, InsightTypeMetadata> = {
- [InsightType.TRENDS]: QUERY_TYPES_METADATA[NodeKind.TrendsQuery],
- [InsightType.FUNNELS]: QUERY_TYPES_METADATA[NodeKind.FunnelsQuery],
- [InsightType.RETENTION]: QUERY_TYPES_METADATA[NodeKind.RetentionQuery],
- [InsightType.PATHS]: QUERY_TYPES_METADATA[NodeKind.PathsQuery],
- [InsightType.STICKINESS]: QUERY_TYPES_METADATA[NodeKind.StickinessQuery],
- [InsightType.LIFECYCLE]: QUERY_TYPES_METADATA[NodeKind.LifecycleQuery],
- [InsightType.SQL]: {
- name: 'SQL',
- description: 'Use SQL to query your data.',
- icon: IconBrackets,
- inMenu: true,
- tooltipDocLink: 'https://posthog.com/docs/data-warehouse/sql',
- },
- [InsightType.JSON]: {
- name: 'Custom',
- description: 'Save components powered by our JSON query language.',
- icon: IconBrackets,
- inMenu: true,
- },
- [InsightType.HOG]: {
- name: 'Hog',
- description: 'Use Hog to query your data.',
- icon: IconHogQL,
- inMenu: false,
- },
- [InsightType.WEB_ANALYTICS]: {
- name: 'Web Analytics',
- description: 'Web analytics insights from your website data.',
- icon: IconLineGraph,
- inMenu: false,
- },
-}
-
-export const INSIGHT_TYPE_OPTIONS: LemonSelectOptions<string> = [
- { value: 'All types', label: 'All types' },
- ...Object.entries(INSIGHT_TYPES_METADATA)
- .filter(([, meta]) => meta.inMenu !== false)
- .map(([value, meta]) => ({
- value,
- label: meta.name,
- icon: meta.icon ? <meta.icon /> : undefined,
- })),
-]
-
export const scene: SceneExport = {
component: SavedInsights,
logic: savedInsightsLogic,
@@ -782,77 +78,6 @@ export function InsightIcon({
return Icon ? <Icon className={className} /> : null
}
-export function NewInsightButton(): JSX.Element {
- const { featureFlags } = useValues(featureFlagLogic)
-
- const insightEntries = Object.entries(INSIGHT_TYPES_METADATA).filter(
- ([insightType]) =>
- insightType !== InsightType.JSON && (featureFlags[FEATURE_FLAGS.HOG] || insightType !== InsightType.HOG)
- )
- const menuItems: LemonMenuItems = [
- {
- icon: <IconSparkles className="text-ai" />,
- label: (
- <div className="flex flex-col text-sm py-1">
- <strong>AI</strong>
- <span className="text-xs font-normal">
- Ask PostHog AI to create insights using natural language and query any of your data
- </span>
- </div>
- ),
- to: urls.ai(),
- 'data-attr': 'new-insight-menu-ai',
- },
- {
- title: 'Insight types',
- items: insightEntries
- .filter(([, metadata]) => metadata.inMenu)
- .map(([insightType, metadata]) => ({
- icon: metadata.icon ? <metadata.icon /> : undefined,
- label: (
- <div className="flex flex-col text-sm py-1">
- <strong>{metadata.name}</strong>
- <span className="text-xs font-normal">{metadata.description}</span>
- </div>
- ),
- to: INSIGHT_TYPE_URLS[insightType as InsightType],
- 'data-attr': `new-insight-menu-${insightType.toLowerCase()}`,
- onClick: () => {
- eventUsageLogic.actions.reportSavedInsightNewInsightClicked(insightType)
- },
- })),
- },
- ]
-
- return (
- <AccessControlAction
- resourceType={AccessControlResourceType.Insight}
- minAccessLevel={AccessControlLevel.Editor}
- >
- <Shortcut
- name="NewInsight"
- keybind={[keyBinds.new]}
- intent="New insight"
- interaction="click"
- scope={Scene.SavedInsights}
- priority={100}
- >
- <LemonMenu items={menuItems} placement="bottom-end">
- <LemonButton
- type="primary"
- data-attr="saved-insights-new-insight-button"
- size="small"
- icon={<IconPlusSmall />}
- tooltip="New insight"
- >
- New
- </LemonButton>
- </LemonMenu>
- </Shortcut>
- </AccessControlAction>
- )
-}
-
export function SavedInsights(): JSX.Element {
const { push } = useActions(router)
const {
diff --git a/frontend/src/scenes/saved-insights/insightTypesMetadata.tsx b/frontend/src/scenes/saved-insights/insightTypesMetadata.tsx
new file mode 100644
index 000000000000..1f444ab0303b
--- /dev/null
+++ b/frontend/src/scenes/saved-insights/insightTypesMetadata.tsx
@@ -0,0 +1,700 @@
+import {
+ IconAI,
+ IconBrackets,
+ IconCorrelationAnalysis,
+ IconCursor,
+ IconFlask,
+ IconFunnels,
+ IconGraph,
+ IconHogQL,
+ IconLifecycle,
+ IconLineGraph,
+ IconLive,
+ IconLlmAnalytics,
+ IconPerson,
+ IconPieChart,
+ IconPiggyBank,
+ IconRetention,
+ IconRetentionHeatmap,
+ IconStickiness,
+ IconTrends,
+ IconUserPaths,
+ IconVideoCamera,
+ IconWarning,
+} from '@posthog/icons'
+import { LemonSelectOptions } from '@posthog/lemon-ui'
+
+import { IconAction, IconTableChart } from 'lib/lemon-ui/icons'
+
+import { NodeKind } from '~/queries/schema/schema-general'
+import { InsightType } from '~/types'
+
+export interface InsightTypeMetadata {
+ name: string
+ description?: string
+ /** Override the description on the insight page tab, for additional info. */
+ tooltipDescription?: string
+ icon: React.ComponentType<any>
+ inMenu: boolean
+ tooltipDocLink?: string
+}
+
+export const QUERY_TYPES_METADATA: Record<NodeKind, InsightTypeMetadata> = {
+ [NodeKind.CalendarHeatmapQuery]: {
+ name: 'Calendar heatmap (BETA)',
+ description: 'Visualize total or unique users broken down by day and hour.',
+ icon: IconRetentionHeatmap,
+ inMenu: true,
+ // tooltipDescription TODO: Add tooltip description
+ },
+ [NodeKind.TrendsQuery]: {
+ name: 'Trends',
+ description: 'Visualize and break down how actions or events vary over time.',
+ icon: IconTrends,
+ inMenu: true,
+ tooltipDocLink: 'https://posthog.com/docs/product-analytics/trends/overview',
+ },
+ [NodeKind.FunnelsQuery]: {
+ name: 'Funnel',
+ description: 'Discover how many users complete or drop out of a sequence of actions.',
+ icon: IconFunnels,
+ inMenu: true,
+ tooltipDocLink: 'https://posthog.com/docs/product-analytics/funnels',
+ },
+ [NodeKind.RetentionQuery]: {
+ name: 'Retention',
+ description: 'See how many users return on subsequent days after an initial action.',
+ icon: IconRetention,
+ inMenu: true,
+ tooltipDocLink: 'https://posthog.com/docs/product-analytics/retention',
+ },
+ [NodeKind.PathsQuery]: {
+ name: 'Paths',
+ description: 'Trace the journeys users take within your product and where they drop off.',
+ icon: IconUserPaths,
+ inMenu: true,
+ tooltipDocLink: 'https://posthog.com/docs/product-analytics/paths',
+ },
+ [NodeKind.StickinessQuery]: {
+ name: 'Stickiness',
+ description: 'See what keeps users coming back by viewing the interval between repeated actions.',
+ icon: IconStickiness,
+ inMenu: true,
+ tooltipDocLink: 'https://posthog.com/docs/product-analytics/stickiness',
+ },
+ [NodeKind.LifecycleQuery]: {
+ name: 'Lifecycle',
+ description: 'Understand growth by breaking down new, resurrected, returning and dormant users.',
+ tooltipDescription: 'Understand growth by breaking down new, resurrected, returning and dormant users.',
+ icon: IconLifecycle,
+ inMenu: true,
+ tooltipDocLink: 'https://posthog.com/docs/product-analytics/lifecycle',
+ },
+ [NodeKind.FunnelCorrelationQuery]: {
+ name: 'Funnel Correlation',
+ description: 'See which events or properties correlate to a funnel result.',
+ icon: IconCorrelationAnalysis,
+ inMenu: false,
+ },
+ [NodeKind.EventsNode]: {
+ name: 'Events',
+ description: 'List and explore events.',
+ icon: IconCursor,
+ inMenu: true,
+ },
+ [NodeKind.ActionsNode]: {
+ name: 'Actions',
+ description: 'List and explore actions.',
+ icon: IconAction,
+ inMenu: true,
+ },
+ [NodeKind.DataWarehouseNode]: {
+ name: 'Data Warehouse',
+ description: 'List and explore data warehouse tables.',
+ icon: IconTableChart,
+ inMenu: true,
+ },
+ [NodeKind.FunnelsDataWarehouseNode]: {
+ name: 'Funnels Data Warehouse',
+ description: 'List and explore funnels data warehouse tables.',
+ icon: IconTableChart,
+ inMenu: true,
+ },
+ [NodeKind.LifecycleDataWarehouseNode]: {
+ name: 'Lifecycle Data Warehouse',
+ description: 'List and explore lifecycle data warehouse tables.',
+ icon: IconTableChart,
+ inMenu: true,
+ },
+ [NodeKind.GroupNode]: {
+ name: 'Groups',
+ description: 'List and explore grouped events.',
+ icon: IconCursor,
+ inMenu: false,
+ },
+ [NodeKind.EventsQuery]: {
+ name: 'Events Query',
+ description: 'List and explore events.',
+ icon: IconCursor,
+ inMenu: true,
+ },
+ [NodeKind.SessionBatchEventsQuery]: {
+ name: 'Session Batch Events',
+ description: 'Batch query for events from multiple sessions.',
+ icon: IconCursor,
+ inMenu: false,
+ },
+ [NodeKind.PersonsNode]: {
+ name: 'Persons',
+ description: 'List and explore your persons.',
+ icon: IconPerson,
+ inMenu: true,
+ },
+ [NodeKind.ActorsQuery]: {
+ name: 'Persons',
+ description: 'List of persons matching specified conditions.',
+ icon: IconPerson,
+ inMenu: false,
+ },
+ [NodeKind.InsightActorsQuery]: {
+ name: 'Persons',
+ description: 'List of persons matching specified conditions, derived from an insight.',
+ icon: IconPerson,
+ inMenu: false,
+ },
+ [NodeKind.ExperimentActorsQuery]: {
+ name: 'Persons',
+ description: 'List of persons matching specified conditions, derived from an experiment.',
+ icon: IconPerson,
+ inMenu: false,
+ },
+ [NodeKind.InsightActorsQueryOptions]: {
+ name: 'Persons',
+ description: 'Options for InsightActorsQuery.',
+ icon: IconPerson,
+ inMenu: false,
+ },
+ [NodeKind.StickinessActorsQuery]: {
+ name: 'Persons',
+ description: 'List of persons matching specified conditions, derived from an insight.',
+ icon: IconPerson,
+ inMenu: false,
+ },
+ [NodeKind.FunnelsActorsQuery]: {
+ name: 'Persons',
+ description: 'List of persons matching specified conditions, derived from an insight.',
+ icon: IconPerson,
+ inMenu: false,
+ },
+ [NodeKind.FunnelCorrelationActorsQuery]: {
+ name: 'Persons',
+ description: 'List of persons matching specified conditions, derived from an insight.',
+ icon: IconPerson,
+ inMenu: false,
+ },
+ [NodeKind.GroupsQuery]: {
+ name: 'Groups',
+ description: 'List and explore groups.',
+ icon: IconPerson,
+ inMenu: false,
+ },
+ [NodeKind.DataTableNode]: {
+ name: 'Data table',
+ description: 'Slice and dice your data in a table.',
+ icon: IconTableChart,
+ inMenu: true,
+ },
+ [NodeKind.DataVisualizationNode]: {
+ name: 'SQL',
+ description: 'Slice and dice your data in a table or chart.',
+ icon: IconBrackets,
+ inMenu: false,
+ },
+ [NodeKind.SavedInsightNode]: {
+ name: 'Insight visualization by short id',
+ description: 'View your insights.',
+ icon: IconGraph,
+ inMenu: true,
+ },
+ [NodeKind.InsightVizNode]: {
+ name: 'Insight visualization',
+ description: 'View your insights.',
+ icon: IconGraph,
+ inMenu: true,
+ },
+ [NodeKind.SessionsTimelineQuery]: {
+ name: 'Sessions',
+ description: 'Sessions timeline query.',
+ icon: IconTrends,
+ inMenu: true,
+ },
+ [NodeKind.HogQLQuery]: {
+ name: 'SQL',
+ description: 'Direct SQL query.',
+ icon: IconBrackets,
+ inMenu: true,
+ },
+ [NodeKind.HogQLMetadata]: {
+ name: 'SQL Metadata',
+ description: 'Metadata for a SQL query.',
+ icon: IconBrackets,
+ inMenu: true,
+ },
+ [NodeKind.HogQLAutocomplete]: {
+ name: 'SQL Autocomplete',
+ description: 'Autocomplete for the SQL query editor.',
+ icon: IconBrackets,
+ inMenu: false,
+ },
+ [NodeKind.DatabaseSchemaQuery]: {
+ name: 'Database Schema',
+ description: 'Introspect the PostHog database schema.',
+ icon: IconBrackets,
+ inMenu: true,
+ },
+ [NodeKind.RevenueAnalyticsMetricsQuery]: {
+ name: 'Revenue Analytics Metrics',
+ description: 'View revenue analytics customer, subscription count, ARPU, and LTV.',
+ icon: IconPiggyBank,
+ inMenu: true,
+ },
+ [NodeKind.RevenueAnalyticsOverviewQuery]: {
+ name: 'Revenue Analytics Overview',
+ description: 'View revenue analytics overview.',
+ icon: IconPiggyBank,
+ inMenu: true,
+ },
+ [NodeKind.RevenueAnalyticsGrossRevenueQuery]: {
+ name: 'Revenue Analytics Gross Revenue',
+ description: 'View gross revenue analytics.',
+ icon: IconPiggyBank,
+ inMenu: true,
+ },
+ [NodeKind.RevenueAnalyticsMRRQuery]: {
+ name: 'Revenue Analytics MRR',
+ description: 'View MRR revenue analytics.',
+ icon: IconPiggyBank,
+ inMenu: true,
+ },
+ [NodeKind.RevenueAnalyticsTopCustomersQuery]: {
+ name: 'Revenue Analytics Top Customers',
+ description: 'View revenue analytics top customers.',
+ icon: IconPiggyBank,
+ inMenu: true,
+ },
+ [NodeKind.WebOverviewQuery]: {
+ name: 'Overview Stats',
+ description: 'View overview stats for a website.',
+ icon: IconPieChart,
+ inMenu: true,
+ },
+ [NodeKind.WebStatsTableQuery]: {
+ name: 'Web Table',
+ description: 'A table of results from web analytics, with a breakdown.',
+ icon: IconPieChart,
+ inMenu: true,
+ },
+ [NodeKind.WebGoalsQuery]: {
+ name: 'Goals',
+ description: 'View goal conversions.',
+ icon: IconPieChart,
+ inMenu: true,
+ },
+ [NodeKind.WebExternalClicksTableQuery]: {
+ name: 'External click urls',
+ description: 'View clicks on external links.',
+ icon: IconPieChart,
+ inMenu: true,
+ },
+ [NodeKind.WebVitalsQuery]: {
+ name: 'Web vitals',
+ description: 'View web vitals.',
+ icon: IconPieChart,
+ inMenu: true,
+ },
+ [NodeKind.WebVitalsPathBreakdownQuery]: {
+ name: 'Web vitals path breakdown',
+ description: 'View web vitals broken down by path.',
+ icon: IconPieChart,
+ inMenu: true,
+ },
+ [NodeKind.WebPageURLSearchQuery]: {
+ name: 'Web Page URL Search',
+ description: 'Search and analyze web page URLs.',
+ icon: IconPieChart,
+ inMenu: true,
+ },
+ [NodeKind.HogQuery]: {
+ name: 'Hog',
+ description: 'Hog query.',
+ icon: IconHogQL,
+ inMenu: true,
+ },
+ [NodeKind.SessionAttributionExplorerQuery]: {
+ name: 'Session Attribution',
+ description: 'Session Attribution Explorer.',
+ icon: IconPieChart,
+ inMenu: true,
+ },
+ [NodeKind.SessionsQuery]: {
+ name: 'Sessions',
+ description: 'List and explore sessions.',
+ icon: IconTableChart,
+ inMenu: false,
+ },
+ [NodeKind.RevenueExampleEventsQuery]: {
+ name: 'Revenue Example Events',
+ description: 'Revenue Example Events Query.',
+ icon: IconTableChart,
+ inMenu: true,
+ },
+ [NodeKind.RevenueExampleDataWarehouseTablesQuery]: {
+ name: 'Revenue Example Data Warehouse Tables',
+ description: 'Revenue Example Data Warehouse Tables Query.',
+ icon: IconTableChart,
+ inMenu: true,
+ },
+ [NodeKind.ErrorTrackingQuery]: {
+ name: 'Error Tracking',
+ description: 'List and explore exception groups.',
+ icon: IconWarning,
+ inMenu: false,
+ },
+ [NodeKind.ErrorTrackingIssueCorrelationQuery]: {
+ name: 'Error Tracking Correlation',
+ description: 'Explore issues affecting other events.',
+ icon: IconCorrelationAnalysis,
+ inMenu: false,
+ },
+ [NodeKind.ErrorTrackingSimilarIssuesQuery]: {
+ name: 'Error Tracking Similar Issues',
+ description: 'Explore issues similar to the selected one.',
+ icon: IconWarning,
+ inMenu: false,
+ },
+ [NodeKind.ErrorTrackingBreakdownsQuery]: {
+ name: 'Error Tracking Breakdowns',
+ description: 'Break down error tracking issues by properties.',
+ icon: IconWarning,
+ inMenu: false,
+ },
+ [NodeKind.RecordingsQuery]: {
+ name: 'Session Recordings',
+ description: 'View available recordings.',
+ icon: IconVideoCamera,
+ inMenu: false,
+ },
+ [NodeKind.ExperimentQuery]: {
+ name: 'Experiment Result',
+ description: 'View experiment result.',
+ icon: IconFlask,
+ inMenu: false,
+ },
+ [NodeKind.ExperimentExposureQuery]: {
+ name: 'Experiment Exposure',
+ description: 'View experiment exposure.',
+ icon: IconFlask,
+ inMenu: false,
+ },
+ [NodeKind.ExperimentTrendsQuery]: {
+ name: 'Experiment Trends Result',
+ description: 'View experiment trend result.',
+ icon: IconFlask,
+ inMenu: false,
+ },
+ [NodeKind.ExperimentFunnelsQuery]: {
+ name: 'Experiment Funnels Result',
+ description: 'View experiment funnel result.',
+ icon: IconFlask,
+ inMenu: false,
+ },
+ [NodeKind.ExperimentEventExposureConfig]: {
+ name: 'Experiment Event Exposure Config',
+ description: 'Experiment event exposure configuration.',
+ icon: IconFlask,
+ inMenu: false,
+ },
+ [NodeKind.ExperimentMetric]: {
+ name: 'Experiment Metric',
+ description: 'Experiment metric configuration.',
+ icon: IconFlask,
+ inMenu: false,
+ },
+ [NodeKind.ExperimentDataWarehouseNode]: {
+ name: 'Experiment Data Warehouse',
+ description: 'Experiment data warehouse source configuration.',
+ icon: IconFlask,
+ inMenu: false,
+ },
+ [NodeKind.TeamTaxonomyQuery]: {
+ name: 'Team Taxonomy',
+ icon: IconHogQL,
+ inMenu: false,
+ },
+ [NodeKind.EventTaxonomyQuery]: {
+ name: 'Event Taxonomy',
+ icon: IconHogQL,
+ inMenu: false,
+ },
+ [NodeKind.SuggestedQuestionsQuery]: {
+ name: 'AI Suggested Questions',
+ icon: IconHogQL,
+ inMenu: false,
+ },
+ [NodeKind.ActorsPropertyTaxonomyQuery]: {
+ name: 'Actor Property Taxonomy',
+ description: "View the taxonomy of the actor's property.",
+ icon: IconHogQL,
+ inMenu: false,
+ },
+ [NodeKind.TracesQuery]: {
+ name: 'AI observability traces',
+ icon: IconLlmAnalytics,
+ inMenu: false,
+ },
+ [NodeKind.SessionQuery]: {
+ name: 'AI observability session',
+ icon: IconLlmAnalytics,
+ inMenu: false,
+ },
+ [NodeKind.TraceNeighborsQuery]: {
+ name: 'AI observability trace neighbors',
+ icon: IconLlmAnalytics,
+ inMenu: false,
+ },
+ [NodeKind.TraceQuery]: {
+ name: 'AI observability trace',
+ icon: IconLlmAnalytics,
+ inMenu: false,
+ },
+ [NodeKind.DocumentSimilarityQuery]: {
+ name: 'Document Similarity',
+ description: 'Find documents similar to a given query.',
+ icon: IconAI,
+ inMenu: false,
+ },
+ [NodeKind.VectorSearchQuery]: {
+ name: 'Vector Search',
+ icon: IconHogQL,
+ inMenu: false,
+ },
+ [NodeKind.LogsQuery]: {
+ name: 'Logs',
+ icon: IconLive,
+ inMenu: false,
+ },
+ [NodeKind.LogAttributesQuery]: {
+ name: 'LogAttributes',
+ icon: IconLive,
+ inMenu: false,
+ },
+ [NodeKind.LogValuesQuery]: {
+ name: 'LogValues',
+ icon: IconLive,
+ inMenu: false,
+ },
+ [NodeKind.MetricsQuery]: {
+ name: 'Metrics',
+ description: 'Chart a service metric over time',
+ icon: IconLive,
+ inMenu: false,
+ },
+ [NodeKind.TraceSpansQuery]: {
+ name: 'Trace Spans',
+ icon: IconLive,
+ inMenu: false,
+ },
+ [NodeKind.TraceSpansAggregationQuery]: {
+ name: 'Trace Spans Aggregation',
+ icon: IconLive,
+ inMenu: false,
+ },
+ [NodeKind.TraceSpansTreeQuery]: {
+ name: 'Trace Spans Tree',
+ icon: IconLive,
+ inMenu: false,
+ },
+ [NodeKind.TraceSpansAttributeBreakdownQuery]: {
+ name: 'Trace Spans Attribute Breakdown',
+ icon: IconLive,
+ inMenu: false,
+ },
+ [NodeKind.TraceSpansSymbolStatsQuery]: {
+ name: 'Trace Spans Symbol Stats',
+ icon: IconLive,
+ inMenu: false,
+ },
+ [NodeKind.WebAnalyticsExternalSummaryQuery]: {
+ name: 'Web Analytics External Summary',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.MarketingAnalyticsTableQuery]: {
+ name: 'Marketing Analytics Table',
+ icon: IconHogQL,
+ inMenu: false,
+ },
+ [NodeKind.MarketingAnalyticsAggregatedQuery]: {
+ name: 'Marketing Analytics Aggregated',
+ icon: IconHogQL,
+ inMenu: false,
+ },
+ [NodeKind.NonIntegratedConversionsTableQuery]: {
+ name: 'Non-Integrated Conversions Table',
+ icon: IconHogQL,
+ inMenu: false,
+ },
+ [NodeKind.UsageMetricsQuery]: {
+ name: 'Usage Metrics',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.AccountsQuery]: {
+ name: 'Accounts',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.EndpointsUsageOverviewQuery]: {
+ name: 'Endpoints usage overview',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.EndpointsUsageTableQuery]: {
+ name: 'Endpoints usage table',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.EndpointsUsageTrendsQuery]: {
+ name: 'Endpoints usage trends',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.PropertyValuesQuery]: {
+ name: 'Property values',
+ icon: IconHogQL,
+ inMenu: false,
+ },
+ [NodeKind.WebNotableChangesQuery]: {
+ name: 'Notable changes',
+ description: 'View notable changes in web analytics metrics.',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.MCPHarnessBreakdownQuery]: {
+ name: 'MCP harness breakdown',
+ description: 'MCP tool-call activity grouped by client harness.',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.MCPToolSampleIntentsQuery]: {
+ name: 'MCP tool sample intents',
+ description: 'Recent sampled intents for a single MCP tool.',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.MCPToolNeighborsQuery]: {
+ name: 'MCP tool neighbors',
+ description: 'Tools called adjacent to a single MCP tool within a conversation.',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.MCPToolStatsQuery]: {
+ name: 'MCP tool stats',
+ description: 'Summary stats for a single MCP tool.',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.MCPToolDailyStatsQuery]: {
+ name: 'MCP tool daily stats',
+ description: 'Per-day activity for a single MCP tool.',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.MCPToolDescriptionsQuery]: {
+ name: 'MCP tool descriptions',
+ description: 'Reported descriptions for a single MCP tool.',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.MCPToolTopUsersQuery]: {
+ name: 'MCP tool top users',
+ description: 'Top users of a single MCP tool.',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.MCPToolFailuresQuery]: {
+ name: 'MCP tool failures',
+ description: 'Recurring exception messages for a single MCP tool.',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.MCPToolQualityRowsQuery]: {
+ name: 'MCP tool quality rows',
+ description: 'Per-tool quality metrics for the Tool quality tab.',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.MCPToolQualityDailyStatsQuery]: {
+ name: 'MCP tool quality daily stats',
+ description: 'Interval-bucketed activity series for the Tool quality tab.',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.MCPToolCategoryCountsQuery]: {
+ name: 'MCP tool category counts',
+ description: 'Per-category call counts for the Tool quality tab.',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+ [NodeKind.MCPToolCategoriesQuery]: {
+ name: 'MCP tool categories',
+ description: 'Distinct tool categories for the Tool quality scope selector.',
+ icon: IconPieChart,
+ inMenu: false,
+ },
+}
+
+export const INSIGHT_TYPES_METADATA: Record<InsightType, InsightTypeMetadata> = {
+ [InsightType.TRENDS]: QUERY_TYPES_METADATA[NodeKind.TrendsQuery],
+ [InsightType.FUNNELS]: QUERY_TYPES_METADATA[NodeKind.FunnelsQuery],
+ [InsightType.RETENTION]: QUERY_TYPES_METADATA[NodeKind.RetentionQuery],
+ [InsightType.PATHS]: QUERY_TYPES_METADATA[NodeKind.PathsQuery],
+ [InsightType.STICKINESS]: QUERY_TYPES_METADATA[NodeKind.StickinessQuery],
+ [InsightType.LIFECYCLE]: QUERY_TYPES_METADATA[NodeKind.LifecycleQuery],
+ [InsightType.SQL]: {
+ name: 'SQL',
+ description: 'Use SQL to query your data.',
+ icon: IconBrackets,
+ inMenu: true,
+ tooltipDocLink: 'https://posthog.com/docs/data-warehouse/sql',
+ },
+ [InsightType.JSON]: {
+ name: 'Custom',
+ description: 'Save components powered by our JSON query language.',
+ icon: IconBrackets,
+ inMenu: true,
+ },
+ [InsightType.HOG]: {
+ name: 'Hog',
+ description: 'Use Hog to query your data.',
+ icon: IconHogQL,
+ inMenu: false,
+ },
+ [InsightType.WEB_ANALYTICS]: {
+ name: 'Web Analytics',
+ description: 'Web analytics insights from your website data.',
+ icon: IconLineGraph,
+ inMenu: false,
+ },
+}
+
+export const INSIGHT_TYPE_OPTIONS: LemonSelectOptions<string> = [
+ { value: 'All types', label: 'All types' },
+ ...Object.entries(INSIGHT_TYPES_METADATA)
+ .filter(([, meta]) => meta.inMenu !== false)
+ .map(([value, meta]) => ({
+ value,
+ label: meta.name,
+ icon: meta.icon ? <meta.icon /> : undefined,
+ })),
+]
diff --git a/frontend/src/scenes/saved-insights/worldMapSketchData.ts b/frontend/src/scenes/saved-insights/worldMapSketchData.ts
new file mode 100644
index 000000000000..7b89757720d7
--- /dev/null
+++ b/frontend/src/scenes/saved-insights/worldMapSketchData.ts
@@ -0,0 +1,41 @@
+// Miniature of the real World Map insight for the insight picker sketch.
+// Generated from the insight's own countryVectors.tsx (Robinson projection):
+// each country's path is flattened, fitted into the 160x88 sketch viewBox,
+// simplified, and islands smaller than a pixel are dropped. Countries "without
+// data" are merged into one base path; a few countries are shaded by value
+// like the insight's choropleth.
+export const WORLD_MAP_BASE_D =
+ 'M83.9 45.3L84.4 44.9L84.7 45.4L86.8 45.2L87.6 44.0L88.1 45.3L89.0 43.7L89.3 41.6L90.0 41.1L88.6 38.4L87.8 39.2L83.9 39.0L83.5 42.2L83.1 42.3L82.6 43.7L83.4 45.4L83.9 45.3ZM83.7 45.9L85.5 48.0L86.1 47.8L87.3 48.4L89.0 47.9L87.6 46.2L88.1 45.8L87.7 44.0L87.2 44.1L86.8 45.2L84.7 45.4L84.3 44.9L83.4 45.4L83.7 45.9ZM89.5 28.1L91.9 28.6L92.4 29.3L91.2 29.3L90.3 29.1L89.5 28.1ZM36.2 52.5L36.6 52.0L36.6 52.5L37.2 52.8L38.9 50.7L38.7 50.3L39.9 51.5L41.2 51.6L41.3 52.4L40.0 52.9L39.6 54.1L40.4 55.3L41.2 55.0L41.2 55.8L41.6 55.8L42.1 56.6L41.6 58.3L42.1 58.7L41.6 59.6L39.0 57.7L36.2 52.5ZM70.3 44.9L71.0 43.4L72.7 42.6L73.8 44.4L71.5 44.6L71.6 45.4L70.3 44.9ZM77.0 34.9L77.9 33.3L81.1 34.8L82.0 33.6L83.7 34.0L83.9 40.0L83.5 40.3L80.0 38.3L79.1 38.7L77.4 37.7L77.0 34.9ZM82.4 23.7L82.4 22.9L83.2 22.8L84.0 21.9L85.1 22.1L86.0 23.2L85.4 23.3L85.7 23.8L85.2 24.2L82.5 24.1L82.4 23.7ZM99.3 35.0L101.6 35.0L101.8 34.3L102.7 34.0L103.5 31.5L104.7 31.4L106.0 32.1L104.5 32.6L105.3 33.8L104.2 36.0L103.2 36.4L104.1 37.8L102.8 38.1L101.9 37.2L99.9 37.4L100.5 36.4L99.3 35.0ZM131.9 50.7L133.2 50.7L133.6 52.0L134.8 51.0L136.3 51.6L136.1 54.9L135.7 54.3L135.1 54.4L135.3 53.8L134.9 53.0L133.2 52.3L133.0 51.7L132.6 52.3L132.2 51.7L133.1 51.3L132.3 51.4L131.9 50.7ZM121.8 49.8L122.2 49.2L122.6 49.8L124.4 49.5L124.9 48.0L125.7 48.1L125.8 49.2L126.4 49.7L125.9 49.7L125.1 51.8L124.4 52.4L124.2 51.9L122.4 51.8L121.8 49.8ZM126.5 52.9L126.9 53.1L127.1 51.6L127.5 52.7L128.1 52.5L127.4 51.1L128.4 50.6L127.2 50.9L126.9 50.1L128.7 50.1L129.1 49.4L128.6 49.8L126.9 49.7L126.3 51.6L126.5 52.9ZM120.8 53.3L120.1 53.7L120.7 54.0L124.2 54.7L123.4 53.7L120.8 53.3ZM116.6 47.6L115.6 47.7L117.3 49.4L118.7 52.0L119.8 53.2L120.3 53.2L120.5 51.8L119.9 51.6L119.4 50.1L118.9 50.1L119.2 49.9L116.6 47.6ZM96.5 41.7L95.9 40.5L94.5 40.8L93.8 41.6L92.1 41.3L91.8 42.5L92.2 43.8L92.9 43.7L96.5 41.7ZM91.9 61.5L92.3 63.1L93.5 62.9L94.9 58.2L95.3 58.1L94.8 56.3L94.2 57.8L92.6 58.5L92.5 60.4L91.9 61.5ZM41.6 55.8L43.4 55.2L43.7 56.3L45.8 57.3L46.0 58.5L46.9 58.6L47.3 59.5L47.1 60.5L46.6 60.1L45.5 60.3L45.3 61.6L44.7 61.5L44.6 61.9L43.7 61.3L43.1 61.9L41.9 59.1L42.3 58.5L41.6 55.8ZM81.2 26.7L80.8 26.9L80.9 28.1L81.6 28.9L82.4 28.6L82.4 27.6L81.2 26.7ZM68.9 46.9L69.4 44.9L71.4 45.2L71.7 46.0L71.6 47.6L69.4 48.0L69.4 47.3L68.9 46.9ZM75.7 26.8L76.7 25.9L77.5 26.3L77.3 26.7L75.7 26.8ZM76.6 47.8L77.3 46.7L77.9 47.0L78.1 46.6L79.4 44.3L79.1 43.6L79.8 45.1L79.1 45.3L79.8 46.3L79.3 47.2L80.0 49.4L77.3 49.1L76.7 47.8ZM81.7 62.9L82.2 59.6L84.0 59.3L85.8 61.5L84.1 63.3L83.0 63.1L82.4 63.9L81.9 64.0L81.7 62.9ZM88.1 50.8L88.6 49.2L88.2 48.0L90.6 48.5L91.1 48.1L91.6 48.2L91.2 48.9L91.5 51.1L90.4 52.6L88.1 50.8ZM88.1 35.3L88.3 33.6L89.6 33.2L89.8 33.8L88.9 34.2L89.4 34.7L88.1 35.3ZM22.8 33.7L23.8 33.6L25.2 34.2L27.2 34.0L28.1 35.4L29.1 35.1L29.6 36.7L30.4 37.0L29.8 38.8L30.3 40.8L32.2 40.8L33.0 39.5L34.5 39.3L33.9 41.0L33.8 40.6L32.4 41.2L32.6 42.0L32.0 42.0L31.7 42.8L30.7 41.9L29.3 42.1L26.3 40.4L26.3 38.7L25.0 37.1L24.0 34.1L23.6 33.9L23.4 34.9L24.8 38.3L24.5 38.5L23.7 37.6L23.8 36.9L22.8 36.0L23.3 36.2L23.4 35.7L22.8 33.7ZM95.5 37.9L96.7 37.9L97.5 37.0L97.1 38.7L96.0 38.5L95.5 37.9ZM66.8 45.6L67.8 45.2L68.2 46.0L67.6 46.7L66.8 45.6ZM67.4 42.7L67.6 42.3L70.4 42.3L70.0 37.5L70.8 37.5L74.3 40.1L74.3 40.5L74.7 40.5L74.6 42.2L72.5 42.5L71.0 43.4L70.1 45.0L69.2 45.1L68.7 43.9L67.7 44.1L67.4 42.7ZM78.3 53.2L80.0 52.1L81.6 47.6L82.8 48.1L85.0 47.6L86.7 48.5L86.9 49.2L85.8 51.5L85.9 53.3L86.5 54.4L85.5 55.0L85.5 56.2L86.1 56.4L86.1 57.1L85.0 56.2L82.8 56.0L82.6 54.0L81.6 53.8L81.5 54.3L80.7 54.3L80.2 53.2L78.3 53.2ZM75.9 27.3L76.1 26.8L76.9 26.9L77.5 26.4L78.7 26.6L78.8 27.0L78.2 27.2L78.3 27.7L80.8 29.7L80.1 29.7L80.3 30.4L79.7 30.9L79.6 29.8L77.8 28.6L77.3 27.8L76.3 27.9L75.9 27.3ZM91.2 49.1L91.7 48.2L93.0 47.7L94.3 46.2L92.3 45.4L92.2 44.4L92.9 44.9L95.6 44.2L95.8 44.9L93.8 48.7L91.5 51.1L91.2 49.1ZM98.8 32.9L99.0 32.1L99.7 32.2L100.7 31.1L102.2 31.3L102.8 30.6L103.3 31.5L104.5 31.2L103.2 31.8L103.4 32.3L102.8 32.9L102.7 34.0L101.8 34.3L101.5 35.1L99.3 35.0L99.6 34.3L98.8 32.9ZM111.5 36.7L113.4 37.5L113.0 38.2L113.2 38.5L113.4 38.2L113.6 39.6L112.7 38.2L112.8 38.9L112.2 39.2L111.5 36.7ZM71.4 47.0L71.5 44.6L72.7 44.6L73.3 47.1L71.9 47.8L71.4 47.0ZM77.1 26.2L78.5 26.1L79.2 25.3L80.1 25.8L79.1 26.6L77.1 26.2ZM77.7 20.5L78.3 19.4L78.1 18.4L78.7 18.1L79.3 16.7L80.7 16.0L81.8 16.4L82.1 17.4L81.5 17.4L80.9 18.3L80.0 18.6L79.9 19.7L80.6 20.2L79.6 20.7L79.6 21.8L78.4 22.2L77.7 20.5ZM84.0 30.1L84.2 29.6L86.8 28.8L89.0 29.4L90.8 29.0L91.7 30.0L91.4 30.2L91.9 31.3L88.5 31.5L88.3 32.0L88.2 31.4L85.6 31.8L84.6 31.5L85.0 31.4L84.5 31.4L84.1 30.7L84.3 30.1L84.0 30.1ZM86.1 50.8L86.9 49.2L86.7 48.4L88.1 48.1L88.6 49.2L88.1 50.1L86.1 50.8ZM86.3 57.9L88.2 57.6L88.5 59.0L88.8 57.8L88.5 56.1L91.0 55.7L90.9 58.1L88.1 60.2L88.5 62.5L87.3 63.3L87.2 63.9L86.7 61.7L87.4 60.4L87.5 58.8L86.4 58.4L86.3 57.9ZM128.9 32.9L130.6 32.5L131.0 33.2L131.1 32.4L132.6 32.3L132.2 30.2L131.2 29.1L131.3 31.2L130.9 31.5L130.6 31.2L130.7 32.1L129.3 32.2L128.9 32.9ZM130.3 27.1L130.9 29.1L131.2 28.9L130.7 28.5L132.0 28.8L132.6 28.2L130.3 27.1ZM140.1 73.6L141.0 73.9L143.6 72.5L145.1 71.2L144.5 71.3L144.7 70.9L140.1 73.6ZM145.2 71.3L148.0 69.4L147.0 69.4L147.2 69.0L146.7 69.0L147.0 68.2L146.5 67.8L146.7 69.1L145.5 70.2L145.8 70.7L145.2 71.3ZM35.4 39.1L36.3 38.5L37.8 38.6L40.1 39.9L38.5 40.1L38.7 39.7L36.9 38.7L35.4 39.1ZM39.9 45.6L40.9 44.2L40.5 45.2L40.9 45.5L40.7 44.7L41.6 44.4L41.4 44.0L42.3 44.9L45.1 44.8L44.6 45.1L45.5 45.4L45.1 45.9L45.9 46.0L45.2 47.2L45.5 47.7L44.5 48.4L43.6 48.0L44.2 49.1L42.9 49.8L42.2 48.8L42.5 47.1L40.4 46.6L39.9 45.6ZM69.2 30.2L69.6 28.9L70.6 29.0L69.8 31.4L69.3 31.4L69.2 30.2ZM37.2 49.4L38.1 48.3L38.1 45.8L38.3 46.2L39.2 44.6L40.8 43.9L39.9 45.6L40.4 46.6L42.5 47.1L42.2 48.8L42.7 49.6L42.4 49.2L41.3 49.4L41.6 49.8L41.2 50.0L41.3 52.4L41.1 51.5L39.9 51.5L39.1 50.4L37.2 49.4ZM78.1 59.0L79.0 56.0L78.4 53.3L80.2 53.2L80.7 54.4L81.5 54.3L81.6 53.8L82.6 54.0L82.8 56.0L83.6 56.0L83.5 56.8L82.6 57.0L82.6 58.5L83.3 59.2L78.1 59.0ZM116.0 40.8L116.3 40.2L117.2 39.8L117.7 41.3L118.9 40.9L119.9 42.3L119.8 43.0L118.5 43.3L118.9 44.3L117.5 43.4L117.3 45.5L118.7 47.0L118.3 47.3L116.9 46.0L117.4 44.3L116.6 42.6L116.8 41.9L116.0 40.8ZM136.1 54.9L136.3 51.6L139.1 53.3L138.9 54.0L140.4 55.5L139.0 55.4L137.7 54.1L136.7 54.4L137.1 54.7L136.9 55.0L136.1 54.9ZM89.6 33.2L90.5 32.6L90.9 31.3L91.9 31.3L92.7 32.0L92.4 32.9L94.0 35.0L93.0 35.4L89.8 33.9L89.6 33.2ZM78.7 27.1L79.4 27.1L79.8 26.6L81.1 27.2L79.6 27.2L80.4 28.4L78.7 27.1ZM53.7 12.8L56.7 13.2L57.1 14.5L56.4 14.8L57.7 14.8L57.3 15.0L57.8 14.9L57.3 15.0L57.7 15.4L56.5 15.3L57.8 15.5L56.4 16.3L57.3 16.4L56.1 16.6L57.2 16.6L56.1 16.6L57.1 16.8L55.9 16.8L56.4 16.9L55.8 17.2L57.2 16.9L55.8 17.3L56.7 17.4L56.0 17.6L56.3 17.7L55.9 18.1L56.7 17.8L56.0 18.1L56.5 18.1L56.0 18.2L56.1 18.9L56.5 19.6L57.7 19.5L57.2 19.7L57.7 19.7L57.6 20.0L58.2 20.0L57.9 19.7L58.8 19.2L58.7 18.8L59.8 18.3L59.5 18.1L60.2 17.5L62.1 17.2L63.3 16.1L64.0 16.4L66.9 15.5L64.8 15.5L66.0 15.0L65.1 14.7L67.1 15.4L67.2 14.8L65.7 14.1L67.8 14.1L67.5 13.7L68.4 13.7L67.5 13.4L68.4 13.4L67.8 13.1L68.4 13.0L67.6 12.8L69.0 12.8L68.0 12.5L69.6 11.6L68.8 11.6L70.1 11.4L68.6 11.4L71.3 11.1L67.7 11.4L68.5 10.9L65.6 11.0L68.9 10.8L65.1 10.7L67.8 10.6L65.9 10.5L62.3 10.6L63.9 10.8L62.4 10.7L63.2 10.9L62.5 11.0L58.1 11.0L55.7 11.5L56.6 11.6L56.0 11.8L53.6 12.2L55.1 12.5L53.7 12.8ZM72.9 42.9L74.5 42.2L74.8 40.5L78.2 38.3L79.5 38.5L79.9 39.8L79.7 41.6L78.9 43.2L77.1 43.7L74.9 43.2L74.4 44.3L72.9 42.9ZM81.4 21.7L81.6 21.2L82.4 21.5L82.8 20.9L83.8 21.3L84.1 21.9L81.4 21.7ZM81.4 26.8L82.5 25.8L84.0 25.7L84.6 27.1L85.2 27.3L84.8 28.0L83.6 28.0L82.5 27.9L81.4 26.8ZM82.6 58.5L82.6 56.9L83.5 56.8L83.5 55.8L85.0 56.2L86.1 57.1L86.1 56.4L85.5 56.2L85.5 55.0L86.5 54.4L87.9 55.5L87.6 57.4L86.3 57.9L84.8 59.4L83.3 59.2L82.6 58.5ZM113.6 39.4L114.5 36.7L115.3 36.4L115.3 35.7L115.9 36.2L115.7 38.0L116.3 37.9L116.6 39.0L117.5 39.2L116.0 40.8L116.8 41.9L116.6 42.6L117.4 44.2L117.0 45.1L116.3 41.8L115.9 41.3L115.3 42.2L114.8 42.1L114.5 40.4L113.6 39.4ZM87.6 46.2L89.1 43.0L89.7 42.6L91.5 43.5L91.5 44.6L92.0 44.6L92.3 45.4L94.3 46.2L93.0 47.7L90.6 48.5L89.0 48.0L87.6 46.2ZM31.7 42.8L32.0 42.0L32.6 42.0L32.2 41.4L32.5 41.1L33.3 41.2L33.1 42.1L33.5 42.2L32.6 43.2L31.7 42.8ZM46.8 48.4L46.7 47.7L47.2 47.2L48.5 47.4L48.2 49.0L47.4 49.3L46.8 48.4ZM78.8 42.9L79.7 41.6L79.9 39.9L79.5 38.5L80.0 38.3L83.5 40.3L83.5 42.2L83.1 42.3L82.6 43.7L83.1 44.7L81.1 46.1L79.8 46.4L79.1 45.3L79.8 45.1L78.8 42.9ZM80.8 16.0L82.2 16.1L83.1 15.5L83.9 16.6L84.2 18.3L84.8 18.8L83.6 19.8L82.5 20.0L81.4 19.7L81.2 18.8L82.5 17.5L81.9 17.2L81.8 16.4L80.8 16.0ZM88.2 33.3L88.5 31.5L90.9 31.2L90.3 32.8L88.8 33.7L88.2 33.3ZM102.0 29.8L103.4 29.4L102.1 29.1L102.6 28.4L103.3 28.6L103.5 28.2L106.1 28.8L103.8 30.1L102.0 29.8ZM95.9 40.5L97.2 40.0L97.4 37.5L98.7 38.2L99.2 38.9L98.5 40.5L97.3 41.5L96.4 41.7L95.9 40.5ZM35.5 46.0L35.6 45.4L36.3 45.8L37.4 45.4L38.1 45.8L37.8 46.5L37.3 45.6L36.5 46.6L35.5 46.0ZM42.6 65.2L43.1 64.0L42.8 62.9L43.7 61.3L44.6 61.9L45.2 61.5L47.6 63.0L47.4 64.2L48.7 64.2L49.2 63.3L49.5 64.0L48.0 65.8L48.1 67.7L49.2 69.0L49.0 69.7L47.1 70.0L47.4 71.0L46.2 71.1L47.2 72.0L46.6 72.0L46.8 73.1L46.2 73.7L47.2 74.3L46.8 75.6L46.4 75.6L46.5 76.4L47.2 76.8L45.7 76.6L44.5 75.4L44.6 73.9L43.4 71.0L43.3 67.7L42.6 65.2ZM45.3 61.6L45.6 60.3L47.0 60.3L47.3 61.5L48.3 61.6L48.6 62.4L49.1 62.5L49.0 63.8L48.4 64.3L47.4 64.2L47.6 63.1L45.3 61.6ZM66.1 44.6L66.7 43.8L68.0 44.1L68.7 43.9L69.4 46.0L68.7 46.6L67.8 45.2L66.8 45.6L66.1 44.6ZM69.6 24.1L69.4 23.8L70.1 23.5L69.7 23.6L70.1 23.3L69.6 23.2L69.7 22.7L70.8 22.3L70.5 22.7L71.2 22.9L71.0 23.7L69.5 24.1ZM74.0 46.2L74.8 43.3L77.0 43.7L78.9 43.3L79.4 44.0L78.0 46.9L77.3 46.7L76.6 47.9L75.5 48.0L75.2 47.2L74.0 47.0L74.0 46.2ZM76.2 32.9L76.7 31.4L77.7 31.4L77.3 32.9L77.9 33.7L77.1 34.8L76.2 32.9ZM78.9 23.4L78.9 22.9L80.1 22.5L82.3 22.7L82.8 24.4L82.4 25.3L79.2 24.4L78.9 23.4ZM78.1 59.0L84.0 59.3L82.2 59.6L81.6 64.7L80.9 65.0L79.6 64.2L79.2 61.7L78.1 59.0ZM83.7 34.9L83.8 34.1L85.5 34.5L87.7 34.3L87.8 36.1L87.0 35.1L88.6 38.0L87.8 39.2L83.9 39.0L83.7 34.9ZM86.2 53.0L86.7 51.9L86.5 50.8L87.1 50.8L87.1 51.7L87.3 51.4L87.6 51.7L88.1 50.8L90.4 52.6L90.5 54.8L90.9 55.5L89.6 56.2L88.5 56.1L88.1 55.1L86.8 54.6L86.2 53.0ZM91.9 41.9L90.2 39.5L89.9 38.2L88.0 35.9L88.1 35.3L89.4 34.7L88.9 34.2L89.8 33.9L92.3 35.3L94.0 35.7L96.0 38.5L97.4 39.0L97.2 40.1L94.5 40.8L93.8 41.6L92.1 41.3L91.9 41.9ZM117.9 38.8L119.2 38.3L120.6 39.3L120.0 39.5L119.7 40.6L121.4 42.4L121.7 44.3L120.6 44.8L120.6 45.2L120.4 45.0L120.6 45.3L120.3 45.1L119.9 45.9L119.6 44.9L120.4 44.7L120.2 44.3L120.9 43.9L120.8 42.4L118.9 40.4L119.3 40.0L119.1 39.7L117.9 38.8ZM104.6 12.5L104.1 12.7L104.5 12.9L103.7 12.9L104.1 13.1L102.1 13.1L100.4 13.6L101.0 14.0L99.2 14.1L100.3 14.8L98.1 14.7L99.3 15.2L98.1 15.0L97.5 14.4L97.8 14.6L97.3 15.0L98.2 15.9L99.4 16.0L100.2 16.6L98.5 16.1L98.8 16.6L98.2 17.2L97.1 16.9L98.0 16.9L98.2 16.2L96.5 14.3L95.8 14.3L95.4 15.1L96.6 16.3L93.8 15.6L93.7 16.3L91.5 16.0L89.5 17.0L88.9 16.7L89.4 16.4L88.3 16.1L88.9 17.4L88.1 17.1L87.4 17.5L87.8 17.9L86.5 17.7L86.8 18.3L84.6 16.8L87.0 17.3L87.7 17.0L87.6 16.6L84.4 15.6L83.3 16.0L83.9 16.5L84.2 18.3L84.8 18.7L83.7 19.8L84.6 20.1L83.8 20.1L83.8 21.5L85.1 22.1L86.0 23.2L85.4 23.3L85.7 23.8L86.4 23.7L87.3 24.6L89.1 25.0L89.1 25.9L88.5 26.1L89.0 26.3L88.0 27.3L92.9 29.2L93.1 28.9L92.1 27.5L93.0 26.7L91.7 25.6L91.9 24.6L92.4 24.9L92.3 24.5L93.0 24.0L94.6 24.6L97.1 24.5L97.3 24.2L96.6 23.9L97.2 23.3L96.6 22.9L99.4 22.2L101.4 23.2L102.6 22.7L104.5 24.4L105.8 24.4L107.8 25.3L109.3 24.4L111.5 24.9L111.5 23.8L116.0 25.2L118.1 24.7L119.6 25.1L120.0 24.8L119.9 23.9L119.4 23.5L120.6 23.1L125.7 26.0L126.5 25.6L126.8 26.0L126.9 27.3L126.2 27.4L126.8 28.7L126.9 28.2L127.7 28.5L128.2 28.1L128.7 25.6L127.4 23.3L124.4 22.5L125.3 20.4L129.8 20.4L129.3 20.1L129.4 19.2L130.4 19.1L131.0 19.8L131.5 19.3L131.1 18.9L131.9 18.9L131.5 18.9L132.1 19.6L131.6 21.0L131.2 21.1L131.4 21.6L134.2 24.4L134.0 23.4L134.6 23.3L134.1 22.8L134.6 22.5L133.9 21.7L134.3 21.8L132.9 20.9L132.5 20.0L134.1 19.7L135.0 20.1L135.7 18.7L136.7 19.0L134.1 17.8L135.3 17.8L134.9 17.1L138.2 18.1L137.5 17.4L138.2 17.3L131.2 15.6L129.1 15.5L129.7 16.1L120.9 14.6L120.0 14.8L119.5 14.6L120.3 14.6L119.7 14.5L118.0 14.3L118.6 14.9L118.2 15.1L116.1 14.8L116.2 15.2L113.6 14.1L108.1 13.9L107.0 14.4L108.5 13.5L107.9 13.2L108.4 13.2L104.6 12.5ZM127.6 22.9L127.6 22.9L130.3 26.9L130.3 26.5L130.8 26.7L129.6 25.3L130.4 25.5L127.6 22.9ZM90.6 14.4L90.5 14.9L92.5 15.3L91.6 14.7L91.7 14.2L90.6 14.4ZM91.1 14.0L91.8 14.2L92.0 13.7L94.7 12.9L94.2 12.7L91.2 13.4L91.6 13.6L91.1 14.0ZM79.6 27.3L81.0 27.4L81.2 27.8L80.7 28.5L79.6 27.3ZM44.1 14.7L42.9 15.5L43.6 15.8L43.3 16.1L41.7 17.0L42.3 16.3L41.8 16.2L41.5 16.6L38.3 16.2L39.3 16.1L38.3 16.4L37.8 17.1L37.5 16.4L35.7 16.5L36.4 16.2L36.1 16.0L33.4 15.8L33.8 15.5L33.0 15.8L32.9 15.3L29.9 16.1L28.2 15.7L23.1 19.9L23.8 19.9L23.7 20.5L24.9 20.2L24.7 21.6L25.1 21.9L24.2 22.7L24.2 23.2L24.7 23.0L24.1 23.7L24.7 23.7L23.9 24.3L24.9 24.4L24.6 24.9L25.0 24.8L24.9 25.3L36.0 25.1L36.1 25.5L37.8 25.8L38.7 25.3L39.7 25.8L39.5 26.6L41.0 27.1L40.8 27.6L40.3 27.2L39.9 28.1L39.3 28.9L40.9 28.4L41.1 27.9L44.4 27.3L45.8 26.1L46.2 26.2L46.1 27.3L47.3 26.8L47.1 27.2L47.7 27.1L46.4 27.6L46.5 28.1L48.7 27.2L47.6 26.8L47.2 26.3L47.6 26.0L46.8 25.8L48.0 25.4L46.6 25.5L44.8 26.5L45.7 25.7L47.4 24.7L49.9 24.7L52.1 23.7L51.7 22.8L50.4 23.2L51.9 22.6L50.7 22.4L51.0 22.0L50.4 21.5L50.9 21.5L50.4 21.0L50.8 20.7L50.4 20.8L50.5 19.9L49.5 20.8L48.1 21.1L48.7 20.6L48.1 20.6L48.6 20.4L48.1 20.0L49.0 19.6L47.9 18.9L46.2 19.0L45.9 20.0L45.0 20.7L45.2 21.7L43.4 22.6L43.3 23.7L42.5 24.5L42.0 24.3L42.3 24.0L41.9 23.8L42.6 22.4L41.4 22.4L40.1 21.3L39.2 21.5L39.7 20.6L39.2 20.5L39.8 19.8L42.2 18.6L41.5 18.1L43.2 18.2L44.1 17.7L43.0 17.3L43.9 17.6L44.7 17.1L45.6 17.2L45.4 16.9L46.6 16.8L46.8 16.2L47.3 16.1L47.2 15.7L46.3 15.6L44.7 16.8L45.1 16.1L44.2 16.3L44.6 15.8L43.9 15.7L44.5 15.5L44.1 14.7ZM33.8 16.8L33.8 16.8L33.4 17.1L34.4 17.0L33.9 17.4L32.3 17.8L32.9 17.5L31.7 17.7L32.9 17.3L31.7 17.2L33.8 16.8ZM47.4 11.6L48.8 11.9L47.6 12.0L48.2 12.3L50.4 11.9L49.8 11.8L50.1 11.5L48.8 11.2L47.4 11.6ZM39.1 13.5L40.7 13.4L39.8 13.7L42.7 13.1L41.9 13.2L42.2 12.8L40.8 13.3L40.1 12.9L39.1 13.5ZM46.4 13.0L46.7 13.1L46.3 13.6L46.9 13.7L50.3 13.3L46.4 13.0ZM48.1 12.9L51.1 12.9L50.3 12.6L52.7 12.2L53.1 12.0L52.0 11.9L53.3 11.9L52.4 11.8L58.1 10.9L54.1 10.6L49.5 11.1L53.3 11.3L51.3 11.5L51.8 11.8L50.4 11.5L50.7 12.0L50.3 12.0L51.2 12.0L49.6 12.1L50.1 12.1L49.6 12.5L50.6 12.3L48.1 12.9ZM42.1 14.6L42.6 15.0L43.6 14.8L44.0 14.4L43.5 14.3L44.3 14.0L43.1 14.0L42.1 14.6ZM44.1 18.3L46.0 18.3L44.9 17.3L43.5 18.4L44.1 18.3ZM45.5 14.9L46.3 15.1L45.4 15.2L46.3 15.6L48.7 15.3L49.3 15.9L48.8 16.1L49.8 16.1L49.5 16.9L50.6 17.1L49.4 17.0L48.0 17.9L47.6 17.5L47.0 17.9L48.7 17.9L48.8 18.6L49.7 19.0L50.5 19.0L50.0 18.3L50.9 18.8L51.5 18.3L50.6 17.2L52.2 17.1L51.6 17.4L52.1 17.8L53.3 17.0L51.4 16.2L52.2 15.9L51.2 15.8L52.3 15.6L51.3 15.7L52.1 15.3L51.7 15.2L50.9 15.5L51.4 14.9L50.2 15.0L50.7 14.7L50.0 14.8L50.5 14.6L50.0 14.4L48.5 14.8L49.0 14.0L47.6 14.3L47.9 14.4L47.4 14.4L47.5 14.7L47.0 14.7L46.9 15.2L46.4 15.1L47.1 15.0L47.0 14.4L47.9 14.0L46.4 14.2L45.5 14.9ZM36.0 15.6L36.9 15.9L36.7 16.2L40.6 16.0L40.4 15.7L41.4 15.5L40.7 15.1L41.2 14.3L40.7 14.2L39.9 14.9L39.9 14.3L37.6 14.3L36.4 14.9L37.5 14.9L36.2 15.2L38.1 15.4L36.0 15.6ZM45.2 47.2L45.9 45.9L46.2 46.1L46.4 47.0L47.1 47.1L46.7 48.2L47.3 49.2L46.1 49.5L45.8 47.6L45.2 47.2ZM82.3 27.9L84.8 28.0L84.7 28.9L82.7 29.2L82.3 27.9ZM91.7 29.2L93.2 29.0L94.0 29.7L93.5 30.7L93.1 30.0L92.5 30.4L91.7 29.2ZM91.5 30.2L92.4 30.4L93.1 30.0L93.7 31.0L94.8 31.6L96.8 30.7L98.9 31.6L98.8 33.0L99.6 34.4L99.3 35.0L100.5 36.4L99.8 37.4L98.2 37.2L97.6 36.4L96.3 36.6L94.6 34.8L93.9 34.9L92.4 32.9L92.7 32.0L92.2 31.9L91.5 30.2ZM117.8 47.0L119.2 47.5L119.7 49.4L119.4 49.6L118.4 48.8L117.8 47.0ZM122.2 49.2L122.9 49.6L122.9 49.0L124.1 47.9L124.7 48.0L125.3 46.7L126.4 47.5L125.9 47.7L126.1 48.0L124.9 48.0L124.4 49.5L122.6 49.8L122.2 49.2ZM127.6 46.6L128.3 46.3L129.2 47.4L129.2 46.6L129.5 47.0L129.7 46.5L129.0 45.2L129.1 45.6L128.3 46.2L128.2 45.8L127.6 46.6ZM48.0 65.8L48.4 65.6L50.2 66.9L50.1 67.8L49.2 68.0L48.1 67.5L48.0 65.8ZM77.8 52.2L78.1 52.1L78.0 51.4L79.1 51.5L79.3 51.1L79.3 49.8L78.7 49.6L78.8 49.1L80.0 49.4L80.6 48.4L81.2 48.5L80.0 52.2L79.4 52.7L78.2 52.8L77.8 52.2ZM82.2 20.7L82.5 20.3L83.9 20.3L83.7 21.2L82.2 20.7ZM65.1 42.7L65.6 41.8L66.4 41.8L67.7 43.6L65.3 44.0L65.9 43.7L65.3 43.8L65.4 43.5L66.6 43.4L65.4 43.3L65.1 42.7ZM69.5 28.4L70.1 27.9L74.5 28.7L73.1 29.9L72.8 31.0L70.7 31.9L69.9 31.1L70.6 29.0L69.5 28.9L69.5 28.4ZM76.8 50.7L77.3 50.1L77.1 49.7L77.9 49.7L77.9 49.0L79.2 49.6L79.2 51.5L78.0 51.4L78.2 52.1L77.8 52.2L76.8 50.7ZM79.7 26.4L80.1 25.8L82.4 25.8L81.8 26.7L80.7 26.9L79.7 26.4ZM87.4 57.2L87.8 56.5L87.6 55.0L88.0 55.1L88.3 57.5L88.6 57.6L88.4 57.1L88.8 57.8L88.4 59.0L88.2 57.6L87.4 57.2ZM101.2 30.2L102.2 29.3L102.6 29.7L102.0 30.1L103.8 30.1L104.6 31.2L103.3 31.5L102.8 30.6L101.7 31.4L101.2 30.2ZM118.5 43.5L118.9 42.9L120.2 43.1L120.8 42.7L120.9 43.9L120.2 44.3L120.4 44.7L119.2 44.9L118.5 43.5ZM126.2 31.0L126.7 30.6L127.8 31.9L127.8 32.3L126.9 32.7L126.2 31.0ZM32.9 42.9L33.5 42.2L34.5 42.1L35.8 42.6L35.0 42.7L33.9 43.6L32.9 42.9ZM65.7 17.6L66.5 17.5L65.6 17.8L66.5 17.9L66.0 18.3L67.4 18.5L69.1 17.8L69.0 17.1L67.0 17.2L66.7 17.7L66.3 17.1L65.7 17.6ZM33.7 43.6L35.8 42.6L35.3 44.7L34.5 44.5L34.8 44.6L34.4 44.1L34.4 44.6L33.7 43.6ZM41.6 59.6L42.0 59.2L42.2 59.4L43.4 62.0L42.8 62.8L43.1 64.0L42.6 66.2L43.3 67.7L43.4 71.0L44.4 72.9L44.1 73.1L44.6 73.9L44.5 75.4L45.7 76.6L47.1 76.8L46.3 77.0L46.4 77.5L45.9 77.3L46.1 77.0L45.5 77.2L46.0 76.9L45.4 77.1L45.0 76.6L45.6 76.8L45.4 76.5L44.2 75.7L44.5 75.5L43.8 74.7L44.3 74.6L43.1 74.0L43.3 73.5L43.8 73.9L43.9 73.3L43.4 71.4L42.7 71.2L42.1 69.2L42.4 67.4L41.6 59.6ZM67.6 46.7L68.5 45.9L69.4 47.3L69.4 48.0L67.6 46.7ZM83.4 45.4L85.1 47.7L84.2 47.5L82.8 48.1L81.5 47.6L81.2 48.5L80.3 48.5L80.1 49.1L79.3 47.2L79.7 46.4L81.1 46.1L82.9 44.6L83.4 45.4ZM80.0 25.5L80.0 25.5L81.0 25.1L82.2 25.3L82.1 25.6L80.4 26.0L80.0 25.5ZM84.1 59.3L84.8 59.4L86.1 58.2L87.5 58.8L87.4 60.4L86.7 61.7L85.3 61.2L84.1 59.3ZM108.6 46.4L108.9 47.2L109.6 46.7L108.7 45.2L108.6 46.4ZM117.1 39.9L117.5 39.2L117.8 39.4L117.7 38.8L119.1 39.7L119.3 40.0L118.9 40.4L120.8 42.5L120.1 43.1L119.1 41.0L117.7 41.3L117.7 40.3L117.1 39.9ZM124.7 29.8L125.4 28.9L126.0 29.1L126.2 28.4L126.8 28.7L126.1 30.0L126.7 30.7L125.7 31.0L124.7 29.8ZM81.5 30.0L81.8 29.4L84.1 29.0L83.9 29.5L83.0 29.5L83.1 29.9L82.5 29.6L82.5 30.4L83.2 30.8L82.6 31.1L82.8 31.7L81.9 30.9L82.8 30.8L82.0 30.7L81.5 30.0ZM94.7 29.0L95.3 28.7L96.7 29.2L97.2 28.5L101.0 30.9L99.5 32.3L98.9 31.6L97.1 30.8L95.8 31.2L95.0 29.3L95.7 29.3L95.2 28.7L95.0 29.2L94.7 29.0ZM36.3 51.4L36.7 49.8L37.3 49.5L38.9 50.3L38.9 50.7L37.2 52.8L36.6 52.5L36.9 51.3L36.6 51.6L36.3 51.4ZM73.2 44.8L74.1 43.9L74.5 44.9L74.0 47.0L73.5 47.1L73.2 44.8ZM75.5 19.4L76.6 18.8L76.3 18.7L77.6 18.4L77.8 18.1L77.1 18.3L80.0 15.8L83.1 15.1L83.2 15.4L84.1 15.4L83.3 15.5L84.1 15.7L83.5 16.0L83.0 15.5L82.2 16.1L81.0 15.9L79.3 16.7L78.7 18.1L78.0 18.5L78.3 19.4L77.9 20.5L77.5 20.1L76.1 20.9L75.7 20.6L76.0 20.2L75.6 20.3L76.3 19.8L75.8 20.0L75.5 19.7L76.4 19.3L75.5 19.4ZM83.9 25.7L84.8 25.8L85.2 26.5L84.6 27.1L83.9 25.7ZM86.2 23.7L85.2 24.2L82.5 24.0L82.8 24.5L82.1 25.6L84.8 25.9L85.3 26.6L84.9 26.6L84.8 27.2L86.0 26.4L87.3 26.9L89.1 25.9L89.1 25.0L87.3 24.7L86.2 23.7ZM107.7 35.5L108.3 34.8L110.4 36.0L111.3 36.0L111.4 36.6L110.1 36.6L107.7 35.5ZM89.1 42.5L89.3 41.6L90.0 41.1L90.5 42.5L92.1 43.8L91.7 43.9L90.2 42.7L89.1 43.0L89.1 42.5ZM97.1 26.9L95.8 27.3L96.3 29.2L95.4 28.7L94.7 29.0L94.8 28.5L93.6 27.6L94.7 27.2L94.5 26.5L92.7 26.5L91.7 25.6L91.8 24.7L92.4 24.9L92.3 24.5L93.0 24.0L94.6 24.6L97.2 24.5L96.5 23.9L97.2 23.3L96.6 22.9L99.4 22.2L101.4 23.2L102.6 22.7L104.5 24.4L105.8 24.3L107.3 24.9L107.7 25.3L107.2 25.7L107.4 26.3L106.4 26.2L106.6 27.3L105.5 27.4L106.1 28.8L103.5 28.2L103.3 28.6L102.3 28.5L101.5 29.5L100.7 29.3L99.7 28.0L98.5 28.1L97.0 27.0ZM95.8 27.3L96.8 27.0L96.9 27.7L96.9 27.1L98.5 28.1L99.6 28.0L101.4 29.5L102.4 28.7L102.1 29.1L103.4 29.4L102.4 29.8L102.2 29.3L101.2 30.1L101.6 31.3L97.2 28.5L96.3 29.2L95.8 27.3ZM107.9 25.2L109.3 24.4L111.5 25.0L111.5 23.8L116.0 25.2L119.0 24.9L119.2 25.9L120.2 25.8L121.2 26.5L120.0 26.7L119.2 27.5L118.4 27.3L118.7 28.0L118.3 28.5L116.4 29.0L112.6 28.5L111.9 27.7L109.8 27.2L109.2 26.0L107.9 25.2ZM103.8 30.1L106.1 28.8L105.5 27.4L106.5 27.3L106.4 26.3L107.4 26.3L107.6 25.3L109.2 26.0L109.9 27.2L111.9 27.7L112.6 28.5L116.4 29.0L118.0 28.6L118.7 28.0L118.4 27.3L119.2 27.4L120.0 26.6L121.1 26.5L120.2 25.8L119.1 25.9L119.0 24.9L120.0 24.8L119.6 23.3L121.3 23.3L125.4 26.0L126.6 25.7L126.9 27.0L126.2 27.4L126.8 28.7L126.2 28.4L126.0 29.1L125.3 29.0L123.8 30.5L123.5 29.4L122.2 30.3L123.2 31.3L124.6 31.2L123.8 31.8L123.7 32.4L125.4 34.0L124.3 33.7L125.5 34.4L124.9 34.8L125.8 35.0L125.8 35.8L125.4 35.9L124.9 37.7L123.8 38.7L122.8 38.5L122.7 39.1L121.6 39.3L121.7 39.9L121.2 39.2L120.2 39.2L119.2 38.3L117.7 38.8L117.8 39.5L117.1 39.3L116.3 37.9L115.8 38.0L115.9 36.3L114.6 35.2L113.2 36.0L112.0 35.8L111.7 36.3L107.6 34.7L106.9 34.2L106.7 32.8L104.4 31.3L104.4 30.6L103.8 30.1ZM48.2 49.1L48.5 47.3L49.5 48.0L49.0 49.1L48.2 49.1ZM71.5 25.8L72.8 25.5L72.6 25.0L73.5 25.1L74.3 24.3L76.6 25.4L75.7 26.8L76.0 26.6L76.3 27.8L75.9 28.2L74.8 28.1L74.2 28.7L72.6 28.3L72.8 26.7L71.4 25.8Z'
+
+export const WORLD_MAP_HIGHLIGHTS: { opacity: number; d: string }[] = [
+ // United States
+ {
+ opacity: 0.9,
+ d: 'M12.3 22.4L15.7 21.2L16.8 20.4L16.1 20.7L16.2 20.4L15.6 20.8L15.4 20.5L14.6 20.7L15.9 19.7L14.8 20.1L14.6 20.1L14.5 19.8L15.4 19.6L14.9 19.6L15.1 19.5L14.8 19.5L14.9 19.3L16.5 18.6L17.9 18.4L18.7 17.8L16.8 17.9L16.9 17.6L17.2 17.6L16.8 17.4L18.7 17.0L18.5 17.3L19.4 17.2L19.3 17.1L19.5 16.9L19.4 17.1L19.9 17.1L19.5 17.0L19.8 16.9L19.7 16.8L19.2 16.8L19.3 16.5L19.0 16.3L24.3 15.0L24.1 15.2L24.6 15.1L25.3 15.2L25.0 15.3L25.3 15.4L28.2 15.7L23.2 19.9L23.8 19.9L23.7 20.5L24.9 20.2L24.7 21.6L25.1 21.9L24.3 22.5L24.7 21.9L24.1 22.1L24.6 21.8L24.3 21.8L24.5 21.5L24.3 21.4L24.8 21.0L24.5 20.9L24.8 20.7L24.4 20.8L24.7 20.3L24.2 20.8L24.0 20.8L24.3 20.6L23.9 20.5L23.8 20.6L24.0 20.8L23.6 20.9L23.2 20.3L23.5 20.0L21.9 20.0L21.7 19.9L22.0 19.7L21.6 19.9L21.3 19.7L21.6 19.5L20.9 19.5L20.4 20.0L18.7 20.4L19.6 19.7L20.5 19.6L20.4 19.5L20.7 19.3L18.8 19.9L17.7 20.4L17.8 20.6L14.5 21.9L12.3 22.4ZM21.6 30.7L21.6 29.7L22.3 28.3L23.6 26.8L23.9 26.7L23.6 26.7L23.9 26.3L24.0 25.7L24.7 25.8L24.3 26.3L24.9 25.8L25.0 25.3L36.0 25.3L36.0 25.1L36.0 25.5L36.3 25.6L37.8 25.8L36.6 26.5L37.1 26.4L36.9 26.5L37.2 26.5L38.0 26.2L38.0 26.4L38.4 26.6L39.5 26.6L39.6 26.8L38.3 26.9L37.7 27.4L37.9 27.4L37.2 28.7L37.2 29.0L37.6 28.9L38.3 27.5L39.2 26.9L39.6 27.2L39.1 28.0L39.6 27.9L39.5 28.5L38.8 29.0L39.2 29.1L40.6 28.7L41.0 28.2L42.1 28.1L42.3 27.7L43.0 27.4L44.4 27.3L45.7 26.1L46.2 26.2L46.2 27.4L45.4 27.7L45.4 27.5L44.7 28.0L44.1 28.7L44.4 29.0L43.8 29.0L42.6 29.5L42.7 29.2L42.0 30.3L41.7 30.1L41.9 29.9L41.7 30.0L41.7 30.6L41.1 31.3L41.4 30.9L41.2 30.4L41.6 30.1L41.2 30.2L41.1 30.8L40.8 30.7L40.9 30.4L40.8 30.7L41.1 30.9L40.9 30.8L41.0 31.2L40.8 31.1L40.9 31.4L40.6 31.2L41.1 31.4L41.1 32.0L41.0 31.6L41.0 31.8L40.7 31.7L40.6 31.9L41.0 32.0L40.8 32.2L40.4 32.1L40.6 32.3L40.3 32.4L40.6 32.5L40.1 32.5L38.0 34.0L37.8 34.7L38.0 36.5L37.7 37.4L37.4 37.4L37.2 37.0L37.2 36.6L36.9 36.2L37.1 35.5L36.7 34.9L36.0 35.1L36.0 34.8L35.4 34.6L35.0 34.8L35.0 34.6L33.9 34.8L34.3 35.0L34.1 35.2L34.4 35.4L34.2 35.5L34.0 35.2L33.6 35.4L33.2 35.0L32.9 35.2L32.6 34.9L31.9 35.3L32.0 35.2L31.8 35.1L31.6 35.5L31.1 35.6L30.3 36.2L30.4 37.0L30.0 36.9L29.7 36.8L29.1 35.1L28.6 35.1L28.1 35.4L27.7 35.1L27.7 34.6L27.2 34.0L25.2 34.2L23.9 33.6L22.8 33.7L22.8 33.3L22.5 32.9L21.7 32.6L21.6 31.3L21.9 30.8L21.7 30.9L21.6 30.7Z',
+ },
+ // India
+ {
+ opacity: 0.7,
+ d: 'M102.8 38.1L103.1 37.8L104.1 37.8L103.2 36.4L103.5 36.0L104.2 36.0L105.2 34.4L105.0 34.0L105.3 33.8L104.7 33.3L104.5 32.6L105.6 32.5L106.0 32.2L107.0 33.3L107.0 33.6L106.6 33.6L106.9 34.3L108.0 34.8L107.7 35.5L109.0 36.2L111.3 36.8L111.3 36.0L111.6 36.0L111.8 36.5L113.0 36.5L112.8 36.1L113.2 36.0L114.0 35.3L114.3 35.4L114.6 35.2L114.9 35.5L114.8 35.8L115.2 35.8L115.3 36.4L114.9 36.3L114.4 36.7L114.2 38.1L113.9 38.0L113.9 39.0L113.7 39.0L113.4 38.1L113.2 38.5L113.0 38.2L113.4 37.5L112.3 37.4L112.1 36.9L111.5 36.7L111.5 37.1L111.9 37.4L111.5 37.7L111.9 37.9L112.1 39.2L112.0 38.9L111.8 39.3L111.6 38.8L111.7 39.0L111.2 39.4L111.1 40.1L110.6 40.1L109.4 41.8L108.6 42.2L108.6 45.0L108.4 45.0L108.2 45.4L108.4 45.6L108.0 45.6L107.6 46.1L107.1 45.6L105.5 41.9L104.9 39.4L105.1 39.1L104.9 39.1L105.0 38.9L104.8 38.8L104.7 39.4L104.0 39.6L103.3 38.8L103.7 38.8L103.9 38.5L103.5 38.6L103.0 38.3L103.1 38.1L102.9 38.1Z',
+ },
+ // United Kingdom
+ {
+ opacity: 0.65,
+ d: 'M71.3 24.8L71.9 24.7L72.0 24.5L73.7 24.4L74.0 24.2L73.6 24.1L74.1 23.6L73.9 23.4L73.5 23.4L73.5 23.2L73.2 23.0L73.5 23.1L73.5 22.8L73.0 22.6L72.8 22.0L72.1 21.9L72.6 21.8L72.3 21.8L72.9 21.1L72.0 21.2L72.2 21.1L72.0 21.0L72.5 20.7L71.8 20.7L71.4 21.2L71.6 21.4L71.3 21.6L71.7 21.6L71.4 22.2L71.8 21.8L71.6 22.5L72.4 22.4L72.2 22.6L72.4 22.8L72.4 23.2L71.7 23.2L71.6 23.5L71.9 23.6L71.4 23.9L72.1 24.2L72.5 24.0L71.6 24.4L71.1 24.8L71.3 24.8Z',
+ },
+ // Germany
+ {
+ opacity: 0.5,
+ d: 'M76.8 22.4L76.8 22.7L77.2 23.1L76.2 23.0L76.0 23.9L75.7 24.0L75.9 25.1L76.6 25.4L76.3 26.0L78.5 26.1L78.4 25.8L78.8 25.5L78.1 24.7L79.2 24.4L79.2 24.2L78.7 22.8L78.3 22.7L77.6 22.9L77.7 22.7L76.8 22.4Z',
+ },
+ // Brazil
+ {
+ opacity: 0.45,
+ d: 'M39.6 54.1L40.0 52.9L40.4 52.5L41.3 52.4L41.5 50.9L41.2 50.0L41.6 49.9L41.3 49.7L41.3 49.4L42.4 49.2L42.6 49.6L42.9 49.8L43.2 49.7L43.3 49.9L44.2 49.0L44.0 49.0L43.6 48.0L44.5 48.4L44.6 48.2L45.3 47.9L45.7 47.5L46.0 48.2L45.8 48.9L46.3 49.6L47.0 49.2L47.6 49.3L47.6 49.0L48.9 49.1L49.5 48.0L49.7 48.1L49.9 49.2L50.3 49.6L49.4 50.9L49.0 51.1L49.8 50.7L50.1 51.2L50.6 51.1L50.5 51.5L50.6 51.2L51.1 51.0L51.1 50.7L51.4 50.5L52.4 51.1L52.6 51.0L52.6 51.4L52.8 51.4L52.6 51.9L52.9 51.5L52.9 51.7L53.3 51.5L54.2 51.8L54.7 51.7L56.1 52.7L56.9 52.9L57.1 53.8L57.1 54.6L56.5 55.5L56.2 55.7L55.8 56.7L55.4 56.7L55.4 59.2L54.8 61.4L54.4 62.0L53.9 61.8L53.2 62.0L51.8 63.2L51.6 63.2L51.7 63.3L51.8 64.8L50.6 66.6L51.1 65.8L50.8 65.5L50.9 65.9L50.3 67.4L50.2 66.9L49.9 66.6L48.4 65.6L48.1 65.6L48.8 64.5L49.5 64.1L49.4 63.6L49.3 63.3L49.0 63.3L49.1 62.5L48.5 62.4L48.2 61.6L47.3 61.5L47.1 60.5L47.3 59.5L46.9 59.0L46.9 58.6L46.1 58.5L45.8 57.3L43.7 56.4L43.5 55.2L42.1 55.9L41.3 55.9L41.2 55.0L40.4 55.3L40.0 55.0L39.6 54.1Z',
+ },
+ // Australia
+ {
+ opacity: 0.35,
+ d: 'M133.4 72.0L133.6 72.2L134.4 71.1L133.5 71.2L133.0 71.0L132.7 72.4L133.0 72.4L133.4 72.0ZM122.2 67.4L122.7 66.5L122.7 65.1L122.4 63.6L122.6 63.7L122.6 63.3L122.6 63.6L122.8 63.5L122.7 62.6L123.1 61.4L123.1 61.7L124.5 60.7L124.8 60.8L126.5 60.2L127.1 59.5L127.2 58.9L127.6 58.6L127.7 59.2L128.0 58.8L127.8 58.5L128.4 58.6L128.3 58.2L128.6 58.2L128.5 58.0L128.7 58.0L128.7 57.8L128.9 57.5L129.0 57.7L129.1 57.3L129.7 57.4L130.0 57.7L129.9 58.1L130.2 57.8L130.7 58.0L130.8 57.8L130.6 57.5L131.2 56.6L132.2 56.4L131.9 55.9L132.8 56.4L133.4 56.5L133.6 56.2L133.5 56.5L133.7 56.6L133.9 56.3L133.9 56.9L133.6 57.0L133.2 57.8L134.7 59.1L135.3 59.2L136.0 58.0L136.3 56.7L136.2 56.6L136.7 55.7L137.0 57.6L137.3 57.5L137.6 57.9L137.7 59.9L138.7 60.6L138.8 61.7L139.2 61.6L139.2 62.2L139.5 62.5L139.9 63.5L139.7 64.8L138.9 66.1L137.6 67.3L136.1 69.4L135.0 69.6L134.1 70.2L134.0 69.7L133.6 69.8L133.9 69.5L133.0 70.0L132.2 69.8L131.9 69.3L132.1 68.8L131.9 68.4L132.1 68.7L132.1 68.3L131.5 68.4L131.8 68.1L131.9 67.6L131.5 68.1L131.1 68.2L131.5 68.0L132.1 66.9L130.8 68.1L130.5 67.9L130.7 67.6L130.4 67.0L130.5 66.8L129.4 66.3L127.1 66.7L125.7 67.5L124.2 67.6L123.1 68.1L122.5 68.1L122.0 67.8L122.2 67.4Z',
+ },
+]