@brightlocal/ui-components 3.2.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AI_USAGE.md +10 -0
- package/README.md +3 -1
- package/component-meta.json +1271 -428
- package/deprecations.json +44 -0
- package/dist/_virtual/_rolldown/runtime.cjs +1 -0
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.js +73 -102
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.d.ts +6 -4
- package/dist/alert-dialog.d.ts.map +1 -1
- package/dist/alert-dialog.js +85 -133
- package/dist/alert.cjs +1 -1
- package/dist/alert.d.ts +4 -4
- package/dist/alert.d.ts.map +1 -1
- package/dist/alert.js +106 -168
- package/dist/aspect-ratio.cjs +1 -1
- package/dist/aspect-ratio.js +13 -16
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.js +30 -45
- package/dist/badge.cjs +1 -1
- package/dist/badge.d.ts +23 -1
- package/dist/badge.d.ts.map +1 -1
- package/dist/badge.js +90 -91
- package/dist/banner.cjs +1 -1
- package/dist/banner.js +102 -148
- package/dist/blocks/empty-state.cjs +1 -1
- package/dist/blocks/empty-state.d.ts +20 -3
- package/dist/blocks/empty-state.d.ts.map +1 -1
- package/dist/blocks/empty-state.js +73 -140
- package/dist/blocks/input-list.cjs +2 -2
- package/dist/blocks/input-list.d.ts +2 -2
- package/dist/blocks/input-list.d.ts.map +1 -1
- package/dist/blocks/input-list.js +136 -176
- package/dist/blocks/progress-state.cjs +1 -1
- package/dist/blocks/progress-state.js +223 -347
- package/dist/blocks/sidebar.cjs +1 -1
- package/dist/blocks/sidebar.d.ts +11 -6
- package/dist/blocks/sidebar.d.ts.map +1 -1
- package/dist/blocks/sidebar.js +763 -1092
- package/dist/brand-illustration-motif.cjs +1 -1
- package/dist/brand-illustration-motif.js +40 -61
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.js +62 -102
- package/dist/button-group.cjs +1 -1
- package/dist/button-group.js +23 -31
- package/dist/button.cjs +1 -1
- package/dist/button.d.ts +4 -2
- package/dist/button.d.ts.map +1 -1
- package/dist/button.js +149 -189
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.d.ts +87 -3
- package/dist/calendar.d.ts.map +1 -1
- package/dist/calendar.js +116 -173
- package/dist/callout.cjs +1 -1
- package/dist/callout.js +73 -96
- package/dist/card.cjs +1 -1
- package/dist/card.d.ts +10 -4
- package/dist/card.d.ts.map +1 -1
- package/dist/card.js +233 -316
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.d.ts +3 -3
- package/dist/carousel.d.ts.map +1 -1
- package/dist/carousel.js +174 -268
- package/dist/centred-layout.cjs +1 -1
- package/dist/centred-layout.js +27 -48
- package/dist/chart-empty.cjs +1 -1
- package/dist/chart-empty.js +18 -27
- package/dist/chart.cjs +7 -7
- package/dist/chart.d.ts +23 -13
- package/dist/chart.d.ts.map +1 -1
- package/dist/chart.js +445 -651
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +36 -69
- package/dist/chip.cjs +1 -1
- package/dist/chip.js +116 -173
- package/dist/collapsible.cjs +1 -1
- package/dist/collapsible.d.ts.map +1 -1
- package/dist/collapsible.js +35 -41
- package/dist/combobox.cjs +3 -3
- package/dist/combobox.d.ts +14 -4
- package/dist/combobox.d.ts.map +1 -1
- package/dist/combobox.js +439 -638
- package/dist/command.cjs +1 -1
- package/dist/command.d.ts.map +1 -1
- package/dist/command.js +273 -420
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.d.ts +5 -5
- package/dist/context-menu.d.ts.map +1 -1
- package/dist/context-menu.js +121 -191
- package/dist/data-table.cjs +1 -1
- package/dist/data-table.d.ts +280 -129
- package/dist/data-table.d.ts.map +1 -1
- package/dist/data-table.js +687 -948
- package/dist/date-picker.cjs +1 -1
- package/dist/date-picker.d.ts +15 -4
- package/dist/date-picker.d.ts.map +1 -1
- package/dist/date-picker.js +156 -231
- package/dist/delta.cjs +1 -0
- package/dist/delta.d.ts +79 -0
- package/dist/delta.d.ts.map +1 -0
- package/dist/delta.js +62 -0
- package/dist/description.cjs +1 -1
- package/dist/description.js +11 -20
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.d.ts +1 -1
- package/dist/dialog.d.ts.map +1 -1
- package/dist/dialog.js +76 -116
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.d.ts +11 -11
- package/dist/drawer.d.ts.map +1 -1
- package/dist/drawer.js +76 -134
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.d.ts +6 -6
- package/dist/dropdown-menu.d.ts.map +1 -1
- package/dist/dropdown-menu.js +179 -300
- package/dist/field.cjs +1 -1
- package/dist/field.d.ts +9 -9
- package/dist/field.d.ts.map +1 -1
- package/dist/field.js +166 -286
- package/dist/global-layout.cjs +1 -1
- package/dist/global-layout.js +203 -342
- package/dist/grid.cjs +1 -1
- package/dist/grid.js +16 -29
- package/dist/header.cjs +1 -1
- package/dist/header.js +21 -38
- package/dist/height-transition.cjs +1 -1
- package/dist/height-transition.js +38 -55
- package/dist/hooks/use-breakpoint.cjs +1 -1
- package/dist/hooks/use-breakpoint.js +9 -9
- package/dist/hooks/use-debounce.cjs +1 -1
- package/dist/hooks/use-debounce.js +12 -11
- package/dist/hooks/use-delayed-pending.cjs +1 -1
- package/dist/hooks/use-delayed-pending.js +8 -9
- package/dist/hooks/use-filter-search-params.cjs +1 -0
- package/dist/hooks/use-filter-search-params.d.ts +93 -0
- package/dist/hooks/use-filter-search-params.d.ts.map +1 -0
- package/dist/hooks/use-filter-search-params.js +122 -0
- package/dist/hooks/use-mobile.cjs +1 -1
- package/dist/hooks/use-mobile.js +6 -6
- package/dist/hooks/use-overlay-pointer-lock.cjs +1 -1
- package/dist/hooks/use-overlay-pointer-lock.js +8 -9
- package/dist/hooks/use-prefers-reduced-motion.cjs +1 -1
- package/dist/hooks/use-prefers-reduced-motion.js +5 -8
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.d.ts +1 -1
- package/dist/hover-card.d.ts.map +1 -1
- package/dist/hover-card.js +30 -62
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +630 -608
- package/dist/info-tooltip.cjs +1 -1
- package/dist/info-tooltip.js +22 -36
- package/dist/input-chip.cjs +1 -1
- package/dist/input-chip.d.ts +32 -3
- package/dist/input-chip.d.ts.map +1 -1
- package/dist/input-chip.js +181 -230
- package/dist/input-group.cjs +1 -1
- package/dist/input-group.js +174 -221
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.d.ts +3 -3
- package/dist/input-otp.d.ts.map +1 -1
- package/dist/input-otp.js +102 -146
- package/dist/input-password.cjs +1 -1
- package/dist/input-password.d.ts +12 -16
- package/dist/input-password.d.ts.map +1 -1
- package/dist/input-password.js +139 -171
- package/dist/input.cjs +1 -1
- package/dist/input.d.ts.map +1 -1
- package/dist/input.js +51 -73
- package/dist/label.cjs +1 -1
- package/dist/label.js +20 -38
- package/dist/lib/block-illustration.cjs +1 -1
- package/dist/lib/block-illustration.d.ts +1 -1
- package/dist/lib/block-illustration.d.ts.map +1 -1
- package/dist/lib/block-illustration.js +16 -18
- package/dist/lib/compose-event-handlers.cjs +1 -0
- package/dist/lib/compose-event-handlers.d.ts +9 -0
- package/dist/lib/compose-event-handlers.d.ts.map +1 -0
- package/dist/lib/compose-event-handlers.js +8 -0
- package/dist/lib/download-file.cjs +1 -0
- package/dist/lib/download-file.d.ts +14 -0
- package/dist/lib/download-file.d.ts.map +1 -0
- package/dist/lib/download-file.js +40 -0
- package/dist/lib/empty-canvas.cjs +1 -1
- package/dist/lib/empty-canvas.js +28 -56
- package/dist/lib/empty-chip.cjs +1 -1
- package/dist/lib/empty-chip.d.ts +14 -3
- package/dist/lib/empty-chip.d.ts.map +1 -1
- package/dist/lib/empty-chip.js +15 -11
- package/dist/lib/field-aria.cjs +1 -0
- package/dist/lib/field-aria.d.ts +34 -0
- package/dist/lib/field-aria.d.ts.map +1 -0
- package/dist/lib/field-aria.js +52 -0
- package/dist/lib/image-file-info.cjs +1 -0
- package/dist/lib/image-file-info.d.ts +25 -0
- package/dist/lib/image-file-info.d.ts.map +1 -0
- package/dist/lib/image-file-info.js +67 -0
- package/dist/lib/media-viewer-content.cjs +1 -0
- package/dist/lib/media-viewer-content.d.ts +102 -0
- package/dist/lib/media-viewer-content.d.ts.map +1 -0
- package/dist/lib/media-viewer-content.js +650 -0
- package/dist/lib/media-viewer-internal.cjs +1 -0
- package/dist/lib/media-viewer-internal.d.ts +98 -0
- package/dist/lib/media-viewer-internal.d.ts.map +1 -0
- package/dist/lib/media-viewer-internal.js +61 -0
- package/dist/lib/media-viewer-motion.cjs +1 -0
- package/dist/lib/media-viewer-motion.d.ts +40 -0
- package/dist/lib/media-viewer-motion.d.ts.map +1 -0
- package/dist/lib/media-viewer-motion.js +37 -0
- package/dist/lib/motion.cjs +1 -1
- package/dist/lib/motion.d.ts +8 -0
- package/dist/lib/motion.d.ts.map +1 -1
- package/dist/lib/motion.js +11 -10
- package/dist/lib/optical-center.cjs +1 -1
- package/dist/lib/optical-center.d.ts +1 -1
- package/dist/lib/optical-center.d.ts.map +1 -1
- package/dist/lib/optical-center.js +12 -5
- package/dist/lib/spring-settle.cjs +1 -1
- package/dist/lib/spring-settle.js +1 -1
- package/dist/lib/table-internal.cjs +1 -0
- package/dist/lib/table-internal.d.ts +62 -0
- package/dist/lib/table-internal.d.ts.map +1 -0
- package/dist/lib/table-internal.js +18 -0
- package/dist/lib/use-controllable.cjs +1 -0
- package/dist/lib/use-controllable.d.ts +12 -0
- package/dist/lib/use-controllable.d.ts.map +1 -0
- package/dist/lib/use-controllable.js +15 -0
- package/dist/lib/use-dev-warning.cjs +1 -1
- package/dist/lib/utils.cjs +1 -1
- package/dist/lib/utils.js +26 -33
- package/dist/link.cjs +1 -1
- package/dist/link.d.ts +1 -1
- package/dist/link.js +78 -124
- package/dist/list.cjs +1 -1
- package/dist/list.d.ts +8 -0
- package/dist/list.d.ts.map +1 -1
- package/dist/list.js +94 -156
- package/dist/loading.cjs +1 -1
- package/dist/loading.js +124 -151
- package/dist/logo-mark.cjs +1 -0
- package/dist/logo-mark.d.ts +79 -0
- package/dist/logo-mark.d.ts.map +1 -0
- package/dist/logo-mark.js +219 -0
- package/dist/logo.cjs +1 -1
- package/dist/logo.d.ts +1 -1
- package/dist/logo.d.ts.map +1 -1
- package/dist/logo.js +51 -87
- package/dist/map.cjs +1 -1
- package/dist/map.d.ts.map +1 -1
- package/dist/map.js +390 -586
- package/dist/media-empty.cjs +1 -1
- package/dist/media-empty.js +27 -42
- package/dist/media-viewer.cjs +1 -0
- package/dist/media-viewer.d.ts +224 -0
- package/dist/media-viewer.d.ts.map +1 -0
- package/dist/media-viewer.js +295 -0
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.d.ts +14 -14
- package/dist/menubar.d.ts.map +1 -1
- package/dist/menubar.js +130 -267
- package/dist/multi-select-filter.cjs +1 -1
- package/dist/multi-select-filter.d.ts +9 -1
- package/dist/multi-select-filter.d.ts.map +1 -1
- package/dist/multi-select-filter.js +357 -446
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.js +108 -172
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.d.ts +36 -12
- package/dist/pagination.d.ts.map +1 -1
- package/dist/pagination.js +208 -281
- package/dist/popover.cjs +1 -1
- package/dist/popover.d.ts +1 -1
- package/dist/popover.d.ts.map +1 -1
- package/dist/popover.js +34 -45
- package/dist/progress.cjs +1 -1
- package/dist/progress.d.ts +17 -2
- package/dist/progress.d.ts.map +1 -1
- package/dist/progress.js +116 -162
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +90 -146
- package/dist/rating.cjs +1 -1
- package/dist/rating.d.ts +80 -13
- package/dist/rating.d.ts.map +1 -1
- package/dist/rating.js +70 -65
- package/dist/relative-date.cjs +1 -1
- package/dist/relative-date.d.ts.map +1 -1
- package/dist/relative-date.js +73 -89
- package/dist/resizable.cjs +1 -1
- package/dist/resizable.d.ts +39 -23
- package/dist/resizable.d.ts.map +1 -1
- package/dist/resizable.js +42 -44
- package/dist/result-count.cjs +1 -0
- package/dist/result-count.d.ts +110 -0
- package/dist/result-count.d.ts.map +1 -0
- package/dist/result-count.js +49 -0
- package/dist/route-progress.cjs +1 -1
- package/dist/route-progress.js +58 -102
- package/dist/scroll-area.cjs +1 -1
- package/dist/scroll-area.d.ts +9 -1
- package/dist/scroll-area.d.ts.map +1 -1
- package/dist/scroll-area.js +44 -79
- package/dist/select.cjs +2 -2
- package/dist/select.d.ts +10 -10
- package/dist/select.d.ts.map +1 -1
- package/dist/select.js +118 -238
- package/dist/separator.cjs +1 -1
- package/dist/separator.js +90 -78
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.d.ts +8 -5
- package/dist/sheet.d.ts.map +1 -1
- package/dist/sheet.js +250 -317
- package/dist/single-select-filter.cjs +1 -1
- package/dist/single-select-filter.d.ts +32 -0
- package/dist/single-select-filter.d.ts.map +1 -1
- package/dist/single-select-filter.js +201 -203
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.js +24 -38
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +51 -81
- package/dist/sonner.cjs +1 -1
- package/dist/sonner.d.ts +1 -1
- package/dist/sonner.d.ts.map +1 -1
- package/dist/sonner.js +101 -125
- package/dist/spinner.cjs +1 -1
- package/dist/spinner.js +22 -31
- package/dist/split-layout.cjs +1 -1
- package/dist/split-layout.js +52 -101
- package/dist/status.cjs +1 -0
- package/dist/status.d.ts +51 -0
- package/dist/status.d.ts.map +1 -0
- package/dist/status.js +60 -0
- package/dist/stepper.cjs +1 -1
- package/dist/stepper.js +184 -316
- package/dist/switch.cjs +1 -1
- package/dist/switch.js +17 -32
- package/dist/table.cjs +1 -1
- package/dist/table.d.ts +103 -30
- package/dist/table.d.ts.map +1 -1
- package/dist/table.js +170 -209
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.d.ts.map +1 -1
- package/dist/tabs.js +102 -147
- package/dist/text-reveal-motion.cjs +1 -1
- package/dist/text-reveal-motion.js +307 -363
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.d.ts.map +1 -1
- package/dist/textarea.js +22 -35
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.js +43 -62
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.js +34 -46
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.d.ts +2 -2
- package/dist/tooltip.d.ts.map +1 -1
- package/dist/tooltip.js +157 -249
- package/dist/typography-heading.cjs +1 -1
- package/dist/typography-heading.js +25 -61
- package/dist/typography-text.cjs +1 -1
- package/dist/typography-text.js +27 -57
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +132 -340
- package/package.json +46 -46
- package/src/blocks/empty-state.tsx +34 -18
- package/src/blocks/sidebar.tsx +86 -31
- package/src/components/accordion.tsx +1 -1
- package/src/components/alert-dialog.tsx +4 -2
- package/src/components/badge.tsx +127 -15
- package/src/components/breadcrumb.tsx +1 -1
- package/src/components/button.tsx +8 -6
- package/src/components/calendar.tsx +155 -9
- package/src/components/card.tsx +63 -10
- package/src/components/carousel.tsx +4 -1
- package/src/components/chart.tsx +151 -17
- package/src/components/checkbox.tsx +1 -1
- package/src/components/collapsible.tsx +4 -1
- package/src/components/combobox.tsx +40 -7
- package/src/components/command.tsx +9 -10
- package/src/components/context-menu.tsx +4 -4
- package/src/components/data-table.tsx +619 -237
- package/src/components/date-picker.tsx +31 -4
- package/src/components/delta.tsx +217 -0
- package/src/components/drawer.tsx +5 -5
- package/src/components/dropdown-menu.tsx +4 -4
- package/src/components/field.tsx +36 -15
- package/src/components/global-layout.tsx +1 -1
- package/src/components/input-chip.tsx +51 -7
- package/src/components/input-group.tsx +1 -1
- package/src/components/input-password.tsx +15 -19
- package/src/components/input.tsx +10 -1
- package/src/components/list.tsx +14 -2
- package/src/components/logo-mark.tsx +345 -0
- package/src/components/map.tsx +18 -20
- package/src/components/media-viewer.tsx +908 -0
- package/src/components/multi-select-filter.tsx +255 -121
- package/src/components/navigation-menu.tsx +2 -2
- package/src/components/pagination.tsx +86 -26
- package/src/components/progress.tsx +91 -23
- package/src/components/rating.tsx +200 -74
- package/src/components/relative-date.tsx +19 -11
- package/src/components/resizable.tsx +86 -33
- package/src/components/result-count.tsx +253 -0
- package/src/components/scroll-area.tsx +31 -5
- package/src/components/select.tsx +2 -2
- package/src/components/sheet.tsx +14 -4
- package/src/components/single-select-filter.tsx +136 -41
- package/src/components/slider.tsx +2 -2
- package/src/components/status.tsx +162 -0
- package/src/components/switch.tsx +1 -1
- package/src/components/table.tsx +278 -106
- package/src/components/tabs.tsx +1 -0
- package/src/components/textarea.tsx +20 -2
- package/src/components/toggle.tsx +2 -2
- package/src/components/tooltip.tsx +11 -20
- package/src/hooks/use-filter-search-params.ts +302 -0
- package/src/index.ts +6 -0
- package/src/lib/compose-event-handlers.ts +14 -0
- package/src/lib/download-file.ts +61 -0
- package/src/lib/empty-chip.tsx +52 -0
- package/src/lib/field-aria.tsx +97 -0
- package/src/lib/image-file-info.ts +102 -0
- package/src/lib/media-viewer-content.tsx +1587 -0
- package/src/lib/media-viewer-internal.tsx +191 -0
- package/src/lib/media-viewer-motion.ts +120 -0
- package/src/lib/motion.ts +9 -0
- package/src/lib/table-internal.ts +74 -0
- package/src/lib/use-controllable.ts +43 -0
- package/src/lib/empty-chip.ts +0 -24
package/dist/map.js
CHANGED
|
@@ -1,40 +1,63 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { Map as
|
|
5
|
-
import {
|
|
1
|
+
"use client";
|
|
2
|
+
import { EmptyCanvas as B } from "./lib/empty-canvas.js";
|
|
3
|
+
import * as d from "react";
|
|
4
|
+
import { Map as G, RefreshCw as K, Store as W, TriangleAlert as U } from "@brightlocal/icons";
|
|
5
|
+
import { cn as u } from "@brightlocal/ui-components/lib/utils";
|
|
6
|
+
import { jsx as c, jsxs as g } from "react/jsx-runtime";
|
|
7
|
+
import { cva as Y } from "class-variance-authority";
|
|
6
8
|
import { Button as T } from "@brightlocal/ui-components/button";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
const Oe = {
|
|
12
|
-
/** Default road map view */
|
|
9
|
+
import { Popover as Z, PopoverAnchor as q, PopoverContent as H } from "@brightlocal/ui-components/popover";
|
|
10
|
+
import { GlobeyFixingFault as J, MapBackground as Q } from "@brightlocal/illustrations";
|
|
11
|
+
import { Card as X, CardContent as ee } from "@brightlocal/ui-components/card";
|
|
12
|
+
var Ee = {
|
|
13
13
|
ROADMAP: "roadmap",
|
|
14
|
-
/** @deprecated Satellite imagery — prefer cloud-based map styling via Map ID */
|
|
15
14
|
SATELLITE: "satellite"
|
|
16
|
-
},
|
|
17
|
-
|
|
15
|
+
}, te = [
|
|
16
|
+
"water",
|
|
17
|
+
"landscape",
|
|
18
|
+
"road",
|
|
19
|
+
"poi",
|
|
20
|
+
"transit"
|
|
21
|
+
];
|
|
22
|
+
function re(e, t) {
|
|
18
23
|
return [
|
|
19
|
-
...
|
|
20
|
-
featureType:
|
|
24
|
+
...te.map((a) => ({
|
|
25
|
+
featureType: a,
|
|
21
26
|
elementType: "geometry",
|
|
22
|
-
stylers: [{
|
|
27
|
+
stylers: [{
|
|
28
|
+
saturation: e,
|
|
29
|
+
lightness: t
|
|
30
|
+
}]
|
|
23
31
|
})),
|
|
24
32
|
{
|
|
25
33
|
elementType: "labels.text.fill",
|
|
26
|
-
stylers: [{
|
|
34
|
+
stylers: [{
|
|
35
|
+
saturation: e,
|
|
36
|
+
lightness: t - 10
|
|
37
|
+
}]
|
|
27
38
|
},
|
|
28
39
|
{
|
|
29
40
|
elementType: "labels.icon",
|
|
30
|
-
stylers: [{
|
|
41
|
+
stylers: [{
|
|
42
|
+
saturation: e,
|
|
43
|
+
lightness: t
|
|
44
|
+
}]
|
|
31
45
|
}
|
|
32
46
|
];
|
|
33
47
|
}
|
|
34
|
-
|
|
35
|
-
{
|
|
36
|
-
|
|
37
|
-
|
|
48
|
+
var C = [
|
|
49
|
+
{
|
|
50
|
+
elementType: "geometry",
|
|
51
|
+
stylers: [{ color: "#444444" }]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
elementType: "labels.text.fill",
|
|
55
|
+
stylers: [{ color: "#aaaaaa" }]
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
elementType: "labels.text.stroke",
|
|
59
|
+
stylers: [{ color: "#323232" }]
|
|
60
|
+
},
|
|
38
61
|
{
|
|
39
62
|
featureType: "water",
|
|
40
63
|
elementType: "geometry",
|
|
@@ -65,175 +88,136 @@ const P = [
|
|
|
65
88
|
elementType: "geometry",
|
|
66
89
|
stylers: [{ color: "#505050" }]
|
|
67
90
|
},
|
|
68
|
-
{
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
91
|
+
{
|
|
92
|
+
elementType: "labels.icon",
|
|
93
|
+
stylers: [{ visibility: "off" }]
|
|
94
|
+
}
|
|
95
|
+
], ae = {
|
|
96
|
+
default: {
|
|
97
|
+
light: [],
|
|
98
|
+
dark: C
|
|
99
|
+
},
|
|
100
|
+
muted: {
|
|
101
|
+
light: re(-40, 20),
|
|
102
|
+
dark: C
|
|
103
|
+
}
|
|
104
|
+
}, w = /* @__PURE__ */ new Set(), M = typeof document < "u" && !!document.body && document.body.classList.contains("dark"), S = !1;
|
|
105
|
+
function oe() {
|
|
106
|
+
S || typeof document > "u" || (S = !0, new MutationObserver(() => {
|
|
107
|
+
const e = document.body.classList.contains("dark");
|
|
108
|
+
if (e !== M) {
|
|
109
|
+
M = e;
|
|
110
|
+
for (const t of w) t();
|
|
81
111
|
}
|
|
82
112
|
}).observe(document.body, {
|
|
83
113
|
attributes: !0,
|
|
84
114
|
attributeFilter: ["class"]
|
|
85
|
-
});
|
|
115
|
+
}));
|
|
86
116
|
}
|
|
87
|
-
function
|
|
88
|
-
return w.add(e),
|
|
117
|
+
function ne(e) {
|
|
118
|
+
return w.add(e), oe(), () => {
|
|
89
119
|
w.delete(e);
|
|
90
120
|
};
|
|
91
121
|
}
|
|
92
|
-
function
|
|
122
|
+
function se() {
|
|
93
123
|
return M;
|
|
94
124
|
}
|
|
95
|
-
function
|
|
125
|
+
function le() {
|
|
96
126
|
return !1;
|
|
97
127
|
}
|
|
98
128
|
function E() {
|
|
99
|
-
return
|
|
100
|
-
le,
|
|
101
|
-
ie,
|
|
102
|
-
ce
|
|
103
|
-
);
|
|
129
|
+
return d.useSyncExternalStore(ne, se, le);
|
|
104
130
|
}
|
|
105
|
-
function
|
|
131
|
+
function Re(e = "default") {
|
|
106
132
|
const t = E();
|
|
107
|
-
return
|
|
133
|
+
return ae[e][t ? "dark" : "light"];
|
|
108
134
|
}
|
|
109
|
-
|
|
135
|
+
var R = {
|
|
110
136
|
primary: "strong",
|
|
111
137
|
secondary: "moderate",
|
|
112
138
|
warning: "moderate",
|
|
113
139
|
destructive: "unranked",
|
|
114
140
|
outline: "unranked"
|
|
115
141
|
};
|
|
116
|
-
function
|
|
142
|
+
function ie(e) {
|
|
117
143
|
return e in R;
|
|
118
144
|
}
|
|
119
|
-
function
|
|
120
|
-
return
|
|
145
|
+
function ce(e) {
|
|
146
|
+
return ie(e) ? R[e] : e;
|
|
121
147
|
}
|
|
122
|
-
|
|
148
|
+
var k = {
|
|
123
149
|
strong: {
|
|
124
|
-
className: "bg-
|
|
125
|
-
cssVar: "--
|
|
150
|
+
className: "bg-score-strong",
|
|
151
|
+
cssVar: "--score-strong",
|
|
126
152
|
fallback: "#2ae855"
|
|
127
153
|
},
|
|
128
154
|
moderate: {
|
|
129
|
-
className: "bg-
|
|
130
|
-
cssVar: "--
|
|
155
|
+
className: "bg-score-moderate",
|
|
156
|
+
cssVar: "--score-moderate",
|
|
131
157
|
fallback: "#facc15"
|
|
132
158
|
},
|
|
133
159
|
weak: {
|
|
134
|
-
className: "bg-
|
|
135
|
-
cssVar: "--
|
|
160
|
+
className: "bg-score-weak",
|
|
161
|
+
cssVar: "--score-weak",
|
|
136
162
|
fallback: "#fb923c"
|
|
137
163
|
},
|
|
138
164
|
unranked: {
|
|
139
|
-
className: "bg-
|
|
140
|
-
cssVar: "--
|
|
141
|
-
fallback: "#
|
|
165
|
+
className: "bg-score-poor",
|
|
166
|
+
cssVar: "--score-poor",
|
|
167
|
+
fallback: "#f87171"
|
|
142
168
|
},
|
|
143
169
|
error: {
|
|
144
170
|
className: "bg-warning-background dark:bg-orange-200",
|
|
145
171
|
cssVar: "--ds-tailwind-colors-orange-200",
|
|
146
172
|
fallback: "#fed7aa"
|
|
147
173
|
}
|
|
148
|
-
},
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
},
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
trackingLabel: i,
|
|
177
|
-
style: l,
|
|
178
|
-
...d
|
|
179
|
-
}, p) => {
|
|
180
|
-
const m = me(t);
|
|
181
|
-
return /* @__PURE__ */ c(
|
|
182
|
-
"div",
|
|
183
|
-
{
|
|
184
|
-
ref: p,
|
|
185
|
-
className: g(
|
|
186
|
-
r ? "border-border bg-accent rounded-full border" : ue({ variant: m }),
|
|
187
|
-
"size-8 p-0",
|
|
188
|
-
o
|
|
189
|
-
),
|
|
190
|
-
"data-hook": n,
|
|
191
|
-
"data-slot": "map-grid-pin",
|
|
192
|
-
"data-state": r ? "loading" : void 0,
|
|
193
|
-
"data-tracking-el": a || "map-grid-pin",
|
|
194
|
-
"data-tracking-label": i,
|
|
195
|
-
style: l,
|
|
196
|
-
...d,
|
|
197
|
-
children: m === "error" && !r ? /* @__PURE__ */ c(
|
|
198
|
-
Y,
|
|
199
|
-
{
|
|
200
|
-
"aria-hidden": "true",
|
|
201
|
-
className: "text-warning-foreground",
|
|
202
|
-
size: 14
|
|
203
|
-
}
|
|
204
|
-
) : String(e)
|
|
205
|
-
}
|
|
206
|
-
);
|
|
207
|
-
}
|
|
208
|
-
);
|
|
174
|
+
}, b = Object.fromEntries(Object.entries(k).map(([e, t]) => [e, t.className])), de = Y("inline-flex items-center justify-center rounded-full text-label font-semibold text-foreground dark:text-neutral-900 border-2 border-white shadow-sm transition-shadow duration-fast ease-out hover:shadow-md", {
|
|
175
|
+
variants: { variant: {
|
|
176
|
+
strong: `${b.strong} text-score-strong-foreground dark:text-score-strong-foreground`,
|
|
177
|
+
moderate: `${b.moderate} text-score-moderate-foreground dark:text-score-moderate-foreground`,
|
|
178
|
+
weak: `${b.weak} text-score-weak-foreground dark:text-score-weak-foreground`,
|
|
179
|
+
unranked: `${b.unranked} text-score-poor-foreground dark:text-score-poor-foreground`,
|
|
180
|
+
error: `${b.error}`
|
|
181
|
+
} },
|
|
182
|
+
defaultVariants: { variant: "strong" }
|
|
183
|
+
}), O = d.forwardRef(({ value: e, variant: t = "strong", loading: a = !1, pulse: s, dataHook: l, className: o, trackingEl: r, trackingLabel: i, style: n, ...m }, f) => {
|
|
184
|
+
const y = ce(t);
|
|
185
|
+
return /* @__PURE__ */ c("div", {
|
|
186
|
+
ref: f,
|
|
187
|
+
className: u(a ? "border-border bg-accent rounded-full border" : de({ variant: y }), "size-8 p-0", o),
|
|
188
|
+
"data-hook": l,
|
|
189
|
+
"data-slot": "map-grid-pin",
|
|
190
|
+
"data-state": a ? "loading" : void 0,
|
|
191
|
+
"data-tracking-el": r || "map-grid-pin",
|
|
192
|
+
"data-tracking-label": i,
|
|
193
|
+
style: n,
|
|
194
|
+
...m,
|
|
195
|
+
children: y === "error" && !a ? /* @__PURE__ */ c(U, {
|
|
196
|
+
"aria-hidden": "true",
|
|
197
|
+
className: "text-warning-foreground",
|
|
198
|
+
size: 14
|
|
199
|
+
}) : String(e)
|
|
200
|
+
});
|
|
201
|
+
});
|
|
209
202
|
O.displayName = "MapGridPin";
|
|
210
203
|
function j() {
|
|
211
|
-
const
|
|
212
|
-
colors: Object.fromEntries(
|
|
213
|
-
Object.entries(v).map(([s, n]) => [s, n.fallback])
|
|
214
|
-
),
|
|
204
|
+
const e = {
|
|
205
|
+
colors: Object.fromEntries(Object.entries(k).map(([a, s]) => [a, s.fallback])),
|
|
215
206
|
fontFamily: "Inter, system-ui, sans-serif",
|
|
216
207
|
textColor: "#111412"
|
|
217
208
|
};
|
|
218
|
-
if (typeof document > "u") return
|
|
219
|
-
const
|
|
209
|
+
if (typeof document > "u") return e;
|
|
210
|
+
const t = getComputedStyle(document.documentElement);
|
|
220
211
|
return {
|
|
221
|
-
colors: Object.fromEntries(
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
r.getPropertyValue(n).trim() || o
|
|
225
|
-
])
|
|
226
|
-
),
|
|
227
|
-
fontFamily: r.getPropertyValue("--ds-font-font-sans").trim() || t.fontFamily,
|
|
228
|
-
textColor: r.getPropertyValue("--ds-tailwind-colors-neutral-950").trim() || t.textColor
|
|
212
|
+
colors: Object.fromEntries(Object.entries(k).map(([a, { cssVar: s, fallback: l }]) => [a, t.getPropertyValue(s).trim() || l])),
|
|
213
|
+
fontFamily: t.getPropertyValue("--ds-font-font-sans").trim() || e.fontFamily,
|
|
214
|
+
textColor: t.getPropertyValue("--ds-tailwind-colors-neutral-950").trim() || e.textColor
|
|
229
215
|
};
|
|
230
216
|
}
|
|
231
|
-
function
|
|
217
|
+
function Oe() {
|
|
232
218
|
return j().colors;
|
|
233
219
|
}
|
|
234
|
-
|
|
235
|
-
Object.entries(v).map(([e, t]) => [e, t.fallback])
|
|
236
|
-
), N = [
|
|
220
|
+
var je = Object.fromEntries(Object.entries(k).map(([e, t]) => [e, t.fallback])), N = [
|
|
237
221
|
"strong",
|
|
238
222
|
"moderate",
|
|
239
223
|
"weak",
|
|
@@ -241,470 +225,290 @@ const Ae = Object.fromEntries(
|
|
|
241
225
|
"error"
|
|
242
226
|
];
|
|
243
227
|
function L(e, t) {
|
|
244
|
-
const { colors:
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
let f = -Math.PI / 2;
|
|
255
|
-
for (const b of m) {
|
|
256
|
-
const $ = b.count / I * Math.PI * 2, x = f + $, F = a + l * Math.cos(f), _ = a + l * Math.sin(f), z = a + l * Math.cos(x), B = a + l * Math.sin(x), G = $ > Math.PI ? 1 : 0;
|
|
257
|
-
k += `<path d="M${a},${a}L${F.toFixed(2)},${_.toFixed(2)}A${l},${l} 0 ${G} 1 ${z.toFixed(2)},${B.toFixed(2)}Z" fill="${r[b.variant]}"/>`, f = x;
|
|
228
|
+
const { colors: a, fontFamily: s, textColor: l } = j(), o = 40, r = o / 2, i = 2, n = 18, m = n * 0.55, f = [...e].sort((p, v) => N.indexOf(p.variant) - N.indexOf(v.variant)).filter((p) => p.count > 0), y = f.reduce((p, v) => p + v.count, 0) || 1, I = Math.max(Number(t) || 0, 1);
|
|
229
|
+
let h;
|
|
230
|
+
const $ = f[0];
|
|
231
|
+
if (f.length <= 1) h = `<circle cx="${r}" cy="${r}" r="${n}" fill="${$ ? a[$.variant] : "#e5e7eb"}"/>`;
|
|
232
|
+
else {
|
|
233
|
+
h = "";
|
|
234
|
+
let p = -Math.PI / 2;
|
|
235
|
+
for (const v of f) {
|
|
236
|
+
const P = v.count / y * Math.PI * 2, x = p + P, V = r + n * Math.cos(p), D = r + n * Math.sin(p), F = r + n * Math.cos(x), _ = r + n * Math.sin(x), z = P > Math.PI ? 1 : 0;
|
|
237
|
+
h += `<path d="M${r},${r}L${V.toFixed(2)},${D.toFixed(2)}A${n},${n} 0 ${z} 1 ${F.toFixed(2)},${_.toFixed(2)}Z" fill="${a[v.variant]}"/>`, p = x;
|
|
258
238
|
}
|
|
259
239
|
}
|
|
260
|
-
const D = Math.round(o * 0.3);
|
|
261
240
|
return [
|
|
262
241
|
`<svg xmlns="http://www.w3.org/2000/svg" width="${o}" height="${o}" viewBox="0 0 ${o} ${o}" style="filter:drop-shadow(0 1px 2px rgba(0,0,0,.15))">`,
|
|
263
|
-
`<circle cx="${
|
|
264
|
-
|
|
265
|
-
`<circle cx="${
|
|
266
|
-
`<circle cx="${
|
|
267
|
-
`<text x="${
|
|
242
|
+
`<circle cx="${r}" cy="${r}" r="${r}" fill="white"/>`,
|
|
243
|
+
h,
|
|
244
|
+
`<circle cx="${r}" cy="${r}" r="${n}" fill="none" stroke="white" stroke-width="${i}"/>`,
|
|
245
|
+
`<circle cx="${r}" cy="${r}" r="${m}" fill="white"/>`,
|
|
246
|
+
`<text x="${r}" y="${r}" text-anchor="middle" dominant-baseline="central" font-family="${s}" font-size="${Math.round(o * 0.3)}" font-weight="600" fill="${l}">${I}</text>`,
|
|
268
247
|
"</svg>"
|
|
269
248
|
].join("");
|
|
270
249
|
}
|
|
271
|
-
function
|
|
272
|
-
if (typeof DOMParser > "u")
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
);
|
|
276
|
-
|
|
277
|
-
for (const p of t) {
|
|
278
|
-
const m = s(p);
|
|
279
|
-
n.set(m, (n.get(m) ?? 0) + 1);
|
|
250
|
+
function Le(e) {
|
|
251
|
+
if (typeof DOMParser > "u") throw new Error("createClusterPinElement requires a browser environment (DOMParser). Use createClusterPinSvg for SSR.");
|
|
252
|
+
const { markers: t, count: a, getVariant: s } = e, l = /* @__PURE__ */ new Map();
|
|
253
|
+
for (const n of t) {
|
|
254
|
+
const m = s(n);
|
|
255
|
+
l.set(m, (l.get(m) ?? 0) + 1);
|
|
280
256
|
}
|
|
281
257
|
const o = [];
|
|
282
|
-
for (const
|
|
283
|
-
const m =
|
|
284
|
-
m && o.push({
|
|
258
|
+
for (const n of N) {
|
|
259
|
+
const m = l.get(n);
|
|
260
|
+
m && o.push({
|
|
261
|
+
variant: n,
|
|
262
|
+
count: m
|
|
263
|
+
});
|
|
285
264
|
}
|
|
286
|
-
const
|
|
287
|
-
if (!(
|
|
288
|
-
|
|
289
|
-
return d;
|
|
265
|
+
const r = L(o, a), i = new DOMParser().parseFromString(r, "image/svg+xml").documentElement;
|
|
266
|
+
if (!(i instanceof SVGElement)) throw new Error("createClusterPinElement: failed to parse SVG");
|
|
267
|
+
return i;
|
|
290
268
|
}
|
|
291
|
-
|
|
292
|
-
(
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
className: s,
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
dataHook: o,
|
|
330
|
-
className: a,
|
|
331
|
-
trackingEl: i,
|
|
332
|
-
trackingLabel: l,
|
|
333
|
-
ariaLabel: d,
|
|
334
|
-
...p
|
|
335
|
-
}, m) => r !== void 0 || s !== void 0 || n !== void 0 ? /* @__PURE__ */ c(
|
|
336
|
-
O,
|
|
337
|
-
{
|
|
338
|
-
ref: m,
|
|
339
|
-
className: a,
|
|
340
|
-
dataHook: o,
|
|
341
|
-
pulse: n,
|
|
342
|
-
trackingEl: i,
|
|
343
|
-
trackingLabel: l,
|
|
344
|
-
value: r ?? 1,
|
|
345
|
-
variant: s,
|
|
346
|
-
...p
|
|
347
|
-
}
|
|
348
|
-
) : /* @__PURE__ */ c(
|
|
349
|
-
"div",
|
|
350
|
-
{
|
|
351
|
-
ref: m,
|
|
352
|
-
"aria-label": d ?? "Location",
|
|
353
|
-
className: g(
|
|
354
|
-
"relative inline-flex h-[46px] w-[38px] items-start justify-center",
|
|
355
|
-
a
|
|
356
|
-
),
|
|
357
|
-
"data-hook": o,
|
|
358
|
-
"data-slot": "map-location-pin",
|
|
359
|
-
"data-tracking-el": i || "map-location-pin",
|
|
360
|
-
"data-tracking-label": l,
|
|
361
|
-
role: "img",
|
|
362
|
-
...p,
|
|
363
|
-
children: /* @__PURE__ */ y(
|
|
364
|
-
"span",
|
|
365
|
-
{
|
|
366
|
-
"aria-hidden": "true",
|
|
367
|
-
className: g(
|
|
368
|
-
"relative flex size-full",
|
|
369
|
-
t && "animate-emphasis-pop origin-bottom will-change-transform"
|
|
370
|
-
),
|
|
371
|
-
children: [
|
|
372
|
-
/* @__PURE__ */ y(
|
|
373
|
-
"svg",
|
|
374
|
-
{
|
|
375
|
-
"aria-hidden": "true",
|
|
376
|
-
className: "size-full overflow-visible drop-shadow-sm",
|
|
377
|
-
fill: "none",
|
|
378
|
-
viewBox: "0 0 38 46",
|
|
379
|
-
children: [
|
|
380
|
-
/* @__PURE__ */ c(
|
|
381
|
-
"path",
|
|
382
|
-
{
|
|
383
|
-
className: "fill-white",
|
|
384
|
-
d: "M38 19.15C38 29.21 29.4 35.77 20.38 44.63C19.61 45.39 18.37 45.41 17.58 44.67C8.01 35.79 0 29.23 0 19.15C0 8.57 8.51 0 19 0C29.49 0 38 8.57 38 19.15Z"
|
|
385
|
-
}
|
|
386
|
-
),
|
|
387
|
-
/* @__PURE__ */ c("circle", { className: "fill-sky-500", cx: "19", cy: "19", r: "16" })
|
|
388
|
-
]
|
|
389
|
-
}
|
|
390
|
-
),
|
|
391
|
-
/* @__PURE__ */ c("span", { className: "absolute top-[19px] left-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center text-white", children: e ?? /* @__PURE__ */ c(Z, { size: 16 }) })
|
|
392
|
-
]
|
|
393
|
-
}
|
|
394
|
-
)
|
|
395
|
-
}
|
|
396
|
-
)
|
|
397
|
-
);
|
|
398
|
-
fe.displayName = "MapLocationPin";
|
|
399
|
-
const ge = u.forwardRef(
|
|
400
|
-
({
|
|
401
|
-
className: e,
|
|
402
|
-
dataHook: t,
|
|
403
|
-
trackingEl: r,
|
|
404
|
-
trackingLabel: s,
|
|
405
|
-
children: n,
|
|
406
|
-
iconOnly: o = !0,
|
|
407
|
-
...a
|
|
408
|
-
}, i) => {
|
|
409
|
-
const l = E();
|
|
410
|
-
return /* @__PURE__ */ c(
|
|
411
|
-
T,
|
|
412
|
-
{
|
|
413
|
-
ref: i,
|
|
414
|
-
className: e,
|
|
415
|
-
"data-slot": "map-control-button",
|
|
416
|
-
dataHook: t,
|
|
417
|
-
iconOnly: o,
|
|
418
|
-
trackingEl: r || "map-control-button",
|
|
419
|
-
trackingLabel: s,
|
|
420
|
-
variant: l ? "secondary" : "outline",
|
|
421
|
-
...a,
|
|
422
|
-
children: n
|
|
423
|
-
}
|
|
424
|
-
);
|
|
425
|
-
}
|
|
426
|
-
);
|
|
427
|
-
ge.displayName = "MapControlButton";
|
|
428
|
-
const ye = u.forwardRef(
|
|
429
|
-
({
|
|
430
|
-
className: e,
|
|
431
|
-
children: t,
|
|
432
|
-
dataHook: r,
|
|
433
|
-
trackingEl: s,
|
|
434
|
-
trackingLabel: n,
|
|
435
|
-
ariaLabel: o,
|
|
436
|
-
...a
|
|
437
|
-
}, i) => /* @__PURE__ */ y(
|
|
438
|
-
"div",
|
|
439
|
-
{
|
|
440
|
-
ref: i,
|
|
441
|
-
"aria-label": o ?? "Loading map",
|
|
442
|
-
className: g(
|
|
443
|
-
"border-border relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border",
|
|
444
|
-
e
|
|
445
|
-
),
|
|
446
|
-
"data-hook": r,
|
|
447
|
-
"data-slot": "map-loading-state",
|
|
448
|
-
"data-tracking-el": s || "map-loading-state",
|
|
449
|
-
"data-tracking-label": n,
|
|
450
|
-
role: "status",
|
|
451
|
-
...a,
|
|
452
|
-
children: [
|
|
453
|
-
/* @__PURE__ */ c(A, {}),
|
|
454
|
-
t && /* @__PURE__ */ c("div", { className: "relative", children: t })
|
|
455
|
-
]
|
|
456
|
-
}
|
|
457
|
-
)
|
|
458
|
-
);
|
|
459
|
-
ye.displayName = "MapLoadingState";
|
|
460
|
-
const A = u.memo(function({
|
|
461
|
-
rounded: t
|
|
462
|
-
}) {
|
|
463
|
-
return /* @__PURE__ */ c(
|
|
464
|
-
H,
|
|
465
|
-
{
|
|
269
|
+
var me = d.forwardRef(({ segments: e, count: t, dataHook: a, className: s, trackingEl: l, trackingLabel: o, ...r }, i) => {
|
|
270
|
+
const n = JSON.stringify(e), m = d.useMemo(() => L(e, t), [n, t]);
|
|
271
|
+
return /* @__PURE__ */ c("div", {
|
|
272
|
+
dangerouslySetInnerHTML: { __html: m },
|
|
273
|
+
ref: i,
|
|
274
|
+
className: u("inline-flex items-center justify-center", s),
|
|
275
|
+
"data-hook": a,
|
|
276
|
+
"data-slot": "map-cluster-pin",
|
|
277
|
+
"data-tracking-el": l || "map-cluster-pin",
|
|
278
|
+
"data-tracking-label": o,
|
|
279
|
+
...r
|
|
280
|
+
});
|
|
281
|
+
});
|
|
282
|
+
me.displayName = "MapClusterPin";
|
|
283
|
+
var ue = d.forwardRef(({ icon: e, animateIn: t = !1, value: a, variant: s, pulse: l, dataHook: o, className: r, trackingEl: i, trackingLabel: n, ariaLabel: m, ...f }, y) => a !== void 0 || s !== void 0 || l !== void 0 ? /* @__PURE__ */ c(O, {
|
|
284
|
+
ref: y,
|
|
285
|
+
className: r,
|
|
286
|
+
dataHook: o,
|
|
287
|
+
pulse: l,
|
|
288
|
+
trackingEl: i,
|
|
289
|
+
trackingLabel: n,
|
|
290
|
+
value: a ?? 1,
|
|
291
|
+
variant: s,
|
|
292
|
+
...f
|
|
293
|
+
}) : /* @__PURE__ */ c("div", {
|
|
294
|
+
ref: y,
|
|
295
|
+
"aria-label": m ?? "Location",
|
|
296
|
+
className: u("relative inline-flex h-[46px] w-[38px] items-start justify-center", r),
|
|
297
|
+
"data-hook": o,
|
|
298
|
+
"data-slot": "map-location-pin",
|
|
299
|
+
"data-tracking-el": i || "map-location-pin",
|
|
300
|
+
"data-tracking-label": n,
|
|
301
|
+
role: "img",
|
|
302
|
+
...f,
|
|
303
|
+
children: /* @__PURE__ */ g("span", {
|
|
304
|
+
"aria-hidden": "true",
|
|
305
|
+
className: u("relative flex size-full", t && "animate-emphasis-pop origin-bottom will-change-transform"),
|
|
306
|
+
children: [/* @__PURE__ */ g("svg", {
|
|
466
307
|
"aria-hidden": "true",
|
|
467
|
-
className:
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
className: g(
|
|
491
|
-
"border-border relative flex h-full w-full flex-col items-center justify-center gap-4 rounded-lg border p-4 text-center sm:gap-6 sm:p-8",
|
|
492
|
-
e
|
|
493
|
-
),
|
|
494
|
-
"data-hook": a,
|
|
495
|
-
"data-slot": "map-error-state",
|
|
496
|
-
"data-tracking-el": i || "map-error-state",
|
|
497
|
-
"data-tracking-label": l,
|
|
498
|
-
role: "alert",
|
|
499
|
-
...d,
|
|
500
|
-
children: [
|
|
501
|
-
/* @__PURE__ */ c(A, { rounded: !0 }),
|
|
502
|
-
/* @__PURE__ */ y("div", { className: "relative flex flex-col items-center gap-4 sm:gap-6", children: [
|
|
503
|
-
/* @__PURE__ */ c(
|
|
504
|
-
"div",
|
|
505
|
-
{
|
|
506
|
-
"aria-hidden": "true",
|
|
507
|
-
className: "flex items-center justify-center",
|
|
508
|
-
"data-slot": "map-error-illustration",
|
|
509
|
-
children: /* @__PURE__ */ c(q, { className: "h-auto w-full max-w-41" })
|
|
510
|
-
}
|
|
511
|
-
),
|
|
512
|
-
/* @__PURE__ */ y("div", { className: "flex flex-col gap-2", children: [
|
|
513
|
-
/* @__PURE__ */ c(
|
|
514
|
-
"h3",
|
|
515
|
-
{
|
|
516
|
-
className: "text-foreground text-heading-subsection",
|
|
517
|
-
"data-slot": "map-error-title",
|
|
518
|
-
children: t
|
|
519
|
-
}
|
|
520
|
-
),
|
|
521
|
-
r && /* @__PURE__ */ c(
|
|
522
|
-
"p",
|
|
523
|
-
{
|
|
524
|
-
className: "text-muted-foreground text-body-sm",
|
|
525
|
-
"data-slot": "map-error-message",
|
|
526
|
-
children: r
|
|
527
|
-
}
|
|
528
|
-
)
|
|
529
|
-
] }),
|
|
530
|
-
s && /* @__PURE__ */ y(
|
|
531
|
-
T,
|
|
532
|
-
{
|
|
533
|
-
className: "mt-1",
|
|
534
|
-
dataHook: `${a}-retry`,
|
|
535
|
-
loading: n,
|
|
536
|
-
size: "sm",
|
|
537
|
-
variant: "primary",
|
|
538
|
-
onClick: s,
|
|
539
|
-
children: [
|
|
540
|
-
!n && /* @__PURE__ */ c(U, { "aria-hidden": "true" }),
|
|
541
|
-
o
|
|
542
|
-
]
|
|
543
|
-
}
|
|
544
|
-
)
|
|
545
|
-
] })
|
|
546
|
-
]
|
|
547
|
-
}
|
|
548
|
-
)
|
|
549
|
-
);
|
|
550
|
-
be.displayName = "MapErrorState";
|
|
551
|
-
const he = u.forwardRef(
|
|
552
|
-
({ className: e, dataHook: t, icon: r, message: s, trackingEl: n, trackingLabel: o, ...a }, i) => (
|
|
553
|
-
/* `h-full w-full`, matching MapLoadingState: a map is always given its box
|
|
554
|
-
by the consumer, and this fills it so nothing reflows when runs arrive. */
|
|
555
|
-
/* @__PURE__ */ c(
|
|
556
|
-
ae,
|
|
557
|
-
{
|
|
558
|
-
ref: i,
|
|
559
|
-
className: g("h-full w-full rounded-lg", e),
|
|
560
|
-
dataHook: t,
|
|
561
|
-
icon: r ?? /* @__PURE__ */ c(W, { strokeWidth: 2 }),
|
|
562
|
-
message: s ?? "No data yet",
|
|
563
|
-
slot: "map-empty",
|
|
564
|
-
trackingEl: n,
|
|
565
|
-
trackingLabel: o,
|
|
566
|
-
...a
|
|
567
|
-
}
|
|
568
|
-
)
|
|
569
|
-
)
|
|
570
|
-
);
|
|
571
|
-
he.displayName = "MapEmpty";
|
|
572
|
-
const ke = u.forwardRef(
|
|
573
|
-
({ variant: e, color: t, dataHook: r, className: s, children: n, ...o }, a) => {
|
|
574
|
-
const i = e ? h[e] : t;
|
|
575
|
-
return /* @__PURE__ */ y(
|
|
576
|
-
"span",
|
|
577
|
-
{
|
|
578
|
-
ref: a,
|
|
579
|
-
className: g(
|
|
580
|
-
"text-foreground text-body-xs flex items-center gap-1",
|
|
581
|
-
s
|
|
582
|
-
),
|
|
583
|
-
"data-hook": r,
|
|
584
|
-
"data-slot": "map-legend-item",
|
|
585
|
-
...o,
|
|
586
|
-
children: [
|
|
587
|
-
/* @__PURE__ */ c(
|
|
588
|
-
"span",
|
|
589
|
-
{
|
|
590
|
-
"aria-hidden": "true",
|
|
591
|
-
className: g("inline-block size-2 shrink-0 rounded-full", i)
|
|
592
|
-
}
|
|
593
|
-
),
|
|
594
|
-
n
|
|
595
|
-
]
|
|
596
|
-
}
|
|
597
|
-
);
|
|
598
|
-
}
|
|
599
|
-
);
|
|
600
|
-
ke.displayName = "MapLegendItem";
|
|
601
|
-
const ve = u.forwardRef(
|
|
602
|
-
({
|
|
308
|
+
className: "size-full overflow-visible drop-shadow-sm",
|
|
309
|
+
fill: "none",
|
|
310
|
+
viewBox: "0 0 38 46",
|
|
311
|
+
children: [/* @__PURE__ */ c("path", {
|
|
312
|
+
className: "fill-white",
|
|
313
|
+
d: "M38 19.15C38 29.21 29.4 35.77 20.38 44.63C19.61 45.39 18.37 45.41 17.58 44.67C8.01 35.79 0 29.23 0 19.15C0 8.57 8.51 0 19 0C29.49 0 38 8.57 38 19.15Z"
|
|
314
|
+
}), /* @__PURE__ */ c("circle", {
|
|
315
|
+
className: "fill-sky-500",
|
|
316
|
+
cx: "19",
|
|
317
|
+
cy: "19",
|
|
318
|
+
r: "16"
|
|
319
|
+
})]
|
|
320
|
+
}), /* @__PURE__ */ c("span", {
|
|
321
|
+
className: "absolute top-[19px] left-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center text-white",
|
|
322
|
+
children: e ?? /* @__PURE__ */ c(W, { size: 16 })
|
|
323
|
+
})]
|
|
324
|
+
})
|
|
325
|
+
}));
|
|
326
|
+
ue.displayName = "MapLocationPin";
|
|
327
|
+
var fe = d.forwardRef(({ className: e, dataHook: t, trackingEl: a, trackingLabel: s, children: l, iconOnly: o = !0, ...r }, i) => {
|
|
328
|
+
const n = E();
|
|
329
|
+
return /* @__PURE__ */ c(T, {
|
|
330
|
+
ref: i,
|
|
603
331
|
className: e,
|
|
332
|
+
"data-slot": "map-control-button",
|
|
604
333
|
dataHook: t,
|
|
605
|
-
|
|
334
|
+
iconOnly: o,
|
|
335
|
+
trackingEl: a || "map-control-button",
|
|
606
336
|
trackingLabel: s,
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
[
|
|
647
|
-
|
|
337
|
+
variant: n ? "secondary" : "outline",
|
|
338
|
+
...r,
|
|
339
|
+
children: l
|
|
340
|
+
});
|
|
341
|
+
});
|
|
342
|
+
fe.displayName = "MapControlButton";
|
|
343
|
+
var pe = d.forwardRef(({ className: e, children: t, dataHook: a, trackingEl: s, trackingLabel: l, ariaLabel: o, ...r }, i) => /* @__PURE__ */ g("div", {
|
|
344
|
+
ref: i,
|
|
345
|
+
"aria-label": o ?? "Loading map",
|
|
346
|
+
className: u("border-border relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border", e),
|
|
347
|
+
"data-hook": a,
|
|
348
|
+
"data-slot": "map-loading-state",
|
|
349
|
+
"data-tracking-el": s || "map-loading-state",
|
|
350
|
+
"data-tracking-label": l,
|
|
351
|
+
role: "status",
|
|
352
|
+
...r,
|
|
353
|
+
children: [/* @__PURE__ */ c(A, {}), t && /* @__PURE__ */ c("div", {
|
|
354
|
+
className: "relative",
|
|
355
|
+
children: t
|
|
356
|
+
})]
|
|
357
|
+
}));
|
|
358
|
+
pe.displayName = "MapLoadingState";
|
|
359
|
+
var A = d.memo(function({ rounded: t }) {
|
|
360
|
+
return /* @__PURE__ */ c(Q, {
|
|
361
|
+
"aria-hidden": "true",
|
|
362
|
+
className: u("absolute inset-0 h-full w-full object-cover", t && "rounded-[inherit]"),
|
|
363
|
+
mode: "auto"
|
|
364
|
+
});
|
|
365
|
+
}), ge = d.forwardRef(({ className: e, title: t = "We couldn't load your map rankings.", message: a = "Reloading usually fixes it, and it won't use any credits", onRetry: s, retryLoading: l = !1, retryLabel: o = "Reload", dataHook: r, trackingEl: i, trackingLabel: n, ...m }, f) => /* @__PURE__ */ g("div", {
|
|
366
|
+
ref: f,
|
|
367
|
+
className: u("border-border relative flex h-full w-full flex-col items-center justify-center gap-4 rounded-lg border p-4 text-center sm:gap-6 sm:p-8", e),
|
|
368
|
+
"data-hook": r,
|
|
369
|
+
"data-slot": "map-error-state",
|
|
370
|
+
"data-tracking-el": i || "map-error-state",
|
|
371
|
+
"data-tracking-label": n,
|
|
372
|
+
role: "alert",
|
|
373
|
+
...m,
|
|
374
|
+
children: [/* @__PURE__ */ c(A, { rounded: !0 }), /* @__PURE__ */ g("div", {
|
|
375
|
+
className: "relative flex flex-col items-center gap-4 sm:gap-6",
|
|
376
|
+
children: [
|
|
377
|
+
/* @__PURE__ */ c("div", {
|
|
378
|
+
"aria-hidden": "true",
|
|
379
|
+
className: "flex items-center justify-center",
|
|
380
|
+
"data-slot": "map-error-illustration",
|
|
381
|
+
children: /* @__PURE__ */ c(J, { className: "h-auto w-full max-w-41" })
|
|
382
|
+
}),
|
|
383
|
+
/* @__PURE__ */ g("div", {
|
|
384
|
+
className: "flex flex-col gap-2",
|
|
385
|
+
children: [/* @__PURE__ */ c("h3", {
|
|
386
|
+
className: "text-foreground text-heading-subsection",
|
|
387
|
+
"data-slot": "map-error-title",
|
|
388
|
+
children: t
|
|
389
|
+
}), a && /* @__PURE__ */ c("p", {
|
|
390
|
+
className: "text-muted-foreground text-body-sm",
|
|
391
|
+
"data-slot": "map-error-message",
|
|
392
|
+
children: a
|
|
393
|
+
})]
|
|
394
|
+
}),
|
|
395
|
+
s && /* @__PURE__ */ g(T, {
|
|
396
|
+
className: "mt-1",
|
|
397
|
+
dataHook: `${r}-retry`,
|
|
398
|
+
loading: l,
|
|
399
|
+
size: "sm",
|
|
400
|
+
variant: "primary",
|
|
401
|
+
onClick: s,
|
|
402
|
+
children: [!l && /* @__PURE__ */ c(K, { "aria-hidden": "true" }), o]
|
|
403
|
+
})
|
|
404
|
+
]
|
|
405
|
+
})]
|
|
406
|
+
}));
|
|
407
|
+
ge.displayName = "MapErrorState";
|
|
408
|
+
var ye = d.forwardRef(({ className: e, dataHook: t, icon: a, message: s, trackingEl: l, trackingLabel: o, ...r }, i) => /* @__PURE__ */ c(B, {
|
|
409
|
+
ref: i,
|
|
410
|
+
className: u("h-full w-full rounded-lg", e),
|
|
411
|
+
dataHook: t,
|
|
412
|
+
icon: a ?? /* @__PURE__ */ c(G, { strokeWidth: 2 }),
|
|
413
|
+
message: s ?? "No data yet",
|
|
414
|
+
slot: "map-empty",
|
|
415
|
+
trackingEl: l,
|
|
416
|
+
trackingLabel: o,
|
|
417
|
+
...r
|
|
418
|
+
}));
|
|
419
|
+
ye.displayName = "MapEmpty";
|
|
420
|
+
var ve = d.forwardRef(({ variant: e, color: t, dataHook: a, className: s, children: l, ...o }, r) => {
|
|
421
|
+
const i = e ? b[e] : t;
|
|
422
|
+
return /* @__PURE__ */ g("span", {
|
|
423
|
+
ref: r,
|
|
424
|
+
className: u("text-foreground text-body-xs flex items-center gap-1", s),
|
|
425
|
+
"data-hook": a,
|
|
426
|
+
"data-slot": "map-legend-item",
|
|
427
|
+
...o,
|
|
428
|
+
children: [/* @__PURE__ */ c("span", {
|
|
429
|
+
"aria-hidden": "true",
|
|
430
|
+
className: u("inline-block size-2 shrink-0 rounded-full", i)
|
|
431
|
+
}), l]
|
|
432
|
+
});
|
|
433
|
+
});
|
|
434
|
+
ve.displayName = "MapLegendItem";
|
|
435
|
+
var be = d.forwardRef(({ className: e, dataHook: t, trackingEl: a, trackingLabel: s, ariaLabel: l, children: o, ...r }, i) => /* @__PURE__ */ c(X, {
|
|
436
|
+
ref: i,
|
|
437
|
+
"aria-label": l ?? "Map legend",
|
|
438
|
+
className: u("inline-flex w-auto max-w-none flex-row items-center bg-white font-sans dark:bg-neutral-800", e),
|
|
439
|
+
"data-slot": "map-legend",
|
|
440
|
+
dataHook: t,
|
|
441
|
+
density: "condensed",
|
|
442
|
+
role: "group",
|
|
443
|
+
trackingEl: a || "map-legend",
|
|
444
|
+
trackingLabel: s,
|
|
445
|
+
variant: "border",
|
|
446
|
+
...r,
|
|
447
|
+
children: /* @__PURE__ */ c(ee, {
|
|
448
|
+
className: "flex items-center gap-3",
|
|
449
|
+
children: o
|
|
450
|
+
})
|
|
451
|
+
}));
|
|
452
|
+
be.displayName = "MapLegend";
|
|
453
|
+
function Ae(e) {
|
|
454
|
+
const { hoverWhenOpen: t = !1 } = e ?? {}, [a, s] = d.useState(null), [l, o] = d.useState(null), r = d.useCallback((i) => {
|
|
455
|
+
o(i), s(i);
|
|
456
|
+
}, []);
|
|
648
457
|
return {
|
|
649
|
-
activeItem:
|
|
650
|
-
anchorItem:
|
|
651
|
-
showItem:
|
|
652
|
-
close:
|
|
653
|
-
|
|
458
|
+
activeItem: a,
|
|
459
|
+
anchorItem: l,
|
|
460
|
+
showItem: r,
|
|
461
|
+
close: d.useCallback(() => {
|
|
462
|
+
s(null);
|
|
463
|
+
}, []),
|
|
464
|
+
getInteractionProps: d.useCallback((i) => {
|
|
465
|
+
const n = { onClick: () => r(i) };
|
|
466
|
+
return t && (n.onPointerEnter = (m) => {
|
|
467
|
+
m.pointerType === "mouse" && a != null && r(i);
|
|
468
|
+
}), n;
|
|
469
|
+
}, [
|
|
470
|
+
t,
|
|
471
|
+
r,
|
|
472
|
+
a
|
|
473
|
+
])
|
|
654
474
|
};
|
|
655
475
|
}
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
"w-auto max-w-68.25 p-3 data-[state=closed]:animate-none data-[state=closed]:opacity-0",
|
|
673
|
-
e
|
|
674
|
-
),
|
|
675
|
-
"data-slot": "map-popover-content",
|
|
676
|
-
"data-tracking-el": n || "map-popover",
|
|
677
|
-
"data-tracking-label": o,
|
|
678
|
-
dataHook: s,
|
|
679
|
-
side: t,
|
|
680
|
-
sideOffset: r,
|
|
681
|
-
onCloseAutoFocus: (l) => l.preventDefault(),
|
|
682
|
-
onOpenAutoFocus: (l) => l.preventDefault(),
|
|
683
|
-
...a
|
|
684
|
-
}
|
|
685
|
-
)
|
|
686
|
-
);
|
|
687
|
-
we.displayName = "MapPopoverContent";
|
|
476
|
+
var Ie = Z, he = q;
|
|
477
|
+
he.displayName = "MapPopoverAnchor";
|
|
478
|
+
var ke = d.forwardRef(({ className: e, side: t = "top", sideOffset: a = 4, dataHook: s, trackingEl: l, trackingLabel: o, ...r }, i) => /* @__PURE__ */ c(H, {
|
|
479
|
+
ref: i,
|
|
480
|
+
className: u("w-auto max-w-68.25 p-3 data-[state=closed]:animate-none data-[state=closed]:opacity-0", e),
|
|
481
|
+
"data-slot": "map-popover-content",
|
|
482
|
+
"data-tracking-el": l || "map-popover",
|
|
483
|
+
"data-tracking-label": o,
|
|
484
|
+
dataHook: s,
|
|
485
|
+
side: t,
|
|
486
|
+
sideOffset: a,
|
|
487
|
+
onCloseAutoFocus: (n) => n.preventDefault(),
|
|
488
|
+
onOpenAutoFocus: (n) => n.preventDefault(),
|
|
489
|
+
...r
|
|
490
|
+
}));
|
|
491
|
+
ke.displayName = "MapPopoverContent";
|
|
688
492
|
export {
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
493
|
+
ae as MAP_STYLES,
|
|
494
|
+
me as MapClusterPin,
|
|
495
|
+
fe as MapControlButton,
|
|
496
|
+
ye as MapEmpty,
|
|
497
|
+
ge as MapErrorState,
|
|
694
498
|
O as MapGridPin,
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
499
|
+
be as MapLegend,
|
|
500
|
+
ve as MapLegendItem,
|
|
501
|
+
pe as MapLoadingState,
|
|
502
|
+
ue as MapLocationPin,
|
|
503
|
+
Ie as MapPopover,
|
|
504
|
+
he as MapPopoverAnchor,
|
|
505
|
+
ke as MapPopoverContent,
|
|
506
|
+
Ee as MapTypeId,
|
|
507
|
+
je as clusterPinHexColors,
|
|
508
|
+
Le as createClusterPinElement,
|
|
705
509
|
L as createClusterPinSvg,
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
510
|
+
b as mapGridPinColorMap,
|
|
511
|
+
Oe as resolveClusterPinColors,
|
|
512
|
+
Ae as useMapPopoverClick,
|
|
513
|
+
Re as useMapStyles
|
|
710
514
|
};
|