Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

feat(app): update map

dextmorgn1bf3dae185f9
diff --git a/flowsint-app/package.json b/flowsint-app/package.json
index 352705cc..48df7b43 100644
--- a/flowsint-app/package.json
+++ b/flowsint-app/package.json
@@ -87,9 +87,9 @@
"embla-carousel-react": "^8.6.0",
"framer-motion": "^12.0.6",
"input-otp": "^1.4.2",
- "leaflet": "^1.9.4",
"lowlight": "^3.3.0",
"lucide-react": "^0.511.0",
+ "maplibre-gl": "^5.1.1",
"marked": "^15.0.12",
"next-themes": "^0.4.6",
"pixi.js": "^8.14.1",
@@ -97,6 +97,7 @@
"react-force-graph-2d": "^1.27.1",
"react-hook-form": "^7.56.4",
"react-joyride": "^2.9.3",
+ "react-map-gl": "^8.1.0",
"react-markdown": "^10.1.0",
"react-medium-image-zoom": "^5.2.14",
"react-resizable-panels": "^3.0.2",
diff --git a/flowsint-app/src/components/map/map-panel.tsx b/flowsint-app/src/components/map/map-panel.tsx
index 237b2a49..44650e0f 100644
--- a/flowsint-app/src/components/map/map-panel.tsx
+++ b/flowsint-app/src/components/map/map-panel.tsx
@@ -1,15 +1,28 @@
import { useGraphStore } from '@/stores/graph-store'
+import { useNodesDisplaySettings, type ItemType } from '@/stores/node-display-settings'
import { MapFromAddress } from './map'
import { LocationPoint } from './map'
const MapPanel = () => {
const nodes = useGraphStore((state) => state.nodes)
+ const nodeColors = useNodesDisplaySettings((s) => s.colors)
const locationNodes = nodes
- .filter((node) => node.nodeType === 'location' || (node.nodeProperties.latitude && node.nodeProperties.longitude))
+ .filter(
+ (node) =>
+ node.nodeType === 'location' ||
+ (node.nodeProperties.latitude && node.nodeProperties.longitude)
+ )
.map((node) => ({
- lat: node.nodeProperties.latitude || 0,
- lon: node.nodeProperties.longitude || 0,
- address: node.nodeProperties.address || '',
- label: node.nodeProperties.label || ''
+ lat: node.nodeProperties.latitude != null ? Number(node.nodeProperties.latitude) : undefined,
+ lon:
+ node.nodeProperties.longitude != null ? Number(node.nodeProperties.longitude) : undefined,
+ address:
+ [node.nodeProperties.address, node.nodeProperties.city, node.nodeProperties.country]
+ .filter(Boolean)
+ .join(', ') || '',
+ label: node.nodeProperties.nodeLabel || node.nodeProperties.address || '',
+ nodeType: node.nodeType,
+ color: node.nodeColor || nodeColors[node.nodeType as ItemType] || null,
+ icon: node.nodeIcon
}))
return (
<div className="w-full grow h-full">
diff --git a/flowsint-app/src/components/map/map.tsx b/flowsint-app/src/components/map/map.tsx
index 9c3c57f6..824c8d2f 100644
--- a/flowsint-app/src/components/map/map.tsx
+++ b/flowsint-app/src/components/map/map.tsx
@@ -1,16 +1,29 @@
-import React from 'react'
+import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'
import { useQuery } from '@tanstack/react-query'
-// @ts-ignore
-import L from 'leaflet'
-import 'leaflet/dist/leaflet.css'
+import Map, { Layer, NavigationControl, Popup, Source } from 'react-map-gl/maplibre'
+import maplibregl from 'maplibre-gl'
+import 'maplibre-gl/dist/maplibre-gl.css'
import { useTheme } from '../theme-provider'
-import { MapPin } from 'lucide-react'
+import { Globe, Map as MapIcon, MapPin } from 'lucide-react'
+import LoadingSpinner from '@/components/shared/loader'
+import * as LucideIcons from 'lucide-react'
+import { preloadImage } from '@/components/sketches/graph/utils/image-cache'
+import { TYPE_TO_ICON } from '@/stores/node-display-settings'
+import { Switch } from '../ui/switch'
+import { Label } from '../ui/label'
+import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '../ui/select'
+import type { MapRef } from 'react-map-gl/maplibre'
+import type { GeoJSONSource, MapMouseEvent, StyleImageInterface, StyleSpecification } from 'maplibre-gl'
+import type { FeatureCollection, Point } from 'geojson'
export type LocationPoint = {
lat?: number
lon?: number
address?: string
label?: string
+ nodeType?: string
+ color?: string | null
+ icon?: string | null
}
type MapFromAddressProps = {
@@ -20,25 +33,174 @@ type MapFromAddressProps = {
centerOnFirst?: boolean
}
+type MapStyleVariant = 'standard' | 'voyager' | 'satellite'
+
+const VECTOR_STYLES: Record<'standard' | 'voyager', { dark: string; light: string }> = {
+ standard: {
+ dark: 'https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json',
+ light: 'https://basemaps.cartocdn.com/gl/positron-gl-style/style.json'
+ },
+ voyager: {
+ dark: 'https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json',
+ light: 'https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json'
+ }
+}
+
+const SATELLITE_STYLE = {
+ version: 8 as const,
+ glyphs: 'https://demotiles.maplibre.org/font/{fontstack}/{range}.pbf',
+ sources: {
+ 'esri-satellite': {
+ type: 'raster' as const,
+ tiles: [
+ 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}'
+ ],
+ tileSize: 256,
+ maxzoom: 19
+ // attribution: '&copy; Esri'
+ }
+ },
+ layers: [
+ {
+ id: 'esri-satellite-layer',
+ type: 'raster' as const,
+ source: 'esri-satellite',
+ minzoom: 0,
+ maxzoom: 22
+ }
+ ]
+}
+
+function resolveMapStyle(variant: MapStyleVariant, theme: 'dark' | 'light'): string | StyleSpecification {
+ if (variant === 'satellite') return SATELLITE_STYLE
+ return VECTOR_STYLES[variant][theme]
+}
+
+function createPulsingDot(isDark: boolean): StyleImageInterface {
+ const size = 100
+ const canvas = document.createElement('canvas')
+ canvas.width = size
+ canvas.height = size
+ const context = canvas.getContext('2d')!
+ let animationTime = 0
+
+ return {
+ width: size,
+ height: size,
+ data: new Uint8Array(size * size * 4),
+ onAdd(this: StyleImageInterface & { map?: maplibregl.Map }) {
+ this.map = undefined
+ },
+ render(this: StyleImageInterface & { map?: maplibregl.Map }) {
+ const duration = 1500
+ animationTime = (animationTime + 1) % duration
+
+ const t = animationTime / duration
+ const radius = (size / 2) * 0.3
+ const outerRadius = (size / 2) * 0.3 + 15 * t
+ const opacity = 1 - t
+
+ context.clearRect(0, 0, size, size)
+
+ // Outer pulsing ring
+ context.beginPath()
+ context.arc(size / 2, size / 2, outerRadius, 0, Math.PI * 2)
+ const ringColor = isDark
+ ? `rgba(99, 102, 241, ${opacity * 0.4})`
+ : `rgba(79, 70, 229, ${opacity * 0.4})`
+ context.strokeStyle = ringColor
+ context.lineWidth = 2.5
+ context.stroke()
+
+ // Inner solid dot
+ context.beginPath()
+ context.arc(size / 2, size / 2, radius, 0, Math.PI * 2)
+ const gradient = context.createRadialGradient(
+ size / 2,
+ size / 2,
+ 0,
+ size / 2,
+ size / 2,
+ radius
+ )
+ if (isDark) {
+ gradient.addColorStop(0, 'rgba(129, 140, 248, 1)')
+ gradient.addColorStop(1, 'rgba(99, 102, 241, 1)')
+ } else {
+ gradient.addColorStop(0, 'rgba(99, 102, 241, 1)')
+ gradient.addColorStop(1, 'rgba(67, 56, 202, 1)')
+ }
+ context.fillStyle = gradient
+ context.fill()
+
+ // Bright center highlight
+ context.beginPath()
+ context.arc(size / 2 - radius * 0.2, size / 2 - radius * 0.2, radius * 0.35, 0, Math.PI * 2)
+ context.fillStyle = 'rgba(255, 255, 255, 0.3)'
+ context.fill()
+
+ this.data = context.getImageData(0, 0, size, size).data as unknown as Uint8Array
+ return true // Repaint every frame
+ }
+ }
+}
+
+function useResolvedTheme() {
+ const { theme } = useTheme()
+ const [resolved, setResolved] = useState<'dark' | 'light'>(() => {
+ if (theme === 'system') {
+ return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'
+ }
+ return theme
+ })
+
+ useEffect(() => {
+ if (theme !== 'system') {
+ setResolved(theme)
+ return
+ }
+ const mq = window.matchMedia('(prefers-color-scheme: dark)')
+ const handler = (e: MediaQueryListEvent) => setResolved(e.matches ? 'dark' : 'light')
+ setResolved(mq.matches ? 'dark' : 'light')
+ mq.addEventListener('change', handler)
+ return () => mq.removeEventListener('change', handler)
+ }, [theme])
+
+ return resolved
+}
+
export const MapFromAddress: React.FC<MapFromAddressProps> = ({
locations,
height = '400px',
zoom = 15,
centerOnFirst = true
}) => {
- // Get locations that need geocoding
+ const mapRef = useRef<MapRef>(null)
+ const resolvedTheme = useResolvedTheme()
+ const [popupInfo, setPopupInfo] = useState<{
+ lng: number
+ lat: number
+ label: string
+ color: string
+ nodeType: string
+ } | null>(null)
+ const [isGlobe, setIsGlobe] = useState(true)
+ const isGlobeRef = useRef(true)
+ const [styleVariant, setStyleVariant] = useState<MapStyleVariant>('standard')
+ const pulsingDotRef = useRef<StyleImageInterface | null>(null)
+ const isDarkStyle = resolvedTheme === 'dark' || styleVariant === 'satellite'
+
+ // Geocoding
const locationsToGeocode = locations.filter(
(loc) => loc.lat === undefined && loc.lon === undefined && loc.address
)
- const { theme } = useTheme()
- // Single query for all geocoding
+
const geocodeQuery = useQuery({
queryKey: ['geocode', locationsToGeocode.map((loc) => loc.address)],
queryFn: async () => {
const results: ({ lat: number; lon: number } | null)[] = []
for (const location of locationsToGeocode) {
if (!location.address) continue
-
const res = await fetch(
`https://nominatim.openstreetmap.org/search?format=json&q=${encodeURIComponent(location.address)}`
)
@@ -59,7 +221,6 @@ export const MapFromAddress: React.FC<MapFromAddressProps> = ({
// Combine all locations with their coordinates
const processedLocations = locations.map((location) => {
- // If location already has coordinates
if (location.lat !== undefined && location.lon !== undefined) {
return {
...location,
@@ -68,8 +229,6 @@ export const MapFromAddress: React.FC<MapFromAddressProps> = ({
isError: false
}
}
-
- // If location needs geocoding
const geocodeIndex = locationsToGeocode.findIndex((loc) => loc.address === location.address)
if (geocodeIndex !== -1 && geocodeQuery.data) {
const geocoded = geocodeQuery.data[geocodeIndex]
@@ -80,8 +239,6 @@ export const MapFromAddress: React.FC<MapFromAddressProps> = ({
isError: geocodeQuery.isError
}
}
-
- // Fallback for locations without address
return {
...location,
coordinates: null,
@@ -90,92 +247,189 @@ export const MapFromAddress: React.FC<MapFromAddressProps> = ({
}
})
- // Get valid coordinates for map bounds
- const validCoordinates = processedLocations
- .filter((location) => location.coordinates)
- .map((location) => location.coordinates!)
-
- const mapId = `leaflet-map-${btoa(JSON.stringify(locations)).replace(/[^a-zA-Z0-9]/g, '')}`
-
- React.useEffect(() => {
- if (validCoordinates.length === 0) return
-
- // Create custom icon using SVG
- const customIcon = L.divIcon({
- html: `
- <div style="
- background-color: ${theme === 'dark' ? '#3b82f6' : '#2563eb'};
- width: 24px;
- height: 24px;
- border-radius: 50% 50% 50% 0;
- transform: rotate(-45deg);
- border: 2px solid white;
- box-shadow: 0 2px 4px rgba(0,0,0,0.3);
- "></div>
- `,
- className: 'custom-marker',
- iconSize: [24, 24],
- iconAnchor: [12, 24],
- popupAnchor: [0, -24]
- })
+ const validLocations = useMemo(
+ () => processedLocations.filter((l) => l.coordinates),
+ [JSON.stringify(processedLocations)]
+ )
- const map = L.map(mapId)
+ const DEFAULT_MARKER_COLOR = '#6366f1'
- const source = theme === 'dark' ? 'alidade_smooth_dark' : 'alidade_smooth'
- L.tileLayer('https://tiles.stadiamaps.com/tiles/{source}/{z}/{x}/{y}.{ext}', {
- // attribution: '&copy; <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> &copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
- ext: 'png',
- source: source
- }).addTo(map)
+ // Build GeoJSON
+ const geojson = useMemo<FeatureCollection<Point>>(
+ () => ({
+ type: 'FeatureCollection',
+ features: validLocations.map((loc) => {
+ const lat = Number(loc.coordinates!.lat)
+ const lon = Number(loc.coordinates!.lon)
+ const color = loc.color || DEFAULT_MARKER_COLOR
+ const nodeType = loc.nodeType || ''
+ return {
+ type: 'Feature' as const,
+ properties: {
+ label: loc.label || loc.address || `${lat.toFixed(6)}, ${lon.toFixed(6)}`,
+ color,
+ icon: nodeType ? `marker-icon-${nodeType}` : '',
+ hasIcon: nodeType ? 'true' : 'false',
+ nodeType
+ },
+ geometry: {
+ type: 'Point' as const,
+ coordinates: [lon, lat]
+ }
+ }
+ })
+ }),
+ [validLocations]
+ )
- // Add markers for each location
- const markers: L.Marker[] = []
- processedLocations.forEach((location) => {
- if (!location.coordinates) return
+ // Generate and register icon images for each unique node type
+ const registerMapImages = useCallback(async () => {
+ const map = mapRef.current?.getMap()
+ if (!map) return
- const marker = L.marker([location.coordinates.lat, location.coordinates.lon], { icon: customIcon }).addTo(map)
+ // Register pulsing dot
+ if (map.hasImage('pulsing-dot')) {
+ map.removeImage('pulsing-dot')
+ }
+ pulsingDotRef.current = createPulsingDot(isDarkStyle)
+ map.addImage('pulsing-dot', pulsingDotRef.current)
- // Create popup text
- const popupText =
- location.label ||
- location.address ||
- `${location.coordinates.lat.toFixed(6)}, ${location.coordinates.lon.toFixed(6)}`
+ // Collect unique node types from locations
+ const uniqueTypes = new Set<string>()
+ validLocations.forEach((loc) => {
+ if (loc.nodeType) uniqueTypes.add(loc.nodeType)
+ })
- marker.bindPopup(popupText)
- markers.push(marker)
+ // Preload and register each icon via the shared image-cache
+ const promises = Array.from(uniqueTypes).map(async (nodeType) => {
+ const imageId = `marker-icon-${nodeType}`
+ if (map.hasImage(imageId)) map.removeImage(imageId)
+ try {
+ const img = await preloadImage(nodeType, '#ffffff')
+ if (!map.hasImage(imageId)) {
+ map.addImage(imageId, img, { sdf: false })
+ }
+ } catch (err) {
+ console.warn(`[map] Failed to load icon for type: ${nodeType}`, err)
+ }
})
- // Set map view
- if (centerOnFirst && validCoordinates.length > 0) {
- // Center on first coordinate
- map.setView([validCoordinates[0].lat, validCoordinates[0].lon], zoom)
- } else if (validCoordinates.length > 1) {
- // Fit bounds to include all markers
- const group = new L.featureGroup(markers)
- map.fitBounds(group.getBounds().pad(0.1))
- } else if (validCoordinates.length === 1) {
- // Single point
- map.setView([validCoordinates[0].lat, validCoordinates[0].lon], zoom)
+ await Promise.all(promises)
+ map.triggerRepaint()
+ }, [isDarkStyle, validLocations])
+
+ // Fly to markers on data load
+ useEffect(() => {
+ const map = mapRef.current?.getMap()
+ if (!map || validLocations.length === 0) return
+
+ // Wait for map to be loaded
+ const doFly = () => {
+ if (validLocations.length === 1 || centerOnFirst) {
+ const loc = validLocations[0].coordinates!
+ map.flyTo({
+ center: [Number(loc.lon), Number(loc.lat)],
+ zoom,
+ duration: 2000
+ })
+ } else {
+ const bounds = new maplibregl.LngLatBounds()
+ validLocations.forEach((l) => {
+ bounds.extend([Number(l.coordinates!.lon), Number(l.coordinates!.lat)])
+ })
+ map.fitBounds(bounds, { padding: 60, duration: 2000 })
+ }
+ }
+
+ if (map.loaded()) {
+ doFly()
+ } else {
+ map.once('load', doFly)
}
+ }, [validLocations, zoom, centerOnFirst])
- return () => {
- map.remove() // cleanup
+ // Handle click on clusters
+ const onClick = useCallback((e: MapMouseEvent) => {
+ const map = mapRef.current?.getMap()
+ if (!map) return
+
+ // Check for cluster click
+ const clusterFeatures = map.queryRenderedFeatures(e.point, { layers: ['clusters'] })
+ if (clusterFeatures.length > 0) {
+ const feature = clusterFeatures[0]
+ const clusterId = feature.properties?.cluster_id
+ const source = map.getSource('locations') as GeoJSONSource
+ source.getClusterExpansionZoom(clusterId).then((expansionZoom) => {
+ const geo = feature.geometry as Point
+ map.flyTo({
+ center: geo.coordinates as [number, number],
+ zoom: expansionZoom,
+ duration: 500
+ })
+ })
+ return
+ }
+
+ // Check for unclustered point click
+ const pointFeatures = map.queryRenderedFeatures(e.point, {
+ layers: ['unclustered-point', 'unclustered-point-icon']
+ })
+ if (pointFeatures.length > 0) {
+ const feature = pointFeatures[0]
+ const geo = feature.geometry as Point
+ setPopupInfo({
+ lng: geo.coordinates[0],
+ lat: geo.coordinates[1],
+ label: feature.properties?.label || '',
+ color: feature.properties?.color || '#6366f1',
+ nodeType: feature.properties?.nodeType || ''
+ })
+ return
}
- }, [validCoordinates, mapId, zoom, centerOnFirst, theme])
- // Show loading if geocoding is in progress
+ // Click elsewhere → dismiss popup
+ setPopupInfo(null)
+ }, [])
+
+ const applyProjection = useCallback(() => {
+ const map = mapRef.current?.getMap()
+ if (!map) return
+ ;(map as any).setProjection({ type: isGlobeRef.current ? 'globe' : 'mercator' })
+ }, [])
+
+ const handleGlobeToggle = useCallback(
+ (checked: boolean) => {
+ setIsGlobe(checked)
+ isGlobeRef.current = checked
+ applyProjection()
+ },
+ [applyProjection]
+ )
+
+ const onMapLoad = useCallback(() => {
+ const map = mapRef.current?.getMap()
+ if (!map) return
+ registerMapImages()
+ applyProjection()
+ map.on('style.load', () => {
+ registerMapImages()
+ applyProjection()
+ })
+ }, [registerMapImages, applyProjection])
+
+ // Loading state
if (geocodeQuery.isLoading) {
return (
<div className="h-full w-full flex items-center justify-center">
<div className="text-center space-y-3">
- <div className="animate-spin rounded-full h-8 w-8 border-b-2 border-primary mx-auto"></div>
+ <LoadingSpinner size="lg" className="mx-auto" />
<p className="text-muted-foreground">Loading map data...</p>
</div>
</div>
)
}
- // Show error if geocoding failed
+ // Error state
if (geocodeQuery.isError) {
return (
<div className="h-full w-full flex items-center justify-center">
@@ -204,8 +458,8 @@ export const MapFromAddress: React.FC<MapFromAddressProps> = ({
)
}
- // Don't render if we don't have any valid coordinates
- if (validCoordinates.length === 0) {
+ // Empty state
+ if (validLocations.length === 0) {
return (
<div className="w-full flex items-center justify-center h-full">
<div className="text-center space-y-4">
@@ -219,5 +473,178 @@ export const MapFromAddress: React.FC<MapFromAddressProps> = ({
)
}
- return <div id={mapId} style={{ minHeight: height, height: '100%', width: '100%', zIndex: 0 }} />
+ const mapStyle = resolveMapStyle(styleVariant, resolvedTheme)
+
+ return (
+ <div style={{ minHeight: height, height: '100%', width: '100%' }} className="relative">
+ <div className="absolute bottom-6 left-3 z-10 flex flex-col gap-2">
+ <div className="flex items-center gap-2 rounded-lg bg-card/90 backdrop-blur-sm border border-border px-3 py-2 shadow-sm">
+ <MapIcon className="h-3.5 w-3.5 text-muted-foreground shrink-0" />
+ <Select value={styleVariant} onValueChange={(v) => setStyleVariant(v as MapStyleVariant)}>
+ <SelectTrigger className="h-6 w-[110px] border-0 bg-transparent text-xs px-1 py-0 shadow-none focus:ring-0">
+ <SelectValue />
+ </SelectTrigger>
+ <SelectContent>
+ <SelectItem value="standard">Standard</SelectItem>
+ <SelectItem value="voyager">Voyager</SelectItem>
+ <SelectItem value="satellite">Satellite</SelectItem>
+ </SelectContent>
+ </Select>
+ </div>
+ <div className="flex items-center gap-2 rounded-lg bg-card/90 backdrop-blur-sm border border-border px-3 py-2 shadow-sm">
+ <Globe className="h-3.5 w-3.5 text-muted-foreground" />
+ <Label
+ htmlFor="globe-toggle"
+ className="text-xs text-muted-foreground cursor-pointer select-none"
+ >
+ Globe
+ </Label>
+ <Switch
+ id="globe-toggle"
+ checked={isGlobe}
+ onCheckedChange={handleGlobeToggle}
+ className="scale-75"
+ />
+ </div>
+ </div>
+ <Map
+ ref={mapRef}
+ initialViewState={{
+ longitude: Number(validLocations[0].coordinates!.lon),
+ latitude: Number(validLocations[0].coordinates!.lat),
+ zoom: 2
+ }}
+ style={{ width: '100%', height: '100%' }}
+ mapStyle={mapStyle}
+ onClick={onClick}
+ onLoad={onMapLoad}
+ interactiveLayerIds={['clusters', 'unclustered-point', 'unclustered-point-icon']}
+ cursor="auto"
+ >
+ <NavigationControl position="top-right" />
+
+ <Source
+ id="locations"
+ type="geojson"
+ data={geojson}
+ cluster={true}
+ clusterMaxZoom={14}
+ clusterRadius={50}
+ >
+ {/* Cluster circles */}
+ <Layer
+ id="clusters"
+ type="circle"
+ filter={['has', 'point_count']}
+ paint={{
+ 'circle-color': [
+ 'step',
+ ['get', 'point_count'],
+ '#6366f1', // indigo-500
+ 10,
+ '#4f46e5', // indigo-600
+ 50,
+ '#7c3aed' // violet-600
+ ],
+ 'circle-radius': ['step', ['get', 'point_count'], 18, 10, 24, 50, 32],
+ 'circle-stroke-width': 2,
+ 'circle-stroke-color': isDarkStyle
+ ? 'rgba(255, 255, 255, 0.15)'
+ : 'rgba(0, 0, 0, 0.1)'
+ }}
+ />
+
+ {/* Cluster count labels */}
+ <Layer
+ id="cluster-count"
+ type="symbol"
+ filter={['has', 'point_count']}
+ layout={{
+ 'text-field': '{point_count_abbreviated}',
+ 'text-font': ['Open Sans Bold'],
+ 'text-size': 13
+ }}
+ paint={{
+ 'text-color': '#ffffff'
+ }}
+ />
+
+ {/* Unclustered point outer glow */}
+ <Layer
+ id="unclustered-point-glow"
+ type="circle"
+ filter={['!', ['has', 'point_count']]}
+ paint={{
+ 'circle-radius': 18,
+ 'circle-color': ['get', 'color'],
+ 'circle-opacity': 0.2,
+ 'circle-blur': 0.6
+ }}
+ />
+
+ {/* Unclustered point solid circle */}
+ <Layer
+ id="unclustered-point"
+ type="circle"
+ filter={['!', ['has', 'point_count']]}
+ paint={{
+ 'circle-radius': 12,
+ 'circle-color': ['get', 'color'],
+ 'circle-stroke-width': 2,
+ 'circle-stroke-color': isDarkStyle
+ ? 'rgba(255, 255, 255, 0.25)'
+ : 'rgba(255, 255, 255, 0.8)'
+ }}
+ />
+
+ {/* Icon overlay on points that have icons */}
+ <Layer
+ id="unclustered-point-icon"
+ type="symbol"
+ filter={['all', ['!', ['has', 'point_count']], ['==', ['get', 'hasIcon'], 'true']]}
+ layout={{
+ 'icon-image': ['get', 'icon'],
+ 'icon-size': 0.6,
+ 'icon-allow-overlap': true
+ }}
+ />
+ </Source>
+
+ {popupInfo && (
+ <Popup
+ longitude={popupInfo.lng}
+ latitude={popupInfo.lat}
+ anchor="bottom"
+ onClose={() => setPopupInfo(null)}
+ closeButton={true}
+ closeOnClick={false}
+ className="maplibre-popup"
+ >
+ <div className="flex items-center gap-2 px-1 py-0.5">
+ {(() => {
+ const iconName = popupInfo.nodeType
+ ? TYPE_TO_ICON[popupInfo.nodeType] || TYPE_TO_ICON.default
+ : ''
+ const Icon = iconName ? (LucideIcons as any)[iconName] : null
+ return Icon ? (
+ <div
+ className="rounded-full flex items-center justify-center shrink-0"
+ style={{ background: popupInfo.color, width: 24, height: 24 }}
+ >
+ <Icon size={14} color="#fff" strokeWidth={2.5} />
+ </div>
+ ) : (
+ <div
+ className="rounded-full shrink-0"
+ style={{ background: popupInfo.color, width: 10, height: 10 }}
+ />
+ )
+ })()}
+ <span className="text-sm font-medium">{popupInfo.label}</span>
+ </div>
+ </Popup>
+ )}
+ </Map>
+ </div>
+ )
}
diff --git a/flowsint-app/src/styles.css b/flowsint-app/src/styles.css
index 5308008b..7cf5f339 100644
--- a/flowsint-app/src/styles.css
+++ b/flowsint-app/src/styles.css
@@ -850,3 +850,54 @@ body {
transform-origin: top left;
touch-action: none;
}
+
+/* MapLibre GL overrides */
+.maplibregl-popup-content {
+ background: var(--popover);
+ color: var(--popover-foreground);
+ border: 1px solid var(--border);
+ border-radius: var(--radius);
+ padding: 8px 12px;
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
+}
+
+.maplibregl-popup-tip {
+ border-top-color: var(--popover);
+}
+
+.maplibregl-popup-anchor-bottom .maplibregl-popup-tip {
+ border-top-color: var(--popover);
+}
+
+.maplibregl-popup-anchor-top .maplibregl-popup-tip {
+ border-bottom-color: var(--popover);
+}
+
+.maplibregl-popup-anchor-left .maplibregl-popup-tip {
+ border-right-color: var(--popover);
+}
+
+.maplibregl-popup-anchor-right .maplibregl-popup-tip {
+ border-left-color: var(--popover);
+}
+
+.maplibregl-popup-close-button {
+ color: var(--muted-foreground);
+ font-size: 16px;
+ padding: 2px 6px;
+}
+
+.maplibregl-popup-close-button:hover {
+ color: var(--foreground);
+ background: transparent;
+}
+
+.maplibregl-ctrl-group {
+ background: var(--card) !important;
+ border: 1px solid var(--border) !important;
+ border-radius: var(--radius) !important;
+}
+
+.dark .maplibregl-ctrl button .maplibregl-ctrl-icon {
+ filter: invert(1);
+}
diff --git a/yarn.lock b/yarn.lock
index 7a8a8dc2..cdf538a7 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -948,6 +948,98 @@
"@jridgewell/resolve-uri" "^3.1.0"
"@jridgewell/sourcemap-codec" "^1.4.14"
+"@mapbox/geojson-rewind@^0.5.2":
+ version "0.5.2"
+ resolved "https://registry.yarnpkg.com/@mapbox/geojson-rewind/-/geojson-rewind-0.5.2.tgz#591a5d71a9cd1da1a0bf3420b3bea31b0fc7946a"
+ integrity sha512-tJaT+RbYGJYStt7wI3cq4Nl4SXxG8W7JDG5DMJu97V25RnbNg3QtQtf+KD+VLjNpWKYsRvXDNmNrBgEETr1ifA==
+ dependencies:
+ get-stream "^6.0.1"
+ minimist "^1.2.6"
+
+"@mapbox/jsonlint-lines-primitives@^2.0.2", "@mapbox/jsonlint-lines-primitives@~2.0.2":
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz#ce56e539f83552b58d10d672ea4d6fc9adc7b234"
+ integrity sha512-rY0o9A5ECsTQRVhv7tL/OyDpGAoUB4tTvLiW1DSzQGq4bvTPhNw1VpSNjDJc5GFZ2XuyOtSWSVN05qOtcD71qQ==
+
+"@mapbox/point-geometry@^1.1.0", "@mapbox/point-geometry@~1.1.0":
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/@mapbox/point-geometry/-/point-geometry-1.1.0.tgz#3328fb54b3a1273bc619bf0a6baad8de37181749"
+ integrity sha512-YGcBz1cg4ATXDCM/71L9xveh4dynfGmcLDqufR+nQQy3fKwsAZsWd/x4621/6uJaeB9mwOHE6hPeDgXz9uViUQ==
+
+"@mapbox/tiny-sdf@^2.0.7":
+ version "2.0.7"
+ resolved "https://registry.yarnpkg.com/@mapbox/tiny-sdf/-/tiny-sdf-2.0.7.tgz#0d67d65a43195003b282764f2297c619736bbc6e"
+ integrity sha512-25gQLQMcpivjOSA40g3gO6qgiFPDpWRoMfd+G/GoppPIeP6JDaMMkMrEJnMZhKyyS6iKwVt5YKu02vCUyJM3Ug==
+
+"@mapbox/unitbezier@^0.0.1":
+ version "0.0.1"
+ resolved "https://registry.yarnpkg.com/@mapbox/unitbezier/-/unitbezier-0.0.1.tgz#d32deb66c7177e9e9dfc3bbd697083e2e657ff01"
+ integrity sha512-nMkuDXFv60aBr9soUG5q+GvZYL+2KZHVvsqFCzqnkGEf46U2fvmytHaEVc1/YZbiLn8X+eR3QzX1+dwDO1lxlw==
+
+"@mapbox/vector-tile@^2.0.4":
+ version "2.0.4"
+ resolved "https://registry.yarnpkg.com/@mapbox/vector-tile/-/vector-tile-2.0.4.tgz#59c5ca80a84c210e61226367b0f9c8fd1737a437"
+ integrity sha512-AkOLcbgGTdXScosBWwmmD7cDlvOjkg/DetGva26pIRiZPdeJYjYKarIlb4uxVzi6bwHO6EWH82eZ5Nuv4T5DUg==
+ dependencies:
+ "@mapbox/point-geometry" "~1.1.0"
+ "@types/geojson" "^7946.0.16"
+ pbf "^4.0.1"
+
+"@mapbox/whoots-js@^3.1.0":
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/@mapbox/whoots-js/-/whoots-js-3.1.0.tgz#497c67a1cef50d1a2459ba60f315e448d2ad87fe"
+ integrity sha512-Es6WcD0nO5l+2BOQS4uLfNPYQaNDfbot3X1XUoloz+x0mPDS3eeORZJl06HXjwBG1fOGwCRnzK88LMdxKRrd6Q==
+
+"@maplibre/geojson-vt@^5.0.4":
+ version "5.0.4"
+ resolved "https://registry.yarnpkg.com/@maplibre/geojson-vt/-/geojson-vt-5.0.4.tgz#c5f301a5d227cecf0bf4d1ab9239b8b0b13e78fe"
+ integrity sha512-KGg9sma45S+stfH9vPCJk1J0lSDLWZgCT9Y8u8qWZJyjFlP8MNP1WGTxIMYJZjDvVT3PDn05kN1C95Sut1HpgQ==
+
+"@maplibre/maplibre-gl-style-spec@^19.2.1":
+ version "19.3.3"
+ resolved "https://registry.yarnpkg.com/@maplibre/maplibre-gl-style-spec/-/maplibre-gl-style-spec-19.3.3.tgz#a106248bd2e25e77c963a362aeaf630e00f924e9"
+ integrity sha512-cOZZOVhDSulgK0meTsTkmNXb1ahVvmTmWmfx9gRBwc6hq98wS9JP35ESIoNq3xqEan+UN+gn8187Z6E4NKhLsw==
+ dependencies:
+ "@mapbox/jsonlint-lines-primitives" "~2.0.2"
+ "@mapbox/unitbezier" "^0.0.1"
+ json-stringify-pretty-compact "^3.0.0"
+ minimist "^1.2.8"
+ rw "^1.3.3"
+ sort-object "^3.0.3"
+
+"@maplibre/maplibre-gl-style-spec@^24.4.1":
+ version "24.4.1"
+ resolved "https://registry.yarnpkg.com/@maplibre/maplibre-gl-style-spec/-/maplibre-gl-style-spec-24.4.1.tgz#600a1dbb2912831564cc6ba6e96c22cf34ffdc0c"
+ integrity sha512-UKhA4qv1h30XT768ccSv5NjNCX+dgfoq2qlLVmKejspPcSQTYD4SrVucgqegmYcKcmwf06wcNAa/kRd0NHWbUg==
+ dependencies:
+ "@mapbox/jsonlint-lines-primitives" "~2.0.2"
+ "@mapbox/unitbezier" "^0.0.1"
+ json-stringify-pretty-compact "^4.0.0"
+ minimist "^1.2.8"
+ quickselect "^3.0.0"
+ rw "^1.3.3"
+ tinyqueue "^3.0.0"
+
+"@maplibre/mlt@^1.1.6":
+ version "1.1.6"
+ resolved "https://registry.yarnpkg.com/@maplibre/mlt/-/mlt-1.1.6.tgz#49d91b54e4ae6cd03b19d6c3b342a7e8e2c6246d"
+ integrity sha512-rgtY3x65lrrfXycLf6/T22ZnjTg5WgIOsptOIoCaMZy4O4UAKTyZlYY0h6v8le721pTptF94U65yMDQkug+URw==
+ dependencies:
+ "@mapbox/point-geometry" "^1.1.0"
+
+"@maplibre/vt-pbf@^4.2.1":
+ version "4.2.1"
+ resolved "https://registry.yarnpkg.com/@maplibre/vt-pbf/-/vt-pbf-4.2.1.tgz#395d97bd5de68b5efabf0d56c535163bb88f75c7"
+ integrity sha512-IxZBGq/+9cqf2qdWlFuQ+ZfoMhWpxDUGQZ/poPHOJBvwMUT1GuxLo6HgYTou+xxtsOsjfbcjI8PZaPCtmt97rA==
+ dependencies:
+ "@mapbox/point-geometry" "^1.1.0"
+ "@mapbox/vector-tile" "^2.0.4"
+ "@maplibre/geojson-vt" "^5.0.4"
+ "@types/geojson" "^7946.0.16"
+ "@types/supercluster" "^7.1.3"
+ pbf "^4.0.1"
+ supercluster "^8.0.1"
+
"@napi-rs/wasm-runtime@^1.0.7":
version "1.0.7"
resolved "https://registry.yarnpkg.com/@napi-rs/wasm-runtime/-/wasm-runtime-1.0.7.tgz#dcfea99a75f06209a235f3d941e3460a51e9b14c"
@@ -2472,6 +2564,11 @@
resolved "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz"
integrity sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==
+"@types/geojson@*", "@types/geojson@^7946.0.16":
+ version "7946.0.16"
+ resolved "https://registry.yarnpkg.com/@types/geojson/-/geojson-7946.0.16.tgz#8ebe53d69efada7044454e3305c19017d97ced2a"
+ integrity sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==
+
"@types/hast@^2.0.0":
version "2.3.10"
resolved "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz"
@@ -2552,6 +2649,13 @@
dependencies:
csstype "^3.2.2"
+"@types/supercluster@^7.1.3":
+ version "7.1.3"
+ resolved "https://registry.yarnpkg.com/@types/supercluster/-/supercluster-7.1.3.tgz#1a1bc2401b09174d9c9e44124931ec7874a72b27"
+ integrity sha512-Z0pOY34GDFl3Q6hUFYf3HkTwKEE02e7QgtJppBt+beEAxnyOpJua+voGFvxINBHa06GwLFFym7gRPY2SiKIfIA==
+ dependencies:
+ "@types/geojson" "*"
+
"@types/trusted-types@^2.0.7":
version "2.0.7"
resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.7.tgz#baccb07a970b91707df3a3e8ba6896c57ead2d11"
@@ -2577,6 +2681,18 @@
resolved "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz"
integrity sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==
+"@vis.gl/[email protected]":
+ version "8.1.0"
+ resolved "https://registry.yarnpkg.com/@vis.gl/react-mapbox/-/react-mapbox-8.1.0.tgz#ce08f2942ddd92784ae1cedb35dccad61c613ab0"
+ integrity sha512-FwvH822oxEjWYOr+pP2L8hpv+7cZB2UsQbHHHT0ryrkvvqzmTgt7qHDhamv0EobKw86e1I+B4ojENdJ5G5BkyQ==
+
+"@vis.gl/[email protected]":
+ version "8.1.0"
+ resolved "https://registry.yarnpkg.com/@vis.gl/react-maplibre/-/react-maplibre-8.1.0.tgz#48844fc47986637f7bd48d481f26d505ac2976c5"
+ integrity sha512-PkAK/gp3mUfhCLhUuc+4gc3PN9zCtVGxTF2hB6R5R5yYUw+hdg84OZ770U5MU4tPMTCG6fbduExuIW6RRKN6qQ==
+ dependencies:
+ "@maplibre/maplibre-gl-style-spec" "^19.2.1"
+
"@vitejs/plugin-react@^4.3.1":
version "4.7.0"
resolved "https://registry.yarnpkg.com/@vitejs/plugin-react/-/plugin-react-4.7.0.tgz#647af4e7bb75ad3add578e762ad984b90f4a24b9"
@@ -2737,6 +2853,11 @@ aria-hidden@^1.2.4:
dependencies:
tslib "^2.0.0"
+arr-union@^3.1.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4"
+ integrity sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==
+
array-buffer-byte-length@^1.0.1, array-buffer-byte-length@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz#384d12a37295aec3769ab022ad323a18a51ccf8b"
@@ -2825,6 +2946,11 @@ arrify@^1.0.1:
resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
integrity sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==
+assign-symbols@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367"
+ integrity sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==
+
ast-types@^0.16.1:
version "0.16.1"
resolved "https://registry.npmjs.org/ast-types/-/ast-types-0.16.1.tgz"
@@ -2979,6 +3105,21 @@ buffer@^6.0.3:
base64-js "^1.3.1"
ieee754 "^1.2.1"
+bytewise-core@^1.2.2:
+ version "1.2.3"
+ resolved "https://registry.yarnpkg.com/bytewise-core/-/bytewise-core-1.2.3.tgz#3fb410c7e91558eb1ab22a82834577aa6bd61d42"
+ integrity sha512-nZD//kc78OOxeYtRlVk8/zXqTB4gf/nlguL1ggWA8FuchMyOxcyHR4QPQZMUmA7czC+YnaBrPUCubqAWe50DaA==
+ dependencies:
+ typewise-core "^1.2"
+
+bytewise@^1.1.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/bytewise/-/bytewise-1.1.0.tgz#1d13cbff717ae7158094aa881b35d081b387253e"
+ integrity sha512-rHuuseJ9iQ0na6UDhnrRVDh8YnWVlU6xM3VH6q/+yHDeUH2zIhUzP+2/h3LIrhLDBtTqzWpE3p3tP/boefskKQ==
+ dependencies:
+ bytewise-core "^1.2.2"
+ typewise "^1.0.3"
+
version "2.3.0"
resolved "https://registry.yarnpkg.com/cachedir/-/cachedir-2.3.0.tgz#0c75892a052198f0b21c7c1804d8331edfcae0e8"
@@ -4467,6 +4608,21 @@ expand-tilde@^2.0.0, expand-tilde@^2.0.2:
dependencies:
homedir-polyfill "^1.0.1"
+extend-shallow@^2.0.1:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f"
+ integrity sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==
+ dependencies:
+ is-extendable "^0.1.0"
+
+extend-shallow@^3.0.0:
+ version "3.0.2"
+ resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8"
+ integrity sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==
+ dependencies:
+ assign-symbols "^1.0.0"
+ is-extendable "^1.0.1"
+
extend@^3.0.0:
version "3.0.2"
resolved "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz"
@@ -4774,6 +4930,11 @@ get-proto@^1.0.0, get-proto@^1.0.1:
dunder-proto "^1.0.1"
es-object-atoms "^1.0.0"
+get-stream@^6.0.1:
+ version "6.0.1"
+ resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
+ integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==
+
get-symbol-description@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.1.0.tgz#7bdd54e0befe8ffc9f3b4e203220d9f1e881b6ee"
@@ -4790,6 +4951,11 @@ get-tsconfig@^4.7.5:
dependencies:
resolve-pkg-maps "^1.0.0"
+get-value@^2.0.2, get-value@^2.0.6:
+ version "2.0.6"
+ resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28"
+ integrity sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==
+
gifuct-js@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/gifuct-js/-/gifuct-js-2.1.2.tgz#06152437ba30ec914db8398bd838bd0fbc8a6ecd"
@@ -4840,6 +5006,11 @@ gitconfiglocal@^1.0.0:
dependencies:
ini "^1.3.2"
+gl-matrix@^3.4.4:
+ version "3.4.4"
+ resolved "https://registry.yarnpkg.com/gl-matrix/-/gl-matrix-3.4.4.tgz#7789ee4982f62c7a7af447ee488f3bd6b0c77003"
+ integrity sha512-latSnyDNt/8zYUB6VIJ6PCh2jBjJX6gnDsoCZ7LyW7GkqrD51EWwa9qCoGixj8YqBtETQK/xY7OmpTF8xz1DdQ==
+
glob-parent@^6.0.2:
version "6.0.2"
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3"
@@ -5318,6 +5489,18 @@ is-decimal@^2.0.0:
resolved "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz"
integrity sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==
+is-extendable@^0.1.0, is-extendable@^0.1.1:
+ version "0.1.1"
+ resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89"
+ integrity sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==
+
+is-extendable@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4"
+ integrity sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==
+ dependencies:
+ is-plain-object "^2.0.4"
+
is-extglob@^2.1.1:
version "2.1.1"
resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz"
@@ -5421,6 +5604,13 @@ is-plain-obj@^4.0.0:
resolved "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz"
integrity sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==
+is-plain-object@^2.0.3, is-plain-object@^2.0.4:
+ version "2.0.4"
+ resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677"
+ integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==
+ dependencies:
+ isobject "^3.0.1"
+
is-regex@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.2.1.tgz#76d70a3ed10ef9be48eb577887d74205bf0cad22"
@@ -5541,6 +5731,11 @@ ismobilejs@^1.1.1:
resolved "https://registry.yarnpkg.com/ismobilejs/-/ismobilejs-1.1.1.tgz#c56ca0ae8e52b24ca0f22ba5ef3215a2ddbbaa0e"
integrity sha512-VaFW53yt8QO61k2WJui0dHf4SlL8lxBofUuUmwBo0ljPk0Drz2TiuDW4jo3wDcv41qy/SxrJ+VAzJ/qYqsmzRw==
+isobject@^3.0.1:
+ version "3.0.1"
+ resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df"
+ integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==
+
iterator.prototype@^1.1.5:
version "1.1.5"
resolved "https://registry.yarnpkg.com/iterator.prototype/-/iterator.prototype-1.1.5.tgz#12c959a29de32de0aa3bbbb801f4d777066dae39"
@@ -5615,6 +5810,16 @@ json-stable-stringify-without-jsonify@^1.0.1:
resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651"
integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==
+json-stringify-pretty-compact@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/json-stringify-pretty-compact/-/json-stringify-pretty-compact-3.0.0.tgz#f71ef9d82ef16483a407869556588e91b681d9ab"
+ integrity sha512-Rc2suX5meI0S3bfdZuA7JMFBGkJ875ApfVyq2WHELjBiiG22My/l7/8zPpH/CfFVQHuVLd8NLR0nv6vi0BYYKA==
+
+json-stringify-pretty-compact@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/json-stringify-pretty-compact/-/json-stringify-pretty-compact-4.0.0.tgz#cf4844770bddee3cb89a6170fe4b00eee5dbf1d4"
+ integrity sha512-3CNZ2DnrpByG9Nqj6Xo8vqbjT4F6N+tb4Gb28ESAZjYZ5yqvmc56J+/kuIwkaAMOyblTQhUW7PxMkUb8Q36N3Q==
+
json-stringify-safe@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb"
@@ -5656,6 +5861,11 @@ kapsule@^1.16:
dependencies:
lodash-es "4"
+kdbush@^4.0.2:
+ version "4.0.2"
+ resolved "https://registry.yarnpkg.com/kdbush/-/kdbush-4.0.2.tgz#2f7b7246328b4657dd122b6c7f025fbc2c868e39"
+ integrity sha512-WbCVYJ27Sz8zi9Q7Q0xHC+05iwkm3Znipc2XTlrnJbsHMYktW4hPhXUE8Ys1engBrvffoSCqbil1JQAa7clRpA==
+
keyv@^4.5.3:
version "4.5.4"
resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93"
@@ -5668,11 +5878,6 @@ kind-of@^6.0.3:
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd"
integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==
-leaflet@^1.9.4:
- version "1.9.4"
- resolved "https://registry.npmjs.org/leaflet/-/leaflet-1.9.4.tgz"
- integrity sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA==
-
levn@^0.4.1:
version "0.4.1"
resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade"
@@ -5972,6 +6177,34 @@ map-obj@^4.0.0:
resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a"
integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==
+maplibre-gl@^5.1.1:
+ version "5.18.0"
+ resolved "https://registry.yarnpkg.com/maplibre-gl/-/maplibre-gl-5.18.0.tgz#0542080eb6e034f22f9750b8786d00b1642ea7e5"
+ integrity sha512-UtWxPBpHuFvEkM+5FVfcFG9ZKEWZQI6+PZkvLErr8Zs5ux+O7/KQ3JjSUvAfOlMeMgd/77qlHpOw0yHL7JU5cw==
+ dependencies:
+ "@mapbox/geojson-rewind" "^0.5.2"
+ "@mapbox/jsonlint-lines-primitives" "^2.0.2"
+ "@mapbox/point-geometry" "^1.1.0"
+ "@mapbox/tiny-sdf" "^2.0.7"
+ "@mapbox/unitbezier" "^0.0.1"
+ "@mapbox/vector-tile" "^2.0.4"
+ "@mapbox/whoots-js" "^3.1.0"
+ "@maplibre/geojson-vt" "^5.0.4"
+ "@maplibre/maplibre-gl-style-spec" "^24.4.1"
+ "@maplibre/mlt" "^1.1.6"
+ "@maplibre/vt-pbf" "^4.2.1"
+ "@types/geojson" "^7946.0.16"
+ "@types/supercluster" "^7.1.3"
+ earcut "^3.0.2"
+ gl-matrix "^3.4.4"
+ kdbush "^4.0.2"
+ murmurhash-js "^1.0.0"
+ pbf "^4.0.1"
+ potpack "^2.1.0"
+ quickselect "^3.0.0"
+ supercluster "^8.0.1"
+ tinyqueue "^3.0.0"
+
markdown-it@^14.0.0:
version "14.1.0"
resolved "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz"
@@ -6523,7 +6756,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18"
integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==
-minimist@^1.2.5, minimist@^1.2.8:
+minimist@^1.2.5, minimist@^1.2.6, minimist@^1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
@@ -6550,6 +6783,11 @@ ms@^2.1.3:
resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz"
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
+murmurhash-js@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/murmurhash-js/-/murmurhash-js-1.0.0.tgz#b06278e21fc6c37fa5313732b0412bcb6ae15f51"
+ integrity sha512-TvmkNhkv8yct0SVBSy+o8wYzXjE4Zz3PCesbfs8HiCXXdcTuocApFv11UWlNFWKYsP2okqrhb7JNlSm9InBhIw==
+
version "0.0.8"
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"
@@ -6925,6 +7163,13 @@ pathe@^2.0.3:
resolved "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz"
integrity sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==
+pbf@^4.0.1:
+ version "4.0.1"
+ resolved "https://registry.yarnpkg.com/pbf/-/pbf-4.0.1.tgz#ad9015e022b235dcdbe05fc468a9acadf483f0d4"
+ integrity sha512-SuLdBvS42z33m8ejRbInMapQe8n0D3vN/Xd5fmWM3tufNgRQFBpaW2YVJxQZV4iPNqb0vEFvssMEo5w9c6BTIA==
+ dependencies:
+ resolve-protobuf-schema "^2.1.0"
+
picocolors@^1.1.1:
version "1.1.1"
resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz"
@@ -6999,6 +7244,11 @@ postcss@^8.4.35, postcss@^8.4.43:
picocolors "^1.1.1"
source-map-js "^1.2.1"
+potpack@^2.1.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/potpack/-/potpack-2.1.0.tgz#fe548e2f9061e9937f17191c1ab6dd98ca30e02f"
+ integrity sha512-pcaShQc1Shq0y+E7GqJqvZj8DTthWV1KeHGdi0Z6IAin2Oi3JnLCOfwnCo84qc+HAp52wT9nK9H7FAJp5a44GQ==
+
preact@10:
version "10.27.2"
resolved "https://registry.npmjs.org/preact/-/preact-10.27.2.tgz"
@@ -7209,6 +7459,11 @@ prosemirror-view@^1.0.0, prosemirror-view@^1.1.0, prosemirror-view@^1.27.0, pros
prosemirror-state "^1.0.0"
prosemirror-transform "^1.1.0"
+protocol-buffers-schema@^3.3.1:
+ version "3.6.0"
+ resolved "https://registry.yarnpkg.com/protocol-buffers-schema/-/protocol-buffers-schema-3.6.0.tgz#77bc75a48b2ff142c1ad5b5b90c94cd0fa2efd03"
+ integrity sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw==
+
punycode.js@^2.3.1:
version "2.3.1"
resolved "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz"
@@ -7234,6 +7489,11 @@ quick-lru@^4.0.1:
resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f"
integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==
+quickselect@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/quickselect/-/quickselect-3.0.0.tgz#a37fc953867d56f095a20ac71c6d27063d2de603"
+ integrity sha512-XdjUArbK4Bm5fLLvlm5KpTFOiOThgfWWI4axAZDWg4E/0mKdZyI9tNEfds27qCi1ze/vwTR16kvmmGhRra3c2g==
+
version "8.10.1"
resolved "https://registry.npmjs.org/react-day-picker/-/react-day-picker-8.10.1.tgz"
@@ -7310,6 +7570,14 @@ react-kapsule@^2.5:
dependencies:
jerrypick "^1.1.1"
+react-map-gl@^8.1.0:
+ version "8.1.0"
+ resolved "https://registry.yarnpkg.com/react-map-gl/-/react-map-gl-8.1.0.tgz#97ce754e3bbdd49421fc10283119d189db945e00"
+ integrity sha512-vDx/QXR3Tb+8/ap/z6gdMjJQ8ZEyaZf6+uMSPz7jhWF5VZeIsKsGfPvwHVPPwGF43Ryn+YR4bd09uEFNR5OPdg==
+ dependencies:
+ "@vis.gl/react-mapbox" "8.1.0"
+ "@vis.gl/react-maplibre" "8.1.0"
+
react-markdown@^10.1.0:
version "10.1.0"
resolved "https://registry.npmjs.org/react-markdown/-/react-markdown-10.1.0.tgz"
@@ -7620,6 +7888,13 @@ resolve-pkg-maps@^1.0.0:
resolved "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz"
integrity sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==
+resolve-protobuf-schema@^2.1.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/resolve-protobuf-schema/-/resolve-protobuf-schema-2.1.0.tgz#9ca9a9e69cf192bbdaf1006ec1973948aa4a3758"
+ integrity sha512-kI5ffTiZWmJaS/huM8wZfEMer1eRd7oJQhDuxeCLe3t7N7mX3z94CN0xPxBQxFYQTSNz9T0i+v6inKqSdK8xrQ==
+ dependencies:
+ protocol-buffers-schema "^3.3.1"
+
resolve@^1.10.0:
version "1.22.11"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.11.tgz#aad857ce1ffb8bfa9b0b1ac29f1156383f68c262"
@@ -7714,7 +7989,7 @@ run-parallel@^1.1.9:
dependencies:
queue-microtask "^1.2.2"
-rw@1:
+rw@1, rw@^1.3.3:
version "1.3.3"
resolved "https://registry.yarnpkg.com/rw/-/rw-1.3.3.tgz#3f862dfa91ab766b14885ef4d01124bfda074fb4"
integrity sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==
@@ -7850,6 +8125,16 @@ set-proto@^1.0.0:
es-errors "^1.3.0"
es-object-atoms "^1.0.0"
+set-value@^2.0.1:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b"
+ integrity sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==
+ dependencies:
+ extend-shallow "^2.0.1"
+ is-extendable "^0.1.1"
+ is-plain-object "^2.0.3"
+ split-string "^3.0.1"
+
shebang-command@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea"
@@ -7912,6 +8197,28 @@ sonner@^2.0.4:
resolved "https://registry.npmjs.org/sonner/-/sonner-2.0.7.tgz"
integrity sha512-W6ZN4p58k8aDKA4XPcx2hpIQXBRAgyiWVkYhT7CvK6D3iAu7xjvVyhQHg2/iaKJZ1XVJ4r7XuwGL+WGEK37i9w==
+sort-asc@^0.2.0:
+ version "0.2.0"
+ resolved "https://registry.yarnpkg.com/sort-asc/-/sort-asc-0.2.0.tgz#00a49e947bc25d510bfde2cbb8dffda9f50eb2fc"
+ integrity sha512-umMGhjPeHAI6YjABoSTrFp2zaBtXBej1a0yKkuMUyjjqu6FJsTF+JYwCswWDg+zJfk/5npWUUbd33HH/WLzpaA==
+
+sort-desc@^0.2.0:
+ version "0.2.0"
+ resolved "https://registry.yarnpkg.com/sort-desc/-/sort-desc-0.2.0.tgz#280c1bdafc6577887cedbad1ed2e41c037976646"
+ integrity sha512-NqZqyvL4VPW+RAxxXnB8gvE1kyikh8+pR+T+CXLksVRN9eiQqkQlPwqWYU0mF9Jm7UnctShlxLyAt1CaBOTL1w==
+
+sort-object@^3.0.3:
+ version "3.0.3"
+ resolved "https://registry.yarnpkg.com/sort-object/-/sort-object-3.0.3.tgz#945727165f244af9dc596ad4c7605a8dee80c269"
+ integrity sha512-nK7WOY8jik6zaG9CRwZTaD5O7ETWDLZYMM12pqY8htll+7dYeqGfEUPcUBHOpSJg2vJOrvFIY2Dl5cX2ih1hAQ==
+ dependencies:
+ bytewise "^1.1.0"
+ get-value "^2.0.2"
+ is-extendable "^0.1.1"
+ sort-asc "^0.2.0"
+ sort-desc "^0.2.0"
+ union-value "^1.0.1"
+
source-map-js@^1.2.1:
version "1.2.1"
resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz"
@@ -7963,6 +8270,13 @@ spdx-license-ids@^3.0.0:
resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.22.tgz#abf5a08a6f5d7279559b669f47f0a43e8f3464ef"
integrity sha512-4PRT4nh1EImPbt2jASOKHX7PB7I+e4IWNLvkKFDxNhJlfjbYlleYQh285Z/3mPTHSAK/AvdMmw5BNNuYH8ShgQ==
+split-string@^3.0.1:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2"
+ integrity sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==
+ dependencies:
+ extend-shallow "^3.0.0"
+
split2@^3.0.0:
version "3.2.2"
resolved "https://registry.yarnpkg.com/split2/-/split2-3.2.2.tgz#bf2cf2a37d838312c249c89206fd7a17dd12365f"
@@ -8148,6 +8462,13 @@ [email protected]:
dependencies:
inline-style-parser "0.2.4"
+supercluster@^8.0.1:
+ version "8.0.1"
+ resolved "https://registry.yarnpkg.com/supercluster/-/supercluster-8.0.1.tgz#9946ba123538e9e9ab15de472531f604e7372df5"
+ integrity sha512-IiOea5kJ9iqzD2t7QJq/cREyLHTtSmUT6gQsweojg9WH2sYJqZK9SswTu6jrscO6D1G5v5vYZ9ru/eq85lXeZQ==
+ dependencies:
+ kdbush "^4.0.2"
+
supports-color@^5.3.0:
version "5.5.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
@@ -8255,6 +8576,11 @@ tinyglobby@^0.2.15:
fdir "^6.5.0"
picomatch "^4.0.3"
+tinyqueue@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/tinyqueue/-/tinyqueue-3.0.0.tgz#101ea761ccc81f979e29200929e78f1556e3661e"
+ integrity sha512-gRa9gwYU3ECmQYv3lslts5hxuIa90veaEcxDYuu3QGOIAEM2mOZkVHp48ANJuu1CURtRdHKUBY5Lm1tHV+sD4g==
+
tippy.js@^6.3.7:
version "6.3.7"
resolved "https://registry.npmjs.org/tippy.js/-/tippy.js-6.3.7.tgz"
@@ -8414,6 +8740,18 @@ typescript@^5.5.2:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.9.3.tgz#5b4f59e15310ab17a216f5d6cf53ee476ede670f"
integrity sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==
+typewise-core@^1.2, typewise-core@^1.2.0:
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/typewise-core/-/typewise-core-1.2.0.tgz#97eb91805c7f55d2f941748fa50d315d991ef195"
+ integrity sha512-2SCC/WLzj2SbUwzFOzqMCkz5amXLlxtJqDKTICqg30x+2DZxcfZN2MvQZmGfXWKNWaKK9pBPsvkcwv8bF/gxKg==
+
+typewise@^1.0.3:
+ version "1.0.3"
+ resolved "https://registry.yarnpkg.com/typewise/-/typewise-1.0.3.tgz#1067936540af97937cc5dcf9922486e9fa284651"
+ integrity sha512-aXofE06xGhaQSPzt8hlTY+/YWQhm9P0jYUp1f2XtmW/3Bk0qzXcyFWAtPoo2uTGQj1ZwbDuSyuxicq+aDo8lCQ==
+ dependencies:
+ typewise-core "^1.2.0"
+
uc.micro@^2.0.0, uc.micro@^2.1.0:
version "2.1.0"
resolved "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz"
@@ -8462,6 +8800,16 @@ unified@^11.0.0:
trough "^2.0.0"
vfile "^6.0.0"
+union-value@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847"
+ integrity sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==
+ dependencies:
+ arr-union "^3.1.0"
+ get-value "^2.0.6"
+ is-extendable "^0.1.1"
+ set-value "^2.0.1"
+
unist-util-is@^6.0.0:
version "6.0.1"
resolved "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz"